-
Global information
- Generated on Thu Feb 13 23:47:31 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 43,666,471 log entries in 2m30s
- Log start from 2025-02-13 00:00:00 to 2025-02-13 22:45:01
-
Overview
Global Stats
- 18,096 Number of unique normalized queries
- 18,508,525 Number of queries
- 5d2h50m59s Total query duration
- 2025-02-13 00:00:00 First query
- 2025-02-13 22:45:01 Last query
- 3,350 queries/s at 2025-02-13 14:10:17 Query peak
- 5d2h50m59s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 5d2h50m59s Execute total duration
- 586 Number of events
- 19 Number of unique normalized events
- 333 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
- 18,508,525 Average queries per session
- 5d2h50m59s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 3,350 queries/s Query Peak
- 2025-02-13 14:10:17 Date
SELECT Traffic
Key values
- 1,969 queries/s Query Peak
- 2025-02-13 17:22:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,387 queries/s Query Peak
- 2025-02-13 14:10:17 Date
Queries duration
Key values
- 5d2h50m59s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 13 00 233,926 0ms 2s376ms 25ms 2m52s 3m5s 3m45s 01 266,271 0ms 2s489ms 35ms 4m11s 4m48s 5m6s 02 226,056 0ms 3m9s 41ms 4m15s 5m1s 6m23s 03 199,868 0ms 1s375ms 36ms 3m27s 3m58s 4m29s 04 230,978 0ms 1s501ms 43ms 4m59s 5m25s 6m9s 05 230,206 0ms 1s904ms 40ms 4m14s 4m30s 5m11s 06 258,341 0ms 1s629ms 33ms 3m45s 3m52s 4m42s 07 205,313 0ms 2s102ms 29ms 2m51s 3m40s 4m56s 08 399,031 0ms 6s960ms 18ms 3m55s 5m31s 7m6s 09 1,067,109 0ms 1m22s 20ms 9m7s 10m45s 13m13s 10 1,445,866 0ms 2m44s 17ms 10m31s 11m3s 17m15s 11 1,531,588 0ms 50s441ms 26ms 17m11s 20m51s 27m17s 12 1,642,487 0ms 46s213ms 14ms 8m58s 9m50s 10m36s 13 1,550,958 0ms 17s873ms 19ms 11m54s 13m53s 22m50s 14 1,551,518 0ms 52s371ms 16ms 10m33s 11m54s 17m47s 15 1,616,075 0ms 7m23s 22ms 14m58s 17m2s 17m19s 16 1,301,721 0ms 6m44s 22ms 11m34s 12m46s 14m53s 17 1,123,862 0ms 2m17s 23ms 11m40s 13m3s 14m3s 18 961,703 0ms 2m5s 20ms 9m 10m11s 10m37s 19 953,745 0ms 2m39s 40ms 22m11s 23m 24m7s 20 744,255 0ms 4s648ms 32ms 12m24s 13m32s 14m27s 21 504,745 0ms 4m2s 36ms 7m59s 9m29s 12m11s 22 262,903 0ms 7s161ms 30ms 3m55s 4m18s 5m8s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 13 00 126,762 0 47ms 2m32s 2m51s 3m12s 01 141,406 0 65ms 3m25s 4m10s 5m3s 02 117,315 0 78ms 3m32s 3m59s 5m 03 98,545 0 74ms 2m42s 3m27s 4m13s 04 114,744 0 86ms 3m46s 4m58s 5m40s 05 115,150 0 81ms 3m41s 4m14s 4m41s 06 136,493 0 62ms 3m15s 3m44s 4m28s 07 109,754 0 54ms 2m25s 2m51s 3m48s 08 232,670 0 31ms 2m38s 3m54s 6m46s 09 630,304 0 34ms 7m45s 9m6s 12m37s 10 823,532 0 30ms 9m6s 10m29s 11m27s 11 854,710 0 46ms 13m42s 17m9s 24m 12 966,943 0 25ms 8m29s 8m57s 10m15s 13 895,488 0 33ms 9m44s 11m52s 21m58s 14 984,483 0 25ms 9m11s 10m32s 13m23s 15 1,015,080 0 35ms 13m7s 14m52s 17m13s 16 733,556 0 39ms 9m58s 11m25s 12m58s 17 661,155 0 39ms 10m11s 11m28s 13m16s 18 569,052 0 34ms 7m15s 8m59s 10m28s 19 557,182 0 69ms 17m58s 22m9s 23m15s 20 443,463 0 53ms 9m56s 12m23s 13m59s 21 298,776 0 61ms 7m9s 7m58s 9m28s 22 154,840 0 52ms 3m30s 3m55s 5m7s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 13 00 17,181 4,032 80 0 0ms 111ms 140ms 172ms 01 27,594 5,005 89 0 0ms 144ms 194ms 230ms 02 25,339 5,273 69 0 6ms 148ms 189ms 246ms 03 20,703 4,231 70 0 0ms 112ms 148ms 210ms 04 24,470 6,157 80 0 0ms 135ms 176ms 250ms 05 24,331 5,842 75 0 0ms 131ms 161ms 254ms 06 20,867 5,574 97 0 0ms 113ms 133ms 171ms 07 14,999 3,226 93 0 0ms 96ms 121ms 170ms 08 18,459 4,325 269 0 0ms 105ms 131ms 229ms 09 56,052 13,738 801 0 1ms 332ms 416ms 783ms 10 76,410 17,419 638 0 0ms 480ms 555ms 909ms 11 97,679 21,065 1,024 0 1ms 664ms 797ms 1s466ms 12 81,885 16,026 833 0 0ms 447ms 548ms 690ms 13 81,551 17,849 777 0 0ms 515ms 634ms 7s299ms 14 68,999 19,393 958 0 1ms 419ms 569ms 32s370ms 15 81,816 21,801 1,003 0 6ms 516ms 639ms 1m12s 16 86,868 22,692 825 1 6ms 505ms 687ms 1m15s 17 65,217 21,573 726 0 1ms 499ms 560ms 849ms 18 58,383 13,967 623 0 0ms 404ms 507ms 625ms 19 78,373 21,508 587 0 1ms 634ms 830ms 17s156ms 20 62,732 10,599 451 0 0ms 369ms 483ms 658ms 21 54,251 10,387 284 0 4ms 346ms 424ms 507ms 22 24,919 4,489 128 0 0ms 192ms 222ms 289ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Feb 13 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Feb 13 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s Day Hour Count Average Duration Average idle time Feb 13 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
- 120,872 buffers Checkpoint Peak
- 2025-02-13 13:36:27 Date
- 270.054 seconds Highest write time
- 0.595 seconds Sync time
Checkpoints Wal files
Key values
- 45 files Wal files usage Peak
- 2025-02-13 13:36:27 Date
Checkpoints distance
Key values
- 1,446.49 Mo Distance Peak
- 2025-02-13 13:36:27 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Feb 13 00 94,071 3,234.598s 0.033s 3,234.678s 01 145,830 3,239.541s 0.035s 3,239.619s 02 126,998 3,239.609s 0.03s 3,239.68s 03 131,945 3,239.537s 0.026s 3,239.609s 04 155,236 3,239.569s 0.039s 3,239.665s 05 140,563 3,239.51s 0.034s 3,239.585s 06 153,071 3,239.597s 0.037s 3,239.682s 07 107,197 3,138.497s 0.025s 3,138.56s 08 140,303 3,239.552s 0.031s 3,239.634s 09 358,168 3,239.551s 0.051s 3,239.669s 10 496,236 3,239.532s 0.045s 3,239.67s 11 628,810 3,239.471s 0.071s 3,239.661s 12 610,161 3,239.464s 0.078s 3,239.645s 13 652,059 3,239.39s 0.088s 3,239.571s 14 574,651 3,239.515s 0.059s 3,239.678s 15 491,550 3,239.418s 0.062s 3,239.579s 16 476,326 3,239.574s 0.061s 3,239.712s 17 295,847 2,885.089s 0.076s 2,885.243s 18 273,588 3,239.621s 0.046s 3,239.733s 19 318,884 3,239.443s 0.066s 3,239.591s 20 332,152 3,239.512s 0.052s 3,239.642s 21 219,455 3,239.501s 0.044s 3,239.603s 22 95,823 2,429.694s 0.619s 2,430.348s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 13 00 0 0 63 3,320 0.003s 0.012s 01 0 0 65 3,261 0.003s 0.012s 02 0 0 60 2,781 0.002s 0.012s 03 0 0 61 2,733 0.002s 0.012s 04 0 0 76 2,794 0.011s 0.012s 05 0 0 65 2,847 0.008s 0.012s 06 0 0 72 2,585 0.010s 0.012s 07 0 0 51 2,614 0.002s 0.012s 08 0 0 60 3,282 0.002s 0.012s 09 0 0 155 4,847 0.002s 0.012s 10 0 0 225 5,355 0.003s 0.012s 11 0 0 289 5,380 0.003s 0.012s 12 0 0 278 5,350 0.003s 0.012s 13 0 0 287 5,551 0.002s 0.012s 14 0 0 225 5,666 0.003s 0.012s 15 0 0 228 5,531 0.003s 0.012s 16 0 0 215 5,629 0.002s 0.012s 17 0 0 130 5,365 0.015s 0.012s 18 0 0 123 5,289 0.002s 0.012s 19 0 0 142 5,242 0.015s 0.012s 20 0 0 150 5,102 0.002s 0.012s 21 0 0 99 4,817 0.002s 0.012s 22 0 0 41 3,089 0.038s 0.01s Day Hour Count Avg time (sec) Feb 13 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Feb 13 00 85,908.83 kB 231,851.33 kB 01 89,408.58 kB 128,660.08 kB 02 82,251.58 kB 120,876.17 kB 03 82,337.08 kB 112,517.00 kB 04 104,425.58 kB 128,801.08 kB 05 88,021.50 kB 121,990.08 kB 06 98,105.92 kB 114,794.83 kB 07 69,683.42 kB 120,539.67 kB 08 81,910.58 kB 113,518.25 kB 09 212,206.83 kB 254,856.17 kB 10 307,842.08 kB 346,695.58 kB 11 398,491.73 kB 437,793.27 kB 12 379,306.83 kB 460,034.00 kB 13 390,677.50 kB 556,135.00 kB 14 307,273.75 kB 465,409.00 kB 15 303,074.55 kB 371,186.73 kB 16 293,904.50 kB 360,157.67 kB 17 177,152.42 kB 241,473.58 kB 18 168,013.67 kB 225,563.42 kB 19 194,706.33 kB 222,648.08 kB 20 201,384.73 kB 280,127.45 kB 21 135,302.17 kB 199,150.92 kB 22 74,077.78 kB 129,023.89 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Feb 13 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Feb 13 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 10,781,403 Total read queries
- 5,275,856 Total write queries
Queries by database
Key values
- unknown Main database
- 18,508,525 Requests
- 5d2h50m59s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 18,508,525 Requests
User Request type Count Duration unknown Total 18,508,525 5d2h50m59s copy from 1 1ms cte 19,990 5s2ms ddl 83 12ms delete 10,580 1m9s insert 1,169,078 6m30s others 2,451,266 2m38s select 10,781,403 5d1h55m25s tcl 3,799,953 2m42s update 276,171 42m28s Duration by user
Key values
- 5d2h50m59s (unknown) Main time consuming user
User Request type Count Duration unknown Total 18,508,525 5d2h50m59s copy from 1 1ms cte 19,990 5s2ms ddl 83 12ms delete 10,580 1m9s insert 1,169,078 6m30s others 2,451,266 2m38s select 10,781,403 5d1h55m25s tcl 3,799,953 2m42s update 276,171 42m28s Queries by host
Key values
- unknown Main host
- 18,508,525 Requests
- 5d2h50m59s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 18,508,525 Requests
- 5d2h50m59s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-02-13 08:08:04 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 17,038,233 0-1ms duration
Slowest individual queries
Rank Duration Query 1 7m23s update shipping_policy set d_date = '2025-02-13' where id = 5130803;[ Date: 2025-02-13 15:40:51 ]
2 6m44s UPDATE "shipping_policy" SET "write_date" = '2025-02-13 15:02:45.366653', "write_uid" = 1077 WHERE id IN (5156305);[ Date: 2025-02-13 16:10:17 ]
3 4m2s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-13 20:24:19.053934', "write_uid" = 973 WHERE id IN (44484208);[ Date: 2025-02-13 21:28:23 ]
4 3m9s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-13 01:26:45.981629', "write_uid" = 970 WHERE id IN (44592411);[ Date: 2025-02-13 02:29:57 ]
5 2m44s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 12, 23)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-13 10:39:13 ]
6 2m39s SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%3%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-13 19:27:01 ]
7 2m32s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-13 19:25:43 ]
8 2m30s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-13 19:26:51 ]
9 2m17s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-13 17:36:29 ]
10 2m6s UPDATE "shipping_policy" SET "write_date" = '2025-02-13 14:59:29.691838', "write_uid" = 1077 WHERE id IN (5117796);[ Date: 2025-02-13 16:02:44 ]
11 2m5s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-13 18:29:09 ]
12 1m22s UPDATE "shipping_policy" SET "client_delivery_button" = false, "collection_amount_receive" = '85', "total_collection_amount" = true, "write_date" = '2025-02-13 16:05:27.063498', "write_uid" = 835 WHERE id IN (5301214, 5300747, 5298883, 5298503, 5293515, 5289725, 5283844, 5281526, 5280301, 5276971, 5275909, 5272526, 5270734, 5270569, 5262852, 5209843, 5008910);[ Date: 2025-02-13 17:07:28 ]
13 1m22s UPDATE "shipping_policy" SET "edit_cash_button" = false, "new_destination_button" = false, "return_button" = true, "state" = 'wating', "total_collection_amount" = true, "wating_date" = '2025-02-13', "wating_reason" = '.', "write_date" = '2025-02-13 08:57:01.023598', "write_uid" = 934 WHERE id IN (5337250);[ Date: 2025-02-13 09:58:23 ]
14 1m15s UPDATE "shipping_policy" SET "archive_date" = '2025-02-13', "state" = 'archive', "write_date" = '2025-02-13 14:58:14.625026', "write_uid" = 1083 WHERE id IN (5270195, 5097624, 5121572, 5149497, 5173881, 5185184, 5186551, 5195206, 5203172, 5207209, 5207223, 5208223, 5209258, 5209407, 5209653, 5211430, 5211844, 5213558, 5214076, 5214326, 5214997, 5215103, 5218182, 5218264, 5218545, 5219016, 5219347, 5221213, 5221998, 5223582, 5223603, 5225342, 5228402, 5231654, 5231686, 5231691, 5231700, 5231708, 5231726, 5235798, 5235810, 5235928, 5263338, 5263366, 5266949, 5266954, 5266957, 5268211, 5236603, 5236892, 5237346, 5237347, 5237696, 5237766, 5237954, 5238123, 5238518, 5238617, 5238663, 5239091, 5239160, 5239753, 5239877, 5240020, 5240258, 5241138, 5241249, 5242014, 5242863, 5242947, 5242969, 5243011, 5243162, 5243348, 5243517, 5243524, 5243898, 5244392, 5244749, 5244775, 5245024, 5246030, 5246792, 5247221, 5247277, 5247279, 5247650, 5247655, 5247728, 5248185, 5248198, 5248444, 5249399, 5249571, 5249869, 5250139, 5250597, 5251664, 5252269, 5252558, 5252610, 5252865, 5253221, 5253258, 5254215, 5255365, 5255564, 5255664, 5256106, 5256215, 5256593, 5256756, 5257741, 5257769, 5257780, 5257784, 5257788, 5257849, 5257911, 5257925, 5257937, 5257939, 5257959, 5259368, 5260446, 5260613, 5260614, 5261177, 5261397, 5263113, 5263137, 5244148);[ Date: 2025-02-13 16:01:46 ]
15 1m12s UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-02-13 14:14:53.631142', "write_uid" = 1077 WHERE id IN (5265610, 5265602, 5265593, 5265512, 5265301, 5264869, 5264828, 5264747, 5264191, 5263755, 5263158, 5262374, 5260225, 5255343, 5255049, 5254982, 5253409, 5248159, 5248067, 5247702, 5247201, 5241773, 5239107, 5237038, 5231265, 5228909, 5228504, 5223664, 5222838, 5209856, 5193085, 5154766, 5010034, 5267218, 5265573, 5265530, 5265522, 5265519, 5265494, 5265482, 5264884, 5264831, 5264733, 5262939, 5261800, 5260424, 5260291, 5260116, 5260084, 5259448, 5256702, 5255363, 5255102, 5255098, 5254263, 5252887, 5252230, 5250208, 5249513, 5249312, 5248224, 5245657, 5245360, 5245169, 5244872, 5244511, 5244008, 5243122, 5241157, 5240472, 5240072, 5239064, 5238722, 5237207, 5237165, 5226025, 5197844, 5149558, 5137652, 5130803, 5094805, 5024645, 5013816, 4908907, 5252495, 5265685, 5263899, 5252994, 5252744, 5247195, 5244014, 5206513, 5063461, 5265587, 5265577, 5265555, 5265551, 5265501, 5264915, 5264902, 5264853, 5264837, 5264805, 5264768, 5264755, 5264730, 5264052, 5260479, 5260276, 5253312, 5252424, 5249099, 5242528, 5235274, 5234355, 5212780, 5204270, 5204123, 5202549, 5130951, 5078850, 4846111, 4846083, 4494105, 5269166, 5266551, 5256174, 5252852, 5246561, 5245152, 5244420, 5231309, 5181705, 5265608, 5265507, 5265490, 5264857, 5264855, 5261040, 5260359, 5259400, 5255383, 5254271, 5246095, 5242626, 5241112, 5237819, 5231329, 5204237, 5202105, 5252463, 5265465, 5258479, 5255430, 5254351, 5253327, 5251882, 5245630, 5245209, 5236488, 5226068, 5215426, 5214837, 5195817, 5030863, 5265604, 5265527, 5265439, 5264906, 5263443, 5263059, 5260611, 5259902, 5259447, 5258227, 5255202, 5255096, 5253338, 5252462, 5245479, 5245469, 5245147, 5244882, 5242223, 5239782, 5237823, 5237748, 5237433, 5235174, 5234336, 5227178, 5225560, 5225476, 5222116, 5221567, 5221082, 5210525, 5205469, 5164426, 5267997, 5265572, 5265521, 5265518, 5265492, 5265477, 5265464, 5264910, 5264849, 5264846, 5264811, 5264802, 5264784, 5264759, 5256680, 5255354, 5253253, 5252316, 5251391, 5249275, 5248027, 5244508, 5244267, 5237010, 5236876, 5234307, 5167549, 5264867, 5264865, 5264746, 5264724, 5263881, 5260077, 5258736, 5257906, 5252825, 5248991, 5248500, 5248260, 5245702, 5234364, 5222957, 5221705, 5219369, 5201354, 5197410, 5174407, 5168812, 5051885, 4956426, 5267230, 5265305, 5263493, 5260352, 5258546, 5255361, 5252682, 5251888, 5248294, 5246688, 5244080, 5243232, 5221551, 5221187, 5170881, 5308832, 5265601, 5265594, 5265586, 5265570, 5265569, 5265541, 5265510, 5265483, 5264912, 5264878, 5264793, 5263817, 5262411, 5260113, 5260086, 5258440, 5258146, 5256019, 5255986, 5255262, 5254802, 5252792, 5252645, 5252480, 5251794, 5251781, 5249906, 5249352, 5248253, 5248235, 5246049, 5245651, 5245550, 5243581, 5242923, 5242675, 5242176, 5241167, 5241148, 5241001, 5240996, 5237565, 5237439, 5237069, 5236801, 5236589, 5236576, 5235899, 5234431, 5233821, 5231304, 5230427, 5229796, 5221521, 5216253, 5207910, 5167530, 5143408, 5122005, 5033778, 4684327, 5267011, 5256852, 5249999, 5246981, 5242793, 5237008, 5223725, 5204717, 5193781, 5174965, 5117001, 5057429, 5265595, 5261966, 5260082, 5254257, 5253336, 5253152, 5251788, 5247134, 5246666, 5242890, 5241774, 5238416, 5236620, 5235755, 5235286, 5226961, 5172361, 5167310, 5115764, 5255725, 5242707, 5242681, 5235056, 5248390, 5245543, 5029525, 4660291, 5267023, 5265542, 5265481, 5265478, 5265418, 5264742, 5263857, 5263855, 5263827, 5263417, 5263369, 5262915, 5260216, 5259862, 5259366, 5258466, 5252527, 5251053, 5250879, 5250869, 5250354, 5249355, 5248876, 5247051, 5245466, 5245407, 5244322, 5243349, 5243314, 5240840, 5240588, 5240493, 5239221, 5238345, 5238081, 5237242, 5237024, 5236968, 5236829, 5235843, 5234270, 5224468, 5196215, 5192801, 5192311, 5190004, 5187341, 5172270, 5167999, 4806780, 5252582, 5252489, 5223034, 5308834, 5265466, 5260083, 5258410, 5255945, 5255800, 5255152, 5252891, 5252456, 5252229, 5251839, 5248967, 5248499, 5248486, 5248409, 5247032, 5246990, 5245626, 5241941, 5240791, 5239824, 5239812, 5239378, 5239329, 5239196, 5234262, 5226992, 5225519, 5221448, 5212992, 5209629, 5175889, 5165104, 5264880, 5264873, 5264863, 5264773, 5262775, 5260449, 5259218, 5253956, 5253905, 5252696, 5249907, 5249214, 5248514, 5245770, 5245689, 5242779, 5242644, 5241414, 5240145, 5240036, 5240034, 5240032, 5240017, 5238233, 5226935, 5225555, 5223670, 5222524, 5222476, 5217436, 5197239, 5156380, 5156305, 5155621, 5154593, 5154451, 5124584, 5117796, 4728498, 5310650, 5270141, 5267017, 5265618, 5265592, 5265533, 5265504, 5265487, 5265474, 5264900, 5264892, 5260591, 5260300, 5260098, 5260085, 5259110, 5258604, 5256556, 5255222, 5253324, 5253266, 5252605, 5252446, 5251395, 5247899, 5247706, 5247467, 5245806, 5245525, 5245189, 5242098, 5241266, 5241088, 5240528, 5238811, 5237820, 5237814, 5236698, 5236581, 5234264, 5225531, 5215033, 5212974, 5210605, 5210456, 5207854, 5204703, 5190009, 5186504, 5167968, 5307482, 5252224);[ Date: 2025-02-13 15:16:46 ]
16 1m11s update shipping_policy set d_date = '2025-02-13' where id = 5285968;[ Date: 2025-02-13 15:41:21 ]
17 1m UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-02-13 14:50:35.263061', "write_uid" = 1083 WHERE id IN (5252865, 5246030, 5238617, 5237696, 5097624, 5214076, 5263366, 5263338, 5263137, 5261397, 5261177, 5260614, 5260613, 5260446, 5257959, 5257939, 5257925, 5257788, 5257784, 5257780, 5257769, 5257741, 5256756, 5256215, 5254215, 5252558, 5250139, 5248198, 5248185, 5245521, 5242863, 5240020, 5235798, 5231726, 5231691, 5231654, 5228402, 5223603, 5219347, 5219016, 5214326, 5211844, 5209653, 5186551, 5266957, 5263113, 5259368, 5255365, 5251664, 5249399, 5231686, 5209258, 5195206, 5266949, 5257937, 5256106, 5255664, 5253221, 5252610, 5249869, 5248444, 5247728, 5247277, 5246792, 5245024, 5244749, 5243898, 5243524, 5242947, 5241138, 5239877, 5239091, 5238663, 5237954, 5237766, 5237347, 5237346, 5235928, 5235810, 5231700, 5225342, 5223582, 5221213, 5218545, 5218182, 5215103, 5231708, 5207223, 5185184, 5173881, 5149497, 5252269, 5247221, 5243517, 5242969, 5242014, 5214997, 5239160, 5238518, 5208223, 5218264, 5207209, 5270195, 5266954, 5268211, 5256593, 5255564, 5240258, 5243011, 5241249, 5238123, 5236892, 5221998, 5213558, 5211430, 5257849, 5250597, 5249571, 5247655, 5121572, 5247279, 5244775, 5244392, 5243348, 5243162, 5247650, 5257911, 5253258, 5239753, 5236603, 5209407, 5203172);[ Date: 2025-02-13 15:51:45 ]
18 55s247ms update shipping_policy set count_search = 2 where id = 5241249;[ Date: 2025-02-13 16:03:22 ]
19 54s284ms SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%4%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-13 17:35:08 ]
20 52s371ms UPDATE "shipping_policy" SET "client_date" = '2025-02-13', "client_delivery_button" = true, "edit_cash_button" = false, "receive_man_id" = 'توزيع الغردقة13/2/2025', "return_button" = true, "state" = 'client_receive', "write_date" = '2025-02-13 13:48:14.804380', "write_uid" = 846 WHERE id IN (5310635, 5309127, 5306581, 5306443, 5300316, 5300116, 5298569, 5298554, 5298545, 5298536, 5298194, 5297663, 5296649, 5296625, 5296617, 5296439, 5296410, 5295480, 5295056, 5294631, 5293737, 5293722, 5293719, 5293713, 5293699, 5293690, 5293684, 5293634, 5293631, 5292377, 5291718, 5291468, 5291370, 5291366, 5290417, 5289463, 5287822, 5287411, 5284908, 5284625, 5284350, 5284266, 5284264, 5283758, 5283286, 5282743, 5281180, 5279454, 5278889, 5278753, 5277680, 5277066, 5275913, 5275860, 5275549, 5275467, 5274870, 5274723, 5274117, 5272945, 5270590, 5270567, 5270492, 5270279, 5269369, 5269315, 5268851, 5268746, 5268276, 5266507);[ Date: 2025-02-13 14:51:51 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2d12h17m12s 293,761 567ms 6s790ms 738ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 13 00 4,483 48m40s 651ms 01 8,767 1h33m56s 642ms 02 8,018 1h27m3s 651ms 03 7,482 1h18m34s 630ms 04 9,708 1h43m38s 640ms 05 8,151 1h27m5s 641ms 06 7,363 1h18m11s 637ms 07 5,670 59m39s 631ms 08 6,289 1h6m46s 637ms 09 15,006 3h23s 721ms 10 15,546 3h12m31s 743ms 11 23,283 5h39m26s 874ms 12 17,302 3h30m15s 729ms 13 18,326 4h1m14s 789ms 14 14,681 3h34s 737ms 15 21,858 4h57m32s 816ms 16 16,448 3h28m8s 759ms 17 12,225 2h29m43s 734ms 18 12,491 2h23m52s 691ms 19 20,653 5h4m28s 884ms 20 20,225 4h5m6s 727ms 21 14,458 2h41m55s 672ms 22 5,328 58m23s 657ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5342885)) AND (("shipping_track"."id" not in (44262346, 44262346)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 11:18:40 Duration: 6s790ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5355398)) AND (("shipping_track"."id" not in (44402573, 44402573)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 19:34:57 Duration: 6s715ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5355543)) AND (("shipping_track"."id" not in (44403900, 44403900)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 19:37:51 Duration: 6s675ms
2 15h21m53s 144,915 277ms 2s775ms 381ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 13 00 1,395 6m58s 300ms 01 1,782 8m59s 302ms 02 1,888 9m34s 304ms 03 2,237 11m14s 301ms 04 4,086 20m50s 306ms 05 3,808 19m16s 303ms 06 4,003 20m16s 303ms 07 2,107 10m37s 302ms 08 3,385 17m45s 314ms 09 9,213 53m7s 346ms 10 8,252 49m33s 360ms 11 11,311 1h20m20s 426ms 12 5,474 32m7s 352ms 13 7,647 47m10s 370ms 14 12,699 1h20m3s 378ms 15 17,778 1h59m11s 402ms 16 10,190 1h3m28s 373ms 17 16,418 1h42m58s 376ms 18 1,687 9m38s 343ms 19 17,671 2h28m39s 504ms 20 1,076 5m52s 327ms 21 567 2m56s 311ms 22 241 1m13s 304ms -
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" = '359405')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:19:05 Duration: 2s775ms
-
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" = '9975450')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 19:46:44 Duration: 2s747ms
-
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" = '9830313')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:18:54 Duration: 2s745ms
3 10h43m31s 49,301 564ms 6s196ms 783ms select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 13 00 108 1m17s 713ms 01 621 6m43s 649ms 02 132 1m35s 724ms 03 152 1m50s 728ms 04 174 2m10s 751ms 05 183 2m12s 723ms 06 233 2m39s 684ms 07 260 2m54s 669ms 08 928 10m14s 662ms 09 3,606 44m19s 737ms 10 3,469 44m10s 764ms 11 5,181 1h24m3s 973ms 12 4,571 57m9s 750ms 13 4,600 1h3m2s 822ms 14 4,217 52m9s 742ms 15 3,360 48m21s 863ms 16 3,761 48m14s 769ms 17 3,410 41m6s 723ms 18 3,092 34m14s 664ms 19 2,940 46m15s 944ms 20 2,425 28m21s 701ms 21 1,309 14m27s 662ms 22 569 5m58s 630ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5355564, 5355561, 5355557, 5355554, 5355551, 5355548, 5355545, 5355541, 5355538, 5355535, 5355532, 5355529, 5355525, 5355521, 5355516, 5355513, 5355508, 5355502, 5355498, 5355491, 5355480, 5355474, 5355468, 5355460, 5355457, 5355451, 5355446, 5355438, 5355436, 5355428, 5355423, 5355420, 5355417, 5355411, 5355408, 5355404, 5355398, 5355394, 5355389, 5355385, 5355379, 5355375, 5355371, 5355368, 5355363, 5355360, 5355357, 5355352, 5355347, 5355342)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 19:43:40 Duration: 6s196ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5339663, 5338317, 5338293, 5338260, 5338200, 5337079, 5335878, 5335683, 5334497, 5334038, 5332540, 5332537, 5332035, 5328400, 5327847, 5327736, 5327560, 5326819, 5326047, 5325800, 5325340, 5324316, 5323831, 5322559, 5322498, 5322047, 5320485, 5319860, 5319113, 5318220, 5317424, 5316391, 5315144, 5314871, 5313449, 5313335, 5313330, 5308098, 5297916, 5274429)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 11:18:54 Duration: 6s151ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5328876, 5328586, 5325041, 5320241, 5314423, 5301478, 5297489)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 11:29:59 Duration: 6s148ms
4 7h1m38s 20,491 850ms 3s27ms 1s234ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 13 00 806 16m16s 1s211ms 01 439 8m13s 1s125ms 02 1,252 23m24s 1s121ms 03 630 11m48s 1s124ms 04 678 12m48s 1s133ms 05 1,194 22m27s 1s128ms 06 775 14m47s 1s144ms 07 456 8m30s 1s118ms 08 85 1m31s 1s77ms 09 163 3m34s 1s314ms 10 743 15m33s 1s256ms 11 42 1m5s 1s556ms 12 129 2m49s 1s316ms 13 248 6m5s 1s473ms 14 292 6m56s 1s426ms 15 490 12m17s 1s505ms 16 1,060 22m36s 1s280ms 17 1,134 23m16s 1s231ms 18 2,453 49m56s 1s221ms 19 1,998 46m49s 1s406ms 20 1,691 37m4s 1s315ms 21 1,888 37m41s 1s197ms 22 1,845 36m 1s171ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '308163')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-13 19:35:41 Duration: 3s27ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '308175')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-13 19:35:13 Duration: 2s983ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '309608')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-13 19:34:34 Duration: 2s974ms
5 4h38m13s 65,206 92ms 917ms 256ms select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 13 00 2,596 9m8s 211ms 01 2,592 9m27s 219ms 02 3,500 12m48s 219ms 03 1,398 5m19s 228ms 04 1,570 6m2s 231ms 05 2,360 8m50s 224ms 06 1,542 6m9s 239ms 07 914 3m23s 223ms 08 234 39s698ms 169ms 09 402 1m34s 235ms 10 1,600 7m43s 289ms 11 108 41s179ms 381ms 12 249 1m5s 261ms 13 1,203 5m21s 266ms 14 1,114 5m26s 292ms 15 1,468 7m17s 298ms 16 4,352 19m29s 268ms 17 5,824 25m24s 261ms 18 7,332 31m54s 261ms 19 5,914 30m25s 308ms 20 6,527 29m33s 271ms 21 7,905 31m52s 241ms 22 4,502 18m34s 247ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'علي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-13 17:05:08 Duration: 917ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'ياسر')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-13 17:05:08 Duration: 916ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'ياسر')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-13 19:54:20 Duration: 892ms
6 3h57m29s 12,565 239ms 2s925ms 1s134ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 13 00 522 8m25s 969ms 01 879 15m5s 1s30ms 02 508 7m53s 932ms 03 77 1m18s 1s20ms 04 115 1m49s 951ms 07 4 4s243ms 1s60ms 08 35 43s262ms 1s236ms 09 41 42s569ms 1s38ms 10 99 1m54s 1s152ms 11 19 28s883ms 1s520ms 12 6 7s518ms 1s253ms 13 369 7m56s 1s290ms 14 279 6m3s 1s301ms 15 262 5m40s 1s300ms 16 1,135 22m44s 1s202ms 17 1,814 34m39s 1s146ms 18 1,272 25m8s 1s185ms 19 1,011 21m39s 1s285ms 20 1,600 31m12s 1s170ms 21 2,091 36m44s 1s54ms 22 427 7m7s 1s -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '269748')) 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 (113))))))) 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 (113)))))) 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 (113)))))) 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 (113))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-13 11:18:31 Duration: 2s925ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '373995')) 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 (41))))))) 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 (41)))))) 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 (41)))))) 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 (41))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-13 19:35:18 Duration: 2s865ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '373855')) 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 (41))))))) 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 (41)))))) 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 (41)))))) 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 (41))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-13 19:34:43 Duration: 2s832ms
7 3h46m21s 28,678 300ms 3s462ms 473ms select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 13 07 260 1m35s 365ms 08 1,159 7m34s 392ms 09 3,532 25m56s 440ms 10 2,741 20m39s 452ms 11 4,103 37m19s 545ms 12 2,028 14m50s 439ms 13 3,546 28m58s 490ms 14 3,175 24m3s 454ms 15 4,120 34m57s 508ms 16 2,776 21m14s 458ms 17 1,238 9m13s 446ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '330883')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:11:21 Duration: 3s462ms
-
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" = '279735')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:18:41 Duration: 3s349ms
-
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" = '266921')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:18:44 Duration: 3s206ms
8 2h47m49s 167,601 41ms 488ms 60ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 13 00 2,132 1m51s 52ms 01 4,363 3m50s 52ms 02 2,723 2m24s 53ms 03 3,487 3m3s 52ms 04 3,276 2m53s 52ms 05 2,747 2m24s 52ms 06 2,020 1m46s 52ms 07 1,894 1m40s 53ms 08 4,073 3m40s 54ms 09 10,428 10m18s 59ms 10 11,744 11m54s 60ms 11 17,060 20m13s 71ms 12 14,029 14m1s 60ms 13 13,750 14m45s 64ms 14 11,157 11m13s 60ms 15 11,360 12m38s 66ms 16 11,564 11m51s 61ms 17 7,970 7m34s 56ms 18 7,644 6m39s 52ms 19 8,834 9m38s 65ms 20 6,657 6m8s 55ms 21 6,041 5m6s 50ms 22 2,648 2m9s 48ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5280391, 5280388, 5275412, 5272440, 5269492, 5258694, 5221267, 5212194)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-13 09:49:53 Duration: 488ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5335041, 5329384, 5328986, 5317709, 5301229, 5283370, 5281933)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-13 19:35:42 Duration: 465ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5310621, 5309054, 5290390, 5290389, 5246048, 5212513)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-13 15:35:15 Duration: 446ms
9 1h31m50s 15,705 280ms 2s567ms 350ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 13 00 528 2m38s 300ms 01 249 1m15s 301ms 02 109 33s945ms 311ms 03 41 12s290ms 299ms 04 348 1m47s 308ms 05 68 20s545ms 302ms 06 646 3m18s 306ms 07 1,458 7m21s 303ms 08 1,017 5m13s 308ms 09 1,655 9m33s 346ms 10 1,895 11m9s 353ms 11 1,663 12m42s 458ms 12 962 5m40s 353ms 13 967 5m54s 366ms 14 813 5m3s 372ms 15 392 2m35s 396ms 16 873 5m13s 358ms 17 612 3m44s 367ms 18 280 1m32s 328ms 19 219 1m16s 349ms 20 110 34s614ms 314ms 21 567 2m57s 312ms 22 233 1m11s 305ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '507697')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:26:46 Duration: 2s567ms
-
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" = '299732')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:18:24 Duration: 2s447ms
-
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" = '454612')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:19:15 Duration: 2s364ms
10 1h10m22s 59,458 49ms 401ms 71ms select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 13 08 1,819 1m47s 58ms 09 6,896 7m34s 65ms 10 5,162 6m2s 70ms 11 5,274 7m11s 81ms 12 4,768 5m26s 68ms 13 5,829 6m54s 71ms 14 6,753 7m36s 67ms 15 10,909 13m49s 76ms 16 9,326 10m50s 69ms 17 2,603 3m 69ms 18 96 6s386ms 66ms 22 23 1s407ms 61ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5200905) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:18:33 Duration: 401ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3886702) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:18:54 Duration: 401ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3782908) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:19:01 Duration: 400ms
11 1h7m33s 2,643 122ms 5s221ms 1s533ms select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 13 00 7 6s857ms 979ms 01 3 5s735ms 1s911ms 07 3 4s160ms 1s386ms 08 30 39s336ms 1s311ms 09 92 1m37s 1s56ms 10 265 5m38s 1s278ms 11 253 7m15s 1s719ms 12 447 10m24s 1s398ms 13 352 9m2s 1s540ms 14 304 8m8s 1s607ms 15 302 8m12s 1s630ms 16 205 5m19s 1s559ms 17 116 3m28s 1s799ms 18 95 2m38s 1s664ms 19 90 2m22s 1s587ms 20 53 1m44s 1s979ms 21 18 34s17ms 1s889ms 22 8 10s124ms 1s265ms -
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 (85)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-13 19:40:58 Duration: 5s221ms
-
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 (75)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (75))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-13 11:20:54 Duration: 4s762ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-13 17:22:03 Duration: 4s446ms
12 53m34s 21,967 103ms 920ms 146ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 13 08 132 16s558ms 125ms 09 873 2m3s 141ms 10 2,263 5m8s 136ms 11 2,384 6m50s 172ms 12 2,577 5m51s 136ms 13 2,410 6m1s 149ms 14 2,454 5m41s 139ms 15 2,455 6m21s 155ms 16 2,964 6m55s 140ms 17 1,066 2m28s 138ms 18 781 1m38s 125ms 19 815 2m36s 191ms 20 364 48s242ms 132ms 21 356 44s534ms 125ms 22 73 8s623ms 118ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8136495)) AND (("cash_track"."id" not in (8067889)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-13 11:17:43 Duration: 920ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8136510)) AND (("cash_track"."id" not in (8067906)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-13 11:18:22 Duration: 905ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8136535)) AND (("cash_track"."id" not in (8067940)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-13 11:19:13 Duration: 900ms
13 48m52s 14,528 161ms 256ms 201ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 13 00 867 2m47s 193ms 01 1,519 5m5s 200ms 02 1,713 5m45s 201ms 03 2,145 7m6s 198ms 04 2,869 9m47s 204ms 05 3,193 10m49s 203ms 06 2,214 7m27s 202ms 22 8 1s594ms 199ms -
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" = '413536')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 04:12:26 Duration: 256ms
-
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" = '508350')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 04:42:07 Duration: 255ms
-
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" = '508259')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 04:42:10 Duration: 249ms
14 33m20s 2,854 476ms 2s406ms 700ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 13 05 2 1s80ms 540ms 09 69 40s779ms 591ms 10 685 7m42s 675ms 11 438 5m27s 747ms 12 542 6m8s 679ms 13 613 7m28s 731ms 14 104 1m13s 706ms 15 138 1m39s 723ms 16 201 2m18s 688ms 17 50 31s835ms 636ms 18 12 7s915ms 659ms -
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" = '375419')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-13 13:10:27 Duration: 2s406ms
-
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" = '375417')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-13 13:10:23 Duration: 2s356ms
-
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" = '239168')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-13 13:10:30 Duration: 2s27ms
15 28m16s 26,589 44ms 318ms 63ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 13 08 926 49s251ms 53ms 09 3,542 3m28s 58ms 10 2,614 2m42s 62ms 11 3,499 4m4s 69ms 12 2,448 2m30s 61ms 13 2,473 2m40s 64ms 14 3,609 3m38s 60ms 15 4,034 4m43s 70ms 16 2,196 2m20s 63ms 17 1,248 1m18s 62ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5225893) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:18:23 Duration: 318ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5299979) ORDER BY "collection_policy"."id";
Date: 2025-02-13 13:09:34 Duration: 314ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5268518) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:17:38 Duration: 313ms
16 23m45s 3,623 281ms 2s731ms 393ms 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 #16
Day Hour Count Duration Avg duration Feb 13 03 37 11s342ms 306ms 05 3 1s32ms 344ms 06 488 2m29s 306ms 07 128 38s590ms 301ms 09 576 3m21s 350ms 10 169 59s61ms 349ms 11 2,037 15m 442ms 12 185 1m3s 344ms -
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" = '408767')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:19:05 Duration: 2s731ms
-
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" = '408855')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:18:06 Duration: 2s655ms
-
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" = '446097')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:18:50 Duration: 2s525ms
17 21m1s 337 357ms 9s11ms 3s742ms 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 #17
Day Hour Count Duration Avg duration Feb 13 09 2 8s54ms 4s27ms 10 7 28s313ms 4s44ms 11 16 1m15s 4s699ms 12 49 2m59s 3s662ms 13 7 27s452ms 3s921ms 14 8 31s92ms 3s886ms 15 13 52s113ms 4s8ms 16 20 1m17s 3s852ms 17 68 4m1s 3s552ms 18 33 1m55s 3s486ms 19 33 2m26s 4s427ms 20 22 1m21s 3s706ms 21 47 2m40s 3s425ms 22 12 37s59ms 3s88ms -
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 (26))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))))) AND ("policy_number"."name"::text ilike '%113887%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-13 11:11:28 Duration: 9s11ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119))))))) 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 (119)))))) 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 (119)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119)))))) 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 (119))))))))) 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 (119)))))))) AND ("policy_number"."name"::text ilike '%425008%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-13 16:20:10 Duration: 7s212ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))))) 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 (73)))))) 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 (73)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73)))))) 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 (73))))))))) 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 (73)))))))) AND ("policy_number"."name"::text ilike '%417%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-13 19:47:08 Duration: 6s384ms
18 20m8s 175 352ms 2m39s 6s908ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 13 08 6 15s291ms 2s548ms 09 4 22s754ms 5s688ms 10 3 27s248ms 9s82ms 11 24 3m34s 8s946ms 13 3 9s585ms 3s195ms 15 1 7s914ms 7s914ms 16 16 1m33s 5s816ms 17 38 3m32s 5s595ms 18 27 2m56s 6s529ms 19 43 6m28s 9s40ms 21 9 33s589ms 3s732ms 22 1 7s161ms 7s161ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%3%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-13 19:27:01 Duration: 2m39s
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%4%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-13 17:35:08 Duration: 54s284ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%4%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-13 18:27:54 Duration: 49s390ms
19 19m8s 6,271 121ms 1s283ms 183ms 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 #19
Day Hour Count Duration Avg duration Feb 13 00 3 407ms 135ms 01 65 8s739ms 134ms 06 10 1s321ms 132ms 07 10 1s352ms 135ms 08 45 5s949ms 132ms 09 306 50s452ms 164ms 10 759 2m5s 165ms 11 1,340 5m25s 243ms 12 1,037 2m44s 158ms 13 889 2m34s 173ms 14 461 1m14s 160ms 15 343 1m5s 189ms 16 304 52s847ms 173ms 17 148 23s893ms 161ms 18 254 36s475ms 143ms 19 108 31s273ms 289ms 20 97 14s7ms 144ms 21 60 8s533ms 142ms 22 32 4s260ms 133ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 70)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-13 11:18:24 Duration: 1s283ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 19)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-13 11:18:44 Duration: 1s237ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 17)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-13 11:18:24 Duration: 1s218ms
20 14m45s 2,360 289ms 1s890ms 375ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 13 05 2 605ms 302ms 10 398 2m20s 352ms 11 439 2m55s 398ms 12 541 3m14s 359ms 13 613 4m1s 393ms 14 104 39s2ms 375ms 16 201 1m13s 367ms 17 50 16s755ms 335ms 18 12 3s998ms 333ms -
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" = '270086')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-13 13:10:37 Duration: 1s890ms
-
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" = '9986486')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-13 13:09:03 Duration: 1s822ms
-
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" = '153635')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-13 13:09:29 Duration: 1s428ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,451,068 2m38s 0ms 4ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 13 00 36,227 1s846ms 0ms 01 38,360 2s92ms 0ms 02 33,226 1s802ms 0ms 03 32,486 1s777ms 0ms 04 36,032 2s44ms 0ms 05 35,749 1s999ms 0ms 06 38,689 2s182ms 0ms 07 31,176 1s778ms 0ms 08 56,536 3s237ms 0ms 09 140,145 9s166ms 0ms 10 200,920 13s511ms 0ms 11 212,547 15s594ms 0ms 12 220,251 14s655ms 0ms 13 215,194 14s540ms 0ms 14 186,406 12s235ms 0ms 15 193,752 13s906ms 0ms 16 181,452 12s327ms 0ms 17 146,897 8s526ms 0ms 18 125,522 7s309ms 0ms 19 115,043 7s555ms 0ms 20 87,680 5s424ms 0ms 21 55,569 3s293ms 0ms 22 31,209 1s803ms 0ms -
DISCARD ALL;
Date: 2025-02-13 10:57:55 Duration: 4ms
-
DISCARD ALL;
Date: 2025-02-13 15:31:24 Duration: 3ms
-
DISCARD ALL;
Date: 2025-02-13 10:40:53 Duration: 3ms
2 1,899,975 32s812ms 0ms 2ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 13 00 24,684 385ms 0ms 01 26,766 433ms 0ms 02 22,368 366ms 0ms 03 21,901 357ms 0ms 04 24,726 407ms 0ms 05 24,523 398ms 0ms 06 28,280 447ms 0ms 07 23,005 373ms 0ms 08 43,238 663ms 0ms 09 112,402 1s856ms 0ms 10 163,172 2s677ms 0ms 11 172,117 3s405ms 0ms 12 177,312 2s840ms 0ms 13 169,527 2s868ms 0ms 14 143,618 2s332ms 0ms 15 149,655 2s733ms 0ms 16 137,922 2s307ms 0ms 17 113,436 1s918ms 0ms 18 96,381 1s642ms 0ms 19 89,989 1s935ms 0ms 20 69,106 1s295ms 0ms 21 42,381 755ms 0ms 22 23,466 410ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-13 11:05:01 Duration: 2ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-13 14:36:47 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-13 16:08:50 Duration: 1ms
3 1,243,915 14s818ms 0ms 1ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 13 00 18,776 178ms 0ms 01 19,820 201ms 0ms 02 17,198 169ms 0ms 03 16,796 163ms 0ms 04 18,585 191ms 0ms 05 18,457 186ms 0ms 06 19,968 204ms 0ms 07 16,152 161ms 0ms 08 29,060 295ms 0ms 09 71,100 832ms 0ms 10 101,576 1s209ms 0ms 11 107,413 1s458ms 0ms 12 111,171 1s316ms 0ms 13 108,508 1s336ms 0ms 14 94,194 1s116ms 0ms 15 98,122 1s297ms 0ms 16 91,473 1s85ms 0ms 17 74,293 869ms 0ms 18 63,614 700ms 0ms 19 58,413 793ms 0ms 20 44,598 543ms 0ms 21 28,477 329ms 0ms 22 16,151 176ms 0ms -
ROLLBACK;
Date: 2025-02-13 20:50:30 Duration: 1ms
-
ROLLBACK;
Date: 2025-02-13 15:36:18 Duration: 0ms
-
ROLLBACK;
Date: 2025-02-13 04:36:17 Duration: 0ms
4 1,237,420 3m56s 0ms 18ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 13 00 18,169 2s811ms 0ms 01 19,256 3s292ms 0ms 02 16,614 2s829ms 0ms 03 16,247 2s747ms 0ms 04 18,010 3s167ms 0ms 05 17,892 3s111ms 0ms 06 19,372 3s313ms 0ms 07 15,604 2s610ms 0ms 08 28,493 4s690ms 0ms 09 70,861 12s999ms 0ms 10 101,707 18s210ms 0ms 11 107,831 21s730ms 0ms 12 111,658 19s717ms 0ms 13 108,872 19s862ms 0ms 14 94,147 16s796ms 0ms 15 97,746 19s93ms 0ms 16 91,485 16s619ms 0ms 17 74,005 15s289ms 0ms 18 63,291 13s155ms 0ms 19 58,051 14s537ms 0ms 20 44,290 10s179ms 0ms 21 28,003 6s208ms 0ms 22 15,816 3s303ms 0ms -
SELECT payload FROM http_sessions WHERE sid = '2b0dd9555e873ff13e5cc9ec7ff6b1fadb3ce015';
Date: 2025-02-13 18:53:47 Duration: 18ms
-
SELECT payload FROM http_sessions WHERE sid = 'dfca2bbd08b5563c50104ce5983c2754965686ec';
Date: 2025-02-13 16:57:32 Duration: 16ms
-
SELECT payload FROM http_sessions WHERE sid = 'b1ce038250a025118d54c63d336323f3773bde9e';
Date: 2025-02-13 12:11:12 Duration: 16ms
5 1,225,132 2m1s 0ms 3ms 0ms select base_registry_signaling.last_value, base_cache_signaling.last_value from base_registry_signaling, base_cache_signaling;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 13 00 18,153 1s517ms 0ms 01 19,227 1s721ms 0ms 02 16,672 1s467ms 0ms 03 16,303 1s414ms 0ms 04 18,053 1s651ms 0ms 05 17,922 1s593ms 0ms 06 19,371 1s729ms 0ms 07 15,633 1s386ms 0ms 08 28,247 2s489ms 0ms 09 70,024 6s795ms 0ms 10 100,392 9s686ms 0ms 11 106,224 11s380ms 0ms 12 110,047 10s500ms 0ms 13 107,556 10s626ms 0ms 14 93,017 8s953ms 0ms 15 96,635 10s124ms 0ms 16 90,745 8s882ms 0ms 17 73,388 7s540ms 0ms 18 62,726 6s212ms 0ms 19 57,517 6s569ms 0ms 20 43,860 4s562ms 0ms 21 27,797 2s731ms 0ms 22 15,623 1s484ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-13 11:19:29 Duration: 3ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-13 11:18:18 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-13 11:24:39 Duration: 2ms
6 656,058 1m54s 0ms 51ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 13 00 5,908 835ms 0ms 01 6,948 1s245ms 0ms 02 5,169 1s93ms 0ms 03 5,103 1s149ms 0ms 04 6,144 1s364ms 0ms 05 6,066 1s349ms 0ms 06 8,312 1s484ms 0ms 07 6,853 1s5ms 0ms 08 14,178 1s852ms 0ms 09 41,299 6s442ms 0ms 10 61,590 9s407ms 0ms 11 64,704 12s918ms 0ms 12 66,145 10s945ms 0ms 13 61,017 11s17ms 0ms 14 49,428 8s322ms 0ms 15 51,522 9s738ms 0ms 16 46,453 7s769ms 0ms 17 39,139 6s210ms 0ms 18 32,780 5s148ms 0ms 19 31,566 6s609ms 0ms 20 24,512 4s616ms 0ms 21 13,910 2s844ms 0ms 22 7,312 1s227ms 0ms -
COMMIT;
Date: 2025-02-13 13:09:48 Duration: 51ms
-
COMMIT;
Date: 2025-02-13 11:17:41 Duration: 42ms
-
COMMIT;
Date: 2025-02-13 20:07:44 Duration: 39ms
7 549,580 45s244ms 0ms 2ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" from "urgent_office" where "urgent_office".id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 13 00 4,470 273ms 0ms 01 5,444 342ms 0ms 02 3,318 212ms 0ms 03 3,373 207ms 0ms 04 3,434 226ms 0ms 05 3,427 229ms 0ms 06 5,824 333ms 0ms 07 5,992 350ms 0ms 08 10,890 672ms 0ms 09 33,488 2s690ms 0ms 10 51,416 3s999ms 0ms 11 53,298 5s367ms 0ms 12 55,785 4s385ms 0ms 13 52,057 4s417ms 0ms 14 41,466 3s502ms 0ms 15 43,955 4s468ms 0ms 16 39,601 3s247ms 0ms 17 33,961 2s738ms 0ms 18 29,193 1s928ms 0ms 19 28,427 2s630ms 0ms 20 22,795 1s797ms 0ms 21 12,124 844ms 0ms 22 5,842 377ms 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 (51, 24, 52, 110, 6, 22, 115, 36, 5);
Date: 2025-02-13 19:35:48 Duration: 2ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (22);
Date: 2025-02-13 11:12:26 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 (3);
Date: 2025-02-13 10:39:00 Duration: 1ms
8 545,469 1m27s 0ms 5ms 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 #8
Day Hour Count Duration Avg duration Feb 13 00 5,157 663ms 0ms 01 6,487 877ms 0ms 02 5,465 688ms 0ms 03 4,538 633ms 0ms 04 5,086 725ms 0ms 05 5,376 722ms 0ms 06 6,984 974ms 0ms 07 5,977 903ms 0ms 08 10,304 1s445ms 0ms 09 35,841 6s36ms 0ms 10 53,995 8s850ms 0ms 11 54,378 10s970ms 0ms 12 54,184 8s510ms 0ms 13 49,389 8s146ms 0ms 14 36,528 5s374ms 0ms 15 38,689 6s831ms 0ms 16 38,655 5s972ms 0ms 17 32,668 4s881ms 0ms 18 28,389 3s772ms 0ms 19 26,530 4s686ms 0ms 20 21,880 3s345ms 0ms 21 12,133 1s486ms 0ms 22 6,836 789ms 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 (5098985, 5108588, 5099010, 5099650, 5100204, 5099013, 5103195, 5099190, 5108789, 5099356, 5099009, 5099224, 5099525, 5099181, 5099119, 5099007, 5099585, 5099264, 5121555, 5100413, 5154740, 5099202, 5103546, 5100070, 5099587, 5106857, 5102774, 5104141, 5099089, 5111905, 5122766, 5100320, 5278160, 5103989, 5099677, 5103853, 5105055, 5108443, 5101364, 5131044, 5103931, 5100881, 5099169, 5106286, 5099687, 5099120, 5505059, 5329078, 5234883, 5109647, 5108670);
Date: 2025-02-13 17:21:58 Duration: 5ms
-
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 (5108929, 5099521, 5099941, 5099590, 5100016, 5344906, 5099194, 5100252, 5099208, 5497937, 5504711, 5103145, 5126175, 5365876, 5105206, 5178614, 5119178, 5309888, 5328679, 5361040, 5178160, 5512636, 5099170, 5099969, 5102697, 5107067, 5102130, 5239245, 5376079, 5099045, 5430871, 5325988, 5141013, 5099321, 5100458, 5112417, 5128092, 5099186, 5503412, 5211465, 5425329, 5130100, 5099403, 5383125, 5467338, 5107230, 5107451, 5100882, 5268958, 5115032, 5423874, 5099359, 5099529, 5100111, 5102295, 5100927, 5475345);
Date: 2025-02-13 17:21:59 Duration: 5ms
-
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 (5099858, 5099277, 5511962, 5099014, 5120834, 5099169, 5100637, 5498781, 5099406, 5099009, 5099006, 5099224, 5099010, 5099013, 5100727, 5099415, 5512552, 5133404, 5099445, 5099540, 5099007, 5099138, 5099190, 5108399, 5099662, 5134271, 5101850, 5099677, 5346605, 5099170, 5099254, 5100607, 5099321, 5102094, 5099422, 5100196, 5101193, 5131999, 5099244, 5414734, 5121315, 5121030, 5099382, 5099296, 5107748, 5099788, 5099525, 5099035, 5512099, 5106468, 5100218, 5510823, 5110151, 5099329, 5102824, 5099181, 5099111, 5100659, 5099356, 5099887, 5099609, 5511940, 5220256, 5100883, 5101941, 5100554, 5099413, 5104678, 5099924, 5370958, 5099037, 5515907, 5100205, 5099008, 5100443, 5099264, 5099045, 5103241, 5250816, 5099285, 5510828, 5513449, 5142109, 5103356, 5510719, 5125136, 5187964, 5099140, 5105007, 5112510, 5099334, 5113291, 5099028, 5099585, 5101130, 5099639, 5439708, 5099631, 5101424, 5101578, 5099046, 5100110, 5103684, 5099720, 5099130, 5113098, 5100528, 5099349, 5099128, 5510965, 5352943, 5100111, 5104173, 5319567, 5103735, 5099027, 5099105, 5101181, 5102822, 5099119, 5100854, 5099102, 5103665, 5099092, 5099725, 5099289, 5155628, 5100181, 5102059, 5107184);
Date: 2025-02-13 17:22:03 Duration: 4ms
9 389,534 2m26s 0ms 19ms 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 #9
Day Hour Count Duration Avg duration Feb 13 00 3,126 955ms 0ms 01 2,975 961ms 0ms 02 1,721 585ms 0ms 03 1,390 468ms 0ms 04 1,172 400ms 0ms 05 1,099 384ms 0ms 06 2,221 743ms 0ms 07 1,687 536ms 0ms 08 8,713 2s772ms 0ms 09 22,396 8s293ms 0ms 10 23,513 8s856ms 0ms 11 20,167 9s128ms 0ms 12 36,752 13s455ms 0ms 13 33,488 13s414ms 0ms 14 55,428 18s984ms 0ms 15 55,502 21s358ms 0ms 16 22,986 8s969ms 0ms 17 25,673 9s543ms 0ms 18 23,533 8s215ms 0ms 19 18,426 8s272ms 0ms 20 14,275 5s262ms 0ms 21 9,441 3s228ms 0ms 22 3,850 1s233ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'daily.movement' 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 = 825) OR r.global) ORDER BY r.id;
Date: 2025-02-13 13:39:51 Duration: 19ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.partner' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1319) OR r.global) ORDER BY r.id;
Date: 2025-02-13 15:26:45 Duration: 3ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.lang' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1066) OR r.global) ORDER BY r.id;
Date: 2025-02-13 17:21:58 Duration: 3ms
10 367,138 1m17s 0ms 12ms 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 #10
Day Hour Count Duration Avg duration Feb 13 00 2,888 480ms 0ms 01 3,316 584ms 0ms 02 2,003 393ms 0ms 03 2,092 405ms 0ms 04 2,378 461ms 0ms 05 2,222 448ms 0ms 06 4,109 704ms 0ms 07 3,681 621ms 0ms 08 9,547 1s491ms 0ms 09 24,629 4s880ms 0ms 10 34,852 7s210ms 0ms 11 34,976 8s876ms 0ms 12 37,953 7s723ms 0ms 13 35,585 7s719ms 0ms 14 28,069 5s729ms 0ms 15 28,593 6s873ms 0ms 16 27,008 5s624ms 0ms 17 23,003 4s852ms 0ms 18 18,197 3s454ms 0ms 19 17,027 4s212ms 0ms 20 13,655 2s894ms 0ms 21 7,113 1s374ms 0ms 22 4,242 709ms 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 (8006427);
Date: 2025-02-13 17:21:58 Duration: 12ms
-
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 (8007763);
Date: 2025-02-13 17:21:58 Duration: 12ms
-
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 (8007802);
Date: 2025-02-13 17:21:58 Duration: 12ms
11 306,484 32s321ms 0ms 3ms 0ms select "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" from "res_users" where "res_users".id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 13 00 2,369 266ms 0ms 01 2,767 309ms 0ms 02 1,716 237ms 0ms 03 1,821 239ms 0ms 04 2,188 284ms 0ms 05 1,894 267ms 0ms 06 3,452 375ms 0ms 07 3,260 352ms 0ms 08 7,189 634ms 0ms 09 20,203 2s 0ms 10 29,916 2s880ms 0ms 11 29,232 3s687ms 0ms 12 31,823 3s83ms 0ms 13 30,080 3s111ms 0ms 14 23,498 2s269ms 0ms 15 24,038 2s815ms 0ms 16 22,334 2s259ms 0ms 17 18,968 1s950ms 0ms 18 14,914 1s359ms 0ms 19 14,212 1s814ms 0ms 20 11,571 1s218ms 0ms 21 5,857 604ms 0ms 22 3,182 297ms 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 (1);
Date: 2025-02-13 17:02:14 Duration: 3ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-02-13 11:18:54 Duration: 3ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-02-13 11:30:52 Duration: 3ms
12 293,761 2d12h17m12s 567ms 6s790ms 738ms 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 #12
Day Hour Count Duration Avg duration Feb 13 00 4,483 48m40s 651ms 01 8,767 1h33m56s 642ms 02 8,018 1h27m3s 651ms 03 7,482 1h18m34s 630ms 04 9,708 1h43m38s 640ms 05 8,151 1h27m5s 641ms 06 7,363 1h18m11s 637ms 07 5,670 59m39s 631ms 08 6,289 1h6m46s 637ms 09 15,006 3h23s 721ms 10 15,546 3h12m31s 743ms 11 23,283 5h39m26s 874ms 12 17,302 3h30m15s 729ms 13 18,326 4h1m14s 789ms 14 14,681 3h34s 737ms 15 21,858 4h57m32s 816ms 16 16,448 3h28m8s 759ms 17 12,225 2h29m43s 734ms 18 12,491 2h23m52s 691ms 19 20,653 5h4m28s 884ms 20 20,225 4h5m6s 727ms 21 14,458 2h41m55s 672ms 22 5,328 58m23s 657ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5342885)) AND (("shipping_track"."id" not in (44262346, 44262346)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 11:18:40 Duration: 6s790ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5355398)) AND (("shipping_track"."id" not in (44402573, 44402573)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 19:34:57 Duration: 6s715ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5355543)) AND (("shipping_track"."id" not in (44403900, 44403900)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 19:37:51 Duration: 6s675ms
13 271,640 54s917ms 0ms 3ms 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 #13
Day Hour Count Duration Avg duration Feb 13 00 2,895 415ms 0ms 01 2,769 398ms 0ms 02 2,081 280ms 0ms 03 1,674 213ms 0ms 04 1,511 209ms 0ms 05 1,524 196ms 0ms 06 2,399 342ms 0ms 07 1,916 272ms 0ms 08 9,197 1s375ms 0ms 09 19,110 3s630ms 0ms 10 17,984 3s345ms 0ms 11 14,269 3s266ms 0ms 12 25,972 5s306ms 0ms 13 21,499 4s627ms 0ms 14 34,622 7s275ms 0ms 15 31,532 7s781ms 0ms 16 14,644 2s863ms 0ms 17 17,528 3s455ms 0ms 18 15,694 2s918ms 0ms 19 12,250 3s66ms 0ms 20 10,128 1s952ms 0ms 21 6,950 1s189ms 0ms 22 3,492 534ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1270 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2025-02-13 15:43:42 Duration: 3ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1364 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_cash_policy' AND name = 'group_change_flag_date' AND model = 'res.groups');
Date: 2025-02-13 13:48:05 Duration: 3ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2025-02-13 15:24:03 Duration: 2ms
14 254,410 1m11s 0ms 12ms 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 #14
Day Hour Count Duration Avg duration Feb 13 00 2,684 675ms 0ms 01 3,070 786ms 0ms 02 2,979 766ms 0ms 03 2,024 547ms 0ms 04 2,237 633ms 0ms 05 2,542 733ms 0ms 06 3,050 837ms 0ms 07 2,567 747ms 0ms 08 4,220 1s102ms 0ms 09 14,214 4s269ms 0ms 10 23,164 6s328ms 0ms 11 22,353 7s748ms 0ms 12 23,702 6s305ms 0ms 13 22,420 5s963ms 0ms 14 17,567 4s256ms 0ms 15 19,491 5s592ms 0ms 16 19,938 4s871ms 0ms 17 16,377 6s58ms 0ms 18 14,141 3s469ms 0ms 19 13,175 4s56ms 0ms 20 10,766 3s70ms 0ms 21 7,611 1s962ms 0ms 22 4,118 968ms 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 (41989274, 32381542, 44593713, 44591753, 44592274, 44605868, 44605839, 32521587, 44529580, 32505552, 32558269, 44544325, 44591627, 44591623, 44514328, 32445572, 32544503, 32452394, 32470001, 32395932, 32489215, 44504382, 32422735, 32566495, 32181318, 32564149, 32459391, 32561526, 32564288, 44538729, 44508747, 32382789, 44517757, 32512601, 32515098, 32384467, 32564096, 32422677, 32380141, 32448975);
Date: 2025-02-13 17:21:58 Duration: 12ms
-
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 (41989274, 32381542, 44593713, 44591753, 44592274, 44605839, 32521587, 44529580, 32505552, 32558269, 44544325, 44591627, 44591623, 44514328, 32445572, 32544503, 32452394, 32470001, 32395932, 32489215, 44504382, 32422735, 32566495, 32181318, 32564149, 32459391, 32561526, 32564288, 44538729, 44508747, 32382789, 44517757, 32512601, 32515098, 32384467, 32564096, 32422677, 32380141, 32448975);
Date: 2025-02-13 17:21:58 Duration: 11ms
-
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (32180420, 32240190, 32360357, 32383760, 32408780, 32433330, 32433841, 32452361, 32496701, 32498822, 32499474, 32509424, 32527953, 32534116, 32552262, 32566383, 32566964, 32567328, 44492828, 44492947, 44503669, 44507876, 44512318, 44517286, 44520111, 44529426, 44529654, 44530158, 44537121, 44538417, 44539069, 44539089, 44539164, 44591160, 44591758, 44593731);
Date: 2025-02-13 17:21:58 Duration: 11ms
15 184,249 20s627ms 0ms 2ms 0ms select "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" from "notebook_package" where "notebook_package".id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 13 00 1,347 101ms 0ms 01 1,752 137ms 0ms 02 1,201 97ms 0ms 03 1,313 106ms 0ms 04 1,433 133ms 0ms 05 1,356 121ms 0ms 06 2,214 187ms 0ms 07 2,000 160ms 0ms 08 3,668 292ms 0ms 09 12,481 1s342ms 0ms 10 19,029 2s176ms 0ms 11 19,147 2s787ms 0ms 12 19,692 1s606ms 0ms 13 17,824 1s784ms 0ms 14 13,145 1s337ms 0ms 15 13,867 1s848ms 0ms 16 13,188 1s711ms 0ms 17 10,776 1s312ms 0ms 18 8,967 705ms 0ms 19 8,562 1s147ms 0ms 20 6,646 815ms 0ms 21 2,935 450ms 0ms 22 1,706 262ms 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: 2025-02-13 17:21:58 Duration: 2ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2025-02-13 13:07:38 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2025-02-13 18:43:40 Duration: 1ms
16 175,386 1m46s 0ms 43ms 0ms select "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" from "shipping_policy" where "shipping_policy".id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 13 00 272 192ms 0ms 01 241 155ms 0ms 02 165 102ms 0ms 03 174 114ms 0ms 04 430 227ms 0ms 05 366 190ms 0ms 06 509 228ms 0ms 07 1,038 480ms 0ms 08 2,748 1s341ms 0ms 09 8,345 4s926ms 0ms 10 12,320 8s92ms 0ms 11 12,104 8s961ms 0ms 12 12,644 8s318ms 0ms 13 14,634 9s735ms 0ms 14 14,019 8s386ms 0ms 15 23,639 14s862ms 0ms 16 11,798 6s976ms 0ms 17 12,877 6s882ms 0ms 18 4,833 2s556ms 0ms 19 22,149 13s357ms 0ms 20 13,541 7s201ms 0ms 21 5,488 2s845ms 0ms 22 1,052 616ms 0ms -
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (1220751, 2826085, 1761967, 1668548, 1354786, 1792279, 1489772, 1742868, 2026377, 3075330, 1830622, 1830452, 1429622, 1830545, 3712854, 1752859, 1957944, 1273797, 1801305, 1789877, 1810835, 1725383, 1710159, 1829106, 1469772, 1882294, 1802115, 1788759, 1573235, 1762660, 2099540, 2267554, 1612649, 1707730, 1740521, 1708525, 1705697, 1259357, 1722984, 1690398, 712346, 1830430, 1881612, 1343545, 1723914, 1748420, 1765301, 1282201, 1728103, 1758715, 1697778, 2338526, 1713548, 1881778, 4381300, 1593075, 1583362, 1762690, 1792621, 1755048, 1762681, 1926124, 2031805, 1762689, 1830560, 1828966, 1985122, 2153066, 2148602, 2195117, 2180359, 2197215, 1792805, 2133479, 2090657, 2121546, 2121804, 2194963, 2073874, 2122405, 2151834, 1835801, 1792914, 1824536, 1656962, 1761961, 1796429, 1614391, 1614445, 1051288, 1755066, 1755067, 1690102, 1668064, 1700082, 1985200, 1829064, 1835957, 1742552, 1692366, 1830572, 1835845, 1197354, 1835948, 1784091, 1470247, 1470108, 1470514, 1470101, 1527320, 1395035, 1333624, 1557444, 1566984, 1527419, 1570652, 1614928, 1792567, 1949042, 1761950, 1989527, 1761502, 1796342, 1830532, 1429773, 1795266, 1792581, 1663802, 1663818, 1830580, 1762713, 1659351, 1569376, 1659352, 1602906, 1794994, 4381411, 1742737, 1698585, 2188291, 1855444, 1527646, 1695496, 1796095, 1473449, 1667922, 2156644, 1836227, 1811418, 1855443, 1532652, 1791194, 1687921, 1555470, 1613776, 1806648, 1827975, 1863455, 1823071, 1767039, 1833132, 1845778, 1799675, 1830017, 1845568, 1742634, 1795264, 1761402, 1849445, 1821573, 1516744, 1857737, 1773716, 1729235, 4815771, 2903709, 4377426, 3866804, 1273804, 1404953, 1337370, 4014278, 1611237, 1835841, 1796418, 1668069, 1796494, 1762769, 2956216, 1705315, 3251915, 3337405, 1527532, 1317742, 1684859, 1638186, 1616555, 1326852, 1391427, 4241368);
Date: 2025-02-13 17:21:59 Duration: 43ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (5115606, 5230074, 5140425, 5197384, 5194792, 5107211, 5142427, 5194789, 5039110, 5230624, 5194451, 5108139, 5196569, 5194809, 5231072, 5194807, 5108013, 5108892, 5197938, 5198249, 5197403, 5197357, 5198260, 4982776, 5197368, 5197401, 5107209, 5143580, 4983003, 5197386, 5197360, 5072110, 5197388, 5194623, 5197941, 5194680, 5194801, 5197399, 4938020, 5107900, 5197917, 5197959, 5107360, 5106563, 5194612, 5108135, 5196387, 5143482, 5038262, 5038243, 5106542, 5140256, 5140421, 5108342, 5108964, 5140263, 4938242, 5194263, 5108939, 5068427, 5106555, 4739576, 5142406, 5137274, 5140266, 5137189, 5142378, 5108140, 5140450, 5140296, 5106721, 5140429, 5108341, 5140497, 4982976, 5106660, 5142435, 5108136, 5140316, 5068994);
Date: 2025-02-13 10:12:17 Duration: 24ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (4889228);
Date: 2025-02-13 15:21:01 Duration: 22ms
17 167,601 2h47m49s 41ms 488ms 60ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 13 00 2,132 1m51s 52ms 01 4,363 3m50s 52ms 02 2,723 2m24s 53ms 03 3,487 3m3s 52ms 04 3,276 2m53s 52ms 05 2,747 2m24s 52ms 06 2,020 1m46s 52ms 07 1,894 1m40s 53ms 08 4,073 3m40s 54ms 09 10,428 10m18s 59ms 10 11,744 11m54s 60ms 11 17,060 20m13s 71ms 12 14,029 14m1s 60ms 13 13,750 14m45s 64ms 14 11,157 11m13s 60ms 15 11,360 12m38s 66ms 16 11,564 11m51s 61ms 17 7,970 7m34s 56ms 18 7,644 6m39s 52ms 19 8,834 9m38s 65ms 20 6,657 6m8s 55ms 21 6,041 5m6s 50ms 22 2,648 2m9s 48ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5280391, 5280388, 5275412, 5272440, 5269492, 5258694, 5221267, 5212194)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-13 09:49:53 Duration: 488ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5335041, 5329384, 5328986, 5317709, 5301229, 5283370, 5281933)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-13 19:35:42 Duration: 465ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5310621, 5309054, 5290390, 5290389, 5246048, 5212513)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-13 15:35:15 Duration: 446ms
18 164,001 11s180ms 0ms 1ms 0ms select "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" from "ir_rule" where "ir_rule".id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 13 00 1,426 73ms 0ms 01 1,289 68ms 0ms 02 707 36ms 0ms 03 560 28ms 0ms 04 447 24ms 0ms 05 407 21ms 0ms 06 961 52ms 0ms 07 755 39ms 0ms 08 3,933 211ms 0ms 09 9,978 657ms 0ms 10 9,892 639ms 0ms 11 7,597 609ms 0ms 12 15,941 1s67ms 0ms 13 13,622 972ms 0ms 14 23,609 1s576ms 0ms 15 22,423 1s726ms 0ms 16 9,337 629ms 0ms 17 11,021 729ms 0ms 18 10,202 625ms 0ms 19 7,836 651ms 0ms 20 6,151 399ms 0ms 21 4,137 244ms 0ms 22 1,770 94ms 0ms -
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (21);
Date: 2025-02-13 11:27:19 Duration: 1ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (89);
Date: 2025-02-13 14:42:56 Duration: 1ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (98, 99);
Date: 2025-02-13 12:56:18 Duration: 1ms
19 157,297 23s500ms 0ms 2ms 0ms select rule_group_rel.rule_group_id, rule_group_rel.group_id from rule_group_rel, "res_groups" where ? = ? and rule_group_rel.rule_group_id in (...) and rule_group_rel.group_id = res_groups.id order by coalesce("res_groups"."name" ->> ?, "res_groups"."name" ->> ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 13 00 1,385 152ms 0ms 01 1,257 140ms 0ms 02 704 76ms 0ms 03 557 59ms 0ms 04 430 48ms 0ms 05 394 43ms 0ms 06 923 108ms 0ms 07 737 80ms 0ms 08 3,854 444ms 0ms 09 9,830 1s418ms 0ms 10 9,559 1s338ms 0ms 11 7,325 1s298ms 0ms 12 15,147 2s212ms 0ms 13 12,973 2s39ms 0ms 14 22,446 3s292ms 0ms 15 21,246 3s708ms 0ms 16 9,148 1s342ms 0ms 17 10,579 1s508ms 0ms 18 9,773 1s265ms 0ms 19 7,576 1s426ms 0ms 20 5,816 815ms 0ms 21 3,898 483ms 0ms 22 1,740 195ms 0ms -
SELECT rule_group_rel.rule_group_id, rule_group_rel.group_id FROM rule_group_rel, "res_groups" WHERE 1 = 1 AND rule_group_rel.rule_group_id IN (99) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-02-13 14:16:11 Duration: 2ms
-
SELECT rule_group_rel.rule_group_id, rule_group_rel.group_id FROM rule_group_rel, "res_groups" WHERE 1 = 1 AND rule_group_rel.rule_group_id IN (2, 10) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-02-13 15:49:49 Duration: 2ms
-
SELECT rule_group_rel.rule_group_id, rule_group_rel.group_id FROM rule_group_rel, "res_groups" WHERE 1 = 1 AND rule_group_rel.rule_group_id IN (96) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-02-13 20:58:28 Duration: 1ms
20 154,227 54s131ms 0ms 15ms 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 #20
Day Hour Count Duration Avg duration Feb 13 00 5,731 1s658ms 0ms 01 6,544 2s110ms 0ms 02 8,869 2s833ms 0ms 03 4,516 1s618ms 0ms 04 5,882 2s256ms 0ms 05 6,881 2s341ms 0ms 06 5,449 2s29ms 0ms 07 3,601 1s374ms 0ms 08 1,345 580ms 0ms 09 1,876 916ms 0ms 10 4,396 1s817ms 0ms 11 2,130 1s381ms 0ms 12 1,464 733ms 0ms 13 3,644 1s673ms 0ms 14 2,646 1s54ms 0ms 15 3,176 1s416ms 0ms 16 9,193 3s342ms 0ms 17 11,758 4s21ms 0ms 18 14,802 4s657ms 0ms 19 11,975 4s650ms 0ms 20 13,389 4s474ms 0ms 21 15,826 4s685ms 0ms 22 9,134 2s503ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 26) AND ("price_list"."to_office_id" = 28)) ORDER BY "price_list"."id";
Date: 2025-02-13 18:03:42 Duration: 15ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 11) AND ("price_list"."to_office_id" = 78)) ORDER BY "price_list"."id";
Date: 2025-02-13 17:42:02 Duration: 3ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 51) AND ("price_list"."to_office_id" = 102)) ORDER BY "price_list"."id";
Date: 2025-02-13 13:04:39 Duration: 2ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 352ms 2m39s 6s908ms 175 20m8s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 13 08 6 15s291ms 2s548ms 09 4 22s754ms 5s688ms 10 3 27s248ms 9s82ms 11 24 3m34s 8s946ms 13 3 9s585ms 3s195ms 15 1 7s914ms 7s914ms 16 16 1m33s 5s816ms 17 38 3m32s 5s595ms 18 27 2m56s 6s529ms 19 43 6m28s 9s40ms 21 9 33s589ms 3s732ms 22 1 7s161ms 7s161ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%3%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-13 19:27:01 Duration: 2m39s
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%4%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-13 17:35:08 Duration: 54s284ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%4%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-13 18:27:54 Duration: 49s390ms
2 357ms 9s11ms 3s742ms 337 21m1s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 13 09 2 8s54ms 4s27ms 10 7 28s313ms 4s44ms 11 16 1m15s 4s699ms 12 49 2m59s 3s662ms 13 7 27s452ms 3s921ms 14 8 31s92ms 3s886ms 15 13 52s113ms 4s8ms 16 20 1m17s 3s852ms 17 68 4m1s 3s552ms 18 33 1m55s 3s486ms 19 33 2m26s 4s427ms 20 22 1m21s 3s706ms 21 47 2m40s 3s425ms 22 12 37s59ms 3s88ms -
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 (26))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))))) AND ("policy_number"."name"::text ilike '%113887%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-13 11:11:28 Duration: 9s11ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119))))))) 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 (119)))))) 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 (119)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119)))))) 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 (119))))))))) 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 (119)))))))) AND ("policy_number"."name"::text ilike '%425008%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-13 16:20:10 Duration: 7s212ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73))))))) 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 (73)))))) 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 (73)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (73)))))) 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 (73))))))))) 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 (73)))))))) AND ("policy_number"."name"::text ilike '%417%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-13 19:47:08 Duration: 6s384ms
3 122ms 5s221ms 1s533ms 2,643 1h7m33s select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 13 00 7 6s857ms 979ms 01 3 5s735ms 1s911ms 07 3 4s160ms 1s386ms 08 30 39s336ms 1s311ms 09 92 1m37s 1s56ms 10 265 5m38s 1s278ms 11 253 7m15s 1s719ms 12 447 10m24s 1s398ms 13 352 9m2s 1s540ms 14 304 8m8s 1s607ms 15 302 8m12s 1s630ms 16 205 5m19s 1s559ms 17 116 3m28s 1s799ms 18 95 2m38s 1s664ms 19 90 2m22s 1s587ms 20 53 1m44s 1s979ms 21 18 34s17ms 1s889ms 22 8 10s124ms 1s265ms -
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 (85)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (85))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-13 19:40:58 Duration: 5s221ms
-
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 (75)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (75))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-13 11:20:54 Duration: 4s762ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-02-13 17:22:03 Duration: 4s446ms
4 850ms 3s27ms 1s234ms 20,491 7h1m38s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 13 00 806 16m16s 1s211ms 01 439 8m13s 1s125ms 02 1,252 23m24s 1s121ms 03 630 11m48s 1s124ms 04 678 12m48s 1s133ms 05 1,194 22m27s 1s128ms 06 775 14m47s 1s144ms 07 456 8m30s 1s118ms 08 85 1m31s 1s77ms 09 163 3m34s 1s314ms 10 743 15m33s 1s256ms 11 42 1m5s 1s556ms 12 129 2m49s 1s316ms 13 248 6m5s 1s473ms 14 292 6m56s 1s426ms 15 490 12m17s 1s505ms 16 1,060 22m36s 1s280ms 17 1,134 23m16s 1s231ms 18 2,453 49m56s 1s221ms 19 1,998 46m49s 1s406ms 20 1,691 37m4s 1s315ms 21 1,888 37m41s 1s197ms 22 1,845 36m 1s171ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '308163')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-13 19:35:41 Duration: 3s27ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '308175')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-13 19:35:13 Duration: 2s983ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '309608')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-13 19:34:34 Duration: 2s974ms
5 239ms 2s925ms 1s134ms 12,565 3h57m29s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 13 00 522 8m25s 969ms 01 879 15m5s 1s30ms 02 508 7m53s 932ms 03 77 1m18s 1s20ms 04 115 1m49s 951ms 07 4 4s243ms 1s60ms 08 35 43s262ms 1s236ms 09 41 42s569ms 1s38ms 10 99 1m54s 1s152ms 11 19 28s883ms 1s520ms 12 6 7s518ms 1s253ms 13 369 7m56s 1s290ms 14 279 6m3s 1s301ms 15 262 5m40s 1s300ms 16 1,135 22m44s 1s202ms 17 1,814 34m39s 1s146ms 18 1,272 25m8s 1s185ms 19 1,011 21m39s 1s285ms 20 1,600 31m12s 1s170ms 21 2,091 36m44s 1s54ms 22 427 7m7s 1s -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '269748')) 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 (113))))))) 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 (113)))))) 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 (113)))))) 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 (113))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-13 11:18:31 Duration: 2s925ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '373995')) 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 (41))))))) 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 (41)))))) 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 (41)))))) 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 (41))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-13 19:35:18 Duration: 2s865ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '373855')) 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 (41))))))) 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 (41)))))) 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 (41)))))) 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 (41))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-13 19:34:43 Duration: 2s832ms
6 564ms 6s196ms 783ms 49,301 10h43m31s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 13 00 108 1m17s 713ms 01 621 6m43s 649ms 02 132 1m35s 724ms 03 152 1m50s 728ms 04 174 2m10s 751ms 05 183 2m12s 723ms 06 233 2m39s 684ms 07 260 2m54s 669ms 08 928 10m14s 662ms 09 3,606 44m19s 737ms 10 3,469 44m10s 764ms 11 5,181 1h24m3s 973ms 12 4,571 57m9s 750ms 13 4,600 1h3m2s 822ms 14 4,217 52m9s 742ms 15 3,360 48m21s 863ms 16 3,761 48m14s 769ms 17 3,410 41m6s 723ms 18 3,092 34m14s 664ms 19 2,940 46m15s 944ms 20 2,425 28m21s 701ms 21 1,309 14m27s 662ms 22 569 5m58s 630ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5355564, 5355561, 5355557, 5355554, 5355551, 5355548, 5355545, 5355541, 5355538, 5355535, 5355532, 5355529, 5355525, 5355521, 5355516, 5355513, 5355508, 5355502, 5355498, 5355491, 5355480, 5355474, 5355468, 5355460, 5355457, 5355451, 5355446, 5355438, 5355436, 5355428, 5355423, 5355420, 5355417, 5355411, 5355408, 5355404, 5355398, 5355394, 5355389, 5355385, 5355379, 5355375, 5355371, 5355368, 5355363, 5355360, 5355357, 5355352, 5355347, 5355342)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 19:43:40 Duration: 6s196ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5339663, 5338317, 5338293, 5338260, 5338200, 5337079, 5335878, 5335683, 5334497, 5334038, 5332540, 5332537, 5332035, 5328400, 5327847, 5327736, 5327560, 5326819, 5326047, 5325800, 5325340, 5324316, 5323831, 5322559, 5322498, 5322047, 5320485, 5319860, 5319113, 5318220, 5317424, 5316391, 5315144, 5314871, 5313449, 5313335, 5313330, 5308098, 5297916, 5274429)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 11:18:54 Duration: 6s151ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5328876, 5328586, 5325041, 5320241, 5314423, 5301478, 5297489)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 11:29:59 Duration: 6s148ms
7 567ms 6s790ms 738ms 293,761 2d12h17m12s select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 13 00 4,483 48m40s 651ms 01 8,767 1h33m56s 642ms 02 8,018 1h27m3s 651ms 03 7,482 1h18m34s 630ms 04 9,708 1h43m38s 640ms 05 8,151 1h27m5s 641ms 06 7,363 1h18m11s 637ms 07 5,670 59m39s 631ms 08 6,289 1h6m46s 637ms 09 15,006 3h23s 721ms 10 15,546 3h12m31s 743ms 11 23,283 5h39m26s 874ms 12 17,302 3h30m15s 729ms 13 18,326 4h1m14s 789ms 14 14,681 3h34s 737ms 15 21,858 4h57m32s 816ms 16 16,448 3h28m8s 759ms 17 12,225 2h29m43s 734ms 18 12,491 2h23m52s 691ms 19 20,653 5h4m28s 884ms 20 20,225 4h5m6s 727ms 21 14,458 2h41m55s 672ms 22 5,328 58m23s 657ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5342885)) AND (("shipping_track"."id" not in (44262346, 44262346)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 11:18:40 Duration: 6s790ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5355398)) AND (("shipping_track"."id" not in (44402573, 44402573)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 19:34:57 Duration: 6s715ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5355543)) AND (("shipping_track"."id" not in (44403900, 44403900)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-13 19:37:51 Duration: 6s675ms
8 476ms 2s406ms 700ms 2,854 33m20s select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 13 05 2 1s80ms 540ms 09 69 40s779ms 591ms 10 685 7m42s 675ms 11 438 5m27s 747ms 12 542 6m8s 679ms 13 613 7m28s 731ms 14 104 1m13s 706ms 15 138 1m39s 723ms 16 201 2m18s 688ms 17 50 31s835ms 636ms 18 12 7s915ms 659ms -
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" = '375419')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-13 13:10:27 Duration: 2s406ms
-
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" = '375417')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-13 13:10:23 Duration: 2s356ms
-
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" = '239168')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-13 13:10:30 Duration: 2s27ms
9 300ms 3s462ms 473ms 28,678 3h46m21s select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 13 07 260 1m35s 365ms 08 1,159 7m34s 392ms 09 3,532 25m56s 440ms 10 2,741 20m39s 452ms 11 4,103 37m19s 545ms 12 2,028 14m50s 439ms 13 3,546 28m58s 490ms 14 3,175 24m3s 454ms 15 4,120 34m57s 508ms 16 2,776 21m14s 458ms 17 1,238 9m13s 446ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '330883')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:11:21 Duration: 3s462ms
-
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" = '279735')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:18:41 Duration: 3s349ms
-
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" = '266921')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:18:44 Duration: 3s206ms
10 281ms 2s731ms 393ms 3,623 23m45s 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 #10
Day Hour Count Duration Avg duration Feb 13 03 37 11s342ms 306ms 05 3 1s32ms 344ms 06 488 2m29s 306ms 07 128 38s590ms 301ms 09 576 3m21s 350ms 10 169 59s61ms 349ms 11 2,037 15m 442ms 12 185 1m3s 344ms -
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" = '408767')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:19:05 Duration: 2s731ms
-
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" = '408855')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:18:06 Duration: 2s655ms
-
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" = '446097')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:18:50 Duration: 2s525ms
11 277ms 2s775ms 381ms 144,915 15h21m53s 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 Feb 13 00 1,395 6m58s 300ms 01 1,782 8m59s 302ms 02 1,888 9m34s 304ms 03 2,237 11m14s 301ms 04 4,086 20m50s 306ms 05 3,808 19m16s 303ms 06 4,003 20m16s 303ms 07 2,107 10m37s 302ms 08 3,385 17m45s 314ms 09 9,213 53m7s 346ms 10 8,252 49m33s 360ms 11 11,311 1h20m20s 426ms 12 5,474 32m7s 352ms 13 7,647 47m10s 370ms 14 12,699 1h20m3s 378ms 15 17,778 1h59m11s 402ms 16 10,190 1h3m28s 373ms 17 16,418 1h42m58s 376ms 18 1,687 9m38s 343ms 19 17,671 2h28m39s 504ms 20 1,076 5m52s 327ms 21 567 2m56s 311ms 22 241 1m13s 304ms -
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" = '359405')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:19:05 Duration: 2s775ms
-
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" = '9975450')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 19:46:44 Duration: 2s747ms
-
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" = '9830313')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:18:54 Duration: 2s745ms
12 289ms 1s890ms 375ms 2,360 14m45s select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 13 05 2 605ms 302ms 10 398 2m20s 352ms 11 439 2m55s 398ms 12 541 3m14s 359ms 13 613 4m1s 393ms 14 104 39s2ms 375ms 16 201 1m13s 367ms 17 50 16s755ms 335ms 18 12 3s998ms 333ms -
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" = '270086')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-13 13:10:37 Duration: 1s890ms
-
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" = '9986486')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-13 13:09:03 Duration: 1s822ms
-
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" = '153635')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112, 23))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-02-13 13:09:29 Duration: 1s428ms
13 280ms 2s567ms 350ms 15,705 1h31m50s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 13 00 528 2m38s 300ms 01 249 1m15s 301ms 02 109 33s945ms 311ms 03 41 12s290ms 299ms 04 348 1m47s 308ms 05 68 20s545ms 302ms 06 646 3m18s 306ms 07 1,458 7m21s 303ms 08 1,017 5m13s 308ms 09 1,655 9m33s 346ms 10 1,895 11m9s 353ms 11 1,663 12m42s 458ms 12 962 5m40s 353ms 13 967 5m54s 366ms 14 813 5m3s 372ms 15 392 2m35s 396ms 16 873 5m13s 358ms 17 612 3m44s 367ms 18 280 1m32s 328ms 19 219 1m16s 349ms 20 110 34s614ms 314ms 21 567 2m57s 312ms 22 233 1m11s 305ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '507697')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:26:46 Duration: 2s567ms
-
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" = '299732')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:18:24 Duration: 2s447ms
-
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" = '454612')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 11:19:15 Duration: 2s364ms
14 92ms 917ms 256ms 65,206 4h38m13s select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 13 00 2,596 9m8s 211ms 01 2,592 9m27s 219ms 02 3,500 12m48s 219ms 03 1,398 5m19s 228ms 04 1,570 6m2s 231ms 05 2,360 8m50s 224ms 06 1,542 6m9s 239ms 07 914 3m23s 223ms 08 234 39s698ms 169ms 09 402 1m34s 235ms 10 1,600 7m43s 289ms 11 108 41s179ms 381ms 12 249 1m5s 261ms 13 1,203 5m21s 266ms 14 1,114 5m26s 292ms 15 1,468 7m17s 298ms 16 4,352 19m29s 268ms 17 5,824 25m24s 261ms 18 7,332 31m54s 261ms 19 5,914 30m25s 308ms 20 6,527 29m33s 271ms 21 7,905 31m52s 241ms 22 4,502 18m34s 247ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'علي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-13 17:05:08 Duration: 917ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'ياسر')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-13 17:05:08 Duration: 916ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'ياسر')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-02-13 19:54:20 Duration: 892ms
15 161ms 256ms 201ms 14,528 48m52s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 13 00 867 2m47s 193ms 01 1,519 5m5s 200ms 02 1,713 5m45s 201ms 03 2,145 7m6s 198ms 04 2,869 9m47s 204ms 05 3,193 10m49s 203ms 06 2,214 7m27s 202ms 22 8 1s594ms 199ms -
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" = '413536')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 04:12:26 Duration: 256ms
-
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" = '508350')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 04:42:07 Duration: 255ms
-
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" = '508259')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-13 04:42:10 Duration: 249ms
16 121ms 1s283ms 183ms 6,271 19m8s select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 13 00 3 407ms 135ms 01 65 8s739ms 134ms 06 10 1s321ms 132ms 07 10 1s352ms 135ms 08 45 5s949ms 132ms 09 306 50s452ms 164ms 10 759 2m5s 165ms 11 1,340 5m25s 243ms 12 1,037 2m44s 158ms 13 889 2m34s 173ms 14 461 1m14s 160ms 15 343 1m5s 189ms 16 304 52s847ms 173ms 17 148 23s893ms 161ms 18 254 36s475ms 143ms 19 108 31s273ms 289ms 20 97 14s7ms 144ms 21 60 8s533ms 142ms 22 32 4s260ms 133ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 70)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-13 11:18:24 Duration: 1s283ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 19)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-13 11:18:44 Duration: 1s237ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 17)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-13 11:18:24 Duration: 1s218ms
17 103ms 920ms 146ms 21,967 53m34s select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 13 08 132 16s558ms 125ms 09 873 2m3s 141ms 10 2,263 5m8s 136ms 11 2,384 6m50s 172ms 12 2,577 5m51s 136ms 13 2,410 6m1s 149ms 14 2,454 5m41s 139ms 15 2,455 6m21s 155ms 16 2,964 6m55s 140ms 17 1,066 2m28s 138ms 18 781 1m38s 125ms 19 815 2m36s 191ms 20 364 48s242ms 132ms 21 356 44s534ms 125ms 22 73 8s623ms 118ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8136495)) AND (("cash_track"."id" not in (8067889)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-13 11:17:43 Duration: 920ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8136510)) AND (("cash_track"."id" not in (8067906)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-13 11:18:22 Duration: 905ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8136535)) AND (("cash_track"."id" not in (8067940)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-13 11:19:13 Duration: 900ms
18 49ms 401ms 71ms 59,458 1h10m22s select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 13 08 1,819 1m47s 58ms 09 6,896 7m34s 65ms 10 5,162 6m2s 70ms 11 5,274 7m11s 81ms 12 4,768 5m26s 68ms 13 5,829 6m54s 71ms 14 6,753 7m36s 67ms 15 10,909 13m49s 76ms 16 9,326 10m50s 69ms 17 2,603 3m 69ms 18 96 6s386ms 66ms 22 23 1s407ms 61ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5200905) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:18:33 Duration: 401ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3886702) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:18:54 Duration: 401ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3782908) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:19:01 Duration: 400ms
19 44ms 318ms 63ms 26,589 28m16s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 13 08 926 49s251ms 53ms 09 3,542 3m28s 58ms 10 2,614 2m42s 62ms 11 3,499 4m4s 69ms 12 2,448 2m30s 61ms 13 2,473 2m40s 64ms 14 3,609 3m38s 60ms 15 4,034 4m43s 70ms 16 2,196 2m20s 63ms 17 1,248 1m18s 62ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5225893) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:18:23 Duration: 318ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5299979) ORDER BY "collection_policy"."id";
Date: 2025-02-13 13:09:34 Duration: 314ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5268518) ORDER BY "collection_policy"."id";
Date: 2025-02-13 11:17:38 Duration: 313ms
20 41ms 488ms 60ms 167,601 2h47m49s select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 13 00 2,132 1m51s 52ms 01 4,363 3m50s 52ms 02 2,723 2m24s 53ms 03 3,487 3m3s 52ms 04 3,276 2m53s 52ms 05 2,747 2m24s 52ms 06 2,020 1m46s 52ms 07 1,894 1m40s 53ms 08 4,073 3m40s 54ms 09 10,428 10m18s 59ms 10 11,744 11m54s 60ms 11 17,060 20m13s 71ms 12 14,029 14m1s 60ms 13 13,750 14m45s 64ms 14 11,157 11m13s 60ms 15 11,360 12m38s 66ms 16 11,564 11m51s 61ms 17 7,970 7m34s 56ms 18 7,644 6m39s 52ms 19 8,834 9m38s 65ms 20 6,657 6m8s 55ms 21 6,041 5m6s 50ms 22 2,648 2m9s 48ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5280391, 5280388, 5275412, 5272440, 5269492, 5258694, 5221267, 5212194)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-13 09:49:53 Duration: 488ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5335041, 5329384, 5328986, 5317709, 5301229, 5283370, 5281933)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-13 19:35:42 Duration: 465ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5310621, 5309054, 5290390, 5290389, 5246048, 5212513)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-13 15:35:15 Duration: 446ms
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
- 18,510,100 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 217 FATAL entries
- 367 ERROR entries
- 0 WARNING entries
- 2 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 333 Max number of times the same event was reported
- 586 Total events found
Rank Times reported Error 1 333 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 13 00 2 02 2 04 3 05 3 06 5 08 3 09 14 10 21 11 41 12 7 13 23 14 29 15 62 16 23 17 30 18 7 19 40 20 13 21 5 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-12 23:54:26.431657', "write_uid" = 975 WHERE id IN (44538582)
Date: 2025-02-13 00:56:15
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-12 23:54:57.619299', "write_uid" = 975 WHERE id IN (44538582)
Date: 2025-02-13 00:56:15
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-13 01:51:36.299839', "write_uid" = 975 WHERE id IN (44538867)
Date: 2025-02-13 02:52:14
2 169 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 13 17 169 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-02-13 17:20:01
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '384855')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false )) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false )) AND (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id"
Date: 2025-02-13 17:20:01
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5348301)) AND (("shipping_track"."id" not in (44372289, 44372289)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-02-13 17:20:01
3 25 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #3
Day Hour Count Feb 13 17 25 4 12 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Feb 13 02 1 04 4 05 1 09 2 15 1 19 1 21 2 - ERROR: syntax error at or near ")" at character 162
- ERROR: syntax error at or near ")" at character 163
- ERROR: syntax error at or near ")" at character 158
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 ('432118',)
Date: 2025-02-13 02:47:43
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 ('5080120',)
Date: 2025-02-13 04:28:14
Statement: select po.id,policy.name from cash_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('310772',)
Date: 2025-02-13 04:58:01
5 10 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #5
Day Hour Count Feb 13 10 2 11 1 12 1 15 3 16 2 19 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 4345 waits for ShareLock on transaction 9225097; blocked by process 4466. Process 4466 waits for ShareLock on transaction 9225059; blocked by process 4345. Process 4345: UPDATE "shipping_policy" SET "client_delivery_button" = true, "edit_cash_button" = false, "new_destination_button" = false, "return_button" = true, "state" = 'wating', "write_date" = '2025-02-13 09:02:51.326240', "write_uid" = 934 WHERE id IN (5337248, 5337227, 5337113, 5337084, 5334782, 5334376, 5329323, 5329308, 5324712, 5321880, 5317956, 5317952, 5314557, 5312591, 5310879, 5310726, 5307921, 5301455, 5301016, 5300894, 5300890, 5300885, 5300800, 5300794, 5300787, 5297635, 5295379, 5288520, 5286700, 5285850, 5282294, 5280458, 5277483, 5276659, 5276402, 5268489, 5265105, 5264399, 5253249, 5238196, 5204766) Process 4466: UPDATE "shipping_policy" SET "notes" = 'هيثم حسين فودة بيومى', "write_date" = '2025-02-13 09:03:22.456000', "write_uid" = 934 WHERE id IN (5337250, 5337248, 5337244, 5337227, 5337140, 5337113, 5337088, 5337084, 5337000, 5334782, 5334376, 5329323, 5329308, 5328022, 5324712, 5321880, 5317956, 5317952, 5314557, 5312591, 5310879, 5310726, 5307921, 5301455, 5301016, 5300999, 5300961, 5300894, 5300890, 5300885, 5300866, 5300800, 5300794, 5300787, 5297635, 5295979, 5295379, 5288520, 5288412, 5286700, 5285850, 5282294, 5282216, 5280458, 5277483, 5276768, 5276659, 5276402, 5268489, 5265132, 5265105, 5264782, 5264399, 5258701, 5253249, 5248387, 5248172, 5244026, 5238196, 5229499, 5225447, 5220294, 5204766, 5195849, 5141319, 4824085, 3844509)
Context: while updating tuple (50216,38) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "client_delivery_button" = true, "edit_cash_button" = false, "new_destination_button" = false, "return_button" = true, "state" = 'wating', "write_date" = '2025-02-13 09:02:51.326240', "write_uid" = 934 WHERE id IN (5337248, 5337227, 5337113, 5337084, 5334782, 5334376, 5329323, 5329308, 5324712, 5321880, 5317956, 5317952, 5314557, 5312591, 5310879, 5310726, 5307921, 5301455, 5301016, 5300894, 5300890, 5300885, 5300800, 5300794, 5300787, 5297635, 5295379, 5288520, 5286700, 5285850, 5282294, 5280458, 5277483, 5276659, 5276402, 5268489, 5265105, 5264399, 5253249, 5238196, 5204766)Date: 2025-02-13 10:04:11
Detail: Process 4346 waits for ShareLock on transaction 9229937; blocked by process 4511. Process 4511 waits for ShareLock on transaction 9229932; blocked by process 4346. Process 4346: update shipping_policy set count_search=6 where id=5049488 Process 4511: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-02-13 09:58:59.946964', "write_uid" = 1081 WHERE id IN (5309159, 5301554, 5300469, 5287177, 5287121, 5282782, 5279929, 5279027, 5271594, 5262828, 5254692, 5250199, 5249946, 5240208, 5224122, 5219910, 5115751, 5049488)
Context: while updating tuple (14307,18) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=6 where id=5049488Date: 2025-02-13 10:59:03
Detail: Process 4353 waits for ShareLock on transaction 9231454; blocked by process 4538. Process 4538 waits for ShareLock on transaction 9231522; blocked by process 4353. Process 4353: update shipping_policy set count_search=1 where id=5317467 Process 4538: update shipping_policy set count_search=2 where id=5326053
Context: while updating tuple (52368,35) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=1 where id=5317467Date: 2025-02-13 11:15:46
6 6 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Feb 13 03 3 05 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: 2025-02-13 03:40:24
7 5 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #7
Day Hour Count Feb 13 12 1 17 1 19 1 20 2 - ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (169996)
Date: 2025-02-13 12:58:54
Statement: DELETE FROM "delegate_track" WHERE id IN (170220)
Date: 2025-02-13 17:17:51
Statement: DELETE FROM "delegate_track" WHERE id IN (169893)
Date: 2025-02-13 19:26:44
8 4 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #8
Day Hour Count Feb 13 19 3 20 1 9 4 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #9
Day Hour Count Feb 13 17 4 - FATAL: terminating background worker "parallel worker" due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-02-13 17:20:01
10 3 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #10
Day Hour Count Feb 13 17 3 - ERROR: invalid input syntax for type integer: "s" at character 4769
Statement: SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN ('s')
Date: 2025-02-13 17:38:43
11 3 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #11
Day Hour Count Feb 13 14 3 12 3 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #12
Day Hour Count Feb 13 11 1 13 1 18 1 - ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_car" violates not-null constraint
- ERROR: null value in column "code" of relation "res_country_state" violates not-null constraint
Detail: Failing row contains (5515752, null, 822, 822, null, 0102153117, null, null, t, 2025-02-13 10:25:12.917678, 2025-02-13 10:25:12.917678, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-13 10:25:12.917678', 822, '0102153117', '2025-02-13 10:25:12.917678', 822) RETURNING "id"Date: 2025-02-13 11:25:12
Detail: Failing row contains (935, null, null, 1092, 1092, 946, null, null, 2025-02-13 12:48:03.239098, 2025-02-13 12:48:03.239098).
Statement: INSERT INTO "urgent_car" ("car_no", "create_date", "create_uid", "write_date", "write_uid") VALUES ('946', '2025-02-13 12:48:03.239098', 1092, '2025-02-13 12:48:03.239098', 1092) RETURNING "id"Date: 2025-02-13 13:48:03
Detail: Failing row contains (4498, 65, 866, 866, مدينة نصر, null, 2025-02-13 17:21:59.291196, 2025-02-13 17:21:59.291196).
Statement: INSERT INTO "res_country_state" ("country_id", "create_date", "create_uid", "name", "write_date", "write_uid") VALUES (65, '2025-02-13 17:21:59.291196', 866, 'مدينة نصر', '2025-02-13 17:21:59.291196', 866) RETURNING "id"Date: 2025-02-13 18:21:59
13 2 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #13
Day Hour Count Feb 13 07 1 19 1 14 2 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #14
Day Hour Count Feb 13 19 1 20 1 15 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #15
Day Hour Count Feb 13 17 1 16 1 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #16
Day Hour Count Feb 13 20 1 17 1 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #17
Day Hour Count Feb 13 17 1 18 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #18
Day Hour Count Feb 13 19 1 19 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #19
Day Hour Count Feb 13 12 1 - ERROR: duplicate key value violates unique constraint "res_users_login_key"
Detail: Key (login)=(معتز حسانين عبدالجواد) already exists.
Statement: UPDATE "res_users" SET "login" = 'معتز حسانين عبدالجواد', "write_date" = '2025-02-13 11:53:04.697077', "write_uid" = 2 WHERE id IN (1462)Date: 2025-02-13 12:53:04