-
Global information
- Generated on Sun Dec 1 23:47:22 2024
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 41,101,053 log entries in 2m21s
- Log start from 2024-12-01 00:00:00 to 2024-12-01 22:45:01
-
Overview
Global Stats
- 20,831 Number of unique normalized queries
- 17,493,977 Number of queries
- 2d15h47m9s Total query duration
- 2024-12-01 00:00:00 First query
- 2024-12-01 22:45:01 Last query
- 2,372 queries/s at 2024-12-01 17:21:54 Query peak
- 2d15h47m9s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 2d15h47m9s Execute total duration
- 352 Number of events
- 16 Number of unique normalized events
- 148 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,493,977 Average queries per session
- 2d15h47m9s 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,372 queries/s Query Peak
- 2024-12-01 17:21:54 Date
SELECT Traffic
Key values
- 1,404 queries/s Query Peak
- 2024-12-01 17:21:54 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,533 queries/s Query Peak
- 2024-12-01 09:25:15 Date
Queries duration
Key values
- 2d15h47m9s 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) Dec 01 00 274,443 0ms 3s382ms 18ms 2m40s 3m14s 3m40s 01 265,299 0ms 4s11ms 21ms 2m44s 3m17s 3m56s 02 217,873 0ms 1s276ms 21ms 2m34s 2m48s 4m8s 03 180,264 0ms 3s340ms 17ms 2m17s 3m16s 4m23s 04 209,338 0ms 1s590ms 23ms 3m13s 3m36s 4m22s 05 295,331 0ms 498ms 24ms 3m21s 3m45s 3m53s 06 281,059 0ms 3s260ms 21ms 2m55s 3m26s 3m46s 07 214,156 0ms 1s91ms 13ms 1m51s 2m10s 2m51s 08 487,808 0ms 4s398ms 8ms 2m6s 2m32s 4m2s 09 1,083,828 0ms 3s481ms 9ms 4m15s 4m40s 5m49s 10 1,435,512 0ms 3s499ms 9ms 5m35s 6m31s 8m19s 11 1,431,397 0ms 4s560ms 10ms 6m9s 7m15s 8m16s 12 1,493,696 0ms 52s673ms 9ms 5m36s 6m10s 6m46s 13 1,447,715 0ms 3m29s 9ms 5m37s 6m30s 8m27s 14 1,453,231 0ms 4s237ms 8ms 5m29s 6m8s 6m37s 15 1,244,462 0ms 3m45s 8ms 4m41s 5m12s 6m35s 16 1,059,514 0ms 3s835ms 9ms 4m8s 4m33s 5m36s 17 1,023,605 0ms 4s527ms 11ms 5m34s 6m52s 7m38s 18 985,678 0ms 47s915ms 17ms 8m4s 10m8s 10m58s 19 897,570 0ms 5m27s 23ms 10m41s 12m28s 16m10s 20 787,329 0ms 2m4s 24ms 10m38s 17m41s 22m8s 21 497,947 0ms 1m2s 24ms 6m49s 7m33s 8m2s 22 226,922 0ms 3s276ms 13ms 2m22s 2m50s 4m15s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 01 00 144,688 0 35ms 2m6s 2m40s 3m39s 01 137,305 0 41ms 2m30s 2m44s 3m34s 02 110,400 0 43ms 2m8s 2m34s 3m12s 03 87,140 0 36ms 1m18s 2m16s 3m31s 04 108,908 0 44ms 2m15s 3m13s 4m9s 05 159,521 0 45ms 2m45s 3m20s 3m46s 06 150,513 0 39ms 2m22s 2m54s 3m40s 07 117,360 0 25ms 1m14s 1m51s 2m11s 08 275,812 0 15ms 1m43s 2m6s 2m43s 09 607,153 0 17ms 3m43s 4m14s 5m4s 10 800,680 0 16ms 4m55s 5m34s 7m6s 11 777,550 0 19ms 5m35s 6m8s 8m9s 12 846,151 0 16ms 5m1s 5m35s 6m21s 13 821,427 0 17ms 4m56s 5m36s 8m7s 14 852,883 0 14ms 4m26s 5m27s 6m32s 15 691,121 0 15ms 4m1s 4m41s 5m11s 16 574,038 0 17ms 3m45s 4m7s 4m33s 17 592,694 0 20ms 4m34s 5m33s 6m51s 18 564,409 0 30ms 5m55s 8m3s 10m8s 19 515,196 0 38ms 8m26s 10m40s 12m59s 20 458,265 0 41ms 9m33s 10m36s 18m36s 21 280,978 0 43ms 5m 6m48s 7m38s 22 120,054 0 25ms 1m35s 2m22s 4m15s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 01 00 24,253 5,002 75 0 0ms 129ms 173ms 279ms 01 25,984 4,924 81 0 0ms 147ms 196ms 263ms 02 20,850 4,326 85 0 0ms 113ms 170ms 219ms 03 15,499 3,078 84 0 0ms 76ms 122ms 237ms 04 21,154 4,712 90 0 0ms 122ms 185ms 275ms 05 32,883 7,475 151 0 0ms 190ms 226ms 298ms 06 26,971 5,476 226 0 0ms 154ms 204ms 263ms 07 14,813 3,549 295 0 0ms 89ms 118ms 175ms 08 21,762 5,945 380 0 0ms 120ms 139ms 312ms 09 53,536 13,411 630 0 0ms 297ms 355ms 414ms 10 74,386 15,656 914 0 0ms 371ms 465ms 559ms 11 83,185 17,068 770 0 0ms 413ms 482ms 576ms 12 79,758 16,244 971 1 0ms 388ms 504ms 579ms 13 71,012 16,763 834 0 0ms 379ms 440ms 678ms 14 66,865 17,623 934 13 0ms 315ms 398ms 558ms 15 63,235 15,218 577 0 2ms 346ms 532ms 36s490ms 16 52,471 13,154 475 0 0ms 257ms 346ms 459ms 17 61,870 15,821 740 0 0ms 394ms 622ms 913ms 18 85,539 19,887 632 3 0ms 468ms 639ms 1s215ms 19 74,003 21,811 727 0 7ms 439ms 675ms 37s384ms 20 70,265 20,378 316 0 0ms 403ms 606ms 1s15ms 21 57,601 8,115 169 0 1ms 311ms 383ms 639ms 22 17,292 3,469 171 0 0ms 104ms 158ms 354ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Dec 01 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 Dec 01 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 Dec 01 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
- 392,049 buffers Checkpoint Peak
- 2024-12-01 13:16:19 Date
- 270.064 seconds Highest write time
- 0.308 seconds Sync time
Checkpoints Wal files
Key values
- 170 files Wal files usage Peak
- 2024-12-01 15:11:19 Date
Checkpoints distance
Key values
- 5,442.71 Mo Distance Peak
- 2024-12-01 15:11:19 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Dec 01 00 89,933 3,239.511s 0.029s 3,239.583s 01 121,188 3,239.612s 0.036s 3,239.688s 02 114,344 3,117.54s 0.029s 3,117.614s 03 99,084 3,173.466s 0.027s 3,173.531s 04 117,133 3,239.582s 0.033s 3,239.661s 05 179,542 3,239.546s 0.033s 3,239.627s 06 207,536 3,239.547s 0.034s 3,239.637s 07 147,546 3,239.648s 0.029s 3,239.72s 08 174,247 3,239.531s 0.034s 3,239.613s 09 404,848 3,239.557s 0.043s 3,239.678s 10 520,855 3,239.537s 0.051s 3,239.668s 11 580,772 3,239.47s 0.062s 3,239.624s 12 575,945 3,239.503s 0.065s 3,239.653s 13 958,910 3,239.142s 0.232s 3,239.663s 14 496,367 3,239.451s 0.047s 3,239.613s 15 729,825 3,238.187s 0.565s 3,239.585s 16 324,942 3,239.439s 0.048s 3,239.649s 17 314,227 2,892.783s 0.132s 2,892.974s 18 422,792 3,239.557s 0.057s 3,239.689s 19 400,980 3,239.52s 0.067s 3,239.649s 20 323,108 3,239.468s 0.053s 3,239.584s 21 300,260 3,239.563s 0.051s 3,239.675s 22 74,342 2,429.735s 0.022s 2,429.79s Day Hour Added Removed Recycled Synced files Longest sync Average sync Dec 01 00 0 0 40 2,732 0.002s 0.012s 01 0 0 54 2,779 0.002s 0.012s 02 0 0 50 2,659 0.002s 0.012s 03 0 0 42 2,539 0.002s 0.012s 04 0 0 54 2,642 0.002s 0.012s 05 0 0 77 2,837 0.002s 0.012s 06 0 0 87 3,659 0.002s 0.012s 07 0 0 63 3,058 0.002s 0.012s 08 0 0 71 3,805 0.002s 0.012s 09 0 0 174 4,646 0.002s 0.012s 10 0 0 225 4,827 0.002s 0.012s 11 0 0 254 4,979 0.002s 0.012s 12 0 0 256 5,133 0.002s 0.012s 13 0 26 382 5,050 0.165s 0.012s 14 0 45 166 5,181 0.002s 0.012s 15 0 84 492 5,451 0.263s 0.012s 16 0 112 23 5,524 0.002s 0.012s 17 0 0 128 5,314 0.035s 0.012s 18 0 0 183 5,409 0.003s 0.012s 19 0 0 142 5,245 0.002s 0.012s 20 0 0 140 5,069 0.002s 0.012s 21 0 0 133 4,538 0.002s 0.012s 22 0 0 32 3,110 0.002s 0.009s Day Hour Count Avg time (sec) Dec 01 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 Dec 01 00 54,748.75 kB 71,969.83 kB 01 72,762.33 kB 104,873.17 kB 02 68,337.58 kB 91,158.25 kB 03 57,915.08 kB 97,832.17 kB 04 72,991.67 kB 97,247.00 kB 05 105,043.58 kB 134,022.33 kB 06 119,547.42 kB 144,965.83 kB 07 85,235.92 kB 140,699.08 kB 08 97,387.92 kB 123,902.92 kB 09 239,790.91 kB 264,047.00 kB 10 300,044.09 kB 340,315.09 kB 11 347,480.83 kB 392,161.33 kB 12 349,320.42 kB 393,504.83 kB 13 582,767.91 kB 1,534,523.09 kB 14 287,705.36 kB 849,477.64 kB 15 786,635.25 kB 1,872,902.00 kB 16 182,735.27 kB 808,605.82 kB 17 176,992.73 kB 338,543.18 kB 18 256,239.00 kB 308,140.27 kB 19 193,001.00 kB 250,049.25 kB 20 190,570.45 kB 225,725.18 kB 21 181,472.25 kB 275,653.33 kB 22 57,264.89 kB 165,880.56 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 Dec 01 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 Dec 01 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 9,794,246 Total read queries
- 5,208,718 Total write queries
Queries by database
Key values
- unknown Main database
- 17,493,977 Requests
- 2d15h47m9s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 17,493,977 Requests
User Request type Count Duration unknown Total 17,493,977 2d15h47m9s copy from 17 13ms cte 13,623 2s982ms ddl 102 11ms delete 10,327 1s686ms insert 1,115,187 5m19s others 2,491,013 2m20s select 9,794,246 2d15h17m18s tcl 3,810,357 2m32s update 259,105 19m34s Duration by user
Key values
- 2d15h47m9s (unknown) Main time consuming user
User Request type Count Duration unknown Total 17,493,977 2d15h47m9s copy from 17 13ms cte 13,623 2s982ms ddl 102 11ms delete 10,327 1s686ms insert 1,115,187 5m19s others 2,491,013 2m20s select 9,794,246 2d15h17m18s tcl 3,810,357 2m32s update 259,105 19m34s Queries by host
Key values
- unknown Main host
- 17,493,977 Requests
- 2d15h47m9s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 17,493,977 Requests
- 2d15h47m9s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-12-01 21:16:31 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 16,210,507 0-1ms duration
Slowest individual queries
Rank Duration Query 1 5m27s UPDATE "policy_number" SET "done" = true, "write_date" = '2024-12-01 18:00:26.798559', "write_uid" = 868 WHERE id IN (41284409);[ Date: 2024-12-01 19:05:55 ]
2 4m21s UPDATE "policy_number" SET "done" = true, "write_date" = '2024-12-01 17:56:42.731026', "write_uid" = 868 WHERE id IN (41284409);[ Date: 2024-12-01 19:01:05 ]
3 3m45s 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") LEFT JOIN "shipping_policy" AS "cash_policy__sp_id" ON ("cash_policy"."sp_id" = "cash_policy__sp_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 (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) ORDER BY "cash_policy__sp_id"."id" DESC LIMIT 200;[ Date: 2024-12-01 15:02:42 ]
4 3m29s 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") LEFT JOIN "shipping_policy" AS "cash_policy__sp_id" ON ("cash_policy"."sp_id" = "cash_policy__sp_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 (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 128, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) AND (("cash_policy"."state" not in ('draft', 'confirm_payment')) OR "cash_policy"."state" IS NULL)) ORDER BY "cash_policy__sp_id"."id" DESC LIMIT 200;[ Date: 2024-12-01 13:40:09 ]
5 2m4s SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "delegate_id_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."total_shipping_price") AS "total_shipping_price", sum("shipping_policy"."collection_amount_sender") AS "collection_amount_sender", sum("shipping_policy"."collection_amount_receive") AS "collection_amount_receive", sum("shipping_policy"."total_amount_cash_lines") AS "total_amount_cash_lines", "shipping_policy"."delegate_id" as "delegate_id" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%9178103%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" 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 (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) GROUP BY "shipping_policy"."delegate_id" ORDER BY "collection_amount_sender" ASC, "total_shipping_price" ASC LIMIT 80;[ Date: 2024-12-01 20:43:30 ]
6 1m2s UPDATE "policy_number" SET "done" = true, "write_date" = '2024-12-01 20:16:45.039550', "write_uid" = 1086 WHERE id IN (41119375);[ Date: 2024-12-01 21:17:49 ]
7 52s673ms update shipping_policy set d_date = '2024-12-01' where id = 3051942;[ Date: 2024-12-01 12:14:38 ]
8 47s915ms UPDATE "shipping_policy" SET "review_date" = '2024-12-01', "review_state" = 'reviewed', "write_date" = '2024-12-01 17:26:14.649278', "write_uid" = 1076 WHERE id IN (3060059, 3060055, 3060050, 3060046, 3060042, 3060038, 3060034, 3060029, 3060022, 3060017, 3060010, 3060001, 3059994, 3059980, 3059974, 3059967, 3059961, 3059955, 3059949, 3059942, 3059936, 3059923, 3059916, 3057353, 3057352, 3057351, 3057350, 3057349, 3057348, 3057347, 3057346, 3057344, 3057343, 3057342, 3057341, 3057340, 3057339, 3057338, 3057337, 3057336, 3057335, 3053795, 3053794, 3053793, 3053792, 3053791, 3053790, 3053789, 3053787, 3053784, 3053781, 3053779, 3053778, 3053777, 3053776, 3053775, 3053774, 3053773, 3053772, 3053771, 3053770, 3053769, 3053768, 3053767, 3053766, 3053765, 3053763, 3053760, 3053757, 3053754, 3053751, 3053749, 3053745, 3053740, 3053735, 3053731, 3053729, 3053726, 3053724, 3053721, 3053718, 3053716, 3053713, 3053710, 3053707, 3053704, 3053701, 3053699, 3053696, 3053694, 3053691, 3053688, 3053685, 3053683, 3053679, 3053675, 3053670, 3053666, 3053664, 3053661, 3049934, 3049930, 3049927, 3049923, 3049918, 3049911, 3049909, 3049907, 3049905, 3049902, 3049896, 3049893, 3049889, 3049886, 3049884, 3049881, 3049878, 3049875, 3049870, 3049866, 3049861, 3049856, 3049850, 3049844, 3049839, 3049835, 3049829, 3049825, 3049822, 3049819, 3049816, 3049813, 3049809, 3049804, 3049797, 3049792, 3049787, 3049781, 3049776, 3049771, 3049766, 3049760, 3049753, 3049747, 3049741, 3049735, 3049728, 3049717, 3049712, 3049705, 3049698, 3049692, 3049680, 3049674, 3049668, 3049661, 3049655, 3049649, 3049642, 3049635, 3040792, 3040790, 3040788, 3040786, 3040784, 3040782, 3040780, 3040778, 3040776, 3040774, 3040772, 3040770, 3040768, 3040766, 3040764, 3040762, 3040760, 3040759, 3040757, 3040755, 3040753, 3040749, 3040747, 3040745, 3040743, 3040741, 3040739, 3040737, 3040735, 3040733, 3040731, 3040730, 3040728, 3040726, 3040723, 3040721, 3040719, 3040717, 3040715, 3040713, 3040712, 3040709, 3040707, 3040705, 3040699, 3040697, 3040692, 3040689, 3040686, 3040684, 3040681, 3040678, 3040669, 3040665, 3040661, 3040659, 3040657, 3040655, 3040653, 3040651, 3036349, 3036076, 3035708, 3035676, 3035659, 3035232, 3035231, 3035094, 3034311, 3034289, 3034271, 3024193);[ Date: 2024-12-01 18:28:34 ]
9 38s41ms update cash_policy set active = '0' where from_office in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 12) and create_date_policy >= '2000-01-01' and create_date_policy <= '2024-08-31';[ Date: 2024-12-01 15:12:41 ]
10 37s125ms UPDATE "policy_number" SET "delegate_id" = 8004826, "write_date" = '2024-12-01T18:15:32.640169'::timestamp, "write_uid" = 868 WHERE id IN (41410142, 41410143, 41410144, 41410145, 41410146, 41410147, 41410148, 41410149, 41410150, 41410151, 41410152, 41410153, 41410154, 41410155, 41410156, 41410157, 41410158, 41410159, 41410160, 41410161, 41410162, 41410163, 41410164, 41410165, 41410166, 41410167, 41410168, 41410169, 41410170, 41410171, 41410172, 41410173, 41410174, 41410175, 41410176, 41410177, 41410178, 41410179, 41410180, 41410181, 41410182, 41410183, 41410184, 41410185, 41410186, 41410187, 41410188, 41410189, 41410190, 41410191);[ Date: 2024-12-01 19:16:09 ]
11 36s334ms update cash_policy set active = '0' where from_office in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 12) and create_date_policy >= '2020-01-01' and create_date_policy <= '2024-08-31';[ Date: 2024-12-01 15:07:37 ]
12 35s519ms update cash_policy set active = '0' where from_office in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 12) and create_date_policy >= '2020-01-01' and create_date_policy <= '2024-08-31';[ Date: 2024-12-01 15:06:26 ]
13 32s454ms update cash_policy set active = '0' where from_office in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 12) and create_date_policy >= '2020-01-01' and create_date_policy <= '2024-08-31';[ Date: 2024-12-01 15:06:59 ]
14 21s134ms UPDATE "policy_number" SET "done" = true, "write_date" = '2024-12-01 19:25:06.413647', "write_uid" = 1086 WHERE id IN (41067120);[ Date: 2024-12-01 20:25:28 ]
15 16s252ms UPDATE "policy_number" SET "done" = true, "write_date" = '2024-12-01 18:56:40.948317', "write_uid" = 1064 WHERE id IN (41192262);[ Date: 2024-12-01 19:56:59 ]
16 10s880ms SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__from_office" ON ("shipping_policy"."from_office" = "shipping_policy__from_office"."id") WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."delegate_id" = 8006704) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%9178103%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" 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 (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."total_no_items" ASC, "shipping_policy"."state" ASC, "shipping_policy"."collection_amount_sender" ASC, "shipping_policy__from_office"."new_code" ASC, "shipping_policy"."total_shipping_price" ASC LIMIT 100;[ Date: 2024-12-01 20:43:41 ]
17 10s456ms SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__from_office" ON ("shipping_policy"."from_office" = "shipping_policy__from_office"."id") WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."delegate_id" = 8005191) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%9178103%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" 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 (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."total_no_items" ASC, "shipping_policy"."state" ASC, "shipping_policy"."collection_amount_sender" ASC, "shipping_policy__from_office"."new_code" ASC, "shipping_policy"."total_shipping_price" ASC LIMIT 100;[ Date: 2024-12-01 20:43:41 ]
18 9s987ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '9043994') OR (("policy_number"."name" = '9141406') OR (("policy_number"."name" = '9076075') OR (("policy_number"."name" = '8615319') OR (("policy_number"."name" = '8617756') OR (("policy_number"."name" = '8744832') OR (("policy_number"."name" = '8744833') OR (("policy_number"."name" = '8744834') OR (("policy_number"."name" = '8744835') OR (("policy_number"."name" = '8744836') OR (("policy_number"."name" = '8744837') OR (("policy_number"."name" = '8744838') OR (("policy_number"."name" = '8745801') OR (("policy_number"."name" = '8743748') OR (("policy_number"."name" = '8744946') OR (("policy_number"."name" = '8743658') OR (("policy_number"."name" = '8873994') OR (("policy_number"."name" = '8875433') OR (("policy_number"."name" = '8873466') OR (("policy_number"."name" = '8874003') OR (("policy_number"."name" = '8874370') OR (("policy_number"."name" = '8874879') OR (("policy_number"."name" = '8873090') OR (("policy_number"."name" = '8875698') OR (("policy_number"."name" = '8875398') OR (("policy_number"."name" = '8962423') OR (("policy_number"."name" = '8969270') OR (("policy_number"."name" = '8962417') OR (("policy_number"."name" = '8962415') OR (("policy_number"."name" = '8962416') OR (("policy_number"."name" = '8969647') OR (("policy_number"."name" = '8962753') OR (("policy_number"."name" = '8962466') OR (("policy_number"."name" = '8962544') OR (("policy_number"."name" = '8962912') OR (("policy_number"."name" = '8962459') OR (("policy_number"."name" = '8962546') OR (("policy_number"."name" = '8962672') OR (("policy_number"."name" = '8969821') OR (("policy_number"."name" = '8962606') OR (("policy_number"."name" = '9070435') OR (("policy_number"."name" = '9043148') OR (("policy_number"."name" = '9043619') OR (("policy_number"."name" = '9043299') OR (("policy_number"."name" = '8713391') OR (("policy_number"."name" = '8713397') OR (("policy_number"."name" = '8949738') OR (("policy_number"."name" = '9147219') OR (("policy_number"."name" = '6721001') OR (("policy_number"."name" = '9147199') OR (("policy_number"."name" = '7947300') OR (("policy_number"."name" = '9099320') OR (("policy_number"."name" = '9098847') OR (("policy_number"."name" = '9099883') OR (("policy_number"."name" = '8958546') OR (("policy_number"."name" = '8958543') OR ("policy_number"."name" = '8758626')))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-12-01 19:19:12 ]
19 9s854ms UPDATE "shipping_policy" SET "client_date" = '2024-12-01', "client_delivery_button" = true, "edit_cash_button" = false, "receive_man_id" = 'احمد زكريا', "return_button" = true, "state" = 'client_receive', "write_date" = '2024-12-01 17:33:56.492970', "write_uid" = 932 WHERE id IN (3105518, 3089515, 3075419, 3130118, 3054551);[ Date: 2024-12-01 18:34:12 ]
20 9s278ms SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__from_office" ON ("shipping_policy"."from_office" = "shipping_policy__from_office"."id") WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."delegate_id" = 8005196) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%9178103%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" 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 (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."state" ASC, "shipping_policy"."collection_amount_sender" ASC, "shipping_policy__from_office"."new_code" ASC, "shipping_policy"."total_shipping_price" ASC LIMIT 100;[ Date: 2024-12-01 20:43:39 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1d5h45m58s 281,079 314ms 3s522ms 381ms 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 Dec 01 00 6,782 41m30s 367ms 01 9,049 54m40s 362ms 02 6,940 41m52s 362ms 03 5,574 33m20s 358ms 04 8,632 51m56s 361ms 05 11,899 1h12m2s 363ms 06 11,181 1h7m4s 359ms 07 4,706 28m7s 358ms 08 5,748 34m1s 355ms 09 12,099 1h14m33s 369ms 10 17,133 1h48m16s 379ms 11 20,894 2h14m39s 386ms 12 17,772 1h52m45s 380ms 13 16,319 1h40m43s 370ms 14 13,466 1h22m25s 367ms 15 10,852 1h5m45s 363ms 16 10,002 1h1m23s 368ms 17 12,531 1h19m50s 382ms 18 19,866 2h11m58s 398ms 19 19,767 2h18m28s 420ms 20 17,920 2h7m30s 426ms 21 18,501 2h44s 391ms 22 3,446 22m19s 388ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3163575)) AND (("shipping_track"."id" not in (25801775, 25801775)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:43:29 Duration: 3s522ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3163649)) AND (("shipping_track"."id" not in (25802028, 25802028)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:43:55 Duration: 3s153ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3163590)) AND (("shipping_track"."id" not in (25801829, 25801829)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:43:34 Duration: 2s823ms
2 8h18m20s 140,666 157ms 1s536ms 212ms 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 Dec 01 00 2,075 5m53s 170ms 01 1,594 4m31s 170ms 02 1,853 5m15s 170ms 03 1,302 3m41s 170ms 04 2,479 7m5s 171ms 05 3,587 10m22s 173ms 06 2,382 6m50s 172ms 07 981 2m47s 171ms 08 3,762 10m50s 172ms 09 9,127 27m13s 179ms 10 7,876 24m26s 186ms 11 9,683 30m28s 188ms 12 8,522 26m20s 185ms 13 8,312 25m35s 184ms 14 8,875 27m17s 184ms 15 6,638 19m46s 178ms 16 5,594 16m31s 177ms 17 7,562 27m31s 218ms 18 10,414 42m37s 245ms 19 16,366 1h11m25s 261ms 20 21,017 1h39m12s 283ms 21 524 2m2s 234ms 22 141 30s572ms 216ms -
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" = '9059327')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-01 20:44:45 Duration: 1s536ms
-
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" = '9059332')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-01 20:44:24 Duration: 1s509ms
-
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" = '8952524')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-01 20:43:48 Duration: 1s315ms
3 5h7m51s 48,057 313ms 2s798ms 384ms 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 Dec 01 00 140 56s302ms 402ms 01 236 1m31s 387ms 02 155 1m1s 399ms 03 149 58s358ms 391ms 04 259 1m38s 381ms 05 530 3m17s 373ms 06 871 5m17s 364ms 07 1,247 7m28s 359ms 08 1,412 8m34s 364ms 09 2,849 18m1s 379ms 10 4,113 26m32s 387ms 11 4,252 28m15s 398ms 12 4,586 29m53s 391ms 13 4,391 27m44s 379ms 14 4,588 28m42s 375ms 15 3,061 18m53s 370ms 16 2,433 14m52s 366ms 17 3,379 21m11s 376ms 18 3,264 21m31s 395ms 19 3,036 20m38s 407ms 20 1,795 12m25s 415ms 21 819 5m23s 395ms 22 492 2m59s 365ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3105136, 3105078, 3105077, 3105076, 3105075, 3105074, 3105073, 3105072, 3105071, 3105069, 3105067, 3105065, 3105063, 3105061, 3105058, 3105056, 3105054, 3105052, 3105050, 3105048, 3105046, 3105044, 3105042, 3105040, 3105038, 3105036, 3105034, 3105032, 3105030, 3105028, 3105026, 3105024, 3105022, 3105020, 3105018, 3105016, 3105014, 3105012, 3105010, 3105008, 3105006, 3105004, 3105002, 3105000, 3104998, 3104996, 3104994, 3104992, 3104990, 3104987, 3104985, 3104984, 3104981, 3104980, 3104977, 3104975, 3102399, 3102398, 3102397, 3102396, 3102395, 3102394, 3102393, 3102392, 3102391, 3102390, 3102389, 3102388, 3102387, 3102386, 3102385, 3102384, 3102383, 3102379, 3102377, 3102374, 3102372, 3102370, 3102368, 3102366, 3102365, 3102364, 3102363, 3102362, 3102361, 3102360, 3102359, 3102358, 3102357, 3102356, 3102355, 3102354, 3102353, 3102351, 3102350, 3102349, 3102348, 3102347, 3102346, 3102345, 3102344, 3102342, 3102341, 3102340, 3102339, 3102338, 3102337, 3102335, 3102334, 3102333, 3102332, 3102331, 3101307)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:43:40 Duration: 2s798ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3144771)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:44:31 Duration: 2s380ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3163688, 3163682, 3163678, 3163672, 3163667, 3163659, 3163653, 3163647, 3163639, 3163632, 3163622, 3163615, 3163604, 3163590, 3163575, 3163568, 3163560, 3163552, 3163545, 3163539, 3163532, 3163524, 3163518, 3163513, 3163505, 3163499, 3163489, 3163481, 3163474, 3163466, 3163459, 3163450, 3163443, 3163435, 3163427, 3163419, 3163409, 3163403, 3163394, 3163387, 3163381, 3163376, 3163369, 3163364, 3163357, 3163351, 3163345, 3163338, 3163333, 3163328)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:44:22 Duration: 1s350ms
4 3h58m27s 60,650 90ms 897ms 235ms 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 #4
Day Hour Count Duration Avg duration Dec 01 00 3,235 11m49s 219ms 01 2,939 10m14s 209ms 02 2,368 7m43s 195ms 03 880 3m8s 213ms 04 1,824 7m42s 253ms 05 3,670 14m36s 238ms 06 1,520 5m58s 235ms 07 840 2m55s 208ms 08 40 9s666ms 241ms 09 142 34s408ms 242ms 10 150 32s768ms 218ms 11 626 2m19s 223ms 12 292 1m8s 233ms 13 998 3m54s 235ms 14 832 3m6s 223ms 15 1,396 5m54s 254ms 16 3,826 15m57s 250ms 17 4,120 16m37s 242ms 18 6,283 24m26s 233ms 19 7,911 30m40s 232ms 20 6,663 28m58s 260ms 21 7,150 27m55s 234ms 22 2,945 12m4s 245ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'محمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-12-01 20:41:31 Duration: 897ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'مصطفي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-12-01 20:41:31 Duration: 897ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-12-01 16:41:02 Duration: 849ms
5 3h8m22s 11,462 249ms 2s91ms 986ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 01 00 475 7m23s 932ms 01 748 11m39s 935ms 02 968 15m6s 936ms 03 297 4m38s 939ms 06 3 2s796ms 932ms 09 54 53s805ms 996ms 10 46 47s414ms 1s30ms 11 17 18s70ms 1s62ms 12 56 58s1ms 1s35ms 13 387 6m44s 1s46ms 14 232 3m52s 1s3ms 15 402 6m39s 994ms 16 471 7m39s 976ms 17 944 15m47s 1s3ms 18 1,469 24m27s 999ms 19 2,184 36m57s 1s15ms 20 1,009 18m11s 1s81ms 21 1,561 24m1s 923ms 22 139 2m11s 948ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9172881')) 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 (30))))))) 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 (30)))))) 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 (30)))))) 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 (30))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-01 20:42:03 Duration: 2s91ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9171208')) 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 (30))))))) 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 (30)))))) 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 (30)))))) 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 (30))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-01 20:43:28 Duration: 2s51ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9172730')) 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 (30))))))) 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 (30)))))) 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 (30)))))) 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 (30))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-01 20:41:45 Duration: 2s11ms
6 2h15m46s 29,483 198ms 588ms 276ms 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" = ?)))) order by "collection_policy"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 01 08 1,056 4m29s 255ms 09 3,285 14m26s 263ms 10 3,692 16m39s 270ms 11 3,894 18m25s 283ms 12 3,016 13m41s 272ms 13 2,665 12m7s 272ms 14 3,243 14m48s 274ms 15 2,843 12m30s 264ms 16 1,948 8m35s 264ms 17 2,011 9m54s 295ms 18 1,830 10m6s 331ms -
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" = '8636783')))) ORDER BY "collection_policy"."id";
Date: 2024-12-01 17:21:56 Duration: 588ms
-
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" = '8954278')))) ORDER BY "collection_policy"."id";
Date: 2024-12-01 18:17:24 Duration: 469ms
-
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" = '8979159')))) ORDER BY "collection_policy"."id";
Date: 2024-12-01 18:17:24 Duration: 467ms
7 1h36m8s 157,493 26ms 204ms 36ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 01 00 3,220 1m47s 33ms 01 3,262 1m48s 33ms 02 2,218 1m14s 33ms 03 1,983 1m6s 33ms 04 1,999 1m7s 33ms 05 3,420 1m55s 33ms 06 2,953 1m39s 33ms 07 1,943 1m6s 34ms 08 3,525 1m59s 34ms 09 8,591 5m2s 35ms 10 13,408 8m2s 36ms 11 14,839 9m 36ms 12 15,298 9m11s 36ms 13 12,731 7m38s 35ms 14 10,292 6m9s 35ms 15 9,229 5m24s 35ms 16 7,331 4m15s 34ms 17 7,947 4m59s 37ms 18 9,991 6m40s 40ms 19 7,774 5m28s 42ms 20 7,589 5m21s 42ms 21 6,264 4m4s 38ms 22 1,686 1m1s 36ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3129481, 3126793, 3126659, 3125973)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-01 19:57:20 Duration: 204ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3163292)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-01 20:43:28 Duration: 157ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3163340)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-01 20:43:28 Duration: 157ms
8 1h33m11s 19,331 203ms 2s20ms 289ms 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 #8
Day Hour Count Duration Avg duration Dec 01 00 1,165 4m53s 252ms 01 730 3m6s 254ms 02 224 57s130ms 255ms 03 147 35s976ms 244ms 04 938 3m49s 244ms 05 1,868 7m44s 248ms 06 774 3m12s 248ms 07 423 1m45s 249ms 08 20 5s101ms 255ms 09 21 5s340ms 254ms 10 29 8s168ms 281ms 11 306 1m23s 273ms 12 92 25s272ms 274ms 13 129 34s936ms 270ms 14 187 52s915ms 282ms 15 322 1m28s 275ms 16 1,480 6m32s 264ms 17 1,151 5m54s 308ms 18 1,703 9m19s 328ms 19 1,805 10m7s 336ms 20 2,366 13m14s 335ms 21 2,077 10m16s 296ms 22 1,374 6m38s 289ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9025892')) 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: 2024-12-01 20:43:29 Duration: 2s20ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8976234')) 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: 2024-12-01 20:45:13 Duration: 1s708ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8976231')) 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: 2024-12-01 20:43:26 Duration: 1s564ms
9 44m 62,229 32ms 190ms 42ms select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) order by "collection_policy"."id";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 01 00 36 1s452ms 40ms 01 20 791ms 39ms 02 1 38ms 38ms 03 13 519ms 39ms 04 16 645ms 40ms 05 33 1s356ms 41ms 06 27 1s108ms 41ms 07 47 1s930ms 41ms 08 1,824 1m12s 39ms 09 6,034 4m6s 40ms 10 7,670 5m23s 42ms 11 5,895 4m10s 42ms 12 6,306 4m26s 42ms 13 8,458 5m57s 42ms 14 5,674 3m59s 42ms 15 6,790 4m40s 41ms 16 3,992 2m44s 41ms 17 4,601 3m21s 43ms 18 3,125 2m28s 47ms 19 874 43s194ms 49ms 20 524 25s537ms 48ms 21 192 8s839ms 46ms 22 77 3s479ms 45ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3129494) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-12-01 20:44:41 Duration: 190ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3130269) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-12-01 19:57:20 Duration: 188ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3129500) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-12-01 20:45:09 Duration: 180ms
10 33m35s 11,781 156ms 227ms 171ms 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 #10
Day Hour Count Duration Avg duration Dec 01 00 1,564 4m25s 169ms 01 1,468 4m10s 170ms 02 1,643 4m39s 169ms 03 1,087 3m4s 170ms 04 1,802 5m7s 170ms 05 2,179 6m14s 172ms 06 1,230 3m31s 172ms 07 747 2m8s 171ms 22 61 13s309ms 218ms -
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" = '9105482')) 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: 2024-12-01 22:45:00 Duration: 227ms
-
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" = '9175117')) 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: 2024-12-01 22:44:48 Duration: 225ms
-
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" = '9105484')) 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: 2024-12-01 22:45:00 Duration: 225ms
11 32m20s 10,602 158ms 433ms 183ms 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 Dec 01 00 110 18s733ms 170ms 03 137 23s508ms 171ms 05 483 1m25s 177ms 06 704 2m1s 172ms 08 1,522 4m22s 172ms 09 1,807 5m20s 177ms 10 563 1m44s 185ms 11 777 2m25s 187ms 12 664 2m2s 184ms 13 1,023 3m10s 185ms 14 988 2m58s 180ms 15 583 1m44s 179ms 16 396 1m10s 178ms 17 86 16s394ms 190ms 18 102 23s829ms 233ms 19 224 49s887ms 222ms 20 315 1m14s 236ms 21 52 12s551ms 241ms 22 66 14s277ms 216ms -
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" = '8914475')) 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 (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) 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: 2024-12-01 20:45:17 Duration: 433ms
-
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" = '9159936')) 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 (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) 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: 2024-12-01 20:45:03 Duration: 429ms
-
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" = '9068978')) 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 (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) 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: 2024-12-01 20:44:58 Duration: 396ms
12 31m21s 22,854 64ms 507ms 82ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 01 03 8 672ms 84ms 04 20 1s716ms 85ms 05 75 6s130ms 81ms 06 183 14s958ms 81ms 07 221 18s196ms 82ms 08 648 51s140ms 78ms 09 2,501 3m18s 79ms 10 2,114 2m56s 83ms 11 1,748 2m28s 84ms 12 2,422 3m24s 84ms 13 1,953 2m44s 84ms 14 3,118 4m17s 82ms 15 2,619 3m30s 80ms 16 1,101 1m28s 80ms 17 1,240 1m43s 83ms 18 1,499 2m4s 82ms 19 714 1m1s 85ms 20 403 31s452ms 78ms 21 158 11s988ms 75ms 22 109 8s190ms 75ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7744490)) AND (("cash_track"."id" not in (5168454, 5168455, 5168455)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-01 20:42:07 Duration: 507ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7738117)) AND (("cash_track"."id" not in (5123645, 5123752, 5162894, 5167377, 5167382, 5167382)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-01 19:57:33 Duration: 268ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7743059)) AND (("cash_track"."id" not in (5157593)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-01 17:22:28 Duration: 237ms
13 21m8s 393 440ms 6s699ms 3s227ms 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 #13
Day Hour Count Duration Avg duration Dec 01 00 56 2m58s 3s188ms 01 8 25s469ms 3s183ms 03 14 44s400ms 3s171ms 06 2 6s465ms 3s232ms 07 5 4s655ms 931ms 08 10 31s874ms 3s187ms 09 5 14s606ms 2s921ms 10 7 21s18ms 3s2ms 11 12 43s569ms 3s630ms 12 22 1m16s 3s497ms 13 19 1m6s 3s509ms 14 34 1m37s 2s866ms 15 34 1m54s 3s366ms 16 52 2m52s 3s322ms 17 20 1m7s 3s355ms 18 9 20s450ms 2s272ms 19 34 1m46s 3s137ms 20 32 1m57s 3s667ms 21 10 32s477ms 3s247ms 22 8 25s373ms 3s171ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))))) 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 (123)))))) 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 (123)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))) 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 (123))))))))) 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 (123)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-01 20:44:46 Duration: 6s699ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11)))))))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-01 20:45:03 Duration: 6s377ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))))) 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 (123)))))) 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 (123)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))) 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 (123))))))))) 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 (123)))))))) AND ("policy_number"."name"::text ilike '%900%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-01 20:44:45 Duration: 5s816ms
14 17m37s 28,022 29ms 81ms 37ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 01 08 826 29s177ms 35ms 09 3,307 2m 36ms 10 3,452 2m8s 37ms 11 3,156 2m1s 38ms 12 2,322 1m27s 37ms 13 4,264 2m41s 37ms 14 2,762 1m45s 38ms 15 3,221 1m59s 37ms 16 1,745 1m4s 36ms 17 1,784 1m9s 38ms 18 1,183 49s669ms 41ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 3026073) ORDER BY "collection_policy"."id";
Date: 2024-12-01 10:58:24 Duration: 81ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2709735) ORDER BY "collection_policy"."id";
Date: 2024-12-01 12:52:06 Duration: 76ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2740114) ORDER BY "collection_policy"."id";
Date: 2024-12-01 10:51:14 Duration: 69ms
15 13m59s 5,968 120ms 874ms 140ms 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 #15
Day Hour Count Duration Avg duration Dec 01 00 6 779ms 129ms 02 5 660ms 132ms 06 20 2s596ms 129ms 08 94 12s341ms 131ms 09 348 47s675ms 136ms 10 798 1m53s 142ms 11 1,209 2m54s 144ms 12 1,181 2m46s 141ms 13 535 1m16s 142ms 14 446 1m2s 139ms 15 540 1m12s 133ms 16 187 25s427ms 135ms 17 288 39s147ms 135ms 18 67 9s637ms 143ms 19 69 10s354ms 150ms 20 70 11s774ms 168ms 21 92 12s7ms 130ms 22 13 1s694ms 130ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 52)) 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: 2024-12-01 20:44:53 Duration: 874ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 52)) 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: 2024-12-01 20:45:08 Duration: 537ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 73)) 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: 2024-12-01 20:47:13 Duration: 285ms
16 13m52s 2,036 285ms 641ms 408ms 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 #16
Day Hour Count Duration Avg duration Dec 01 09 20 8s478ms 423ms 10 364 2m43s 450ms 11 55 23s514ms 427ms 12 42 16s413ms 390ms 13 516 3m46s 438ms 14 340 2m25s 427ms 15 14 5s282ms 377ms 16 332 1m52s 339ms 17 77 25s531ms 331ms 18 66 24s175ms 366ms 19 23 10s567ms 459ms 20 50 21s696ms 433ms 21 137 48s477ms 353ms -
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" = '8875464')) ORDER BY "cash_policy"."id" DESC;
Date: 2024-12-01 10:51:15 Duration: 641ms
-
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" = '8875462')) ORDER BY "cash_policy"."id" DESC;
Date: 2024-12-01 10:51:16 Duration: 639ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '8962178')) ORDER BY "cash_policy"."id" DESC;
Date: 2024-12-01 10:51:20 Duration: 625ms
17 11m35s 30,912 0ms 5m27s 22ms update "policy_number" set "done" = true, "write_date" = ?, "write_uid" = ? where id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 01 00 1,618 349ms 0ms 01 1,469 293ms 0ms 02 1,184 293ms 0ms 03 441 104ms 0ms 04 912 173ms 0ms 05 1,839 363ms 0ms 06 766 140ms 0ms 07 435 86ms 0ms 08 42 10ms 0ms 09 115 32ms 0ms 10 139 42ms 0ms 11 351 92ms 0ms 12 203 61ms 0ms 13 564 144ms 0ms 14 458 122ms 0ms 15 730 181ms 0ms 16 1,940 439ms 0ms 17 2,102 498ms 0ms 18 3,167 807ms 0ms 19 4,000 10m5s 151ms 20 3,345 21s994ms 6ms 21 3,603 1m3s 17ms 22 1,489 305ms 0ms -
UPDATE "policy_number" SET "done" = true, "write_date" = '2024-12-01 18:00:26.798559', "write_uid" = 868 WHERE id IN (41284409);
Date: 2024-12-01 19:05:55 Duration: 5m27s
-
UPDATE "policy_number" SET "done" = true, "write_date" = '2024-12-01 17:56:42.731026', "write_uid" = 868 WHERE id IN (41284409);
Date: 2024-12-01 19:01:05 Duration: 4m21s
-
UPDATE "policy_number" SET "done" = true, "write_date" = '2024-12-01 20:16:45.039550', "write_uid" = 1086 WHERE id IN (41119375);
Date: 2024-12-01 21:17:49 Duration: 1m2s
18 10m47s 2,405 207ms 339ms 269ms 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 ((((("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 "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 01 09 548 2m23s 262ms 10 180 49s205ms 273ms 11 232 1m4s 277ms 12 177 48s222ms 272ms 13 774 3m28s 269ms 14 375 1m40s 269ms 15 119 31s939ms 268ms -
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" = '8965550') 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, 95, 128, 83, 112)))) 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, 95, 128, 83, 112))))) 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, 95, 128, 83, 112))))) 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 "collection_policy"."id";
Date: 2024-12-01 11:03:52 Duration: 339ms
-
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" = '8962502') 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, 95, 128, 83, 112)))) 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, 95, 128, 83, 112))))) 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, 95, 128, 83, 112))))) 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 "collection_policy"."id";
Date: 2024-12-01 11:03:52 Duration: 335ms
-
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" = '8736792') 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, 95, 128, 83, 112)))) 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, 95, 128, 83, 112))))) 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, 95, 128, 83, 112))))) 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 "collection_policy"."id";
Date: 2024-12-01 14:26:34 Duration: 334ms
19 10m26s 3,451 161ms 240ms 181ms 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 #19
Day Hour Count Duration Avg duration Dec 01 05 598 1m44s 175ms 06 157 27s764ms 176ms 07 234 39s625ms 169ms 08 29 4s977ms 171ms 09 549 1m38s 179ms 10 218 41s113ms 188ms 11 205 38s987ms 190ms 12 180 33s614ms 186ms 13 739 2m16s 184ms 14 409 1m16s 185ms 15 119 21s551ms 181ms 22 14 3s29ms 216ms -
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" = '8935160')) 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, 95, 128, 83, 112)))) 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, 95, 128, 83, 112))))) 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, 95, 128, 83, 112))))) 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: 2024-12-01 13:08:24 Duration: 240ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '8713055')) 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, 95, 128, 83, 112)))) 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, 95, 128, 83, 112))))) 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, 95, 128, 83, 112))))) 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: 2024-12-01 14:26:34 Duration: 239ms
-
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" = '8998207')) 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, 95, 128, 83, 112)))) 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, 95, 128, 83, 112))))) 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, 95, 128, 83, 112))))) 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: 2024-12-01 11:20:28 Duration: 227ms
20 9m50s 2,712 15ms 789ms 217ms 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 #20
Day Hour Count Duration Avg duration Dec 01 00 1 329ms 329ms 01 1 397ms 397ms 02 2 754ms 377ms 03 2 798ms 399ms 04 2 863ms 431ms 05 3 915ms 305ms 06 3 792ms 264ms 07 13 2s591ms 199ms 08 49 9s477ms 193ms 09 168 27s581ms 164ms 10 198 34s176ms 172ms 11 268 53s296ms 198ms 12 352 1m17s 220ms 13 332 1m14s 223ms 14 388 1m22s 213ms 15 300 1m4s 214ms 16 193 45s792ms 237ms 17 138 37s77ms 268ms 18 130 30s653ms 235ms 19 79 22s796ms 288ms 20 29 7s365ms 253ms 21 46 12s210ms 265ms 22 15 3s774ms 251ms -
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-12-01 19:57:20 Duration: 789ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-12-01 19:57:42 Duration: 634ms
-
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: 2024-12-01 12:28:53 Duration: 612ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,490,862 2m20s 0ms 1ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 01 00 42,246 2s81ms 0ms 01 40,973 2s36ms 0ms 02 35,261 1s726ms 0ms 03 31,652 1s458ms 0ms 04 31,012 1s586ms 0ms 05 38,324 2s193ms 0ms 06 38,778 2s163ms 0ms 07 30,755 1s578ms 0ms 08 71,861 3s776ms 0ms 09 156,692 9s53ms 0ms 10 207,231 12s418ms 0ms 11 214,532 13s174ms 0ms 12 213,060 12s856ms 0ms 13 210,242 12s713ms 0ms 14 202,292 11s970ms 0ms 15 188,282 11s31ms 0ms 16 169,004 9s669ms 0ms 17 139,503 6s794ms 0ms 18 124,341 6s246ms 0ms 19 112,473 5s960ms 0ms 20 93,667 5s106ms 0ms 21 62,163 3s175ms 0ms 22 36,518 1s635ms 0ms -
DISCARD ALL;
Date: 2024-12-01 12:25:58 Duration: 1ms
-
DISCARD ALL;
Date: 2024-12-01 11:20:41 Duration: 1ms
-
DISCARD ALL;
Date: 2024-12-01 00:10:49 Duration: 1ms
2 1,905,118 28s904ms 0ms 1ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 01 00 28,989 451ms 0ms 01 27,954 443ms 0ms 02 23,464 364ms 0ms 03 21,388 311ms 0ms 04 21,708 344ms 0ms 05 28,476 472ms 0ms 06 29,513 469ms 0ms 07 23,637 348ms 0ms 08 55,880 809ms 0ms 09 126,028 1s907ms 0ms 10 168,172 2s584ms 0ms 11 169,012 2s687ms 0ms 12 168,139 2s592ms 0ms 13 162,879 2s530ms 0ms 14 154,873 2s357ms 0ms 15 142,732 2s143ms 0ms 16 125,037 1s857ms 0ms 17 105,577 1s441ms 0ms 18 94,785 1s375ms 0ms 19 86,281 1s312ms 0ms 20 71,631 1s106ms 0ms 21 44,302 659ms 0ms 22 24,661 332ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-12-01 15:55:01 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-12-01 19:44:46 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-12-01 04:36:00 Duration: 1ms
3 1,258,325 13s343ms 0ms 0ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 01 00 21,481 209ms 0ms 01 20,851 205ms 0ms 02 17,933 171ms 0ms 03 16,094 147ms 0ms 04 15,782 162ms 0ms 05 19,488 212ms 0ms 06 19,707 209ms 0ms 07 15,648 151ms 0ms 08 36,407 359ms 0ms 09 79,032 847ms 0ms 10 104,302 1s153ms 0ms 11 107,887 1s227ms 0ms 12 107,311 1s195ms 0ms 13 106,081 1s185ms 0ms 14 102,099 1s121ms 0ms 15 95,128 1s8ms 0ms 16 85,107 888ms 0ms 17 70,472 711ms 0ms 18 62,955 619ms 0ms 19 57,097 583ms 0ms 20 47,371 494ms 0ms 21 31,546 310ms 0ms 22 18,546 164ms 0ms -
ROLLBACK;
Date: 2024-12-01 12:18:38 Duration: 0ms
-
ROLLBACK;
Date: 2024-12-01 19:58:09 Duration: 0ms
-
ROLLBACK;
Date: 2024-12-01 11:52:05 Duration: 0ms
4 1,247,858 3m41s 0ms 16ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 01 00 20,905 3s685ms 0ms 01 20,259 3s762ms 0ms 02 17,360 3s25ms 0ms 03 15,548 2s490ms 0ms 04 15,232 2s817ms 0ms 05 18,895 3s859ms 0ms 06 19,157 3s728ms 0ms 07 15,181 2s476ms 0ms 08 35,916 5s956ms 0ms 09 78,573 14s366ms 0ms 10 104,194 19s251ms 0ms 11 107,941 20s457ms 0ms 12 107,205 19s616ms 0ms 13 105,624 19s211ms 0ms 14 101,809 17s940ms 0ms 15 94,674 16s48ms 0ms 16 84,941 14s438ms 0ms 17 70,105 11s873ms 0ms 18 62,210 10s641ms 0ms 19 56,151 9s853ms 0ms 20 46,832 8s285ms 0ms 21 30,988 5s147ms 0ms 22 18,158 2s528ms 0ms -
SELECT payload FROM http_sessions WHERE sid = '7f3dcd102011799bd793f75af8b6c2d88f9c51b1';
Date: 2024-12-01 19:51:08 Duration: 16ms
-
SELECT payload FROM http_sessions WHERE sid = '1d0fa5790080e2ab59529baea389de85d76eda48';
Date: 2024-12-01 12:34:28 Duration: 15ms
-
SELECT payload FROM http_sessions WHERE sid = '1242270e6cadcc34bcef16b6057327ebb90197d2';
Date: 2024-12-01 09:17:29 Duration: 13ms
5 1,242,795 1m50s 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 Dec 01 00 21,056 1s805ms 0ms 01 20,415 1s771ms 0ms 02 17,559 1s501ms 0ms 03 15,762 1s267ms 0ms 04 15,447 1s348ms 0ms 05 19,095 1s769ms 0ms 06 19,324 1s750ms 0ms 07 15,305 1s290ms 0ms 08 35,804 3s13ms 0ms 09 78,188 6s991ms 0ms 10 103,439 9s435ms 0ms 11 107,109 9s979ms 0ms 12 106,326 9s626ms 0ms 13 104,938 9s509ms 0ms 14 100,979 8s956ms 0ms 15 93,982 8s163ms 0ms 16 84,373 7s250ms 0ms 17 69,606 6s130ms 0ms 18 62,047 5s534ms 0ms 19 56,118 5s77ms 0ms 20 46,737 4s231ms 0ms 21 30,994 2s665ms 0ms 22 18,192 1s406ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-12-01 10:51:36 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-12-01 09:24:28 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-12-01 14:30:05 Duration: 1ms
6 646,790 1m50s 0ms 747ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 01 00 7,505 1s6ms 0ms 01 7,106 1s163ms 0ms 02 5,529 1s142ms 0ms 03 5,296 823ms 0ms 04 5,924 1s153ms 0ms 05 8,991 1s768ms 0ms 06 9,806 1s859ms 0ms 07 7,988 1s433ms 0ms 08 19,471 2s606ms 0ms 09 46,998 6s523ms 0ms 10 63,865 8s997ms 0ms 11 61,126 9s430ms 0ms 12 60,828 9s222ms 0ms 13 56,800 16s170ms 0ms 14 52,774 8s722ms 0ms 15 47,605 10s417ms 0ms 16 39,931 5s688ms 0ms 17 35,101 5s212ms 0ms 18 31,827 4s925ms 0ms 19 29,178 4s639ms 0ms 20 24,264 3s927ms 0ms 21 12,763 2s403ms 0ms 22 6,114 887ms 0ms -
COMMIT;
Date: 2024-12-01 13:39:51 Duration: 747ms
-
COMMIT;
Date: 2024-12-01 15:02:02 Duration: 709ms
-
COMMIT;
Date: 2024-12-01 13:39:26 Duration: 651ms
7 559,298 1m20s 0ms 4ms 0ms select "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" from "urgent_customer" where "urgent_customer".id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 01 00 7,649 946ms 0ms 01 7,436 1s25ms 0ms 02 5,294 711ms 0ms 03 4,886 705ms 0ms 04 6,104 817ms 0ms 05 8,980 1s341ms 0ms 06 8,389 1s247ms 0ms 07 5,999 776ms 0ms 08 15,429 2s114ms 0ms 09 41,176 6s377ms 0ms 10 56,840 9s253ms 0ms 11 52,952 8s253ms 0ms 12 50,506 7s474ms 0ms 13 45,220 6s595ms 0ms 14 43,172 5s983ms 0ms 15 39,407 5s297ms 0ms 16 35,730 5s101ms 0ms 17 28,848 3s765ms 0ms 18 28,159 3s749ms 0ms 19 26,078 3s550ms 0ms 20 23,262 3s320ms 0ms 21 12,236 1s522ms 0ms 22 5,546 604ms 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 (5101185, 5101380, 5109508, 5224126, 5099403, 5099798, 5139832, 5103909, 5099014, 5099007, 5099009, 5099445, 5098983, 5099585, 5103684, 5101081, 5099909, 5099111, 5100232, 5233524, 5100540, 5099138, 5100274, 5102465, 5100070, 5115998, 5234557, 5146681, 5105508, 5099272, 5099130, 5099651, 5099010, 5099446, 5111435, 5129857, 5099737, 5099248, 5101313, 5099006, 5099002, 5099100, 5099659, 5101328, 5134109, 5102806, 5099263, 5127579, 5098976, 5098972, 5107364, 5099714, 5145867, 5103778, 5153162, 5172460, 5099885, 5136336, 5099001, 5099707, 5164695, 5099144, 5102186, 5168070, 5099724, 5101377, 5099102, 5098985, 5103145, 5108030, 5112605, 5109168, 5099768, 5099804, 5141471, 5099560);
Date: 2024-12-01 17:21:55 Duration: 4ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5134271, 5180244, 5233037, 5220503, 5262286, 5326786, 5220942, 5323671, 5287299, 5198543, 5247982, 5274257, 5312202, 5312203, 5312204, 5268167, 5312205, 5302734, 5312208, 5312207, 5312209, 5312206, 5273910, 5209071, 5135520, 5279592, 5289990, 5156203, 5182312, 5174275, 5290205, 5289246, 5290209, 5290206, 5290185, 5290210, 5290201, 5241674, 5309937, 5309936, 5309935, 5290198, 5290187, 5309934, 5333627, 5290202, 5290191, 5282663, 5270614, 5271859, 5390015, 5159758, 5237684, 5331793, 5323905, 5330922, 5307232, 5144145, 5357099, 5174144, 5296497, 5363363, 5143019, 5250453, 5244428, 5239015, 5335882, 5194358, 5216047, 5196393, 5319000, 5384268, 5176426, 5149540, 5205950, 5194872, 5136246, 5269415, 5159734, 5184194, 5161146, 5244032, 5284034, 5194621, 5296034, 5327304, 5165126, 5291034, 5387275, 5302146, 5401269, 5297547, 5278534, 5151697, 5146755, 5313958, 5221688, 5340432, 5393226, 5280744, 5190271, 5148170, 5186651, 5313957, 5347573, 5298163, 5326231, 5308280, 5370577, 5186630, 5365479, 5308031, 5298116, 5154866, 5310606, 5298115, 5271198, 5315599, 5193698, 5195927, 5324565, 5322598, 5301365, 5329348, 5331603, 5337227, 5150083, 5359273, 5353782, 5348393, 5181059, 5208702, 5170286, 5353781, 5188414, 5162725, 5160882, 5176879, 5315586, 5281444, 5322596, 5166692, 5267960, 5165025, 5337237, 5188877, 5188876, 5175145, 5299242, 5299246, 5283332, 5249015, 5190095, 5391651, 5320297, 5320296, 5365502, 5331616, 5331615, 5308291, 5298089, 5302739, 5308283, 5310598, 5308281, 5299260, 5177337, 5270117, 5298093, 5299266, 5273614, 5173521, 5316702, 5308282, 5177794, 5308284, 5298091, 5308288, 5269803, 5183318, 5202564, 5244424, 5235784, 5230217, 5356813, 5337200, 5308289, 5359321, 5299270, 5140702, 5171422, 5262758, 5247326, 5291188, 5207113, 5257349, 5197063, 5329362, 5144255, 5338842, 5305498, 5302147, 5302162, 5313945, 5149613, 5322604, 5329358, 5302163, 5175196, 5305499, 5313948, 5302160, 5302164, 5245208, 5305496, 5273909, 5302166, 5305500, 5298085, 5322603, 5322606, 5322602, 5322605, 5313941, 5313943, 5302159, 5313947, 5187700, 5313949, 5302155, 5313942, 5302157, 5313944, 5223476, 5329359, 5271562, 5322601, 5302158, 5302161, 5282257, 5294351, 5290003, 5290148, 5294352, 5287072, 5290152, 5220201, 5342493, 5290149, 5146332, 5391782, 5356893, 5350868, 5365636, 5183321, 5329360, 5337196, 5154027, 5252923, 5317493, 5361338, 5258049, 5208278, 5347754, 5352935, 5352934, 5183328, 5153100, 5175884, 5162009, 5192006, 5330913, 5167639, 5156081, 5333712, 5260946, 5290219, 5290218, 5302120, 5168758, 5390242, 5260267, 5243116, 5285249, 5368716, 5291227, 5233384, 5266393, 5280603, 5237610, 5211361, 5164617, 5308350, 5145622, 5197122, 5308277, 5162007, 5229686, 5326240, 5261923, 5229587, 5243985, 5198609, 5303805, 5334278, 5323550, 5361562, 5251555, 5153069, 5286790, 5342482, 5344111, 5298123, 5359025, 5229591, 5298126, 5263108, 5357163, 5310400, 5224791, 5235635, 5175952, 5192643, 5189790, 5160060, 5179910, 5254646, 5251171, 5148658, 5222842, 5152753, 5197626, 5313144, 5147305, 5164694, 5297376, 5308275, 5307725, 5205413, 5230812, 5230283, 5279194, 5263073, 5256349, 5281255, 5345552, 5272512, 5158951, 5231296, 5345643, 5186814, 5213547, 5325133, 5166327, 5243158, 5245536, 5174412, 5247518, 5177264, 5245414, 5234633, 5323071, 5185953, 5151996, 5322215, 5163115, 5227196, 5135517, 5257990, 5219187, 5205228, 5138823, 5194774, 5396903, 5207571, 5249255, 5155512, 5303907, 5167775, 5319053, 5343377, 5200623, 5236958, 5338843, 5278129, 5138986, 5224721, 5152325, 5220786, 5323806, 5204714, 5209158, 5216153, 5290164, 5290163, 5248853, 5248852, 5370268, 5288174, 5300227, 5313950, 5235228, 5244873, 5246741, 5365500, 5365499, 5205809, 5257351, 5181121, 5299292, 5333724, 5295733, 5250744, 5270543, 5153185, 5211509, 5328582, 5328581, 5195019, 5169191, 5355244, 5327687, 5172891, 5344874, 5362220, 5355242, 5211260, 5241095, 5201398, 5321764, 5229830, 5215333, 5186815, 5208752, 5333337, 5384246, 5384245, 5209746, 5236202, 5153011, 5310411, 5294838, 5146575, 5260801, 5152324, 5291221, 5312211, 5316735, 5316734, 5234914, 5350347, 5317477, 5315136, 5299296, 5312213, 5302141, 5302143, 5326225, 5175199, 5290226, 5290171, 5298160, 5290167, 5290180, 5200237, 5298157, 5302137, 5302140, 5290178, 5298159, 5290220, 5302139, 5338825, 5302136, 5315139, 5298100, 5193432, 5302135, 5317479, 5315135, 5320323, 5150340, 5247332, 5315137, 5315138, 5315140, 5320325, 5333159, 5155145, 5312212, 5317480, 5221391, 5320324, 5328579, 5328578, 5326224, 5159414, 5328577, 5333147, 5333161, 5344979, 5273177, 5260694, 5338822, 5298111, 5338814, 5338818, 5338817, 5338808, 5338813, 5168841, 5320319, 5338824, 5140015, 5350348, 5333158, 5338826, 5333715, 5338827, 5363360, 5173087, 5174488, 5338823, 5338820, 5176088, 5174440, 5344981, 5298158, 5162676, 5333160, 5287503, 5192806, 5287541, 5338815, 5338816, 5328576, 5338821, 5338819, 5350346, 5363358, 5359018, 5373997, 5394887, 5396845, 5390692, 5390694, 5335698, 5313959, 5313960, 5228237, 5320304, 5234330, 5331624, 5328575, 5340433, 5365495, 5370572, 5352586, 5350340, 5352585, 5333162, 5333163, 5333148, 5154315, 5333164, 5149054, 5278523, 5136885, 5401957, 5342478, 5313962, 5376785, 5327992, 5233534, 5227218, 5229829, 5289686, 5206315, 5203914, 5363736, 5146093, 5303039, 5287231, 5328871, 5328870, 5241416, 5263361, 5251656, 5195852, 5224909, 5247330, 5316708, 5316725, 5328571, 5154895, 5231574, 5316699, 5316726, 5327319, 5303803, 5316713, 5316695, 5316704, 5316697, 5317487, 5296768, 5316711, 5317485, 5316700, 5316710, 5317481, 5330793, 5298098, 5317482, 5322608, 5311259, 5316698, 5316709, 5316696, 5302154, 5298113, 5328570, 5328573, 5327317, 5328574, 5330795, 5249431, 5328580, 5330796, 5328572, 5316712, 5330794, 5280798, 5287070, 5287075, 5287073, 5287071, 5335696, 5287074, 5333146, 5206955, 5174988, 5340257, 5269847, 5258048, 5155741, 5175018, 5192314, 5208968, 5395702, 5157339, 5293469, 5152358, 5148491, 5347647, 5295736, 5302745, 5302742, 5302741, 5313952, 5298094, 5313951, 5299268, 5318334, 5308300, 5299264, 5193445, 5316705, 5312195, 5328867, 5316703, 5177417, 5240002, 5273178, 5333705, 5236186, 5244494, 5356811, 5359320, 5328868, 5308286, 5337199, 5182795, 5331614, 5302746, 5350352, 5172492, 5352922, 5337204, 5325031, 5180110, 5356812, 5352921, 5344972, 5165231, 5213504, 5139008, 5321084, 5177353, 5180965, 5195097, 5308480, 5239963, 5392313, 5341068, 5332314, 5273649, 5149160, 5382239, 5375716, 5310630, 5223791, 5399576, 5403270, 5307793, 5245638, 5262797, 5229433, 5153157, 5279992, 5329410, 5328330, 5251187, 5195300, 5142948, 5268253, 5313939, 5175885, 5387156, 5227094, 5357121, 5198637, 5194988, 5225763, 5335458, 5169561, 5282843, 5282844, 5148116, 5258684, 5149738, 5285250, 5331227, 5192157, 5227865, 5244095, 5274327, 5258520, 5299285, 5300536, 5284588, 5307789, 5272305, 5234740, 5234789, 5258435, 5258434, 5316737, 5162244, 5242446, 5240810, 5251658, 5283108, 5208749, 5208748, 5221396, 5221405, 5154603, 5309823, 5307673, 5255811, 5265190, 5155301, 5391649, 5151830, 5346973, 5244806, 5257146, 5332536, 5232160, 5317491, 5144299, 5317490, 5317488, 5232393, 5244200, 5291446, 5356810, 5208720, 5188151, 5188150, 5175148, 5192147, 5295980, 5338553, 5201830, 5356748, 5168936, 5183282, 5245405, 5291702, 5344976, 5264324, 5399822, 5288568, 5166685, 5265728, 5198965, 5238191, 5379062, 5302117, 5175017, 5235788, 5220104, 5162013, 5162012, 5202729, 5278897, 5329351, 5211791, 5348447, 5333339, 5173926, 5267189, 5316727, 5332068, 5166251, 5309347, 5382619, 5316128, 5152553, 5154691, 5217934, 5144856, 5177554, 5149807, 5135860, 5236742, 5294724, 5229687, 5183299, 5331900, 5252283, 5141084, 5247318, 5291187, 5257346, 5266938, 5160862, 5298166, 5140302, 5175155, 5363364, 5312379, 5261709, 5357949, 5357953, 5335391, 5370195, 5310684, 5234293, 5268474, 5268606, 5237787, 5347199, 5160883, 5160880, 5152000, 5296982, 5212005, 5220038, 5142158, 5147315, 5305492, 5154353, 5302125, 5310997, 5184023, 5311008, 5305493, 5311004, 5305491, 5311001, 5302130, 5302132, 5311006, 5272500, 5302133, 5310990, 5165545, 5302128, 5310992, 5302126, 5302129, 5192807, 5302134, 5180341, 5176645, 5302131, 5218548, 5305489, 5180787, 5399089, 5387575, 5399090, 5368883, 5191960, 5300746, 5300747, 5401132, 5401133, 5230731, 5142188, 5186346, 5278338, 5317506, 5317503, 5317501, 5317500, 5317499, 5317498, 5162457, 5317504, 5317502, 5252732, 5320306, 5176861, 5305447, 5327316, 5333152, 5327290, 5144673, 5290641, 5320307, 5317497, 5210218, 5327315, 5267229, 5352933, 5287235, 5320308, 5311141, 5327287, 5219330, 5344975, 5365492, 5192615, 5365493, 5317505, 5170515, 5315741, 5291183, 5287293, 5205128, 5216025, 5333351, 5310638, 5264020, 5264019, 5291219, 5162613, 5237087, 5291220, 5294354, 5182423, 5379481, 5157547, 5240316, 5240315, 5280517, 5269742, 5196088, 5228117, 5170965, 5280528, 5356800, 5157605, 5354545, 5298117, 5237624, 5172284, 5394890, 5182301, 5298164, 5243911, 5179761, 5359322, 5348649, 5168817, 5335113, 5335112, 5313936, 5357965, 5360291, 5192319, 5192318, 5245880, 5192002, 5208358, 5145862);
Date: 2024-12-01 16:20:46 Duration: 3ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5100742, 5099224, 5099329, 5099045, 5106654, 5099013, 5100067, 5099092, 5100449, 5173469, 5099349, 5100447, 5228514, 5121286, 5100563, 5099590, 5180103, 5176369, 5182404, 5128723, 5099236, 5100431, 5099190, 5102119, 5107543, 5107304, 5165416, 5102604, 5109899, 5098981, 5099141, 5109715, 5155143, 5151828, 5099117, 5102231, 5100659, 5103758, 5100719, 5100762, 5099158, 5173959, 5274632, 5152600, 5103697, 5099254, 5141475, 5099700, 5101447, 5174822);
Date: 2024-12-01 17:21:55 Duration: 3ms
8 541,183 34s519ms 0ms 1ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."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 Dec 01 00 5,760 325ms 0ms 01 5,780 348ms 0ms 02 4,070 244ms 0ms 03 3,841 222ms 0ms 04 4,734 262ms 0ms 05 6,898 414ms 0ms 06 8,424 473ms 0ms 07 6,978 368ms 0ms 08 15,196 833ms 0ms 09 37,483 2s325ms 0ms 10 52,008 3s418ms 0ms 11 50,538 3s404ms 0ms 12 49,711 3s326ms 0ms 13 46,625 3s203ms 0ms 14 44,975 2s975ms 0ms 15 40,220 2s516ms 0ms 16 33,853 2s65ms 0ms 17 30,576 1s776ms 0ms 18 28,865 1s805ms 0ms 19 25,881 1s708ms 0ms 20 22,357 1s476ms 0ms 21 11,356 731ms 0ms 22 5,054 289ms 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 (13, 115, 75, 28, 123, 64, 78, 102, 76, 16, 48, 73, 65, 22, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 36, 42, 114, 71, 41, 40, 52, 111, 53, 29, 60, 49, 70, 61, 46, 11, 77, 62, 55, 30, 67, 66, 79, 68);
Date: 2024-12-01 11:04:42 Duration: 1ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (38, 44, 71, 7, 5, 61, 2, 19, 113, 83, 55, 95, 53, 13, 28, 6, 42, 8, 60, 35, 49, 77, 46, 41, 62, 67, 70, 115, 39, 127, 9, 36, 85, 66, 26, 29, 11, 80, 3, 75, 1, 123, 10, 114, 4, 17, 121, 126, 16, 76, 48, 14, 51, 27, 68, 102, 110, 22, 24, 64);
Date: 2024-12-01 14:18:02 Duration: 1ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (6, 127);
Date: 2024-12-01 15:26:32 Duration: 1ms
9 367,631 1m6s 0ms 9ms 0ms select "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 01 00 3,513 639ms 0ms 01 3,237 605ms 0ms 02 2,459 437ms 0ms 03 2,292 411ms 0ms 04 2,792 511ms 0ms 05 4,160 775ms 0ms 06 4,864 878ms 0ms 07 4,399 708ms 0ms 08 12,989 1s916ms 0ms 09 27,293 4s720ms 0ms 10 37,188 6s905ms 0ms 11 34,855 6s681ms 0ms 12 35,953 6s649ms 0ms 13 31,683 5s920ms 0ms 14 29,322 5s368ms 0ms 15 28,462 5s18ms 0ms 16 23,822 4s149ms 0ms 17 20,538 3s646ms 0ms 18 17,568 3s183ms 0ms 19 16,100 2s998ms 0ms 20 12,967 2s496ms 0ms 21 7,989 1s335ms 0ms 22 3,186 512ms 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 (8006273);
Date: 2024-12-01 17:21:54 Duration: 9ms
-
SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (8006273);
Date: 2024-12-01 17:21:54 Duration: 9ms
-
SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (8006303, 8006645, 8004676, 8006364, 8006353, 8004657, 8004670, 8006416, 8006297, 8006392, 8006403, 8004673, 8006864, 8004672, 8004679, 8006407, 8006311, 8006443, 8006295, 8004655, 8004661, 8006317, 8004675, 8004678, 8006348, 8004656, 8006434, 8004692, 8006296, 8006376, 8004666, 8007032, 8006602, 8004683, 8004665, 8006482, 8007030, 8006302, 8006439, 8006462, 8006326, 8006435, 8004805, 8006320, 8004681, 8006401, 8004685, 8006394, 8006689, 8004697, 8006272, 8007369, 8006341, 8006288, 8006456, 8006360, 8004682, 8004671, 8006396, 8006346, 8004680, 8004714, 8004659, 8004684, 8006323, 8006444, 8006315, 8006333, 8006279, 8006405, 8004713, 8007293, 8006345, 8006459, 8004658, 8006377, 8006839, 8006534, 8004677, 8007305);
Date: 2024-12-01 20:41:22 Duration: 3ms
10 303,173 21s468ms 0ms 5ms 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 Dec 01 00 3,042 198ms 0ms 01 2,835 192ms 0ms 02 2,054 137ms 0ms 03 2,053 140ms 0ms 04 2,554 169ms 0ms 05 3,609 259ms 0ms 06 4,240 280ms 0ms 07 3,837 238ms 0ms 08 9,445 579ms 0ms 09 22,167 1s521ms 0ms 10 30,396 2s253ms 0ms 11 28,224 2s135ms 0ms 12 29,012 2s98ms 0ms 13 26,411 1s914ms 0ms 14 24,909 1s743ms 0ms 15 23,581 1s603ms 0ms 16 19,780 1s342ms 0ms 17 17,266 1s172ms 0ms 18 14,836 1s53ms 0ms 19 13,409 995ms 0ms 20 11,012 840ms 0ms 21 5,736 421ms 0ms 22 2,765 176ms 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 (844, 910, 849, 904, 1062, 947, 1049, 854, 940, 1219, 963, 905, 835, 846, 836, 853, 834, 1242, 874, 1029, 843, 903, 1030, 939, 852, 830, 1031, 833, 873, 889, 851, 1025, 838, 1112, 869, 871, 1057, 906, 859, 884);
Date: 2024-12-01 13:39:12 Duration: 5ms
-
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 (1);
Date: 2024-12-01 17:34:05 Duration: 1ms
-
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 (898, 903, 904, 905, 906, 910, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 847, 848, 849, 850, 851, 852, 853, 854, 856, 857, 858, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 891, 895);
Date: 2024-12-01 09:22:39 Duration: 1ms
11 281,079 1d5h45m58s 314ms 3s522ms 381ms 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 Dec 01 00 6,782 41m30s 367ms 01 9,049 54m40s 362ms 02 6,940 41m52s 362ms 03 5,574 33m20s 358ms 04 8,632 51m56s 361ms 05 11,899 1h12m2s 363ms 06 11,181 1h7m4s 359ms 07 4,706 28m7s 358ms 08 5,748 34m1s 355ms 09 12,099 1h14m33s 369ms 10 17,133 1h48m16s 379ms 11 20,894 2h14m39s 386ms 12 17,772 1h52m45s 380ms 13 16,319 1h40m43s 370ms 14 13,466 1h22m25s 367ms 15 10,852 1h5m45s 363ms 16 10,002 1h1m23s 368ms 17 12,531 1h19m50s 382ms 18 19,866 2h11m58s 398ms 19 19,767 2h18m28s 420ms 20 17,920 2h7m30s 426ms 21 18,501 2h44s 391ms 22 3,446 22m19s 388ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3163575)) AND (("shipping_track"."id" not in (25801775, 25801775)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:43:29 Duration: 3s522ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3163649)) AND (("shipping_track"."id" not in (25802028, 25802028)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:43:55 Duration: 3s153ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3163590)) AND (("shipping_track"."id" not in (25801829, 25801829)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:43:34 Duration: 2s823ms
12 257,136 1m2s 0ms 22ms 0ms select "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" from "policy_number" where "policy_number".id in (...);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 01 00 4,002 981ms 0ms 01 3,633 928ms 0ms 02 2,660 659ms 0ms 03 2,013 541ms 0ms 04 2,824 754ms 0ms 05 4,508 1s300ms 0ms 06 3,786 1s114ms 0ms 07 2,736 662ms 0ms 08 6,282 1s495ms 0ms 09 16,388 4s528ms 0ms 10 22,978 6s286ms 0ms 11 22,512 5s966ms 0ms 12 21,891 5s296ms 0ms 13 20,040 4s814ms 0ms 14 20,893 4s452ms 0ms 15 19,807 3s973ms 0ms 16 16,315 3s913ms 0ms 17 14,100 3s266ms 0ms 18 14,927 3s412ms 0ms 19 12,998 3s213ms 0ms 20 11,374 2s972ms 0ms 21 7,288 1s693ms 0ms 22 3,181 694ms 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 (39570092, 40246250, 39750167, 39878822, 38557925, 40861792, 39417115, 39641987, 39769815, 39853805, 39742445, 40012072, 40246284, 39856944, 39956348, 37644384, 39613497, 39791280, 39931878, 32589166, 32595766, 39641907, 38977619, 39956369, 39684909, 39684974, 39668685, 39918468, 39379175, 39932363, 39684886, 39742084, 40144841, 39665142, 39741853, 39423184, 38937732, 39804003, 39475572, 32583155, 39609713, 39609725, 39641662, 39511332, 39791498, 39208991, 39756342, 38945533, 39571782, 39571785, 39571786, 39774217, 39571801, 39571798, 39571797, 39571791, 39202877, 39541885, 39762561, 39753143, 39846776, 40305648, 39621889, 39837868, 39779282, 39746800, 39631056, 38977310, 39458317, 38534880, 39754866, 39754865, 32592497, 39680125, 39615320, 39264566, 39622687, 39838379, 39593816, 39734712, 39838378, 39833141, 39587775, 39612041, 39371966, 39547073, 39708246, 39188327, 39708247, 40389462, 39778696, 39807945, 39839488, 39441264, 39778783, 39735525, 39559983, 32591803, 39441287, 39441286);
Date: 2024-12-01 17:21:55 Duration: 22ms
-
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 (40989359, 41074411, 40900307, 41156636, 41210065, 40728614, 40988255, 40900791, 41156996, 41209800, 41074017, 40900910, 41209787, 41157131, 41117266, 41209698, 40990161, 41209795, 41209960, 41209744, 41209792, 41209791, 41209852, 41220283, 41209848, 40989440, 41222023, 40900340, 41157246, 40989413, 41200178, 41156993, 41209702, 41156842, 40900317, 40544276, 40784234, 41157639, 41157609, 41209700, 41117264, 41073129, 41157577, 40544255, 40900341, 40852469, 40989853, 41157053, 41209701, 41117263, 41156524, 41157055, 41157638, 40989348, 40991166, 40991186, 41155794, 40990055, 41156997, 41156995, 41209706, 41209704, 41209705, 41209703, 41209696, 41156976, 40988742, 41155856, 41074574, 41074513, 40900453, 40987980, 40988746, 40173377, 41156297, 41155853, 41156843, 40900934, 40713117, 41072780, 41074228, 41155795, 40860754, 41156311, 41155792, 40173376, 40900939, 41072697, 41155793, 41074504, 41073907, 41155852, 41119652, 41074605, 41074222, 40987027, 40989952, 41119649, 41119651, 41074220, 41074229, 41074280, 41074573, 41119650, 41073953, 41074359, 41074230, 41074226, 40901162, 41074227, 41074221, 41074223, 40991183, 41073011, 41072757, 41073905, 40990498, 40604381, 40988586, 40746935, 41072872, 40712013, 40991182, 41072758, 41073105, 41072873, 40859763, 40991171, 40503145, 40991196, 40989862, 40991192, 40991191, 40991206, 40990432, 40991305, 40991165, 40991185, 40991203, 40991177, 40859928, 40991197, 40991147, 40689031, 40991151, 40991181, 40991180, 40604157, 40991193, 40603078, 40860643, 40991195, 40991176, 40991189, 40923105, 40820360, 40991163, 40901163, 40991175, 40991146, 40991194, 40991173, 40991200, 40991179, 40991199, 40991148, 40991172, 40991143, 40991178, 40820358, 40991188, 40689083, 40991174, 40991198, 40991155, 40991170, 40991187, 40991167, 40900884, 40689127, 40991160, 40901531, 40689154, 40820356, 40988067, 40991164, 40901158, 40991168, 40991153, 40991154, 40820353, 40604180, 40901160, 40901324, 40991162, 40689017, 40689143, 40991161, 40604336, 40689018, 40901161, 40991169, 40689030, 40783286, 40991152, 40991150, 40991145, 40820601, 40689166, 40689000, 40820368, 40991158, 40820349, 40991159, 40991144, 40604376, 40820363, 40991157, 40991149, 40503172, 40689171, 40901156, 40820365, 40604311, 39667991, 40820355, 40689069, 40689180, 40820351, 40604288, 40820359, 40820350, 40820362, 40820364, 40689071, 40820354, 40820369, 40859926, 40860644, 40860645, 40784490, 40614622, 40782389, 40610015, 40782098, 40711646, 40710740, 40710985, 40614621, 40612733, 40612732, 40612734, 40480567);
Date: 2024-12-01 10:31:54 Duration: 14ms
-
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (41132411, 41132417, 41171461, 40450237, 41208688, 41133654, 41116113, 41115021, 41082397, 41089354, 39795125, 41071722, 41018385, 40969062, 41172899, 41173233, 41048868, 41097428, 40460841, 41188743, 41172443, 41145088, 41019208, 41113094, 40974729, 41097158, 41059096, 40937010, 40993280, 39785475, 40751576, 41125466, 32628769, 41039140, 41177920, 41164516, 41154766, 41132827, 41072007, 41013123, 41131610, 41008314, 40900235, 41017043, 41049106, 41137600, 41019702, 41017040, 41035260, 41055068, 41017108, 32631412, 40898488, 40929076, 40831508, 40912659, 41088495, 41157126, 41167650, 41073420, 41064660, 41114968, 40869846, 40994023, 40652373, 40932766, 41061340, 40898503, 40893056, 41177298, 41177347);
Date: 2024-12-01 09:49:45 Duration: 13ms
13 252,203 1m28s 0ms 3ms 0ms select r.id from ir_rule r join ir_model m on (r.model_id = m.id) where m.model = ? and r.active and r.perm_read and (r.id in ( select rule_group_id from rule_group_rel rg join res_groups_users_rel gu on (rg.group_id = gu.gid) where gu.uid = ?) or r.global) order by r.id;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 01 00 3,055 1s5ms 0ms 01 2,078 716ms 0ms 02 1,704 576ms 0ms 03 1,321 452ms 0ms 04 1,154 401ms 0ms 05 1,692 605ms 0ms 06 1,698 596ms 0ms 07 1,608 504ms 0ms 08 7,699 2s471ms 0ms 09 15,148 5s322ms 0ms 10 15,970 5s744ms 0ms 11 13,091 4s893ms 0ms 12 24,481 8s664ms 0ms 13 25,212 9s13ms 0ms 14 33,729 11s665ms 0ms 15 18,492 6s460ms 0ms 16 12,232 4s206ms 0ms 17 19,382 6s439ms 0ms 18 16,551 5s779ms 0ms 19 13,974 4s988ms 0ms 20 13,463 4s761ms 0ms 21 6,029 1s994ms 0ms 22 2,440 759ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'collection.policy' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 859) OR r.global) ORDER BY r.id;
Date: 2024-12-01 15:32:53 Duration: 3ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'person.recieve' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 882) OR r.global) ORDER BY r.id;
Date: 2024-12-01 11:40:50 Duration: 2ms
-
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 = 1096) OR r.global) ORDER BY r.id;
Date: 2024-12-01 17:21:54 Duration: 2ms
14 189,491 14s35ms 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 #14
Day Hour Count Duration Avg duration Dec 01 00 2,192 139ms 0ms 01 2,094 141ms 0ms 02 1,458 97ms 0ms 03 1,529 102ms 0ms 04 1,827 131ms 0ms 05 2,507 194ms 0ms 06 2,615 184ms 0ms 07 1,903 118ms 0ms 08 5,362 347ms 0ms 09 14,228 1s63ms 0ms 10 19,839 1s515ms 0ms 11 18,951 1s574ms 0ms 12 18,163 1s547ms 0ms 13 16,287 1s190ms 0ms 14 15,591 1s93ms 0ms 15 14,378 981ms 0ms 16 12,164 884ms 0ms 17 9,620 657ms 0ms 18 8,944 669ms 0ms 19 7,911 646ms 0ms 20 7,097 463ms 0ms 21 3,310 204ms 0ms 22 1,521 85ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-12-01 17:21:54 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-12-01 17:21:54 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-12-01 19:58:08 Duration: 0ms
15 181,325 31s23ms 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 #15
Day Hour Count Duration Avg duration Dec 01 00 2,385 352ms 0ms 01 1,914 274ms 0ms 02 1,844 251ms 0ms 03 1,212 166ms 0ms 04 1,010 133ms 0ms 05 1,761 250ms 0ms 06 1,320 187ms 0ms 07 1,791 257ms 0ms 08 7,960 1s158ms 0ms 09 13,071 2s94ms 0ms 10 11,100 1s888ms 0ms 11 8,550 1s477ms 0ms 12 15,676 2s868ms 0ms 13 18,783 3s336ms 0ms 14 22,219 4s115ms 0ms 15 12,743 2s151ms 0ms 16 8,206 1s323ms 0ms 17 13,031 2s263ms 0ms 18 11,935 2s116ms 0ms 19 9,438 1s714ms 0ms 20 8,987 1s649ms 0ms 21 4,474 718ms 0ms 22 1,915 274ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 873 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_shipping_policy' AND name = 'group_date_ihab' AND model = 'res.groups');
Date: 2024-12-01 20:33:20 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 980 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2024-12-01 13:53:44 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 892 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_cash_policy' AND name = 'confirm_payment' AND model = 'res.groups');
Date: 2024-12-01 13:27:12 Duration: 1ms
16 168,562 1m28s 0ms 16ms 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"."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"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" from "shipping_policy" where "shipping_policy".id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 01 00 245 129ms 0ms 01 226 132ms 0ms 02 209 124ms 0ms 03 193 106ms 0ms 04 400 184ms 0ms 05 592 290ms 0ms 06 1,064 444ms 0ms 07 1,241 517ms 0ms 08 3,601 1s746ms 0ms 09 9,435 5s415ms 0ms 10 11,691 7s46ms 0ms 11 12,488 6s923ms 0ms 12 12,124 6s709ms 0ms 13 11,205 6s585ms 0ms 14 11,974 6s615ms 0ms 15 10,323 5s751ms 0ms 16 8,424 4s890ms 0ms 17 10,061 5s246ms 0ms 18 13,836 6s883ms 0ms 19 16,953 8s347ms 0ms 20 19,428 9s386ms 0ms 21 12,426 5s129ms 0ms 22 423 210ms 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"."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"."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 (2898693, 2926721, 2842447, 2926762, 2835916, 2032298, 2836283, 2891236, 2891238, 2835938, 2905222, 2891401, 2835924, 2941924, 2926707, 2723981, 2905616, 2723923, 2842726, 2835939, 2898691, 2891230, 2593886, 2886324, 2835904, 2836277, 2878651, 2891228, 2835914, 2344499, 2891400, 2835936, 2891243, 2762310, 2835931, 2836282, 2593894, 2835926, 2835909, 2836280, 2878652, 2761646, 2835933, 2836244, 2593908, 2344553, 2905434, 2766532, 2886006, 2106814, 2528898, 2724025, 2891466, 2835941, 2836278, 2835919, 2891227, 2835850, 2836276, 2677125, 2681846, 2762284, 2835911, 2724121, 2593892, 2645458, 2724131, 2724177, 2677137, 2724119, 2528323, 2612657, 2593881, 2681732, 2762396, 2761655, 2248165, 2677140, 2836245, 2762302, 2344496, 2681718, 2724306, 2578883, 2723983, 2528330, 2724129, 2593878, 2593861, 2593899, 2724111, 2723978, 2724303, 2724172, 2724311, 2724302, 2593897, 2724304, 2527725, 2729948, 2681720, 2724175, 2724305, 2681724, 2681708, 2612678, 2723987, 2278926, 2612665, 2619808, 2677121, 2681706, 2677141, 2681712, 2486986, 2612686, 2681726, 2681845, 2612661, 2619809, 2527734, 2619812, 2413957, 2619535, 2612733, 2612738, 2527746, 2578885, 2595286, 2541274, 2392027);
Date: 2024-12-01 17:47:01 Duration: 16ms
-
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"."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"."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 (180358, 515767, 1455078, 263930, 553567, 1159165, 1237786, 1749481, 2030341, 510469, 740394, 768050, 354786, 2070212, 2324746, 898076, 1109113, 1328233, 1412491, 2505234, 353666, 500504, 668522, 668524, 1412089, 1414154, 1920450, 2093766, 2154706, 1552532, 2089022, 2522105, 164274, 394334, 619852, 1289446, 1436168, 1839266, 1941199, 2980023, 257738, 635472, 929390, 802694, 1475023, 1525056, 2053236, 2050201, 2170353, 2180754, 2176274, 2197223, 2328440, 2919796, 3072653, 3075095, 185747, 524376, 1105994, 2479243, 334471, 322443, 432932, 860248, 976160, 1249202, 1593033, 1694323, 1782300, 1877581, 2052395, 2551734, 2735879, 3145507, 769147, 1347129, 1909194, 288545, 648753, 771635, 902414, 1083395, 1313428, 1313035, 1547053, 1553963, 1558737, 1779890, 1830646, 1942194, 2015383, 2888767, 97343, 785679, 1018624, 999633, 1552060, 1922454, 2384337, 2477458, 2677606, 2824775, 2975393, 3063874, 233248, 134085, 326539, 269757, 561164, 612377, 712323, 735593, 303946, 781949, 854125, 859117, 930931, 1408332, 1323562, 1399440, 1455501, 1713315, 1804502, 1819096, 1900682, 1902874, 2092771, 2142174, 2335181, 2489828, 2992427, 263762, 353375, 565018, 890960, 983546, 1485163, 1527386, 1585210, 1619692, 1684149, 1933785, 2053568, 2006036, 2753752, 2711345, 186695, 142321, 248134, 385372, 772685, 1040447, 978947, 1279861, 1364736, 1458653, 1707417, 1790973, 1993454, 2444257, 2680984, 2938051, 97836, 891554, 1035619, 1219507, 1223816, 1252092, 1360234, 1781967, 1937375, 1935384, 2248910, 3025126, 38494, 130682, 256639, 294594, 290398, 196786, 419887, 548538, 532679, 552876, 527232, 640101, 559120, 913516, 944184);
Date: 2024-12-01 17:24:12 Duration: 12ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."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"."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 (3102459, 3105760, 3070169, 3097754, 3099786, 3114083, 3113821, 3113826, 3111837, 3081165, 3065055, 3109138, 3031274, 2684640, 3097036, 3096624, 2909579, 3082040, 3097060, 3092912, 3065040, 3085866, 3050370, 3092888, 3103654, 3056391, 3083426, 3092032, 3104938, 2977642, 3105776, 3105812, 3086490, 3051618, 3102461, 3109139, 3113824, 3103756, 3113809, 3038316, 3080339, 3040451, 3109127, 3107301, 3104618, 3105792, 3086516, 3037620, 3051581, 3105794, 3105779, 3051603, 3105788, 3086494, 3086492, 3079034, 3040108, 3099801, 2894168, 3077412, 3082032, 3059018, 3085770, 2952095, 2685375, 3091879, 2929513, 3006410, 3091337, 3082088, 3042975, 3049743, 3053513, 3083269, 3048380, 3088916, 3056823, 3078483, 3099969, 3076624, 2262205, 3053037, 3049827, 3019165, 2977550, 3072198, 3002551, 3096375, 2688746, 3068463, 3086260, 3039962, 3064243, 3071829, 3101316, 3086972, 3083275, 3075463, 3094456, 3099848, 3091059, 3085974, 3101188, 3049221, 2922608, 2992674, 3066905, 3040806, 3047647, 3030084, 3032203, 3070098, 3005107, 3037631, 3039966, 2857273, 3050384, 3061962, 3062822, 3046422, 3069565, 2966282, 3039434, 3050509, 3022229, 3009961, 3007164, 3068428, 3004402, 2632539, 2320999, 3053160, 3024954, 3062665, 1970713, 3056810, 3057292, 2723643, 3035781, 2954094, 3057140, 2999360, 3038472, 3045898, 3040554, 3056557, 3041429, 3062754, 3055769, 3045366, 3049415, 3065032, 3000105, 3014262, 3066842, 3050494, 2784853, 2455122, 3021925, 3023386, 1831369, 2619183, 3024058, 2938053, 2990185, 3002010, 2984713, 2997485, 2922441, 3027453, 2837220, 2990238, 2951156, 2993574, 2950912, 2973430, 3032209, 2981555, 2960724, 2572522, 2935959, 3025432, 2983908, 2940769, 3004533, 2968405, 3005588, 2278781, 3031299, 2959352, 3029721, 2971015, 3012066, 2996034, 3037181, 2969888, 2968407);
Date: 2024-12-01 17:21:59 Duration: 12ms
17 157,493 1h36m8s 26ms 204ms 36ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 01 00 3,220 1m47s 33ms 01 3,262 1m48s 33ms 02 2,218 1m14s 33ms 03 1,983 1m6s 33ms 04 1,999 1m7s 33ms 05 3,420 1m55s 33ms 06 2,953 1m39s 33ms 07 1,943 1m6s 34ms 08 3,525 1m59s 34ms 09 8,591 5m2s 35ms 10 13,408 8m2s 36ms 11 14,839 9m 36ms 12 15,298 9m11s 36ms 13 12,731 7m38s 35ms 14 10,292 6m9s 35ms 15 9,229 5m24s 35ms 16 7,331 4m15s 34ms 17 7,947 4m59s 37ms 18 9,991 6m40s 40ms 19 7,774 5m28s 42ms 20 7,589 5m21s 42ms 21 6,264 4m4s 38ms 22 1,686 1m1s 36ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3129481, 3126793, 3126659, 3125973)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-01 19:57:20 Duration: 204ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3163292)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-01 20:43:28 Duration: 157ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3163340)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-01 20:43:28 Duration: 157ms
18 146,791 46s773ms 0ms 22ms 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 Dec 01 00 7,461 2s108ms 0ms 01 8,070 2s565ms 0ms 02 6,514 2s67ms 0ms 03 3,358 1s218ms 0ms 04 6,539 2s312ms 0ms 05 10,664 3s496ms 0ms 06 6,792 2s621ms 0ms 07 2,547 849ms 0ms 08 800 372ms 0ms 09 1,619 751ms 0ms 10 1,470 678ms 0ms 11 3,033 1s311ms 0ms 12 1,064 422ms 0ms 13 2,670 950ms 0ms 14 2,100 721ms 0ms 15 3,059 973ms 0ms 16 7,739 2s198ms 0ms 17 8,436 2s467ms 0ms 18 12,642 3s779ms 0ms 19 16,223 4s979ms 0ms 20 13,628 4s453ms 0ms 21 14,383 3s960ms 0ms 22 5,980 1s511ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 64) AND ("price_list"."to_office_id" = 19)) ORDER BY "price_list"."id";
Date: 2024-12-01 15:38:23 Duration: 22ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 26) AND ("price_list"."to_office_id" = 5)) ORDER BY "price_list"."id";
Date: 2024-12-01 19:57:04 Duration: 4ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 27) AND ("price_list"."to_office_id" = 11)) ORDER BY "price_list"."id";
Date: 2024-12-01 19:02:51 Duration: 2ms
19 140,666 8h18m20s 157ms 1s536ms 212ms 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 Dec 01 00 2,075 5m53s 170ms 01 1,594 4m31s 170ms 02 1,853 5m15s 170ms 03 1,302 3m41s 170ms 04 2,479 7m5s 171ms 05 3,587 10m22s 173ms 06 2,382 6m50s 172ms 07 981 2m47s 171ms 08 3,762 10m50s 172ms 09 9,127 27m13s 179ms 10 7,876 24m26s 186ms 11 9,683 30m28s 188ms 12 8,522 26m20s 185ms 13 8,312 25m35s 184ms 14 8,875 27m17s 184ms 15 6,638 19m46s 178ms 16 5,594 16m31s 177ms 17 7,562 27m31s 218ms 18 10,414 42m37s 245ms 19 16,366 1h11m25s 261ms 20 21,017 1h39m12s 283ms 21 524 2m2s 234ms 22 141 30s572ms 216ms -
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" = '9059327')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-01 20:44:45 Duration: 1s536ms
-
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" = '9059332')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-01 20:44:24 Duration: 1s509ms
-
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" = '8952524')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-01 20:43:48 Duration: 1s315ms
20 127,326 12s273ms 0ms 31ms 0ms insert into "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) returning "id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 01 00 3,204 222ms 0ms 01 3,262 231ms 0ms 02 2,136 154ms 0ms 03 2,356 159ms 0ms 04 2,177 155ms 0ms 05 3,130 229ms 0ms 06 3,241 254ms 0ms 07 1,646 126ms 0ms 08 2,864 272ms 0ms 09 7,298 741ms 0ms 10 9,722 1s38ms 0ms 11 10,022 1s73ms 0ms 12 9,852 1s47ms 0ms 13 10,017 999ms 0ms 14 7,852 779ms 0ms 15 7,463 769ms 0ms 16 5,622 532ms 0ms 17 6,724 669ms 0ms 18 8,857 856ms 0ms 19 6,633 704ms 0ms 20 6,613 695ms 0ms 21 5,106 441ms 0ms 22 1,529 120ms 0ms -
INSERT INTO "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") VALUES ('2024-12-01 14:34:43.008266', 1219, 7312, 'الحالة', 'selection', 23049842, 'تم التوصيل', 'جاري التوصيل ', 100, '2024-12-01 14:34:43.008266', 1219) RETURNING "id";
Date: 2024-12-01 15:35:28 Duration: 31ms
-
INSERT INTO "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") VALUES ('2024-12-01 11:57:52.410457', 940, 7312, 'الحالة', 'selection', 23004787, 'تم استلام العميل', 'في الطريق الي العميل', 100, '2024-12-01 11:57:52.410457', 940) RETURNING "id";
Date: 2024-12-01 12:58:57 Duration: 29ms
-
INSERT INTO "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") VALUES ('2024-12-01 17:56:59.927128', 1198, 7312, 'الحالة', 'selection', 23106068, 'تم استلام العميل', 'في الطريق الي العميل', 100, '2024-12-01 17:56:59.927128', 1198) RETURNING "id";
Date: 2024-12-01 18:58:47 Duration: 20ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 440ms 6s699ms 3s227ms 393 21m8s 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 Dec 01 00 56 2m58s 3s188ms 01 8 25s469ms 3s183ms 03 14 44s400ms 3s171ms 06 2 6s465ms 3s232ms 07 5 4s655ms 931ms 08 10 31s874ms 3s187ms 09 5 14s606ms 2s921ms 10 7 21s18ms 3s2ms 11 12 43s569ms 3s630ms 12 22 1m16s 3s497ms 13 19 1m6s 3s509ms 14 34 1m37s 2s866ms 15 34 1m54s 3s366ms 16 52 2m52s 3s322ms 17 20 1m7s 3s355ms 18 9 20s450ms 2s272ms 19 34 1m46s 3s137ms 20 32 1m57s 3s667ms 21 10 32s477ms 3s247ms 22 8 25s373ms 3s171ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))))) 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 (123)))))) 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 (123)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))) 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 (123))))))))) 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 (123)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-01 20:44:46 Duration: 6s699ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (11)))))))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-01 20:45:03 Duration: 6s377ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))))) 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 (123)))))) 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 (123)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))))) 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 (123))))))))) 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 (123)))))))) AND ("policy_number"."name"::text ilike '%900%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-01 20:44:45 Duration: 5s816ms
2 249ms 2s91ms 986ms 11,462 3h8m22s 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 #2
Day Hour Count Duration Avg duration Dec 01 00 475 7m23s 932ms 01 748 11m39s 935ms 02 968 15m6s 936ms 03 297 4m38s 939ms 06 3 2s796ms 932ms 09 54 53s805ms 996ms 10 46 47s414ms 1s30ms 11 17 18s70ms 1s62ms 12 56 58s1ms 1s35ms 13 387 6m44s 1s46ms 14 232 3m52s 1s3ms 15 402 6m39s 994ms 16 471 7m39s 976ms 17 944 15m47s 1s3ms 18 1,469 24m27s 999ms 19 2,184 36m57s 1s15ms 20 1,009 18m11s 1s81ms 21 1,561 24m1s 923ms 22 139 2m11s 948ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9172881')) 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 (30))))))) 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 (30)))))) 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 (30)))))) 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 (30))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-01 20:42:03 Duration: 2s91ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9171208')) 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 (30))))))) 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 (30)))))) 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 (30)))))) 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 (30))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-01 20:43:28 Duration: 2s51ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9172730')) 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 (30))))))) 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 (30)))))) 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 (30)))))) 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 (30))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-01 20:41:45 Duration: 2s11ms
3 285ms 641ms 408ms 2,036 13m52s 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 #3
Day Hour Count Duration Avg duration Dec 01 09 20 8s478ms 423ms 10 364 2m43s 450ms 11 55 23s514ms 427ms 12 42 16s413ms 390ms 13 516 3m46s 438ms 14 340 2m25s 427ms 15 14 5s282ms 377ms 16 332 1m52s 339ms 17 77 25s531ms 331ms 18 66 24s175ms 366ms 19 23 10s567ms 459ms 20 50 21s696ms 433ms 21 137 48s477ms 353ms -
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" = '8875464')) ORDER BY "cash_policy"."id" DESC;
Date: 2024-12-01 10:51:15 Duration: 641ms
-
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" = '8875462')) ORDER BY "cash_policy"."id" DESC;
Date: 2024-12-01 10:51:16 Duration: 639ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '8962178')) ORDER BY "cash_policy"."id" DESC;
Date: 2024-12-01 10:51:20 Duration: 625ms
4 313ms 2s798ms 384ms 48,057 5h7m51s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 01 00 140 56s302ms 402ms 01 236 1m31s 387ms 02 155 1m1s 399ms 03 149 58s358ms 391ms 04 259 1m38s 381ms 05 530 3m17s 373ms 06 871 5m17s 364ms 07 1,247 7m28s 359ms 08 1,412 8m34s 364ms 09 2,849 18m1s 379ms 10 4,113 26m32s 387ms 11 4,252 28m15s 398ms 12 4,586 29m53s 391ms 13 4,391 27m44s 379ms 14 4,588 28m42s 375ms 15 3,061 18m53s 370ms 16 2,433 14m52s 366ms 17 3,379 21m11s 376ms 18 3,264 21m31s 395ms 19 3,036 20m38s 407ms 20 1,795 12m25s 415ms 21 819 5m23s 395ms 22 492 2m59s 365ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3105136, 3105078, 3105077, 3105076, 3105075, 3105074, 3105073, 3105072, 3105071, 3105069, 3105067, 3105065, 3105063, 3105061, 3105058, 3105056, 3105054, 3105052, 3105050, 3105048, 3105046, 3105044, 3105042, 3105040, 3105038, 3105036, 3105034, 3105032, 3105030, 3105028, 3105026, 3105024, 3105022, 3105020, 3105018, 3105016, 3105014, 3105012, 3105010, 3105008, 3105006, 3105004, 3105002, 3105000, 3104998, 3104996, 3104994, 3104992, 3104990, 3104987, 3104985, 3104984, 3104981, 3104980, 3104977, 3104975, 3102399, 3102398, 3102397, 3102396, 3102395, 3102394, 3102393, 3102392, 3102391, 3102390, 3102389, 3102388, 3102387, 3102386, 3102385, 3102384, 3102383, 3102379, 3102377, 3102374, 3102372, 3102370, 3102368, 3102366, 3102365, 3102364, 3102363, 3102362, 3102361, 3102360, 3102359, 3102358, 3102357, 3102356, 3102355, 3102354, 3102353, 3102351, 3102350, 3102349, 3102348, 3102347, 3102346, 3102345, 3102344, 3102342, 3102341, 3102340, 3102339, 3102338, 3102337, 3102335, 3102334, 3102333, 3102332, 3102331, 3101307)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:43:40 Duration: 2s798ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3144771)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:44:31 Duration: 2s380ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3163688, 3163682, 3163678, 3163672, 3163667, 3163659, 3163653, 3163647, 3163639, 3163632, 3163622, 3163615, 3163604, 3163590, 3163575, 3163568, 3163560, 3163552, 3163545, 3163539, 3163532, 3163524, 3163518, 3163513, 3163505, 3163499, 3163489, 3163481, 3163474, 3163466, 3163459, 3163450, 3163443, 3163435, 3163427, 3163419, 3163409, 3163403, 3163394, 3163387, 3163381, 3163376, 3163369, 3163364, 3163357, 3163351, 3163345, 3163338, 3163333, 3163328)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:44:22 Duration: 1s350ms
5 314ms 3s522ms 381ms 281,079 1d5h45m58s select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 01 00 6,782 41m30s 367ms 01 9,049 54m40s 362ms 02 6,940 41m52s 362ms 03 5,574 33m20s 358ms 04 8,632 51m56s 361ms 05 11,899 1h12m2s 363ms 06 11,181 1h7m4s 359ms 07 4,706 28m7s 358ms 08 5,748 34m1s 355ms 09 12,099 1h14m33s 369ms 10 17,133 1h48m16s 379ms 11 20,894 2h14m39s 386ms 12 17,772 1h52m45s 380ms 13 16,319 1h40m43s 370ms 14 13,466 1h22m25s 367ms 15 10,852 1h5m45s 363ms 16 10,002 1h1m23s 368ms 17 12,531 1h19m50s 382ms 18 19,866 2h11m58s 398ms 19 19,767 2h18m28s 420ms 20 17,920 2h7m30s 426ms 21 18,501 2h44s 391ms 22 3,446 22m19s 388ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3163575)) AND (("shipping_track"."id" not in (25801775, 25801775)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:43:29 Duration: 3s522ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3163649)) AND (("shipping_track"."id" not in (25802028, 25802028)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:43:55 Duration: 3s153ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3163590)) AND (("shipping_track"."id" not in (25801829, 25801829)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-01 20:43:34 Duration: 2s823ms
6 203ms 2s20ms 289ms 19,331 1h33m11s 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 #6
Day Hour Count Duration Avg duration Dec 01 00 1,165 4m53s 252ms 01 730 3m6s 254ms 02 224 57s130ms 255ms 03 147 35s976ms 244ms 04 938 3m49s 244ms 05 1,868 7m44s 248ms 06 774 3m12s 248ms 07 423 1m45s 249ms 08 20 5s101ms 255ms 09 21 5s340ms 254ms 10 29 8s168ms 281ms 11 306 1m23s 273ms 12 92 25s272ms 274ms 13 129 34s936ms 270ms 14 187 52s915ms 282ms 15 322 1m28s 275ms 16 1,480 6m32s 264ms 17 1,151 5m54s 308ms 18 1,703 9m19s 328ms 19 1,805 10m7s 336ms 20 2,366 13m14s 335ms 21 2,077 10m16s 296ms 22 1,374 6m38s 289ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9025892')) 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: 2024-12-01 20:43:29 Duration: 2s20ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8976234')) 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: 2024-12-01 20:45:13 Duration: 1s708ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8976231')) 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: 2024-12-01 20:43:26 Duration: 1s564ms
7 198ms 588ms 276ms 29,483 2h15m46s 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" = ?)))) order by "collection_policy"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 01 08 1,056 4m29s 255ms 09 3,285 14m26s 263ms 10 3,692 16m39s 270ms 11 3,894 18m25s 283ms 12 3,016 13m41s 272ms 13 2,665 12m7s 272ms 14 3,243 14m48s 274ms 15 2,843 12m30s 264ms 16 1,948 8m35s 264ms 17 2,011 9m54s 295ms 18 1,830 10m6s 331ms -
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" = '8636783')))) ORDER BY "collection_policy"."id";
Date: 2024-12-01 17:21:56 Duration: 588ms
-
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" = '8954278')))) ORDER BY "collection_policy"."id";
Date: 2024-12-01 18:17:24 Duration: 469ms
-
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" = '8979159')))) ORDER BY "collection_policy"."id";
Date: 2024-12-01 18:17:24 Duration: 467ms
8 207ms 339ms 269ms 2,405 10m47s 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 ((((("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 "collection_policy"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 01 09 548 2m23s 262ms 10 180 49s205ms 273ms 11 232 1m4s 277ms 12 177 48s222ms 272ms 13 774 3m28s 269ms 14 375 1m40s 269ms 15 119 31s939ms 268ms -
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" = '8965550') 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, 95, 128, 83, 112)))) 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, 95, 128, 83, 112))))) 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, 95, 128, 83, 112))))) 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 "collection_policy"."id";
Date: 2024-12-01 11:03:52 Duration: 339ms
-
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" = '8962502') 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, 95, 128, 83, 112)))) 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, 95, 128, 83, 112))))) 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, 95, 128, 83, 112))))) 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 "collection_policy"."id";
Date: 2024-12-01 11:03:52 Duration: 335ms
-
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" = '8736792') 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, 95, 128, 83, 112)))) 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, 95, 128, 83, 112))))) 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, 95, 128, 83, 112))))) 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 "collection_policy"."id";
Date: 2024-12-01 14:26:34 Duration: 334ms
9 90ms 897ms 235ms 60,650 3h58m27s 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 #9
Day Hour Count Duration Avg duration Dec 01 00 3,235 11m49s 219ms 01 2,939 10m14s 209ms 02 2,368 7m43s 195ms 03 880 3m8s 213ms 04 1,824 7m42s 253ms 05 3,670 14m36s 238ms 06 1,520 5m58s 235ms 07 840 2m55s 208ms 08 40 9s666ms 241ms 09 142 34s408ms 242ms 10 150 32s768ms 218ms 11 626 2m19s 223ms 12 292 1m8s 233ms 13 998 3m54s 235ms 14 832 3m6s 223ms 15 1,396 5m54s 254ms 16 3,826 15m57s 250ms 17 4,120 16m37s 242ms 18 6,283 24m26s 233ms 19 7,911 30m40s 232ms 20 6,663 28m58s 260ms 21 7,150 27m55s 234ms 22 2,945 12m4s 245ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'محمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-12-01 20:41:31 Duration: 897ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'مصطفي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-12-01 20:41:31 Duration: 897ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-12-01 16:41:02 Duration: 849ms
10 15ms 789ms 217ms 2,712 9m50s 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 Dec 01 00 1 329ms 329ms 01 1 397ms 397ms 02 2 754ms 377ms 03 2 798ms 399ms 04 2 863ms 431ms 05 3 915ms 305ms 06 3 792ms 264ms 07 13 2s591ms 199ms 08 49 9s477ms 193ms 09 168 27s581ms 164ms 10 198 34s176ms 172ms 11 268 53s296ms 198ms 12 352 1m17s 220ms 13 332 1m14s 223ms 14 388 1m22s 213ms 15 300 1m4s 214ms 16 193 45s792ms 237ms 17 138 37s77ms 268ms 18 130 30s653ms 235ms 19 79 22s796ms 288ms 20 29 7s365ms 253ms 21 46 12s210ms 265ms 22 15 3s774ms 251ms -
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-12-01 19:57:20 Duration: 789ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (66))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-12-01 19:57:42 Duration: 634ms
-
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: 2024-12-01 12:28:53 Duration: 612ms
11 157ms 1s536ms 212ms 140,666 8h18m20s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 01 00 2,075 5m53s 170ms 01 1,594 4m31s 170ms 02 1,853 5m15s 170ms 03 1,302 3m41s 170ms 04 2,479 7m5s 171ms 05 3,587 10m22s 173ms 06 2,382 6m50s 172ms 07 981 2m47s 171ms 08 3,762 10m50s 172ms 09 9,127 27m13s 179ms 10 7,876 24m26s 186ms 11 9,683 30m28s 188ms 12 8,522 26m20s 185ms 13 8,312 25m35s 184ms 14 8,875 27m17s 184ms 15 6,638 19m46s 178ms 16 5,594 16m31s 177ms 17 7,562 27m31s 218ms 18 10,414 42m37s 245ms 19 16,366 1h11m25s 261ms 20 21,017 1h39m12s 283ms 21 524 2m2s 234ms 22 141 30s572ms 216ms -
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" = '9059327')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-01 20:44:45 Duration: 1s536ms
-
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" = '9059332')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-01 20:44:24 Duration: 1s509ms
-
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" = '8952524')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-01 20:43:48 Duration: 1s315ms
12 158ms 433ms 183ms 10,602 32m20s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 01 00 110 18s733ms 170ms 03 137 23s508ms 171ms 05 483 1m25s 177ms 06 704 2m1s 172ms 08 1,522 4m22s 172ms 09 1,807 5m20s 177ms 10 563 1m44s 185ms 11 777 2m25s 187ms 12 664 2m2s 184ms 13 1,023 3m10s 185ms 14 988 2m58s 180ms 15 583 1m44s 179ms 16 396 1m10s 178ms 17 86 16s394ms 190ms 18 102 23s829ms 233ms 19 224 49s887ms 222ms 20 315 1m14s 236ms 21 52 12s551ms 241ms 22 66 14s277ms 216ms -
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" = '8914475')) 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 (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) 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: 2024-12-01 20:45:17 Duration: 433ms
-
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" = '9159936')) 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 (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) 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: 2024-12-01 20:45:03 Duration: 429ms
-
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" = '9068978')) 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 (9)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (9))))) 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: 2024-12-01 20:44:58 Duration: 396ms
13 161ms 240ms 181ms 3,451 10m26s 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 #13
Day Hour Count Duration Avg duration Dec 01 05 598 1m44s 175ms 06 157 27s764ms 176ms 07 234 39s625ms 169ms 08 29 4s977ms 171ms 09 549 1m38s 179ms 10 218 41s113ms 188ms 11 205 38s987ms 190ms 12 180 33s614ms 186ms 13 739 2m16s 184ms 14 409 1m16s 185ms 15 119 21s551ms 181ms 22 14 3s29ms 216ms -
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" = '8935160')) 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, 95, 128, 83, 112)))) 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, 95, 128, 83, 112))))) 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, 95, 128, 83, 112))))) 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: 2024-12-01 13:08:24 Duration: 240ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '8713055')) 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, 95, 128, 83, 112)))) 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, 95, 128, 83, 112))))) 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, 95, 128, 83, 112))))) 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: 2024-12-01 14:26:34 Duration: 239ms
-
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" = '8998207')) 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, 95, 128, 83, 112)))) 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, 95, 128, 83, 112))))) 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, 95, 128, 83, 112))))) 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: 2024-12-01 11:20:28 Duration: 227ms
14 156ms 227ms 171ms 11,781 33m35s 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 #14
Day Hour Count Duration Avg duration Dec 01 00 1,564 4m25s 169ms 01 1,468 4m10s 170ms 02 1,643 4m39s 169ms 03 1,087 3m4s 170ms 04 1,802 5m7s 170ms 05 2,179 6m14s 172ms 06 1,230 3m31s 172ms 07 747 2m8s 171ms 22 61 13s309ms 218ms -
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" = '9105482')) 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: 2024-12-01 22:45:00 Duration: 227ms
-
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" = '9175117')) 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: 2024-12-01 22:44:48 Duration: 225ms
-
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" = '9105484')) 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: 2024-12-01 22:45:00 Duration: 225ms
15 120ms 874ms 140ms 5,968 13m59s 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 #15
Day Hour Count Duration Avg duration Dec 01 00 6 779ms 129ms 02 5 660ms 132ms 06 20 2s596ms 129ms 08 94 12s341ms 131ms 09 348 47s675ms 136ms 10 798 1m53s 142ms 11 1,209 2m54s 144ms 12 1,181 2m46s 141ms 13 535 1m16s 142ms 14 446 1m2s 139ms 15 540 1m12s 133ms 16 187 25s427ms 135ms 17 288 39s147ms 135ms 18 67 9s637ms 143ms 19 69 10s354ms 150ms 20 70 11s774ms 168ms 21 92 12s7ms 130ms 22 13 1s694ms 130ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 52)) 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: 2024-12-01 20:44:53 Duration: 874ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 52)) 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: 2024-12-01 20:45:08 Duration: 537ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 73)) 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: 2024-12-01 20:47:13 Duration: 285ms
16 64ms 507ms 82ms 22,854 31m21s select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 01 03 8 672ms 84ms 04 20 1s716ms 85ms 05 75 6s130ms 81ms 06 183 14s958ms 81ms 07 221 18s196ms 82ms 08 648 51s140ms 78ms 09 2,501 3m18s 79ms 10 2,114 2m56s 83ms 11 1,748 2m28s 84ms 12 2,422 3m24s 84ms 13 1,953 2m44s 84ms 14 3,118 4m17s 82ms 15 2,619 3m30s 80ms 16 1,101 1m28s 80ms 17 1,240 1m43s 83ms 18 1,499 2m4s 82ms 19 714 1m1s 85ms 20 403 31s452ms 78ms 21 158 11s988ms 75ms 22 109 8s190ms 75ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7744490)) AND (("cash_track"."id" not in (5168454, 5168455, 5168455)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-01 20:42:07 Duration: 507ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7738117)) AND (("cash_track"."id" not in (5123645, 5123752, 5162894, 5167377, 5167382, 5167382)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-01 19:57:33 Duration: 268ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7743059)) AND (("cash_track"."id" not in (5157593)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-01 17:22:28 Duration: 237ms
17 32ms 190ms 42ms 62,229 44m select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) order by "collection_policy"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 01 00 36 1s452ms 40ms 01 20 791ms 39ms 02 1 38ms 38ms 03 13 519ms 39ms 04 16 645ms 40ms 05 33 1s356ms 41ms 06 27 1s108ms 41ms 07 47 1s930ms 41ms 08 1,824 1m12s 39ms 09 6,034 4m6s 40ms 10 7,670 5m23s 42ms 11 5,895 4m10s 42ms 12 6,306 4m26s 42ms 13 8,458 5m57s 42ms 14 5,674 3m59s 42ms 15 6,790 4m40s 41ms 16 3,992 2m44s 41ms 17 4,601 3m21s 43ms 18 3,125 2m28s 47ms 19 874 43s194ms 49ms 20 524 25s537ms 48ms 21 192 8s839ms 46ms 22 77 3s479ms 45ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3129494) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-12-01 20:44:41 Duration: 190ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3130269) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-12-01 19:57:20 Duration: 188ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3129500) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-12-01 20:45:09 Duration: 180ms
18 29ms 81ms 37ms 28,022 17m37s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 01 08 826 29s177ms 35ms 09 3,307 2m 36ms 10 3,452 2m8s 37ms 11 3,156 2m1s 38ms 12 2,322 1m27s 37ms 13 4,264 2m41s 37ms 14 2,762 1m45s 38ms 15 3,221 1m59s 37ms 16 1,745 1m4s 36ms 17 1,784 1m9s 38ms 18 1,183 49s669ms 41ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 3026073) ORDER BY "collection_policy"."id";
Date: 2024-12-01 10:58:24 Duration: 81ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2709735) ORDER BY "collection_policy"."id";
Date: 2024-12-01 12:52:06 Duration: 76ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2740114) ORDER BY "collection_policy"."id";
Date: 2024-12-01 10:51:14 Duration: 69ms
19 26ms 204ms 36ms 157,493 1h36m8s select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 01 00 3,220 1m47s 33ms 01 3,262 1m48s 33ms 02 2,218 1m14s 33ms 03 1,983 1m6s 33ms 04 1,999 1m7s 33ms 05 3,420 1m55s 33ms 06 2,953 1m39s 33ms 07 1,943 1m6s 34ms 08 3,525 1m59s 34ms 09 8,591 5m2s 35ms 10 13,408 8m2s 36ms 11 14,839 9m 36ms 12 15,298 9m11s 36ms 13 12,731 7m38s 35ms 14 10,292 6m9s 35ms 15 9,229 5m24s 35ms 16 7,331 4m15s 34ms 17 7,947 4m59s 37ms 18 9,991 6m40s 40ms 19 7,774 5m28s 42ms 20 7,589 5m21s 42ms 21 6,264 4m4s 38ms 22 1,686 1m1s 36ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3129481, 3126793, 3126659, 3125973)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-01 19:57:20 Duration: 204ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3163292)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-01 20:43:28 Duration: 157ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3163340)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-01 20:43:28 Duration: 157ms
20 0ms 5m27s 22ms 30,912 11m35s update "policy_number" set "done" = true, "write_date" = ?, "write_uid" = ? where id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 01 00 1,618 349ms 0ms 01 1,469 293ms 0ms 02 1,184 293ms 0ms 03 441 104ms 0ms 04 912 173ms 0ms 05 1,839 363ms 0ms 06 766 140ms 0ms 07 435 86ms 0ms 08 42 10ms 0ms 09 115 32ms 0ms 10 139 42ms 0ms 11 351 92ms 0ms 12 203 61ms 0ms 13 564 144ms 0ms 14 458 122ms 0ms 15 730 181ms 0ms 16 1,940 439ms 0ms 17 2,102 498ms 0ms 18 3,167 807ms 0ms 19 4,000 10m5s 151ms 20 3,345 21s994ms 6ms 21 3,603 1m3s 17ms 22 1,489 305ms 0ms -
UPDATE "policy_number" SET "done" = true, "write_date" = '2024-12-01 18:00:26.798559', "write_uid" = 868 WHERE id IN (41284409);
Date: 2024-12-01 19:05:55 Duration: 5m27s
-
UPDATE "policy_number" SET "done" = true, "write_date" = '2024-12-01 17:56:42.731026', "write_uid" = 868 WHERE id IN (41284409);
Date: 2024-12-01 19:01:05 Duration: 4m21s
-
UPDATE "policy_number" SET "done" = true, "write_date" = '2024-12-01 20:16:45.039550', "write_uid" = 1086 WHERE id IN (41119375);
Date: 2024-12-01 21:17:49 Duration: 1m2s
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,495,104 Log entries
Events distribution
Key values
- 0 PANIC entries
- 182 FATAL entries
- 170 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 148 Max number of times the same event was reported
- 352 Total events found
Rank Times reported Error 1 148 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Dec 01 00 3 01 4 02 3 03 1 04 6 05 3 06 1 07 1 08 1 09 9 10 8 11 11 12 2 13 12 14 7 15 8 16 2 17 6 18 26 19 21 20 10 21 3 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: update shipping_policy set count_search=2 where id=3123249
Date: 2024-12-01 00:13:40
Statement: update shipping_policy set count_search=2 where id=3117949
Date: 2024-12-01 00:21:04
Statement: update shipping_policy set count_search=2 where id=3125211
Date: 2024-12-01 00:54:38
2 113 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Dec 01 17 113 3 20 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #3
Day Hour Count Dec 01 17 20 4 20 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #4
Day Hour Count Dec 01 10 1 12 12 13 4 14 1 18 1 19 1 5 14 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #5
Day Hour Count Dec 01 03 1 09 3 10 2 12 4 15 4 - ERROR: null value in column "code" of relation "res_country_state" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (4328, 65, 973, 973, بني سويف, null, 2024-12-01 02:36:38.81063, 2024-12-01 02:36:38.81063).
Statement: INSERT INTO "res_country_state" ("country_id", "create_date", "create_uid", "name", "write_date", "write_uid") VALUES (65, '2024-12-01 02:36:38.810630', 973, 'بني سويف', '2024-12-01 02:36:38.810630', 973) RETURNING "id"Date: 2024-12-01 03:36:38
Detail: Failing row contains (5406039, null, 825, 825, null, روبست, null, null, t, 2024-12-01 08:28:02.739832, 2024-12-01 08:28:02.739832, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-12-01 08:28:02.739832', 825, 'روبست', '2024-12-01 08:28:02.739832', 825) RETURNING "id"Date: 2024-12-01 09:28:02
Detail: Failing row contains (5406041, null, 825, 825, null, ناين ويست, null, null, t, 2024-12-01 08:30:36.591929, 2024-12-01 08:30:36.591929, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-12-01 08:30:36.591929', 825, 'ناين ويست', '2024-12-01 08:30:36.591929', 825) RETURNING "id"Date: 2024-12-01 09:30:36
6 9 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Dec 01 03 3 09 3 16 3 - FATAL: password authentication failed for user "postgres"
Detail: User "postgres" has no password assigned. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2024-12-01 03:36:25
7 8 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #7
Day Hour Count Dec 01 17 8 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (2866032)) ORDER BY "shipping_track"."id"
Date: 2024-12-01 17:20:02
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3152615)) AND (("shipping_track"."id" not in (25740785, 25742325, 25742325)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2024-12-01 17:20:02
8 4 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #8
Day Hour Count Dec 01 07 1 11 1 18 1 21 1 9 3 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #9
Day Hour Count Dec 01 11 1 18 1 21 1 10 3 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Dec 01 01 1 13 1 17 1 - ERROR: syntax error at or near ")" at character 163
- ERROR: syntax error at or near ")" at character 164
- ERROR: syntax error at or near ")" at character 157
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 ('8991792',)
Date: 2024-12-01 01:33:32
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 ('8314194.',)
Date: 2024-12-01 13:49:59
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 ('ر',)
Date: 2024-12-01 17:17:44
11 3 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #11
Day Hour Count Dec 01 11 1 18 1 21 1 12 2 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #12
Day Hour Count Dec 01 14 2 - ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 196321 waits for ShareLock on transaction 620658; blocked by process 3599. Process 3599 waits for ShareLock on transaction 620667; blocked by process 196321. Process 196321: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-12-01 13:21:29.719353', "write_uid" = 1113 WHERE id IN (2685564, 2685517, 2682943, 2681907, 2681433, 2681144, 2681142, 2677168, 2670473, 2665049, 2663997, 2655904, 2651991, 2651796, 2651100, 2649461, 2647705, 2647684, 2640425, 2633398, 2626870, 2619844, 2616482, 2593826, 2593737, 2590649, 2586624, 2584487, 2576723, 2576122, 2509732, 2460041, 2387297, 2352913) Process 3599: update shipping_policy set count_search=3 where id=2387297
Context: while updating tuple (66331,5) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-12-01 13:21:29.719353', "write_uid" = 1113 WHERE id IN (2685564, 2685517, 2682943, 2681907, 2681433, 2681144, 2681142, 2677168, 2670473, 2665049, 2663997, 2655904, 2651991, 2651796, 2651100, 2649461, 2647705, 2647684, 2640425, 2633398, 2626870, 2619844, 2616482, 2593826, 2593737, 2590649, 2586624, 2584487, 2576723, 2576122, 2509732, 2460041, 2387297, 2352913)Date: 2024-12-01 14:21:32
Detail: Process 196321 waits for ShareLock on transaction 620658; blocked by process 3599. Process 3599 waits for ShareLock on transaction 620678; blocked by process 196321. Process 196321: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-12-01 13:21:33.269624', "write_uid" = 1113 WHERE id IN (2685564, 2685517, 2682943, 2681907, 2681433, 2681144, 2681142, 2677168, 2670473, 2665049, 2663997, 2655904, 2651991, 2651796, 2651100, 2649461, 2647705, 2647684, 2640425, 2633398, 2626870, 2619844, 2616482, 2593826, 2593737, 2590649, 2586624, 2584487, 2576723, 2576122, 2509732, 2460041, 2387297, 2352913) Process 3599: update shipping_policy set count_search=4 where id=2352913
Context: while updating tuple (49715,21) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-12-01 13:21:33.269624', "write_uid" = 1113 WHERE id IN (2685564, 2685517, 2682943, 2681907, 2681433, 2681144, 2681142, 2677168, 2670473, 2665049, 2663997, 2655904, 2651991, 2651796, 2651100, 2649461, 2647705, 2647684, 2640425, 2633398, 2626870, 2619844, 2616482, 2593826, 2593737, 2590649, 2586624, 2584487, 2576723, 2576122, 2509732, 2460041, 2387297, 2352913)Date: 2024-12-01 14:21:35
13 2 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #13
Day Hour Count Dec 01 17 2 - ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3152615)) AND (("shipping_track"."id" not in (25740785, 25742325, 25742325)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2024-12-01 17:20:02
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (2866032)) ORDER BY "shipping_track"."id"Date: 2024-12-01 17:20:02
14 1 FATAL: unsupported frontend protocol 16.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #14
Day Hour Count Dec 01 02 1 15 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #15
Day Hour Count Dec 01 17 1 16 1 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #16
Day Hour Count Dec 01 14 1