-
Global information
- Generated on Wed Feb 19 23:47:33 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 42,445,467 log entries in 2m31s
- Log start from 2025-02-19 00:00:00 to 2025-02-19 22:45:02
-
Overview
Global Stats
- 18,298 Number of unique normalized queries
- 17,938,979 Number of queries
- 5d28m39s Total query duration
- 2025-02-19 00:00:00 First query
- 2025-02-19 22:45:02 Last query
- 2,690 queries/s at 2025-02-19 17:21:51 Query peak
- 5d28m39s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 5d28m39s Execute total duration
- 4,332 Number of events
- 20 Number of unique normalized events
- 3,843 Max number of times the same event was reported
- 0 Number of cancellation
- 0 Total number of automatic vacuums
- 0 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 0 Total number of sessions
- 0 sessions at Session peak
- 0ms Total duration of sessions
- 0ms Average duration of sessions
- 17,938,979 Average queries per session
- 5d28m39s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 2,690 queries/s Query Peak
- 2025-02-19 17:21:51 Date
SELECT Traffic
Key values
- 1,810 queries/s Query Peak
- 2025-02-19 17:21:51 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,321 queries/s Query Peak
- 2025-02-19 19:28:59 Date
Queries duration
Key values
- 5d28m39s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 19 00 331,119 0ms 24s378ms 36ms 5m58s 7m3s 9m51s 01 299,012 0ms 7s8ms 38ms 5m30s 6m30s 9m10s 02 278,993 0ms 1s640ms 43ms 6m9s 7m13s 7m35s 03 269,546 0ms 3s288ms 39ms 5m23s 5m53s 6m37s 04 236,332 0ms 6s786ms 42ms 4m52s 5m6s 5m54s 05 245,863 0ms 1s673ms 40ms 5m3s 6m8s 7m3s 06 272,790 0ms 1s368ms 25ms 3m26s 3m46s 4m19s 07 243,956 0ms 1s752ms 18ms 2m21s 2m43s 3m43s 08 395,430 0ms 7s940ms 16ms 3m17s 4m22s 5m38s 09 900,295 0ms 9s907ms 15ms 6m55s 10m11s 12m30s 10 1,449,269 0ms 9s626ms 17ms 11m24s 12m24s 13m42s 11 1,594,426 0ms 10s674ms 21ms 15m9s 17m26s 19m42s 12 1,623,407 0ms 18s747ms 17ms 11m14s 11m44s 13m2s 13 1,475,051 0ms 50s541ms 20ms 12m7s 13m43s 16m49s 14 1,325,352 0ms 4s579ms 18ms 10m10s 11m21s 12m 15 1,281,302 0ms 9s867ms 16ms 8m5s 8m52s 10m25s 16 1,199,117 0ms 2m17s 18ms 9m20s 10m15s 12m9s 17 1,093,436 0ms 8s439ms 18ms 8m22s 11m54s 15m47s 18 908,170 0ms 9s491ms 37ms 13m48s 14m8s 15m44s 19 839,047 0ms 4m28s 39ms 16m6s 16m55s 17m18s 20 753,033 0ms 3m6s 41ms 17m7s 19m 20m34s 21 489,967 0ms 42s592ms 31ms 7m39s 10m32s 12m40s 22 434,066 0ms 3s489ms 35ms 8m5s 8m29s 8m59s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 19 00 177,132 0 68ms 5m9s 5m57s 9m16s 01 157,648 0 73ms 4m29s 5m30s 7m33s 02 143,521 0 84ms 4m50s 6m8s 7m18s 03 135,274 0 78ms 4m17s 5m22s 6m6s 04 116,686 0 85ms 4m7s 4m51s 5m25s 05 121,582 0 80ms 4m6s 5m3s 6m16s 06 139,906 0 49ms 2m47s 3m25s 3m47s 07 130,076 0 35ms 1m49s 2m21s 2m56s 08 225,117 0 29ms 2m45s 3m17s 5m33s 09 505,568 0 27ms 4m58s 6m54s 11m36s 10 818,375 0 31ms 9m31s 11m23s 12m24s 11 922,388 0 36ms 12m58s 15m8s 19m18s 12 921,459 0 30ms 9m26s 11m12s 12m15s 13 832,853 0 35ms 10m4s 12m6s 15m38s 14 741,505 0 32ms 9m21s 10m8s 11m37s 15 720,199 0 29ms 7m14s 8m4s 9m6s 16 679,111 0 31ms 8m28s 9m9s 10m49s 17 658,937 0 31ms 7m22s 8m21s 15m 18 515,621 0 65ms 11m57s 13m47s 14m23s 19 468,179 0 69ms 13m25s 16m4s 16m53s 20 444,542 0 70ms 12m35s 17m5s 20m16s 21 276,829 0 54ms 5m56s 7m38s 10m46s 22 254,789 0 61ms 6m58s 8m4s 8m58s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 19 00 37,895 6,633 84 0 0ms 202ms 336ms 511ms 01 30,617 6,532 92 0 0ms 199ms 261ms 337ms 02 32,855 7,210 83 0 0ms 205ms 268ms 405ms 03 27,596 6,032 80 0 0ms 180ms 202ms 264ms 04 25,777 6,398 75 0 0ms 164ms 217ms 290ms 05 23,335 6,685 74 0 0ms 152ms 193ms 288ms 06 17,604 3,794 82 0 0ms 111ms 145ms 198ms 07 13,100 2,811 108 0 0ms 87ms 118ms 137ms 08 16,305 4,689 321 0 0ms 104ms 138ms 194ms 09 42,012 11,120 862 0 0ms 240ms 339ms 514ms 10 75,376 17,501 768 0 0ms 464ms 577ms 681ms 11 91,348 19,386 748 0 0ms 665ms 844ms 1s327ms 12 85,057 17,129 862 0 0ms 472ms 571ms 768ms 13 82,174 18,231 925 0 1ms 524ms 648ms 11s903ms 14 76,224 15,551 518 0 0ms 437ms 537ms 805ms 15 71,308 16,788 872 0 0ms 411ms 480ms 928ms 16 58,014 14,441 812 0 1ms 340ms 391ms 529ms 17 62,868 17,021 866 0 0ms 478ms 549ms 949ms 18 76,521 18,706 538 0 0ms 489ms 581ms 907ms 19 79,840 22,386 520 0 3ms 526ms 757ms 5s936ms 20 68,890 18,834 607 1 3ms 460ms 640ms 20s246ms 21 43,468 8,860 413 0 1ms 255ms 358ms 515ms 22 46,779 8,887 144 0 0ms 346ms 419ms 479ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Feb 19 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Feb 19 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s Day Hour Count Average Duration Average idle time Feb 19 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
- 186,538 buffers Checkpoint Peak
- 2025-02-19 13:56:22 Date
- 270.056 seconds Highest write time
- 0.019 seconds Sync time
Checkpoints Wal files
Key values
- 66 files Wal files usage Peak
- 2025-02-19 13:56:22 Date
Checkpoints distance
Key values
- 2,101.94 Mo Distance Peak
- 2025-02-19 13:56:22 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Feb 19 00 142,906 3,239.546s 0.035s 3,239.635s 01 144,754 3,239.513s 0.043s 3,239.605s 02 199,421 3,239.578s 0.034s 3,239.665s 03 168,912 3,239.608s 0.031s 3,239.691s 04 157,553 3,239.519s 0.042s 3,239.603s 05 161,511 3,239.61s 0.028s 3,239.69s 06 170,705 3,239.541s 0.029s 3,239.621s 07 123,919 3,239.567s 0.031s 3,239.644s 08 137,797 3,239.577s 0.031s 3,239.656s 09 302,542 3,239.56s 0.042s 3,239.664s 10 551,678 3,239.44s 0.051s 3,239.587s 11 635,780 3,239.5s 0.073s 3,239.685s 12 626,985 3,239.468s 0.061s 3,239.629s 13 748,489 3,239.413s 0.062s 3,239.583s 14 554,925 3,239.572s 0.065s 3,239.727s 15 471,789 3,239.469s 0.065s 3,239.612s 16 418,954 3,239.545s 0.056s 3,239.681s 17 377,886 2,889.116s 0.094s 2,889.282s 18 293,557 3,239.484s 0.059s 3,239.607s 19 322,935 3,239.494s 0.06s 3,239.64s 20 296,854 3,239.558s 0.057s 3,239.685s 21 214,474 3,239.523s 0.047s 3,239.631s 22 183,631 2,429.67s 0.031s 2,429.747s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 19 00 0 0 65 3,085 0.002s 0.012s 01 0 0 67 3,055 0.002s 0.012s 02 0 0 88 3,088 0.002s 0.012s 03 0 0 76 2,855 0.002s 0.012s 04 0 0 71 2,642 0.015s 0.012s 05 0 0 73 2,599 0.002s 0.012s 06 0 0 78 2,314 0.002s 0.012s 07 0 0 51 3,123 0.002s 0.012s 08 0 0 56 3,583 0.002s 0.012s 09 0 0 125 4,747 0.002s 0.012s 10 0 0 231 5,171 0.003s 0.012s 11 0 0 271 5,158 0.003s 0.012s 12 0 0 269 5,416 0.002s 0.012s 13 0 0 308 5,367 0.002s 0.012s 14 0 0 236 5,414 0.002s 0.012s 15 0 0 198 5,463 0.003s 0.012s 16 0 0 182 5,539 0.003s 0.012s 17 0 0 156 5,538 0.013s 0.012s 18 0 0 123 5,203 0.002s 0.012s 19 0 0 133 5,244 0.003s 0.012s 20 0 0 128 5,158 0.003s 0.012s 21 0 0 92 4,607 0.003s 0.012s 22 0 0 78 3,606 0.003s 0.009s Day Hour Count Avg time (sec) Feb 19 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Feb 19 00 88,299.33 kB 124,270.50 kB 01 91,138.33 kB 125,576.50 kB 02 120,998.75 kB 174,346.67 kB 03 109,857.00 kB 141,842.36 kB 04 97,373.33 kB 158,936.17 kB 05 98,944.09 kB 121,269.73 kB 06 106,427.17 kB 138,572.67 kB 07 69,806.08 kB 114,960.25 kB 08 76,948.83 kB 104,987.00 kB 09 166,824.82 kB 201,077.73 kB 10 316,645.58 kB 354,937.83 kB 11 369,104.17 kB 408,576.42 kB 12 366,451.27 kB 446,981.82 kB 13 361,456.40 kB 420,653.00 kB 14 326,509.00 kB 750,061.82 kB 15 270,634.73 kB 414,848.18 kB 16 248,515.00 kB 303,097.50 kB 17 212,792.08 kB 349,705.92 kB 18 167,681.42 kB 289,101.25 kB 19 181,809.75 kB 251,887.33 kB 20 175,282.50 kB 226,265.42 kB 21 125,573.83 kB 176,642.50 kB 22 141,265.00 kB 167,081.78 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Feb 19 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Feb 19 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 10,107,297 Total read queries
- 5,326,024 Total write queries
Queries by database
Key values
- unknown Main database
- 17,938,979 Requests
- 5d28m39s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 17,938,979 Requests
User Request type Count Duration unknown Total 17,938,979 5d28m39s copy from 1 1ms cte 9,743 2s450ms ddl 96 16ms delete 10,454 2m4s insert 1,184,963 6m36s others 2,505,658 2m39s select 10,107,297 4d23h59m30s tcl 3,845,142 2m46s update 275,625 14m59s Duration by user
Key values
- 5d28m39s (unknown) Main time consuming user
User Request type Count Duration unknown Total 17,938,979 5d28m39s copy from 1 1ms cte 9,743 2s450ms ddl 96 16ms delete 10,454 2m4s insert 1,184,963 6m36s others 2,505,658 2m39s select 10,107,297 4d23h59m30s tcl 3,845,142 2m46s update 275,625 14m59s Queries by host
Key values
- unknown Main host
- 17,938,979 Requests
- 5d28m39s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 17,938,979 Requests
- 5d28m39s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-02-19 09:31:38 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 16,471,585 0-1ms duration
Slowest individual queries
Rank Duration Query 1 4m28s update shipping_policy set count_search = 6 where id = 5462442;[ Date: 2025-02-19 19:59:44 ]
2 3m6s update shipping_policy set count_search = 4 where id = 5470705;[ Date: 2025-02-19 20:01:43 ]
3 2m17s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-19 16:21:35 ]
4 2m9s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-19 16:08:56 ]
5 1m54s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-19 16:49:45 ]
6 1m50s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-19 16:49:37 ]
7 1m4s UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-02-19 15:27:19.983481', "write_uid" = 1079 WHERE id IN (5455111, 5449743, 5448865, 5445988, 5445705, 5444541, 5444395, 5442638, 5442274, 5441534, 5440096, 5440024, 5438739, 5437298, 5436668, 5436326, 5433284, 5430618, 5429983, 5429951, 5425638, 5423369, 5423329, 5420667, 5419360, 5419086, 5408229, 5401634, 5398457, 5381745, 5230687, 5455123, 5455122, 5455118, 5452483, 5448361, 5448283, 5446862, 5444980, 5444800, 5444796, 5444684, 5443962, 5443266, 5442369, 5441967, 5441088, 5441055, 5439583, 5439136, 5437687, 5436958, 5435318, 5434539, 5433265, 5431261, 5430704, 5429837, 5429706, 5429145, 5428152, 5428132, 5427928, 5426814, 5422454, 5419198, 5415315, 5413944, 5411025, 5390842, 5385204, 5381412, 5370995, 5363604, 5449828, 5445284, 5444379, 5441526, 5441303, 5441045, 5440064, 5438751, 5437926, 5437326, 5436319, 5434489, 5429385, 5427618, 5427388, 5420543, 5419073, 5409121, 5405912, 5403663, 5400212, 5395871, 5381191, 5370200, 5222794, 5455125, 5452510, 5452424, 5448160, 5444367, 5441621, 5439122, 5435937, 5434829, 5434550, 5433295, 5431747, 5423611, 5422419, 5420311, 5416466, 5397882, 5394080, 5455137, 5455121, 5452468, 5452397, 5446806, 5444329, 5443826, 5443676, 5443416, 5443244, 5440982, 5440079, 5438624, 5438359, 5437311, 5434527, 5434335, 5433962, 5433356, 5432911, 5430966, 5429173, 5428290, 5421481, 5420448, 5416625, 5402438, 5393953, 5357605, 5455136, 5455124, 5455107, 5455106, 5452458, 5452422, 5452415, 5452351, 5449439, 5449035, 5448983, 5448461, 5448395, 5448297, 5448181, 5448152, 5446519, 5446280, 5445796, 5445745, 5445417, 5444705, 5443803, 5443041, 5442333, 5440136, 5437616, 5436860, 5434768, 5434467, 5432736, 5430900, 5428160, 5428080, 5426584, 5420704, 5420034, 5419099, 5410515, 5402341, 5395500, 5347690, 5455184, 5455112, 5452516, 5448774, 5448401, 5445266, 5444666, 5444575, 5443634, 5442941, 5442801, 5442384, 5439707, 5438933, 5438550, 5437738, 5436910, 5436481, 5436045, 5435437, 5434570, 5434368, 5433067, 5432716, 5432709, 5430176, 5429903, 5428606, 5423400, 5422395, 5422285, 5420757, 5420649, 5416472, 5415651, 5400983, 5398971, 5398621, 5455138, 5447994, 5445957, 5445278, 5445218, 5443568, 5439646, 5437349, 5435721, 5429681, 5428138, 5423518, 5417255, 5415510, 5415307, 5411423, 5406928, 5405888, 5396344, 5395390, 5392533, 5390095, 5348412, 5321614, 5245725, 5237881);[ Date: 2025-02-19 16:28:39 ]
8 1m1s SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%4%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-19 16:20:21 ]
9 50s541ms DELETE FROM "res_partner" WHERE id IN (8007314, 8005377, 8007285, 8006451, 8005374, 8007349);[ Date: 2025-02-19 13:48:19 ]
10 42s592ms UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-19 20:56:10.921511', "write_uid" = 1451 WHERE id IN (44672229);[ Date: 2025-02-19 21:56:56 ]
11 41s622ms DELETE FROM "res_partner" WHERE id IN (8005786, 8006693, 8006834, 8005788, 8005790);[ Date: 2025-02-19 13:50:01 ]
12 30s929ms DELETE FROM "delegate_track" WHERE id IN (175596);[ Date: 2025-02-19 20:01:43 ]
13 24s378ms UPDATE "shipping_policy" SET "before_office_id" = 70, "write_date" = '2025-02-18 23:17:22.764070', "write_uid" = 1010 WHERE id IN (5515519, 5515517, 5515512, 5515504, 5515483, 5515470, 5515431, 5515420, 5515418, 5515412, 5515393, 5515344, 5515337, 5515239, 5508956, 5498703);[ Date: 2025-02-19 00:17:47 ]
14 20s105ms UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-19 19:30:32.152660', "write_uid" = 1238 WHERE id IN (44644149);[ Date: 2025-02-19 20:30:54 ]
15 19s899ms UPDATE "shipping_policy" SET "client_date" = '2025-02-19', "client_delivery_button" = true, "edit_cash_button" = false, "receive_man_id" = 'بوسف نبيل', "return_button" = true, "state" = 'client_receive', "write_date" = '2025-02-19 18:10:32.965866', "write_uid" = 1027 WHERE id IN (5508973, 5502130, 5512213, 5509039, 5508742, 5498040, 5492673, 5521372, 5521370, 5514808, 5496129, 5494387, 5496841, 5457611, 5490565, 5496899, 5511057, 5492923, 5524413, 5512187, 5520455);[ Date: 2025-02-19 19:11:48 ]
16 18s747ms 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-02-18') 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)))) 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)))) 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-02-19 12:19:28 ]
17 16s701ms SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%46%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-19 16:48:08 ]
18 15s507ms 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-02-18') 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)))) 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)))) 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-02-19 12:19:10 ]
19 15s98ms 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-02-18') 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)))) 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)))) 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-02-19 12:19:13 ]
20 14s808ms 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-02-18') 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)))) 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-02-19 12:19:17 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2d14h15m38s 293,594 593ms 6s617ms 763ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 19 00 10,538 1h59m45s 681ms 01 9,429 1h47m19s 682ms 02 10,255 1h56m3s 678ms 03 9,951 1h51m20s 671ms 04 8,811 1h37m33s 664ms 05 8,658 1h35m51s 664ms 06 7,684 1h22m53s 647ms 07 4,742 50m39s 641ms 08 5,187 55m44s 644ms 09 9,940 1h56m5s 700ms 10 16,579 3h34m35s 776ms 11 20,441 4h52m8s 857ms 12 18,324 3h56m54s 775ms 13 18,595 4h9m2s 803ms 14 15,474 3h17m22s 765ms 15 12,792 2h35m54s 731ms 16 12,520 2h34m56s 742ms 17 12,172 2h35m55s 768ms 18 22,874 5h23m4s 847ms 19 18,285 4h22m3s 859ms 20 17,900 4h18m21s 865ms 21 11,861 2h28m7s 749ms 22 10,582 2h13m54s 759ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5545640)) AND (("shipping_track"."id" not in (46035171, 46035171)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 20:54:34 Duration: 6s617ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5545660)) AND (("shipping_track"."id" not in (46035343, 46035343)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 20:55:00 Duration: 6s384ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5545641)) AND (("shipping_track"."id" not in (46035184, 46035184)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 20:54:35 Duration: 6s359ms
2 13h16m58s 139,945 251ms 2s392ms 341ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 19 00 1,743 8m7s 279ms 01 2,554 11m54s 279ms 02 2,167 10m13s 283ms 03 2,972 13m54s 280ms 04 3,004 13m52s 277ms 05 4,178 19m33s 280ms 06 2,323 10m43s 276ms 07 1,262 5m45s 274ms 08 1,937 9m1s 279ms 09 3,349 17m34s 314ms 10 8,103 45m42s 338ms 11 12,184 1h14m49s 368ms 12 8,786 49m32s 338ms 13 9,127 52m9s 342ms 14 7,603 41m35s 328ms 15 7,325 37m33s 307ms 16 9,870 53m39s 326ms 17 6,318 36m11s 343ms 18 11,677 1h9m28s 357ms 19 16,678 1h42m58s 370ms 20 14,434 1h39m24s 413ms 21 2,096 11m55s 341ms 22 255 1m16s 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" = '257749')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 20:53:48 Duration: 2s392ms
-
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" = '441021')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:51:27 Duration: 2s380ms
-
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" = '502030')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 19:55:00 Duration: 2s354ms
3 10h48m43s 49,124 599ms 5s973ms 792ms select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 19 00 169 2m9s 763ms 01 261 3m9s 726ms 02 468 5m26s 697ms 03 194 2m27s 758ms 04 162 2m4s 767ms 05 195 2m26s 748ms 06 302 3m30s 696ms 07 386 4m19s 671ms 08 1,204 13m8s 654ms 09 3,416 40m11s 706ms 10 4,229 56m5s 795ms 11 4,049 1h1m53s 917ms 12 4,537 1h1m10s 809ms 13 4,814 1h6m52s 833ms 14 3,472 45m31s 786ms 15 3,668 45m22s 742ms 16 3,786 47m18s 749ms 17 3,645 45m10s 743ms 18 2,510 36m6s 863ms 19 2,717 39m48s 879ms 20 2,405 33m14s 829ms 21 1,601 19m42s 738ms 22 934 11m34s 743ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5527130, 5523351, 5523345, 5522809, 5520685, 5520066, 5520051, 5519200, 5519150, 5519127, 5517752, 5514578, 5514493, 5514091, 5511008, 5508434, 5507053, 5506335, 5506161, 5501140, 5500589, 5500543, 5500109, 5498695, 5496320, 5494978, 5493051, 5468021, 5460753, 5460568, 5455500)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 11:51:49 Duration: 5s973ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5471586, 5471477, 5392472)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 11:46:51 Duration: 5s900ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5491020, 5486149, 5484350, 5480885, 5479939, 5476626, 5473479, 5469138, 5458360, 5458270, 5456250, 5447763, 5440056, 5439495, 5436149, 5435803, 5431099, 5431027, 5428482, 5421443, 5420561, 5413217, 5402748, 5402678, 5399661, 5395568, 5395150, 5387164, 5387156, 5364850, 5360376, 5352642, 5345650, 5323962, 5317788, 5310334, 5284199, 5281646)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 11:45:35 Duration: 5s884ms
4 6h37m23s 20,702 847ms 2s773ms 1s151ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 19 00 1,069 18m52s 1s59ms 01 1,815 32m3s 1s59ms 02 1,988 36m44s 1s108ms 03 661 12m4s 1s96ms 04 1,457 26m17s 1s82ms 05 995 18m16s 1s102ms 06 289 5m5s 1s55ms 07 271 4m44s 1s48ms 08 54 58s845ms 1s89ms 09 115 2m32s 1s326ms 10 383 8m6s 1s270ms 11 40 46s35ms 1s150ms 12 120 2m33s 1s283ms 13 160 3m14s 1s216ms 14 658 13m9s 1s199ms 15 480 8m52s 1s108ms 16 355 7m5s 1s199ms 17 1,515 28m54s 1s144ms 18 1,585 33m31s 1s268ms 19 2,046 44m30s 1s305ms 20 1,258 25m5s 1s196ms 21 1,466 26m52s 1s99ms 22 1,922 36m59s 1s154ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '255388')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-19 19:54:45 Duration: 2s773ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '255387')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-19 19:54:51 Duration: 2s650ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '86443')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-19 19:53:38 Duration: 2s525ms
5 4h41m59s 68,924 92ms 969ms 245ms select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 19 00 4,737 17m 215ms 01 4,380 16m21s 224ms 02 4,532 16m52s 223ms 03 2,642 9m27s 214ms 04 2,946 11m48s 240ms 05 1,962 7m28s 228ms 06 566 2m10s 230ms 07 532 2m3s 231ms 08 108 22s307ms 206ms 09 222 55s610ms 250ms 10 904 3m45s 249ms 11 82 19s591ms 238ms 12 338 1m33s 277ms 13 678 3m16s 289ms 14 1,590 7m28s 281ms 15 1,914 7m45s 242ms 16 2,176 9m15s 255ms 17 4,990 19m40s 236ms 18 6,810 31m22s 276ms 19 7,270 33m53s 279ms 20 7,090 31m29s 266ms 21 4,607 18m 234ms 22 7,848 29m37s 226ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-19 19:55:51 Duration: 969ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'اسلام')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-19 19:55:51 Duration: 969ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'مودرن')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-19 02:12:22 Duration: 917ms
6 4h11m2s 14,195 254ms 2s829ms 1s61ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 19 00 1,349 21m53s 973ms 01 396 6m31s 988ms 02 292 4m51s 999ms 03 674 10m40s 950ms 04 32 33s374ms 1s42ms 05 1 908ms 908ms 09 17 19s744ms 1s161ms 10 78 1m27s 1s123ms 11 1 254ms 254ms 12 50 1m3s 1s260ms 13 191 3m37s 1s139ms 14 153 3m3s 1s197ms 15 492 9m9s 1s116ms 16 749 13m25s 1s75ms 17 1,002 17m21s 1s39ms 18 1,857 34m46s 1s123ms 19 1,623 29m40s 1s96ms 20 2,329 43m42s 1s125ms 21 867 14m42s 1s18ms 22 2,042 34m12s 1s4ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '356800')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-19 20:54:08 Duration: 2s829ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '356693')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-19 20:50:24 Duration: 2s723ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '356280')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-19 20:53:12 Duration: 2s693ms
7 2h49m1s 23,113 277ms 2s700ms 438ms select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 19 08 10 4s877ms 487ms 09 443 3m19s 450ms 10 1,865 13m45s 442ms 11 3,667 28m54s 472ms 12 4,377 31m35s 433ms 13 4,404 31m52s 434ms 14 3,137 22m51s 437ms 15 2,939 20m31s 418ms 16 2,271 16m5s 425ms -
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" = '463507')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:48:31 Duration: 2s700ms
-
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" = '427011')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:48:24 Duration: 2s475ms
-
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" = '374301')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:48:43 Duration: 2s272ms
8 2h43m39s 169,590 41ms 389ms 57ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 19 00 5,798 4m56s 51ms 01 3,673 3m7s 51ms 02 3,673 3m6s 50ms 03 4,376 3m42s 50ms 04 3,010 2m31s 50ms 05 2,486 2m7s 51ms 06 2,411 2m1s 50ms 07 1,775 1m29s 50ms 08 2,561 2m9s 50ms 09 6,624 6m 54ms 10 12,824 12m50s 60ms 11 15,645 17m18s 66ms 12 15,711 15m40s 59ms 13 14,281 14m47s 62ms 14 12,880 12m30s 58ms 15 9,791 9m5s 55ms 16 9,816 9m12s 56ms 17 7,241 6m41s 55ms 18 7,440 7m34s 61ms 19 8,412 8m45s 62ms 20 8,149 8m11s 60ms 21 5,482 4m53s 53ms 22 5,531 4m54s 53ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5519312, 5505593, 5470781)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-19 20:52:24 Duration: 389ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5470395, 5467443, 5466420, 5465686, 5461453)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-19 11:46:18 Duration: 387ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5439904, 5404908)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-19 13:20:39 Duration: 383ms
9 1h34m15s 17,910 255ms 2s76ms 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" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 19 00 247 1m10s 286ms 01 74 20s215ms 273ms 02 86 27s153ms 315ms 03 194 53s949ms 278ms 04 25 6s859ms 274ms 05 1,144 5m28s 287ms 06 241 1m6s 276ms 07 540 2m28s 275ms 08 1,868 8m42s 279ms 09 1,908 9m48s 308ms 10 3,167 17m58s 340ms 11 1,720 9m48s 342ms 12 821 4m26s 324ms 13 1,422 7m43s 326ms 14 1,227 6m31s 319ms 15 547 2m50s 311ms 16 444 2m19s 314ms 17 554 2m44s 296ms 18 365 2m4s 340ms 19 238 1m27s 368ms 20 660 3m37s 329ms 21 252 1m17s 306ms 22 166 50s711ms 305ms -
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" = '592107')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:48:39 Duration: 2s76ms
-
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" = '570080')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:48:36 Duration: 1s610ms
-
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" = '565679')) 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 (52)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (52))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (52))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 09:59:33 Duration: 1s564ms
10 1h19m3s 2,489 123ms 5s27ms 1s905ms select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 19 04 2 5s165ms 2s582ms 06 1 184ms 184ms 07 6 5s591ms 931ms 08 30 29s821ms 994ms 09 99 2m12s 1s334ms 10 241 7m48s 1s943ms 11 253 8m19s 1s974ms 12 317 10m27s 1s980ms 13 268 9m54s 2s218ms 14 278 9m1s 1s949ms 15 346 8m59s 1s558ms 16 179 5m56s 1s989ms 17 165 5m48s 2s114ms 18 127 3m58s 1s875ms 19 68 2m20s 2s58ms 20 52 1m57s 2s263ms 21 26 42s377ms 1s629ms 22 31 55s777ms 1s799ms -
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-19 17:21:58 Duration: 5s27ms
-
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 (113)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (113))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-19 17:55:53 Duration: 4s963ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-19 13:25:34 Duration: 4s914ms
11 52m29s 21,600 107ms 938ms 145ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 19 07 32 4s11ms 125ms 08 189 24s61ms 127ms 09 1,144 2m33s 134ms 10 2,415 5m49s 144ms 11 1,995 5m19s 160ms 12 2,380 5m53s 148ms 13 2,151 5m29s 153ms 14 2,137 5m9s 144ms 15 2,601 6m4s 139ms 16 1,453 3m23s 139ms 17 1,754 3m55s 134ms 18 1,236 3m11s 154ms 19 1,180 2m49s 143ms 20 510 1m24s 165ms 21 370 51s619ms 139ms 22 53 7s302ms 137ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8171168)) AND (("cash_track"."id" not in (8314598)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-19 11:45:42 Duration: 938ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8171173)) AND (("cash_track"."id" not in (8314605)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-19 11:46:02 Duration: 895ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8173481)) AND (("cash_track"."id" not in (8337571)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-19 16:14:35 Duration: 882ms
12 51m54s 15,492 158ms 258ms 201ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 19 00 975 3m12s 197ms 01 2,051 6m47s 198ms 02 2,001 6m45s 202ms 03 2,541 8m35s 203ms 04 2,919 9m47s 201ms 05 2,887 9m44s 202ms 06 1,663 5m32s 199ms 07 426 1m23s 196ms 22 29 6s648ms 229ms -
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" = '543195')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 05:50:37 Duration: 258ms
-
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" = '417804')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 02:03:28 Duration: 257ms
-
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" = '426166')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 02:03:59 Duration: 256ms
13 48m44s 41,036 50ms 376ms 71ms 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 #13
Day Hour Count Duration Avg duration Feb 19 08 68 4s181ms 61ms 09 736 51s148ms 69ms 10 3,645 4m18s 70ms 11 5,630 7m3s 75ms 12 6,008 7m10s 71ms 13 7,875 9m39s 73ms 14 6,610 7m46s 70ms 15 5,617 6m18s 67ms 16 4,742 5m25s 68ms 17 76 5s158ms 67ms 18 14 1s74ms 76ms 19 8 622ms 77ms 20 7 466ms 66ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5455937) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-19 13:23:58 Duration: 376ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5491020) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:45:25 Duration: 368ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5464850) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:46:48 Duration: 366ms
14 25m42s 3,616 294ms 1s339ms 426ms 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 Feb 19 08 727 4m33s 376ms 09 930 6m3s 391ms 10 696 5m8s 442ms 11 403 3m38s 541ms 13 227 1m49s 481ms 14 192 1m21s 426ms 15 434 3m2s 421ms 18 4 2s480ms 620ms 22 3 1s485ms 495ms -
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" = '375299')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-19 11:34:31 Duration: 1s339ms
-
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" = '375243')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-19 11:34:36 Duration: 890ms
-
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" = '375273')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-19 11:34:26 Duration: 802ms
15 24m37s 22,717 46ms 316ms 65ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 19 09 375 23s287ms 62ms 10 1,709 1m51s 65ms 11 4,353 5m8s 70ms 12 4,902 5m20s 65ms 13 2,919 3m12s 65ms 14 3,329 3m29s 63ms 15 2,688 2m42s 60ms 16 2,442 2m28s 60ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 4804215) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:34:28 Duration: 316ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5012981) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:34:28 Duration: 313ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 4704864) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:34:28 Duration: 290ms
16 23m54s 405 875ms 6s413ms 3s541ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 19 01 2 6s331ms 3s165ms 03 3 9s634ms 3s211ms 08 103 5m15s 3s61ms 09 6 19s549ms 3s258ms 10 3 5s451ms 1s817ms 11 5 21s645ms 4s329ms 12 20 1m24s 4s205ms 13 17 1m11s 4s190ms 14 26 1m34s 3s650ms 15 69 4m 3s478ms 16 14 46s730ms 3s337ms 17 50 3m9s 3s795ms 18 23 1m32s 4s16ms 19 20 1m26s 4s334ms 20 23 1m23s 3s611ms 21 14 44s239ms 3s159ms 22 7 23s331ms 3s333ms -
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 (36))))))) 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 (36)))))) 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 (36)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (36)))))) 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 (36))))))))) 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 (36)))))))) AND ("policy_number"."name"::text ilike '%39%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-19 19:51:37 Duration: 6s413ms
-
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 (75))))))) 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 (75)))))) 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 (75)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (75)))))) 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 (75))))))))) 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 (75)))))))) AND ("policy_number"."name"::text ilike '%468963%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-19 20:51:23 Duration: 5s848ms
-
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 (36))))))) 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 (36)))))) 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 (36)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (36)))))) 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 (36))))))))) 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 (36)))))))) AND ("policy_number"."name"::text ilike '%395217%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-19 19:51:37 Duration: 5s766ms
17 20m26s 6,955 122ms 1s176ms 176ms select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 19 00 16 2s180ms 136ms 01 50 7s22ms 140ms 02 25 3s564ms 142ms 06 5 685ms 137ms 07 10 1s348ms 134ms 08 66 9s37ms 136ms 09 491 1m14s 151ms 10 970 2m42s 167ms 11 1,384 5m6s 221ms 12 1,010 2m53s 171ms 13 815 2m26s 180ms 14 749 2m 160ms 15 260 40s914ms 157ms 16 281 43s947ms 156ms 17 287 42s803ms 149ms 18 157 26s395ms 168ms 19 111 20s778ms 187ms 20 205 34s973ms 170ms 21 28 3s903ms 139ms 22 35 4s813ms 137ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 78)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-19 13:25:27 Duration: 1s176ms
-
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-02-19 13:25:35 Duration: 1s170ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 35)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-19 11:47:01 Duration: 1s170ms
18 19m48s 3,356 257ms 2s340ms 354ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 19 01 345 1m36s 280ms 06 118 33s175ms 281ms 07 267 1m12s 273ms 08 49 13s793ms 281ms 10 484 2m59s 370ms 11 1,676 10m48s 386ms 12 391 2m15s 347ms 14 26 8s730ms 335ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9720049')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:37:00 Duration: 2s340ms
-
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" = '273270')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:36:04 Duration: 2s295ms
-
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" = '470783')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:46:10 Duration: 1s706ms
19 15m38s 2,993 258ms 1s924ms 313ms 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 #19
Day Hour Count Duration Avg duration Feb 19 08 727 3m23s 279ms 09 930 4m26s 286ms 10 411 2m18s 336ms 11 403 2m40s 397ms 13 227 1m19s 349ms 14 192 59s548ms 310ms 15 100 30s298ms 302ms 22 3 967ms 322ms -
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" = '271928')) 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, 112, 23)))) 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, 112, 23))))) 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-02-19 11:36:47 Duration: 1s924ms
-
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" = '375299')) 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, 112, 23)))) 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, 112, 23))))) 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-02-19 11:34:29 Duration: 1s325ms
-
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" = '249095')) 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, 112, 23)))) 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, 112, 23))))) 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-02-19 11:36:26 Duration: 819ms
20 13m26s 2,726 222ms 2s86ms 295ms select name from shipping_policy order by create_date desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 19 00 120 30s555ms 254ms 01 120 30s726ms 256ms 02 120 30s417ms 253ms 03 120 30s539ms 254ms 04 120 30s341ms 252ms 05 120 30s448ms 253ms 06 120 30s276ms 252ms 07 120 29s912ms 249ms 08 120 30s144ms 251ms 09 120 31s535ms 262ms 10 120 37s33ms 308ms 11 120 40s292ms 335ms 12 120 36s448ms 303ms 13 120 37s295ms 310ms 14 120 35s131ms 292ms 15 120 33s486ms 279ms 16 120 34s136ms 284ms 17 116 37s577ms 323ms 18 120 45s118ms 375ms 19 120 45s934ms 382ms 20 120 49s772ms 414ms 21 120 39s608ms 330ms 22 90 29s817ms 331ms -
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-02-19 20:55:03 Duration: 2s86ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-02-19 11:46:03 Duration: 1s731ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-02-19 10:13:03 Duration: 1s650ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,505,558 2m39s 0ms 17ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 19 00 46,230 2s547ms 0ms 01 44,171 2s459ms 0ms 02 41,195 2s310ms 0ms 03 43,092 2s466ms 0ms 04 38,145 2s105ms 0ms 05 40,739 2s363ms 0ms 06 45,000 2s557ms 0ms 07 38,837 2s193ms 0ms 08 60,068 3s421ms 0ms 09 132,299 8s302ms 0ms 10 205,419 14s86ms 0ms 11 214,496 15s626ms 0ms 12 229,180 15s936ms 0ms 13 209,523 14s734ms 0ms 14 193,524 12s994ms 0ms 15 186,404 12s280ms 0ms 16 176,830 11s805ms 0ms 17 137,755 7s701ms 0ms 18 117,962 6s678ms 0ms 19 106,926 6s144ms 0ms 20 86,217 5s82ms 0ms 21 63,579 3s431ms 0ms 22 47,967 2s662ms 0ms -
DISCARD ALL;
Date: 2025-02-19 11:43:19 Duration: 17ms
-
DISCARD ALL;
Date: 2025-02-19 11:37:18 Duration: 2ms
-
DISCARD ALL;
Date: 2025-02-19 10:52:27 Duration: 2ms
2 1,922,570 34s921ms 0ms 16ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 19 00 31,470 566ms 0ms 01 29,938 533ms 0ms 02 27,039 500ms 0ms 03 28,723 521ms 0ms 04 24,618 445ms 0ms 05 26,712 485ms 0ms 06 33,183 562ms 0ms 07 29,442 479ms 0ms 08 44,332 739ms 0ms 09 104,025 1s794ms 0ms 10 165,714 3s68ms 0ms 11 172,301 3s605ms 0ms 12 184,615 3s491ms 0ms 13 165,467 3s252ms 0ms 14 148,778 2s713ms 0ms 15 142,631 2s465ms 0ms 16 134,718 2s372ms 0ms 17 106,941 1s707ms 0ms 18 89,227 1s585ms 0ms 19 80,464 1s462ms 0ms 20 66,409 1s200ms 0ms 21 48,193 762ms 0ms 22 37,630 604ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-19 16:01:58 Duration: 16ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-19 13:19:08 Duration: 2ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-19 11:37:16 Duration: 1ms
3 1,271,429 14s643ms 0ms 1ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 19 00 23,877 251ms 0ms 01 22,682 232ms 0ms 02 21,194 219ms 0ms 03 22,113 228ms 0ms 04 19,631 199ms 0ms 05 20,968 217ms 0ms 06 23,099 231ms 0ms 07 19,996 197ms 0ms 08 30,939 308ms 0ms 09 67,396 743ms 0ms 10 103,836 1s271ms 0ms 11 108,219 1s441ms 0ms 12 115,731 1s455ms 0ms 13 105,711 1s347ms 0ms 14 97,857 1s168ms 0ms 15 94,078 1s78ms 0ms 16 89,318 1s36ms 0ms 17 69,729 714ms 0ms 18 59,742 652ms 0ms 19 54,340 596ms 0ms 20 43,916 484ms 0ms 21 32,462 315ms 0ms 22 24,595 251ms 0ms -
ROLLBACK;
Date: 2025-02-19 13:25:02 Duration: 1ms
-
ROLLBACK;
Date: 2025-02-19 13:28:51 Duration: 0ms
-
ROLLBACK;
Date: 2025-02-19 09:18:52 Duration: 0ms
4 1,264,439 4m23s 0ms 20ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 19 00 23,208 4s803ms 0ms 01 22,115 4s562ms 0ms 02 20,612 4s410ms 0ms 03 21,534 4s530ms 0ms 04 19,069 3s978ms 0ms 05 20,392 4s257ms 0ms 06 22,508 4s529ms 0ms 07 19,509 3s648ms 0ms 08 30,346 5s832ms 0ms 09 67,142 13s840ms 0ms 10 104,068 22s555ms 0ms 11 108,559 25s224ms 0ms 12 115,939 25s518ms 0ms 13 105,756 23s782ms 0ms 14 97,872 20s742ms 0ms 15 94,020 19s458ms 0ms 16 89,145 18s661ms 0ms 17 69,575 13s40ms 0ms 18 59,444 11s373ms 0ms 19 53,869 10s381ms 0ms 20 43,460 8s392ms 0ms 21 32,038 5s515ms 0ms 22 24,259 4s247ms 0ms -
SELECT payload FROM http_sessions WHERE sid = 'aa4f901f9422cc23283337b4aa11de09a8547524';
Date: 2025-02-19 10:00:00 Duration: 20ms
-
SELECT payload FROM http_sessions WHERE sid = '04295b18b4bee8f3bd555d6e43e77dde2ae17c35';
Date: 2025-02-19 10:53:18 Duration: 19ms
-
SELECT payload FROM http_sessions WHERE sid = '6c3b1ca7385d501b8f546372e004222f2d9ef36c';
Date: 2025-02-19 17:21:53 Duration: 17ms
5 1,252,745 2m6s 0ms 2ms 0ms select base_registry_signaling.last_value, base_cache_signaling.last_value from base_registry_signaling, base_cache_signaling;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 19 00 23,143 2s201ms 0ms 01 22,124 2s95ms 0ms 02 20,650 2s14ms 0ms 03 21,595 2s90ms 0ms 04 19,124 1s808ms 0ms 05 20,421 1s965ms 0ms 06 22,544 2s92ms 0ms 07 19,473 1s776ms 0ms 08 30,006 2s759ms 0ms 09 66,116 6s445ms 0ms 10 102,631 10s681ms 0ms 11 107,203 11s970ms 0ms 12 114,542 12s88ms 0ms 13 104,727 11s223ms 0ms 14 96,720 9s900ms 0ms 15 93,163 9s228ms 0ms 16 88,382 8s831ms 0ms 17 68,816 6s610ms 0ms 18 59,002 5s948ms 0ms 19 53,458 5s390ms 0ms 20 43,111 4s323ms 0ms 21 31,812 2s863ms 0ms 22 23,982 2s197ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-19 22:12:34 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-19 11:31:30 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-19 12:05:17 Duration: 1ms
6 651,136 1m57s 0ms 38ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 19 00 7,593 1s400ms 0ms 01 7,255 1s563ms 0ms 02 5,848 1s547ms 0ms 03 6,610 1s491ms 0ms 04 4,986 1s420ms 0ms 05 5,746 1s556ms 0ms 06 10,083 1s837ms 0ms 07 9,448 1s510ms 0ms 08 13,391 1s952ms 0ms 09 36,620 5s419ms 0ms 10 61,882 10s793ms 0ms 11 64,082 12s963ms 0ms 12 68,883 12s433ms 0ms 13 59,758 11s559ms 0ms 14 50,924 9s223ms 0ms 15 48,544 8s332ms 0ms 16 45,406 7s551ms 0ms 17 37,197 5s795ms 0ms 18 29,493 5s277ms 0ms 19 26,125 4s759ms 0ms 20 22,488 4s192ms 0ms 21 15,741 2s665ms 0ms 22 13,033 1s995ms 0ms -
COMMIT;
Date: 2025-02-19 11:48:06 Duration: 38ms
-
COMMIT;
Date: 2025-02-19 01:53:26 Duration: 36ms
-
COMMIT;
Date: 2025-02-19 12:53:02 Duration: 36ms
7 560,550 1m31s 0ms 6ms 0ms select "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" from "urgent_customer" where "urgent_customer".id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 19 00 7,981 1s42ms 0ms 01 7,249 921ms 0ms 02 6,023 744ms 0ms 03 6,109 838ms 0ms 04 4,524 535ms 0ms 05 4,518 598ms 0ms 06 9,507 1s486ms 0ms 07 7,966 1s137ms 0ms 08 8,827 1s266ms 0ms 09 31,761 4s863ms 0ms 10 54,846 9s765ms 0ms 11 52,069 10s131ms 0ms 12 60,344 10s970ms 0ms 13 49,438 8s689ms 0ms 14 42,586 7s139ms 0ms 15 39,821 6s106ms 0ms 16 38,197 5s732ms 0ms 17 32,453 4s707ms 0ms 18 27,639 4s616ms 0ms 19 23,044 3s740ms 0ms 20 19,821 3s195ms 0ms 21 13,393 1s675ms 0ms 22 12,434 1s471ms 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 (5099458, 5099694, 5099334, 5099737, 5122024, 5114357, 5124028, 5112656, 5207113, 5109616, 5100352, 5302706, 5493048, 5126396, 5109066, 5470775, 5118073, 5125921, 5099246, 5099034, 5099570, 5100420, 5099405, 5100951, 5106386, 5107837, 5108340, 5099687, 5113428, 5099102, 5105102, 5099646, 5100375, 5476527, 5415616, 5103478, 5100018, 5215768, 5099718, 5431916, 5099577, 5099096, 5119178, 5099914, 5123904, 5110188, 5100386, 5104770, 5099802, 5101219, 5099403, 5102681, 5099216, 5100381, 5099767, 5099277, 5102190, 5103868, 5099707, 5105109, 5251496, 5101878, 5215775, 5099028, 5099315, 5099167, 5106063, 5099144, 5102394, 5100421, 5102254, 5099590, 5099331, 5118658, 5099141, 5102985, 5102727, 5262582, 5100830, 5100423, 5106785, 5099564, 5099095, 5115052, 5102323, 5099515, 5107016, 5103012, 5100218, 5100636, 5102665, 5104688, 5099791, 5111312, 5099043, 5479877, 5107406, 5100191, 5099585, 5099252, 5389279, 5119270, 5494688, 5100762, 5099501, 5115863, 5104109, 5104259, 5099263, 5099183, 5437447, 5100062, 5100111, 5104623, 5101594, 5101085, 5101319, 5335695, 5104282, 5098996, 5101786);
Date: 2025-02-19 17:21:53 Duration: 6ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5301112, 5499500, 5516780, 5451980, 5475000, 5297826, 5139691, 5134271, 5241220, 5477587, 5480869, 5187698, 5478883, 5455743, 5455744, 5148285, 5146545, 5146546, 5175858, 5351911, 5390617, 5144053, 5367169, 5165088, 5138720, 5198707, 5208599, 5280642, 5508451, 5522727, 5472273, 5432439, 5496897, 5297665, 5468492, 5173868, 5515635, 5169703, 5510304, 5137037, 5309339, 5139923, 5361595, 5484908, 5484909, 5461447, 5395855, 5331453, 5252124, 5487395, 5447058, 5159476, 5285857, 5481392, 5158064, 5490666, 5224286, 5477628, 5449124, 5505068, 5398404, 5479984, 5266090, 5179910, 5220503, 5484268, 5152500, 5405160, 5484492, 5505131, 5359168, 5318652, 5269029, 5483000, 5167404, 5481465, 5235780, 5426666, 5480441, 5462499, 5144954, 5387866, 5311312, 5238489, 5519181, 5137263, 5499442, 5494630, 5182686, 5230170, 5477619, 5477620, 5310334, 5469261, 5302706, 5327320, 5150082, 5305267, 5458771, 5484788, 5211887, 5213570, 5457852, 5196311, 5467035, 5477980, 5480526, 5485071, 5498592, 5201808, 5476141, 5153011, 5266284, 5144304, 5465031, 5194627, 5460361, 5466882, 5470411, 5458914, 5462218, 5520566, 5482474, 5230568, 5461040, 5164982, 5331551, 5353593, 5299403, 5183366, 5323917, 5183627, 5176258, 5168951, 5365280, 5147187, 5486876, 5311081, 5391935, 5191759, 5212821, 5467156, 5190357, 5423874, 5288087, 5188524, 5473757, 5254746, 5359248, 5254865, 5511300, 5500734, 5487969, 5454932, 5477408, 5486066, 5471766, 5192459, 5142223, 5479325, 5450859, 5270616, 5480746, 5214826, 5165589, 5162588, 5237928, 5455384, 5492788, 5366214, 5459638, 5136885, 5188095, 5493343, 5216218, 5507425, 5495041, 5465192, 5469667, 5219778, 5501188, 5270414, 5382142, 5517431, 5400440, 5345429, 5134714, 5209179, 5466726, 5320247, 5161462, 5460229, 5503104, 5227094, 5230125, 5318511, 5333838, 5206238, 5385602, 5501721, 5367927, 5185258, 5496277, 5516484, 5246442, 5155935, 5436480, 5180426, 5518857, 5454846, 5151963, 5348313, 5511600, 5501759, 5473469, 5173787, 5498904, 5357417, 5189466, 5469118, 5197255, 5454598, 5148736, 5469792, 5204420, 5247975, 5479324, 5217479, 5206885, 5269618, 5469369, 5275149, 5501187, 5253701, 5291410, 5512182, 5441353, 5494689, 5366560, 5521423, 5458642, 5150380, 5455783, 5139395, 5483244, 5485575, 5162787, 5462556, 5499057, 5468475, 5140171, 5487239, 5497825, 5198644, 5245736, 5508526, 5502106, 5143894, 5320103, 5482890, 5501561, 5455823, 5471943, 5328820, 5440036, 5360638, 5487188, 5497013, 5172508, 5168817, 5482924, 5171535, 5343985, 5423780, 5304698, 5503308, 5488170, 5256522, 5165072, 5494530, 5472946, 5137864, 5461477, 5519527, 5519528, 5277313, 5166384, 5466854, 5475632, 5198278, 5503445, 5246523, 5339217, 5203546, 5480004, 5258863, 5182711, 5244348, 5140448, 5175952, 5344410, 5150343, 5453400, 5364646, 5171970, 5164145, 5489669, 5395167, 5399871, 5214240, 5296467, 5160896, 5339662, 5334306, 5452760, 5169937, 5193654, 5412770, 5505622, 5249533, 5190366, 5183592, 5237422, 5210286, 5493359, 5236701, 5391664, 5343453, 5498359, 5365929, 5485259, 5472307, 5504393, 5157305, 5258400, 5189375, 5162203, 5331008, 5217371, 5367292, 5244336, 5460721, 5471577, 5257680, 5398737, 5502322, 5471267, 5175303, 5346152, 5167567, 5494456, 5268549, 5443619, 5487417, 5400833, 5461201, 5457158, 5155552, 5210576, 5460233, 5369651, 5265192, 5458284, 5485230, 5412711, 5147314, 5482440, 5333584, 5496378, 5492427, 5144929, 5518506, 5168864, 5174948, 5317495, 5206417, 5494690, 5506945, 5494960, 5472014, 5290745, 5401477, 5385361, 5413353, 5506827, 5498940, 5440989, 5458090, 5504465, 5516253, 5177910, 5471832, 5204092, 5336309, 5153918, 5466140, 5144655, 5478664, 5452697, 5180353, 5472647, 5493044, 5522845, 5475368, 5506205, 5431169, 5471384, 5493483, 5465426, 5136165, 5176080, 5254866, 5392728, 5522677, 5359622, 5261509, 5512664, 5324893, 5183193, 5488243, 5198637, 5144118, 5513400, 5291467, 5413301, 5198773, 5151883, 5492787, 5149188, 5393823, 5519679, 5341293, 5523588, 5347338, 5467467, 5378305, 5461306, 5461307, 5509813, 5431699, 5386343, 5165682, 5237995, 5174460, 5498768, 5473954, 5172693, 5455281, 5173236, 5235965, 5260495, 5183604, 5486144, 5485487, 5368601, 5502480, 5496028, 5310329, 5469341, 5204383, 5435170, 5171540, 5175055, 5350306, 5484982, 5397962, 5303793, 5486828, 5511633, 5184020, 5490827, 5490828, 5480287, 5352925, 5171629, 5146940, 5171438, 5338781, 5477535, 5167775, 5475835, 5332165, 5233525, 5477386, 5488994, 5491048, 5486613, 5206947, 5207158, 5179595, 5419345, 5203074, 5475470, 5269886, 5474511, 5371817, 5490778, 5465680, 5273866, 5493545, 5509388, 5509389, 5146908, 5281234, 5459728, 5396552, 5275377, 5465478, 5499525, 5497304, 5497305, 5209600, 5490794, 5281361, 5472954, 5468963, 5293081, 5165545, 5206387, 5204968, 5467736, 5212778, 5501825, 5182423, 5381318, 5466142, 5442855, 5176060, 5465561, 5179198, 5240761, 5161464, 5252224, 5334636, 5464195, 5500666, 5216792, 5391912, 5466442, 5338624, 5485732, 5488062, 5489444, 5217973, 5256835, 5457835, 5245314, 5152713, 5512212, 5512791, 5513546, 5407812, 5144305, 5268275, 5360294, 5492465, 5466864, 5466865, 5467659, 5179915, 5469484, 5330493, 5507320, 5209994, 5174873, 5470377, 5138612, 5467034, 5511582, 5373365, 5517257, 5517258, 5262056, 5470967, 5493108, 5194251, 5461519, 5502563, 5491640, 5214808, 5475035, 5512415, 5286790, 5379425, 5506461, 5424487, 5374383, 5168760, 5190900, 5245599, 5481237, 5503187, 5147042, 5202488, 5477082, 5511289, 5451630, 5458409, 5412556, 5508009, 5198543, 5389395, 5510155, 5211886, 5455790, 5521222, 5466304, 5169884, 5254020, 5237227, 5216985, 5187960, 5155145, 5250607, 5344112, 5263042, 5509892, 5509893, 5312899, 5167676, 5249539, 5511316, 5405531, 5483984, 5455444, 5514524, 5202335, 5490499, 5482453, 5183059, 5504801, 5138927, 5497448, 5475061, 5174144, 5514944, 5208811, 5259844, 5149198, 5268857, 5172822, 5489012, 5243943, 5481441, 5496479, 5482811, 5350074, 5467855, 5503652, 5154328, 5135671, 5458906, 5475987, 5475990, 5465806, 5454479, 5465785, 5190351, 5402804, 5210863, 5479865, 5410242, 5467058, 5412934, 5391869, 5275475, 5463073, 5166218, 5495998, 5495999, 5220595, 5479464, 5186022, 5458704, 5515567, 5296305, 5499215, 5497790, 5493354, 5361411, 5363041, 5179791, 5335070, 5511290, 5139480, 5458261, 5461034, 5473867, 5196245, 5178707, 5469142, 5506203, 5459603, 5156127, 5252360, 5499570, 5308728, 5455740, 5492159, 5311596, 5265829, 5488806, 5358737, 5151482, 5287831, 5513402, 5515587, 5157605, 5144296, 5139008, 5174045, 5475859, 5465353, 5500865, 5521666, 5240184, 5152063, 5269277, 5287143, 5382135, 5216124, 5502476, 5456929, 5237494, 5364229, 5454689, 5417068, 5499454, 5499455, 5254762, 5508739, 5206804, 5463168, 5520373, 5471835, 5391541, 5193132, 5201922, 5417356, 5263994, 5511187, 5464661, 5424659, 5160855, 5203295, 5136873, 5168874, 5435795, 5495043, 5455341, 5513079, 5450584, 5503673, 5220140, 5195850, 5165159, 5160988, 5456878, 5217054, 5142617, 5236517, 5460343, 5150542, 5174006, 5254688, 5490359, 5474432, 5500978, 5511182, 5489089, 5287449, 5505293, 5216253, 5324956, 5490610, 5467177, 5465491, 5200005, 5353906, 5485020, 5187977, 5147508, 5484310, 5489081, 5152473, 5164008, 5468777, 5228329, 5470167, 5140611, 5480201, 5233239, 5167618, 5442626, 5156447, 5274016, 5194693, 5506463, 5490984, 5307236, 5146097, 5374453, 5210408, 5168364, 5478314, 5175724, 5394640, 5228274, 5475744, 5471824, 5270336, 5265832, 5458417, 5469620, 5174492, 5237049, 5195712, 5140039, 5518714, 5189325, 5201304, 5501576, 5194361, 5198312, 5492541, 5411049, 5322364, 5465188, 5507075, 5333420, 5203279, 5452532, 5256643, 5471239, 5437092, 5189274, 5316069, 5365876, 5149370, 5159845, 5513418, 5459639, 5204259, 5506201, 5514625, 5514626, 5508566, 5387723, 5383564, 5456099, 5202733, 5211362, 5173485, 5473731, 5498782, 5464983, 5493195, 5143008, 5249072, 5470077, 5460781, 5484660, 5515119, 5484806, 5484807, 5224107, 5286890, 5217586, 5495199, 5319881, 5474178, 5324217, 5350646, 5456837, 5156633, 5497367, 5182131, 5264299, 5145624, 5286979, 5184571, 5193566, 5418057, 5142438, 5225501, 5233372, 5316708, 5148739, 5253159, 5169417, 5502866, 5485038, 5138431, 5226709, 5167875, 5198142, 5348097, 5265113, 5484428, 5462513, 5252852, 5225323, 5346178, 5203816, 5513039, 5347742, 5253410, 5230183, 5463690, 5427397, 5465297, 5455580, 5227130, 5433249, 5310568, 5473671, 5166203, 5258200, 5513415, 5399027, 5459031, 5257141, 5511850, 5499939, 5346777, 5135742, 5470378, 5437784, 5272031, 5255626, 5399993, 5476335, 5487948, 5164695, 5517970, 5136666, 5196916, 5137921, 5443895, 5202311, 5184648, 5521104, 5215586, 5496103, 5215768, 5499815, 5493164, 5362000, 5192772, 5245537, 5183389, 5466141, 5336682, 5170221, 5474642, 5367655, 5310158, 5179873, 5194153, 5521055, 5315425, 5321949, 5169845, 5461481, 5253050, 5462680, 5487167, 5158438, 5484185, 5204456, 5445599, 5367567, 5184685, 5492913, 5183799, 5183132, 5454481, 5301037, 5175205, 5202303, 5335458, 5439298, 5504949, 5252844, 5166136, 5513431, 5509344, 5197878, 5469788, 5340474, 5345871, 5193574, 5492863, 5234639, 5149885, 5473741, 5250773, 5513370, 5453806, 5505722);
Date: 2025-02-19 14:09:33 Duration: 6ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5099815, 5099445, 5099010, 5099941, 5099403, 5510066, 5107259, 5099556, 5360804, 5099654, 5261179, 5197401, 5118383, 5108929, 5101977, 5100340, 5099129, 5099144, 5099356, 5099920, 5099867, 5099244, 5099782, 5158064, 5139547, 5105914, 5190525, 5099600, 5099130, 5123877, 5099804, 5108206, 5099540, 5099009, 5106194, 5108813, 5099568, 5099857, 5100936, 5099007, 5467162, 5102973, 5103046, 5099285, 5099045, 5099200, 5101185, 5099202, 5099310, 5099138, 5101994, 5105547, 5215676, 5101160, 5111965, 5099008, 5104802, 5239471, 5108721, 5099553, 5099720, 5099590, 5099013, 5100505, 5112840, 5498610, 5100628, 5181973);
Date: 2025-02-19 17:21:52 Duration: 6ms
8 547,748 43s113ms 0ms 2ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" from "urgent_office" where "urgent_office".id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 19 00 5,842 405ms 0ms 01 4,707 306ms 0ms 02 4,219 282ms 0ms 03 4,590 300ms 0ms 04 2,827 178ms 0ms 05 3,292 208ms 0ms 06 8,428 471ms 0ms 07 8,137 450ms 0ms 08 10,132 589ms 0ms 09 30,440 2s37ms 0ms 10 51,880 4s233ms 0ms 11 52,764 5s102ms 0ms 12 59,177 5s42ms 0ms 13 50,366 4s385ms 0ms 14 42,146 3s348ms 0ms 15 41,059 3s45ms 0ms 16 40,042 3s12ms 0ms 17 33,075 2s324ms 0ms 18 26,661 2s244ms 0ms 19 23,406 1s882ms 0ms 20 19,638 1s586ms 0ms 21 13,188 880ms 0ms 22 11,732 793ms 0ms -
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (39);
Date: 2025-02-19 11:53:38 Duration: 2ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (1, 28, 27, 32, 17, 10, 36, 102, 61, 24, 115, 78, 39, 5, 35, 19, 30, 121, 7, 71, 73, 119, 110, 65, 126, 60, 67, 80, 2, 9, 26, 66, 48, 49, 127, 53, 77, 8, 52);
Date: 2025-02-19 14:19:25 Duration: 2ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (36);
Date: 2025-02-19 11:48:34 Duration: 2ms
9 370,546 1m19s 0ms 14ms 0ms select "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 19 00 3,976 729ms 0ms 01 3,385 681ms 0ms 02 2,415 487ms 0ms 03 2,778 559ms 0ms 04 1,954 386ms 0ms 05 2,626 483ms 0ms 06 4,729 888ms 0ms 07 5,395 893ms 0ms 08 9,602 1s464ms 0ms 09 21,543 4s33ms 0ms 10 35,115 7s697ms 0ms 11 36,154 8s969ms 0ms 12 40,175 9s94ms 0ms 13 35,742 8s177ms 0ms 14 29,840 6s316ms 0ms 15 28,774 5s837ms 0ms 16 26,340 5s391ms 0ms 17 21,681 4s443ms 0ms 18 16,916 3s834ms 0ms 19 14,014 3s178ms 0ms 20 11,635 2s612ms 0ms 21 8,109 1s494ms 0ms 22 7,648 1s410ms 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 (8006469);
Date: 2025-02-19 17:21:51 Duration: 14ms
-
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 (8006541);
Date: 2025-02-19 17:21:51 Duration: 14ms
-
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 (8008131);
Date: 2025-02-19 17:21:51 Duration: 14ms
10 307,139 32s329ms 0ms 3ms 0ms select "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" from "res_users" where "res_users".id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 19 00 3,284 363ms 0ms 01 2,674 317ms 0ms 02 2,013 261ms 0ms 03 2,303 287ms 0ms 04 1,562 214ms 0ms 05 1,842 246ms 0ms 06 4,359 435ms 0ms 07 4,539 423ms 0ms 08 6,682 598ms 0ms 09 17,005 1s617ms 0ms 10 30,232 3s136ms 0ms 11 29,817 3s615ms 0ms 12 33,572 3s688ms 0ms 13 29,238 3s224ms 0ms 14 24,686 2s484ms 0ms 15 23,891 2s316ms 0ms 16 22,599 2s191ms 0ms 17 18,312 1s673ms 0ms 18 13,836 1s582ms 0ms 19 11,674 1s334ms 0ms 20 9,875 1s113ms 0ms 21 6,856 639ms 0ms 22 6,288 563ms 0ms -
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-02-19 17:45:50 Duration: 3ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-02-19 17:55:12 Duration: 3ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-02-19 19:53:30 Duration: 3ms
11 293,594 2d14h15m38s 593ms 6s617ms 763ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 19 00 10,538 1h59m45s 681ms 01 9,429 1h47m19s 682ms 02 10,255 1h56m3s 678ms 03 9,951 1h51m20s 671ms 04 8,811 1h37m33s 664ms 05 8,658 1h35m51s 664ms 06 7,684 1h22m53s 647ms 07 4,742 50m39s 641ms 08 5,187 55m44s 644ms 09 9,940 1h56m5s 700ms 10 16,579 3h34m35s 776ms 11 20,441 4h52m8s 857ms 12 18,324 3h56m54s 775ms 13 18,595 4h9m2s 803ms 14 15,474 3h17m22s 765ms 15 12,792 2h35m54s 731ms 16 12,520 2h34m56s 742ms 17 12,172 2h35m55s 768ms 18 22,874 5h23m4s 847ms 19 18,285 4h22m3s 859ms 20 17,900 4h18m21s 865ms 21 11,861 2h28m7s 749ms 22 10,582 2h13m54s 759ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5545640)) AND (("shipping_track"."id" not in (46035171, 46035171)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 20:54:34 Duration: 6s617ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5545660)) AND (("shipping_track"."id" not in (46035343, 46035343)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 20:55:00 Duration: 6s384ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5545641)) AND (("shipping_track"."id" not in (46035184, 46035184)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 20:54:35 Duration: 6s359ms
12 291,598 1m53s 0ms 4ms 0ms select r.id from ir_rule r join ir_model m on (r.model_id = m.id) where m.model = ? and r.active and r.perm_read and (r.id in ( select rule_group_id from rule_group_rel rg join res_groups_users_rel gu on (rg.group_id = gu.gid) where gu.uid = ?) or r.global) order by r.id;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 19 00 3,969 1s332ms 0ms 01 2,737 976ms 0ms 02 1,702 608ms 0ms 03 1,654 590ms 0ms 04 1,071 372ms 0ms 05 1,271 452ms 0ms 06 1,560 539ms 0ms 07 1,650 516ms 0ms 08 8,351 2s658ms 0ms 09 16,733 6s40ms 0ms 10 22,280 8s962ms 0ms 11 32,870 14s511ms 0ms 12 25,596 10s555ms 0ms 13 22,091 9s394ms 0ms 14 21,981 8s683ms 0ms 15 21,872 8s348ms 0ms 16 21,090 7s935ms 0ms 17 29,194 10s113ms 0ms 18 14,238 5s744ms 0ms 19 11,535 4s638ms 0ms 20 14,810 5s600ms 0ms 21 7,696 2s571ms 0ms 22 5,647 1s861ms 0ms -
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 = 919) OR r.global) ORDER BY r.id;
Date: 2025-02-19 17:21:51 Duration: 4ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'urgent.car' 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 = 1451) OR r.global) ORDER BY r.id;
Date: 2025-02-19 20:55:16 Duration: 3ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'urgent.customer' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 900) OR r.global) ORDER BY r.id;
Date: 2025-02-19 18:24:53 Duration: 3ms
13 258,511 1m12s 0ms 17ms 0ms select "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" from "policy_number" where "policy_number".id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 19 00 4,280 1s150ms 0ms 01 4,014 1s86ms 0ms 02 3,638 964ms 0ms 03 3,012 835ms 0ms 04 2,546 657ms 0ms 05 2,185 618ms 0ms 06 3,629 1s113ms 0ms 07 3,223 871ms 0ms 08 3,849 1s98ms 0ms 09 13,111 3s645ms 0ms 10 22,762 6s791ms 0ms 11 21,849 7s328ms 0ms 12 25,241 7s905ms 0ms 13 22,075 6s372ms 0ms 14 19,497 5s338ms 0ms 15 19,625 4s674ms 0ms 16 17,016 4s493ms 0ms 17 16,121 4s72ms 0ms 18 13,846 3s953ms 0ms 19 12,783 3s504ms 0ms 20 9,998 2s945ms 0ms 21 6,810 1s572ms 0ms 22 7,401 1s702ms 0ms -
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (40460028, 41325953, 40988019, 39970046, 41025964, 32217086, 41574940, 41790798, 40719641, 42057730, 42058555, 41791138, 41839842, 41790852, 41839650, 41936300, 41936434, 41936599, 42082359, 41758752, 41987061, 41973481, 41889106, 41903471, 41255815, 42039579, 39722913, 39725818, 39797866, 42084492, 41936067, 32327552, 42084441, 42049666, 42068594, 42043923, 41839871, 41034871, 42058467, 42058501, 32187958, 41934189, 41924499, 42053186, 44519275, 42063274, 42110566, 42009227, 41878982, 32448409, 41671528, 41574983, 41316898, 42013265, 41792398, 41726136, 41840323, 41850315, 41893356, 32260233, 32280264, 41936594, 41839852, 32237459, 32250142, 42047285, 41940408, 41996150, 41845966, 41874000, 32330721, 41312373, 41312371, 32482638, 41867406, 41919045, 32399284, 32193949, 42057891, 42017491, 41372638, 42057889, 32379829, 32654819, 42158511, 32345913, 41840084, 41975296, 41467266, 32240723, 41084926, 42003354, 41833710, 42165187, 42057672, 41380822, 41821776, 42012615, 42078592, 41683809);
Date: 2025-02-19 17:21:52 Duration: 17ms
-
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 (32385198, 44613188, 44655357);
Date: 2025-02-19 17:21:51 Duration: 11ms
-
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (32246418);
Date: 2025-02-19 17:21:51 Duration: 11ms
14 213,530 41s220ms 0ms 2ms 0ms select ? from res_groups_users_rel where uid = ? and gid in ( select res_id from ir_model_data where module = ? and name = ? and model = ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 19 00 3,463 539ms 0ms 01 2,661 394ms 0ms 02 2,201 298ms 0ms 03 1,983 270ms 0ms 04 1,335 178ms 0ms 05 1,779 250ms 0ms 06 1,504 216ms 0ms 07 2,074 289ms 0ms 08 9,007 1s357ms 0ms 09 13,622 2s391ms 0ms 10 16,730 3s342ms 0ms 11 21,605 5s132ms 0ms 12 16,669 3s553ms 0ms 13 15,066 3s186ms 0ms 14 15,410 3s26ms 0ms 15 15,868 2s906ms 0ms 16 13,502 2s572ms 0ms 17 19,673 3s746ms 0ms 18 9,926 2s27ms 0ms 19 7,645 1s544ms 0ms 20 10,240 2s140ms 0ms 21 6,289 1s30ms 0ms 22 5,278 824ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1422 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_public' AND model = 'res.groups');
Date: 2025-02-19 13:42:45 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1445 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_public' AND model = 'res.groups');
Date: 2025-02-19 13:24:23 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1030 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-02-19 13:12:18 Duration: 2ms
15 188,772 20s900ms 0ms 1ms 0ms select "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" from "notebook_package" where "notebook_package".id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 19 00 1,827 152ms 0ms 01 1,778 157ms 0ms 02 1,357 126ms 0ms 03 1,667 158ms 0ms 04 1,055 102ms 0ms 05 1,179 117ms 0ms 06 3,249 284ms 0ms 07 2,769 225ms 0ms 08 3,206 289ms 0ms 09 11,093 1s100ms 0ms 10 19,404 2s549ms 0ms 11 18,653 2s83ms 0ms 12 21,585 2s233ms 0ms 13 17,980 2s126ms 0ms 14 15,215 1s713ms 0ms 15 14,240 1s590ms 0ms 16 13,506 1s461ms 0ms 17 10,746 1s78ms 0ms 18 8,717 833ms 0ms 19 6,915 825ms 0ms 20 5,666 748ms 0ms 21 3,847 483ms 0ms 22 3,118 457ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414, 2);
Date: 2025-02-19 16:27:57 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2025-02-19 17:21:51 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414);
Date: 2025-02-19 17:21:51 Duration: 1ms
16 169,590 2h43m39s 41ms 389ms 57ms 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 #16
Day Hour Count Duration Avg duration Feb 19 00 5,798 4m56s 51ms 01 3,673 3m7s 51ms 02 3,673 3m6s 50ms 03 4,376 3m42s 50ms 04 3,010 2m31s 50ms 05 2,486 2m7s 51ms 06 2,411 2m1s 50ms 07 1,775 1m29s 50ms 08 2,561 2m9s 50ms 09 6,624 6m 54ms 10 12,824 12m50s 60ms 11 15,645 17m18s 66ms 12 15,711 15m40s 59ms 13 14,281 14m47s 62ms 14 12,880 12m30s 58ms 15 9,791 9m5s 55ms 16 9,816 9m12s 56ms 17 7,241 6m41s 55ms 18 7,440 7m34s 61ms 19 8,412 8m45s 62ms 20 8,149 8m11s 60ms 21 5,482 4m53s 53ms 22 5,531 4m54s 53ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5519312, 5505593, 5470781)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-19 20:52:24 Duration: 389ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5470395, 5467443, 5466420, 5465686, 5461453)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-19 11:46:18 Duration: 387ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5439904, 5404908)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-19 13:20:39 Duration: 383ms
17 163,683 1m41s 0ms 34ms 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 #17
Day Hour Count Duration Avg duration Feb 19 00 503 278ms 0ms 01 349 204ms 0ms 02 243 158ms 0ms 03 236 150ms 0ms 04 191 129ms 0ms 05 199 139ms 0ms 06 843 419ms 0ms 07 1,183 574ms 0ms 08 1,395 753ms 0ms 09 3,834 2s345ms 0ms 10 11,203 8s14ms 0ms 11 13,178 9s354ms 0ms 12 13,942 9s727ms 0ms 13 13,861 9s759ms 0ms 14 12,322 8s418ms 0ms 15 11,448 7s130ms 0ms 16 9,437 5s583ms 0ms 17 7,413 4s385ms 0ms 18 20,635 11s464ms 0ms 19 15,670 8s763ms 0ms 20 16,611 9s48ms 0ms 21 5,714 3s135ms 0ms 22 3,273 1s765ms 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 (5484849);
Date: 2025-02-19 19:52:25 Duration: 34ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (2826085, 5293379, 5273175, 5327573, 3075330, 3712854, 5428508, 5428520, 5428517, 5428471, 5342206, 4381300, 4145412, 4381411, 5165841, 5313928, 4815771, 4377426, 3866804, 5313236, 5236874, 4014278, 2956216, 3251915, 3337405, 4241368, 3549545, 4566159, 5132494, 3019501, 3256724, 5211758, 5354192, 4251480, 5389611, 5173140, 5242653, 5347527, 5318617, 5214483, 5347506, 5347501, 5273903, 5354092, 5086504, 5086513, 5341649, 4341864, 3738307, 4381512, 4358039, 4386435, 3066080, 2715099, 3093074, 3013842, 2669659, 3070722, 3076978, 3044277, 3679810, 3055979, 3055111, 3092407, 2525930, 3087159, 2630170, 3713223, 3301722, 3019569, 5270591, 3183594, 5213780, 4287262, 4230084, 4357554, 3941145, 4346010, 3110429, 3411552, 3713328, 3200962, 5019915, 4381324, 5329509, 5237937, 4150726, 4194570, 3074469, 3679826, 3069350, 3483192, 3606189, 3146778, 4263631, 3665766, 4338496, 4357962, 4324864, 4530829, 4338934, 4238815, 4346455, 4343356, 4336995, 4373681, 4327889, 4530585, 4128394, 3904806, 4538556, 4361435, 3423097, 4371841, 4289790, 3123359, 4564332, 4344039, 4214263, 4340836, 3191418, 4317754, 4341965, 4351257, 4403151, 4393039, 4392654, 4386638, 3163469, 3151979, 4380155, 3183800, 3133224, 3167271, 3182479, 3154415, 3123366, 3200813, 3124250, 4796131, 3204118, 4808726, 2846483, 3831591, 3069319, 4815758, 4354741, 4386691, 4341772, 4150807, 2986758, 3092584, 3094165, 2883698, 2857827, 4341712, 4501181, 4848125, 3392870, 3483212, 3392867, 4677600, 3530017, 4341656, 4688076, 3456822, 4663061, 3836656, 4530759, 3183980, 4538249, 4602332, 3786973, 4644775, 4645818, 4633240, 3259917, 4546696, 4602222, 3271096, 3016048, 4341744, 3290339, 3154113, 3071381, 4499192, 4405969, 4538292, 2564626, 3091765, 3379303, 3071393, 3071517, 4167203, 3558848, 4952818, 4177770, 2972359, 3983335, 3071331);
Date: 2025-02-19 17:21:53 Duration: 27ms
-
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 (5425262);
Date: 2025-02-19 19:52:25 Duration: 21ms
18 161,915 57s664ms 0ms 2ms 0ms select "price_list".id from "price_list" where (("price_list"."from_office_id" = ?) and ("price_list"."to_office_id" = ?)) order by "price_list"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 19 00 10,651 3s300ms 0ms 01 10,565 3s389ms 0ms 02 11,095 3s586ms 0ms 03 7,436 2s604ms 0ms 04 8,091 2s724ms 0ms 05 6,602 2s469ms 0ms 06 3,716 1s651ms 0ms 07 2,491 1s12ms 0ms 08 1,313 616ms 0ms 09 873 407ms 0ms 10 2,514 1s102ms 0ms 11 1,942 1s293ms 0ms 12 1,637 840ms 0ms 13 2,671 1s324ms 0ms 14 3,563 1s352ms 0ms 15 4,261 1s529ms 0ms 16 4,643 1s599ms 0ms 17 10,147 3s364ms 0ms 18 13,785 5s186ms 0ms 19 14,555 5s587ms 0ms 20 14,237 5s151ms 0ms 21 9,243 2s788ms 0ms 22 15,884 4s782ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 48) AND ("price_list"."to_office_id" = 60)) ORDER BY "price_list"."id";
Date: 2025-02-19 03:18:34 Duration: 2ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 64) AND ("price_list"."to_office_id" = 1)) ORDER BY "price_list"."id";
Date: 2025-02-19 17:29:22 Duration: 2ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 27) AND ("price_list"."to_office_id" = 19)) ORDER BY "price_list"."id";
Date: 2025-02-19 20:14:45 Duration: 1ms
19 139,945 13h16m58s 251ms 2s392ms 341ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 19 00 1,743 8m7s 279ms 01 2,554 11m54s 279ms 02 2,167 10m13s 283ms 03 2,972 13m54s 280ms 04 3,004 13m52s 277ms 05 4,178 19m33s 280ms 06 2,323 10m43s 276ms 07 1,262 5m45s 274ms 08 1,937 9m1s 279ms 09 3,349 17m34s 314ms 10 8,103 45m42s 338ms 11 12,184 1h14m49s 368ms 12 8,786 49m32s 338ms 13 9,127 52m9s 342ms 14 7,603 41m35s 328ms 15 7,325 37m33s 307ms 16 9,870 53m39s 326ms 17 6,318 36m11s 343ms 18 11,677 1h9m28s 357ms 19 16,678 1h42m58s 370ms 20 14,434 1h39m24s 413ms 21 2,096 11m55s 341ms 22 255 1m16s 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" = '257749')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 20:53:48 Duration: 2s392ms
-
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" = '441021')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:51:27 Duration: 2s380ms
-
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" = '502030')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 19:55:00 Duration: 2s354ms
20 132,028 39s467ms 0ms 35ms 0ms insert into "mail_message" ("author_id", "body", "create_date", "create_uid", "date", "email_add_signature", "email_from", "is_internal", "message_id", "message_type", "model", "record_name", "reply_to", "res_id", "subject", "subtype_id", "write_date", "write_uid") values (?, ?, ?, ?, ?, false, null, true, ?, ?, ?, null, null, ?, null, ?, ?, ?) returning "id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 19 00 5,949 1s399ms 0ms 01 3,433 890ms 0ms 02 5,106 1s378ms 0ms 03 4,523 1s51ms 0ms 04 3,977 1s7ms 0ms 05 3,442 842ms 0ms 06 1,868 438ms 0ms 07 1,519 408ms 0ms 08 1,188 312ms 0ms 09 3,911 1s218ms 0ms 10 6,343 2s85ms 0ms 11 10,975 3s840ms 0ms 12 10,694 3s248ms 0ms 13 8,829 2s796ms 0ms 14 7,566 2s2ms 0ms 15 4,646 1s242ms 0ms 16 5,889 1s605ms 0ms 17 6,360 2s229ms 0ms 18 6,945 2s519ms 0ms 19 8,100 2s851ms 0ms 20 6,751 2s214ms 0ms 21 5,998 1s636ms 0ms 22 8,016 2s243ms 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 (8006317, '', '2025-02-19 10:45:26.160666', 953, '2025-02-19 10:46:51', false, NULL, true, '<228130388619906.1739962011.122241973876953-openerp-message-notify@urg-dell>', 'notification', 'shipping.policy', NULL, NULL, 5488061, NULL, 2, '2025-02-19 10:45:26.160666', 953) RETURNING "id";
Date: 2025-02-19 11:46:51 Duration: 35ms
-
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 (8006459, '', '2025-02-19 11:59:23.856529', 1080, '2025-02-19 12:03:22', false, NULL, true, '<493276126274229.1739966602.119107484817505-openerp-message-notify@urg-dell>', 'notification', 'shipping.policy', NULL, NULL, 5451440, NULL, 2, '2025-02-19 11:59:23.856529', 1080) RETURNING "id";
Date: 2025-02-19 13:03:22 Duration: 34ms
-
INSERT INTO "mail_message" ("author_id", "body", "create_date", "create_uid", "date", "email_add_signature", "email_from", "is_internal", "message_id", "message_type", "model", "record_name", "reply_to", "res_id", "subject", "subtype_id", "write_date", "write_uid") VALUES (8006313, '', '2025-02-19 12:02:30.992060', 949, '2025-02-19 12:03:22', false, NULL, true, '<715656118439924.1739966602.118876218795776-openerp-message-notify@urg-dell>', 'notification', 'shipping.policy', NULL, NULL, 5496777, NULL, 2, '2025-02-19 12:02:30.992060', 949) RETURNING "id";
Date: 2025-02-19 13:03:22 Duration: 34ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 875ms 6s413ms 3s541ms 405 23m54s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 19 01 2 6s331ms 3s165ms 03 3 9s634ms 3s211ms 08 103 5m15s 3s61ms 09 6 19s549ms 3s258ms 10 3 5s451ms 1s817ms 11 5 21s645ms 4s329ms 12 20 1m24s 4s205ms 13 17 1m11s 4s190ms 14 26 1m34s 3s650ms 15 69 4m 3s478ms 16 14 46s730ms 3s337ms 17 50 3m9s 3s795ms 18 23 1m32s 4s16ms 19 20 1m26s 4s334ms 20 23 1m23s 3s611ms 21 14 44s239ms 3s159ms 22 7 23s331ms 3s333ms -
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 (36))))))) 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 (36)))))) 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 (36)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (36)))))) 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 (36))))))))) 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 (36)))))))) AND ("policy_number"."name"::text ilike '%39%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-19 19:51:37 Duration: 6s413ms
-
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 (75))))))) 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 (75)))))) 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 (75)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (75)))))) 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 (75))))))))) 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 (75)))))))) AND ("policy_number"."name"::text ilike '%468963%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-19 20:51:23 Duration: 5s848ms
-
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 (36))))))) 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 (36)))))) 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 (36)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (36)))))) 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 (36))))))))) 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 (36)))))))) AND ("policy_number"."name"::text ilike '%395217%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-19 19:51:37 Duration: 5s766ms
2 123ms 5s27ms 1s905ms 2,489 1h19m3s 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 #2
Day Hour Count Duration Avg duration Feb 19 04 2 5s165ms 2s582ms 06 1 184ms 184ms 07 6 5s591ms 931ms 08 30 29s821ms 994ms 09 99 2m12s 1s334ms 10 241 7m48s 1s943ms 11 253 8m19s 1s974ms 12 317 10m27s 1s980ms 13 268 9m54s 2s218ms 14 278 9m1s 1s949ms 15 346 8m59s 1s558ms 16 179 5m56s 1s989ms 17 165 5m48s 2s114ms 18 127 3m58s 1s875ms 19 68 2m20s 2s58ms 20 52 1m57s 2s263ms 21 26 42s377ms 1s629ms 22 31 55s777ms 1s799ms -
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-19 17:21:58 Duration: 5s27ms
-
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 (113)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (113))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-19 17:55:53 Duration: 4s963ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-19 13:25:34 Duration: 4s914ms
3 847ms 2s773ms 1s151ms 20,702 6h37m23s 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 #3
Day Hour Count Duration Avg duration Feb 19 00 1,069 18m52s 1s59ms 01 1,815 32m3s 1s59ms 02 1,988 36m44s 1s108ms 03 661 12m4s 1s96ms 04 1,457 26m17s 1s82ms 05 995 18m16s 1s102ms 06 289 5m5s 1s55ms 07 271 4m44s 1s48ms 08 54 58s845ms 1s89ms 09 115 2m32s 1s326ms 10 383 8m6s 1s270ms 11 40 46s35ms 1s150ms 12 120 2m33s 1s283ms 13 160 3m14s 1s216ms 14 658 13m9s 1s199ms 15 480 8m52s 1s108ms 16 355 7m5s 1s199ms 17 1,515 28m54s 1s144ms 18 1,585 33m31s 1s268ms 19 2,046 44m30s 1s305ms 20 1,258 25m5s 1s196ms 21 1,466 26m52s 1s99ms 22 1,922 36m59s 1s154ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '255388')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-19 19:54:45 Duration: 2s773ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '255387')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-19 19:54:51 Duration: 2s650ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '86443')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-19 19:53:38 Duration: 2s525ms
4 254ms 2s829ms 1s61ms 14,195 4h11m2s 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 #4
Day Hour Count Duration Avg duration Feb 19 00 1,349 21m53s 973ms 01 396 6m31s 988ms 02 292 4m51s 999ms 03 674 10m40s 950ms 04 32 33s374ms 1s42ms 05 1 908ms 908ms 09 17 19s744ms 1s161ms 10 78 1m27s 1s123ms 11 1 254ms 254ms 12 50 1m3s 1s260ms 13 191 3m37s 1s139ms 14 153 3m3s 1s197ms 15 492 9m9s 1s116ms 16 749 13m25s 1s75ms 17 1,002 17m21s 1s39ms 18 1,857 34m46s 1s123ms 19 1,623 29m40s 1s96ms 20 2,329 43m42s 1s125ms 21 867 14m42s 1s18ms 22 2,042 34m12s 1s4ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '356800')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-19 20:54:08 Duration: 2s829ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '356693')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-19 20:50:24 Duration: 2s723ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '356280')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-19 20:53:12 Duration: 2s693ms
5 599ms 5s973ms 792ms 49,124 10h48m43s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 19 00 169 2m9s 763ms 01 261 3m9s 726ms 02 468 5m26s 697ms 03 194 2m27s 758ms 04 162 2m4s 767ms 05 195 2m26s 748ms 06 302 3m30s 696ms 07 386 4m19s 671ms 08 1,204 13m8s 654ms 09 3,416 40m11s 706ms 10 4,229 56m5s 795ms 11 4,049 1h1m53s 917ms 12 4,537 1h1m10s 809ms 13 4,814 1h6m52s 833ms 14 3,472 45m31s 786ms 15 3,668 45m22s 742ms 16 3,786 47m18s 749ms 17 3,645 45m10s 743ms 18 2,510 36m6s 863ms 19 2,717 39m48s 879ms 20 2,405 33m14s 829ms 21 1,601 19m42s 738ms 22 934 11m34s 743ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5527130, 5523351, 5523345, 5522809, 5520685, 5520066, 5520051, 5519200, 5519150, 5519127, 5517752, 5514578, 5514493, 5514091, 5511008, 5508434, 5507053, 5506335, 5506161, 5501140, 5500589, 5500543, 5500109, 5498695, 5496320, 5494978, 5493051, 5468021, 5460753, 5460568, 5455500)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 11:51:49 Duration: 5s973ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5471586, 5471477, 5392472)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 11:46:51 Duration: 5s900ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5491020, 5486149, 5484350, 5480885, 5479939, 5476626, 5473479, 5469138, 5458360, 5458270, 5456250, 5447763, 5440056, 5439495, 5436149, 5435803, 5431099, 5431027, 5428482, 5421443, 5420561, 5413217, 5402748, 5402678, 5399661, 5395568, 5395150, 5387164, 5387156, 5364850, 5360376, 5352642, 5345650, 5323962, 5317788, 5310334, 5284199, 5281646)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 11:45:35 Duration: 5s884ms
6 593ms 6s617ms 763ms 293,594 2d14h15m38s 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 #6
Day Hour Count Duration Avg duration Feb 19 00 10,538 1h59m45s 681ms 01 9,429 1h47m19s 682ms 02 10,255 1h56m3s 678ms 03 9,951 1h51m20s 671ms 04 8,811 1h37m33s 664ms 05 8,658 1h35m51s 664ms 06 7,684 1h22m53s 647ms 07 4,742 50m39s 641ms 08 5,187 55m44s 644ms 09 9,940 1h56m5s 700ms 10 16,579 3h34m35s 776ms 11 20,441 4h52m8s 857ms 12 18,324 3h56m54s 775ms 13 18,595 4h9m2s 803ms 14 15,474 3h17m22s 765ms 15 12,792 2h35m54s 731ms 16 12,520 2h34m56s 742ms 17 12,172 2h35m55s 768ms 18 22,874 5h23m4s 847ms 19 18,285 4h22m3s 859ms 20 17,900 4h18m21s 865ms 21 11,861 2h28m7s 749ms 22 10,582 2h13m54s 759ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5545640)) AND (("shipping_track"."id" not in (46035171, 46035171)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 20:54:34 Duration: 6s617ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5545660)) AND (("shipping_track"."id" not in (46035343, 46035343)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 20:55:00 Duration: 6s384ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5545641)) AND (("shipping_track"."id" not in (46035184, 46035184)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-19 20:54:35 Duration: 6s359ms
7 277ms 2s700ms 438ms 23,113 2h49m1s select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 19 08 10 4s877ms 487ms 09 443 3m19s 450ms 10 1,865 13m45s 442ms 11 3,667 28m54s 472ms 12 4,377 31m35s 433ms 13 4,404 31m52s 434ms 14 3,137 22m51s 437ms 15 2,939 20m31s 418ms 16 2,271 16m5s 425ms -
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" = '463507')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:48:31 Duration: 2s700ms
-
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" = '427011')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:48:24 Duration: 2s475ms
-
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" = '374301')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:48:43 Duration: 2s272ms
8 294ms 1s339ms 426ms 3,616 25m42s select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 19 08 727 4m33s 376ms 09 930 6m3s 391ms 10 696 5m8s 442ms 11 403 3m38s 541ms 13 227 1m49s 481ms 14 192 1m21s 426ms 15 434 3m2s 421ms 18 4 2s480ms 620ms 22 3 1s485ms 495ms -
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" = '375299')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-19 11:34:31 Duration: 1s339ms
-
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" = '375243')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-19 11:34:36 Duration: 890ms
-
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" = '375273')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-19 11:34:26 Duration: 802ms
9 257ms 2s340ms 354ms 3,356 19m48s 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 #9
Day Hour Count Duration Avg duration Feb 19 01 345 1m36s 280ms 06 118 33s175ms 281ms 07 267 1m12s 273ms 08 49 13s793ms 281ms 10 484 2m59s 370ms 11 1,676 10m48s 386ms 12 391 2m15s 347ms 14 26 8s730ms 335ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9720049')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:37:00 Duration: 2s340ms
-
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" = '273270')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:36:04 Duration: 2s295ms
-
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" = '470783')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:46:10 Duration: 1s706ms
10 251ms 2s392ms 341ms 139,945 13h16m58s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 19 00 1,743 8m7s 279ms 01 2,554 11m54s 279ms 02 2,167 10m13s 283ms 03 2,972 13m54s 280ms 04 3,004 13m52s 277ms 05 4,178 19m33s 280ms 06 2,323 10m43s 276ms 07 1,262 5m45s 274ms 08 1,937 9m1s 279ms 09 3,349 17m34s 314ms 10 8,103 45m42s 338ms 11 12,184 1h14m49s 368ms 12 8,786 49m32s 338ms 13 9,127 52m9s 342ms 14 7,603 41m35s 328ms 15 7,325 37m33s 307ms 16 9,870 53m39s 326ms 17 6,318 36m11s 343ms 18 11,677 1h9m28s 357ms 19 16,678 1h42m58s 370ms 20 14,434 1h39m24s 413ms 21 2,096 11m55s 341ms 22 255 1m16s 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" = '257749')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 20:53:48 Duration: 2s392ms
-
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" = '441021')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:51:27 Duration: 2s380ms
-
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" = '502030')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 19:55:00 Duration: 2s354ms
11 255ms 2s76ms 315ms 17,910 1h34m15s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 19 00 247 1m10s 286ms 01 74 20s215ms 273ms 02 86 27s153ms 315ms 03 194 53s949ms 278ms 04 25 6s859ms 274ms 05 1,144 5m28s 287ms 06 241 1m6s 276ms 07 540 2m28s 275ms 08 1,868 8m42s 279ms 09 1,908 9m48s 308ms 10 3,167 17m58s 340ms 11 1,720 9m48s 342ms 12 821 4m26s 324ms 13 1,422 7m43s 326ms 14 1,227 6m31s 319ms 15 547 2m50s 311ms 16 444 2m19s 314ms 17 554 2m44s 296ms 18 365 2m4s 340ms 19 238 1m27s 368ms 20 660 3m37s 329ms 21 252 1m17s 306ms 22 166 50s711ms 305ms -
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" = '592107')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:48:39 Duration: 2s76ms
-
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" = '570080')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 11:48:36 Duration: 1s610ms
-
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" = '565679')) 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 (52)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (52))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (52))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 09:59:33 Duration: 1s564ms
12 258ms 1s924ms 313ms 2,993 15m38s 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 #12
Day Hour Count Duration Avg duration Feb 19 08 727 3m23s 279ms 09 930 4m26s 286ms 10 411 2m18s 336ms 11 403 2m40s 397ms 13 227 1m19s 349ms 14 192 59s548ms 310ms 15 100 30s298ms 302ms 22 3 967ms 322ms -
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" = '271928')) 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, 112, 23)))) 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, 112, 23))))) 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-02-19 11:36:47 Duration: 1s924ms
-
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" = '375299')) 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, 112, 23)))) 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, 112, 23))))) 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-02-19 11:34:29 Duration: 1s325ms
-
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" = '249095')) 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, 112, 23)))) 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, 112, 23))))) 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-02-19 11:36:26 Duration: 819ms
13 222ms 2s86ms 295ms 2,726 13m26s select name from shipping_policy order by create_date desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 19 00 120 30s555ms 254ms 01 120 30s726ms 256ms 02 120 30s417ms 253ms 03 120 30s539ms 254ms 04 120 30s341ms 252ms 05 120 30s448ms 253ms 06 120 30s276ms 252ms 07 120 29s912ms 249ms 08 120 30s144ms 251ms 09 120 31s535ms 262ms 10 120 37s33ms 308ms 11 120 40s292ms 335ms 12 120 36s448ms 303ms 13 120 37s295ms 310ms 14 120 35s131ms 292ms 15 120 33s486ms 279ms 16 120 34s136ms 284ms 17 116 37s577ms 323ms 18 120 45s118ms 375ms 19 120 45s934ms 382ms 20 120 49s772ms 414ms 21 120 39s608ms 330ms 22 90 29s817ms 331ms -
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-02-19 20:55:03 Duration: 2s86ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-02-19 11:46:03 Duration: 1s731ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2025-02-19 10:13:03 Duration: 1s650ms
14 92ms 969ms 245ms 68,924 4h41m59s select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 19 00 4,737 17m 215ms 01 4,380 16m21s 224ms 02 4,532 16m52s 223ms 03 2,642 9m27s 214ms 04 2,946 11m48s 240ms 05 1,962 7m28s 228ms 06 566 2m10s 230ms 07 532 2m3s 231ms 08 108 22s307ms 206ms 09 222 55s610ms 250ms 10 904 3m45s 249ms 11 82 19s591ms 238ms 12 338 1m33s 277ms 13 678 3m16s 289ms 14 1,590 7m28s 281ms 15 1,914 7m45s 242ms 16 2,176 9m15s 255ms 17 4,990 19m40s 236ms 18 6,810 31m22s 276ms 19 7,270 33m53s 279ms 20 7,090 31m29s 266ms 21 4,607 18m 234ms 22 7,848 29m37s 226ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-19 19:55:51 Duration: 969ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'اسلام')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-19 19:55:51 Duration: 969ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'مودرن')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-19 02:12:22 Duration: 917ms
15 158ms 258ms 201ms 15,492 51m54s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 19 00 975 3m12s 197ms 01 2,051 6m47s 198ms 02 2,001 6m45s 202ms 03 2,541 8m35s 203ms 04 2,919 9m47s 201ms 05 2,887 9m44s 202ms 06 1,663 5m32s 199ms 07 426 1m23s 196ms 22 29 6s648ms 229ms -
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" = '543195')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 05:50:37 Duration: 258ms
-
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" = '417804')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 02:03:28 Duration: 257ms
-
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" = '426166')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-19 02:03:59 Duration: 256ms
16 122ms 1s176ms 176ms 6,955 20m26s select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 19 00 16 2s180ms 136ms 01 50 7s22ms 140ms 02 25 3s564ms 142ms 06 5 685ms 137ms 07 10 1s348ms 134ms 08 66 9s37ms 136ms 09 491 1m14s 151ms 10 970 2m42s 167ms 11 1,384 5m6s 221ms 12 1,010 2m53s 171ms 13 815 2m26s 180ms 14 749 2m 160ms 15 260 40s914ms 157ms 16 281 43s947ms 156ms 17 287 42s803ms 149ms 18 157 26s395ms 168ms 19 111 20s778ms 187ms 20 205 34s973ms 170ms 21 28 3s903ms 139ms 22 35 4s813ms 137ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 78)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-19 13:25:27 Duration: 1s176ms
-
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-02-19 13:25:35 Duration: 1s170ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 35)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-19 11:47:01 Duration: 1s170ms
17 107ms 938ms 145ms 21,600 52m29s select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 19 07 32 4s11ms 125ms 08 189 24s61ms 127ms 09 1,144 2m33s 134ms 10 2,415 5m49s 144ms 11 1,995 5m19s 160ms 12 2,380 5m53s 148ms 13 2,151 5m29s 153ms 14 2,137 5m9s 144ms 15 2,601 6m4s 139ms 16 1,453 3m23s 139ms 17 1,754 3m55s 134ms 18 1,236 3m11s 154ms 19 1,180 2m49s 143ms 20 510 1m24s 165ms 21 370 51s619ms 139ms 22 53 7s302ms 137ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8171168)) AND (("cash_track"."id" not in (8314598)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-19 11:45:42 Duration: 938ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8171173)) AND (("cash_track"."id" not in (8314605)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-19 11:46:02 Duration: 895ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8173481)) AND (("cash_track"."id" not in (8337571)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-19 16:14:35 Duration: 882ms
18 50ms 376ms 71ms 41,036 48m44s select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 19 08 68 4s181ms 61ms 09 736 51s148ms 69ms 10 3,645 4m18s 70ms 11 5,630 7m3s 75ms 12 6,008 7m10s 71ms 13 7,875 9m39s 73ms 14 6,610 7m46s 70ms 15 5,617 6m18s 67ms 16 4,742 5m25s 68ms 17 76 5s158ms 67ms 18 14 1s74ms 76ms 19 8 622ms 77ms 20 7 466ms 66ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5455937) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-19 13:23:58 Duration: 376ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5491020) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:45:25 Duration: 368ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5464850) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:46:48 Duration: 366ms
19 46ms 316ms 65ms 22,717 24m37s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 19 09 375 23s287ms 62ms 10 1,709 1m51s 65ms 11 4,353 5m8s 70ms 12 4,902 5m20s 65ms 13 2,919 3m12s 65ms 14 3,329 3m29s 63ms 15 2,688 2m42s 60ms 16 2,442 2m28s 60ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 4804215) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:34:28 Duration: 316ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5012981) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:34:28 Duration: 313ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 4704864) ORDER BY "collection_policy"."id";
Date: 2025-02-19 11:34:28 Duration: 290ms
20 41ms 389ms 57ms 169,590 2h43m39s select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 19 00 5,798 4m56s 51ms 01 3,673 3m7s 51ms 02 3,673 3m6s 50ms 03 4,376 3m42s 50ms 04 3,010 2m31s 50ms 05 2,486 2m7s 51ms 06 2,411 2m1s 50ms 07 1,775 1m29s 50ms 08 2,561 2m9s 50ms 09 6,624 6m 54ms 10 12,824 12m50s 60ms 11 15,645 17m18s 66ms 12 15,711 15m40s 59ms 13 14,281 14m47s 62ms 14 12,880 12m30s 58ms 15 9,791 9m5s 55ms 16 9,816 9m12s 56ms 17 7,241 6m41s 55ms 18 7,440 7m34s 61ms 19 8,412 8m45s 62ms 20 8,149 8m11s 60ms 21 5,482 4m53s 53ms 22 5,531 4m54s 53ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5519312, 5505593, 5470781)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-19 20:52:24 Duration: 389ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5470395, 5467443, 5466420, 5465686, 5461453)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-19 11:46:18 Duration: 387ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5439904, 5404908)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-19 13:20:39 Duration: 383ms
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 17,948,047 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 4040 FATAL entries
- 290 ERROR entries
- 0 WARNING entries
- 2 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 3,843 Max number of times the same event was reported
- 4,332 Total events found
Rank Times reported Error 1 3,843 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 19 13 1,466 14 2,220 15 3 19 154 - FATAL: password authentication failed for user "postgres"
- FATAL: password authentication failed for user "root"
- FATAL: password authentication failed for user "admin"
Detail: User "postgres" has no password assigned. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-02-19 13:35:36
Detail: Role "root" does not exist. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-02-19 13:39:10
Detail: Role "admin" does not exist. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-02-19 13:42:57
2 262 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 19 00 2 01 3 02 3 03 1 04 3 05 1 06 1 07 5 09 2 10 24 11 34 12 6 13 17 14 10 15 19 16 10 17 10 18 37 19 37 20 24 21 8 22 5 - 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 "policy_number" SET "done" = true, "write_date" = '2025-02-18 23:01:14.436646', "write_uid" = 886 WHERE id IN (44522300)
Date: 2025-02-19 00:04:25
Statement: UPDATE "shipping_policy" SET "destination_office" = 17, "last_car" = 14, "last_office_warehouse" = NULL, "last_warehouse" = 115, "new_destination_button" = true, "to_office" = 17, "write_date" = '2025-02-18 23:18:31.502033', "write_uid" = 1010 WHERE id IN (5515519, 5515517, 5515512, 5515504, 5515483, 5515470, 5515431, 5515420, 5515418, 5515412, 5515393, 5515344, 5515337, 5515239, 5483794)
Date: 2025-02-19 00:20:31
Statement: update shipping_policy set count_search=2 where id=5498027
Date: 2025-02-19 01:02:54
3 153 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #3
Day Hour Count Feb 19 17 153 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-02-19 17:20:01
Statement: SELECT COUNT(*) FROM (SELECT 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 ("policy_number"."done" IS NULL or "policy_number"."done" = false )) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false )) AND (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 12, 23)))))) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t
Date: 2025-02-19 17:20:01
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4866465)) AND (("shipping_track"."id" not in (40276052, 40276358, 40276549, 40293750, 40293824, 40360309, 40360555, 40363796, 40633708, 40633715, 40642133, 40642194, 40685634, 40711383, 40711407, 40711422, 40739481, 40776001, 40947314, 40947330, 40947331, 41148115, 41317805, 41317879, 41317923, 45540301, 45540427, 45620283, 45620993, 45813396, 45969749, 45969749)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-02-19 17:20:01
4 10 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #4
Day Hour Count Feb 19 17 10 5 7 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #5
Day Hour Count Feb 19 00 2 11 2 12 1 16 1 19 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 48694 waits for ShareLock on transaction 9546249; blocked by process 21787. Process 21787 waits for ShareLock on transaction 9546253; blocked by process 48694. Process 48694: UPDATE "shipping_policy" SET "before_office_id" = 17, "write_date" = '2025-02-18 23:17:20.629326', "write_uid" = 1010 WHERE id IN (5506060, 5505384, 5505274, 5504428, 5503548, 5502126, 5501987, 5501962, 5501934, 5498667, 5498432, 5498269, 5497347, 5497241, 5496745, 5496558, 5496083, 5495536, 5495528, 5495525, 5494803, 5494795, 5494728, 5494500, 5494441, 5493901, 5493819, 5493801, 5493390, 5493128, 5493084, 5493082, 5493041, 5490797, 5490740, 5490660, 5490599, 5490558, 5490544, 5490541, 5490216, 5489658, 5489594, 5489568, 5489559, 5489551, 5483882, 5483866, 5483839, 5483802, 5472852, 5470158, 5470121, 5468402, 5465162, 5457734, 5457633, 5457621, 5457619, 5457596, 5457297, 5457076, 5455988, 5449301, 5326738) Process 21787: update shipping_policy set count_search=2 where id=5515418
Context: while updating tuple (60816,38) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "before_office_id" = 17, "write_date" = '2025-02-18 23:17:20.629326', "write_uid" = 1010 WHERE id IN (5506060, 5505384, 5505274, 5504428, 5503548, 5502126, 5501987, 5501962, 5501934, 5498667, 5498432, 5498269, 5497347, 5497241, 5496745, 5496558, 5496083, 5495536, 5495528, 5495525, 5494803, 5494795, 5494728, 5494500, 5494441, 5493901, 5493819, 5493801, 5493390, 5493128, 5493084, 5493082, 5493041, 5490797, 5490740, 5490660, 5490599, 5490558, 5490544, 5490541, 5490216, 5489658, 5489594, 5489568, 5489559, 5489551, 5483882, 5483866, 5483839, 5483802, 5472852, 5470158, 5470121, 5468402, 5465162, 5457734, 5457633, 5457621, 5457619, 5457596, 5457297, 5457076, 5455988, 5449301, 5326738)Date: 2025-02-19 00:17:21
Detail: Process 21787 waits for ShareLock on transaction 9546254; blocked by process 48694. Process 48694 waits for ShareLock on transaction 9546249; blocked by process 21787. Process 21787: update shipping_policy set count_search=6 where id=5498703 Process 48694: UPDATE "shipping_policy" SET "before_office_id" = 70, "write_date" = '2025-02-18 23:17:22.764070', "write_uid" = 1010 WHERE id IN (5515519, 5515517, 5515512, 5515504, 5515483, 5515470, 5515431, 5515420, 5515418, 5515412, 5515393, 5515344, 5515337, 5515239, 5508956, 5498703)
Context: while updating tuple (49411,22) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=6 where id=5498703Date: 2025-02-19 00:17:47
Detail: Process 4310 waits for ShareLock on transaction 9561958; blocked by process 4511. Process 4511 waits for ShareLock on transaction 9561986; blocked by process 4310. Process 4310: UPDATE "shipping_policy" SET "write_date" = '2025-02-19 10:09:39.553404', "write_uid" = 1067 WHERE id IN (5514034, 5445778) Process 4511: update shipping_policy set count_search=2 where id=5499892
Context: while updating tuple (60009,47) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "write_date" = '2025-02-19 10:09:39.553404', "write_uid" = 1067 WHERE id IN (5514034, 5445778)Date: 2025-02-19 11:09:40
6 7 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #6
Day Hour Count Feb 19 10 3 11 1 12 1 15 2 - ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_car" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (5523853, null, 825, 825, null, نايس, null, null, t, 2025-02-19 09:03:26.176862, 2025-02-19 09:03:26.176862, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-19 09:03:26.176862', 825, 'نايس', '2025-02-19 09:03:26.176862', 825) RETURNING "id"Date: 2025-02-19 10:03:26
Detail: Failing row contains (950, null, null, 1092, 1092, 969, null, null, 2025-02-19 09:23:32.002786, 2025-02-19 09:23:32.002786).
Statement: INSERT INTO "urgent_car" ("car_no", "create_date", "create_uid", "write_date", "write_uid") VALUES ('969', '2025-02-19 09:23:32.002786', 1092, '2025-02-19 09:23:32.002786', 1092) RETURNING "id"Date: 2025-02-19 10:23:32
Detail: Failing row contains (5523874, null, 825, 825, null, قاسم, null, null, t, 2025-02-19 09:47:25.048229, 2025-02-19 09:47:25.048229, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-19 09:47:25.048229', 825, 'قاسم', '2025-02-19 09:47:25.048229', 825) RETURNING "id"Date: 2025-02-19 10:47:25
7 7 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Feb 19 00 4 05 1 22 2 - ERROR: syntax error at or near ")" at character 162
- ERROR: syntax error at or near ")" at character 203
- 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 ('535137',)
Date: 2025-02-19 00:00:15
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 ('572504 85497 586235 379687 572451 313819 290500',)
Date: 2025-02-19 05:20:56
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 ('393324',)
Date: 2025-02-19 22:13:36
8 6 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #8
Day Hour Count Feb 19 00 1 02 1 11 2 20 1 22 1 9 6 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #9
Day Hour Count Feb 19 00 1 02 1 11 2 20 1 22 1 10 6 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #10
Day Hour Count Feb 19 00 1 02 1 11 2 20 1 22 1 11 6 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #11
Day Hour Count Feb 19 17 6 12 4 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #12
Day Hour Count Feb 19 10 1 11 1 16 1 20 1 13 4 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #13
Day Hour Count Feb 19 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-02-19 17:20:01
14 3 ERROR: bigint out of range
Times Reported Most Frequent Error / Event #14
Day Hour Count Feb 19 00 3 - ERROR: bigint out of range
- ERROR: bigint out of range
- ERROR: bigint out of range
Statement: SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) ORDER BY "shipping_policy"."id" DESC LIMIT 99999999999999996863366107917975552
Date: 2025-02-19 00:28:27
Statement: 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"."pol_name" = '0000000000')) ORDER BY "shipping_policy"."id" DESC LIMIT 99999999999999996863366107917975552
Date: 2025-02-19 00:28:38
Statement: 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"."pol_name" = '0000000000') OR ("shipping_policy"."pol_name" = '121'))) ORDER BY "shipping_policy"."id" DESC LIMIT 99999999999999996863366107917975552
Date: 2025-02-19 00:28:41
15 2 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #15
Day Hour Count Feb 19 09 1 15 1 - ERROR: duplicate key value violates unique constraint "ir_filters_name_model_uid_unique_action_index"
- ERROR: duplicate key value violates unique constraint "res_country_state_name_code_uniq"
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(shipping.policy, -1, -1, امانى55) already exists.
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2025-02-19 08:13:19.396708', 1078, '[(''state'', ''!='', ''cancel''), (''id'', ''in'', [98766, 248265, 554929, 52650, 440018, 881727, 919115, 817134, 5456839, 112528, 817071, 403229, 164532, 812819, 661568, 673633, 176898, 131805, 131841, 821625, 977829, 692947, 765049, 460385, 623331, 425456, 400109, 64594, 231494, 1005380, 821763])]', 'shipping.policy', 'امانى55', '[]', '2025-02-19 08:13:19.396708', 1078) RETURNING "id"Date: 2025-02-19 09:13:19
Detail: Key (country_id, code)=(65, 4444444444447) already exists.
Statement: INSERT INTO "res_country_state" ("code", "country_id", "create_date", "create_uid", "name", "write_date", "write_uid") VALUES ('4444444444447', 65, '2025-02-19 14:14:37.064707', 866, 'مدينة نصر', '2025-02-19 14:14:37.064707', 866) RETURNING "id"Date: 2025-02-19 15:14:37
16 2 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #16
Day Hour Count Feb 19 14 1 20 1 - ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (175537)
Date: 2025-02-19 14:34:16
Statement: DELETE FROM "delegate_track" WHERE id IN (175596)
Date: 2025-02-19 20:03:34
17 1 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #17
Day Hour Count Feb 19 11 1 18 1 FATAL: unsupported frontend protocol 16.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #18
Day Hour Count Feb 19 00 1 19 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #19
Day Hour Count Feb 19 17 1 20 1 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #20
Day Hour Count Feb 19 17 1 - LOG: could not send data to client: Broken pipe
Statement: SELECT COUNT(*) FROM (SELECT 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 ("policy_number"."done" IS NULL or "policy_number"."done" = false )) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false )) AND (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 12, 23)))))) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) LIMIT 10001) t
Date: 2025-02-19 17:20:01