-
Global information
- Generated on Wed Mar 12 23:47:50 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 44,625,818 log entries in 2m49s
- Log start from 2025-03-11 23:00:10 to 2025-03-12 19:45:01
-
Overview
Global Stats
- 21,147 Number of unique normalized queries
- 18,778,463 Number of queries
- 7d18h20m47s Total query duration
- 2025-03-11 23:00:10 First query
- 2025-03-12 19:45:01 Last query
- 4,295 queries/s at 2025-03-12 13:28:24 Query peak
- 7d18h20m47s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 7d18h20m47s Execute total duration
- 4,004 Number of events
- 25 Number of unique normalized events
- 1,298 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,778,463 Average queries per session
- 7d18h20m47s 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
- 4,295 queries/s Query Peak
- 2025-03-12 13:28:24 Date
SELECT Traffic
Key values
- 2,929 queries/s Query Peak
- 2025-03-12 13:28:24 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 918 queries/s Query Peak
- 2025-03-12 13:28:24 Date
Queries duration
Key values
- 7d18h20m47s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 11 23 566,440 0ms 3s357ms 30ms 6m56s 7m32s 8m8s Mar 12 00 497,346 0ms 8s253ms 26ms 6m1s 6m37s 6m56s 01 370,785 0ms 3s824ms 37ms 5m58s 6m46s 7m58s 02 367,585 0ms 5m50s 39ms 6m10s 7m8s 12m22s 03 287,358 0ms 7s215ms 37ms 4m40s 5m52s 6m33s 04 245,983 0ms 1s798ms 38ms 4m33s 5m23s 6m27s 05 281,080 0ms 1s893ms 43ms 5m42s 6m6s 7m16s 06 337,002 0ms 5m28s 52ms 8m5s 8m49s 11m17s 07 317,199 0ms 3s527ms 36ms 5m21s 5m32s 6m12s 08 521,293 0ms 14s765ms 21ms 6m8s 6m49s 8m28s 09 1,300,599 0ms 53s405ms 29ms 18m6s 19m3s 21m18s 10 1,713,304 0ms 1m31s 26ms 19m37s 21m22s 24m44s 11 1,664,682 0ms 2m40s 42ms 25m32s 27m36s 28m4s 12 1,856,248 0ms 13m12s 56ms 41m18s 48m10s 50m18s 13 2,025,212 0ms 52m3s 59ms 43m8s 45m45s 1h10m39s 14 1,813,538 0ms 1m48s 27ms 28m49s 35m13s 37m47s 15 1,360,816 0ms 4s852ms 18ms 10m52s 12m14s 13m29s 16 943,902 0ms 54s369ms 19ms 7m49s 8m33s 10m1s 17 537,521 0ms 1m5s 20ms 6m18s 8m41s 15m 18 959,112 0ms 1m4s 32ms 12m58s 13m52s 16m24s 19 811,458 0ms 1m12s 29ms 12m16s 12m53s 18m58s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 11 23 325,344 0 53ms 6m29s 6m56s 7m35s Mar 12 00 285,062 0 46ms 5m40s 6m 6m50s 01 203,860 0 68ms 5m4s 5m58s 7m39s 02 210,919 0 66ms 5m17s 5m52s 6m53s 03 161,439 0 66ms 3m53s 4m40s 6m12s 04 131,119 0 72ms 4m1s 4m33s 6m8s 05 149,551 0 81ms 5m4s 5m41s 7m7s 06 182,965 0 94ms 6m56s 7m32s 8m49s 07 174,702 0 66ms 4m49s 5m21s 6m2s 08 309,072 0 36ms 5m22s 6m7s 7m6s 09 782,949 0 49ms 14m11s 18m5s 19m49s 10 1,032,215 0 43ms 17m4s 19m35s 22m8s 11 954,380 0 73ms 23m5s 25m23s 27m59s 12 1,105,749 0 90ms 38m54s 41m1s 43m23s 13 1,238,047 0 94ms 40m20s 42m30s 1h10m17s 14 1,115,316 0 44ms 21m58s 28m31s 35m44s 15 818,659 0 30ms 8m58s 10m50s 13m20s 16 540,560 0 33ms 6m10s 7m48s 9m52s 17 300,094 0 36ms 4m23s 6m17s 11m10s 18 584,590 0 53ms 12m16s 12m57s 14m29s 19 472,719 0 51ms 11m19s 12m15s 18m57s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 11 23 49,794 10,081 362 0 0ms 288ms 355ms 472ms Mar 12 00 37,391 6,894 155 0 0ms 225ms 300ms 423ms 01 33,401 6,255 135 0 0ms 187ms 229ms 309ms 02 36,478 6,767 89 0 14ms 307ms 417ms 896ms 03 25,151 5,520 98 0 0ms 181ms 244ms 328ms 04 23,685 5,439 78 0 0ms 163ms 205ms 311ms 05 27,493 6,024 74 0 0ms 210ms 256ms 291ms 06 38,020 8,155 78 0 7ms 251ms 295ms 392ms 07 29,256 5,919 78 0 0ms 189ms 241ms 319ms 08 24,195 6,919 178 0 0ms 188ms 248ms 383ms 09 70,774 17,797 1,045 0 0ms 600ms 712ms 1s68ms 10 90,120 21,142 1,017 0 1ms 764ms 843ms 4s616ms 11 103,916 22,748 838 0 3ms 983ms 1s123ms 31s952ms 12 108,124 23,738 1,034 0 29ms 1s321ms 2m23s 6m9s 13 103,932 24,092 1,131 0 19ms 1s230ms 55s755ms 4m39s 14 83,718 17,912 1,160 0 2ms 961ms 1s205ms 8s958ms 15 68,548 15,873 1,006 0 0ms 442ms 585ms 1s136ms 16 55,400 12,525 839 0 0ms 330ms 389ms 745ms 17 29,823 7,474 335 0 0ms 176ms 281ms 521ms 18 59,283 15,293 684 0 0ms 408ms 520ms 600ms 19 44,366 10,514 534 0 0ms 393ms 431ms 516ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 11 23 0 0 0.00 0.00% Mar 12 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% Day Hour Count Average / Second Mar 11 23 0 0.00/s Mar 12 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 Day Hour Count Average Duration Average idle time Mar 11 23 0 0ms 0ms Mar 12 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 -
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
- 297,706 buffers Checkpoint Peak
- 2025-03-12 13:44:41 Date
- 270.040 seconds Highest write time
- 0.840 seconds Sync time
Checkpoints Wal files
Key values
- 142 files Wal files usage Peak
- 2025-03-12 13:44:41 Date
Checkpoints distance
Key values
- 4,547.39 Mo Distance Peak
- 2025-03-12 13:44:41 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 11 23 251,045 2,969.516s 0.046s 2,969.629s Mar 12 00 200,827 3,239.512s 0.041s 3,239.606s 01 192,183 3,239.612s 0.034s 3,239.699s 02 223,308 2,429.76s 0.059s 2,429.879s 03 181,768 3,239.537s 0.047s 3,239.637s 04 142,175 3,239.623s 0.039s 3,239.713s 05 199,269 3,161.019s 0.039s 3,161.128s 06 227,807 3,239.582s 0.038s 3,239.679s 07 181,544 3,239.557s 0.036s 3,239.645s 08 142,043 2,791.561s 0.067s 2,791.679s 09 478,583 3,239.524s 0.058s 3,239.679s 10 659,935 3,239.434s 0.058s 3,239.611s 11 775,327 2,970.437s 0.09s 2,970.702s 12 813,210 3,239.354s 0.093s 3,239.601s 13 1,096,036 3,238.413s 0.932s 3,239.677s 14 646,674 2,430.19s 0.083s 2,430.511s 15 466,824 3,239.476s 0.061s 3,239.624s 16 427,061 3,239.553s 0.05s 3,239.674s 17 162,774 3,162.654s 0.055s 3,162.765s 18 327,447 3,239.5s 0.051s 3,239.622s 19 273,320 2,429.586s 0.039s 2,429.684s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 11 23 0 0 105 4,353 0.003s 0.011s Mar 12 00 0 0 86 4,271 0.003s 0.012s 01 0 0 82 3,896 0.002s 0.012s 02 0 0 93 3,528 0.010s 0.011s 03 0 0 82 3,129 0.002s 0.012s 04 0 0 62 2,908 0.003s 0.012s 05 0 0 90 3,063 0.004s 0.013s 06 0 0 101 2,954 0.002s 0.012s 07 0 0 79 3,167 0.003s 0.012s 08 0 0 56 3,832 0.017s 0.012s 09 0 0 201 5,055 0.003s 0.012s 10 0 0 284 5,275 0.003s 0.012s 11 0 0 333 5,400 0.005s 0.012s 12 0 0 345 5,646 0.003s 0.012s 13 0 34 452 5,743 0.068s 0.013s 14 0 76 153 5,215 0.011s 0.011s 15 0 0 178 5,555 0.002s 0.012s 16 0 0 156 5,403 0.003s 0.012s 17 0 0 59 4,643 0.004s 0.013s 18 0 0 123 5,102 0.002s 0.012s 19 0 0 103 4,045 0.002s 0.009s Day Hour Count Avg time (sec) Mar 11 23 0 0s Mar 12 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 Day Hour Mean distance Mean estimate Mar 11 23 156,561.09 kB 174,968.18 kB Mar 12 00 116,159.67 kB 182,164.25 kB 01 106,163.91 kB 169,158.00 kB 02 138,298.91 kB 172,258.73 kB 03 111,501.00 kB 175,839.08 kB 04 85,559.33 kB 124,154.75 kB 05 112,570.77 kB 157,154.92 kB 06 138,685.08 kB 172,777.92 kB 07 107,054.08 kB 155,044.50 kB 08 76,920.83 kB 95,179.67 kB 09 274,775.42 kB 299,762.00 kB 10 387,990.58 kB 461,549.33 kB 11 458,053.50 kB 487,533.50 kB 12 470,564.58 kB 549,018.33 kB 13 663,727.92 kB 1,114,429.75 kB 14 331,895.78 kB 370,240.89 kB 15 250,822.70 kB 321,426.80 kB 16 219,905.50 kB 311,560.60 kB 17 74,097.69 kB 112,034.92 kB 18 170,871.45 kB 218,800.55 kB 19 188,178.00 kB 202,607.78 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 11 23 0 0 0 Mar 12 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 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 11 23 0 0 Mar 12 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 - 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
- 11,079,311 Total read queries
- 5,264,164 Total write queries
Queries by database
Key values
- unknown Main database
- 18,778,463 Requests
- 7d18h20m47s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 18,778,463 Requests
User Request type Count Duration unknown Total 18,778,463 7d18h20m47s cte 24,982 7s585ms ddl 708 118ms delete 10,948 1m55s insert 1,142,868 7m50s others 2,434,987 2m20s select 11,079,311 7d15h52m29s tcl 3,827,577 3m12s update 257,081 2h12m51s Duration by user
Key values
- 7d18h20m47s (unknown) Main time consuming user
User Request type Count Duration unknown Total 18,778,463 7d18h20m47s cte 24,982 7s585ms ddl 708 118ms delete 10,948 1m55s insert 1,142,868 7m50s others 2,434,987 2m20s select 11,079,311 7d15h52m29s tcl 3,827,577 3m12s update 257,081 2h12m51s Queries by host
Key values
- unknown Main host
- 18,778,463 Requests
- 7d18h20m47s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 18,778,463 Requests
- 7d18h20m47s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-03-12 17:33:53 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 17,153,144 0-1ms duration
Slowest individual queries
Rank Duration Query 1 52m3s SELECT COUNT(*) FROM ( SELECT FROM "shipping_policy" WHERE ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب العجمى%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب العجمى%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب العجمى%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب العجمى%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب العجمى%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) LIMIT 10001) t;[ Date: 2025-03-12 13:55:29 ]
2 32m16s SELECT COUNT(*) FROM ( SELECT FROM "shipping_policy" WHERE ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."search_name"::text ilike '%العجمى%') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب العجمى%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب العجمى%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب العجمى%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب العجمى%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب العجمى%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) LIMIT 10001) t;[ Date: 2025-03-12 13:35:44 ]
3 13m53s SELECT COUNT(*) FROM ( SELECT FROM "shipping_policy" WHERE ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."search_name"::text ilike '%العجمى%') AND ((("shipping_policy"."client_date" >= '2025-02-01') AND ("shipping_policy"."client_date" <= '2025-02-28')) AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب العجمى%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب العجمى%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب العجمى%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب العجمى%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب العجمى%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) LIMIT 10001) t;[ Date: 2025-03-12 13:17:16 ]
4 13m12s SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "delegate_policy_id_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."total_shipping_price") AS "total_shipping_price", sum("shipping_policy"."collection_amount_sender") AS "collection_amount_sender", sum("shipping_policy"."collection_amount_receive") AS "collection_amount_receive", sum("shipping_policy"."total_amount_cash_lines") AS "total_amount_cash_lines", "shipping_policy"."delegate_policy_id" as "delegate_policy_id" FROM "shipping_policy" LEFT JOIN "res_partner" AS "shipping_policy__delegate_policy_id" ON ("shipping_policy"."delegate_policy_id" = "shipping_policy__delegate_policy_id"."id") WHERE ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."search_name"::text ilike '%العجمى%') AND ((("shipping_policy"."client_date" >= '2025-02-01') AND ("shipping_policy"."client_date" <= '2025-02-28')) AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب العجمى%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب العجمى%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب العجمى%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب العجمى%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب العجمى%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) GROUP BY "shipping_policy"."delegate_policy_id", "shipping_policy__delegate_policy_id"."display_name", "shipping_policy__delegate_policy_id"."id" ORDER BY "shipping_policy__delegate_policy_id"."display_name" ASC, "shipping_policy__delegate_policy_id"."id" DESC LIMIT 80;[ Date: 2025-03-12 12:54:17 ]
5 6m7s update shipping_policy set count_search = 3 where id = 6226171;[ Date: 2025-03-12 13:28:21 ]
6 5m50s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-12 01:01:58.604925', "write_uid" = 934 WHERE id IN (44863602);[ Date: 2025-03-12 02:07:51 ]
7 5m33s update shipping_policy set count_search = 17 where id = 6089959;[ Date: 2025-03-12 12:23:02 ]
8 5m28s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-12 05:45:49.549773', "write_uid" = 1088 WHERE id IN (45073846);[ Date: 2025-03-12 06:51:20 ]
9 4m40s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-12 11:07:20.641399', "write_uid" = 996 WHERE id IN (45125203);[ Date: 2025-03-12 12:12:09 ]
10 4m16s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-12 01:09:26.827955', "write_uid" = 934 WHERE id IN (44863602);[ Date: 2025-03-12 02:13:46 ]
11 4m15s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-12 10:56:08.225585', "write_uid" = 996 WHERE id IN (45125203);[ Date: 2025-03-12 12:00:29 ]
12 4m3s update shipping_policy set count_search = 3 where id = 6208374;[ Date: 2025-03-12 12:21:27 ]
13 3m41s update shipping_policy set count_search = 7 where id = 6163884;[ Date: 2025-03-12 13:21:22 ]
14 3m24s UPDATE "shipping_policy" SET "write_date" = '2025-03-12 11:17:59.515257', "write_uid" = 936 WHERE id IN (6193155, 6186129, 6184656, 6184426, 6184241, 6183712, 6183155, 6179792, 6179058, 6178213, 6177945, 6176232, 6175682, 6175040, 6173970, 6173910, 6173173, 6172716, 6171515, 6169209, 6167076, 6166716, 6163495, 6154644, 6154569, 6154078, 6150250, 6146564, 6138533, 6131239, 6120859, 6116724, 6115093, 6114088, 6112587, 6103980, 6100274, 6093492, 6076437, 6064529, 6058297, 6036666, 6021725, 6021624, 6009668, 5959364, 5931057, 5643483);[ Date: 2025-03-12 12:21:23 ]
15 3m23s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-12 11:33:06.157893', "write_uid" = 996 WHERE id IN (45125203);[ Date: 2025-03-12 12:36:33 ]
16 3m14s update shipping_policy set count_search = 7 where id = 6163884;[ Date: 2025-03-12 13:17:21 ]
17 3m8s update shipping_policy set count_search = 4 where id = 6206610;[ Date: 2025-03-12 12:10:36 ]
18 2m51s UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-03-12 11:18:26.367152', "write_uid" = 1081 WHERE id IN (6147922, 6139492, 6139361, 6139326, 6138568, 6136702, 6114692, 6114392, 6111238, 6103948, 6101254, 6029396, 6144314, 6139355, 6165322, 6153545, 6151562, 6151517, 6151476, 6150759, 6146168, 6146068, 6144467, 6144054, 6142958, 6141589, 6141557, 6140702, 6140194, 6139579, 6144067, 6140144, 6109562, 6136056, 6136053, 6147831, 6101225, 6119394, 6140942);[ Date: 2025-03-12 12:21:23 ]
19 2m43s update shipping_policy set d_date = '2025-03-12' where id = 6182498;[ Date: 2025-03-12 13:43:25 ]
20 2m40s UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-03-12 10:05:57.913075', "write_uid" = 1080 WHERE id IN (6186675, 6164435, 6163921, 6163396, 6163385, 6162893, 6162812, 6162762, 6162711, 6160049, 6160023, 6158988, 6158143, 6158136, 6158127, 6157963, 6157848, 6156015, 6155527, 6151839, 6151618, 6151522, 6151327, 6150899, 6150651, 6150554, 6148914, 6147224, 6147087, 6146754, 6146560, 6146402, 6146025, 6145961, 6145084, 6144361, 6143884, 6143830, 6142112, 6141292, 6138739, 6138670, 6127920, 6125333, 6123483, 6123076, 6122002, 6120175, 6104775, 6099358, 6095382, 5934649, 6174162, 6163901, 6162866, 6162637, 6162625, 6160008, 6158154, 6157802, 6152817, 6150846, 6150232, 6149548, 6148890, 6147619, 6146812, 6145093, 6144745, 6144544, 6143843, 6143238, 6142862, 6142821, 6140715, 6140110, 6137090, 6136628, 6135641, 6130104, 6125665, 6125633, 6097836, 6089962, 5971642, 6164582, 6163391, 6160011, 6159658, 6159387, 6158021, 6157837, 6156081, 6154682, 6153636, 6150308, 6149008, 6148226, 6148205, 6147104, 6144181, 6142800, 6170756, 6141185, 6164994, 6140804, 6164839, 6140677, 6162891, 6140648, 6160037, 6140131, 6160001, 6138679, 6158608, 6138529, 6157844, 6138422, 6154342, 6137623, 6154145, 6137620, 6153574, 6137142, 6153190, 6136348, 6150880, 6133573, 6148925, 6132439, 6146496, 6130514, 6137458, 6125920, 6130483, 6125382, 6123383, 6123072, 6123309, 6122194, 6122427, 6122147, 6121755, 6122110, 6113411, 6119440, 6103878, 6119301, 6090051, 6109237, 6009512, 6107888, 5994149, 6089029, 5976000, 6003644, 6170379, 6163865, 6163844, 6162897, 6162895, 6162843, 6162837, 6162809, 6162765, 6162745, 6162655, 6162604, 6159977, 6158604, 6158141, 6157966, 6157834, 6157745, 6157729, 6156689, 6164700, 6156055, 6163880, 6152023, 6158135, 6151761, 6151122, 6158122, 6150939, 6157830, 6146590, 6156002, 6152055, 6146367, 6150584, 6146363, 6145934, 6149909, 6145034, 6148663, 6144999, 6145437, 6143839, 6143832, 6169174, 6143466, 6143472, 6165000, 6137249, 6142796, 6136725, 6141717, 6162872, 6130791, 6137958, 6162707, 6125302, 6137224, 6159291, 6137171, 6119333, 6152805, 6137110, 6097743, 6151223, 6075607, 6146019, 6137061, 6145979, 5947921, 6132603, 6145303, 6130797, 6139112, 6130129, 6137745, 6106975, 6119276, 6104926, 6119220, 6103175, 6111948, 6088066, 6111233, 6087934, 6107020, 6056638, 6105883, 5624700, 6099351, 6097948, 6097852, 6097758, 6070064, 6030942, 5992539, 5971346, 5954479, 6207516, 6164992, 6164513, 6162906, 6162731, 6162717, 6162683, 6160009, 6160004, 6157990, 6157866, 6154724, 6154488, 6154364, 6154223, 6152101, 6151830, 6151642, 6151229, 6150359, 6150073, 6148722, 6147344, 6145627, 6145372, 6145126, 6144826, 6144435, 6144364, 6144002, 6143984, 6142889, 6141704, 6140717, 6140694, 6136827, 6121824, 6121735, 6119499, 6104089, 6102580, 6069594, 6047170, 6035522, 6029919, 6173426, 6165566, 6165565, 6165564, 6164998, 6163911, 6160059, 6160033, 6160031, 6160025, 6158131, 6157988, 6157986, 6157980, 6157967, 6152412, 6149785, 6148157, 6143190, 6141621, 6141597, 6138576, 6138573, 6134395, 6131194, 6129642, 6129152, 6123118, 6112870, 6111413, 6104948, 6102299, 6097986, 6089913, 6060612, 6041867, 6035099, 5774390);[ Date: 2025-03-12 11:09:13 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 4d2h40m12s 286,120 674ms 8s343ms 1s241ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 11 23 11,112 2h48m12s 908ms Mar 12 00 8,346 2h4m59s 898ms 01 9,693 2h23m24s 887ms 02 10,057 2h20m32s 838ms 03 8,269 1h46m26s 772ms 04 6,505 1h24m14s 776ms 05 9,162 2h3m 805ms 06 12,701 2h55m45s 830ms 07 8,899 1h59m21s 804ms 08 6,441 1h33m49s 874ms 09 17,636 5h28m49s 1s118ms 10 21,247 6h51m8s 1s161ms 11 25,112 10h19m38s 1s480ms 12 26,615 15h12m28s 2s57ms 13 25,325 16h9m32s 2s297ms 14 19,586 7h15m56s 1s335ms 15 13,717 3h29m16s 915ms 16 11,300 2h39m44s 848ms 17 5,086 1h19m54s 942ms 18 16,047 4h41m1s 1s50ms 19 13,264 3h52m54s 1s53ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6250040)) AND (("shipping_track"."id" not in (52211744, 52211744)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 13:26:53 Duration: 8s343ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6249157)) AND (("shipping_track"."id" not in (52183878, 52183878)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 12:18:57 Duration: 8s260ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6249158)) AND (("shipping_track"."id" not in (52183944, 52183944)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 12:19:04 Duration: 8s246ms
2 20h3m20s 48,983 690ms 9s394ms 1s473ms select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 11 23 1,706 25m34s 899ms Mar 12 00 822 12m22s 903ms 01 803 11m55s 890ms 02 286 4m23s 920ms 03 240 3m17s 823ms 04 136 1m58s 868ms 05 183 2m47s 915ms 06 275 4m12s 916ms 07 325 4m34s 844ms 08 657 9m57s 908ms 09 3,694 1h11m11s 1s156ms 10 5,346 1h54m45s 1s287ms 11 4,662 2h22m53s 1s838ms 12 4,419 2h58m33s 2s424ms 13 5,971 4h31m13s 2s725ms 14 4,911 1h52m40s 1s376ms 15 4,567 1h10m52s 931ms 16 3,602 51m29s 857ms 17 1,463 22m27s 920ms 18 2,648 46m30s 1s53ms 19 2,267 39m41s 1s50ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6197331, 6184774, 6184177, 6168919, 6159620, 6148937, 6086675, 5831751)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 13:16:45 Duration: 9s394ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6198789, 6198313, 6192746, 6176710, 6158213, 6155204, 6150553, 6025569)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 12:06:04 Duration: 9s331ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6245503, 6236485, 6232127, 6231792, 6228786, 6226146, 6221139, 6214702)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 13:12:15 Duration: 9s199ms
3 17h50m8s 126,703 255ms 3s128ms 506ms 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 #3
Day Hour Count Duration Avg duration Mar 11 23 1,265 6m43s 319ms Mar 12 00 1,044 5m28s 314ms 01 1,474 7m50s 319ms 02 2,069 10m50s 314ms 03 1,889 9m18s 295ms 04 2,805 13m48s 295ms 05 3,166 16m21s 310ms 06 3,649 19m40s 323ms 07 1,747 8m59s 309ms 08 5,925 29m14s 296ms 09 12,281 1h17m36s 379ms 10 10,568 1h11m4s 403ms 11 14,432 2h14m22s 558ms 12 15,247 3h11m10s 752ms 13 16,996 3h52m43s 821ms 14 7,026 1h14m44s 638ms 15 4,697 31m13s 398ms 16 2,063 12m26s 362ms 17 3,039 18m6s 357ms 18 8,994 59m 393ms 19 6,327 39m24s 373ms -
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" = '1013094')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 13:17:07 Duration: 3s128ms
-
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" = '1013126')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 13:27:22 Duration: 2s938ms
-
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" = '1013134')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 13:27:14 Duration: 2s937ms
4 7h46m21s 22,652 872ms 2s872ms 1s235ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 11 23 1,604 30m20s 1s134ms Mar 12 00 1,017 18m51s 1s112ms 01 1,269 23m15s 1s100ms 02 926 16m59s 1s101ms 03 1,666 30m9s 1s86ms 04 1,732 31m5s 1s77ms 05 1,637 30m37s 1s122ms 06 2,396 46m2s 1s152ms 07 1,881 34m59s 1s115ms 08 831 15m4s 1s88ms 09 970 23m53s 1s477ms 10 338 8m25s 1s496ms 11 453 13m32s 1s793ms 12 701 24m 2s54ms 13 321 11m19s 2s116ms 14 608 15m57s 1s575ms 15 428 8m58s 1s257ms 16 433 8m39s 1s200ms 17 578 11m17s 1s172ms 18 1,868 40m51s 1s312ms 19 995 21m58s 1s324ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1016797')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-12 12:07:42 Duration: 2s872ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1041169')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-12 12:02:47 Duration: 2s845ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1084951')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-12 13:34:59 Duration: 2s843ms
5 4h48m29s 24,696 326ms 4s491ms 700ms 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 #5
Day Hour Count Duration Avg duration Mar 12 08 1,322 8m44s 396ms 09 3,853 31m43s 493ms 10 1,666 14m23s 518ms 11 4,161 49m5s 707ms 12 3,984 1h31s 911ms 13 3,801 1h4m37s 1s20ms 14 1,636 22m51s 838ms 15 2,361 21m19s 541ms 16 878 6m46s 462ms 17 143 1m8s 479ms 18 634 5m2s 477ms 19 257 2m15s 529ms -
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" = '809065')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:14:00 Duration: 4s491ms
-
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" = '739339')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:10:36 Duration: 4s459ms
-
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" = '663162')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:32:08 Duration: 4s441ms
6 4h43m9s 171,450 50ms 558ms 99ms 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 #6
Day Hour Count Duration Avg duration Mar 11 23 5,946 6m38s 67ms Mar 12 00 5,093 5m35s 65ms 01 4,315 4m42s 65ms 02 5,265 5m58s 68ms 03 2,516 2m48s 67ms 04 2,725 3m2s 66ms 05 3,627 3m45s 62ms 06 4,699 4m57s 63ms 07 2,727 2m48s 61ms 08 3,173 3m33s 67ms 09 11,699 17m4s 87ms 10 13,824 20m58s 91ms 11 17,756 33m56s 114ms 12 19,417 47m42s 147ms 13 18,862 51m40s 164ms 14 14,066 24m9s 103ms 15 10,475 13m33s 77ms 16 7,692 9m9s 71ms 17 3,320 3m33s 64ms 18 7,283 8m54s 73ms 19 6,970 8m35s 73ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6162838, 6162749, 6159321, 6154060, 6144087, 6125924, 6108783, 6052919)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-12 12:35:43 Duration: 558ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6230328, 6230323, 6230322, 6230320, 6230256, 6230252, 6230246, 6230243)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-12 11:47:27 Duration: 554ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6192118, 6190489, 6187187, 6169074, 6141427, 6136679)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-12 13:13:39 Duration: 550ms
7 4h41m15s 63,600 92ms 1s29ms 265ms 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 #7
Day Hour Count Duration Avg duration Mar 11 23 5,182 19m38s 227ms Mar 12 00 4,469 17m10s 230ms 01 4,371 16m41s 229ms 02 4,719 18m27s 234ms 03 3,520 12m28s 212ms 04 3,424 12m3s 211ms 05 3,212 11m46s 220ms 06 4,754 18m52s 238ms 07 3,734 13m48s 221ms 08 1,682 6m43s 240ms 09 2,106 11m18s 322ms 10 1,188 5m58s 301ms 11 1,034 7m15s 420ms 12 1,852 16m31s 535ms 13 1,156 11m48s 613ms 14 2,517 14m46s 352ms 15 1,448 6m12s 257ms 16 2,120 8m54s 252ms 17 2,670 10m12s 229ms 18 5,690 27m27s 289ms 19 2,752 13m8s 286ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'hg')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-12 12:08:49 Duration: 1s29ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'لوميند')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-12 12:13:23 Duration: 1s26ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'ايس بييرج')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-12 12:11:36 Duration: 1s21ms
8 3h4m40s 9,580 888ms 2s766ms 1s156ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 11 23 1,016 17m19s 1s23ms Mar 12 00 1,245 21m7s 1s18ms 01 932 15m51s 1s20ms 02 1,465 24m40s 1s10ms 03 114 1m53s 996ms 08 36 40s678ms 1s129ms 09 95 1m57s 1s238ms 10 288 6m21s 1s325ms 11 74 2m2s 1s652ms 12 241 7m56s 1s978ms 13 271 9m12s 2s37ms 14 673 16m22s 1s460ms 15 310 6m24s 1s239ms 16 640 11m21s 1s64ms 17 779 13m27s 1s36ms 18 1,002 20m3s 1s201ms 19 399 7m56s 1s194ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1078873')) 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 (74))))))) 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 (74)))))) 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 (74)))))) 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 (74))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-12 12:13:10 Duration: 2s766ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1078197')) 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 (74))))))) 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 (74)))))) 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 (74)))))) 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 (74))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-12 12:17:59 Duration: 2s743ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1078460')) 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 (74))))))) 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 (74)))))) 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 (74)))))) 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 (74))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-12 12:19:28 Duration: 2s729ms
9 3h3m48s 19,483 262ms 2s949ms 566ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 11 23 276 1m27s 317ms Mar 12 00 681 3m32s 311ms 01 178 54s560ms 306ms 02 9 2s924ms 324ms 03 195 1m 310ms 04 331 1m40s 304ms 05 200 1m1s 306ms 06 922 4m59s 324ms 07 555 2m50s 306ms 08 812 4m1s 297ms 09 1,286 8m25s 393ms 10 1,991 14m57s 450ms 11 2,333 21m43s 558ms 12 3,950 53m19s 809ms 13 2,737 41m35s 911ms 14 1,422 11m49s 498ms 15 690 4m46s 415ms 16 165 1m4s 388ms 17 29 9s104ms 313ms 18 434 2m35s 359ms 19 287 1m50s 385ms -
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" = '1072014')) 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-03-12 12:12:48 Duration: 2s949ms
-
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" = '1065471')) 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 (128)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (128))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (128))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 13:34:34 Duration: 2s924ms
-
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" = '1022349')) 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 (128)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (128))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (128))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 13:20:00 Duration: 2s923ms
10 2h5m19s 62,535 58ms 478ms 120ms select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 11 23 104 8s668ms 83ms Mar 12 00 11 914ms 83ms 07 22 1s881ms 85ms 08 2,362 3m1s 76ms 09 7,476 12m15s 98ms 10 2,786 4m36s 99ms 11 6,257 12m39s 121ms 12 13,066 30m21s 139ms 13 13,443 35m28s 158ms 14 5,605 10m41s 114ms 15 4,443 5m45s 77ms 16 3,706 4m32s 73ms 17 785 1m18s 100ms 18 2,099 3m51s 110ms 19 370 36s977ms 99ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6159718) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-12 14:10:14 Duration: 478ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6124574) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:13:35 Duration: 472ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6191809) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:13:44 Duration: 471ms
11 1h36m49s 23,826 124ms 1s113ms 243ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 11 23 748 1m58s 158ms Mar 12 00 177 27s824ms 157ms 01 11 1s722ms 156ms 08 77 12s217ms 158ms 09 1,412 4m34s 194ms 10 3,166 10m28s 198ms 11 2,941 13m58s 285ms 12 2,483 14m45s 356ms 13 2,709 19m7s 423ms 14 3,488 13m14s 227ms 15 2,687 7m28s 166ms 16 1,793 4m37s 154ms 17 890 2m15s 152ms 18 674 1m59s 177ms 19 570 1m39s 174ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8320327)) AND (("cash_track"."id" not in (9340808)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-12 13:24:42 Duration: 1s113ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8320220)) AND (("cash_track"."id" not in (9340314)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-12 13:19:17 Duration: 1s111ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8320353)) AND (("cash_track"."id" not in (9341926)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-12 13:31:35 Duration: 1s110ms
12 1h3m46s 76,262 0ms 6m7s 50ms update shipping_policy set count_search = ? where id = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 11 23 1,083 523ms 0ms Mar 12 00 880 275ms 0ms 01 1,279 515ms 0ms 02 1,478 865ms 0ms 03 1,349 447ms 0ms 04 2,077 759ms 0ms 05 2,212 785ms 0ms 06 2,305 883ms 0ms 07 1,442 422ms 0ms 08 3,362 1s693ms 0ms 09 6,408 2s914ms 0ms 10 6,423 1m58s 18ms 11 8,990 36s680ms 4ms 12 9,796 35m32s 217ms 13 9,863 24m51s 151ms 14 4,185 32s595ms 7ms 15 2,655 1s1ms 0ms 16 1,010 390ms 0ms 17 1,523 539ms 0ms 18 4,700 1s828ms 0ms 19 3,242 1s241ms 0ms -
update shipping_policy set count_search = 3 where id = 6226171;
Date: 2025-03-12 13:28:21 Duration: 6m7s
-
update shipping_policy set count_search = 17 where id = 6089959;
Date: 2025-03-12 12:23:02 Duration: 5m33s
-
update shipping_policy set count_search = 3 where id = 6208374;
Date: 2025-03-12 12:21:27 Duration: 4m3s
13 54m17s 13,918 183ms 934ms 234ms 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 Mar 11 23 871 3m26s 236ms Mar 12 00 351 1m22s 236ms 01 1,273 5m3s 238ms 02 1,588 6m25s 242ms 03 1,522 5m49s 229ms 04 2,284 8m45s 230ms 05 2,747 10m25s 227ms 06 1,900 7m34s 239ms 07 1,116 4m15s 229ms 08 34 7s422ms 218ms 09 232 1m1s 264ms -
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" = '1072947')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 09:32:50 Duration: 934ms
-
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" = '107344')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 02:22:16 Duration: 706ms
-
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" = '8761094')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 05:00:16 Duration: 453ms
14 52m3s 1 52m3s 52m3s 52m3s select count(*) from ( select from "shipping_policy" where ((("shipping_policy"."active" = true) and (("shipping_policy"."state" != ?) or "shipping_policy"."state" is null)) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) 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)))) or "shipping_policy"."delegate_policy_id" is null)) 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))))) limit ?) t;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 12 13 1 52m3s 52m3s -
SELECT COUNT(*) FROM ( SELECT FROM "shipping_policy" WHERE ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب العجمى%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب العجمى%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب العجمى%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب العجمى%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب العجمى%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) LIMIT 10001) t;
Date: 2025-03-12 13:55:29 Duration: 52m3s
15 45m22s 5,115 266ms 2s884ms 532ms 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 #15
Day Hour Count Duration Avg duration Mar 12 00 12 3s759ms 313ms 02 318 1m43s 326ms 03 121 36s67ms 298ms 05 77 23s977ms 311ms 06 393 2m14s 342ms 07 31 9s590ms 309ms 08 228 1m8s 300ms 09 550 3m22s 367ms 10 786 4m48s 366ms 11 1,597 17m19s 651ms 12 1,002 13m31s 810ms -
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" = '5443399')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 12:20:17 Duration: 2s884ms
-
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" = '950113')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 12:14:12 Duration: 2s810ms
-
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" = '1001487')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 12:24:31 Duration: 2s808ms
16 43m46s 5,992 124ms 1s567ms 438ms select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 11 23 138 22s184ms 160ms Mar 12 00 137 21s266ms 155ms 01 51 7s815ms 153ms 02 111 15s513ms 139ms 03 115 15s673ms 136ms 04 20 2s674ms 133ms 05 5 721ms 144ms 06 1 143ms 143ms 07 27 3s784ms 140ms 08 26 4s80ms 156ms 09 300 1m26s 288ms 10 671 3m13s 289ms 11 1,134 9m36s 508ms 12 1,100 12m15s 669ms 13 807 9m59s 742ms 14 552 3m25s 373ms 15 217 37s236ms 171ms 16 196 29s528ms 150ms 17 69 10s766ms 156ms 18 117 20s888ms 178ms 19 198 35s986ms 181ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 126)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-12 12:00:04 Duration: 1s567ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 60)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-12 12:11:05 Duration: 1s363ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 27)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-12 10:13:27 Duration: 1s354ms
17 42m54s 25,010 53ms 390ms 102ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 12 08 1,282 1m29s 69ms 09 3,476 4m53s 84ms 10 1,241 1m49s 87ms 11 3,489 6m23s 109ms 12 5,143 10m47s 125ms 13 3,029 7m10s 142ms 14 1,724 3m4s 107ms 15 2,818 3m23s 72ms 16 1,269 1m26s 68ms 17 279 25s734ms 92ms 18 998 1m36s 96ms 19 262 23s812ms 90ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5994902) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:22:42 Duration: 390ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6159341) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:04:00 Duration: 383ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6127322) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:24:23 Duration: 381ms
18 40m39s 2,283 26ms 2s278ms 1s68ms 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 #18
Day Hour Count Duration Avg duration Mar 11 23 43 28s380ms 660ms Mar 12 00 24 5s931ms 247ms 01 3 2s647ms 882ms 02 1 195ms 195ms 03 4 2s167ms 541ms 07 4 2s700ms 675ms 08 32 10s689ms 334ms 09 119 1m46s 898ms 10 222 3m40s 991ms 11 299 5m49s 1s168ms 12 315 7m7s 1s357ms 13 340 7m56s 1s402ms 14 351 5m11s 886ms 15 200 3m7s 936ms 16 117 1m40s 859ms 17 30 26s380ms 879ms 18 91 1m36s 1s63ms 19 88 1m24s 957ms -
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 (62)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (62))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-12 13:17:18 Duration: 2s278ms
-
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 (30)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-12 13:15:17 Duration: 2s277ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-12 13:08:30 Duration: 2s271ms
19 37m39s 5,283 207ms 2s190ms 427ms 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 #19
Day Hour Count Duration Avg duration Mar 12 08 528 2m13s 251ms 09 1,141 5m59s 314ms 10 875 5m34s 382ms 11 709 6m7s 518ms 12 266 2m28s 557ms 13 615 6m37s 645ms 14 650 5m37s 519ms 15 294 1m57s 401ms 16 32 10s627ms 332ms 17 88 24s577ms 279ms 18 47 15s220ms 323ms 19 38 13s99ms 344ms -
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" = '879909')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-12 13:06:35 Duration: 2s190ms
-
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" = '879903')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-12 13:06:29 Duration: 2s189ms
-
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" = '773052')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-12 14:10:28 Duration: 2s169ms
20 32m16s 1 32m16s 32m16s 32m16s select count(*) from ( select from "shipping_policy" where ((("shipping_policy"."active" = true) and (("shipping_policy"."state" != ?) or "shipping_policy"."state" is null)) and (("shipping_policy"."search_name"::text ilike ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) 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)))) or "shipping_policy"."delegate_policy_id" is null))) 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))))) limit ?) t;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 12 13 1 32m16s 32m16s -
SELECT COUNT(*) FROM ( SELECT FROM "shipping_policy" WHERE ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."search_name"::text ilike '%العجمى%') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب العجمى%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب العجمى%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب العجمى%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب العجمى%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب العجمى%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) LIMIT 10001) t;
Date: 2025-03-12 13:35:44 Duration: 32m16s
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,434,396 2m20s 0ms 1ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 11 23 70,013 2s998ms 0ms Mar 12 00 65,193 3s127ms 0ms 01 50,824 2s521ms 0ms 02 44,825 1s875ms 0ms 03 39,224 1s807ms 0ms 04 35,355 1s645ms 0ms 05 39,715 1s617ms 0ms 06 43,792 2s8ms 0ms 07 43,042 2s73ms 0ms 08 70,687 2s975ms 0ms 09 162,797 10s174ms 0ms 10 215,355 14s427ms 0ms 11 223,165 15s267ms 0ms 12 234,902 15s919ms 0ms 13 249,248 15s833ms 0ms 14 224,958 12s730ms 0ms 15 176,757 10s408ms 0ms 16 133,299 7s71ms 0ms 17 83,352 3s501ms 0ms 18 118,077 6s308ms 0ms 19 109,816 6s281ms 0ms -
DISCARD ALL;
Date: 2025-03-12 12:11:53 Duration: 1ms
-
DISCARD ALL;
Date: 2025-03-12 14:45:48 Duration: 1ms
-
DISCARD ALL;
Date: 2025-03-12 13:16:08 Duration: 1ms
2 1,913,945 36s654ms 0ms 1ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 11 23 55,108 867ms 0ms Mar 12 00 51,168 842ms 0ms 01 38,103 683ms 0ms 02 33,984 521ms 0ms 03 27,824 428ms 0ms 04 25,104 391ms 0ms 05 29,085 420ms 0ms 06 31,959 502ms 0ms 07 32,049 500ms 0ms 08 54,864 799ms 0ms 09 131,672 2s568ms 0ms 10 175,490 3s481ms 0ms 11 179,468 4s230ms 0ms 12 190,251 4s497ms 0ms 13 202,412 4s751ms 0ms 14 183,183 3s488ms 0ms 15 138,661 2s319ms 0ms 16 99,949 1s539ms 0ms 17 57,808 816ms 0ms 18 89,460 1s516ms 0ms 19 86,343 1s488ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-12 13:43:02 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-12 12:14:18 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-12 10:52:12 Duration: 1ms
3 1,238,579 14s772ms 0ms 2ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 11 23 36,027 380ms 0ms Mar 12 00 33,462 342ms 0ms 01 26,249 271ms 0ms 02 23,157 233ms 0ms 03 20,295 191ms 0ms 04 18,368 166ms 0ms 05 20,518 197ms 0ms 06 22,668 224ms 0ms 07 22,133 208ms 0ms 08 36,423 344ms 0ms 09 82,726 1s3ms 0ms 10 108,717 1s382ms 0ms 11 112,959 1s552ms 0ms 12 118,729 1s692ms 0ms 13 125,915 1s900ms 0ms 14 114,456 1s441ms 0ms 15 89,730 950ms 0ms 16 67,604 665ms 0ms 17 42,565 381ms 0ms 18 60,138 643ms 0ms 19 55,740 595ms 0ms -
ROLLBACK;
Date: 2025-03-12 09:19:45 Duration: 2ms
-
ROLLBACK;
Date: 2025-03-12 12:00:53 Duration: 1ms
-
ROLLBACK;
Date: 2025-03-12 13:04:00 Duration: 1ms
4 1,228,987 4m17s 0ms 29ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 11 23 35,421 7s695ms 0ms Mar 12 00 32,805 6s779ms 0ms 01 25,701 5s523ms 0ms 02 22,484 4s553ms 0ms 03 19,635 3s391ms 0ms 04 17,693 2s967ms 0ms 05 19,898 3s830ms 0ms 06 21,979 4s282ms 0ms 07 21,547 3s955ms 0ms 08 35,666 6s324ms 0ms 09 82,370 17s461ms 0ms 10 108,858 23s345ms 0ms 11 113,303 27s420ms 0ms 12 118,687 28s33ms 0ms 13 125,616 30s269ms 0ms 14 114,102 24s253ms 0ms 15 89,232 16s357ms 0ms 16 67,232 11s584ms 0ms 17 41,915 7s49ms 0ms 18 59,425 11s666ms 0ms 19 55,418 10s848ms 0ms -
SELECT payload FROM http_sessions WHERE sid = 'f684746f95ef051e7bc2d655caf718218ecc1b94';
Date: 2025-03-12 14:54:24 Duration: 29ms
-
SELECT payload FROM http_sessions WHERE sid = '12b5eff5ef2002baaea05d514b4352c07eabeb26';
Date: 2025-03-12 12:35:13 Duration: 24ms
-
SELECT payload FROM http_sessions WHERE sid = '078a1505385d3f5779f320628d10bc6972d3d952';
Date: 2025-03-12 12:19:11 Duration: 24ms
5 1,216,577 2m10s 0ms 2ms 0ms select base_registry_signaling.last_value, base_cache_signaling.last_value from base_registry_signaling, base_cache_signaling;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 11 23 35,057 3s384ms 0ms Mar 12 00 32,618 3s77ms 0ms 01 25,447 2s463ms 0ms 02 22,457 2s193ms 0ms 03 19,656 1s824ms 0ms 04 17,721 1s572ms 0ms 05 19,939 1s825ms 0ms 06 21,940 2s51ms 0ms 07 21,574 1s980ms 0ms 08 35,331 3s152ms 0ms 09 81,172 8s721ms 0ms 10 107,614 11s830ms 0ms 11 111,531 13s876ms 0ms 12 117,347 14s579ms 0ms 13 124,454 16s101ms 0ms 14 112,334 12s502ms 0ms 15 88,274 8s532ms 0ms 16 66,630 6s11ms 0ms 17 41,706 3s589ms 0ms 18 58,939 5s830ms 0ms 19 54,836 5s439ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-12 06:54:13 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-12 13:31:35 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-12 10:30:16 Duration: 1ms
6 675,053 2m20s 0ms 102ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 11 23 19,073 3s126ms 0ms Mar 12 00 17,709 2s561ms 0ms 01 11,856 2s204ms 0ms 02 10,818 2s133ms 0ms 03 7,532 1s500ms 0ms 04 6,734 1s294ms 0ms 05 8,562 1s798ms 0ms 06 9,292 2s74ms 0ms 07 9,915 1s872ms 0ms 08 18,438 2s241ms 0ms 09 48,932 9s512ms 0ms 10 66,779 14s323ms 0ms 11 66,488 17s198ms 0ms 12 71,477 19s28ms 0ms 13 76,299 21s313ms 0ms 14 68,706 12s988ms 0ms 15 48,932 7s905ms 0ms 16 32,349 4s957ms 0ms 17 15,240 2s286ms 0ms 18 29,316 5s166ms 0ms 19 30,606 5s309ms 0ms -
COMMIT;
Date: 2025-03-12 13:37:14 Duration: 102ms
-
COMMIT;
Date: 2025-03-12 19:22:00 Duration: 67ms
-
COMMIT;
Date: 2025-03-12 13:37:01 Duration: 64ms
7 562,915 1m52s 0ms 16ms 0ms select "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" from "urgent_customer" where "urgent_customer".id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 11 23 17,429 2s401ms 0ms Mar 12 00 15,499 2s24ms 0ms 01 12,802 1s720ms 0ms 02 11,696 1s685ms 0ms 03 7,712 976ms 0ms 04 7,528 945ms 0ms 05 9,376 1s491ms 0ms 06 8,822 1s259ms 0ms 07 10,109 1s438ms 0ms 08 13,639 2s59ms 0ms 09 40,499 8s19ms 0ms 10 57,588 11s254ms 0ms 11 56,052 14s379ms 0ms 12 59,025 15s943ms 0ms 13 62,461 17s582ms 0ms 14 49,412 10s616ms 0ms 15 38,898 6s72ms 0ms 16 24,610 3s472ms 0ms 17 11,724 1s627ms 0ms 18 23,552 3s664ms 0ms 19 24,482 4s232ms 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 (5101081, 5108537, 5252115, 5099141, 5099206, 5099007, 5103363, 5103566, 5099334, 5132233, 5099164, 5169613, 5099296, 5099130, 5099540, 5099009, 5114720, 5099190, 5099594, 5099014, 5099243, 5099102, 5100477, 5106953, 5101849, 5100163, 5414826, 5110841, 5099006, 5100218, 5101743, 5101740, 5108813, 5099885, 5101119, 5099010, 5099002, 5100564, 5552552, 5100004, 5100756, 5099914, 5099523, 5155025, 5102105, 5099236, 5543437, 5099167, 5099045, 5102176, 5099904, 5099158, 5111900, 5550746, 5099187, 5100443, 5100738, 5125991, 5099013, 5099119, 5099111, 5100699, 5099174, 5099693, 5547969, 5099430, 5099137, 5101160, 5108484, 5099035, 5117010, 5100132, 5099128, 5102905, 5099008, 5100408, 5109254, 5099359, 5100431, 5099181, 5143986, 5099202, 5102612, 5115520, 5474635, 5099254, 5099135, 5131754, 5119244, 5101420, 5099360, 5102092, 5113188, 5099912, 5100980, 5101745, 5108162, 5099727, 5309308, 5099646, 5099356, 5105698, 5099129, 5100628, 5104027, 5115585, 5099349, 5552434, 5108505, 5099590, 5100901, 5102257, 5107610, 5281967, 5099309, 5100233, 5546951, 5548557, 5121159, 5099536, 5129068, 5551729, 5272101, 5552251, 5099287, 5106226, 5100832, 5100659, 5099382, 5100070, 5099568);
Date: 2025-03-12 14:21:55 Duration: 16ms
-
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 (5107075, 5540410, 5102969, 5110518, 5105468, 5099941, 5254762, 5147499, 5099521, 5099947, 5167880, 5101246, 5099782, 5098996, 5101176, 5099719, 5099848, 5109146, 5100842, 5105055, 5109165, 5110474, 5114820, 5099095, 5101116, 5110446, 5122815, 5099474, 5102402, 5100753, 5189988, 5117663, 5551603, 5537932, 5099854, 5107346, 5106588, 5127694, 5154951, 5100302, 5107759, 5440989, 5099037, 5099750, 5108319, 5099204, 5104396, 5100404, 5120138, 5353788, 5105759, 5105080, 5100908, 5102469, 5103019, 5100735, 5099758, 5099092, 5099376, 5116714, 5100667, 5102795, 5157605, 5099761, 5099263, 5099355, 5100207, 5118317, 5109622, 5099857, 5116810, 5168951, 5106365, 5111668, 5099120, 5119020, 5103298, 5182493, 5102054, 5099847, 5551805, 5100112, 5108575, 5101490, 5099445, 5099348, 5101185, 5103379, 5101403, 5101222, 5193566, 5100205, 5117202, 5099916, 5100952, 5105626, 5099121, 5102339, 5108206, 5102701, 5100554, 5111133, 5475530, 5099843, 5100507, 5099250, 5104250, 5099427, 5099658, 5102190, 5099335, 5099403, 5100202, 5107494, 5101605, 5101079, 5113194, 5099090, 5162410, 5132117, 5099827, 5099282, 5099144, 5100295, 5106438, 5101687, 5144796, 5102904, 5113157, 5177456, 5113792, 5101546, 5099003, 5102373, 5101913);
Date: 2025-03-12 14:21:55 Duration: 16ms
-
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 (5155877, 5197499, 5362222, 5172712, 5139691, 5177701, 5292111, 5137147, 5229123, 5139920, 5542772, 5170032, 5233851, 5162588, 5259568, 5520426, 5520427, 5527527, 5202214, 5173700, 5161951, 5512037, 5469423, 5157458, 5145626, 5263309, 5401079, 5371630, 5144163, 5136620, 5149612, 5149613, 5334778, 5530251, 5253701, 5233488, 5402357, 5490909, 5454854, 5305630, 5257647, 5271358, 5179550, 5485548, 5148194, 5146309, 5510166, 5518030, 5181322, 5167173, 5500068, 5153009, 5496113, 5245373, 5340811, 5429636, 5550958, 5155091, 5334362, 5329410, 5142095, 5161666, 5199000, 5134271, 5193122, 5177202, 5273917, 5536754, 5517446, 5206936, 5136665, 5472955, 5356317, 5460969, 5149370, 5235927, 5538053, 5554878, 5285022, 5183059, 5238562, 5160355, 5426651, 5191762, 5190381, 5539773, 5192794, 5489625, 5380308, 5174814, 5510202, 5194530, 5478566, 5271225, 5140568, 5172964, 5140400, 5146545, 5146546, 5453737, 5289175, 5167877, 5506688, 5546251, 5296305, 5157616, 5365278, 5232304, 5521201, 5280642, 5205363, 5155508, 5263045, 5157111, 5537063, 5162505, 5256207, 5308279, 5302706, 5518152, 5217272, 5534588, 5274971, 5508737, 5553950, 5470246, 5202469, 5206672, 5168371, 5173868, 5361730, 5386187, 5555397, 5412135, 5144660, 5137182, 5201808, 5272644, 5179448, 5152553, 5198330, 5537396, 5152713, 5231423, 5250718, 5475359, 5236697, 5546615, 5535294, 5148513, 5363434, 5395842, 5515898, 5491966, 5378426, 5516349, 5150370, 5554104, 5254874, 5167735, 5468388, 5138179, 5278109, 5485812, 5173086, 5545299, 5374014, 5312915, 5330438, 5157605, 5156431, 5315251, 5481222, 5263866, 5535093, 5192163, 5170584, 5448800, 5174637, 5230155, 5208970, 5331255, 5194627, 5397959, 5144304, 5225603, 5170363, 5254856, 5454017, 5304046, 5186754, 5273395, 5244878, 5399245, 5554718, 5467096, 5337272, 5489160, 5478045, 5426666, 5484662, 5315314, 5524736, 5164836, 5487081, 5146697, 5505725, 5423557, 5144254, 5152256, 5463176, 5201325, 5445240, 5363451, 5303531, 5148612, 5503105, 5513546, 5428510, 5547879, 5547880, 5273269, 5134549, 5334168, 5484511, 5144796, 5228702, 5234456, 5180107, 5554140, 5231570, 5189285, 5468353, 5140396, 5370751, 5478417, 5174855, 5248792, 5248793, 5241814, 5199295, 5161311, 5423581, 5474456, 5486545, 5492551, 5452142, 5174873, 5554113, 5449788, 5555410, 5502172, 5153451, 5187780, 5544713, 5295829, 5547811, 5554519, 5139406, 5323917, 5511683, 5211580, 5207175, 5281400, 5329203, 5266090, 5191933, 5550219, 5554724, 5138478, 5464778, 5246523, 5458365, 5203810, 5507274, 5171609, 5161865, 5138699, 5177700, 5285857, 5163392, 5458287, 5472040, 5256798, 5430010, 5148755, 5552382, 5186369, 5160247, 5480422, 5480526, 5499554, 5308626, 5550883, 5432439, 5268381, 5520998, 5169259, 5165168, 5537785, 5499479, 5142799, 5471885, 5150180, 5278694, 5525876, 5547587, 5339010, 5136223, 5530477, 5272519, 5147015, 5258863, 5181123, 5252505, 5518143, 5476146, 5352619, 5458512, 5181648, 5403739, 5465785, 5552297, 5461300, 5173514, 5528665, 5169937, 5501348, 5351501, 5263664, 5520483, 5140171, 5505306, 5157919, 5440672, 5549054, 5179910, 5472017, 5171395, 5520535, 5251097, 5307255, 5225002, 5225003, 5191759, 5456573, 5446039, 5453274, 5144806, 5522757, 5201751, 5490623, 5445481, 5424455, 5510433, 5510434, 5305795, 5186811, 5457549, 5532279, 5192459, 5539803, 5538224, 5348048, 5166861, 5150542, 5439665, 5273027, 5476793, 5179633, 5284196, 5198654, 5553873, 5392581, 5208582, 5189939, 5205953, 5554018, 5174354, 5245390, 5350435, 5523928, 5529969, 5350522, 5440989, 5474312, 5273957, 5221393, 5208059, 5515473, 5536463, 5527175, 5441057, 5449849, 5320845, 5555363, 5555364, 5314696, 5156213, 5202302, 5472132, 5538628, 5501873, 5477136, 5501872, 5297681, 5222958, 5207314, 5351321, 5396972, 5181644, 5181652, 5201595, 5498605, 5423750, 5507292, 5248852, 5443220, 5181057, 5478521, 5482295, 5441944, 5179483, 5164575, 5533135, 5538979, 5200695, 5477504, 5416649, 5179116, 5443857, 5181714, 5491472, 5553405, 5136885, 5484810, 5511706, 5207164, 5544983, 5416459, 5383166, 5467465, 5474922, 5161462, 5266908, 5181331, 5554284, 5544849, 5177001, 5470826, 5490818, 5490845, 5192635, 5147085, 5178672, 5167266, 5499525, 5463468, 5224286, 5237494, 5475108, 5555349, 5463870, 5511479, 5140309, 5149626, 5282253, 5164808, 5491350, 5164477, 5447632, 5425361, 5181061, 5512644, 5514817, 5310424, 5543027, 5554921, 5554691, 5174080, 5484908, 5440851, 5195758, 5223258, 5548643, 5197952, 5478617, 5186257, 5480125, 5337290, 5462322, 5481934, 5391935, 5346119, 5252124, 5267561, 5461458, 5435155, 5510314, 5151834, 5327164, 5493540, 5493541, 5338906, 5147290, 5260514, 5462502, 5554673, 5316778, 5545815, 5540013, 5220577, 5365731, 5503275, 5159705, 5314759, 5382976, 5164350, 5412425, 5269376, 5325097, 5376815, 5151482, 5246834, 5503755, 5152184, 5487272, 5465240, 5479796, 5349867, 5153011, 5326297, 5136137, 5242554, 5191584, 5290569, 5474006, 5343800, 5540279, 5267875, 5459738, 5273581, 5237684, 5208811, 5553948, 5403101, 5548235, 5154741, 5281796, 5135489, 5481486, 5461359, 5448189, 5492633, 5295874, 5139168, 5178735, 5534589, 5501946, 5331251, 5440903, 5518411, 5523018, 5252806, 5243957, 5538128, 5391805, 5212263, 5328034, 5517438, 5554722, 5302013, 5425449, 5164077, 5167573, 5205568, 5258572, 5533427, 5328623, 5135590, 5515170, 5296353, 5255881, 5546502, 5536527, 5135810, 5368601, 5158045, 5160323, 5219944, 5502747, 5251430, 5154990, 5512464, 5165072, 5461288, 5181484, 5177005, 5162900, 5508998, 5473606, 5138716, 5218526, 5151600, 5172651, 5262114, 5315038, 5321157, 5288345, 5464760, 5167883, 5382202, 5426840, 5480204, 5469763, 5144954, 5272121, 5540645, 5167731, 5241658, 5482349, 5528103, 5139130, 5534764, 5202194, 5413111, 5299367, 5488738, 5459654, 5165465, 5214240, 5233554, 5494144, 5257216, 5138539, 5546718, 5469261, 5506243, 5144597, 5372294, 5246264, 5182463, 5415825, 5310019, 5341099, 5269886, 5533062, 5297619, 5205383, 5468632, 5328604, 5481869, 5155894, 5328167, 5447690, 5143752, 5177741, 5214808, 5544130, 5391672, 5502479, 5412019, 5539843, 5178480, 5183265, 5303240, 5276623, 5462674, 5217267, 5485379, 5165567, 5331509, 5538393, 5155873, 5538098, 5429652, 5325259, 5464884, 5330189, 5466842, 5466843, 5156180, 5254306, 5394696, 5347181, 5192542, 5510203, 5202156, 5437768, 5210089, 5211582, 5551996, 5328897, 5455374, 5192604, 5209439, 5487071, 5171606, 5316776, 5542601, 5493678, 5520161, 5450407, 5496742, 5389829, 5457124, 5183211, 5406842, 5490794, 5213029, 5476803, 5432412, 5232177, 5182711, 5527402, 5545160, 5554703, 5554704, 5147315, 5298731, 5555415, 5450461, 5167180, 5148736, 5481438, 5152359, 5140707, 5416482, 5445389, 5308003, 5136687, 5502460, 5548489, 5548496, 5481332, 5291721, 5544574, 5157305, 5504299, 5462749, 5482998, 5262812, 5493416, 5198773, 5137587, 5540254, 5253956, 5168923, 5143761, 5535085, 5506647, 5550854, 5540277, 5431699, 5315315, 5541899, 5541785, 5541787, 5433782, 5436767, 5553803, 5471309, 5481585, 5251188, 5471970, 5270336, 5524106, 5256061, 5267559, 5149132, 5481391, 5552285, 5402462, 5150064, 5264219, 5150544, 5411802, 5540485, 5165025, 5263706, 5547813, 5522770, 5441981, 5398737, 5497506, 5470072, 5195030, 5175777, 5259222, 5255734, 5474022, 5482492, 5153830, 5514309, 5551396, 5359248, 5142269, 5412934, 5539224, 5242936, 5520163, 5510985, 5203701, 5218788, 5199136, 5202733, 5512021, 5469566, 5378797, 5187964, 5361742, 5325770, 5509759, 5178868, 5482478, 5466553, 5409988, 5211809, 5455157, 5154726, 5229229, 5548516, 5200721, 5238647, 5270975, 5524394, 5286857, 5411575, 5194121, 5291855, 5512616, 5161357, 5553528, 5440036, 5303035, 5553798, 5449917, 5172567, 5320446, 5193920, 5203847, 5498714, 5139652, 5491289, 5456049, 5216787, 5307409, 5341011, 5555421, 5153258, 5457852, 5230046, 5189379, 5188711, 5300193, 5258644, 5297376, 5134623, 5392770, 5153683, 5389227, 5478166, 5167761, 5183050, 5548433, 5168817, 5149868, 5464495, 5486384, 5485185, 5471348, 5294725, 5471518, 5378024, 5165093, 5454763, 5366015, 5238441, 5345556, 5555138, 5359254, 5496994, 5524336, 5407716, 5501490, 5263416, 5231551, 5209881, 5500785, 5508794, 5488355, 5520389, 5137263, 5477390, 5462380, 5216218, 5194440, 5255888, 5196916, 5465243, 5356576, 5537497, 5241701, 5440468, 5390770, 5235965, 5235863, 5482487, 5516922, 5168217, 5431255, 5208822, 5266284, 5549961, 5551128, 5312884, 5536454, 5457610, 5232380, 5555418, 5165159, 5463498, 5463499, 5298877, 5160071, 5272643, 5318871, 5138377, 5190308, 5236973, 5139688, 5154645, 5149420, 5230931, 5472041, 5180087, 5500851, 5483244, 5396156, 5140543, 5520892, 5189325, 5144974, 5450584, 5351522, 5177681, 5538214, 5314547, 5145643, 5170016, 5222891, 5152619, 5192290, 5489306, 5491478, 5229077, 5152012, 5177074, 5206885, 5478702, 5480224, 5331008, 5176400, 5257046, 5504693, 5164802, 5174148, 5158064, 5554686, 5293228, 5544732, 5149084, 5267664, 5217479, 5215955, 5302220, 5152026, 5143894, 5320103, 5549542, 5183547, 5233957, 5178511, 5348766, 5461505, 5499110, 5178614, 5461628, 5151292, 5426728, 5235404, 5409839, 5468287, 5550056, 5156062, 5539849, 5477321, 5511096, 5263333, 5221147);
Date: 2025-03-12 17:51:57 Duration: 7ms
8 542,504 59s914ms 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"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" from "urgent_office" where "urgent_office".id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 11 23 15,743 1s111ms 0ms Mar 12 00 14,541 1s20ms 0ms 01 9,144 664ms 0ms 02 8,067 605ms 0ms 03 5,154 351ms 0ms 04 4,471 301ms 0ms 05 5,809 423ms 0ms 06 6,573 465ms 0ms 07 7,346 499ms 0ms 08 13,719 990ms 0ms 09 39,019 4s379ms 0ms 10 56,629 6s403ms 0ms 11 52,742 7s630ms 0ms 12 58,073 8s872ms 0ms 13 63,757 10s119ms 0ms 14 51,468 5s996ms 0ms 15 40,970 3s204ms 0ms 16 27,638 1s875ms 0ms 17 12,349 796ms 0ms 18 23,854 2s31ms 0ms 19 25,438 2s169ms 0ms -
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (17);
Date: 2025-03-12 10:55:23 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"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (73, 4, 32, 17, 19, 49, 64, 74, 66, 26, 51, 11, 55, 79, 113);
Date: 2025-03-12 13:03:14 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"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (71, 28, 127, 7);
Date: 2025-03-12 11:32:53 Duration: 1ms
9 425,863 3m8s 0ms 5ms 0ms select r.id from ir_rule r join ir_model m on (r.model_id = m.id) where m.model = ? and r.active and r.perm_read and (r.id in ( select rule_group_id from rule_group_rel rg join res_groups_users_rel gu on (rg.group_id = gu.gid) where gu.uid = ?) or r.global) order by r.id;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 11 23 9,791 3s345ms 0ms Mar 12 00 7,595 2s561ms 0ms 01 3,985 1s385ms 0ms 02 5,195 1s729ms 0ms 03 4,063 1s306ms 0ms 04 2,184 727ms 0ms 05 2,401 822ms 0ms 06 2,974 1s45ms 0ms 07 2,943 978ms 0ms 08 11,573 3s866ms 0ms 09 31,018 13s886ms 0ms 10 44,229 20s88ms 0ms 11 29,752 16s164ms 0ms 12 44,086 24s49ms 0ms 13 55,207 30s296ms 0ms 14 53,447 23s679ms 0ms 15 37,725 14s380ms 0ms 16 21,886 7s752ms 0ms 17 11,126 3s655ms 0ms 18 25,331 9s600ms 0ms 19 19,352 7s644ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'shipping.policy' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 874) OR r.global) ORDER BY r.id;
Date: 2025-03-12 13:18:00 Duration: 5ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'mail.message' 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 = 874) OR r.global) ORDER BY r.id;
Date: 2025-03-12 13:18:00 Duration: 4ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.company' 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 = 1364) OR r.global) ORDER BY r.id;
Date: 2025-03-12 12:17:03 Duration: 3ms
10 371,608 1m36s 0ms 9ms 0ms select "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 11 23 9,321 1s811ms 0ms Mar 12 00 10,345 1s865ms 0ms 01 5,963 1s85ms 0ms 02 5,158 1s78ms 0ms 03 3,656 647ms 0ms 04 2,712 520ms 0ms 05 3,650 777ms 0ms 06 4,220 856ms 0ms 07 5,227 936ms 0ms 08 11,960 2s71ms 0ms 09 28,567 7s18ms 0ms 10 38,442 9s966ms 0ms 11 37,696 12s10ms 0ms 12 40,090 13s220ms 0ms 13 43,032 14s718ms 0ms 14 36,393 9s857ms 0ms 15 26,708 5s681ms 0ms 16 17,435 3s257ms 0ms 17 8,110 1s516ms 0ms 18 16,306 3s582ms 0ms 19 16,617 3s723ms 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 (8006441, 8006444);
Date: 2025-03-12 02:21:56 Duration: 9ms
-
SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (8006441, 8006444);
Date: 2025-03-12 02:21:56 Duration: 9ms
-
SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (1);
Date: 2025-03-12 04:28:38 Duration: 8ms
11 316,631 1m18s 0ms 4ms 0ms select ? from res_groups_users_rel where uid = ? and gid in ( select res_id from ir_model_data where module = ? and name = ? and model = ?);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 11 23 8,005 1s365ms 0ms Mar 12 00 5,557 898ms 0ms 01 3,910 617ms 0ms 02 4,340 736ms 0ms 03 3,963 580ms 0ms 04 2,085 291ms 0ms 05 2,560 391ms 0ms 06 3,316 506ms 0ms 07 3,182 470ms 0ms 08 11,842 1s899ms 0ms 09 25,018 6s175ms 0ms 10 29,750 7s920ms 0ms 11 21,888 6s266ms 0ms 12 31,201 9s693ms 0ms 13 37,962 12s658ms 0ms 14 39,194 10s411ms 0ms 15 27,133 5s862ms 0ms 16 14,542 2s724ms 0ms 17 7,508 1s393ms 0ms 18 19,790 4s279ms 0ms 19 13,885 2s939ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2025-03-12 15:43:24 Duration: 4ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1451 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2025-03-12 13:12:59 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-03-12 13:24:46 Duration: 3ms
12 311,786 40s687ms 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 #12
Day Hour Count Duration Avg duration Mar 11 23 8,414 828ms 0ms Mar 12 00 8,596 793ms 0ms 01 5,082 512ms 0ms 02 4,366 503ms 0ms 03 2,931 330ms 0ms 04 2,468 297ms 0ms 05 3,228 423ms 0ms 06 3,544 430ms 0ms 07 4,331 437ms 0ms 08 9,302 867ms 0ms 09 23,566 2s947ms 0ms 10 31,627 3s969ms 0ms 11 30,595 5s9ms 0ms 12 33,585 5s610ms 0ms 13 36,135 6s277ms 0ms 14 31,489 4s133ms 0ms 15 22,908 2s310ms 0ms 16 14,848 1s340ms 0ms 17 7,076 683ms 0ms 18 13,807 1s472ms 0ms 19 13,888 1s506ms 0ms -
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-03-12 13:49:12 Duration: 3ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-03-12 11:36:01 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 (1);
Date: 2025-03-12 14:14:29 Duration: 3ms
13 286,120 4d2h40m12s 674ms 8s343ms 1s241ms 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 #13
Day Hour Count Duration Avg duration Mar 11 23 11,112 2h48m12s 908ms Mar 12 00 8,346 2h4m59s 898ms 01 9,693 2h23m24s 887ms 02 10,057 2h20m32s 838ms 03 8,269 1h46m26s 772ms 04 6,505 1h24m14s 776ms 05 9,162 2h3m 805ms 06 12,701 2h55m45s 830ms 07 8,899 1h59m21s 804ms 08 6,441 1h33m49s 874ms 09 17,636 5h28m49s 1s118ms 10 21,247 6h51m8s 1s161ms 11 25,112 10h19m38s 1s480ms 12 26,615 15h12m28s 2s57ms 13 25,325 16h9m32s 2s297ms 14 19,586 7h15m56s 1s335ms 15 13,717 3h29m16s 915ms 16 11,300 2h39m44s 848ms 17 5,086 1h19m54s 942ms 18 16,047 4h41m1s 1s50ms 19 13,264 3h52m54s 1s53ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6250040)) AND (("shipping_track"."id" not in (52211744, 52211744)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 13:26:53 Duration: 8s343ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6249157)) AND (("shipping_track"."id" not in (52183878, 52183878)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 12:18:57 Duration: 8s260ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6249158)) AND (("shipping_track"."id" not in (52183944, 52183944)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 12:19:04 Duration: 8s246ms
14 257,664 1m35s 0ms 20ms 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 Mar 11 23 9,116 2s402ms 0ms Mar 12 00 7,292 1s853ms 0ms 01 5,922 1s526ms 0ms 02 5,672 1s633ms 0ms 03 3,745 994ms 0ms 04 3,587 950ms 0ms 05 4,170 1s390ms 0ms 06 4,660 1s400ms 0ms 07 4,730 1s294ms 0ms 08 6,122 1s821ms 0ms 09 17,044 6s155ms 0ms 10 24,584 8s438ms 0ms 11 24,627 10s703ms 0ms 12 25,959 12s340ms 0ms 13 26,905 13s508ms 0ms 14 22,032 8s303ms 0ms 15 18,170 4s887ms 0ms 16 12,491 2s981ms 0ms 17 6,713 1s688ms 0ms 18 13,097 7s653ms 0ms 19 11,026 3s342ms 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 (44625586, 32438454, 32438388, 32438375, 32438332, 32438451, 32438453, 32438452, 32438473, 32438462, 32438389, 32438468, 32438447, 32438465, 32438479, 32438475, 32438443, 32438457, 32438461, 32438379, 32438456, 32438460, 32438459, 32438466, 32438487, 32438455, 44801524, 44801518, 44801513, 32438467, 32438469, 32438464, 32438474, 41326076, 32438488, 32438490, 32234634, 44801520, 44801528, 32438485, 32438489, 44801521, 44801526, 44801514, 32438491, 44801535, 44801533, 44801529, 32438483, 32438446, 32438480, 44801517, 44801540, 32438486, 44801527, 44801546, 32438463, 44801538, 44801525, 32438477, 44801531, 32438470, 44801532, 44801519, 44802419, 44802416, 32438478, 32438484, 44801523, 32235717, 32235718, 32438471, 44801536, 44801530, 32438378, 44801904, 44801534, 32438476, 32438458, 44877680, 44801522, 44801946, 32438472, 44801515, 44801545, 44801553, 44801542, 44801548, 44801543, 44801551, 44801537, 44801462, 44801561, 44801475, 44801469, 32235715, 44801550, 44801472, 44801558, 44801470, 32438481, 44801465, 44801464, 44801476, 44801484, 44801478, 44801559, 44801481, 44801544, 44801474, 44879097, 44801463, 44801547, 44801554, 41137935, 44801473, 44801492, 32438445, 44801557, 44879042, 44801490, 44879043, 44801499, 44877753, 44879141, 44801552, 44801584, 44801496, 44801483, 44801539, 44879553, 44877406, 44879026, 44801467, 44879039, 44877405, 44879730, 44801549, 44802539, 44879724, 41137933, 44878244, 44878258, 44801487, 44879739, 44801411, 44878335, 44878236, 44878223, 44802543, 44878414, 44801489, 44878351, 44879272, 44981466, 44877542, 44878255, 44801509, 44801506, 32438189, 44802538, 44877410, 44801435, 44801365, 44878343, 44878253, 44982506, 44879308, 44878348, 45070131, 44981561, 44878251, 32438163, 44877374, 44980979, 44879419, 44878413, 44982889, 44879273, 44801505, 44878263, 44716859, 44801494, 44878261, 44801502, 44879294, 44802545, 44801510, 44625700, 44801498, 44801495, 44877411, 44982939, 44802220, 44802535, 44625684, 44625696, 44878260, 44980988, 44981303, 44982438, 44981920, 44980971, 44801402, 44878233, 44802217, 44982937, 44878273, 44981304, 44980963, 44878946, 44879389, 44878242, 44878447, 44983035, 44980989, 44878917, 44878953, 44878268, 44879556, 44801379, 44625738, 44802213, 45070073, 45070263, 44625744, 44879871, 44980985, 44980975, 44625710, 44981498, 44879019, 44982933, 45070112, 44802214, 44802215, 44982938, 41137934, 44982713, 44981232, 44982890, 44981560, 44625702);
Date: 2025-03-12 14:21:55 Duration: 20ms
-
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 (44663999, 44663998, 45164188, 44869508, 44869509, 45120815, 45120814, 44948702, 45120817, 45122293, 44868571, 44947548, 44945953, 44947809, 45046963, 44942661, 45047303, 44994551, 44816898, 44816900, 44816897, 45125205, 44994550, 45125198, 45125199, 45125200, 44691604, 45125201, 45108289, 45108277, 45108292, 45035062, 45108296, 45108278, 45035320, 44746516, 45108294, 45125202, 45108279, 45125245, 45108293, 45125246, 45108281, 44994423, 45125204, 45035066, 45125206, 45035082, 45035325, 45035323, 45035069, 45035324, 45035071, 45035067, 45035070, 45108431, 44917443, 45109046, 44973891, 45108136, 45108132, 45109041, 45108134, 45108133, 44973397, 45109042, 44973430, 45108436, 45108428, 45108434, 45108447, 45108433, 44960661, 44960660, 45035351, 44691550, 44691552, 44691553, 44691554, 44969681, 44969678, 44969800, 44691555, 44691556, 44691557, 44691558, 44691559, 44691560, 44691561, 44994710, 44994361, 45125237, 45125239, 45125240, 45125242, 45125243, 45125244, 44994706, 44994703, 44994704);
Date: 2025-03-12 13:45:19 Duration: 17ms
-
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (45149771, 45149539, 45149813, 45150066, 45149221, 45025718, 45109947, 45149558, 45139176, 45072237, 45180393, 45105338, 45180100, 45105745, 45105764, 45105758, 44844000, 45044639, 45163244, 45139862, 45146419, 45146381, 45096382, 44949294, 45052162, 45105388, 45090398, 45090418, 45146283, 45110180, 45074470, 45033614, 44784584, 44833019, 45092915, 45048582, 45002042, 45007536, 44941898, 44888448, 45079724, 45156690, 45060889, 45005508, 45129639, 45129640, 44967369, 45090996, 45106805, 45031014, 45042969, 45090742, 41601409, 45081084, 44913953, 45053425, 44868111, 45055193, 44968012, 45064151, 45064529, 45138124, 44948466, 44897103, 44945270, 44946329, 44876199, 45056843, 45046535, 44876148, 45020123, 44966573, 44966222, 44834453, 44746431, 45044722, 44954527, 44774819);
Date: 2025-03-12 14:21:56 Duration: 15ms
15 188,844 35s368ms 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 Mar 11 23 5,218 498ms 0ms Mar 12 00 4,722 504ms 0ms 01 3,666 429ms 0ms 02 3,257 433ms 0ms 03 1,910 240ms 0ms 04 1,860 239ms 0ms 05 2,532 379ms 0ms 06 2,195 321ms 0ms 07 2,719 377ms 0ms 08 4,782 705ms 0ms 09 13,753 3s56ms 0ms 10 20,426 3s326ms 0ms 11 19,840 3s798ms 0ms 12 20,816 4s955ms 0ms 13 22,213 6s536ms 0ms 14 17,314 4s740ms 0ms 15 13,651 2s159ms 0ms 16 8,363 633ms 0ms 17 3,735 282ms 0ms 18 7,546 777ms 0ms 19 8,326 972ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414);
Date: 2025-03-12 14:21:55 Duration: 2ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414);
Date: 2025-03-12 13:24:09 Duration: 2ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414);
Date: 2025-03-12 13:17:23 Duration: 2ms
16 186,006 15s329ms 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 #16
Day Hour Count Duration Avg duration Mar 11 23 4,136 241ms 0ms Mar 12 00 3,341 190ms 0ms 01 1,647 93ms 0ms 02 2,257 133ms 0ms 03 1,709 92ms 0ms 04 877 46ms 0ms 05 921 52ms 0ms 06 1,238 72ms 0ms 07 1,221 67ms 0ms 08 5,118 292ms 0ms 09 13,998 1s148ms 0ms 10 18,577 1s605ms 0ms 11 11,974 1s198ms 0ms 12 18,586 1s930ms 0ms 13 23,816 2s577ms 0ms 14 25,126 2s123ms 0ms 15 17,348 1s208ms 0ms 16 9,685 602ms 0ms 17 4,926 291ms 0ms 18 11,463 799ms 0ms 19 8,042 558ms 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 (89);
Date: 2025-03-12 10:36:53 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 (107);
Date: 2025-03-12 11:39:26 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 (2, 10);
Date: 2025-03-12 10:34:58 Duration: 1ms
17 178,400 33s317ms 0ms 1ms 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 #17
Day Hour Count Duration Avg duration Mar 11 23 3,844 477ms 0ms Mar 12 00 3,150 394ms 0ms 01 1,603 196ms 0ms 02 2,007 247ms 0ms 03 1,599 183ms 0ms 04 863 98ms 0ms 05 914 107ms 0ms 06 1,219 150ms 0ms 07 1,211 143ms 0ms 08 4,990 618ms 0ms 09 13,330 2s543ms 0ms 10 17,948 3s596ms 0ms 11 11,482 2s601ms 0ms 12 17,706 4s284ms 0ms 13 22,808 5s760ms 0ms 14 24,035 4s567ms 0ms 15 16,722 2s557ms 0ms 16 9,297 1s255ms 0ms 17 4,822 608ms 0ms 18 11,211 1s757ms 0ms 19 7,639 1s165ms 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-03-12 12:06:37 Duration: 1ms
-
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 (86) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-03-12 13:35:37 Duration: 1ms
-
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 (98, 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-03-12 11:55:47 Duration: 1ms
18 171,450 4h43m9s 50ms 558ms 99ms 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 #18
Day Hour Count Duration Avg duration Mar 11 23 5,946 6m38s 67ms Mar 12 00 5,093 5m35s 65ms 01 4,315 4m42s 65ms 02 5,265 5m58s 68ms 03 2,516 2m48s 67ms 04 2,725 3m2s 66ms 05 3,627 3m45s 62ms 06 4,699 4m57s 63ms 07 2,727 2m48s 61ms 08 3,173 3m33s 67ms 09 11,699 17m4s 87ms 10 13,824 20m58s 91ms 11 17,756 33m56s 114ms 12 19,417 47m42s 147ms 13 18,862 51m40s 164ms 14 14,066 24m9s 103ms 15 10,475 13m33s 77ms 16 7,692 9m9s 71ms 17 3,320 3m33s 64ms 18 7,283 8m54s 73ms 19 6,970 8m35s 73ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6162838, 6162749, 6159321, 6154060, 6144087, 6125924, 6108783, 6052919)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-12 12:35:43 Duration: 558ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6230328, 6230323, 6230322, 6230320, 6230256, 6230252, 6230246, 6230243)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-12 11:47:27 Duration: 554ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6192118, 6190489, 6187187, 6169074, 6141427, 6136679)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-12 13:13:39 Duration: 550ms
19 152,186 58s920ms 0ms 2ms 0ms select "price_list".id from "price_list" where (("price_list"."from_office_id" = ?) and ("price_list"."to_office_id" = ?)) order by "price_list"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 11 23 11,335 3s661ms 0ms Mar 12 00 9,549 2s899ms 0ms 01 10,178 3s235ms 0ms 02 10,690 3s321ms 0ms 03 9,087 2s912ms 0ms 04 7,878 2s330ms 0ms 05 8,423 2s877ms 0ms 06 12,674 4s474ms 0ms 07 9,824 3s308ms 0ms 08 4,227 1s370ms 0ms 09 5,194 2s546ms 0ms 10 3,767 2s120ms 0ms 11 3,664 2s623ms 0ms 12 5,102 3s754ms 0ms 13 3,997 3s150ms 0ms 14 6,051 3s188ms 0ms 15 3,371 1s363ms 0ms 16 4,582 1s547ms 0ms 17 5,445 1s710ms 0ms 18 11,508 4s334ms 0ms 19 5,640 2s187ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 14) AND ("price_list"."to_office_id" = 71)) ORDER BY "price_list"."id";
Date: 2025-03-12 03:34:19 Duration: 2ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 51) AND ("price_list"."to_office_id" = 126)) ORDER BY "price_list"."id";
Date: 2025-03-12 12:26:45 Duration: 2ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 64) AND ("price_list"."to_office_id" = 17)) ORDER BY "price_list"."id";
Date: 2025-03-12 12:26:41 Duration: 2ms
20 150,042 1m54s 0ms 62ms 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 #20
Day Hour Count Duration Avg duration Mar 11 23 1,486 897ms 0ms Mar 12 00 1,258 600ms 0ms 01 1,388 912ms 0ms 02 1,070 1s65ms 0ms 03 305 188ms 0ms 04 167 104ms 0ms 05 226 160ms 0ms 06 708 346ms 0ms 07 1,287 761ms 0ms 08 5,423 2s609ms 0ms 09 12,508 8s446ms 0ms 10 14,940 10s760ms 0ms 11 16,935 14s368ms 0ms 12 18,668 18s31ms 0ms 13 20,285 20s415ms 1ms 14 12,142 11s105ms 0ms 15 9,228 5s895ms 0ms 16 5,150 2s944ms 0ms 17 3,297 1s615ms 0ms 18 11,900 6s626ms 0ms 19 11,671 6s419ms 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 (6230833, 5907462, 6110106, 6068536, 6061777, 6097264, 6181046, 6159187, 5146637, 6063801, 5601413, 5564138, 6172699, 6173742, 6128707, 6132493, 6140494, 6144251, 6150626, 6150670, 6172608, 6188545, 6165579, 6165601, 6153718, 6078724, 5876260, 5993281, 6010081, 6029967, 6085749, 6167006, 6175602, 6088354, 6105680, 6129230, 6133359, 6168015, 6169437, 6189377, 6197260, 6207582, 6165591, 6167510, 6118632, 6103459, 6191758, 6186827, 6183648, 6139506, 6130479, 6183556, 6112688, 6186014, 6170926, 6184186, 6142946, 6170356, 5874198, 6089782, 6094747, 6167539, 6180348, 5071103, 5652883, 6148856, 5722166, 6138591, 5937469, 6137007, 5950961, 6194695, 6065121, 6130730, 6068059, 6078937, 6077801, 6177328, 6086825, 6165515, 6130311, 6145703, 6163984, 6151720, 6168409, 6198881, 6210300, 6083192, 6198925, 6134163, 6191030, 6203099, 5773709, 6147141, 6058824, 5961386, 6204517, 6151408, 6194778, 6199484, 6175359, 6175361, 6152657, 6120033, 6203217, 6152704, 6177764, 6196792, 6169265, 6191055, 6207250, 6187829, 6190441, 6190438, 6190407, 6207485, 6204433, 5979109, 6010419, 6011095, 6011109, 6057349, 6089046, 6099458, 6126171, 6127238, 6127262, 6131233, 6139061, 6139457, 6140894, 6141882, 6149109, 6149780, 6152161, 6154573, 6158076, 6161485, 6168906, 6169341, 6174648, 6174746, 6182731, 6182991, 6182552, 6183641, 6207581, 6186172, 6085784, 6187098, 6192139, 6187203, 6186581, 6187672, 6144856, 6187674, 6132263, 6189601, 6207435, 6196243, 6178687, 6197100, 6184332, 6199865, 6177972, 6199906, 6197512, 6159779, 6193011, 6118581, 5853734, 6045685, 6052864, 6089232, 6104336, 6110047, 6135411, 6140991, 6159077, 6168056, 6168971, 6169002, 6182498, 6186138, 6093309, 5932590, 5928431, 6146274, 6086225, 6198520, 6198737, 6203255, 6202825, 6203107, 6198892, 6196802);
Date: 2025-03-12 14:21:56 Duration: 62ms
-
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 (6178674, 6177788, 6164596, 6178692, 5604273, 6202395, 6146579, 6125004, 6163440, 6075644, 6026991, 6162790, 6162853, 6120633, 6160140, 5646070, 6202944, 6203010, 6207884, 5842838, 5941273, 6143292, 6146061, 6056018, 6121986, 6122299, 6122342, 6158886, 6158935, 6199695, 6199791, 6204414, 6203530, 5655741, 6126919, 5844394, 6162626, 6061918, 6177789, 6247163, 6156335, 6200290, 6155491, 5658830, 6200354, 6200345, 6155495, 6054354, 6163565, 6125057, 5913562, 6026970, 6082398, 6159141, 6146006, 6084263, 5851074, 6126104, 6063898, 6150097, 6161665, 5692691, 5730806, 6160143, 5798924, 5730798, 6038607, 6126950, 6161575, 5691748, 6067531, 5688920, 5979799, 6017328, 6161615, 6116481, 6144840, 6199251, 6161646, 5969520, 6127045, 6149914, 6126985, 5961224, 5552848, 6200283, 6146051, 6110134, 6158894, 6162702, 6162900, 6150057, 6163573, 6163607, 6163447, 6163417, 6125104, 6163545, 6124997, 6004471, 6144824, 6183324, 6200255, 6157957, 6157955, 6249714, 6186119, 6202955, 6149853, 6162947, 6178988, 6203144, 6063742, 5224212, 6082345, 6076389, 6189694, 5798890, 6150586, 6192262, 6058580, 6116418, 6058503, 5987822, 6085774, 6085746, 5996893, 6026522, 5918166, 5973217, 6200621, 6137220, 6014410, 6071248, 5654796, 6138617, 6160245, 6160296, 6082072, 6204079, 6203073, 6162951, 6192357, 5948971, 5863388, 6026676, 6083991, 6026723, 6145931, 6058489, 6117148, 6117215, 6162621, 5833271, 5802438, 5866159, 6026631, 6093888, 5595903, 6026666, 6082421, 6082423, 6082425, 6117150, 6159021, 6150125, 6128826, 6163974, 6200356, 6162635, 6162749, 6162838, 6161264, 6161856, 6124240, 6156383, 5768391, 6200186, 6200097, 6161556, 6161213, 6163503, 6163466, 6163430, 6081999, 6203196, 6163529, 5623181, 6202893, 6149183, 5450908, 6063683, 6168415, 6202953, 6160153, 6163419, 6163527, 6160191, 6163446, 6203178);
Date: 2025-03-12 14:21:59 Duration: 20ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (5604273, 6201316, 6173060, 6104216, 6185869, 6194912, 6194903, 6132608, 6164596, 6184383, 6178157, 6180531, 6181104, 6181311, 6183024, 6202124, 6148851, 6147299, 6166049, 6156371, 6167673, 6169237, 6169393, 6174780, 6172282, 6179352, 6185683, 5958151, 6189546, 6190783, 6180709, 6194995, 6168293, 6144974, 6155190, 6194877, 6200363, 6171456, 6174390, 6202119, 6207806, 6184532, 6149464, 6172412, 6183625, 6202010, 6172449, 6183151, 6167234, 6137036, 6200368, 6175030, 6143007, 6188346, 6185835, 6200381, 6195009, 6155381, 6179409, 6179935, 6164634);
Date: 2025-03-12 14:21:56 Duration: 18ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 52m3s 52m3s 52m3s 1 52m3s select count(*) from ( select from "shipping_policy" where ((("shipping_policy"."active" = true) and (("shipping_policy"."state" != ?) or "shipping_policy"."state" is null)) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) 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)))) or "shipping_policy"."delegate_policy_id" is null)) 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))))) limit ?) t;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 12 13 1 52m3s 52m3s -
SELECT COUNT(*) FROM ( SELECT FROM "shipping_policy" WHERE ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب العجمى%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب العجمى%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب العجمى%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب العجمى%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب العجمى%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) LIMIT 10001) t;
Date: 2025-03-12 13:55:29 Duration: 52m3s
2 32m16s 32m16s 32m16s 1 32m16s select count(*) from ( select from "shipping_policy" where ((("shipping_policy"."active" = true) and (("shipping_policy"."state" != ?) or "shipping_policy"."state" is null)) and (("shipping_policy"."search_name"::text ilike ?) and (("shipping_policy"."delegate_policy_id" in ( select "res_partner".id from "res_partner" where (((((("res_partner"."display_name"::text not ilike ?) or "res_partner"."display_name" is null) and (("res_partner"."email"::text not ilike ?) or "res_partner"."email" is null)) and (("res_partner"."ref"::text not ilike ?) or "res_partner"."ref" is null)) and (("res_partner"."vat"::text not ilike ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry"::text not ilike ?) or "res_partner"."company_registry" is null)) 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)))) or "shipping_policy"."delegate_policy_id" is null))) 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))))) limit ?) t;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 12 13 1 32m16s 32m16s -
SELECT COUNT(*) FROM ( SELECT FROM "shipping_policy" WHERE ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."search_name"::text ilike '%العجمى%') AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب العجمى%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب العجمى%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب العجمى%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب العجمى%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب العجمى%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) LIMIT 10001) t;
Date: 2025-03-12 13:35:44 Duration: 32m16s
3 690ms 9s394ms 1s473ms 48,983 20h3m20s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 11 23 1,706 25m34s 899ms Mar 12 00 822 12m22s 903ms 01 803 11m55s 890ms 02 286 4m23s 920ms 03 240 3m17s 823ms 04 136 1m58s 868ms 05 183 2m47s 915ms 06 275 4m12s 916ms 07 325 4m34s 844ms 08 657 9m57s 908ms 09 3,694 1h11m11s 1s156ms 10 5,346 1h54m45s 1s287ms 11 4,662 2h22m53s 1s838ms 12 4,419 2h58m33s 2s424ms 13 5,971 4h31m13s 2s725ms 14 4,911 1h52m40s 1s376ms 15 4,567 1h10m52s 931ms 16 3,602 51m29s 857ms 17 1,463 22m27s 920ms 18 2,648 46m30s 1s53ms 19 2,267 39m41s 1s50ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6197331, 6184774, 6184177, 6168919, 6159620, 6148937, 6086675, 5831751)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 13:16:45 Duration: 9s394ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6198789, 6198313, 6192746, 6176710, 6158213, 6155204, 6150553, 6025569)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 12:06:04 Duration: 9s331ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6245503, 6236485, 6232127, 6231792, 6228786, 6226146, 6221139, 6214702)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 13:12:15 Duration: 9s199ms
4 674ms 8s343ms 1s241ms 286,120 4d2h40m12s 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 #4
Day Hour Count Duration Avg duration Mar 11 23 11,112 2h48m12s 908ms Mar 12 00 8,346 2h4m59s 898ms 01 9,693 2h23m24s 887ms 02 10,057 2h20m32s 838ms 03 8,269 1h46m26s 772ms 04 6,505 1h24m14s 776ms 05 9,162 2h3m 805ms 06 12,701 2h55m45s 830ms 07 8,899 1h59m21s 804ms 08 6,441 1h33m49s 874ms 09 17,636 5h28m49s 1s118ms 10 21,247 6h51m8s 1s161ms 11 25,112 10h19m38s 1s480ms 12 26,615 15h12m28s 2s57ms 13 25,325 16h9m32s 2s297ms 14 19,586 7h15m56s 1s335ms 15 13,717 3h29m16s 915ms 16 11,300 2h39m44s 848ms 17 5,086 1h19m54s 942ms 18 16,047 4h41m1s 1s50ms 19 13,264 3h52m54s 1s53ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6250040)) AND (("shipping_track"."id" not in (52211744, 52211744)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 13:26:53 Duration: 8s343ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6249157)) AND (("shipping_track"."id" not in (52183878, 52183878)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 12:18:57 Duration: 8s260ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6249158)) AND (("shipping_track"."id" not in (52183944, 52183944)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-12 12:19:04 Duration: 8s246ms
5 872ms 2s872ms 1s235ms 22,652 7h46m21s 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 #5
Day Hour Count Duration Avg duration Mar 11 23 1,604 30m20s 1s134ms Mar 12 00 1,017 18m51s 1s112ms 01 1,269 23m15s 1s100ms 02 926 16m59s 1s101ms 03 1,666 30m9s 1s86ms 04 1,732 31m5s 1s77ms 05 1,637 30m37s 1s122ms 06 2,396 46m2s 1s152ms 07 1,881 34m59s 1s115ms 08 831 15m4s 1s88ms 09 970 23m53s 1s477ms 10 338 8m25s 1s496ms 11 453 13m32s 1s793ms 12 701 24m 2s54ms 13 321 11m19s 2s116ms 14 608 15m57s 1s575ms 15 428 8m58s 1s257ms 16 433 8m39s 1s200ms 17 578 11m17s 1s172ms 18 1,868 40m51s 1s312ms 19 995 21m58s 1s324ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1016797')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-12 12:07:42 Duration: 2s872ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1041169')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-12 12:02:47 Duration: 2s845ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1084951')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-12 13:34:59 Duration: 2s843ms
6 888ms 2s766ms 1s156ms 9,580 3h4m40s 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 Mar 11 23 1,016 17m19s 1s23ms Mar 12 00 1,245 21m7s 1s18ms 01 932 15m51s 1s20ms 02 1,465 24m40s 1s10ms 03 114 1m53s 996ms 08 36 40s678ms 1s129ms 09 95 1m57s 1s238ms 10 288 6m21s 1s325ms 11 74 2m2s 1s652ms 12 241 7m56s 1s978ms 13 271 9m12s 2s37ms 14 673 16m22s 1s460ms 15 310 6m24s 1s239ms 16 640 11m21s 1s64ms 17 779 13m27s 1s36ms 18 1,002 20m3s 1s201ms 19 399 7m56s 1s194ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1078873')) 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 (74))))))) 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 (74)))))) 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 (74)))))) 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 (74))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-12 12:13:10 Duration: 2s766ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1078197')) 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 (74))))))) 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 (74)))))) 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 (74)))))) 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 (74))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-12 12:17:59 Duration: 2s743ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1078460')) 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 (74))))))) 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 (74)))))) 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 (74)))))) 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 (74))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-12 12:19:28 Duration: 2s729ms
7 26ms 2s278ms 1s68ms 2,283 40m39s 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 #7
Day Hour Count Duration Avg duration Mar 11 23 43 28s380ms 660ms Mar 12 00 24 5s931ms 247ms 01 3 2s647ms 882ms 02 1 195ms 195ms 03 4 2s167ms 541ms 07 4 2s700ms 675ms 08 32 10s689ms 334ms 09 119 1m46s 898ms 10 222 3m40s 991ms 11 299 5m49s 1s168ms 12 315 7m7s 1s357ms 13 340 7m56s 1s402ms 14 351 5m11s 886ms 15 200 3m7s 936ms 16 117 1m40s 859ms 17 30 26s380ms 879ms 18 91 1m36s 1s63ms 19 88 1m24s 957ms -
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 (62)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (62))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-12 13:17:18 Duration: 2s278ms
-
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 (30)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-12 13:15:17 Duration: 2s277ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (111))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-12 13:08:30 Duration: 2s271ms
8 326ms 4s491ms 700ms 24,696 4h48m29s 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 #8
Day Hour Count Duration Avg duration Mar 12 08 1,322 8m44s 396ms 09 3,853 31m43s 493ms 10 1,666 14m23s 518ms 11 4,161 49m5s 707ms 12 3,984 1h31s 911ms 13 3,801 1h4m37s 1s20ms 14 1,636 22m51s 838ms 15 2,361 21m19s 541ms 16 878 6m46s 462ms 17 143 1m8s 479ms 18 634 5m2s 477ms 19 257 2m15s 529ms -
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" = '809065')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:14:00 Duration: 4s491ms
-
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" = '739339')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:10:36 Duration: 4s459ms
-
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" = '663162')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:32:08 Duration: 4s441ms
9 262ms 2s949ms 566ms 19,483 3h3m48s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 11 23 276 1m27s 317ms Mar 12 00 681 3m32s 311ms 01 178 54s560ms 306ms 02 9 2s924ms 324ms 03 195 1m 310ms 04 331 1m40s 304ms 05 200 1m1s 306ms 06 922 4m59s 324ms 07 555 2m50s 306ms 08 812 4m1s 297ms 09 1,286 8m25s 393ms 10 1,991 14m57s 450ms 11 2,333 21m43s 558ms 12 3,950 53m19s 809ms 13 2,737 41m35s 911ms 14 1,422 11m49s 498ms 15 690 4m46s 415ms 16 165 1m4s 388ms 17 29 9s104ms 313ms 18 434 2m35s 359ms 19 287 1m50s 385ms -
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" = '1072014')) 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-03-12 12:12:48 Duration: 2s949ms
-
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" = '1065471')) 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 (128)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (128))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (128))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 13:34:34 Duration: 2s924ms
-
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" = '1022349')) 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 (128)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (128))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (128))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 13:20:00 Duration: 2s923ms
10 266ms 2s884ms 532ms 5,115 45m22s 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 Mar 12 00 12 3s759ms 313ms 02 318 1m43s 326ms 03 121 36s67ms 298ms 05 77 23s977ms 311ms 06 393 2m14s 342ms 07 31 9s590ms 309ms 08 228 1m8s 300ms 09 550 3m22s 367ms 10 786 4m48s 366ms 11 1,597 17m19s 651ms 12 1,002 13m31s 810ms -
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" = '5443399')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 12:20:17 Duration: 2s884ms
-
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" = '950113')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 12:14:12 Duration: 2s810ms
-
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" = '1001487')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 12:24:31 Duration: 2s808ms
11 255ms 3s128ms 506ms 126,703 17h50m8s 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 Mar 11 23 1,265 6m43s 319ms Mar 12 00 1,044 5m28s 314ms 01 1,474 7m50s 319ms 02 2,069 10m50s 314ms 03 1,889 9m18s 295ms 04 2,805 13m48s 295ms 05 3,166 16m21s 310ms 06 3,649 19m40s 323ms 07 1,747 8m59s 309ms 08 5,925 29m14s 296ms 09 12,281 1h17m36s 379ms 10 10,568 1h11m4s 403ms 11 14,432 2h14m22s 558ms 12 15,247 3h11m10s 752ms 13 16,996 3h52m43s 821ms 14 7,026 1h14m44s 638ms 15 4,697 31m13s 398ms 16 2,063 12m26s 362ms 17 3,039 18m6s 357ms 18 8,994 59m 393ms 19 6,327 39m24s 373ms -
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" = '1013094')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 13:17:07 Duration: 3s128ms
-
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" = '1013126')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 13:27:22 Duration: 2s938ms
-
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" = '1013134')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 13:27:14 Duration: 2s937ms
12 124ms 1s567ms 438ms 5,992 43m46s 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 #12
Day Hour Count Duration Avg duration Mar 11 23 138 22s184ms 160ms Mar 12 00 137 21s266ms 155ms 01 51 7s815ms 153ms 02 111 15s513ms 139ms 03 115 15s673ms 136ms 04 20 2s674ms 133ms 05 5 721ms 144ms 06 1 143ms 143ms 07 27 3s784ms 140ms 08 26 4s80ms 156ms 09 300 1m26s 288ms 10 671 3m13s 289ms 11 1,134 9m36s 508ms 12 1,100 12m15s 669ms 13 807 9m59s 742ms 14 552 3m25s 373ms 15 217 37s236ms 171ms 16 196 29s528ms 150ms 17 69 10s766ms 156ms 18 117 20s888ms 178ms 19 198 35s986ms 181ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 126)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-12 12:00:04 Duration: 1s567ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 60)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-12 12:11:05 Duration: 1s363ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 27)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-12 10:13:27 Duration: 1s354ms
13 207ms 2s190ms 427ms 5,283 37m39s 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 #13
Day Hour Count Duration Avg duration Mar 12 08 528 2m13s 251ms 09 1,141 5m59s 314ms 10 875 5m34s 382ms 11 709 6m7s 518ms 12 266 2m28s 557ms 13 615 6m37s 645ms 14 650 5m37s 519ms 15 294 1m57s 401ms 16 32 10s627ms 332ms 17 88 24s577ms 279ms 18 47 15s220ms 323ms 19 38 13s99ms 344ms -
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" = '879909')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-12 13:06:35 Duration: 2s190ms
-
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" = '879903')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-12 13:06:29 Duration: 2s189ms
-
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" = '773052')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-12 14:10:28 Duration: 2s169ms
14 92ms 1s29ms 265ms 63,600 4h41m15s 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 Mar 11 23 5,182 19m38s 227ms Mar 12 00 4,469 17m10s 230ms 01 4,371 16m41s 229ms 02 4,719 18m27s 234ms 03 3,520 12m28s 212ms 04 3,424 12m3s 211ms 05 3,212 11m46s 220ms 06 4,754 18m52s 238ms 07 3,734 13m48s 221ms 08 1,682 6m43s 240ms 09 2,106 11m18s 322ms 10 1,188 5m58s 301ms 11 1,034 7m15s 420ms 12 1,852 16m31s 535ms 13 1,156 11m48s 613ms 14 2,517 14m46s 352ms 15 1,448 6m12s 257ms 16 2,120 8m54s 252ms 17 2,670 10m12s 229ms 18 5,690 27m27s 289ms 19 2,752 13m8s 286ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'hg')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-12 12:08:49 Duration: 1s29ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'لوميند')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-12 12:13:23 Duration: 1s26ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'ايس بييرج')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-12 12:11:36 Duration: 1s21ms
15 124ms 1s113ms 243ms 23,826 1h36m49s 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 #15
Day Hour Count Duration Avg duration Mar 11 23 748 1m58s 158ms Mar 12 00 177 27s824ms 157ms 01 11 1s722ms 156ms 08 77 12s217ms 158ms 09 1,412 4m34s 194ms 10 3,166 10m28s 198ms 11 2,941 13m58s 285ms 12 2,483 14m45s 356ms 13 2,709 19m7s 423ms 14 3,488 13m14s 227ms 15 2,687 7m28s 166ms 16 1,793 4m37s 154ms 17 890 2m15s 152ms 18 674 1m59s 177ms 19 570 1m39s 174ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8320327)) AND (("cash_track"."id" not in (9340808)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-12 13:24:42 Duration: 1s113ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8320220)) AND (("cash_track"."id" not in (9340314)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-12 13:19:17 Duration: 1s111ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8320353)) AND (("cash_track"."id" not in (9341926)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-12 13:31:35 Duration: 1s110ms
16 183ms 934ms 234ms 13,918 54m17s 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 #16
Day Hour Count Duration Avg duration Mar 11 23 871 3m26s 236ms Mar 12 00 351 1m22s 236ms 01 1,273 5m3s 238ms 02 1,588 6m25s 242ms 03 1,522 5m49s 229ms 04 2,284 8m45s 230ms 05 2,747 10m25s 227ms 06 1,900 7m34s 239ms 07 1,116 4m15s 229ms 08 34 7s422ms 218ms 09 232 1m1s 264ms -
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" = '1072947')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 09:32:50 Duration: 934ms
-
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" = '107344')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 02:22:16 Duration: 706ms
-
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" = '8761094')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-12 05:00:16 Duration: 453ms
17 58ms 478ms 120ms 62,535 2h5m19s select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 11 23 104 8s668ms 83ms Mar 12 00 11 914ms 83ms 07 22 1s881ms 85ms 08 2,362 3m1s 76ms 09 7,476 12m15s 98ms 10 2,786 4m36s 99ms 11 6,257 12m39s 121ms 12 13,066 30m21s 139ms 13 13,443 35m28s 158ms 14 5,605 10m41s 114ms 15 4,443 5m45s 77ms 16 3,706 4m32s 73ms 17 785 1m18s 100ms 18 2,099 3m51s 110ms 19 370 36s977ms 99ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6159718) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-12 14:10:14 Duration: 478ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6124574) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:13:35 Duration: 472ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6191809) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:13:44 Duration: 471ms
18 53ms 390ms 102ms 25,010 42m54s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 12 08 1,282 1m29s 69ms 09 3,476 4m53s 84ms 10 1,241 1m49s 87ms 11 3,489 6m23s 109ms 12 5,143 10m47s 125ms 13 3,029 7m10s 142ms 14 1,724 3m4s 107ms 15 2,818 3m23s 72ms 16 1,269 1m26s 68ms 17 279 25s734ms 92ms 18 998 1m36s 96ms 19 262 23s812ms 90ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5994902) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:22:42 Duration: 390ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6159341) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:04:00 Duration: 383ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6127322) ORDER BY "collection_policy"."id";
Date: 2025-03-12 13:24:23 Duration: 381ms
19 50ms 558ms 99ms 171,450 4h43m9s select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 11 23 5,946 6m38s 67ms Mar 12 00 5,093 5m35s 65ms 01 4,315 4m42s 65ms 02 5,265 5m58s 68ms 03 2,516 2m48s 67ms 04 2,725 3m2s 66ms 05 3,627 3m45s 62ms 06 4,699 4m57s 63ms 07 2,727 2m48s 61ms 08 3,173 3m33s 67ms 09 11,699 17m4s 87ms 10 13,824 20m58s 91ms 11 17,756 33m56s 114ms 12 19,417 47m42s 147ms 13 18,862 51m40s 164ms 14 14,066 24m9s 103ms 15 10,475 13m33s 77ms 16 7,692 9m9s 71ms 17 3,320 3m33s 64ms 18 7,283 8m54s 73ms 19 6,970 8m35s 73ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6162838, 6162749, 6159321, 6154060, 6144087, 6125924, 6108783, 6052919)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-12 12:35:43 Duration: 558ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6230328, 6230323, 6230322, 6230320, 6230256, 6230252, 6230246, 6230243)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-12 11:47:27 Duration: 554ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6192118, 6190489, 6187187, 6169074, 6141427, 6136679)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-12 13:13:39 Duration: 550ms
20 0ms 6m7s 50ms 76,262 1h3m46s update shipping_policy set count_search = ? where id = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 11 23 1,083 523ms 0ms Mar 12 00 880 275ms 0ms 01 1,279 515ms 0ms 02 1,478 865ms 0ms 03 1,349 447ms 0ms 04 2,077 759ms 0ms 05 2,212 785ms 0ms 06 2,305 883ms 0ms 07 1,442 422ms 0ms 08 3,362 1s693ms 0ms 09 6,408 2s914ms 0ms 10 6,423 1m58s 18ms 11 8,990 36s680ms 4ms 12 9,796 35m32s 217ms 13 9,863 24m51s 151ms 14 4,185 32s595ms 7ms 15 2,655 1s1ms 0ms 16 1,010 390ms 0ms 17 1,523 539ms 0ms 18 4,700 1s828ms 0ms 19 3,242 1s241ms 0ms -
update shipping_policy set count_search = 3 where id = 6226171;
Date: 2025-03-12 13:28:21 Duration: 6m7s
-
update shipping_policy set count_search = 17 where id = 6089959;
Date: 2025-03-12 12:23:02 Duration: 5m33s
-
update shipping_policy set count_search = 3 where id = 6208374;
Date: 2025-03-12 12:21:27 Duration: 4m3s
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,784,307 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 3174 FATAL entries
- 559 ERROR entries
- 0 WARNING entries
- 271 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 1,298 Max number of times the same event was reported
- 4,004 Total events found
Rank Times reported Error 1 1,298 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 12 02 291 05 158 08 145 11 212 14 311 17 181 - 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-03-12 02:20:02
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '891432')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (23))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false )) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false )) AND (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (23)))))) OR (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (23)))))) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (23))))))))) ORDER BY "policy_number"."id"
Date: 2025-03-12 02:20:02
Statement: SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'كريم')) ORDER BY "urgent_customer"."id" LIMIT 1
Date: 2025-03-12 02:20:02
2 1,284 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 12 02 64 05 60 08 38 11 505 14 504 17 113 3 376 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 11 23 5 Mar 12 00 4 01 5 02 1 03 5 04 1 05 4 06 4 07 1 08 5 09 20 10 27 11 47 12 84 13 53 14 27 15 19 16 5 17 4 18 33 19 22 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: update shipping_policy set count_search=1 where id=6219409
Date: 2025-03-11 23:21:08
Statement: UPDATE "shipping_policy" SET "cash_policy_id" = 8316980, "client_delivery_button" = false, "create_cash_policy_button" = true, "edit_cash_button" = false, "return_button" = true, "write_date" = '2025-03-11 22:26:56.071099', "write_uid" = 1025 WHERE id IN (6078937)
Date: 2025-03-11 23:27:39
Statement: update shipping_policy set count_search=2 where id=6219991
Date: 2025-03-11 23:39:46
4 215 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 12 12 47 13 168 5 215 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 12 12 47 13 168 6 182 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 12 02 24 05 16 08 12 11 40 14 90 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6233524)) AND (("shipping_track"."id" not in (52045734, 52048018, 52048018)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-03-12 02:00:06
Statement: SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'لي لي')) ORDER BY "urgent_customer"."id" LIMIT 1
Date: 2025-03-12 02:00:06
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6234128)) AND (("shipping_track"."id" not in (52048017, 52048017)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-03-12 02:00:06
7 163 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 12 03 46 04 108 09 3 12 3 18 3 - FATAL: password authentication failed for user "postgres"
- FATAL: password authentication failed for user "root"
- FATAL: password authentication failed for user "admin"
Detail: User "postgres" has no password assigned. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-03-12 03:55:55
Detail: Role "root" does not exist. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-03-12 03:56:16
Detail: Role "admin" does not exist. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-03-12 03:56:26
8 97 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 12 07 1 09 17 10 6 11 8 12 10 13 1 14 10 15 5 16 8 17 3 18 10 19 18 - ERROR: syntax error at or near ")" at character 158
- ERROR: syntax error at or near ")" at character 153
- ERROR: syntax error at or near ")" at character 158
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 ('736446',)
Date: 2025-03-12 07:43:04
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 ('0',)
Date: 2025-03-12 09:33:17
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 ('857635',)
Date: 2025-03-12 09:40:41
9 46 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 12 02 5 05 4 08 3 11 10 14 24 - ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6233524)) AND (("shipping_track"."id" not in (52045734, 52048018, 52048018)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-03-12 02:00:06
Context: parallel worker
Statement: SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'لي لي')) ORDER BY "urgent_customer"."id" LIMIT 1Date: 2025-03-12 02:00:06
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6234128)) AND (("shipping_track"."id" not in (52048017, 52048017)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-03-12 02:00:06
10 28 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 12 12 1 13 27 11 24 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 12 08 2 09 2 10 2 11 3 12 10 13 4 14 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 579081 waits for ShareLock on transaction 10793079; blocked by process 552457. Process 552457 waits for ShareLock on transaction 10793080; blocked by process 579081. Process 579081: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-03-12 07:57:57.371935', "write_uid" = 1102 WHERE id IN (6164499, 6164381, 6159366, 6158032, 6156613, 6154457, 6154190, 6154050, 6153193, 6152876, 6152712, 6152668, 6152199, 6151609, 6151565, 6149511, 6148942, 6148292, 6147763, 6147187, 6146585, 6144664, 6144412, 6144376, 6143209, 6142194, 6141230, 6140127, 6138994, 6138603, 6137479, 6136627, 6129657, 6129412, 6128209, 6128206, 6126720, 6126684, 6126678, 6126301, 6119358, 6110096, 6105613, 6105093, 6099468, 6099399, 6093658, 6092792, 6090086, 6088025, 6087277, 6072284, 6069805, 6151977, 6151900, 6134170) Process 552457: update shipping_policy set count_search=4 where id=6099468
Context: while updating tuple (77528,13) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-03-12 07:57:57.371935', "write_uid" = 1102 WHERE id IN (6164499, 6164381, 6159366, 6158032, 6156613, 6154457, 6154190, 6154050, 6153193, 6152876, 6152712, 6152668, 6152199, 6151609, 6151565, 6149511, 6148942, 6148292, 6147763, 6147187, 6146585, 6144664, 6144412, 6144376, 6143209, 6142194, 6141230, 6140127, 6138994, 6138603, 6137479, 6136627, 6129657, 6129412, 6128209, 6128206, 6126720, 6126684, 6126678, 6126301, 6119358, 6110096, 6105613, 6105093, 6099468, 6099399, 6093658, 6092792, 6090086, 6088025, 6087277, 6072284, 6069805, 6151977, 6151900, 6134170)Date: 2025-03-12 08:58:02
Detail: Process 552457 waits for ShareLock on transaction 10793083; blocked by process 579081. Process 579081 waits for ShareLock on transaction 10793079; blocked by process 552457. Process 552457: update shipping_policy set count_search=6 where id=6087277 Process 579081: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-03-12 07:58:03.149272', "write_uid" = 1102 WHERE id IN (6164499, 6164381, 6159366, 6158032, 6156613, 6154457, 6154190, 6154050, 6153193, 6152876, 6152712, 6152668, 6152199, 6151609, 6151565, 6149511, 6148942, 6148292, 6147763, 6147187, 6146585, 6144664, 6144412, 6144376, 6143209, 6142194, 6141230, 6140127, 6138994, 6138603, 6137479, 6136627, 6129657, 6129412, 6128209, 6128206, 6126720, 6126684, 6126678, 6126301, 6119358, 6110096, 6105613, 6105093, 6099468, 6099399, 6093658, 6092792, 6090086, 6088025, 6087277, 6072284, 6069805, 6151977, 6151900, 6134170)
Context: while updating tuple (77388,42) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=6 where id=6087277Date: 2025-03-12 08:58:21
Detail: Process 545606 waits for ShareLock on transaction 10796875; blocked by process 545692. Process 545692 waits for ShareLock on transaction 10796867; blocked by process 545606. Process 545606: update shipping_policy set count_search=3 where id=6108427 Process 545692: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-03-12 08:51:02.354297', "write_uid" = 1080 WHERE id IN (6159758, 6152383, 6152374, 6152366, 6152337, 6152250, 6152190, 6152113, 6152107, 6152089, 6147151, 6146932, 6144651, 6144641, 6144631, 6144618, 6144608, 6144597, 6144591, 6144585, 6144462, 6144280, 6143440, 6143200, 6143187, 6124913, 6112199, 6112182, 6112166, 6108427, 6152377, 6152371, 6152367, 6144623, 6047861)
Context: while updating tuple (83648,50) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=3 where id=6108427Date: 2025-03-12 09:51:25
12 18 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 12 12 1 13 16 19 1 13 12 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 11 23 1 Mar 12 02 2 08 3 14 6 14 9 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 11 23 1 Mar 12 02 2 05 1 08 1 11 1 14 2 17 1 15 9 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #15
Day Hour Count Mar 12 11 1 12 1 13 2 15 1 17 4 - ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (5555234, null, 822, 822, null, 01116713831, null, null, t, 2025-03-12 10:06:49.82025, 2025-03-12 10:06:49.82025, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-03-12 10:06:49.820250', 822, '01116713831', '2025-03-12 10:06:49.820250', 822) RETURNING "id"Date: 2025-03-12 11:06:49
Detail: Failing row contains (5555282, null, 822, 822, null, 01028106114, null, null, t, 2025-03-12 11:15:30.389935, 2025-03-12 11:15:30.389935, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-03-12 11:15:30.389935', 822, '01028106114', '2025-03-12 11:15:30.389935', 822) RETURNING "id"Date: 2025-03-12 12:15:30
Detail: Failing row contains (5555341, null, 822, 822, null, 01283901481, null, null, t, 2025-03-12 12:35:27.378704, 2025-03-12 12:35:27.378704, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-03-12 12:35:27.378704', 822, '01283901481', '2025-03-12 12:35:27.378704', 822) RETURNING "id"Date: 2025-03-12 13:35:27
16 5 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #16
Day Hour Count Mar 11 23 1 Mar 12 06 1 15 1 17 1 18 1 17 5 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #17
Day Hour Count Mar 11 23 1 Mar 12 06 1 15 1 17 1 18 1 18 5 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #18
Day Hour Count Mar 11 23 1 Mar 12 06 1 15 1 17 1 18 1 19 5 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #19
Day Hour Count Mar 12 11 1 12 1 13 1 16 1 19 1 - ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (197810)
Date: 2025-03-12 11:23:17
Statement: DELETE FROM "delegate_track" WHERE id IN (198450)
Date: 2025-03-12 12:29:55
Statement: delete from cash_policy_line where id=2331600
Date: 2025-03-12 13:21:21
20 3 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #20
Day Hour Count Mar 12 12 3 21 1 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #21
Day Hour Count Mar 12 02 1 22 1 ERROR: incomplete startup packet
Times Reported Most Frequent Error / Event #22
Day Hour Count Mar 12 06 1 23 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #23
Day Hour Count Mar 12 11 1 - ERROR: duplicate key value violates unique constraint "ir_filters_name_model_uid_unique_action_index"
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(cash.policy, -1, -1, 1) already exists.
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2025-03-12 10:56:52.546654', 1472, '[(''id'', ''in'', [8299528, 8308479, 8287912, 8279393, 8299168, 8303167, 8287149, 8292095, 8303099, 8311067, 8317673, 8300016, 8301658, 8318573, 8298694, 8317305])]', 'cash.policy', '1', '[]', '2025-03-12 10:56:52.546654', 1472) RETURNING "id"Date: 2025-03-12 11:56:52
24 1 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #24
Day Hour Count Mar 12 19 1 25 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #25
Day Hour Count Mar 12 13 1 - ERROR: column urgent_office.is_no_change_office does not exist at character 574
Statement: SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (39)
Date: 2025-03-12 13:33:35