-
Global information
- Generated on Wed Nov 27 23:47:26 2024
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 43,513,723 log entries in 2m24s
- Log start from 2024-11-27 00:00:00 to 2024-11-27 22:45:02
-
Overview
Global Stats
- 24,046 Number of unique normalized queries
- 18,479,967 Number of queries
- 2d12h52m3s Total query duration
- 2024-11-27 00:00:00 First query
- 2024-11-27 22:45:02 Last query
- 2,077 queries/s at 2024-11-27 17:21:52 Query peak
- 2d12h52m3s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 2d12h52m3s Execute total duration
- 300 Number of events
- 14 Number of unique normalized events
- 122 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,479,967 Average queries per session
- 2d12h52m3s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 2,077 queries/s Query Peak
- 2024-11-27 17:21:52 Date
SELECT Traffic
Key values
- 1,252 queries/s Query Peak
- 2024-11-27 17:21:52 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,509 queries/s Query Peak
- 2024-11-27 14:58:52 Date
Queries duration
Key values
- 2d12h52m3s 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) Nov 27 00 266,850 0ms 3s397ms 22ms 3m22s 3m37s 3m41s 01 282,113 0ms 3s521ms 18ms 3m11s 3m26s 3m31s 02 237,844 0ms 1s75ms 14ms 2m8s 2m31s 2m41s 03 268,553 0ms 3s281ms 21ms 3m4s 3m26s 3m46s 04 214,991 0ms 447ms 17ms 2m3s 2m14s 2m24s 05 264,266 0ms 489ms 20ms 2m50s 3m38s 4m1s 06 297,385 0ms 3s865ms 19ms 2m39s 3m4s 4m44s 07 294,112 0ms 1s367ms 13ms 2m11s 2m18s 2m39s 08 518,047 0ms 3s361ms 8ms 2m6s 2m32s 2m39s 09 1,044,946 0ms 4s634ms 8ms 3m52s 4m38s 4m50s 10 1,377,810 0ms 4s83ms 9ms 5m27s 5m59s 6m28s 11 1,578,105 0ms 5s468ms 8ms 5m34s 5m45s 6m27s 12 1,658,145 0ms 27s70ms 7ms 4m56s 5m38s 6m7s 13 1,456,233 0ms 26s184ms 7ms 5m3s 5m19s 5m28s 14 1,349,462 0ms 4s594ms 8ms 5m41s 6m6s 7m1s 15 1,348,537 0ms 3s964ms 8ms 4m38s 4m47s 6m18s 16 1,243,924 0ms 4s571ms 9ms 4m46s 5m50s 7m2s 17 1,102,265 0ms 3s846ms 12ms 6m24s 7m10s 10m32s 18 1,014,903 0ms 4s136ms 19ms 8m29s 9m25s 11m17s 19 964,106 0ms 3s440ms 17ms 7m39s 9m24s 10m7s 20 765,805 0ms 13s594ms 15ms 7m7s 7m34s 9m35s 21 581,641 0ms 23s509ms 21ms 7m25s 8m13s 10m8s 22 349,924 0ms 4s571ms 17ms 3m48s 4m3s 4m47s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 27 00 138,126 0 42ms 2m31s 3m21s 3m36s 01 146,045 0 35ms 2m 3m11s 3m27s 02 116,116 0 29ms 1m35s 2m7s 2m37s 03 137,781 0 41ms 2m38s 3m4s 3m32s 04 105,148 0 35ms 1m29s 2m3s 2m15s 05 134,150 0 40ms 2m4s 2m49s 4m 06 156,209 0 36ms 2m22s 2m39s 3m31s 07 160,375 0 23ms 1m42s 2m10s 2m22s 08 291,701 0 14ms 1m43s 2m5s 2m33s 09 578,924 0 14ms 3m12s 3m52s 4m47s 10 758,086 0 18ms 4m55s 5m26s 6m3s 11 902,195 0 15ms 5m 5m33s 5m49s 12 917,182 0 14ms 4m33s 4m55s 5m49s 13 804,204 0 14ms 4m32s 5m2s 5m21s 14 739,218 0 14ms 3m33s 5m40s 6m14s 15 736,351 0 15ms 4m10s 4m37s 5m5s 16 685,868 0 16ms 4m14s 4m45s 6m1s 17 632,612 0 21ms 5m5s 6m23s 10m 18 578,963 0 33ms 6m50s 8m28s 10m59s 19 552,436 0 31ms 5m54s 7m38s 9m56s 20 436,787 0 26ms 4m12s 7m6s 8m10s 21 323,938 0 39ms 5m4s 7m24s 9m42s 22 204,413 0 30ms 3m17s 3m48s 4m46s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 27 00 26,083 4,596 90 0 0ms 142ms 180ms 272ms 01 25,528 4,975 86 0 0ms 138ms 189ms 295ms 02 17,225 4,011 186 0 0ms 96ms 121ms 200ms 03 26,755 6,024 119 0 0ms 154ms 210ms 308ms 04 15,789 4,047 80 0 0ms 94ms 124ms 154ms 05 26,564 5,247 105 0 0ms 153ms 191ms 233ms 06 27,706 6,409 71 0 0ms 149ms 193ms 297ms 07 19,441 5,185 137 0 0ms 111ms 149ms 219ms 08 20,318 6,250 330 0 0ms 115ms 132ms 192ms 09 48,672 11,571 870 0 0ms 244ms 275ms 368ms 10 76,782 15,848 845 0 0ms 353ms 421ms 547ms 11 81,974 15,201 792 0 0ms 416ms 463ms 559ms 12 80,929 15,625 913 1 0ms 354ms 449ms 508ms 13 62,393 14,352 604 4 0ms 299ms 353ms 428ms 14 67,090 14,711 661 2 0ms 306ms 417ms 557ms 15 74,293 17,982 639 1 0ms 341ms 395ms 622ms 16 59,564 14,973 661 1 0ms 291ms 348ms 423ms 17 62,078 16,950 687 1 0ms 426ms 494ms 677ms 18 95,853 20,678 661 0 0ms 505ms 597ms 854ms 19 77,191 19,328 569 2 0ms 415ms 472ms 600ms 20 62,280 15,827 592 0 0ms 339ms 402ms 589ms 21 50,953 15,114 324 0 0ms 301ms 396ms 532ms 22 35,059 6,223 189 0 0ms 172ms 246ms 562ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Nov 27 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Nov 27 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s Day Hour Count Average Duration Average idle time Nov 27 00 0 0ms 0ms 01 0 0ms 0ms 02 0 0ms 0ms 03 0 0ms 0ms 04 0 0ms 0ms 05 0 0ms 0ms 06 0 0ms 0ms 07 0 0ms 0ms 08 0 0ms 0ms 09 0 0ms 0ms 10 0 0ms 0ms 11 0 0ms 0ms 12 0 0ms 0ms 13 0 0ms 0ms 14 0 0ms 0ms 15 0 0ms 0ms 16 0 0ms 0ms 17 0 0ms 0ms 18 0 0ms 0ms 19 0 0ms 0ms 20 0 0ms 0ms 21 0 0ms 0ms 22 0 0ms 0ms -
Connections
Established Connections
Key values
- 0 connections Connection Peak
- Date
Connections per database
Key values
- unknown Main Database
- 0 connections Total
Connections per user
Key values
- unknown Main User
- 0 connections Total
-
Sessions
Simultaneous sessions
Key values
- 0 sessions Session Peak
- Date
Histogram of session times
Key values
- duration
Sessions per database
Key values
- unknown Main Database
- 0 sessions Total
Sessions per user
Key values
- unknown Main User
- 0 sessions Total
Sessions per host
Key values
- unknown Main Host
- 0 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 221,343 buffers Checkpoint Peak
- 2024-11-27 09:46:19 Date
- 270.058 seconds Highest write time
- 0.119 seconds Sync time
Checkpoints Wal files
Key values
- 95 files Wal files usage Peak
- 2024-11-27 09:46:19 Date
Checkpoints distance
Key values
- 3,027.80 Mo Distance Peak
- 2024-11-27 09:46:19 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Nov 27 00 98,612 2,969.499s 0.034s 2,969.569s 01 120,104 3,239.527s 0.04s 3,239.611s 02 105,811 2,969.506s 0.027s 2,969.575s 03 154,207 3,239.606s 0.043s 3,239.703s 04 141,307 3,239.489s 0.031s 3,239.564s 05 171,627 3,239.6s 0.061s 3,239.706s 06 176,528 3,239.48s 0.047s 3,239.578s 07 135,897 3,239.586s 0.039s 3,239.665s 08 174,463 3,239.551s 0.032s 3,239.631s 09 510,388 3,239.522s 0.067s 3,239.67s 10 560,097 3,239.47s 0.058s 3,239.604s 11 575,773 3,239.562s 0.086s 3,239.725s 12 589,569 3,239.467s 0.048s 3,239.6s 13 517,783 3,239.502s 0.061s 3,239.646s 14 469,343 3,239.589s 0.058s 3,239.732s 15 530,879 3,239.516s 0.043s 3,239.643s 16 475,575 3,239.331s 0.178s 3,239.582s 17 340,607 2,892.691s 0.075s 2,892.832s 18 396,769 3,239.496s 0.067s 3,239.635s 19 331,393 3,239.484s 0.061s 3,239.614s 20 332,861 3,239.574s 0.045s 3,239.689s 21 269,974 3,239.526s 0.054s 3,239.637s 22 164,267 2,429.605s 0.033s 2,429.682s Day Hour Added Removed Recycled Synced files Longest sync Average sync Nov 27 00 0 0 46 2,758 0.002s 0.011s 01 0 0 54 2,823 0.002s 0.012s 02 0 0 49 2,459 0.002s 0.011s 03 0 0 72 2,705 0.002s 0.012s 04 0 0 62 2,454 0.002s 0.012s 05 0 0 79 2,786 0.014s 0.012s 06 0 0 81 2,829 0.008s 0.012s 07 0 0 63 3,256 0.002s 0.012s 08 0 0 77 3,615 0.002s 0.012s 09 0 0 220 4,642 0.003s 0.012s 10 0 0 226 4,886 0.003s 0.012s 11 0 0 241 5,106 0.017s 0.012s 12 0 0 254 5,099 0.002s 0.012s 13 0 0 223 5,176 0.003s 0.012s 14 0 0 211 5,251 0.002s 0.012s 15 0 0 238 5,269 0.003s 0.012s 16 0 0 205 5,347 0.016s 0.012s 17 0 0 144 5,205 0.006s 0.012s 18 0 0 175 5,162 0.002s 0.012s 19 0 0 149 5,020 0.002s 0.012s 20 0 0 147 4,840 0.002s 0.012s 21 0 0 119 4,745 0.002s 0.012s 22 0 0 74 3,121 0.002s 0.009s Day Hour Count Avg time (sec) Nov 27 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Nov 27 00 69,604.91 kB 97,163.91 kB 01 73,569.33 kB 104,956.17 kB 02 73,302.27 kB 111,962.45 kB 03 97,135.58 kB 125,471.08 kB 04 85,287.17 kB 142,316.00 kB 05 107,724.50 kB 149,365.83 kB 06 110,796.33 kB 153,799.50 kB 07 85,882.92 kB 128,707.17 kB 08 100,682.27 kB 139,933.55 kB 09 320,301.00 kB 539,372.64 kB 10 308,634.58 kB 844,098.58 kB 11 328,237.25 kB 471,869.83 kB 12 341,721.60 kB 403,516.20 kB 13 299,815.90 kB 348,829.50 kB 14 288,844.17 kB 367,669.67 kB 15 324,020.83 kB 395,463.17 kB 16 280,493.67 kB 535,169.75 kB 17 197,973.36 kB 339,169.09 kB 18 239,292.50 kB 288,092.00 kB 19 204,507.55 kB 243,062.18 kB 20 201,650.17 kB 269,091.83 kB 21 162,297.17 kB 217,356.50 kB 22 134,564.33 kB 195,731.11 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 Nov 27 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Nov 27 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 10,236,828 Total read queries
- 5,539,599 Total write queries
Queries by database
Key values
- unknown Main database
- 18,479,967 Requests
- 2d12h52m3s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 18,479,967 Requests
User Request type Count Duration unknown Total 18,479,967 2d12h52m3s copy from 12 19ms cte 8,716 1s895ms ddl 104 12ms delete 10,211 1s197ms insert 1,140,520 5m1s others 2,703,540 2m29s select 10,236,828 2d12h38m41s tcl 4,118,909 2m19s update 261,127 3m30s Duration by user
Key values
- 2d12h52m3s (unknown) Main time consuming user
User Request type Count Duration unknown Total 18,479,967 2d12h52m3s copy from 12 19ms cte 8,716 1s895ms ddl 104 12ms delete 10,211 1s197ms insert 1,140,520 5m1s others 2,703,540 2m29s select 10,236,828 2d12h38m41s tcl 4,118,909 2m19s update 261,127 3m30s Queries by host
Key values
- unknown Main host
- 18,479,967 Requests
- 2d12h52m3s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 18,479,967 Requests
- 2d12h52m3s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-11-27 18:44:11 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 17,183,329 0-1ms duration
Slowest individual queries
Rank Duration Query 1 27s70ms SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "state_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"."state" as "state" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."pol_name" = '8909717') OR (("shipping_policy"."pol_name" = '8931941') OR (("shipping_policy"."pol_name" = '9110168') OR (("shipping_policy"."pol_name" = '8944293') OR (("shipping_policy"."pol_name" = '9006651') OR (("shipping_policy"."pol_name" = '9089090') OR (("shipping_policy"."pol_name" = '8748642') OR (("shipping_policy"."pol_name" = '8944364') OR (("shipping_policy"."pol_name" = '8804292') OR (("shipping_policy"."pol_name" = '8896513') OR (("shipping_policy"."pol_name" = '8896512') OR (("shipping_policy"."pol_name" = '8090192') OR (("shipping_policy"."pol_name" = '9025952') OR (("shipping_policy"."pol_name" = '8568935') OR (("shipping_policy"."pol_name" = '8896511') OR (("shipping_policy"."pol_name" = '9069915') OR (("shipping_policy"."pol_name" = '9088157') OR (("shipping_policy"."pol_name" = '9093167') OR (("shipping_policy"."pol_name" = '9071816') OR (("shipping_policy"."pol_name" = '8959187') OR (("shipping_policy"."pol_name" = '7677210') OR (("shipping_policy"."pol_name" = '8996873') OR (("shipping_policy"."pol_name" = '8783319') OR (("shipping_policy"."pol_name" = '9044932') OR (("shipping_policy"."pol_name" = '886952') OR (("shipping_policy"."pol_name" = '8886952') OR (("shipping_policy"."pol_name" = '8883786') OR (("shipping_policy"."pol_name" = '8883451') OR (("shipping_policy"."pol_name" = '8919888') OR (("shipping_policy"."pol_name" = '8788040') OR (("shipping_policy"."pol_name" = '8881883') OR (("shipping_policy"."pol_name" = '9043899') OR (("shipping_policy"."pol_name" = '9108704') OR (("shipping_policy"."pol_name" = '9070015') OR (("shipping_policy"."pol_name" = '9006491') OR (("shipping_policy"."pol_name" = '9085682') OR (("shipping_policy"."pol_name" = '8699500') OR (("shipping_policy"."pol_name" = '8918479') OR (("shipping_policy"."pol_name" = '8862747') OR (("shipping_policy"."pol_name" = '9071180') OR (("shipping_policy"."pol_name" = '9070331') OR (("shipping_policy"."pol_name" = '8998347') OR (("shipping_policy"."pol_name" = '8340479') OR (("shipping_policy"."pol_name" = '7606174') OR (("shipping_policy"."pol_name" = '9002054') OR (("shipping_policy"."pol_name" = '8690824') OR ("shipping_policy"."pol_name" = '9070192'))))))))))))))))))))))))))))))))))))))))))))))) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8090192%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) 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"."state" ORDER BY "state" LIMIT 80;[ Date: 2024-11-27 12:59:57 ]
2 26s356ms SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "state_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"."state" as "state" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."pol_name" = '8909717') OR (("shipping_policy"."pol_name" = '8931941') OR (("shipping_policy"."pol_name" = '9110168') OR (("shipping_policy"."pol_name" = '8944293') OR (("shipping_policy"."pol_name" = '9006651') OR (("shipping_policy"."pol_name" = '9089090') OR (("shipping_policy"."pol_name" = '8748642') OR (("shipping_policy"."pol_name" = '8944364') OR (("shipping_policy"."pol_name" = '8804292') OR (("shipping_policy"."pol_name" = '8896513') OR (("shipping_policy"."pol_name" = '8896512') OR (("shipping_policy"."pol_name" = '8090192') OR (("shipping_policy"."pol_name" = '9025952') OR (("shipping_policy"."pol_name" = '8568935') OR (("shipping_policy"."pol_name" = '8896511') OR (("shipping_policy"."pol_name" = '9069915') OR (("shipping_policy"."pol_name" = '9088157') OR (("shipping_policy"."pol_name" = '9093167') OR (("shipping_policy"."pol_name" = '9071816') OR (("shipping_policy"."pol_name" = '8959187') OR (("shipping_policy"."pol_name" = '7677210') OR (("shipping_policy"."pol_name" = '8996873') OR (("shipping_policy"."pol_name" = '8783319') OR (("shipping_policy"."pol_name" = '9044932') OR (("shipping_policy"."pol_name" = '886952') OR (("shipping_policy"."pol_name" = '8886952') OR (("shipping_policy"."pol_name" = '8883786') OR (("shipping_policy"."pol_name" = '8883451') OR (("shipping_policy"."pol_name" = '8919888') OR (("shipping_policy"."pol_name" = '8788040') OR (("shipping_policy"."pol_name" = '8881883') OR (("shipping_policy"."pol_name" = '9043899') OR (("shipping_policy"."pol_name" = '9108704') OR (("shipping_policy"."pol_name" = '9070015') OR (("shipping_policy"."pol_name" = '9006491') OR (("shipping_policy"."pol_name" = '9085682') OR (("shipping_policy"."pol_name" = '8699500') OR (("shipping_policy"."pol_name" = '8918479') OR (("shipping_policy"."pol_name" = '8862747') OR (("shipping_policy"."pol_name" = '9071180') OR (("shipping_policy"."pol_name" = '9070331') OR (("shipping_policy"."pol_name" = '8998347') OR (("shipping_policy"."pol_name" = '8340479') OR (("shipping_policy"."pol_name" = '7606174') OR (("shipping_policy"."pol_name" = '9002054') OR (("shipping_policy"."pol_name" = '8690824') OR ("shipping_policy"."pol_name" = '9070192'))))))))))))))))))))))))))))))))))))))))))))))) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8090192%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) 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"."state" ORDER BY "state" LIMIT 80;[ Date: 2024-11-27 12:56:26 ]
3 26s184ms SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "state_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"."state" as "state" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."pol_name" = '8909717') OR (("shipping_policy"."pol_name" = '8931941') OR (("shipping_policy"."pol_name" = '9110168') OR (("shipping_policy"."pol_name" = '8944293') OR (("shipping_policy"."pol_name" = '9006651') OR (("shipping_policy"."pol_name" = '9089090') OR (("shipping_policy"."pol_name" = '8748642') OR (("shipping_policy"."pol_name" = '8944364') OR (("shipping_policy"."pol_name" = '8804292') OR (("shipping_policy"."pol_name" = '8896513') OR (("shipping_policy"."pol_name" = '8896512') OR (("shipping_policy"."pol_name" = '8090192') OR (("shipping_policy"."pol_name" = '9025952') OR (("shipping_policy"."pol_name" = '8568935') OR (("shipping_policy"."pol_name" = '8896511') OR (("shipping_policy"."pol_name" = '9069915') OR (("shipping_policy"."pol_name" = '9088157') OR (("shipping_policy"."pol_name" = '9093167') OR (("shipping_policy"."pol_name" = '9071816') OR (("shipping_policy"."pol_name" = '8959187') OR (("shipping_policy"."pol_name" = '7677210') OR (("shipping_policy"."pol_name" = '8996873') OR (("shipping_policy"."pol_name" = '8783319') OR (("shipping_policy"."pol_name" = '9044932') OR (("shipping_policy"."pol_name" = '886952') OR (("shipping_policy"."pol_name" = '8886952') OR (("shipping_policy"."pol_name" = '8883786') OR (("shipping_policy"."pol_name" = '8883451') OR (("shipping_policy"."pol_name" = '8919888') OR (("shipping_policy"."pol_name" = '8788040') OR (("shipping_policy"."pol_name" = '8881883') OR (("shipping_policy"."pol_name" = '9043899') OR (("shipping_policy"."pol_name" = '9108704') OR (("shipping_policy"."pol_name" = '9070015') OR (("shipping_policy"."pol_name" = '9006491') OR (("shipping_policy"."pol_name" = '9085682') OR (("shipping_policy"."pol_name" = '8699500') OR (("shipping_policy"."pol_name" = '8918479') OR (("shipping_policy"."pol_name" = '8862747') OR (("shipping_policy"."pol_name" = '9071180') OR (("shipping_policy"."pol_name" = '9070331') OR (("shipping_policy"."pol_name" = '8998347') OR (("shipping_policy"."pol_name" = '8340479') OR (("shipping_policy"."pol_name" = '7606174') OR (("shipping_policy"."pol_name" = '9002054') OR (("shipping_policy"."pol_name" = '8690824') OR ("shipping_policy"."pol_name" = '9070192'))))))))))))))))))))))))))))))))))))))))))))))) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8090192%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) 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"."state" ORDER BY "state" LIMIT 80;[ Date: 2024-11-27 13:02:21 ]
4 26s40ms SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "state_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"."state" as "state" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."pol_name" = '8909717') OR (("shipping_policy"."pol_name" = '8931941') OR (("shipping_policy"."pol_name" = '9110168') OR (("shipping_policy"."pol_name" = '8944293') OR (("shipping_policy"."pol_name" = '9006651') OR (("shipping_policy"."pol_name" = '9089090') OR (("shipping_policy"."pol_name" = '8748642') OR (("shipping_policy"."pol_name" = '8944364') OR (("shipping_policy"."pol_name" = '8804292') OR (("shipping_policy"."pol_name" = '8896513') OR (("shipping_policy"."pol_name" = '8896512') OR (("shipping_policy"."pol_name" = '8090192') OR (("shipping_policy"."pol_name" = '9025952') OR (("shipping_policy"."pol_name" = '8568935') OR (("shipping_policy"."pol_name" = '8896511') OR (("shipping_policy"."pol_name" = '9069915') OR (("shipping_policy"."pol_name" = '9088157') OR (("shipping_policy"."pol_name" = '9093167') OR (("shipping_policy"."pol_name" = '9071816') OR (("shipping_policy"."pol_name" = '8959187') OR (("shipping_policy"."pol_name" = '7677210') OR (("shipping_policy"."pol_name" = '8996873') OR (("shipping_policy"."pol_name" = '8783319') OR (("shipping_policy"."pol_name" = '9044932') OR (("shipping_policy"."pol_name" = '886952') OR (("shipping_policy"."pol_name" = '8886952') OR (("shipping_policy"."pol_name" = '8883786') OR (("shipping_policy"."pol_name" = '8883451') OR (("shipping_policy"."pol_name" = '8919888') OR (("shipping_policy"."pol_name" = '8788040') OR (("shipping_policy"."pol_name" = '8881883') OR (("shipping_policy"."pol_name" = '9043899') OR (("shipping_policy"."pol_name" = '9108704') OR (("shipping_policy"."pol_name" = '9070015') OR (("shipping_policy"."pol_name" = '9006491') OR (("shipping_policy"."pol_name" = '9085682') OR (("shipping_policy"."pol_name" = '8699500') OR (("shipping_policy"."pol_name" = '8918479') OR (("shipping_policy"."pol_name" = '8862747') OR (("shipping_policy"."pol_name" = '9071180') OR (("shipping_policy"."pol_name" = '9070331') OR (("shipping_policy"."pol_name" = '8998347') OR (("shipping_policy"."pol_name" = '8340479') OR (("shipping_policy"."pol_name" = '7606174') OR (("shipping_policy"."pol_name" = '9002054') OR (("shipping_policy"."pol_name" = '8690824') OR ("shipping_policy"."pol_name" = '9070192'))))))))))))))))))))))))))))))))))))))))))))))) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8090192%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) 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"."state" ORDER BY "state" LIMIT 80;[ Date: 2024-11-27 12:57:14 ]
5 25s123ms SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "state_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"."state" as "state" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."pol_name" = '8909717') OR (("shipping_policy"."pol_name" = '8931941') OR (("shipping_policy"."pol_name" = '9110168') OR (("shipping_policy"."pol_name" = '8944293') OR (("shipping_policy"."pol_name" = '9006651') OR (("shipping_policy"."pol_name" = '9089090') OR (("shipping_policy"."pol_name" = '8748642') OR (("shipping_policy"."pol_name" = '8944364') OR (("shipping_policy"."pol_name" = '8804292') OR (("shipping_policy"."pol_name" = '8896513') OR (("shipping_policy"."pol_name" = '8896512') OR (("shipping_policy"."pol_name" = '8090192') OR (("shipping_policy"."pol_name" = '9025952') OR (("shipping_policy"."pol_name" = '8568935') OR (("shipping_policy"."pol_name" = '8896511') OR (("shipping_policy"."pol_name" = '9069915') OR (("shipping_policy"."pol_name" = '9088157') OR (("shipping_policy"."pol_name" = '9093167') OR (("shipping_policy"."pol_name" = '9071816') OR (("shipping_policy"."pol_name" = '8959187') OR (("shipping_policy"."pol_name" = '7677210') OR (("shipping_policy"."pol_name" = '8996873') OR (("shipping_policy"."pol_name" = '8783319') OR (("shipping_policy"."pol_name" = '9044932') OR (("shipping_policy"."pol_name" = '886952') OR (("shipping_policy"."pol_name" = '8886952') OR (("shipping_policy"."pol_name" = '8883786') OR (("shipping_policy"."pol_name" = '8883451') OR (("shipping_policy"."pol_name" = '8919888') OR (("shipping_policy"."pol_name" = '8788040') OR (("shipping_policy"."pol_name" = '8881883') OR (("shipping_policy"."pol_name" = '9043899') OR (("shipping_policy"."pol_name" = '9108704') OR (("shipping_policy"."pol_name" = '9070015') OR (("shipping_policy"."pol_name" = '9006491') OR (("shipping_policy"."pol_name" = '9085682') OR (("shipping_policy"."pol_name" = '8699500') OR (("shipping_policy"."pol_name" = '8918479') OR (("shipping_policy"."pol_name" = '8862747') OR (("shipping_policy"."pol_name" = '9071180') OR (("shipping_policy"."pol_name" = '9070331') OR (("shipping_policy"."pol_name" = '8998347') OR (("shipping_policy"."pol_name" = '8340479') OR (("shipping_policy"."pol_name" = '7606174') OR (("shipping_policy"."pol_name" = '9002054') OR (("shipping_policy"."pol_name" = '8690824') OR ("shipping_policy"."pol_name" = '9070192'))))))))))))))))))))))))))))))))))))))))))))))) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8090192%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) 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"."state" ORDER BY "state" LIMIT 80;[ Date: 2024-11-27 12:58:38 ]
6 25s57ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."pol_name" = '8909717') OR (("shipping_policy"."pol_name" = '8931941') OR (("shipping_policy"."pol_name" = '9110168') OR (("shipping_policy"."pol_name" = '8944293') OR (("shipping_policy"."pol_name" = '9006651') OR (("shipping_policy"."pol_name" = '9089090') OR (("shipping_policy"."pol_name" = '8748642') OR (("shipping_policy"."pol_name" = '8944364') OR (("shipping_policy"."pol_name" = '8804292') OR (("shipping_policy"."pol_name" = '8896513') OR (("shipping_policy"."pol_name" = '8896512') OR (("shipping_policy"."pol_name" = '8090192') OR (("shipping_policy"."pol_name" = '9025952') OR (("shipping_policy"."pol_name" = '8568935') OR (("shipping_policy"."pol_name" = '8896511') OR (("shipping_policy"."pol_name" = '9069915') OR (("shipping_policy"."pol_name" = '9088157') OR (("shipping_policy"."pol_name" = '9093167') OR (("shipping_policy"."pol_name" = '9071816') OR (("shipping_policy"."pol_name" = '8959187') OR (("shipping_policy"."pol_name" = '7677210') OR (("shipping_policy"."pol_name" = '8996873') OR (("shipping_policy"."pol_name" = '8783319') OR (("shipping_policy"."pol_name" = '9044932') OR (("shipping_policy"."pol_name" = '886952') OR (("shipping_policy"."pol_name" = '8886952') OR (("shipping_policy"."pol_name" = '8883786') OR (("shipping_policy"."pol_name" = '8883451') OR (("shipping_policy"."pol_name" = '8919888') OR (("shipping_policy"."pol_name" = '8788040') OR (("shipping_policy"."pol_name" = '8881883') OR (("shipping_policy"."pol_name" = '9043899') OR (("shipping_policy"."pol_name" = '9108704') OR (("shipping_policy"."pol_name" = '9070015') OR (("shipping_policy"."pol_name" = '9006491') OR (("shipping_policy"."pol_name" = '9085682') OR (("shipping_policy"."pol_name" = '8699500') OR (("shipping_policy"."pol_name" = '8918479') OR (("shipping_policy"."pol_name" = '8862747') OR (("shipping_policy"."pol_name" = '9071180') OR (("shipping_policy"."pol_name" = '9070331') OR (("shipping_policy"."pol_name" = '8998347') OR (("shipping_policy"."pol_name" = '8340479') OR (("shipping_policy"."pol_name" = '7606174') OR (("shipping_policy"."pol_name" = '9002054') OR (("shipping_policy"."pol_name" = '8690824') OR ("shipping_policy"."pol_name" = '9070192'))))))))))))))))))))))))))))))))))))))))))))))) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8090192%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;[ Date: 2024-11-27 12:55:00 ]
7 24s474ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."pol_name" = '8909717') OR (("shipping_policy"."pol_name" = '8931941') OR (("shipping_policy"."pol_name" = '9110168') OR (("shipping_policy"."pol_name" = '8944293') OR (("shipping_policy"."pol_name" = '9006651') OR (("shipping_policy"."pol_name" = '9089090') OR (("shipping_policy"."pol_name" = '8748642') OR (("shipping_policy"."pol_name" = '8944364') OR (("shipping_policy"."pol_name" = '8804292') OR (("shipping_policy"."pol_name" = '8896513') OR (("shipping_policy"."pol_name" = '8896512') OR (("shipping_policy"."pol_name" = '8090192') OR (("shipping_policy"."pol_name" = '9025952') OR (("shipping_policy"."pol_name" = '8568935') OR (("shipping_policy"."pol_name" = '8896511') OR (("shipping_policy"."pol_name" = '9069915') OR (("shipping_policy"."pol_name" = '9088157') OR (("shipping_policy"."pol_name" = '9093167') OR (("shipping_policy"."pol_name" = '9071816') OR (("shipping_policy"."pol_name" = '8959187') OR (("shipping_policy"."pol_name" = '7677210') OR (("shipping_policy"."pol_name" = '8996873') OR (("shipping_policy"."pol_name" = '8783319') OR (("shipping_policy"."pol_name" = '9044932') OR (("shipping_policy"."pol_name" = '886952') OR (("shipping_policy"."pol_name" = '8886952') OR (("shipping_policy"."pol_name" = '8883786') OR (("shipping_policy"."pol_name" = '8883451') OR (("shipping_policy"."pol_name" = '8919888') OR (("shipping_policy"."pol_name" = '8788040') OR (("shipping_policy"."pol_name" = '8881883') OR (("shipping_policy"."pol_name" = '9043899') OR (("shipping_policy"."pol_name" = '9108704') OR (("shipping_policy"."pol_name" = '9070015') OR (("shipping_policy"."pol_name" = '9006491') OR (("shipping_policy"."pol_name" = '9085682') OR (("shipping_policy"."pol_name" = '8699500') OR (("shipping_policy"."pol_name" = '8918479') OR (("shipping_policy"."pol_name" = '8862747') OR (("shipping_policy"."pol_name" = '9071180') OR (("shipping_policy"."pol_name" = '9070331') OR (("shipping_policy"."pol_name" = '8998347') OR (("shipping_policy"."pol_name" = '8340479') OR (("shipping_policy"."pol_name" = '7606174') OR (("shipping_policy"."pol_name" = '9002054') OR (("shipping_policy"."pol_name" = '8690824') OR ("shipping_policy"."pol_name" = '9070192'))))))))))))))))))))))))))))))))))))))))))))))) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8090192%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;[ Date: 2024-11-27 12:57:45 ]
8 24s170ms SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "state_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"."state" as "state" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."pol_name" = '8909717') OR (("shipping_policy"."pol_name" = '8931941') OR (("shipping_policy"."pol_name" = '9110168') OR (("shipping_policy"."pol_name" = '8944293') OR (("shipping_policy"."pol_name" = '9006651') OR (("shipping_policy"."pol_name" = '9089090') OR (("shipping_policy"."pol_name" = '8748642') OR (("shipping_policy"."pol_name" = '8944364') OR (("shipping_policy"."pol_name" = '8804292') OR (("shipping_policy"."pol_name" = '8896513') OR (("shipping_policy"."pol_name" = '8896512') OR (("shipping_policy"."pol_name" = '8090192') OR (("shipping_policy"."pol_name" = '9025952') OR (("shipping_policy"."pol_name" = '8568935') OR (("shipping_policy"."pol_name" = '8896511') OR (("shipping_policy"."pol_name" = '9069915') OR (("shipping_policy"."pol_name" = '9088157') OR (("shipping_policy"."pol_name" = '9093167') OR (("shipping_policy"."pol_name" = '9071816') OR (("shipping_policy"."pol_name" = '8959187') OR (("shipping_policy"."pol_name" = '7677210') OR (("shipping_policy"."pol_name" = '8996873') OR (("shipping_policy"."pol_name" = '8783319') OR (("shipping_policy"."pol_name" = '9044932') OR (("shipping_policy"."pol_name" = '886952') OR (("shipping_policy"."pol_name" = '8886952') OR (("shipping_policy"."pol_name" = '8883786') OR (("shipping_policy"."pol_name" = '8883451') OR (("shipping_policy"."pol_name" = '8919888') OR (("shipping_policy"."pol_name" = '8788040') OR (("shipping_policy"."pol_name" = '8881883') OR (("shipping_policy"."pol_name" = '9043899') OR (("shipping_policy"."pol_name" = '9108704') OR (("shipping_policy"."pol_name" = '9070015') OR (("shipping_policy"."pol_name" = '9006491') OR (("shipping_policy"."pol_name" = '9085682') OR (("shipping_policy"."pol_name" = '8699500') OR (("shipping_policy"."pol_name" = '8918479') OR (("shipping_policy"."pol_name" = '8862747') OR (("shipping_policy"."pol_name" = '9071180') OR (("shipping_policy"."pol_name" = '9070331') OR (("shipping_policy"."pol_name" = '8998347') OR (("shipping_policy"."pol_name" = '8340479') OR (("shipping_policy"."pol_name" = '7606174') OR (("shipping_policy"."pol_name" = '9002054') OR (("shipping_policy"."pol_name" = '8690824') OR ("shipping_policy"."pol_name" = '9070192'))))))))))))))))))))))))))))))))))))))))))))))) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8090192%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) 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"."state" ORDER BY "state" LIMIT 80;[ Date: 2024-11-27 13:08:43 ]
9 24s15ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_office') AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."pol_name" = '8909717') OR (("shipping_policy"."pol_name" = '8931941') OR (("shipping_policy"."pol_name" = '9110168') OR (("shipping_policy"."pol_name" = '8944293') OR (("shipping_policy"."pol_name" = '9006651') OR (("shipping_policy"."pol_name" = '9089090') OR (("shipping_policy"."pol_name" = '8748642') OR (("shipping_policy"."pol_name" = '8944364') OR (("shipping_policy"."pol_name" = '8804292') OR (("shipping_policy"."pol_name" = '8896513') OR (("shipping_policy"."pol_name" = '8896512') OR (("shipping_policy"."pol_name" = '8090192') OR (("shipping_policy"."pol_name" = '9025952') OR (("shipping_policy"."pol_name" = '8568935') OR (("shipping_policy"."pol_name" = '8896511') OR (("shipping_policy"."pol_name" = '9069915') OR (("shipping_policy"."pol_name" = '9088157') OR (("shipping_policy"."pol_name" = '9093167') OR (("shipping_policy"."pol_name" = '9071816') OR (("shipping_policy"."pol_name" = '8959187') OR (("shipping_policy"."pol_name" = '7677210') OR (("shipping_policy"."pol_name" = '8996873') OR (("shipping_policy"."pol_name" = '8783319') OR (("shipping_policy"."pol_name" = '9044932') OR (("shipping_policy"."pol_name" = '886952') OR (("shipping_policy"."pol_name" = '8886952') OR (("shipping_policy"."pol_name" = '8883786') OR (("shipping_policy"."pol_name" = '8883451') OR (("shipping_policy"."pol_name" = '8919888') OR (("shipping_policy"."pol_name" = '8788040') OR (("shipping_policy"."pol_name" = '8881883') OR (("shipping_policy"."pol_name" = '9043899') OR (("shipping_policy"."pol_name" = '9108704') OR (("shipping_policy"."pol_name" = '9070015') OR (("shipping_policy"."pol_name" = '9006491') OR (("shipping_policy"."pol_name" = '9085682') OR (("shipping_policy"."pol_name" = '8699500') OR (("shipping_policy"."pol_name" = '8918479') OR (("shipping_policy"."pol_name" = '8862747') OR (("shipping_policy"."pol_name" = '9071180') OR (("shipping_policy"."pol_name" = '9070331') OR (("shipping_policy"."pol_name" = '8998347') OR (("shipping_policy"."pol_name" = '8340479') OR (("shipping_policy"."pol_name" = '7606174') OR (("shipping_policy"."pol_name" = '9002054') OR (("shipping_policy"."pol_name" = '8690824') OR ("shipping_policy"."pol_name" = '9070192'))))))))))))))))))))))))))))))))))))))))))))))) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8090192%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;[ Date: 2024-11-27 13:00:23 ]
10 23s761ms SELECT "shipping_policy".id FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."state" = 'in_way') AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."pol_name" = '8909717') OR (("shipping_policy"."pol_name" = '8931941') OR (("shipping_policy"."pol_name" = '9110168') OR (("shipping_policy"."pol_name" = '8944293') OR (("shipping_policy"."pol_name" = '9006651') OR (("shipping_policy"."pol_name" = '9089090') OR (("shipping_policy"."pol_name" = '8748642') OR (("shipping_policy"."pol_name" = '8944364') OR (("shipping_policy"."pol_name" = '8804292') OR (("shipping_policy"."pol_name" = '8896513') OR (("shipping_policy"."pol_name" = '8896512') OR (("shipping_policy"."pol_name" = '8090192') OR (("shipping_policy"."pol_name" = '9025952') OR (("shipping_policy"."pol_name" = '8568935') OR (("shipping_policy"."pol_name" = '8896511') OR (("shipping_policy"."pol_name" = '9069915') OR (("shipping_policy"."pol_name" = '9088157') OR (("shipping_policy"."pol_name" = '9093167') OR (("shipping_policy"."pol_name" = '9071816') OR (("shipping_policy"."pol_name" = '8959187') OR (("shipping_policy"."pol_name" = '7677210') OR (("shipping_policy"."pol_name" = '8996873') OR (("shipping_policy"."pol_name" = '8783319') OR (("shipping_policy"."pol_name" = '9044932') OR (("shipping_policy"."pol_name" = '886952') OR (("shipping_policy"."pol_name" = '8886952') OR (("shipping_policy"."pol_name" = '8883786') OR (("shipping_policy"."pol_name" = '8883451') OR (("shipping_policy"."pol_name" = '8919888') OR (("shipping_policy"."pol_name" = '8788040') OR (("shipping_policy"."pol_name" = '8881883') OR (("shipping_policy"."pol_name" = '9043899') OR (("shipping_policy"."pol_name" = '9108704') OR (("shipping_policy"."pol_name" = '9070015') OR (("shipping_policy"."pol_name" = '9006491') OR (("shipping_policy"."pol_name" = '9085682') OR (("shipping_policy"."pol_name" = '8699500') OR (("shipping_policy"."pol_name" = '8918479') OR (("shipping_policy"."pol_name" = '8862747') OR (("shipping_policy"."pol_name" = '9071180') OR (("shipping_policy"."pol_name" = '9070331') OR (("shipping_policy"."pol_name" = '8998347') OR (("shipping_policy"."pol_name" = '8340479') OR (("shipping_policy"."pol_name" = '7606174') OR (("shipping_policy"."pol_name" = '9002054') OR (("shipping_policy"."pol_name" = '8690824') OR ("shipping_policy"."pol_name" = '9070192'))))))))))))))))))))))))))))))))))))))))))))))) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8090192%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC LIMIT 100;[ Date: 2024-11-27 12:59:02 ]
11 23s509ms UPDATE "shipping_policy" SET "collection_amount_receive" = '65', "create_cash_policy_button" = false, "return_button" = false, "total_collection_amount" = true, "write_date" = '2024-11-27 20:15:49.630882', "write_uid" = 1116 WHERE id IN (2993564);[ Date: 2024-11-27 21:16:21 ]
12 13s594ms SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "delegate_id_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."total_shipping_price") AS "total_shipping_price", sum("shipping_policy"."collection_amount_sender") AS "collection_amount_sender", sum("shipping_policy"."collection_amount_receive") AS "collection_amount_receive", sum("shipping_policy"."total_amount_cash_lines") AS "total_amount_cash_lines", "shipping_policy"."delegate_id" as "delegate_id" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8480320%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) GROUP BY "shipping_policy"."delegate_id" ORDER BY "collection_amount_sender" ASC, "total_shipping_price" ASC LIMIT 80;[ Date: 2024-11-27 20:32:08 ]
13 13s12ms SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "delegate_id_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."total_shipping_price") AS "total_shipping_price", sum("shipping_policy"."collection_amount_sender") AS "collection_amount_sender", sum("shipping_policy"."collection_amount_receive") AS "collection_amount_receive", sum("shipping_policy"."total_amount_cash_lines") AS "total_amount_cash_lines", "shipping_policy"."delegate_id" as "delegate_id" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8480320%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) GROUP BY "shipping_policy"."delegate_id" ORDER BY "collection_amount_sender" ASC, "total_shipping_price" ASC LIMIT 80;[ Date: 2024-11-27 20:28:39 ]
14 12s863ms SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "delegate_id_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."total_shipping_price") AS "total_shipping_price", sum("shipping_policy"."collection_amount_sender") AS "collection_amount_sender", sum("shipping_policy"."collection_amount_receive") AS "collection_amount_receive", sum("shipping_policy"."total_amount_cash_lines") AS "total_amount_cash_lines", "shipping_policy"."delegate_id" as "delegate_id" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8480320%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) GROUP BY "shipping_policy"."delegate_id" ORDER BY "collection_amount_sender" ASC, "total_shipping_price" ASC LIMIT 80;[ Date: 2024-11-27 20:31:12 ]
15 12s807ms SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "delegate_id_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."total_shipping_price") AS "total_shipping_price", sum("shipping_policy"."collection_amount_sender") AS "collection_amount_sender", sum("shipping_policy"."collection_amount_receive") AS "collection_amount_receive", sum("shipping_policy"."total_amount_cash_lines") AS "total_amount_cash_lines", "shipping_policy"."delegate_id" as "delegate_id" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8480320%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) GROUP BY "shipping_policy"."delegate_id" ORDER BY "collection_amount_sender" ASC, "total_shipping_price" ASC LIMIT 80;[ Date: 2024-11-27 20:30:36 ]
16 12s291ms SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "delegate_id_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."total_shipping_price") AS "total_shipping_price", sum("shipping_policy"."collection_amount_sender") AS "collection_amount_sender", sum("shipping_policy"."collection_amount_receive") AS "collection_amount_receive", sum("shipping_policy"."total_amount_cash_lines") AS "total_amount_cash_lines", "shipping_policy"."delegate_id" as "delegate_id" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8480320%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) GROUP BY "shipping_policy"."delegate_id" ORDER BY "collection_amount_sender" ASC, "total_shipping_price" ASC LIMIT 80;[ Date: 2024-11-27 20:36:07 ]
17 11s958ms SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "delegate_id_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."total_shipping_price") AS "total_shipping_price", sum("shipping_policy"."collection_amount_sender") AS "collection_amount_sender", sum("shipping_policy"."collection_amount_receive") AS "collection_amount_receive", sum("shipping_policy"."total_amount_cash_lines") AS "total_amount_cash_lines", "shipping_policy"."delegate_id" as "delegate_id" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8480320%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) GROUP BY "shipping_policy"."delegate_id" ORDER BY "collection_amount_sender" ASC, "total_shipping_price" ASC LIMIT 80;[ Date: 2024-11-27 20:35:16 ]
18 7s818ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '5389267') OR (("policy_number"."name" = '5441547') OR (("policy_number"."name" = '3034212') OR (("policy_number"."name" = '9063083') OR (("policy_number"."name" = '9063057') OR (("policy_number"."name" = '9062703') OR (("policy_number"."name" = '8994841') OR (("policy_number"."name" = '8881293') OR (("policy_number"."name" = '8711192') OR (("policy_number"."name" = '8881586') OR (("policy_number"."name" = '7202081') OR (("policy_number"."name" = '7966980') OR (("policy_number"."name" = '7869986') OR (("policy_number"."name" = '7869971') OR (("policy_number"."name" = '7463246') OR (("policy_number"."name" = '8564188') OR (("policy_number"."name" = '8492922') OR (("policy_number"."name" = '9038706') OR (("policy_number"."name" = '9038885') OR (("policy_number"."name" = '8948036') OR (("policy_number"."name" = '8860513') OR (("policy_number"."name" = '8791191') OR (("policy_number"."name" = '8859085') OR (("policy_number"."name" = '8859071') OR (("policy_number"."name" = '8791238') OR (("policy_number"."name" = '7661451') OR (("policy_number"."name" = '8898571') OR (("policy_number"."name" = '8898570') OR (("policy_number"."name" = '8948829') OR (("policy_number"."name" = '8947353') OR (("policy_number"."name" = '8996676') OR (("policy_number"."name" = '5829754') OR (("policy_number"."name" = '5829415') OR (("policy_number"."name" = '6486130') OR (("policy_number"."name" = '7818818') OR (("policy_number"."name" = '7413364') OR (("policy_number"."name" = '8860651') OR (("policy_number"."name" = '8898840') OR (("policy_number"."name" = '8792906') OR (("policy_number"."name" = '7140060') OR (("policy_number"."name" = '7096688') OR (("policy_number"."name" = '7096654') OR (("policy_number"."name" = '8239905') OR (("policy_number"."name" = '7459129') OR (("policy_number"."name" = '8259900') OR ("policy_number"."name" = '8862387'))))))))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-11-27 20:32:08 ]
19 7s783ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '5389267') OR (("policy_number"."name" = '5441547') OR (("policy_number"."name" = '3034212') OR (("policy_number"."name" = '9063083') OR (("policy_number"."name" = '9063057') OR (("policy_number"."name" = '9062703') OR (("policy_number"."name" = '8994841') OR (("policy_number"."name" = '8881293') OR (("policy_number"."name" = '8711192') OR (("policy_number"."name" = '8881586') OR (("policy_number"."name" = '7202081') OR (("policy_number"."name" = '7966980') OR (("policy_number"."name" = '7869986') OR (("policy_number"."name" = '7869971') OR (("policy_number"."name" = '7463246') OR (("policy_number"."name" = '8564188') OR (("policy_number"."name" = '8492922') OR (("policy_number"."name" = '9038706') OR (("policy_number"."name" = '9038885') OR (("policy_number"."name" = '8948036') OR (("policy_number"."name" = '8860513') OR (("policy_number"."name" = '8791191') OR (("policy_number"."name" = '8859085') OR (("policy_number"."name" = '8859071') OR (("policy_number"."name" = '8791238') OR (("policy_number"."name" = '7661451') OR (("policy_number"."name" = '8898571') OR (("policy_number"."name" = '8898570') OR (("policy_number"."name" = '8948829') OR (("policy_number"."name" = '8947353') OR (("policy_number"."name" = '8996676') OR (("policy_number"."name" = '5829754') OR (("policy_number"."name" = '5829415') OR (("policy_number"."name" = '6486130') OR (("policy_number"."name" = '7818818') OR (("policy_number"."name" = '7413364') OR (("policy_number"."name" = '8860651') OR (("policy_number"."name" = '8898840') OR (("policy_number"."name" = '8792906') OR (("policy_number"."name" = '7140060') OR (("policy_number"."name" = '7096688') OR (("policy_number"."name" = '7096654') OR (("policy_number"."name" = '8239905') OR (("policy_number"."name" = '7459129') OR (("policy_number"."name" = '8259900') OR (("policy_number"."name" = '8862387') OR (("policy_number"."name" = '7762228') OR (("policy_number"."name" = '7599836') OR (("policy_number"."name" = '7599428') OR (("policy_number"."name" = '7762335') OR (("policy_number"."name" = '8862292') OR (("policy_number"."name" = '7599361') OR ("policy_number"."name" = '8074669')))))))))))))))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-11-27 20:33:48 ]
20 7s595ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND ((("policy_number"."done" IS NULL or "policy_number"."done" = false) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '5389267') OR (("policy_number"."name" = '5441547') OR (("policy_number"."name" = '3034212') OR (("policy_number"."name" = '9063083') OR (("policy_number"."name" = '9063057') OR (("policy_number"."name" = '9062703') OR (("policy_number"."name" = '8994841') OR (("policy_number"."name" = '8881293') OR (("policy_number"."name" = '8711192') OR (("policy_number"."name" = '8881586') OR (("policy_number"."name" = '7202081') OR (("policy_number"."name" = '7966980') OR (("policy_number"."name" = '7869986') OR (("policy_number"."name" = '7869971') OR (("policy_number"."name" = '7463246') OR (("policy_number"."name" = '8564188') OR (("policy_number"."name" = '8492922') OR (("policy_number"."name" = '9038706') OR (("policy_number"."name" = '9038885') OR (("policy_number"."name" = '8948036') OR (("policy_number"."name" = '8860513') OR (("policy_number"."name" = '8791191') OR (("policy_number"."name" = '8859085') OR (("policy_number"."name" = '8859071') OR (("policy_number"."name" = '8791238') OR (("policy_number"."name" = '7661451') OR (("policy_number"."name" = '8898571') OR (("policy_number"."name" = '8898570') OR (("policy_number"."name" = '8948829') OR (("policy_number"."name" = '8947353') OR (("policy_number"."name" = '8996676') OR (("policy_number"."name" = '5829754') OR (("policy_number"."name" = '5829415') OR (("policy_number"."name" = '6486130') OR (("policy_number"."name" = '7818818') OR (("policy_number"."name" = '7413364') OR (("policy_number"."name" = '8860651') OR (("policy_number"."name" = '8898840') OR (("policy_number"."name" = '8792906') OR (("policy_number"."name" = '7140060') OR (("policy_number"."name" = '7096688') OR (("policy_number"."name" = '7096654') OR (("policy_number"."name" = '8239905') OR (("policy_number"."name" = '7459129') OR (("policy_number"."name" = '8259900') OR (("policy_number"."name" = '8862387') OR (("policy_number"."name" = '7762228') OR (("policy_number"."name" = '7599836') OR ("policy_number"."name" = '7599428')))))))))))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-11-27 20:32:55 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1d3h38m44s 278,356 305ms 776ms 357ms 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 Nov 27 00 6,427 37m31s 350ms 01 7,789 44m30s 342ms 02 5,901 32m47s 333ms 03 8,466 48m3s 340ms 04 7,049 38m58s 331ms 05 9,710 54m52s 339ms 06 9,588 54m5s 338ms 07 5,320 30m5s 339ms 08 5,608 31m8s 333ms 09 12,317 1h10m23s 342ms 10 18,550 1h49m21s 353ms 11 19,349 1h55m16s 357ms 12 18,904 1h52m 355ms 13 13,020 1h16m31s 352ms 14 11,943 1h10m27s 353ms 15 12,172 1h11m40s 353ms 16 10,975 1h5m23s 357ms 17 13,814 1h24m28s 366ms 18 24,083 2h36m41s 390ms 19 19,976 2h5m58s 378ms 20 11,743 1h11m49s 366ms 21 15,884 1h38m4s 370ms 22 9,768 58m33s 359ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3046778)) AND (("shipping_track"."id" not in (24783179, 24783179)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 18:46:05 Duration: 776ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3054926)) AND (("shipping_track"."id" not in (24822170, 24822170)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 21:14:03 Duration: 752ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3046767)) AND (("shipping_track"."id" not in (24783143, 24783143)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 18:46:02 Duration: 735ms
2 7h26m37s 132,954 163ms 354ms 201ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 27 00 278 49s331ms 177ms 01 1,337 3m58s 178ms 02 1,302 3m50s 177ms 03 2,813 8m20s 178ms 04 2,533 7m31s 178ms 05 2,705 8m5s 179ms 06 3,289 9m47s 178ms 07 2,986 8m51s 178ms 08 4,550 13m35s 179ms 09 5,566 17m10s 185ms 10 9,050 28m53s 191ms 11 6,797 21m52s 193ms 12 4,465 14m29s 194ms 13 7,388 23m27s 190ms 14 6,768 21m31s 190ms 15 8,410 26m31s 189ms 16 7,649 23m53s 187ms 17 10,329 36m57s 214ms 18 6,602 24m25s 221ms 19 10,136 36m17s 214ms 20 12,040 45m17s 225ms 21 15,809 1h30s 229ms 22 152 30s694ms 201ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '8847949')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 21:14:05 Duration: 354ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '8936710')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 18:08:42 Duration: 351ms
-
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" = '9042792')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 21:14:05 Duration: 347ms
3 4h54m20s 48,756 307ms 1s258ms 362ms 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 Nov 27 00 333 1m54s 344ms 01 217 1m18s 359ms 02 393 2m16s 348ms 03 621 3m31s 340ms 04 174 1m2s 359ms 05 295 1m45s 356ms 06 332 1m59s 360ms 07 569 3m13s 340ms 08 1,062 6m1s 340ms 09 3,585 20m56s 350ms 10 4,171 25m19s 364ms 11 4,557 27m53s 367ms 12 4,931 30m 365ms 13 3,947 23m46s 361ms 14 3,546 21m18s 360ms 15 3,150 18m58s 361ms 16 3,385 20m12s 358ms 17 3,304 20m6s 365ms 18 2,385 14m59s 377ms 19 3,123 19m26s 373ms 20 2,500 15m3s 361ms 21 1,525 9m21s 367ms 22 651 3m54s 360ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (2574745)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 17:21:53 Duration: 1s258ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (2762688)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 17:21:53 Duration: 1s85ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3042655, 3042654)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 18:08:54 Duration: 645ms
4 4h9m23s 64,769 89ms 908ms 231ms select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 27 00 4,701 16m35s 211ms 01 3,786 13m47s 218ms 02 1,300 4m26s 204ms 03 3,148 13m 247ms 04 772 2m36s 202ms 05 2,632 9m22s 213ms 06 2,938 10m42s 218ms 07 1,930 6m47s 210ms 08 468 1m37s 207ms 09 104 16s973ms 163ms 10 274 1m8s 251ms 11 930 3m27s 222ms 12 440 1m46s 242ms 13 296 1m14s 250ms 14 724 2m59s 247ms 15 1,092 4m4s 223ms 16 3,268 13m10s 241ms 17 4,698 18m56s 242ms 18 11,263 45m49s 244ms 19 8,409 32m54s 234ms 20 4,750 18m36s 235ms 21 3,610 14m2s 233ms 22 3,236 11m59s 222ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'عبدالرحمن')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-11-27 18:46:19 Duration: 908ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'اسامه')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-11-27 18:46:19 Duration: 908ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'محمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-11-27 18:46:19 Duration: 908ms
5 3h32m34s 13,166 234ms 1s457ms 968ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 27 00 1,356 20m52s 923ms 01 272 4m13s 931ms 02 414 6m29s 939ms 03 388 6m7s 946ms 08 2 1s937ms 968ms 09 17 17s165ms 1s9ms 10 44 44s439ms 1s9ms 11 12 12s765ms 1s63ms 12 3 3s135ms 1s45ms 13 92 1m36s 1s45ms 14 230 3m50s 1s4ms 15 370 6m7s 993ms 16 1,021 16m52s 991ms 17 1,596 27m10s 1s21ms 18 1,967 32m2s 977ms 19 2,604 43m10s 994ms 20 835 13m33s 974ms 21 739 10m6s 820ms 22 1,204 19m2s 948ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8956751')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))))) ORDER BY "policy_number"."id";
Date: 2024-11-27 21:13:50 Duration: 1s457ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8412302')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (2))))))) 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 (2)))))) 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 (2)))))) 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 (2))))))))) ORDER BY "policy_number"."id";
Date: 2024-11-27 18:08:43 Duration: 1s445ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8956752')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))))) ORDER BY "policy_number"."id";
Date: 2024-11-27 21:14:10 Duration: 1s390ms
6 2h1m30s 26,550 210ms 425ms 274ms select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) order by "collection_policy"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 27 07 174 44s512ms 255ms 08 727 3m6s 256ms 09 1,942 8m35s 265ms 10 3,801 17m18s 273ms 11 2,465 11m26s 278ms 12 1,797 8m18s 277ms 13 3,330 15m20s 276ms 14 2,818 12m46s 272ms 15 3,422 15m30s 271ms 16 2,705 12m 266ms 17 2,470 11m45s 285ms 18 747 3m47s 304ms 19 152 48s330ms 317ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_receiver') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '8862450')))) ORDER BY "collection_policy"."id";
Date: 2024-11-27 18:46:07 Duration: 425ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_receiver') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '8438883')))) ORDER BY "collection_policy"."id";
Date: 2024-11-27 18:46:08 Duration: 424ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_receiver') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '8935339')))) ORDER BY "collection_policy"."id";
Date: 2024-11-27 18:46:04 Duration: 414ms
7 1h38m57s 161,471 26ms 99ms 36ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 27 00 3,125 1m51s 35ms 01 2,500 1m29s 35ms 02 2,292 1m22s 35ms 03 3,084 1m51s 36ms 04 2,064 1m13s 35ms 05 2,181 1m19s 36ms 06 2,790 1m40s 36ms 07 1,744 1m3s 36ms 08 2,673 1m37s 36ms 09 8,669 5m23s 37ms 10 13,889 8m47s 37ms 11 15,136 9m38s 38ms 12 15,240 9m39s 38ms 13 10,841 6m50s 37ms 14 10,689 6m43s 37ms 15 9,876 6m10s 37ms 16 8,372 5m11s 37ms 17 9,395 5m35s 35ms 18 10,878 6m26s 35ms 19 10,421 6m4s 34ms 20 7,554 4m19s 34ms 21 5,462 3m11s 35ms 22 2,596 1m27s 33ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2762688)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-27 17:21:53 Duration: 99ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2976037)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-27 11:41:55 Duration: 99ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2574745)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-27 17:21:53 Duration: 98ms
8 1h30m19s 19,678 210ms 495ms 275ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 27 00 1,016 4m16s 252ms 01 1,672 7m 251ms 02 240 1m1s 255ms 03 1,209 5m3s 250ms 04 392 1m38s 251ms 05 1,334 5m33s 249ms 06 1,491 6m15s 251ms 07 975 3m54s 240ms 08 243 1m1s 254ms 09 40 11s336ms 283ms 10 101 30s369ms 300ms 11 463 2m6s 274ms 12 229 1m3s 279ms 13 61 16s666ms 273ms 14 143 41s467ms 289ms 15 181 50s120ms 276ms 16 640 2m59s 280ms 17 773 3m49s 296ms 18 3,737 19m2s 305ms 19 1,640 8m9s 298ms 20 1,584 7m32s 285ms 21 1,083 5m16s 292ms 22 431 2m2s 284ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9055789')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-11-27 18:46:10 Duration: 495ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9055763')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-11-27 18:46:03 Duration: 472ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9054153')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-11-27 18:46:05 Duration: 467ms
9 39m43s 13,385 162ms 212ms 178ms 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 #9
Day Hour Count Duration Avg duration Nov 27 00 277 49s221ms 177ms 01 1,202 3m34s 178ms 02 1,231 3m38s 177ms 03 2,479 7m20s 177ms 04 2,265 6m43s 178ms 05 1,913 5m42s 178ms 06 2,332 6m55s 178ms 07 1,433 4m14s 177ms 08 251 44s991ms 179ms 22 2 384ms 192ms -
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" = '9123241')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 01:51:46 Duration: 212ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9095194')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 05:35:21 Duration: 210ms
-
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" = '8999777')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 05:42:56 Duration: 207ms
10 36m32s 55,446 30ms 96ms 39ms select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) order by "collection_policy"."id";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 27 00 48 1s822ms 37ms 01 166 6s25ms 36ms 02 254 9s302ms 36ms 03 10 376ms 37ms 04 46 1s739ms 37ms 05 99 3s778ms 38ms 06 33 1s250ms 37ms 07 175 6s566ms 37ms 08 1,264 46s926ms 37ms 09 4,269 2m44s 38ms 10 6,697 4m25s 39ms 11 6,561 4m21s 39ms 12 4,319 2m51s 39ms 13 4,443 2m57s 40ms 14 6,550 4m19s 39ms 15 6,191 4m5s 39ms 16 5,245 3m24s 39ms 17 4,808 3m8s 39ms 18 2,278 1m35s 42ms 19 1,242 50s593ms 40ms 20 424 16s810ms 39ms 21 243 9s966ms 41ms 22 81 3s71ms 37ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2703921) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-11-27 17:22:27 Duration: 96ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2190202) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-11-27 11:41:55 Duration: 94ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2590990) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-11-27 11:23:49 Duration: 88ms
11 32m56s 10,492 165ms 373ms 188ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 27 01 91 16s235ms 178ms 02 5 896ms 179ms 03 76 13s765ms 181ms 04 9 1s595ms 177ms 05 722 2m10s 180ms 06 595 1m46s 179ms 07 13 2s321ms 178ms 08 1,445 4m19s 179ms 09 1,460 4m27s 183ms 10 1,064 3m22s 190ms 11 488 1m37s 199ms 12 950 3m2s 192ms 13 1,021 3m13s 189ms 14 424 1m19s 186ms 15 1,181 3m44s 190ms 16 213 40s186ms 188ms 17 97 19s469ms 200ms 18 169 40s171ms 237ms 19 88 19s300ms 219ms 20 102 20s909ms 204ms 21 129 26s245ms 203ms 22 150 30s357ms 202ms -
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" = '8919389')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 18:46:04 Duration: 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" = '8916896')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 18:46:01 Duration: 299ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '8916887')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 18:46:08 Duration: 296ms
12 31m57s 23,953 65ms 212ms 80ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 27 00 41 3s81ms 75ms 02 110 8s698ms 79ms 03 21 1s664ms 79ms 04 7 549ms 78ms 05 29 2s261ms 77ms 07 101 7s802ms 77ms 08 245 19s450ms 79ms 09 1,215 1m37s 80ms 10 2,064 2m47s 80ms 11 2,052 2m46s 81ms 12 2,633 3m32s 80ms 13 1,911 2m32s 79ms 14 2,920 3m50s 78ms 15 4,235 5m39s 80ms 16 1,388 1m51s 80ms 17 836 1m7s 81ms 18 1,278 1m43s 81ms 19 581 47s394ms 81ms 20 683 54s305ms 79ms 21 655 52s453ms 80ms 22 948 1m10s 74ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7720591)) AND (("cash_track"."id" not in (4997591)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-11-27 17:22:17 Duration: 212ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7690122)) AND (("cash_track"."id" not in (4751856, 4754215, 4758445, 4978770, 4998377, 4999758, 4999758)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-11-27 18:08:54 Duration: 135ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7682360)) AND (("cash_track"."id" not in (4706912, 4723177, 4727246, 4999728, 4999728)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-11-27 18:08:42 Duration: 131ms
13 21m52s 459 406ms 4s136ms 2s859ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 27 00 14 44s725ms 3s194ms 01 92 4m56s 3s218ms 03 12 37s951ms 3s162ms 07 4 2s945ms 736ms 08 10 32s680ms 3s268ms 09 3 10s940ms 3s646ms 10 8 29s675ms 3s709ms 11 8 29s622ms 3s702ms 12 13 47s907ms 3s685ms 13 8 23s61ms 2s882ms 14 24 1m22s 3s452ms 15 11 40s948ms 3s722ms 16 35 1m47s 3s61ms 17 73 3m29s 2s865ms 18 63 2m44s 2s610ms 19 24 27s508ms 1s146ms 20 38 1m2s 1s648ms 21 14 46s287ms 3s306ms 22 5 16s80ms 3s216ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32))))))) 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 (32)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32))))))))) 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 (32)))))))) AND ("policy_number"."name"::text ilike '%8883119%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-27 18:27:48 Duration: 4s136ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))))) 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 (71)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))))))) 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 (71)))))))) AND ("policy_number"."name"::text ilike '%8794609%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-27 11:35:09 Duration: 4s85ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95))))))) 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 (95)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95))))))))) 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 (95)))))))) AND ("policy_number"."name"::text ilike '%913650%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-27 10:11:51 Duration: 4s83ms
14 14m42s 6,275 119ms 249ms 140ms select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 27 01 5 657ms 131ms 02 5 636ms 127ms 03 30 3s934ms 131ms 07 10 1s313ms 131ms 08 62 8s133ms 131ms 09 331 44s591ms 134ms 10 781 1m50s 141ms 11 1,144 2m42s 142ms 12 1,138 2m40s 140ms 13 915 2m6s 138ms 14 420 57s283ms 136ms 15 463 1m4s 138ms 16 188 25s663ms 136ms 17 163 22s839ms 140ms 18 123 17s208ms 139ms 19 159 22s534ms 141ms 20 72 9s843ms 136ms 21 257 43s558ms 169ms 22 9 1s203ms 133ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 123)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-11-27 21:15:26 Duration: 249ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 110)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-11-27 21:15:26 Duration: 249ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 123)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-11-27 21:15:26 Duration: 227ms
15 14m15s 24,427 28ms 62ms 35ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 27 07 60 1s896ms 31ms 08 715 23s528ms 32ms 09 1,727 58s621ms 33ms 10 3,004 1m45s 35ms 11 3,400 2m1s 35ms 12 1,725 1m1s 35ms 13 1,988 1m9s 34ms 14 3,330 1m54s 34ms 15 2,690 1m33s 34ms 16 2,765 1m37s 35ms 17 2,006 1m10s 35ms 18 856 31s395ms 36ms 19 161 5s871ms 36ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2616814) ORDER BY "collection_policy"."id";
Date: 2024-11-27 18:08:44 Duration: 62ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2616842) ORDER BY "collection_policy"."id";
Date: 2024-11-27 18:08:44 Duration: 60ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2642830) ORDER BY "collection_policy"."id";
Date: 2024-11-27 18:08:42 Duration: 59ms
16 12m49s 2,901 19ms 978ms 265ms 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 #16
Day Hour Count Duration Avg duration Nov 27 00 6 1s863ms 310ms 01 1 445ms 445ms 05 4 1s873ms 468ms 07 13 2s962ms 227ms 08 72 17s918ms 248ms 09 140 25s990ms 185ms 10 210 58s99ms 276ms 11 293 1m18s 268ms 12 340 1m36s 283ms 13 356 1m37s 273ms 14 457 1m48s 238ms 15 285 1m14s 260ms 16 227 1m4s 283ms 17 126 41s43ms 325ms 18 114 34s466ms 302ms 19 56 15s392ms 274ms 20 67 24s312ms 362ms 21 72 20s35ms 278ms 22 62 5s3ms 80ms -
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 (77)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-11-27 17:21:54 Duration: 978ms
-
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 (127)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (127))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-11-27 20:42:29 Duration: 702ms
-
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 (77)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-11-27 10:55:36 Duration: 698ms
17 11m34s 591 422ms 4s555ms 1s174ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 27 00 550 10m24s 1s134ms 09 2 2s144ms 1s72ms 10 1 1s120ms 1s120ms 12 10 18s715ms 1s871ms 14 8 7s670ms 958ms 16 4 12s770ms 3s192ms 17 1 1s16ms 1s16ms 20 12 24s92ms 2s7ms 21 3 2s567ms 855ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%9046401%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-27 12:41:56 Duration: 4s555ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%9046511%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-27 16:46:10 Duration: 4s275ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8426485%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-27 20:20:51 Duration: 4s44ms
18 9m42s 2,980 168ms 265ms 195ms 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 #18
Day Hour Count Duration Avg duration Nov 27 00 16 2s842ms 177ms 08 6 1s72ms 178ms 10 87 16s447ms 189ms 11 2 396ms 198ms 12 577 1m49s 190ms 13 83 15s877ms 191ms 14 703 2m12s 188ms 15 428 1m22s 191ms 16 223 41s987ms 188ms 17 136 27s894ms 205ms 18 364 1m19s 218ms 21 355 1m11s 201ms -
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" = '8140248')) ORDER BY "cash_policy"."id" DESC;
Date: 2024-11-27 18:32:02 Duration: 265ms
-
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" = '8909213')) ORDER BY "cash_policy"."id" DESC;
Date: 2024-11-27 18:31:59 Duration: 262ms
-
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" = '8735814')) ORDER BY "cash_policy"."id" DESC;
Date: 2024-11-27 18:32:03 Duration: 253ms
19 8m 2,447 167ms 266ms 196ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."id" desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 27 00 16 2s848ms 178ms 08 6 1s79ms 179ms 12 313 59s703ms 190ms 13 4 775ms 193ms 14 703 2m13s 189ms 15 428 1m22s 192ms 16 212 39s837ms 187ms 17 78 16s184ms 207ms 18 364 1m19s 218ms 21 323 1m5s 201ms -
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" = '8140248')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2024-11-27 18:32:01 Duration: 266ms
-
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" = '8735814')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2024-11-27 18:32:03 Duration: 260ms
-
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" = '8906496')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2024-11-27 18:27:45 Duration: 254ms
20 7m48s 3,165 131ms 249ms 148ms select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and (("res_partner"."type_employee" = ?) and ("res_partner"."type_driver" = ?))) 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 limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 27 00 62 8s752ms 141ms 01 85 11s992ms 141ms 02 84 11s895ms 141ms 03 94 13s302ms 141ms 04 72 10s183ms 141ms 05 103 14s634ms 142ms 06 154 21s659ms 140ms 07 126 17s880ms 141ms 08 97 13s830ms 142ms 09 107 15s710ms 146ms 10 169 25s734ms 152ms 11 246 37s689ms 153ms 12 222 34s120ms 153ms 13 161 23s940ms 148ms 14 163 24s647ms 151ms 15 166 24s645ms 148ms 16 149 21s914ms 147ms 17 194 29s420ms 151ms 18 141 22s375ms 158ms 19 212 32s282ms 152ms 20 163 23s603ms 144ms 21 125 18s653ms 149ms 22 70 9s972ms 142ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (("res_partner"."type_employee" = 'driver') AND ("res_partner"."type_driver" = 'out'))) 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 LIMIT 8;
Date: 2024-11-27 17:21:57 Duration: 249ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (("res_partner"."type_employee" = 'driver') AND ("res_partner"."type_driver" = 'out'))) 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 LIMIT 8;
Date: 2024-11-27 21:14:02 Duration: 236ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (("res_partner"."type_employee" = 'driver') AND ("res_partner"."type_driver" = 'out'))) 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 LIMIT 8;
Date: 2024-11-27 18:08:39 Duration: 224ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,703,448 2m29s 0ms 1ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 27 00 42,105 2s 0ms 01 44,941 2s187ms 0ms 02 43,028 2s48ms 0ms 03 42,154 2s137ms 0ms 04 38,567 1s913ms 0ms 05 41,762 2s164ms 0ms 06 44,285 2s377ms 0ms 07 43,978 2s296ms 0ms 08 78,601 4s99ms 0ms 09 155,879 8s890ms 0ms 10 203,912 11s999ms 0ms 11 221,724 13s102ms 0ms 12 248,350 14s625ms 0ms 13 224,188 13s4ms 0ms 14 209,143 11s964ms 0ms 15 206,103 11s999ms 0ms 16 191,856 11s36ms 0ms 17 153,802 7s651ms 0ms 18 127,036 6s330ms 0ms 19 123,905 6s358ms 0ms 20 98,296 4s978ms 0ms 21 77,277 3s881ms 0ms 22 42,556 2s51ms 0ms -
DISCARD ALL;
Date: 2024-11-27 05:01:16 Duration: 1ms
-
DISCARD ALL;
Date: 2024-11-27 15:13:26 Duration: 1ms
-
DISCARD ALL;
Date: 2024-11-27 15:16:20 Duration: 1ms
2 2,059,430 29s129ms 0ms 21ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 27 00 27,919 391ms 0ms 01 30,264 426ms 0ms 02 28,637 389ms 0ms 03 27,857 398ms 0ms 04 25,677 357ms 0ms 05 28,217 409ms 0ms 06 31,347 455ms 0ms 07 32,475 446ms 0ms 08 60,331 817ms 0ms 09 124,375 1s760ms 0ms 10 161,013 2s320ms 0ms 11 177,271 2s573ms 0ms 12 197,354 2s763ms 0ms 13 175,070 2s444ms 0ms 14 159,143 2s226ms 0ms 15 156,425 2s198ms 0ms 16 145,375 2s25ms 0ms 17 117,380 1s608ms 0ms 18 95,546 1s401ms 0ms 19 94,940 1s384ms 0ms 20 75,591 1s68ms 0ms 21 56,815 831ms 0ms 22 30,408 432ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-11-27 11:58:42 Duration: 21ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-11-27 11:39:15 Duration: 13ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-11-27 10:03:34 Duration: 1ms
3 1,366,159 13s339ms 0ms 1ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 27 00 21,323 184ms 0ms 01 22,784 206ms 0ms 02 21,717 184ms 0ms 03 21,320 192ms 0ms 04 19,495 171ms 0ms 05 21,095 195ms 0ms 06 22,392 211ms 0ms 07 22,230 201ms 0ms 08 39,983 367ms 0ms 09 79,212 777ms 0ms 10 103,020 1s50ms 0ms 11 112,211 1s148ms 0ms 12 125,389 1s267ms 0ms 13 113,402 1s126ms 0ms 14 105,542 1s30ms 0ms 15 103,897 1s24ms 0ms 16 96,829 946ms 0ms 17 77,625 764ms 0ms 18 64,054 634ms 0ms 19 62,434 606ms 0ms 20 49,572 473ms 0ms 21 39,019 371ms 0ms 22 21,614 200ms 0ms -
ROLLBACK;
Date: 2024-11-27 13:20:09 Duration: 1ms
-
ROLLBACK;
Date: 2024-11-27 17:26:41 Duration: 0ms
-
ROLLBACK;
Date: 2024-11-27 05:21:05 Duration: 0ms
4 1,356,011 3m24s 0ms 15ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 27 00 20,838 2s989ms 0ms 01 22,266 3s200ms 0ms 02 21,320 2s862ms 0ms 03 20,870 3s122ms 0ms 04 19,042 2s774ms 0ms 05 20,645 3s176ms 0ms 06 21,931 3s432ms 0ms 07 21,741 3s125ms 0ms 08 39,363 5s499ms 0ms 09 78,334 11s735ms 0ms 10 102,600 15s931ms 0ms 11 111,718 17s181ms 0ms 12 125,057 18s659ms 0ms 13 112,918 16s458ms 0ms 14 105,076 15s200ms 0ms 15 103,602 15s179ms 0ms 16 96,266 13s940ms 0ms 17 77,299 12s63ms 0ms 18 63,683 10s562ms 0ms 19 62,178 10s220ms 0ms 20 49,312 7s793ms 0ms 21 38,795 6s329ms 0ms 22 21,157 3s246ms 0ms -
SELECT payload FROM http_sessions WHERE sid = 'e4d9f6086eac8a875138587cf7a4a8267e8b8271';
Date: 2024-11-27 10:08:00 Duration: 15ms
-
SELECT payload FROM http_sessions WHERE sid = '730d854b2eb8281b0542219e0acd301f2550527b';
Date: 2024-11-27 13:32:33 Duration: 12ms
-
SELECT payload FROM http_sessions WHERE sid = '46556b04c5d058bd95c665b4ec88ca68118d03f6';
Date: 2024-11-27 12:14:17 Duration: 11ms
5 1,348,928 1m54s 0ms 1ms 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 Nov 27 00 20,978 1s667ms 0ms 01 22,392 1s821ms 0ms 02 21,452 1s702ms 0ms 03 21,004 1s731ms 0ms 04 19,220 1s544ms 0ms 05 20,816 1s758ms 0ms 06 22,080 1s877ms 0ms 07 21,917 1s782ms 0ms 08 39,141 3s144ms 0ms 09 77,763 6s605ms 0ms 10 101,759 8s909ms 0ms 11 110,666 9s606ms 0ms 12 123,999 10s594ms 0ms 13 111,931 9s399ms 0ms 14 104,421 8s731ms 0ms 15 102,918 8s708ms 0ms 16 95,728 7s954ms 0ms 17 76,735 6s666ms 0ms 18 63,387 5s653ms 0ms 19 61,844 5s413ms 0ms 20 49,039 4s159ms 0ms 21 38,545 3s333ms 0ms 22 21,193 1s769ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-11-27 10:59:49 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-11-27 19:18:55 Duration: 0ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-11-27 10:14:20 Duration: 0ms
6 693,269 1m36s 0ms 34ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 27 00 6,597 985ms 0ms 01 7,480 1s97ms 0ms 02 6,921 1s152ms 0ms 03 6,536 1s296ms 0ms 04 6,181 1s119ms 0ms 05 7,120 1s390ms 0ms 06 8,957 1s674ms 0ms 07 10,246 1s622ms 0ms 08 20,347 2s421ms 0ms 09 45,164 5s698ms 0ms 10 57,992 7s751ms 0ms 11 65,056 8s879ms 0ms 12 71,965 9s368ms 0ms 13 61,668 8s89ms 0ms 14 53,598 7s263ms 0ms 15 52,534 7s362ms 0ms 16 48,540 6s160ms 0ms 17 39,759 5s309ms 0ms 18 31,490 4s935ms 0ms 19 32,509 4s778ms 0ms 20 26,020 3s677ms 0ms 21 17,794 3s143ms 0ms 22 8,795 1s434ms 0ms -
COMMIT;
Date: 2024-11-27 21:15:16 Duration: 34ms
-
COMMIT;
Date: 2024-11-27 05:43:57 Duration: 32ms
-
COMMIT;
Date: 2024-11-27 10:12:48 Duration: 31ms
7 613,709 1m27s 0ms 15ms 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 Nov 27 00 6,779 750ms 0ms 01 8,464 1s121ms 0ms 02 7,416 1s55ms 0ms 03 6,479 878ms 0ms 04 6,088 937ms 0ms 05 7,289 1s37ms 0ms 06 8,336 1s57ms 0ms 07 7,786 1s98ms 0ms 08 15,130 2s48ms 0ms 09 39,665 5s666ms 0ms 10 48,841 6s857ms 0ms 11 55,374 7s852ms 0ms 12 63,317 10s82ms 0ms 13 55,032 8s228ms 0ms 14 46,674 7s253ms 0ms 15 45,895 6s881ms 0ms 16 42,577 5s866ms 0ms 17 35,311 5s74ms 0ms 18 30,362 3s975ms 0ms 19 31,570 4s11ms 0ms 20 22,436 2s871ms 0ms 21 15,474 2s85ms 0ms 22 7,414 841ms 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 (5099202, 5099009, 5101631, 5099995, 5102433, 5100677, 5099181, 5099922, 5106588, 5099403, 5109026, 5099540, 5101240, 5106291, 5099007, 5150538, 5105494, 5156883, 5100628, 5099252, 5099140, 5213330, 5099404, 5105078, 5099445, 5284601, 5100860, 5099521, 5099244, 5230645, 5099263, 5103877, 5099720, 5103982, 5115712, 5099714);
Date: 2024-11-27 12:44:42 Duration: 15ms
-
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 (5099007, 5099010, 5099382, 5099009, 5099167, 5112689, 5354304, 5099014, 5127704, 5099144, 5107230, 5107242, 5395506, 5099632, 5100832, 5108613, 5104216, 5103548, 5150721, 5100537, 5099930, 5100857, 5100170, 5100295, 5121447, 5331724, 5100405, 5104136, 5099183, 5100062, 5116382, 5100520, 5100001, 5395742, 5101759, 5099043, 5107065, 5100305, 5099102, 5099590, 5099660, 5118125, 5099321, 5099039, 5396686, 5396279, 5101193, 5099202, 5396732, 5099446, 5118216, 5103674, 5099831, 5101027, 5122741, 5156833, 5102253, 5100163, 5108015, 5106031, 5100302, 5101952, 5287299, 5099929, 5099297, 5100473, 5102793, 5151834, 5099798, 5102994, 5099170, 5099334, 5104239, 5099158, 5122425, 5100185, 5104458, 5104141, 5103712, 5367799, 5099243, 5099008, 5100246, 5099035);
Date: 2024-11-27 17:21:52 Duration: 10ms
-
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 (5099035, 5099002, 5099009, 5099013, 5101160, 5099678, 5100205, 5102394, 5100559, 5101674, 5099095, 5099590, 5100016, 5113100, 5194282, 5099187, 5100477, 5099333, 5112092, 5112605, 5103633, 5110523, 5100662, 5099169, 5363484, 5099111, 5099287, 5106865, 5100457, 5099737, 5099525, 5099244, 5100320, 5099705, 5104885, 5107177, 5099010, 5099263, 5392579, 5394305, 5100334, 5099007, 5099045, 5099167, 5099119, 5099334, 5387575, 5107065, 5100411, 5107834, 5100917, 5099144, 5099403, 5100431, 5099248, 5099321, 5099006, 5099709, 5099130, 5099258, 5126418, 5100723, 5102947, 5107470, 5131484, 5099503, 5099112, 5102060, 5099382, 5392809, 5100933, 5108169, 5343584, 5101362, 5240528, 5100854, 5125145, 5099620, 5100124, 5115693, 5102815, 5210088, 5111258, 5101380, 5395165, 5099873, 5099297, 5100005, 5099202, 5099669, 5101592, 5100936, 5111424, 5107762, 5099028, 5101279, 5100796, 5099727, 5100181, 5100738, 5173771, 5100254, 5132233, 5252600, 5241418, 5102502, 5099445, 5394962, 5099725, 5108860, 5115379, 5099831, 5102821, 5099224, 5362484, 5099921, 5099540, 5102759, 5099206, 5103719, 5102300, 5099642, 5099854, 5100935, 5099449, 5099011, 5101119, 5100471, 5375675, 5346901, 5100832, 5257990, 5379560, 5099177, 5100097, 5099264, 5100783, 5103199, 5102536, 5124678, 5211563);
Date: 2024-11-27 17:21:58 Duration: 4ms
8 583,637 35s413ms 0ms 15ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" from "urgent_office" where "urgent_office".id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 27 00 5,101 291ms 0ms 01 6,025 328ms 0ms 02 5,859 329ms 0ms 03 4,849 265ms 0ms 04 4,636 241ms 0ms 05 4,975 269ms 0ms 06 7,410 408ms 0ms 07 8,330 443ms 0ms 08 14,840 823ms 0ms 09 36,483 2s158ms 0ms 10 48,162 3s31ms 0ms 11 53,411 3s464ms 0ms 12 59,967 3s853ms 0ms 13 51,680 3s133ms 0ms 14 45,493 2s640ms 0ms 15 45,124 2s653ms 0ms 16 41,874 2s432ms 0ms 17 34,462 2s158ms 0ms 18 29,010 1s905ms 0ms 19 30,651 1s920ms 0ms 20 23,291 1s339ms 0ms 21 14,388 872ms 0ms 22 7,616 446ms 0ms -
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (74, 3, 30, 102, 13, 22, 27, 24, 64, 75, 61, 70, 111, 95, 26, 9, 6, 19, 39, 14, 119, 80, 2, 48, 55, 29, 67, 77, 110, 66, 7, 78, 73, 16, 40, 51, 8);
Date: 2024-11-27 10:47:51 Duration: 15ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (32, 126, 28, 11, 24, 61, 39, 102, 36, 78, 41, 10, 26, 9, 7, 35, 27, 1);
Date: 2024-11-27 13:32:33 Duration: 15ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (119);
Date: 2024-11-27 14:15:17 Duration: 0ms
9 409,039 1m9s 0ms 12ms 0ms select "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 27 00 2,988 505ms 0ms 01 3,626 585ms 0ms 02 3,201 551ms 0ms 03 3,248 551ms 0ms 04 2,928 500ms 0ms 05 3,286 568ms 0ms 06 4,320 755ms 0ms 07 6,031 944ms 0ms 08 13,772 1s977ms 0ms 09 27,048 4s452ms 0ms 10 33,524 5s906ms 0ms 11 36,845 6s515ms 0ms 12 42,217 7s428ms 0ms 13 38,108 6s389ms 0ms 14 34,413 5s646ms 0ms 15 33,269 5s471ms 0ms 16 31,227 5s79ms 0ms 17 23,225 4s129ms 0ms 18 17,620 3s307ms 0ms 19 18,371 3s384ms 0ms 20 15,038 2s556ms 0ms 21 9,701 1s738ms 0ms 22 5,033 877ms 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 (8005200, 8005193, 8005190, 8006705, 8005181);
Date: 2024-11-27 09:43:32 Duration: 12ms
-
SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (8004725);
Date: 2024-11-27 17:21:52 Duration: 10ms
-
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 (8006338);
Date: 2024-11-27 17:21:52 Duration: 10ms
10 335,860 22s744ms 0ms 1ms 0ms select "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" from "res_users" where "res_users".id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 27 00 2,553 165ms 0ms 01 3,092 190ms 0ms 02 2,884 177ms 0ms 03 2,624 179ms 0ms 04 2,615 181ms 0ms 05 2,757 186ms 0ms 06 3,691 240ms 0ms 07 5,137 307ms 0ms 08 10,268 628ms 0ms 09 22,085 1s485ms 0ms 10 27,131 1s931ms 0ms 11 29,776 2s93ms 0ms 12 34,487 2s442ms 0ms 13 31,597 2s86ms 0ms 14 27,472 1s804ms 0ms 15 27,723 1s775ms 0ms 16 25,488 1s666ms 0ms 17 19,409 1s322ms 0ms 18 15,115 1s122ms 0ms 19 15,269 1s74ms 0ms 20 12,231 812ms 0ms 21 8,247 579ms 0ms 22 4,209 290ms 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 (1096, 983, 1088, 835, 838, 953, 844, 962, 940, 836, 1116, 1031, 1029, 1064, 1011, 1242, 1041, 1197, 1063, 847, 1034, 1049, 1238, 932, 996, 853, 846, 1075, 937, 892, 1103, 1079, 1095, 931, 854, 1025, 997, 860, 1102, 1082);
Date: 2024-11-27 12:21:59 Duration: 1ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (1080, 1214, 1077, 1083, 857, 1027, 1113, 1198, 1082, 939, 1081, 874, 1079, 977, 856, 835, 1078, 956, 833, 836, 852, 1026, 1031, 854, 858, 832, 855, 969, 1060, 1096, 873, 884, 988, 848, 963, 1102, 940, 904, 838, 903, 1034, 971, 1225, 949, 972, 998, 1036, 1205, 1010);
Date: 2024-11-27 19:30:17 Duration: 1ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2024-11-27 17:43:47 Duration: 1ms
11 281,666 1m6s 0ms 16ms 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 #11
Day Hour Count Duration Avg duration Nov 27 00 4,668 1s2ms 0ms 01 4,347 1s82ms 0ms 02 3,064 777ms 0ms 03 3,364 858ms 0ms 04 2,366 675ms 0ms 05 3,331 922ms 0ms 06 3,965 997ms 0ms 07 3,872 1s16ms 0ms 08 6,169 1s468ms 0ms 09 15,632 3s809ms 0ms 10 20,621 4s763ms 0ms 11 23,337 5s460ms 0ms 12 26,834 6s905ms 0ms 13 23,783 5s718ms 0ms 14 22,224 5s249ms 0ms 15 22,627 4s849ms 0ms 16 19,479 4s434ms 0ms 17 16,018 3s764ms 0ms 18 17,313 4s731ms 0ms 19 15,212 3s358ms 0ms 20 10,613 2s344ms 0ms 21 7,313 1s639ms 0ms 22 5,514 916ms 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 (41090810, 41160068, 41160071, 40528388, 40983246, 40891315, 41160637, 40983270, 41091100, 40983238, 41159848, 41159797, 40976212, 41090748, 40983261, 40921061, 41160470, 41160465, 41091138, 41091155, 41160466, 40891443, 40983265, 40921175, 41159653, 41160464, 41159792, 41159801, 40982868, 41160355, 40954546, 41159794, 41129663, 41091318, 40983234, 41159664, 41006089, 40953921, 40850177, 41159671, 41130501, 40963881, 41106493, 41023258, 40964090, 40174422, 40983262, 40964606, 40964298, 41090812, 40745763, 40964383, 40968688, 40954117, 41091620, 40963667, 41160423, 41023254, 40976208, 40415833, 41130502, 40849957, 41006093, 41023256, 40964628, 40641637, 40641639, 40964106, 40963844, 40963874, 41091337, 40954118, 41130500, 41090781, 40846518, 41005834, 41006090, 41006048, 41006084, 41006099, 41090703, 41091193, 40968940, 41159798, 41159800, 41106292, 41091083, 40964568, 41006446, 40963759, 40964349, 40964609, 41130507, 40976209, 41159737, 41006091, 41023255, 41105980, 40983251, 40963668, 40849956, 41006096, 41091233, 40963885, 41160467, 40964138, 41159803, 40964212, 40964382, 40580326, 40953938, 41136149, 40954320, 40983244, 40976210, 41091622, 40687790, 41100603, 40741067, 41090753, 40976203, 40964343, 41129667, 41160625, 40964305, 40963691, 40954411, 40954257, 40954252, 40964108, 40242625, 41058867, 40983353, 40964379, 41090780, 40964627, 40954321, 40982873, 41090784, 40954352, 41059048, 40983357, 41091436, 40935524, 41059011, 40964281, 41136641, 40964467, 40964258, 40746786, 40983382, 41091421, 41058957, 40529477, 41023280, 41059189, 41220261, 40983384, 40847691, 41136221, 40433338, 40976765, 41091366, 40954248, 40976771, 41058865, 41090749, 40982875, 41058961, 41160624, 41090752, 41058872, 40983199, 40964124, 41023246, 40954310, 40976891, 41058952, 40982871, 40848385, 41058883, 40889110, 40891371, 41130504, 40986355, 41136548, 41091324, 40954561, 40934985, 40982870, 40983391, 41058960, 41091161, 41006326, 41036339, 40954115, 41058864, 41059187, 41136604, 41035714, 40982794, 40964011, 40964325, 41091292, 41023257, 41160424, 40935386, 41090750, 40688291, 40848390, 40954114, 41005921, 40891449, 40983591, 40964578, 40688212, 40983263, 41090813, 40983361, 40935505, 40964381, 40706520, 41058963, 41035831, 40983255, 41136199, 40983240, 40935612, 40982677, 41129671, 40954389, 40976201, 41058964, 40953767, 41090876, 40954410, 41058871, 40982656, 41023247, 40687777, 41036281, 41006085, 40954253, 41035695, 41091374, 40982040, 40954309, 41035720, 40983241, 32616454, 41136638, 41023305, 40579673, 41135911, 41036319, 41005823, 40747116, 40976205, 40983257, 41006086, 40964548, 41006087, 41023295, 41023272, 41023270, 41006050, 41136201, 40954088, 41090885, 40848387, 40580429, 39542841, 40976206, 40983235, 40705823, 41091325, 40741070, 40688271, 41058645, 40935538, 41058847, 41129673, 32616456, 40687781, 40848389, 41091157, 40983349, 41059172, 41183658, 40983239, 40954246, 40935574, 40580529, 40977498, 40889094, 41058694, 41091216, 41129670, 40954208, 40964247, 41090881, 40954358, 40954113, 41036005, 40983248, 40953644, 41058885, 41091627, 41006632, 40976202, 41036258, 40983378, 41005822, 41058891, 32616057, 41129668, 41058873, 41091551, 40954379, 41035889, 41036501, 41006323, 40935532, 41090856, 41006628, 40741068, 41006321, 41091607, 40848377, 40920936, 40850364, 41090755, 40848353, 32620824, 41091335, 40935254, 41090877, 40954408, 41090867, 40556970, 41006320, 40983379, 32616453, 40964277, 40935268, 40954434, 40954243, 41058747, 41058866, 41058870, 40848373, 40935440, 41090861, 40954232, 41090886, 41091639, 41091554, 40954409, 40954249, 41091207, 41058886, 41005879, 41090868, 40935078, 41129672, 41006170, 41091336, 41058855, 41091164, 40954111, 40953642, 41006324, 40983236, 40706183, 41058869, 40891328, 40953643, 41058734, 40934930, 41090754, 41058849, 40848354, 40847761, 41058756, 41006183, 40891324, 41136195, 32616450, 41091574, 40746943, 41091471, 41091633, 41090896, 41006476, 40964547, 40935535, 40935611, 40935508, 40891389, 40773512, 40848376, 40935543, 40977130, 41091522, 40848379, 40580439, 40848372, 41091470, 40891329, 40935286, 40935503, 40579686, 41058692, 40528229, 40983204, 40983224, 41036030, 41058658, 40983215, 41006012, 41090853, 40954242, 40983590, 40935441, 40964266, 41035673, 40983209, 41090895, 40705806, 40953750, 40891327, 41035694, 40848380, 41005997, 40983208, 40935280, 40954353, 41035687, 40983221, 41058660, 40983205, 40964008, 40977073, 40954224, 40891340, 41091435, 40891322, 40983220, 41058666, 41006173, 40624388, 40888754, 40983222, 41058664, 40983219, 40706152, 40891298, 40983225, 40688280, 40891326, 41058656, 40688275, 40688287, 41035698, 40688282, 41036032, 41006310, 40976200, 40977071, 40580323, 40891338, 40964029, 40687773, 41005920, 41006641, 41035697, 41091393, 40891332, 40741056, 40954037, 40983217, 40983218, 40983200, 40935287, 41091523, 40891336, 40848013, 40935379, 41036112, 40983212, 40921216, 40847664, 40688273, 41035682, 41006263, 41036006, 40977079, 40688285, 40983162, 40688278, 41091469, 40977089, 40977072, 40850569, 41036001, 40580438, 41035676, 40935407, 40953758, 40891318, 40891316, 40741061, 40688288, 40688283, 40891321, 41091467, 40688286, 40920653, 40935100, 40891297, 40935478, 40964530, 40888730, 41006468, 40688272, 40891323, 40688279, 40687787, 40856943, 41036502, 40891302, 40935378, 41036097, 40688263, 41006591, 40688276, 40888731, 40977027, 40953726, 40891317, 40706179, 40891303, 40891293, 40888733, 40688266, 40706166, 40891390, 40917399, 40706172, 40891365, 40849794, 40706281, 40891296, 40891385, 40891294, 40688151, 40953992, 40891386, 40891310, 40935099, 40891311, 40891300, 40891295, 40888732, 40624588, 40848037, 40848595, 40688265, 40853963, 40888710, 40745336, 40934674, 40888696, 40888991, 40888695, 40888698, 40706528, 40888697, 40888694, 40676393, 40676409, 40676408, 40676407, 40740664, 40676223, 40676234, 40849811, 40676233, 40588160, 40676224, 40588157, 40676163, 40677495, 40416415, 40416416, 40416414, 40385262, 6859138);
Date: 2024-11-27 13:58:10 Duration: 16ms
-
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 (41132132, 41037597, 41132601, 41037570, 41132000, 40877337, 41132566, 41037580, 41037066, 41037595, 40936536, 41178597, 40877293, 41037606, 40936195, 40936131, 41037574, 41132285, 41037568, 41037581, 41036786, 41132284, 41037076, 40876835, 40935826, 41132393, 41132564, 41037065, 40768510, 40768512, 41037042, 40816161, 40815668, 41132554, 41037608, 41037236, 40714567, 41037552, 41037063, 41037075, 41132606, 41132548, 41132607, 41132066, 40816173, 41132057, 41037542, 41037061, 41037074, 40876814, 41037610, 41037091, 41037600, 41132560, 41037603, 41132602, 41036937, 40815669, 41132559, 41132004, 41037072, 41037495, 41037517, 41036991, 41037237, 41037069, 40767841, 41036990, 41036961, 41036958, 40936535, 41037554, 41036951, 41131913, 41132283, 41037546, 40936212, 41131688, 40815673, 40815670, 40936226, 41036681, 41036816, 41036683, 41131900, 41036988, 41037044, 41037598, 41037534, 41037049, 41037322, 41131898, 40936217, 41037605, 40877335, 41037540, 41037509, 41037057, 41037051, 41037056, 40877280, 40877287, 40877272, 41037566, 41037607, 41036939, 41036811, 41037521, 41037617, 41036969, 40768509, 41037008, 41037500, 41037240, 41037053, 41036942, 41036916, 41037565, 41037583, 41037604, 41037503, 41037547, 41036963, 40877265, 41037550, 41037589, 41036970, 41037539, 41037586, 41036944, 41037575, 40815674, 41037599, 41037569, 41037532, 41037596, 41037557, 40877285, 41037584, 40877283, 40877274, 40768506, 41037238, 41037504, 41036950, 40877250, 41037498, 41037501, 41037576, 40877291, 41036813, 41037516, 41036812, 41037541, 40936021, 41036815, 41037007, 40935944, 40876831, 41036814, 41036785, 40714395, 40935854, 40713727, 40936508, 40936067, 40936159, 40935690, 40713730, 40876832, 40935791, 40815764, 40816187, 40815743, 40768499, 40713729, 40240084, 40815742, 40815744, 40768504, 40713728, 40877159, 40768502, 40768503, 40877160, 40815745, 40768501, 40714095, 40714094, 40815894, 40815895, 40815897, 40815896, 40768208);
Date: 2024-11-27 10:19:09 Duration: 15ms
-
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 (41301796, 41205678, 41206832, 41162540, 40672738, 41206473, 40493301, 41157432, 41225907, 41017628, 41015403, 41110377, 41178781, 40947532, 41028788, 41174047, 41270557, 41162044, 41131612, 32616820, 41015365, 41162515, 41241756, 41248772, 40956186, 41180107, 41160390, 41162935, 41151189, 41173759, 41169002, 41211482, 41085616, 41259007, 40863123, 40950236, 41020002, 41101503, 41183949, 41257200, 41189951, 41133546, 32620321, 32626138, 40850167, 41270625, 41272107, 41076878, 41167447, 41258666, 41034784, 40920621, 41207751, 41260664, 41232696, 40817423, 41015319, 32620339, 41016013, 41162566, 40799315, 40736898, 41179777, 41162525, 40877900, 41034849, 41203860, 41241734, 41204363, 41241495, 41241499, 40894837, 41085591, 41228475, 41248188, 41087113, 40765633, 40399325, 41173027, 41242626, 40861792, 41072818, 41151395, 41060987, 41263982, 41016601, 41165408, 41167271, 41015398, 41096004, 41176493, 41210943, 40939671, 41148919, 41188817, 32618224, 41015361, 41210135, 41115919, 41170180);
Date: 2024-11-27 17:21:52 Duration: 13ms
12 278,356 1d3h38m44s 305ms 776ms 357ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 27 00 6,427 37m31s 350ms 01 7,789 44m30s 342ms 02 5,901 32m47s 333ms 03 8,466 48m3s 340ms 04 7,049 38m58s 331ms 05 9,710 54m52s 339ms 06 9,588 54m5s 338ms 07 5,320 30m5s 339ms 08 5,608 31m8s 333ms 09 12,317 1h10m23s 342ms 10 18,550 1h49m21s 353ms 11 19,349 1h55m16s 357ms 12 18,904 1h52m 355ms 13 13,020 1h16m31s 352ms 14 11,943 1h10m27s 353ms 15 12,172 1h11m40s 353ms 16 10,975 1h5m23s 357ms 17 13,814 1h24m28s 366ms 18 24,083 2h36m41s 390ms 19 19,976 2h5m58s 378ms 20 11,743 1h11m49s 366ms 21 15,884 1h38m4s 370ms 22 9,768 58m33s 359ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3046778)) AND (("shipping_track"."id" not in (24783179, 24783179)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 18:46:05 Duration: 776ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3054926)) AND (("shipping_track"."id" not in (24822170, 24822170)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 21:14:03 Duration: 752ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3046767)) AND (("shipping_track"."id" not in (24783143, 24783143)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 18:46:02 Duration: 735ms
13 230,960 1m18s 0ms 1ms 0ms select r.id from ir_rule r join ir_model m on (r.model_id = m.id) where m.model = ? and r.active and r.perm_read and (r.id in ( select rule_group_id from rule_group_rel rg join res_groups_users_rel gu on (rg.group_id = gu.gid) where gu.uid = ?) or r.global) order by r.id;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 27 00 1,895 598ms 0ms 01 1,901 617ms 0ms 02 1,200 410ms 0ms 03 1,805 611ms 0ms 04 896 308ms 0ms 05 1,220 428ms 0ms 06 1,702 583ms 0ms 07 2,602 840ms 0ms 08 8,164 2s556ms 0ms 09 13,558 4s566ms 0ms 10 16,638 5s806ms 0ms 11 28,740 9s962ms 0ms 12 19,488 6s841ms 0ms 13 15,485 5s349ms 0ms 14 14,205 4s871ms 0ms 15 13,864 4s798ms 0ms 16 14,370 4s862ms 0ms 17 19,672 6s566ms 0ms 18 14,360 5s23ms 0ms 19 13,807 4s682ms 0ms 20 12,428 4s164ms 0ms 21 6,909 2s335ms 0ms 22 6,051 1s939ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'shipping.policy.items' 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 = 1040) OR r.global) ORDER BY r.id;
Date: 2024-11-27 19:26:36 Duration: 1ms
-
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 = 1049) OR r.global) ORDER BY r.id;
Date: 2024-11-27 10:29:22 Duration: 1ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.users' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 919) OR r.global) ORDER BY r.id;
Date: 2024-11-27 18:39:29 Duration: 1ms
14 208,147 14s551ms 0ms 1ms 0ms select "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" from "notebook_package" where "notebook_package".id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 27 00 1,623 104ms 0ms 01 2,303 140ms 0ms 02 2,285 137ms 0ms 03 1,709 110ms 0ms 04 1,924 125ms 0ms 05 1,945 127ms 0ms 06 2,351 148ms 0ms 07 2,474 149ms 0ms 08 5,227 318ms 0ms 09 13,638 889ms 0ms 10 17,462 1s214ms 0ms 11 19,571 1s508ms 0ms 12 22,358 1s807ms 0ms 13 19,954 1s537ms 0ms 14 17,041 1s75ms 0ms 15 16,611 1s61ms 0ms 16 14,849 951ms 0ms 17 11,920 875ms 0ms 18 8,905 677ms 0ms 19 9,789 634ms 0ms 20 7,173 464ms 0ms 21 4,832 343ms 0ms 22 2,203 146ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-11-27 17:21:52 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-11-27 11:36:18 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-11-27 13:14:38 Duration: 0ms
15 178,184 1m38s 0ms 14ms 0ms select "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" from "shipping_policy" where "shipping_policy".id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 27 00 266 144ms 0ms 01 210 119ms 0ms 02 234 127ms 0ms 03 418 202ms 0ms 04 311 139ms 0ms 05 379 197ms 0ms 06 810 323ms 0ms 07 1,961 990ms 0ms 08 3,485 1s693ms 0ms 09 7,243 3s760ms 0ms 10 10,639 5s472ms 0ms 11 11,944 6s929ms 0ms 12 11,647 6s426ms 0ms 13 14,653 10s352ms 0ms 14 14,040 9s641ms 0ms 15 13,716 9s160ms 0ms 16 11,795 7s232ms 0ms 17 10,468 5s819ms 0ms 18 13,891 7s47ms 0ms 19 12,346 5s809ms 0ms 20 9,614 4s458ms 0ms 21 20,700 8s890ms 0ms 22 7,414 3s164ms 0ms -
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (2960614, 2910925, 2944640, 2954350, 2956877, 2944854, 2960928, 2910972, 2957855, 2946823, 2963113, 2945536, 2906676, 2958581, 2879215, 2937405, 2917808, 2916255, 2963070, 2950113, 2917122, 2958399, 2940453, 2963082, 2928648, 2947863, 2947823, 2952463, 2823312, 2894932, 2930186, 2966158, 2985570, 2929514, 2892491, 2895994, 2915726, 2874063, 2899016, 2893274, 2917926, 2983551, 2908129, 2915945, 2919427, 2923687, 2930497, 2954233, 2974022, 2974051, 2979989, 2987008, 2887777, 2897122, 2946890, 2925351, 2972986, 2946775, 2972493, 2970688, 2709188, 2883578, 2919079, 2990640, 2944795, 2830207, 2922915, 2971799, 2924403, 2959277, 2973812, 2985773, 2988008, 2993223, 2993265, 2980097, 2959385, 2866860, 2942754, 2723653, 2949555, 2983039, 2960659, 2864261, 2908994, 2851156, 2999758, 2739924, 2757592, 2751975, 2838923, 2885030, 2920355, 2927417, 2933924, 2957854, 2979834, 2979124, 2935497, 2942583, 2835323, 2915799, 2710008, 2966850, 2958426, 2988681, 2965934, 2916577, 2807355, 2634457, 2929283, 2966899, 2968679, 2968681, 2975393, 2977359, 2980504, 2988587, 2993307, 2966318, 2981935, 2893452, 2925702, 2948578, 2973782, 1793773, 2723976, 2946330, 2986998, 2865055, 2951385, 2947285, 2942656, 2957749, 2978523, 2973791, 2981430, 2979411, 2945928, 2880585, 2946584, 2951158, 2967522, 2980006, 2980531, 2985364, 2987990, 2991262, 2991330, 2991460, 1740352, 1938307, 1945820, 2046136, 2202614, 2361314, 2415280, 2455086, 2654235, 2822408, 2877440, 2999456, 2999457, 2334745, 2887472, 2927071, 2941619, 2870022, 2524855, 2835264, 2933207, 2773074, 2981889, 2841260, 2679486, 2991323, 2959344, 2930459, 2975361, 2727294, 2934066, 2952926, 2975596, 2984290, 2926814, 2966832, 2947784, 2937373, 2945056, 2983516, 2628770);
Date: 2024-11-27 17:21:58 Duration: 14ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (2028099, 2594740, 2594672, 2589423, 2559791, 2518077, 2477471, 2435989, 2190202, 2619538, 2616784, 2615173, 2615003, 2613411, 2606146, 2605272, 2601836, 2601229, 2594734, 2594732, 2594718, 2589875, 2589842, 2586688, 2586221, 2582693, 2580904, 2580288, 2577509, 2574933, 2573553, 2572491, 2569231, 2569018, 2564492, 2562008, 2559037, 2558662, 2536090);
Date: 2024-11-27 11:39:15 Duration: 13ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (2986213, 2922861, 2687458, 1751094, 2968733, 2987400, 2956668, 2967955, 2860447, 2982175, 2987984, 2963121, 2975614, 2630490, 2821227, 2432644, 2975617, 2804625, 2893581, 2979407, 2910881, 2893544, 2942183, 2955286, 2979392, 2955342, 2707701, 2978063, 2955284, 2955480, 2941989, 2955263, 2578032, 2975642, 2955462, 2910848, 2955449, 2821780, 2910968, 2999758, 2955412, 2977019, 2979411, 2942142, 2955338, 2978161, 2929312, 2704953, 2978125, 2922508, 2942146, 1468265, 2929376, 2757224, 2913677, 2959453, 2893325, 2926100, 2586332, 2988701, 2995075, 2780335, 2937413, 2502923, 2932111, 2934077, 2972459, 2912056, 2726424, 2715287, 2644687, 2838556, 2895203, 2955489, 2843937, 2955377, 2892328, 2862680, 2955420, 2630415, 2942100, 2922645, 2910864, 2942154, 2862165, 2862177, 2942156, 2861868, 2753622, 2955488, 2942113, 2942042, 2942218, 2942167, 2955275, 2942162, 2942084, 2437067, 2955346, 2514495, 2955434, 2942079, 2922324, 2514576, 2911193, 2955496, 2942065, 2911191, 2861217, 2910984, 2630825, 2821482, 2893465, 2922335, 2935115, 2861265, 2895193, 2910721, 2955431, 2893513, 2601067, 2863069, 2888274, 2514439, 2861197, 2861971, 2893620, 2942125, 2922362, 2910785, 2955498, 2844107, 2919082, 2841298, 2925309, 2929018, 2963081, 2952076, 2885175, 2934038, 2940924, 2862921, 2922644, 2577334, 2861260, 2910920, 2910790, 2910694, 2707650, 2751360, 2861955, 2821278, 2821576, 2630253, 2861149, 2888278, 2911104, 2861901, 2861815, 2910974, 2704985, 2922615, 2910798, 2893505, 2911170, 2821760, 2893613, 2895209, 2910976, 2888279, 2820880, 2861256, 2691086, 2910928, 2910718, 2895321, 2862192, 2821734, 2936954, 2911176, 2893583, 2804634, 2911115, 2910979, 2911202, 2922308, 2911196, 2862133, 2910698, 2910713, 2893610, 2862687, 2820868, 2862157, 2862929, 2910750, 2861144);
Date: 2024-11-27 17:21:53 Duration: 12ms
16 165,799 27s229ms 0ms 1ms 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 #16
Day Hour Count Duration Avg duration Nov 27 00 1,668 226ms 0ms 01 1,753 235ms 0ms 02 1,097 149ms 0ms 03 1,681 233ms 0ms 04 997 134ms 0ms 05 1,387 187ms 0ms 06 1,443 199ms 0ms 07 2,108 305ms 0ms 08 9,160 1s304ms 0ms 09 10,607 1s671ms 0ms 10 11,248 1s923ms 0ms 11 18,368 3s313ms 0ms 12 13,194 2s221ms 0ms 13 10,310 1s703ms 0ms 14 10,042 1s624ms 0ms 15 9,221 1s517ms 0ms 16 9,761 1s580ms 0ms 17 13,319 2s269ms 0ms 18 9,145 1s622ms 0ms 19 9,327 1s584ms 0ms 20 8,321 1s394ms 0ms 21 5,885 937ms 0ms 22 5,757 887ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 901 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_portal' AND model = 'res.groups');
Date: 2024-11-27 07:14:00 Duration: 1ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 884 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_public' AND model = 'res.groups');
Date: 2024-11-27 15:17:33 Duration: 1ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1077 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_track_search' AND name = 'group_search_training_shipping' AND model = 'res.groups');
Date: 2024-11-27 18:09:42 Duration: 1ms
17 161,471 1h38m57s 26ms 99ms 36ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 27 00 3,125 1m51s 35ms 01 2,500 1m29s 35ms 02 2,292 1m22s 35ms 03 3,084 1m51s 36ms 04 2,064 1m13s 35ms 05 2,181 1m19s 36ms 06 2,790 1m40s 36ms 07 1,744 1m3s 36ms 08 2,673 1m37s 36ms 09 8,669 5m23s 37ms 10 13,889 8m47s 37ms 11 15,136 9m38s 38ms 12 15,240 9m39s 38ms 13 10,841 6m50s 37ms 14 10,689 6m43s 37ms 15 9,876 6m10s 37ms 16 8,372 5m11s 37ms 17 9,395 5m35s 35ms 18 10,878 6m26s 35ms 19 10,421 6m4s 34ms 20 7,554 4m19s 34ms 21 5,462 3m11s 35ms 22 2,596 1m27s 33ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2762688)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-27 17:21:53 Duration: 99ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2976037)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-27 11:41:55 Duration: 99ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2574745)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-27 17:21:53 Duration: 98ms
18 153,196 46s305ms 0ms 3ms 0ms select "price_list".id from "price_list" where (("price_list"."from_office_id" = ?) and ("price_list"."to_office_id" = ?)) order by "price_list"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 27 00 9,839 2s520ms 0ms 01 9,263 2s657ms 0ms 02 3,867 1s235ms 0ms 03 8,206 2s449ms 0ms 04 3,881 1s399ms 0ms 05 8,415 2s733ms 0ms 06 8,807 2s828ms 0ms 07 5,198 1s565ms 0ms 08 2,141 787ms 0ms 09 1,155 493ms 0ms 10 2,102 906ms 0ms 11 2,970 1s52ms 0ms 12 2,045 813ms 0ms 13 1,121 421ms 0ms 14 1,770 570ms 0ms 15 2,673 854ms 0ms 16 6,744 1s946ms 0ms 17 9,738 2s902ms 0ms 18 22,836 6s889ms 0ms 19 17,036 4s949ms 0ms 20 9,672 2s687ms 0ms 21 7,252 1s971ms 0ms 22 6,465 1s667ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 39) AND ("price_list"."to_office_id" = 7)) ORDER BY "price_list"."id";
Date: 2024-11-27 21:26:50 Duration: 3ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 55) AND ("price_list"."to_office_id" = 126)) ORDER BY "price_list"."id";
Date: 2024-11-27 09:42:58 Duration: 2ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 26) AND ("price_list"."to_office_id" = 60)) ORDER BY "price_list"."id";
Date: 2024-11-27 01:40:58 Duration: 1ms
19 132,954 7h26m37s 163ms 354ms 201ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 27 00 278 49s331ms 177ms 01 1,337 3m58s 178ms 02 1,302 3m50s 177ms 03 2,813 8m20s 178ms 04 2,533 7m31s 178ms 05 2,705 8m5s 179ms 06 3,289 9m47s 178ms 07 2,986 8m51s 178ms 08 4,550 13m35s 179ms 09 5,566 17m10s 185ms 10 9,050 28m53s 191ms 11 6,797 21m52s 193ms 12 4,465 14m29s 194ms 13 7,388 23m27s 190ms 14 6,768 21m31s 190ms 15 8,410 26m31s 189ms 16 7,649 23m53s 187ms 17 10,329 36m57s 214ms 18 6,602 24m25s 221ms 19 10,136 36m17s 214ms 20 12,040 45m17s 225ms 21 15,809 1h30s 229ms 22 152 30s694ms 201ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '8847949')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 21:14:05 Duration: 354ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '8936710')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 18:08:42 Duration: 351ms
-
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" = '9042792')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 21:14:05 Duration: 347ms
20 132,842 7s889ms 0ms 0ms 0ms select "urgent_warehouse"."id" AS "id", "urgent_warehouse"."active" AS "active", "urgent_warehouse"."name" AS "name", "urgent_warehouse"."create_uid" AS "create_uid", "urgent_warehouse"."create_date" AS "create_date", "urgent_warehouse"."write_uid" AS "write_uid", "urgent_warehouse"."write_date" AS "write_date" from "urgent_warehouse" where "urgent_warehouse".id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 27 00 1,561 75ms 0ms 01 2,642 113ms 0ms 02 2,701 112ms 0ms 03 2,172 101ms 0ms 04 2,289 88ms 0ms 05 2,239 99ms 0ms 06 2,600 127ms 0ms 07 1,891 97ms 0ms 08 3,461 195ms 0ms 09 8,945 484ms 0ms 10 11,181 664ms 0ms 11 13,075 924ms 0ms 12 14,325 845ms 0ms 13 9,455 523ms 0ms 14 8,684 465ms 0ms 15 7,838 448ms 0ms 16 8,258 469ms 0ms 17 7,756 552ms 0ms 18 5,516 392ms 0ms 19 6,596 462ms 0ms 20 4,675 318ms 0ms 21 3,090 183ms 0ms 22 1,892 141ms 0ms -
SELECT "urgent_warehouse"."id" AS "id", "urgent_warehouse"."active" AS "active", "urgent_warehouse"."name" AS "name", "urgent_warehouse"."create_uid" AS "create_uid", "urgent_warehouse"."create_date" AS "create_date", "urgent_warehouse"."write_uid" AS "write_uid", "urgent_warehouse"."write_date" AS "write_date" FROM "urgent_warehouse" WHERE "urgent_warehouse".id IN (65, 18);
Date: 2024-11-27 14:33:30 Duration: 0ms
-
SELECT "urgent_warehouse"."id" AS "id", "urgent_warehouse"."active" AS "active", "urgent_warehouse"."name" AS "name", "urgent_warehouse"."create_uid" AS "create_uid", "urgent_warehouse"."create_date" AS "create_date", "urgent_warehouse"."write_uid" AS "write_uid", "urgent_warehouse"."write_date" AS "write_date" FROM "urgent_warehouse" WHERE "urgent_warehouse".id IN (73, 12, 66, 62, 83, 49, 41, 99, 18, 37, 98, 97, 64, 40, 43, 61, 71, 42, 81, 90, 107, 28, 79, 15, 105, 106, 93, 67, 51);
Date: 2024-11-27 16:11:14 Duration: 0ms
-
SELECT "urgent_warehouse"."id" AS "id", "urgent_warehouse"."active" AS "active", "urgent_warehouse"."name" AS "name", "urgent_warehouse"."create_uid" AS "create_uid", "urgent_warehouse"."create_date" AS "create_date", "urgent_warehouse"."write_uid" AS "write_uid", "urgent_warehouse"."write_date" AS "write_date" 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);
Date: 2024-11-27 17:46:34 Duration: 0ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 406ms 4s136ms 2s859ms 459 21m52s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 27 00 14 44s725ms 3s194ms 01 92 4m56s 3s218ms 03 12 37s951ms 3s162ms 07 4 2s945ms 736ms 08 10 32s680ms 3s268ms 09 3 10s940ms 3s646ms 10 8 29s675ms 3s709ms 11 8 29s622ms 3s702ms 12 13 47s907ms 3s685ms 13 8 23s61ms 2s882ms 14 24 1m22s 3s452ms 15 11 40s948ms 3s722ms 16 35 1m47s 3s61ms 17 73 3m29s 2s865ms 18 63 2m44s 2s610ms 19 24 27s508ms 1s146ms 20 38 1m2s 1s648ms 21 14 46s287ms 3s306ms 22 5 16s80ms 3s216ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32))))))) 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 (32)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32))))))))) 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 (32)))))))) AND ("policy_number"."name"::text ilike '%8883119%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-27 18:27:48 Duration: 4s136ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))))) 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 (71)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))))))) 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 (71)))))))) AND ("policy_number"."name"::text ilike '%8794609%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-27 11:35:09 Duration: 4s85ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95))))))) 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 (95)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95))))))))) 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 (95)))))))) AND ("policy_number"."name"::text ilike '%913650%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-27 10:11:51 Duration: 4s83ms
2 422ms 4s555ms 1s174ms 591 11m34s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 27 00 550 10m24s 1s134ms 09 2 2s144ms 1s72ms 10 1 1s120ms 1s120ms 12 10 18s715ms 1s871ms 14 8 7s670ms 958ms 16 4 12s770ms 3s192ms 17 1 1s16ms 1s16ms 20 12 24s92ms 2s7ms 21 3 2s567ms 855ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%9046401%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-27 12:41:56 Duration: 4s555ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%9046511%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-27 16:46:10 Duration: 4s275ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (67)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8426485%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-27 20:20:51 Duration: 4s44ms
3 234ms 1s457ms 968ms 13,166 3h32m34s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 27 00 1,356 20m52s 923ms 01 272 4m13s 931ms 02 414 6m29s 939ms 03 388 6m7s 946ms 08 2 1s937ms 968ms 09 17 17s165ms 1s9ms 10 44 44s439ms 1s9ms 11 12 12s765ms 1s63ms 12 3 3s135ms 1s45ms 13 92 1m36s 1s45ms 14 230 3m50s 1s4ms 15 370 6m7s 993ms 16 1,021 16m52s 991ms 17 1,596 27m10s 1s21ms 18 1,967 32m2s 977ms 19 2,604 43m10s 994ms 20 835 13m33s 974ms 21 739 10m6s 820ms 22 1,204 19m2s 948ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8956751')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))))) ORDER BY "policy_number"."id";
Date: 2024-11-27 21:13:50 Duration: 1s457ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8412302')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (2))))))) 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 (2)))))) 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 (2)))))) 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 (2))))))))) ORDER BY "policy_number"."id";
Date: 2024-11-27 18:08:43 Duration: 1s445ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8956752')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))))))) ORDER BY "policy_number"."id";
Date: 2024-11-27 21:14:10 Duration: 1s390ms
4 307ms 1s258ms 362ms 48,756 4h54m20s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 27 00 333 1m54s 344ms 01 217 1m18s 359ms 02 393 2m16s 348ms 03 621 3m31s 340ms 04 174 1m2s 359ms 05 295 1m45s 356ms 06 332 1m59s 360ms 07 569 3m13s 340ms 08 1,062 6m1s 340ms 09 3,585 20m56s 350ms 10 4,171 25m19s 364ms 11 4,557 27m53s 367ms 12 4,931 30m 365ms 13 3,947 23m46s 361ms 14 3,546 21m18s 360ms 15 3,150 18m58s 361ms 16 3,385 20m12s 358ms 17 3,304 20m6s 365ms 18 2,385 14m59s 377ms 19 3,123 19m26s 373ms 20 2,500 15m3s 361ms 21 1,525 9m21s 367ms 22 651 3m54s 360ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (2574745)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 17:21:53 Duration: 1s258ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (2762688)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 17:21:53 Duration: 1s85ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3042655, 3042654)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 18:08:54 Duration: 645ms
5 305ms 776ms 357ms 278,356 1d3h38m44s select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 27 00 6,427 37m31s 350ms 01 7,789 44m30s 342ms 02 5,901 32m47s 333ms 03 8,466 48m3s 340ms 04 7,049 38m58s 331ms 05 9,710 54m52s 339ms 06 9,588 54m5s 338ms 07 5,320 30m5s 339ms 08 5,608 31m8s 333ms 09 12,317 1h10m23s 342ms 10 18,550 1h49m21s 353ms 11 19,349 1h55m16s 357ms 12 18,904 1h52m 355ms 13 13,020 1h16m31s 352ms 14 11,943 1h10m27s 353ms 15 12,172 1h11m40s 353ms 16 10,975 1h5m23s 357ms 17 13,814 1h24m28s 366ms 18 24,083 2h36m41s 390ms 19 19,976 2h5m58s 378ms 20 11,743 1h11m49s 366ms 21 15,884 1h38m4s 370ms 22 9,768 58m33s 359ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3046778)) AND (("shipping_track"."id" not in (24783179, 24783179)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 18:46:05 Duration: 776ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3054926)) AND (("shipping_track"."id" not in (24822170, 24822170)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 21:14:03 Duration: 752ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3046767)) AND (("shipping_track"."id" not in (24783143, 24783143)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-27 18:46:02 Duration: 735ms
6 210ms 495ms 275ms 19,678 1h30m19s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 27 00 1,016 4m16s 252ms 01 1,672 7m 251ms 02 240 1m1s 255ms 03 1,209 5m3s 250ms 04 392 1m38s 251ms 05 1,334 5m33s 249ms 06 1,491 6m15s 251ms 07 975 3m54s 240ms 08 243 1m1s 254ms 09 40 11s336ms 283ms 10 101 30s369ms 300ms 11 463 2m6s 274ms 12 229 1m3s 279ms 13 61 16s666ms 273ms 14 143 41s467ms 289ms 15 181 50s120ms 276ms 16 640 2m59s 280ms 17 773 3m49s 296ms 18 3,737 19m2s 305ms 19 1,640 8m9s 298ms 20 1,584 7m32s 285ms 21 1,083 5m16s 292ms 22 431 2m2s 284ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9055789')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-11-27 18:46:10 Duration: 495ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9055763')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-11-27 18:46:03 Duration: 472ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9054153')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-11-27 18:46:05 Duration: 467ms
7 210ms 425ms 274ms 26,550 2h1m30s select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) order by "collection_policy"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 27 07 174 44s512ms 255ms 08 727 3m6s 256ms 09 1,942 8m35s 265ms 10 3,801 17m18s 273ms 11 2,465 11m26s 278ms 12 1,797 8m18s 277ms 13 3,330 15m20s 276ms 14 2,818 12m46s 272ms 15 3,422 15m30s 271ms 16 2,705 12m 266ms 17 2,470 11m45s 285ms 18 747 3m47s 304ms 19 152 48s330ms 317ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_receiver') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '8862450')))) ORDER BY "collection_policy"."id";
Date: 2024-11-27 18:46:07 Duration: 425ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_receiver') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '8438883')))) ORDER BY "collection_policy"."id";
Date: 2024-11-27 18:46:08 Duration: 424ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_receiver') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '8935339')))) ORDER BY "collection_policy"."id";
Date: 2024-11-27 18:46:04 Duration: 414ms
8 19ms 978ms 265ms 2,901 12m49s 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 #8
Day Hour Count Duration Avg duration Nov 27 00 6 1s863ms 310ms 01 1 445ms 445ms 05 4 1s873ms 468ms 07 13 2s962ms 227ms 08 72 17s918ms 248ms 09 140 25s990ms 185ms 10 210 58s99ms 276ms 11 293 1m18s 268ms 12 340 1m36s 283ms 13 356 1m37s 273ms 14 457 1m48s 238ms 15 285 1m14s 260ms 16 227 1m4s 283ms 17 126 41s43ms 325ms 18 114 34s466ms 302ms 19 56 15s392ms 274ms 20 67 24s312ms 362ms 21 72 20s35ms 278ms 22 62 5s3ms 80ms -
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 (77)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-11-27 17:21:54 Duration: 978ms
-
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 (127)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (127))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-11-27 20:42:29 Duration: 702ms
-
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 (77)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (77))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-11-27 10:55:36 Duration: 698ms
9 89ms 908ms 231ms 64,769 4h9m23s select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 27 00 4,701 16m35s 211ms 01 3,786 13m47s 218ms 02 1,300 4m26s 204ms 03 3,148 13m 247ms 04 772 2m36s 202ms 05 2,632 9m22s 213ms 06 2,938 10m42s 218ms 07 1,930 6m47s 210ms 08 468 1m37s 207ms 09 104 16s973ms 163ms 10 274 1m8s 251ms 11 930 3m27s 222ms 12 440 1m46s 242ms 13 296 1m14s 250ms 14 724 2m59s 247ms 15 1,092 4m4s 223ms 16 3,268 13m10s 241ms 17 4,698 18m56s 242ms 18 11,263 45m49s 244ms 19 8,409 32m54s 234ms 20 4,750 18m36s 235ms 21 3,610 14m2s 233ms 22 3,236 11m59s 222ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'عبدالرحمن')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-11-27 18:46:19 Duration: 908ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'اسامه')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-11-27 18:46:19 Duration: 908ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'محمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-11-27 18:46:19 Duration: 908ms
10 163ms 354ms 201ms 132,954 7h26m37s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 27 00 278 49s331ms 177ms 01 1,337 3m58s 178ms 02 1,302 3m50s 177ms 03 2,813 8m20s 178ms 04 2,533 7m31s 178ms 05 2,705 8m5s 179ms 06 3,289 9m47s 178ms 07 2,986 8m51s 178ms 08 4,550 13m35s 179ms 09 5,566 17m10s 185ms 10 9,050 28m53s 191ms 11 6,797 21m52s 193ms 12 4,465 14m29s 194ms 13 7,388 23m27s 190ms 14 6,768 21m31s 190ms 15 8,410 26m31s 189ms 16 7,649 23m53s 187ms 17 10,329 36m57s 214ms 18 6,602 24m25s 221ms 19 10,136 36m17s 214ms 20 12,040 45m17s 225ms 21 15,809 1h30s 229ms 22 152 30s694ms 201ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '8847949')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 21:14:05 Duration: 354ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '8936710')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 18:08:42 Duration: 351ms
-
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" = '9042792')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 21:14:05 Duration: 347ms
11 167ms 266ms 196ms 2,447 8m select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 27 00 16 2s848ms 178ms 08 6 1s79ms 179ms 12 313 59s703ms 190ms 13 4 775ms 193ms 14 703 2m13s 189ms 15 428 1m22s 192ms 16 212 39s837ms 187ms 17 78 16s184ms 207ms 18 364 1m19s 218ms 21 323 1m5s 201ms -
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" = '8140248')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2024-11-27 18:32:01 Duration: 266ms
-
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" = '8735814')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2024-11-27 18:32:03 Duration: 260ms
-
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" = '8906496')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (26))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2024-11-27 18:27:45 Duration: 254ms
12 168ms 265ms 195ms 2,980 9m42s 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 #12
Day Hour Count Duration Avg duration Nov 27 00 16 2s842ms 177ms 08 6 1s72ms 178ms 10 87 16s447ms 189ms 11 2 396ms 198ms 12 577 1m49s 190ms 13 83 15s877ms 191ms 14 703 2m12s 188ms 15 428 1m22s 191ms 16 223 41s987ms 188ms 17 136 27s894ms 205ms 18 364 1m19s 218ms 21 355 1m11s 201ms -
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" = '8140248')) ORDER BY "cash_policy"."id" DESC;
Date: 2024-11-27 18:32:02 Duration: 265ms
-
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" = '8909213')) ORDER BY "cash_policy"."id" DESC;
Date: 2024-11-27 18:31:59 Duration: 262ms
-
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" = '8735814')) ORDER BY "cash_policy"."id" DESC;
Date: 2024-11-27 18:32:03 Duration: 253ms
13 165ms 373ms 188ms 10,492 32m56s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 27 01 91 16s235ms 178ms 02 5 896ms 179ms 03 76 13s765ms 181ms 04 9 1s595ms 177ms 05 722 2m10s 180ms 06 595 1m46s 179ms 07 13 2s321ms 178ms 08 1,445 4m19s 179ms 09 1,460 4m27s 183ms 10 1,064 3m22s 190ms 11 488 1m37s 199ms 12 950 3m2s 192ms 13 1,021 3m13s 189ms 14 424 1m19s 186ms 15 1,181 3m44s 190ms 16 213 40s186ms 188ms 17 97 19s469ms 200ms 18 169 40s171ms 237ms 19 88 19s300ms 219ms 20 102 20s909ms 204ms 21 129 26s245ms 203ms 22 150 30s357ms 202ms -
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" = '8919389')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 18:46:04 Duration: 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" = '8916896')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 18:46:01 Duration: 299ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '8916887')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 18:46:08 Duration: 296ms
14 162ms 212ms 178ms 13,385 39m43s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 27 00 277 49s221ms 177ms 01 1,202 3m34s 178ms 02 1,231 3m38s 177ms 03 2,479 7m20s 177ms 04 2,265 6m43s 178ms 05 1,913 5m42s 178ms 06 2,332 6m55s 178ms 07 1,433 4m14s 177ms 08 251 44s991ms 179ms 22 2 384ms 192ms -
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" = '9123241')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 01:51:46 Duration: 212ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9095194')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 05:35:21 Duration: 210ms
-
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" = '8999777')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-27 05:42:56 Duration: 207ms
15 131ms 249ms 148ms 3,165 7m48s select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and (("res_partner"."type_employee" = ?) and ("res_partner"."type_driver" = ?))) 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 limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 27 00 62 8s752ms 141ms 01 85 11s992ms 141ms 02 84 11s895ms 141ms 03 94 13s302ms 141ms 04 72 10s183ms 141ms 05 103 14s634ms 142ms 06 154 21s659ms 140ms 07 126 17s880ms 141ms 08 97 13s830ms 142ms 09 107 15s710ms 146ms 10 169 25s734ms 152ms 11 246 37s689ms 153ms 12 222 34s120ms 153ms 13 161 23s940ms 148ms 14 163 24s647ms 151ms 15 166 24s645ms 148ms 16 149 21s914ms 147ms 17 194 29s420ms 151ms 18 141 22s375ms 158ms 19 212 32s282ms 152ms 20 163 23s603ms 144ms 21 125 18s653ms 149ms 22 70 9s972ms 142ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (("res_partner"."type_employee" = 'driver') AND ("res_partner"."type_driver" = 'out'))) 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 LIMIT 8;
Date: 2024-11-27 17:21:57 Duration: 249ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (("res_partner"."type_employee" = 'driver') AND ("res_partner"."type_driver" = 'out'))) 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 LIMIT 8;
Date: 2024-11-27 21:14:02 Duration: 236ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (("res_partner"."type_employee" = 'driver') AND ("res_partner"."type_driver" = 'out'))) 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 LIMIT 8;
Date: 2024-11-27 18:08:39 Duration: 224ms
16 119ms 249ms 140ms 6,275 14m42s 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 Nov 27 01 5 657ms 131ms 02 5 636ms 127ms 03 30 3s934ms 131ms 07 10 1s313ms 131ms 08 62 8s133ms 131ms 09 331 44s591ms 134ms 10 781 1m50s 141ms 11 1,144 2m42s 142ms 12 1,138 2m40s 140ms 13 915 2m6s 138ms 14 420 57s283ms 136ms 15 463 1m4s 138ms 16 188 25s663ms 136ms 17 163 22s839ms 140ms 18 123 17s208ms 139ms 19 159 22s534ms 141ms 20 72 9s843ms 136ms 21 257 43s558ms 169ms 22 9 1s203ms 133ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 123)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-11-27 21:15:26 Duration: 249ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 110)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-11-27 21:15:26 Duration: 249ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 123)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-11-27 21:15:26 Duration: 227ms
17 65ms 212ms 80ms 23,953 31m57s select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 27 00 41 3s81ms 75ms 02 110 8s698ms 79ms 03 21 1s664ms 79ms 04 7 549ms 78ms 05 29 2s261ms 77ms 07 101 7s802ms 77ms 08 245 19s450ms 79ms 09 1,215 1m37s 80ms 10 2,064 2m47s 80ms 11 2,052 2m46s 81ms 12 2,633 3m32s 80ms 13 1,911 2m32s 79ms 14 2,920 3m50s 78ms 15 4,235 5m39s 80ms 16 1,388 1m51s 80ms 17 836 1m7s 81ms 18 1,278 1m43s 81ms 19 581 47s394ms 81ms 20 683 54s305ms 79ms 21 655 52s453ms 80ms 22 948 1m10s 74ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7720591)) AND (("cash_track"."id" not in (4997591)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-11-27 17:22:17 Duration: 212ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7690122)) AND (("cash_track"."id" not in (4751856, 4754215, 4758445, 4978770, 4998377, 4999758, 4999758)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-11-27 18:08:54 Duration: 135ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7682360)) AND (("cash_track"."id" not in (4706912, 4723177, 4727246, 4999728, 4999728)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-11-27 18:08:42 Duration: 131ms
18 30ms 96ms 39ms 55,446 36m32s select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 27 00 48 1s822ms 37ms 01 166 6s25ms 36ms 02 254 9s302ms 36ms 03 10 376ms 37ms 04 46 1s739ms 37ms 05 99 3s778ms 38ms 06 33 1s250ms 37ms 07 175 6s566ms 37ms 08 1,264 46s926ms 37ms 09 4,269 2m44s 38ms 10 6,697 4m25s 39ms 11 6,561 4m21s 39ms 12 4,319 2m51s 39ms 13 4,443 2m57s 40ms 14 6,550 4m19s 39ms 15 6,191 4m5s 39ms 16 5,245 3m24s 39ms 17 4,808 3m8s 39ms 18 2,278 1m35s 42ms 19 1,242 50s593ms 40ms 20 424 16s810ms 39ms 21 243 9s966ms 41ms 22 81 3s71ms 37ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2703921) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-11-27 17:22:27 Duration: 96ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2190202) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-11-27 11:41:55 Duration: 94ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2590990) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-11-27 11:23:49 Duration: 88ms
19 26ms 99ms 36ms 161,471 1h38m57s 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 Nov 27 00 3,125 1m51s 35ms 01 2,500 1m29s 35ms 02 2,292 1m22s 35ms 03 3,084 1m51s 36ms 04 2,064 1m13s 35ms 05 2,181 1m19s 36ms 06 2,790 1m40s 36ms 07 1,744 1m3s 36ms 08 2,673 1m37s 36ms 09 8,669 5m23s 37ms 10 13,889 8m47s 37ms 11 15,136 9m38s 38ms 12 15,240 9m39s 38ms 13 10,841 6m50s 37ms 14 10,689 6m43s 37ms 15 9,876 6m10s 37ms 16 8,372 5m11s 37ms 17 9,395 5m35s 35ms 18 10,878 6m26s 35ms 19 10,421 6m4s 34ms 20 7,554 4m19s 34ms 21 5,462 3m11s 35ms 22 2,596 1m27s 33ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2762688)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-27 17:21:53 Duration: 99ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2976037)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-27 11:41:55 Duration: 99ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2574745)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-27 17:21:53 Duration: 98ms
20 28ms 62ms 35ms 24,427 14m15s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 27 07 60 1s896ms 31ms 08 715 23s528ms 32ms 09 1,727 58s621ms 33ms 10 3,004 1m45s 35ms 11 3,400 2m1s 35ms 12 1,725 1m1s 35ms 13 1,988 1m9s 34ms 14 3,330 1m54s 34ms 15 2,690 1m33s 34ms 16 2,765 1m37s 35ms 17 2,006 1m10s 35ms 18 856 31s395ms 36ms 19 161 5s871ms 36ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2616814) ORDER BY "collection_policy"."id";
Date: 2024-11-27 18:08:44 Duration: 62ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2616842) ORDER BY "collection_policy"."id";
Date: 2024-11-27 18:08:44 Duration: 60ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2642830) ORDER BY "collection_policy"."id";
Date: 2024-11-27 18:08:42 Duration: 59ms
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,480,983 Log entries
Events distribution
Key values
- 0 PANIC entries
- 173 FATAL entries
- 127 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 122 Max number of times the same event was reported
- 300 Total events found
Rank Times reported Error 1 122 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #1
Day Hour Count Nov 27 17 122 2 104 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #2
Day Hour Count Nov 27 00 1 01 1 02 1 03 3 04 2 06 3 07 3 08 1 09 3 10 6 11 6 12 1 13 2 14 10 15 5 16 4 17 6 18 15 19 17 20 5 21 8 22 1 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: UPDATE "shipping_policy" SET "destination_type" = 'warehouse', "last_action" = '2024-11-26', "last_car" = 13, "last_driver" = 8007152, "last_office" = NULL, "last_office_warehouse" = 49, "last_warehouse" = 17, "new_destination_button" = true, "state" = 'in_way', "write_date" = '2024-11-26 23:33:43.113826', "write_uid" = 1088 WHERE id IN (3026903, 3026899, 3026896, 3026893, 3026889, 3026885, 3026880, 3026875, 3026872, 3026867, 3026864, 3026860, 3026856, 3026855, 3026854, 3026853, 3026852, 3026851, 3026850, 3026849, 3026848, 3026847, 3026846, 3026845, 3026844, 3026843, 3026842, 3026841, 3026840, 3026839, 3026838, 3026837, 3026836, 3026835, 3026834, 3026833, 3026832, 3026831, 3026830, 3026829, 3026828, 3026827, 3026826, 3026825, 3026824, 3026823, 3026822, 3026821, 3026820, 3026819, 3026818, 3026817, 3026815, 3026813, 3026811, 3026809, 3026807, 3026804, 3026802, 3026800, 3026798, 3026796, 3026794, 3026791, 3026789, 3026787, 3026785, 3026782, 3026780, 3026778, 3026776, 3026774, 3026771, 3026769, 3026767, 3026765, 3026763, 3026761, 3026759, 3026757, 3026755, 3026753, 3026750, 3026747, 3026744, 3026741, 3026738, 3026734, 3026731, 3026728, 3026725, 3026722)
Date: 2024-11-27 00:34:17
Statement: update shipping_policy set count_search=2 where id=3008830
Date: 2024-11-27 01:45:38
Statement: update shipping_policy set count_search=3 where id=3019434
Date: 2024-11-27 02:50:40
3 23 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #3
Day Hour Count Nov 27 09 2 10 9 11 3 12 1 13 2 15 1 17 1 19 2 21 2 4 12 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #4
Day Hour Count Nov 27 17 12 5 11 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #5
Day Hour Count Nov 27 09 1 12 2 14 5 15 2 17 1 - ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (5399017, null, 825, 825, null, يايا, null, null, t, 2024-11-27 08:50:16.326383, 2024-11-27 08:50:16.326383, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-11-27 08:50:16.326383', 825, 'يايا', '2024-11-27 08:50:16.326383', 825) RETURNING "id"Date: 2024-11-27 09:50:16
Detail: Failing row contains (5399104, null, 827, 827, null, 01022774405, null, null, t, 2024-11-27 11:05:30.997491, 2024-11-27 11:05:30.997491, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-11-27 11:05:30.997491', 827, '01022774405', '2024-11-27 11:05:30.997491', 827) RETURNING "id"Date: 2024-11-27 12:05:30
Detail: Failing row contains (5399105, null, 827, 827, null, جلاكسي, null, null, t, 2024-11-27 11:05:39.907139, 2024-11-27 11:05:39.907139, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-11-27 11:05:39.907139', 827, 'جلاكسي', '2024-11-27 11:05:39.907139', 827) RETURNING "id"Date: 2024-11-27 12:05:39
6 7 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #6
Day Hour Count Nov 27 17 7 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3040588)) ORDER BY "shipping_policy_items"."id" DESC
Date: 2024-11-27 17:20:02
Statement: 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" = '8661351')) ORDER BY "shipping_policy"."id" DESC
Date: 2024-11-27 17:20:02
7 5 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Nov 27 14 1 17 4 - ERROR: syntax error at or near ")" at character 163
- ERROR: syntax error at or near ")" at character 163
- ERROR: syntax error at or near ")" at character 163
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('9008784',)
Date: 2024-11-27 14:03:03
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('9095150',)
Date: 2024-11-27 17:15:40
Statement: select po.id,policy.name from shipping_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('8606988',)
Date: 2024-11-27 17:50:33
8 3 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #8
Day Hour Count Nov 27 06 1 09 1 19 1 9 3 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Nov 27 21 3 - ERROR: duplicate key value violates unique constraint "ir_filters_name_model_uid_unique_action_index"
- ERROR: duplicate key value violates unique constraint "ir_filters_name_model_uid_unique_action_index"
- 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, خصم مكتب هيرو) already exists.
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2024-11-27 20:19:18.076109', 885, '[(''id'', ''in'', [7701435, 7710805, 7697800, 7705750, 7711013, 7713221, 7695289, 7704446, 7709245, 7697479, 7700587, 7711140, 288075, 7703123, 7704242, 7707693, 7708864, 7710212, 7711068, 7718796, 7721027, 7702305, 7695948, 7697121, 7697556, 7697672, 7698368, 7699016, 7700126, 7700859, 7705095, 7706322, 7709319, 7713382, 7721034, 7700733, 7709100, 7709189, 7711982, 7709529, 7697120, 7697544, 7698184, 7700881, 7703108, 7703864, 7703863, 7704968, 7705768, 7707861, 7710160, 7713656, 7698710, 7698973, 7695478, 7696270, 7696536, 7697425, 7697662, 7699771, 7703022, 7704364, 7704816, 7705511, 7710439, 7712366, 7712592, 7712641, 7721338, 7709362, 7711251, 7718308, 7714032, 7698635, 7714953, 7696255, 7697194, 7701121, 7705137, 7709718, 7710089, 7713693, 7717974, 7719299])]', 'cash.policy', 'خصم مكتب هيرو', '[]', '2024-11-27 20:19:18.076109', 885) RETURNING "id"Date: 2024-11-27 21:19:18
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(cash.policy, -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, '{}', '2024-11-27 20:20:42.404431', 885, '[(''id'', ''in'', [7701435, 7710805, 7697800, 7705750, 7711013, 7713221, 7695289, 7704446, 7709245, 7697479, 7700587, 7711140, 288075, 7703123, 7704242, 7707693, 7708864, 7710212, 7711068, 7718796, 7721027, 7702305, 7695948, 7697121, 7697556, 7697672, 7698368, 7699016, 7700126, 7700859, 7705095, 7706322, 7709319, 7713382, 7721034, 7700733, 7709100, 7709189, 7711982, 7709529, 7697120, 7697544, 7698184, 7700881, 7703108, 7703864, 7703863, 7704968, 7705768, 7707861, 7710160, 7713656, 7698710, 7698973, 7695478, 7696270, 7696536, 7697425, 7697662, 7699771, 7703022, 7704364, 7704816, 7705511, 7710439, 7712366, 7712592, 7712641, 7721338, 7709362, 7711251, 7718308, 7714032, 7698635, 7714953, 7696255, 7697194, 7701121, 7705137, 7709718, 7710089, 7713693, 7717974, 7719299])]', 'cash.policy', 'خصم مكتب هيرو', '[]', '2024-11-27 20:20:42.404431', 885) RETURNING "id"Date: 2024-11-27 21:20:42
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(cash.policy, -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, '{}', '2024-11-27 20:26:28.931405', 901, '[(''id'', ''in'', [7701526, 7694230, 7705187, 7711972, 7716478, 7719186, 7718257, 7699745, 7684352, 7652276, 7653437, 7647881, 7661454, 7667884, 7699741, 7692221, 7685389, 7705668, 7682900])]', 'cash.policy', 'خصم هيرو + تحويل الوراق', '[]', '2024-11-27 20:26:28.931405', 901) RETURNING "id"Date: 2024-11-27 21:26:28
10 3 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #10
Day Hour Count Nov 27 06 1 09 1 19 1 11 3 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #11
Day Hour Count Nov 27 06 1 09 1 19 1 12 2 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #12
Day Hour Count Nov 27 17 2 - ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
Context: parallel worker
Statement: SELECT "shipping_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" = '8661351')) ORDER BY "shipping_policy"."id" DESCDate: 2024-11-27 17:20:02
Context: parallel worker
Statement: SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3040588)) ORDER BY "shipping_policy_items"."id" DESCDate: 2024-11-27 17:20:02
13 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #13
Day Hour Count Nov 27 17 1 14 1 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #14
Day Hour Count Nov 27 21 1 - ERROR: deadlock detected
Detail: Process 3861 waits for ShareLock on transaction 427953; blocked by process 3716. Process 3716 waits for ShareLock on transaction 427938; blocked by process 3861. Process 3861: update shipping_policy set count_search=3 where id=2993571 Process 3716: UPDATE "shipping_policy" SET "collection_amount_receive" = '65', "create_cash_policy_button" = false, "return_button" = false, "total_collection_amount" = true, "write_date" = '2024-11-27 20:15:49.630882', "write_uid" = 1116 WHERE id IN (2993564)
Context: while updating tuple (64769,46) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=3 where id=2993571Date: 2024-11-27 21:16:21