-
Global information
- Generated on Sat Dec 14 23:47:46 2024
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 68,770,262 log entries in 2m45s
- Log start from 2024-12-14 00:00:00 to 2024-12-14 22:45:01
-
Overview
Global Stats
- 19,073 Number of unique normalized queries
- 20,033,049 Number of queries
- 6d22m39s Total query duration
- 2024-12-14 00:00:00 First query
- 2024-12-14 22:45:01 Last query
- 5,489 queries/s at 2024-12-14 11:02:12 Query peak
- 6d22m39s Total query duration
- 1s46ms Prepare/parse total duration
- 42s133ms Bind total duration
- 6d21m56s Execute total duration
- 13,802 Number of events
- 24 Number of unique normalized events
- 5,194 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
- 20,033,049 Average queries per session
- 6d22m39s 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
- 5,489 queries/s Query Peak
- 2024-12-14 11:02:12 Date
SELECT Traffic
Key values
- 3,732 queries/s Query Peak
- 2024-12-14 11:46:23 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,301 queries/s Query Peak
- 2024-12-14 11:02:13 Date
Queries duration
Key values
- 6d22m39s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 14 00 339,015 0ms 3s227ms 17ms 2m32s 2m50s 3m53s 01 278,098 0ms 1s308ms 12ms 2m 2m14s 3m5s 02 271,978 0ms 9s314ms 12ms 1m42s 2m2s 2m20s 03 273,500 0ms 1s383ms 16ms 2m30s 2m47s 3m15s 04 203,454 0ms 1s818ms 9ms 1m15s 1m25s 2m19s 05 163,958 0ms 1s832ms 8ms 59s85ms 1m21s 1m54s 06 175,661 0ms 484ms 5ms 59s148ms 1m35s 2m6s 07 257,117 0ms 4s215ms 8ms 1m22s 1m29s 1m36s 08 472,109 0ms 15s651ms 9ms 2m23s 2m51s 2m56s 09 1,322,949 0ms 41m2s 48ms 6m24s 59m22s 12h19m48s 10 1,697,253 0ms 14m57s 25ms 40m12s 55m20s 2h37m38s 11 1,689,346 0ms 11m46s 28ms 43m49s 1h4m23s 2h46m11s 12 1,750,079 0ms 9m 23ms 37m17s 58m56s 1h41m42s 13 1,508,878 0ms 14m57s 22ms 6m48s 8m40s 2h53m19s 14 1,468,024 0ms 31m28s 41ms 10m42s 2h6m54s 7h1m28s 15 1,655,507 0ms 18m28s 27ms 27m42s 32m35s 3h35m3s 16 1,689,227 0ms 18m4s 33ms 43m18s 1h3m11s 1h57m45s 17 1,323,042 0ms 6m27s 23ms 11m9s 12m46s 1h25m 18 1,091,563 0ms 1m37s 18ms 8m3s 8m55s 11m19s 19 876,309 0ms 11s944ms 17ms 7m36s 8m34s 10m40s 20 646,318 0ms 4s16ms 13ms 4m5s 4m36s 5m39s 21 463,869 0ms 59m59s 20ms 3m17s 3m57s 1h57s 22 415,795 0ms 3s542ms 31ms 9m36s 10m9s 10m50s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 14 00 213,010 0 27ms 2m18s 2m31s 3m35s 01 173,473 0 19ms 1m37s 2m 2m46s 02 168,227 0 19ms 1m32s 1m42s 2m9s 03 165,450 0 27ms 2m2s 2m30s 3m3s 04 125,328 0 15ms 57s826ms 1m15s 1m29s 05 106,798 0 12ms 35s613ms 58s905ms 1m28s 06 115,894 0 8ms 31s160ms 58s956ms 1m44s 07 166,441 0 12ms 1m3s 1m22s 1m33s 08 293,043 0 14ms 2m3s 2m17s 2m53s 09 819,560 0 13ms 5m4s 5m56s 6m31s 10 1,062,575 0 15ms 6m29s 7m50s 8m54s 11 1,050,349 0 14ms 5m52s 6m32s 9m21s 12 1,096,503 0 11ms 4m54s 5m47s 8m44s 13 910,407 0 16ms 5m25s 6m13s 7m47s 14 892,116 0 18ms 6m47s 7m32s 9m8s 15 1,040,182 0 18ms 7m18s 9m22s 10m52s 16 1,068,609 0 17ms 8m36s 10m1s 13m24s 17 819,496 0 27ms 9m37s 10m57s 12m10s 18 655,406 0 31ms 7m19s 8m1s 9m19s 19 520,320 0 30ms 5m45s 7m35s 9m48s 20 383,484 0 22ms 3m35s 4m5s 4m47s 21 271,423 0 20ms 2m21s 3m8s 3m56s 22 243,808 0 53ms 6m51s 9m35s 10m49s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 14 00 29,715 6,225 173 0 0ms 182ms 219ms 313ms 01 17,507 4,039 141 6 0ms 102ms 136ms 223ms 02 14,665 3,783 139 11 0ms 98ms 133ms 193ms 03 20,318 5,192 131 0 0ms 131ms 160ms 226ms 04 6,732 2,392 130 0 0ms 47ms 66ms 99ms 05 4,604 1,230 132 0 0ms 29ms 42ms 81ms 06 5,805 1,369 162 0 0ms 29ms 70ms 155ms 07 10,635 3,045 264 0 0ms 61ms 116ms 178ms 08 16,645 6,188 284 0 1ms 112ms 138ms 192ms 09 55,964 17,817 969 0 709ms 407ms 523ms 57m23s 10 71,384 23,378 565 0 278ms 519ms 678ms 54m1s 11 71,543 22,362 618 0 355ms 538ms 11s700ms 1h1m12s 12 65,542 23,499 676 0 310ms 483ms 646ms 57m24s 13 65,254 26,129 572 1 204ms 388ms 456ms 2m33s 14 63,693 26,361 546 0 492ms 454ms 811ms 2h3m42s 15 72,548 27,817 743 4 255ms 638ms 2m19s 30m38s 16 71,477 31,631 947 2 355ms 957ms 21m20s 1h3m7s 17 77,621 23,259 703 1 81ms 638ms 1s106ms 2m35s 18 89,017 23,318 674 0 1ms 541ms 673ms 10s833ms 19 68,997 18,471 473 0 0ms 434ms 492ms 697ms 20 45,612 12,218 436 0 0ms 265ms 370ms 513ms 21 31,321 7,496 387 0 93ms 201ms 278ms 19s666ms 22 50,280 16,096 227 0 0ms 408ms 437ms 710ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Dec 14 00 118 61,228 518.88 0.04% 01 118 61,228 518.88 0.05% 02 118 61,228 518.88 0.05% 03 118 61,228 518.88 0.05% 04 118 61,228 518.88 0.07% 05 118 61,228 518.88 0.08% 06 118 61,228 518.88 0.08% 07 118 61,228 518.88 0.05% 08 118 61,228 518.88 0.03% 09 118 61,228 518.88 0.01% 10 118 61,228 518.88 0.01% 11 118 61,228 518.88 0.01% 12 118 61,228 518.88 0.01% 13 118 61,228 518.88 0.01% 14 118 61,228 518.88 0.01% 15 118 61,228 518.88 0.01% 16 118 61,228 518.88 0.01% 17 121 59,327 490.31 0.01% 18 118 61,228 518.88 0.01% 19 118 61,228 518.88 0.02% 20 118 61,228 518.88 0.02% 21 19 9,524 501.26 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Dec 14 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s Day Hour Count Average Duration Average idle time Dec 14 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
- 180,920 buffers Checkpoint Peak
- 2024-12-14 18:46:27 Date
- 270.073 seconds Highest write time
- 0.035 seconds Sync time
Checkpoints Wal files
Key values
- 118 files Wal files usage Peak
- 2024-12-14 18:46:27 Date
Checkpoints distance
Key values
- 3,746.63 Mo Distance Peak
- 2024-12-14 18:46:27 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Dec 14 00 112,036 3,239.559s 0.035s 3,239.648s 01 84,346 3,150.509s 0.04s 3,150.582s 02 73,619 2,969.549s 0.023s 2,969.601s 03 97,867 3,239.584s 0.029s 3,239.651s 04 69,647 3,120.623s 0.028s 3,120.685s 05 42,545 2,769.325s 0.021s 2,769.378s 06 30,333 1,719.226s 0.042s 1,719.295s 07 73,624 2,906.44s 0.029s 2,906.507s 08 143,904 3,239.564s 0.032s 3,239.642s 09 379,034 3,239.61s 0.043s 3,239.724s 10 507,097 2,969.539s 0.059s 2,969.68s 11 560,743 2,969.358s 0.049s 2,969.505s 12 510,561 3,239.516s 0.056s 3,239.676s 13 460,110 3,239.586s 0.051s 3,239.717s 14 518,716 3,239.485s 0.07s 3,239.64s 15 421,095 3,239.51s 0.046s 3,239.63s 16 439,866 3,239.576s 0.073s 3,239.727s 17 397,517 2,887.233s 0.108s 2,887.567s 18 548,159 3,239.451s 0.077s 3,239.634s 19 320,846 3,239.593s 0.054s 3,239.72s 20 236,693 3,239.502s 0.046s 3,239.606s 21 169,089 3,239.553s 0.037s 3,239.651s 22 154,831 2,429.687s 0.028s 2,429.756s Day Hour Added Removed Recycled Synced files Longest sync Average sync Dec 14 00 0 0 49 3,566 0.002s 0.012s 01 0 0 38 2,787 0.014s 0.012s 02 0 0 33 2,572 0.002s 0.011s 03 0 0 45 2,780 0.002s 0.012s 04 0 0 32 1,944 0.002s 0.012s 05 0 0 18 1,833 0.002s 0.012s 06 0 0 13 1,364 0.014s 0.014s 07 0 0 31 3,550 0.002s 0.012s 08 0 0 61 3,831 0.002s 0.012s 09 0 0 163 4,747 0.003s 0.012s 10 0 0 224 4,605 0.002s 0.011s 11 0 0 251 4,677 0.003s 0.011s 12 0 0 230 5,083 0.003s 0.012s 13 0 0 202 4,972 0.003s 0.012s 14 0 0 223 5,325 0.002s 0.012s 15 0 0 186 5,507 0.002s 0.012s 16 0 0 193 5,648 0.002s 0.012s 17 0 0 175 5,318 0.033s 0.012s 18 0 6 273 5,352 0.002s 0.012s 19 0 5 131 5,225 0.002s 0.012s 20 0 0 95 4,898 0.002s 0.012s 21 0 0 67 4,745 0.002s 0.012s 22 0 0 64 3,699 0.002s 0.009s Day Hour Count Avg time (sec) Dec 14 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Dec 14 00 66,774.17 kB 92,959.50 kB 01 52,269.33 kB 81,056.00 kB 02 48,449.55 kB 60,400.09 kB 03 61,833.58 kB 80,599.92 kB 04 43,109.50 kB 89,648.17 kB 05 24,469.92 kB 48,194.17 kB 06 17,910.08 kB 40,141.00 kB 07 42,360.08 kB 61,869.50 kB 08 86,877.27 kB 108,537.00 kB 09 204,209.30 kB 224,176.60 kB 10 332,491.36 kB 419,020.00 kB 11 373,794.90 kB 413,262.00 kB 12 314,312.42 kB 384,669.75 kB 13 274,734.50 kB 333,021.92 kB 14 306,462.09 kB 356,814.09 kB 15 248,500.27 kB 314,130.09 kB 16 262,925.83 kB 332,974.67 kB 17 239,763.08 kB 350,637.33 kB 18 240,499.91 kB 540,043.82 kB 19 185,681.58 kB 949,455.42 kB 20 129,468.92 kB 372,517.50 kB 21 91,565.00 kB 181,548.83 kB 22 116,811.89 kB 141,235.89 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Dec 14 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Dec 14 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
- 12,361,902 Total read queries
- 5,252,356 Total write queries
Queries by database
Key values
- unknown Main database
- 20,033,049 Requests
- 6d21m56s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 20,033,049 Requests
User Request type Count Duration unknown Total 20,033,049 6d21m56s copy from 25 29ms cte 107,943 1m ddl 3,979 575ms delete 10,092 1s400ms insert 1,026,879 5m27s others 2,418,790 1m56s select 12,361,902 2d18h34m22s tcl 3,770,123 2m43s update 333,315 3d5h36m23s Duration by user
Key values
- 6d21m56s (unknown) Main time consuming user
User Request type Count Duration unknown Total 20,033,049 6d21m56s copy from 25 29ms cte 107,943 1m ddl 3,979 575ms delete 10,092 1s400ms insert 1,026,879 5m27s others 2,418,790 1m56s select 12,361,902 2d18h34m22s tcl 3,770,123 2m43s update 333,315 3d5h36m23s Queries by host
Key values
- unknown Main host
- 20,033,049 Requests
- 6d21m56s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 20,033,049 Requests
- 6d21m56s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-12-14 21:44:48 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 18,556,546 0-1ms duration
Slowest individual queries
Rank Duration Query 1 59m59s update res_users set sid = '6c24d4e6240f9a49616748edc8712761b387375f', last_update = '2024-12-14 19:26:05.213256', exp_date = '2024-12-14 20:11:05.213258', logged_in = 'TRUE' where id = 883;[ Date: 2024-12-14 21:26:05 ]
2 41m2s update res_users set sid = '71483f860765d85c421ca9a5f5061dd6e323af02', last_update = '2024-12-14 07:36:17.598660', exp_date = '2024-12-14 08:21:17.598663', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
3 41m2s update res_users set sid = '71483f860765d85c421ca9a5f5061dd6e323af02', last_update = '2024-12-14 07:36:17.598608', exp_date = '2024-12-14 08:21:17.598610', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
4 40m51s update res_users set sid = '71483f860765d85c421ca9a5f5061dd6e323af02', last_update = '2024-12-14 07:36:28.480345', exp_date = '2024-12-14 08:21:28.480347', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
5 40m13s update res_users set sid = '71483f860765d85c421ca9a5f5061dd6e323af02', last_update = '2024-12-14 07:37:06.764200', exp_date = '2024-12-14 08:22:06.764204', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
6 39m20s update res_users set sid = '71483f860765d85c421ca9a5f5061dd6e323af02', last_update = '2024-12-14 07:37:59.017186', exp_date = '2024-12-14 08:22:59.017189', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
7 39m20s update res_users set sid = '71483f860765d85c421ca9a5f5061dd6e323af02', last_update = '2024-12-14 07:37:59.109276', exp_date = '2024-12-14 08:22:59.109279', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
8 38m59s update res_users set sid = '71483f860765d85c421ca9a5f5061dd6e323af02', last_update = '2024-12-14 07:38:20.615203', exp_date = '2024-12-14 08:23:20.615207', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
9 37m32s update res_users set sid = '2d05ec8322b040a5f1346571d8fc316b35b662ac', last_update = '2024-12-14 07:39:47.343906', exp_date = '2024-12-14 08:24:47.343909', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
10 37m32s update res_users set sid = '2d05ec8322b040a5f1346571d8fc316b35b662ac', last_update = '2024-12-14 07:39:47.457636', exp_date = '2024-12-14 08:24:47.457639', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
11 37m32s update res_users set sid = '2d05ec8322b040a5f1346571d8fc316b35b662ac', last_update = '2024-12-14 07:39:47.955369', exp_date = '2024-12-14 08:24:47.955372', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
12 37m31s update res_users set sid = '2d05ec8322b040a5f1346571d8fc316b35b662ac', last_update = '2024-12-14 07:39:48.025127', exp_date = '2024-12-14 08:24:48.025130', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
13 37m31s update res_users set sid = '2d05ec8322b040a5f1346571d8fc316b35b662ac', last_update = '2024-12-14 07:39:48.059115', exp_date = '2024-12-14 08:24:48.059119', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
14 36m55s update res_users set sid = '2d05ec8322b040a5f1346571d8fc316b35b662ac', last_update = '2024-12-14 07:40:24.563232', exp_date = '2024-12-14 08:25:24.563236', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
15 33m59s UPDATE "res_users" SET "exp_date" = '2024-12-14 08:28:20.167641', "last_update" = '2024-12-14 07:43:20.167662', "sid" = 'c69b0a72919a65045795741668391dc8c238d761', "write_date" = '2024-12-14 07:43:19.841271', "write_uid" = 1 WHERE id IN (988);[ Date: 2024-12-14 09:17:19 ]
16 31m28s update res_users set sid = '16718ebf2c9759879466bfb9a2b27a485288f7fe', last_update = '2024-12-14 12:36:51.289574', exp_date = '2024-12-14 13:21:51.289577', logged_in = 'TRUE' where id = 979;[ Date: 2024-12-14 14:08:20 ]
17 31m28s update res_users set sid = '16718ebf2c9759879466bfb9a2b27a485288f7fe', last_update = '2024-12-14 12:36:51.289589', exp_date = '2024-12-14 13:21:51.289592', logged_in = 'TRUE' where id = 979;[ Date: 2024-12-14 14:08:20 ]
18 29m46s UPDATE "res_users" SET "exp_date" = '2024-12-14 08:32:33.947077', "last_update" = '2024-12-14 07:47:33.947096', "sid" = '78f046b0c16ed9b79006abb17d290170fff96f29', "write_date" = '2024-12-14 07:47:33.629204', "write_uid" = 988 WHERE id IN (988);[ Date: 2024-12-14 09:17:20 ]
19 28m54s update res_users set sid = '43c7823c68ad9713f449be43261d7fa16aaf81d4', last_update = '2024-12-14 07:48:25.528874', exp_date = '2024-12-14 08:33:25.528877', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
20 27m54s update res_users set sid = '43c7823c68ad9713f449be43261d7fa16aaf81d4', last_update = '2024-12-14 07:49:25.028559', exp_date = '2024-12-14 08:34:25.028561', logged_in = 'TRUE' where id = 988;[ Date: 2024-12-14 09:17:20 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 3d2h10m37s 80,442 0ms 59m59s 3s319ms update res_users set sid = ?, last_update = ?, exp_date = ?, logged_in = ? where id = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 14 00 604 139ms 0ms 01 590 125ms 0ms 02 571 9s437ms 16ms 03 820 180ms 0ms 04 636 133ms 0ms 05 243 50ms 0ms 06 249 53ms 0ms 07 455 96ms 0ms 08 1,470 15s967ms 10ms 09 5,147 13h13m6s 9s245ms 10 8,428 6h46m17s 2s892ms 11 7,606 9h13m36s 4s367ms 12 8,758 7h28m34s 3s73ms 13 7,255 5h10m8s 2s564ms 14 7,295 12h6m7s 5s972ms 15 7,431 7h2m35s 3s412ms 16 7,303 9h53m8s 4s873ms 17 4,903 2h12m45s 1s624ms 18 3,883 2m38s 40ms 19 2,766 686ms 0ms 20 1,838 421ms 0ms 21 1,305 1h1m11s 2s813ms 22 886 225ms 0ms -
update res_users set sid = '6c24d4e6240f9a49616748edc8712761b387375f', last_update = '2024-12-14 19:26:05.213256', exp_date = '2024-12-14 20:11:05.213258', logged_in = 'TRUE' where id = 883;
Date: 2024-12-14 21:26:05 Duration: 59m59s
-
update res_users set sid = '71483f860765d85c421ca9a5f5061dd6e323af02', last_update = '2024-12-14 07:36:17.598660', exp_date = '2024-12-14 08:21:17.598663', logged_in = 'TRUE' where id = 988;
Date: 2024-12-14 09:17:20 Duration: 41m2s
-
update res_users set sid = '71483f860765d85c421ca9a5f5061dd6e323af02', last_update = '2024-12-14 07:36:17.598608', exp_date = '2024-12-14 08:21:17.598610', logged_in = 'TRUE' where id = 988;
Date: 2024-12-14 09:17:20 Duration: 41m2s
2 1d6h52s 252,634 344ms 4s217ms 427ms 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 #2
Day Hour Count Duration Avg duration Dec 14 00 7,604 51m26s 405ms 01 5,114 33m32s 393ms 02 4,995 32m31s 390ms 03 6,853 45m3s 394ms 04 3,521 22m15s 379ms 05 2,293 14m24s 376ms 06 1,375 8m57s 391ms 07 2,434 16m4s 396ms 08 5,170 32m58s 382ms 09 14,287 1h39m56s 419ms 10 18,599 2h15m38s 437ms 11 16,404 1h57m29s 429ms 12 14,115 1h38m59s 420ms 13 12,851 1h30m34s 422ms 14 13,865 1h39m22s 430ms 15 20,079 2h30m17s 449ms 16 12,793 1h38m53s 463ms 17 25,921 3h18m45s 460ms 18 22,044 2h40m44s 437ms 19 14,540 1h43m59s 429ms 20 9,214 1h2m17s 405ms 21 6,979 46m8s 396ms 22 11,584 1h20m29s 416ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3570070)) AND (("shipping_track"."id" not in (29179189, 29179189)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:43:49 Duration: 4s217ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3570054)) AND (("shipping_track"."id" not in (29179119, 29179119)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:43:27 Duration: 3s456ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3543557)) AND (("shipping_track"."id" not in (28828563, 28828745, 28828931, 28853158, 28854413, 28876714, 28876796, 28909452, 28909976, 29179194, 29179194)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:43:48 Duration: 3s332ms
3 10h31m16s 164,950 175ms 1s571ms 229ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 14 00 876 2m50s 194ms 01 1,184 3m49s 194ms 02 1,177 3m49s 194ms 03 1,329 4m18s 194ms 04 1,013 3m17s 194ms 05 832 2m42s 195ms 06 290 56s268ms 194ms 07 459 1m29s 195ms 08 4,269 14m2s 197ms 09 5,603 19m33s 209ms 10 11,308 42m4s 223ms 11 8,592 31m43s 221ms 12 9,913 37m18s 225ms 13 15,234 55m40s 219ms 14 20,573 1h17m18s 225ms 15 17,431 1h8m56s 237ms 16 23,593 1h36m16s 244ms 17 13,244 54m31s 247ms 18 4,830 18m26s 229ms 19 6,666 24m52s 223ms 20 1,674 5m57s 213ms 21 91 18s752ms 206ms 22 14,769 1h1m1s 247ms -
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" = '9290229')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 16:43:32 Duration: 1s571ms
-
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" = '9254891')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 16:43:41 Duration: 1s499ms
-
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" = '9101685')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 16:43:17 Duration: 1s234ms
4 5h11m23s 42,589 346ms 2s354ms 438ms select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 14 00 289 1m57s 405ms 01 141 1m 432ms 02 132 58s280ms 441ms 03 150 1m8s 453ms 04 111 48s512ms 437ms 05 47 20s835ms 443ms 06 122 47s807ms 391ms 07 807 5m11s 386ms 08 869 5m44s 396ms 09 4,140 29m39s 429ms 10 3,357 25m7s 449ms 11 3,586 26m21s 441ms 12 3,660 26m43s 438ms 13 2,974 21m44s 438ms 14 3,306 24m36s 446ms 15 2,905 22m28s 464ms 16 3,493 27m22s 470ms 17 3,513 27m40s 472ms 18 3,257 23m17s 429ms 19 1,811 12m35s 417ms 20 1,784 11m41s 393ms 21 1,516 9m42s 383ms 22 619 4m23s 426ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3515834)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:44:16 Duration: 2s354ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3487868)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:43:43 Duration: 2s306ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (2184440)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:42:08 Duration: 2s215ms
5 4h1m25s 58,803 98ms 948ms 246ms select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 14 00 5,046 17m2s 202ms 01 2,020 6m39s 197ms 02 1,594 5m59s 225ms 03 2,530 10m57s 260ms 05 4 1s130ms 282ms 06 510 1m52s 221ms 07 1,150 4m26s 231ms 08 64 15s231ms 237ms 09 262 59s589ms 227ms 10 12 2s773ms 231ms 11 224 1m6s 297ms 12 270 1m9s 257ms 13 1,048 4m46s 273ms 14 936 4m17s 275ms 15 1,240 5m54s 286ms 16 3,630 16m25s 271ms 17 4,480 20m33s 275ms 18 10,228 44m36s 261ms 19 8,092 33m4s 245ms 20 5,240 20m11s 231ms 21 3,662 13m33s 222ms 22 6,561 27m27s 251ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-12-14 19:28:34 Duration: 948ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-12-14 19:28:34 Duration: 945ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'تامر')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-12-14 18:53:39 Duration: 842ms
6 2h46m29s 379 0ms 33m59s 26s357ms update "res_users" set "exp_date" = ?, "last_update" = ?, "sid" = ?, "write_date" = ?, "write_uid" = ? where id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 14 00 4 3ms 0ms 01 1 0ms 0ms 02 2 0ms 0ms 05 2 0ms 0ms 06 4 0ms 0ms 07 4 0ms 0ms 08 12 2ms 0ms 09 29 1h30m49s 3m7s 10 35 20m10s 34s584ms 11 30 5m34s 11s145ms 12 42 15m34s 22s248ms 13 28 1m35s 3s400ms 14 27 9m22s 20s828ms 15 39 2m58s 4s572ms 16 38 16m22s 25s865ms 17 25 4m2s 9s692ms 18 18 15ms 0ms 19 20 7ms 0ms 20 4 0ms 0ms 21 8 1ms 0ms 22 7 1ms 0ms -
UPDATE "res_users" SET "exp_date" = '2024-12-14 08:28:20.167641', "last_update" = '2024-12-14 07:43:20.167662', "sid" = 'c69b0a72919a65045795741668391dc8c238d761', "write_date" = '2024-12-14 07:43:19.841271', "write_uid" = 1 WHERE id IN (988);
Date: 2024-12-14 09:17:19 Duration: 33m59s
-
UPDATE "res_users" SET "exp_date" = '2024-12-14 08:32:33.947077', "last_update" = '2024-12-14 07:47:33.947096', "sid" = '78f046b0c16ed9b79006abb17d290170fff96f29', "write_date" = '2024-12-14 07:47:33.629204', "write_uid" = 988 WHERE id IN (988);
Date: 2024-12-14 09:17:20 Duration: 29m46s
-
UPDATE "res_users" SET "exp_date" = '2024-12-14 08:35:16.803353', "last_update" = '2024-12-14 07:50:16.803377', "sid" = '16962a98d9dd2c96deb07ff435fef99d2ba1d165', "write_date" = '2024-12-14 07:50:16.425006', "write_uid" = 988 WHERE id IN (988);
Date: 2024-12-14 09:17:20 Duration: 27m3s
7 2h46m24s 10,049 243ms 1s840ms 993ms 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 #7
Day Hour Count Duration Avg duration Dec 14 00 398 6m16s 946ms 01 80 1m15s 941ms 02 130 2m2s 941ms 03 134 2m7s 954ms 08 3 2s809ms 936ms 09 5 4s666ms 933ms 10 3 3s153ms 1s51ms 12 5 5s42ms 1s8ms 13 34 35s651ms 1s48ms 14 26 30s505ms 1s173ms 15 3 3s567ms 1s189ms 16 746 12m56s 1s40ms 17 799 14m20s 1s76ms 18 2,134 36m6s 1s15ms 19 2,177 35m42s 984ms 20 1,169 18m31s 950ms 21 643 9m38s 899ms 22 1,560 26m1s 1s -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9274598')) 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 (119))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-14 16:42:01 Duration: 1s840ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9316338')) 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 (60))))))) 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 (60)))))) 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 (60)))))) 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 (60))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-14 17:27:16 Duration: 1s673ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9316315')) 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 (60))))))) 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 (60)))))) 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 (60)))))) 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 (60))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-14 17:26:41 Duration: 1s641ms
8 2h42m59s 35,152 185ms 1s893ms 278ms 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 #8
Day Hour Count Duration Avg duration Dec 14 07 27 6s558ms 242ms 08 1,442 5m53s 245ms 09 1,336 5m44s 258ms 10 3,997 18m44s 281ms 11 3,125 14m20s 275ms 12 1,844 8m22s 272ms 13 4,865 21m34s 266ms 14 4,764 22m6s 278ms 15 2,987 14m19s 287ms 16 3,866 18m49s 292ms 17 2,498 12m31s 300ms 18 1,938 8m59s 278ms 19 2,463 11m25s 278ms -
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" = '9296567')))) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:25 Duration: 1s893ms
-
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" = '9007821')))) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:04 Duration: 1s314ms
-
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" = '9265012')))) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:03 Duration: 1s213ms
9 1h44m18s 19,715 217ms 1s649ms 317ms 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 #9
Day Hour Count Duration Avg duration Dec 14 00 2,153 10m8s 282ms 01 940 4m30s 287ms 02 683 3m16s 287ms 03 1,149 5m29s 286ms 05 2 548ms 274ms 06 255 1m12s 284ms 07 580 2m44s 283ms 08 30 8s750ms 291ms 09 133 40s981ms 308ms 10 3 886ms 295ms 11 114 39s234ms 344ms 12 142 44s678ms 314ms 13 499 2m37s 316ms 14 448 2m30s 336ms 15 621 3m29s 337ms 16 1,094 6m36s 362ms 17 1,468 8m40s 354ms 18 3,034 17m9s 339ms 19 1,919 10m40s 333ms 20 1,484 7m34s 306ms 21 1,213 6m9s 304ms 22 1,751 9m13s 316ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9356780')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-12-14 16:43:19 Duration: 1s649ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9368841')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-12-14 16:43:40 Duration: 1s637ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9368836')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-12-14 16:43:28 Duration: 1s575ms
10 1h41m6s 152,097 29ms 197ms 39ms 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 #10
Day Hour Count Duration Avg duration Dec 14 00 3,119 1m53s 36ms 01 2,045 1m14s 36ms 02 1,612 58s878ms 36ms 03 2,284 1m24s 36ms 04 718 26s612ms 37ms 05 535 19s692ms 36ms 06 807 29s380ms 36ms 07 1,547 56s285ms 36ms 08 3,196 1m55s 36ms 09 10,368 6m45s 39ms 10 14,451 9m46s 40ms 11 14,447 9m36s 39ms 12 12,040 7m53s 39ms 13 11,354 7m25s 39ms 14 10,576 7m3s 39ms 15 10,786 7m29s 41ms 16 8,190 5m44s 42ms 17 9,974 7m15s 43ms 18 10,535 7m14s 41ms 19 9,323 6m12s 39ms 20 5,851 3m41s 37ms 21 4,691 2m54s 37ms 22 3,648 2m23s 39ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3523626, 3511748)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-14 16:43:18 Duration: 197ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3521383)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-14 16:43:11 Duration: 178ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3500290)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-14 16:43:20 Duration: 175ms
11 1h2m49s 76,894 32ms 232ms 49ms 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 #11
Day Hour Count Duration Avg duration Dec 14 00 2 89ms 44ms 06 7 331ms 47ms 07 72 3s285ms 45ms 08 2,119 1m36s 45ms 09 4,956 3m58s 48ms 10 9,433 7m55s 50ms 11 6,261 5m13s 50ms 12 3,563 2m56s 49ms 13 8,702 7m4s 48ms 14 7,639 6m18s 49ms 15 9,763 8m24s 51ms 16 6,740 5m49s 51ms 17 7,176 5m52s 49ms 18 4,501 3m17s 43ms 19 4,645 3m23s 43ms 20 984 40s527ms 41ms 21 233 9s567ms 41ms 22 98 4s495ms 45ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3523626) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:15 Duration: 232ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3377484) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:18 Duration: 231ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3568285) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:05 Duration: 222ms
12 39m16s 10,882 176ms 1s162ms 216ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 14 00 26 5s110ms 196ms 04 276 53s535ms 193ms 05 480 1m33s 193ms 06 185 35s986ms 194ms 07 145 28s284ms 195ms 08 873 2m52s 197ms 09 1,291 4m26s 206ms 10 382 1m27s 228ms 11 1,994 7m22s 221ms 12 1,164 4m14s 218ms 13 485 1m48s 223ms 14 821 2m58s 216ms 15 809 3m6s 230ms 16 774 2m51s 221ms 17 698 2m46s 238ms 18 204 48s110ms 235ms 19 17 3s716ms 218ms 20 177 37s892ms 214ms 21 45 9s414ms 209ms 22 36 7s486ms 207ms -
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" = '9338438')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 12:41:07 Duration: 1s162ms
-
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" = '9261761')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 12:41:04 Duration: 347ms
-
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" = '9290530')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 15:09:18 Duration: 346ms
13 29m43s 18,283 75ms 371ms 97ms 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 #13
Day Hour Count Duration Avg duration Dec 14 00 68 6s48ms 88ms 02 1 77ms 77ms 06 20 1s844ms 92ms 07 136 12s416ms 91ms 08 164 14s856ms 90ms 09 1,219 1m58s 96ms 10 1,146 1m52s 98ms 11 1,786 2m54s 97ms 12 1,817 2m52s 95ms 13 1,758 2m48s 95ms 14 1,659 2m42s 97ms 15 2,271 3m43s 98ms 16 1,678 2m53s 103ms 17 914 1m36s 106ms 18 1,579 2m36s 99ms 19 618 57s287ms 92ms 20 747 1m6s 89ms 21 301 27s139ms 90ms 22 401 36s301ms 90ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7807975)) AND (("cash_track"."id" not in (5637860, 5652248, 5656396, 5716811, 5716811)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-14 16:43:45 Duration: 371ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7818754)) AND (("cash_track"."id" not in (5716809)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-14 16:43:42 Duration: 286ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7818743)) AND (("cash_track"."id" not in (5716798)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-14 16:43:25 Duration: 272ms
14 28m21s 7,605 175ms 361ms 223ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 14 06 105 20s391ms 194ms 07 256 50s251ms 196ms 09 557 2m1s 217ms 10 1,977 7m16s 220ms 11 384 1m25s 223ms 12 146 30s967ms 212ms 13 780 2m49s 217ms 14 326 1m10s 215ms 15 945 3m34s 227ms 16 500 2m2s 244ms 17 717 2m54s 243ms 18 289 1m5s 226ms 19 564 2m8s 227ms 20 13 2s650ms 203ms 21 46 9s356ms 203ms -
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" = '9338927')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 17:26:39 Duration: 361ms
-
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" = '9293194')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 17:26:50 Duration: 359ms
-
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" = '9327858')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 16:42:07 Duration: 359ms
15 23m30s 31,497 30ms 182ms 44ms 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 Dec 14 01 1 42ms 42ms 02 1 44ms 44ms 07 23 1s8ms 43ms 08 726 30s129ms 41ms 09 1,128 50s114ms 44ms 10 3,660 2m44s 45ms 11 2,896 2m10s 44ms 12 1,255 56s973ms 45ms 13 4,493 3m21s 44ms 14 3,503 2m39s 45ms 15 3,544 2m47s 47ms 16 3,290 2m35s 47ms 17 2,912 2m12s 45ms 18 1,949 1m18s 40ms 19 2,116 1m23s 39ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 3335160) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:05 Duration: 182ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 3334587) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:05 Duration: 166ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 3315288) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:59:13 Duration: 90ms
16 21m9s 4,546 201ms 552ms 279ms select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))))) order by "collection_policy"."id";Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 14 09 88 23s632ms 268ms 10 661 3m2s 276ms 11 340 1m33s 274ms 12 146 38s85ms 260ms 13 652 2m56s 270ms 14 269 1m13s 273ms 15 777 3m42s 285ms 16 207 1m 291ms 17 604 3m1s 299ms 18 239 1m5s 272ms 19 563 2m33s 273ms -
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" = '9317151') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2024-12-14 17:26:40 Duration: 552ms
-
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" = '9240047') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2024-12-14 17:26:46 Duration: 447ms
-
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" = '9326269') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:42:06 Duration: 426ms
17 17m54s 5,522 175ms 228ms 194ms 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 #17
Day Hour Count Duration Avg duration Dec 14 00 850 2m45s 194ms 01 1,184 3m49s 193ms 02 1,177 3m49s 194ms 03 1,323 4m17s 194ms 04 613 1m59s 194ms 05 352 1m9s 197ms 22 23 4s789ms 208ms -
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" = '9356645')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 01:13:00 Duration: 228ms
-
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" = '9231966')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 01:12:59 Duration: 227ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9279568')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 01:13:00 Duration: 225ms
18 17m33s 55 0ms 14m57s 19s159ms update "res_users" set "exp_date" = ?, "last_update" = ?, "write_date" = ?, "write_uid" = ? where id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 14 00 2 1ms 0ms 08 5 0ms 0ms 09 2 1ms 0ms 10 5 14m57s 2m59s 11 5 8ms 1ms 12 10 14ms 1ms 13 3 3ms 1ms 14 3 5ms 1ms 15 5 1m38s 19s684ms 16 3 57s860ms 19s286ms 17 7 12ms 1ms 18 2 1ms 0ms 19 1 0ms 0ms 21 2 0ms 0ms -
UPDATE "res_users" SET "exp_date" = '2024-12-14 09:52:23.156706', "last_update" = '2024-12-14 09:07:23.156729', "write_date" = '2024-12-14 09:07:22.766117', "write_uid" = 1 WHERE id IN (1292);
Date: 2024-12-14 10:22:20 Duration: 14m57s
-
UPDATE "res_users" SET "exp_date" = '2024-12-14 14:54:42.767377', "last_update" = '2024-12-14 14:09:42.767407', "write_date" = '2024-12-14 14:09:42.314368', "write_uid" = 1 WHERE id IN (959);
Date: 2024-12-14 15:11:21 Duration: 1m38s
-
UPDATE "res_users" SET "exp_date" = '2024-12-14 16:00:22.474711', "last_update" = '2024-12-14 15:15:22.474734', "write_date" = '2024-12-14 15:15:22.096304', "write_uid" = 1231 WHERE id IN (1231);
Date: 2024-12-14 16:16:20 Duration: 57s857ms
19 16m6s 262 3s26ms 6s280ms 3s688ms 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 #19
Day Hour Count Duration Avg duration Dec 14 00 5 15s772ms 3s154ms 09 4 12s570ms 3s142ms 10 6 24s794ms 4s132ms 11 13 54s165ms 4s166ms 12 5 17s547ms 3s509ms 13 5 17s94ms 3s418ms 14 53 3m18s 3s751ms 15 29 1m45s 3s646ms 16 30 2m 4s 17 22 1m25s 3s871ms 18 29 1m48s 3s756ms 19 21 1m13s 3s493ms 20 24 1m19s 3s315ms 21 6 18s973ms 3s162ms 22 10 33s955ms 3s395ms -
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 (70))))))) 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 (70)))))) 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 (70)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) 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 (70))))))))) 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 (70)))))))) AND ("policy_number"."name"::text ilike '%8871987%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-14 16:43:30 Duration: 6s280ms
-
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 '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-14 14:20:34 Duration: 4s909ms
-
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 '%9387741%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-14 14:20:35 Duration: 4s853ms
20 14m28s 5,856 118ms 335ms 148ms 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 #20
Day Hour Count Duration Avg duration Dec 14 00 25 3s227ms 129ms 07 10 1s287ms 128ms 08 20 2s645ms 132ms 09 425 1m1s 145ms 10 979 2m29s 152ms 11 1,018 2m30s 147ms 12 959 2m20s 146ms 13 547 1m19s 145ms 14 705 1m43s 146ms 15 446 1m7s 151ms 16 171 26s776ms 156ms 17 135 22s923ms 169ms 18 122 18s523ms 151ms 19 146 20s181ms 138ms 20 17 2s339ms 137ms 21 73 9s698ms 132ms 22 58 8s727ms 150ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 66)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-12-14 17:26:41 Duration: 335ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 46)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-12-14 12:40:56 Duration: 283ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 60)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-12-14 14:20:37 Duration: 282ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,416,375 1m56s 0ms 2ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 14 00 36,065 1s703ms 0ms 01 33,536 1s448ms 0ms 02 33,312 1s507ms 0ms 03 32,162 1s531ms 0ms 04 26,596 1s119ms 0ms 05 19,883 798ms 0ms 06 20,269 793ms 0ms 07 28,646 1s319ms 0ms 08 59,153 2s978ms 0ms 09 158,221 7s360ms 0ms 10 201,165 9s334ms 0ms 11 206,806 9s54ms 0ms 12 214,027 8s984ms 0ms 13 196,126 9s257ms 0ms 14 188,205 9s114ms 0ms 15 197,356 9s413ms 0ms 16 198,957 8s470ms 0ms 17 154,060 7s863ms 0ms 18 124,299 7s703ms 0ms 19 104,375 6s241ms 0ms 20 79,708 4s556ms 0ms 21 61,304 3s336ms 0ms 22 42,144 2s547ms 0ms -
DISCARD ALL;
Date: 2024-12-14 22:43:35 Duration: 2ms
-
DISCARD ALL;
Date: 2024-12-14 14:36:59 Duration: 1ms
-
DISCARD ALL;
Date: 2024-12-14 16:41:21 Duration: 1ms
2 1,885,979 28s648ms 0ms 1ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 14 00 25,000 436ms 0ms 01 22,731 362ms 0ms 02 24,008 378ms 0ms 03 23,311 391ms 0ms 04 19,326 295ms 0ms 05 13,838 220ms 0ms 06 14,247 222ms 0ms 07 22,155 339ms 0ms 08 46,396 715ms 0ms 09 132,276 1s833ms 0ms 10 165,355 2s411ms 0ms 11 164,936 2s308ms 0ms 12 170,711 2s346ms 0ms 13 152,240 2s211ms 0ms 14 145,582 2s208ms 0ms 15 154,269 2s423ms 0ms 16 154,212 2s241ms 0ms 17 120,876 1s985ms 0ms 18 97,363 1s702ms 0ms 19 79,882 1s364ms 0ms 20 60,556 969ms 0ms 21 45,319 709ms 0ms 22 31,390 570ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-12-14 15:12:19 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-12-14 13:07:59 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-12-14 22:11:55 Duration: 1ms
3 1,232,915 13s134ms 0ms 12ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 14 00 18,801 191ms 0ms 01 17,392 160ms 0ms 02 17,260 165ms 0ms 03 16,679 166ms 0ms 04 13,903 124ms 0ms 05 10,567 91ms 0ms 06 10,784 91ms 0ms 07 14,958 137ms 0ms 08 30,552 297ms 0ms 09 80,288 843ms 0ms 10 102,308 1s113ms 0ms 11 104,980 1s87ms 0ms 12 108,731 1s127ms 0ms 13 99,431 1s40ms 0ms 14 95,722 1s6ms 0ms 15 100,627 1s120ms 0ms 16 101,346 1s113ms 0ms 17 78,318 936ms 0ms 18 63,270 728ms 0ms 19 53,167 594ms 0ms 20 40,655 427ms 0ms 21 31,499 318ms 0ms 22 21,677 250ms 0ms -
ROLLBACK;
Date: 2024-12-14 17:46:13 Duration: 12ms
-
ROLLBACK;
Date: 2024-12-14 17:46:13 Duration: 9ms
-
ROLLBACK;
Date: 2024-12-14 16:16:54 Duration: 1ms
4 1,215,460 3m51s 0ms 17ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 14 00 18,087 3s592ms 0ms 01 16,759 2s811ms 0ms 02 16,622 2s852ms 0ms 03 16,055 3s57ms 0ms 04 13,282 2s19ms 0ms 05 9,934 1s398ms 0ms 06 10,126 1s366ms 0ms 07 14,341 2s280ms 0ms 08 29,959 5s209ms 0ms 09 79,914 15s102ms 0ms 10 101,477 19s664ms 0ms 11 104,065 19s351ms 0ms 12 107,424 19s710ms 0ms 13 98,673 18s102ms 0ms 14 94,990 18s156ms 0ms 15 99,377 19s425ms 0ms 16 99,694 19s387ms 0ms 17 77,671 16s539ms 0ms 18 62,548 13s489ms 0ms 19 52,352 10s716ms 0ms 20 40,033 7s526ms 0ms 21 30,957 5s407ms 0ms 22 21,120 4s582ms 0ms -
SELECT payload FROM http_sessions WHERE sid = 'c66d1c8d63042b7405589e0958f16cc76ea00b60';
Date: 2024-12-14 17:46:13 Duration: 17ms
-
SELECT payload FROM http_sessions WHERE sid = 'c7c99057c951a530d66fa34280c8a47d1b77d515';
Date: 2024-12-14 16:31:35 Duration: 15ms
-
SELECT payload FROM http_sessions WHERE sid = 'ebffb40d8a2a8aea0766e93d8f5c8f922d78c2b6';
Date: 2024-12-14 12:36:50 Duration: 14ms
5 1,207,488 1m52s 0ms 3ms 0ms select base_registry_signaling.last_value, base_cache_signaling.last_value from base_registry_signaling, base_cache_signaling;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 14 00 18,095 1s640ms 0ms 01 16,840 1s399ms 0ms 02 16,738 1s432ms 0ms 03 16,173 1s452ms 0ms 04 13,384 1s71ms 0ms 05 10,009 786ms 0ms 06 10,208 781ms 0ms 07 14,396 1s188ms 0ms 08 29,585 2s514ms 0ms 09 79,028 7s226ms 0ms 10 100,440 9s638ms 0ms 11 103,211 9s410ms 0ms 12 106,794 9s773ms 0ms 13 98,015 9s56ms 0ms 14 94,021 8s729ms 0ms 15 98,403 9s549ms 0ms 16 99,222 9s550ms 0ms 17 76,980 8s2ms 0ms 18 62,131 6s263ms 0ms 19 52,157 5s76ms 0ms 20 39,907 3s641ms 0ms 21 30,684 2s689ms 0ms 22 21,067 2s68ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-12-14 17:21:58 Duration: 3ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-12-14 17:16:23 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-12-14 13:37:42 Duration: 1ms
6 846,003 2m4s 0ms 17ms 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"."sid" AS "sid", "res_users"."exp_date" AS "exp_date", "res_users"."logged_in" AS "logged_in", "res_users"."last_update" AS "last_update", "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 #6
Day Hour Count Duration Avg duration Dec 14 00 7,619 1s293ms 0ms 01 6,118 1s57ms 0ms 02 8,213 1s315ms 0ms 03 7,810 1s340ms 0ms 04 6,511 1s89ms 0ms 05 3,786 675ms 0ms 06 4,338 731ms 0ms 07 8,599 1s337ms 0ms 08 20,238 2s872ms 0ms 09 70,149 9s131ms 0ms 10 82,942 11s895ms 0ms 11 77,599 10s724ms 0ms 12 81,648 10s779ms 0ms 13 68,949 9s893ms 0ms 14 65,057 9s879ms 0ms 15 69,050 10s535ms 0ms 16 67,431 9s614ms 0ms 17 55,254 8s768ms 0ms 18 43,679 7s265ms 0ms 19 33,734 5s432ms 0ms 20 27,293 4s47ms 0ms 21 18,075 2s920ms 0ms 22 11,911 2s42ms 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"."sid" AS "sid", "res_users"."exp_date" AS "exp_date", "res_users"."logged_in" AS "logged_in", "res_users"."last_update" AS "last_update", "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 (862);
Date: 2024-12-14 17:46:13 Duration: 17ms
-
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"."sid" AS "sid", "res_users"."exp_date" AS "exp_date", "res_users"."logged_in" AS "logged_in", "res_users"."last_update" AS "last_update", "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 (825);
Date: 2024-12-14 17:46:13 Duration: 16ms
-
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"."sid" AS "sid", "res_users"."exp_date" AS "exp_date", "res_users"."logged_in" AS "logged_in", "res_users"."last_update" AS "last_update", "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 (1038);
Date: 2024-12-14 16:24:10 Duration: 14ms
7 651,086 2m1s 0ms 37ms 0ms commit;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 14 00 6,200 1s255ms 0ms 01 5,339 1s116ms 0ms 02 6,749 1s218ms 0ms 03 6,630 1s486ms 0ms 04 5,425 984ms 0ms 05 3,271 609ms 0ms 06 3,463 565ms 0ms 07 7,196 1s214ms 0ms 08 15,820 2s608ms 0ms 09 51,911 8s533ms 0ms 10 62,796 11s325ms 0ms 11 59,652 10s777ms 0ms 12 61,610 11s18ms 0ms 13 52,729 9s777ms 0ms 14 49,760 9s624ms 0ms 15 53,382 10s308ms 0ms 16 52,432 9s505ms 0ms 17 42,484 8s805ms 0ms 18 34,093 7s435ms 0ms 19 26,717 5s116ms 0ms 20 19,900 3s625ms 0ms 21 13,823 2s699ms 0ms 22 9,704 2s228ms 0ms -
COMMIT;
Date: 2024-12-14 16:43:02 Duration: 37ms
-
COMMIT;
Date: 2024-12-14 09:49:34 Duration: 36ms
-
COMMIT;
Date: 2024-12-14 16:48:13 Duration: 35ms
8 510,486 1m11s 0ms 17ms 0ms select "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" from "urgent_customer" where "urgent_customer".id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 14 00 6,839 766ms 0ms 01 3,471 367ms 0ms 02 5,396 611ms 0ms 03 4,799 580ms 0ms 04 3,391 412ms 0ms 05 1,862 242ms 0ms 06 3,088 346ms 0ms 07 5,056 621ms 0ms 08 10,821 1s362ms 0ms 09 47,737 6s336ms 0ms 10 50,075 7s878ms 0ms 11 44,161 6s611ms 0ms 12 48,377 6s918ms 0ms 13 39,553 5s249ms 0ms 14 35,385 4s883ms 0ms 15 37,122 5s853ms 0ms 16 37,329 5s630ms 0ms 17 32,855 5s115ms 0ms 18 29,493 3s975ms 0ms 19 22,290 2s803ms 0ms 20 19,873 2s462ms 0ms 21 12,587 1s537ms 0ms 22 8,926 991ms 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 (5269497, 5099007, 5099740, 5099010, 5100246, 5099013, 5282232, 5099360, 5100800, 5099804, 5099415, 5099282, 5302456, 5099644, 5429577, 5099403, 5099008, 5099489, 5112237, 5099128, 5099521, 5119917);
Date: 2024-12-14 18:34:05 Duration: 17ms
-
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, 5133024, 5100142, 5099272, 5243179, 5099430, 5111516, 5099309, 5099296, 5099277, 5099920, 5099725, 5099028, 5100243, 5099585, 5099037, 5112487, 5099009, 5113054, 5111681, 5099102, 5099254, 5099008, 5101221, 5099403, 5389119, 5099577, 5099714, 5099500, 5133480, 5105188, 5415007, 5101684, 5290562, 5099014, 5424898, 5109409, 5099590, 5099194, 5099111, 5099359, 5111378, 5161503, 5099243, 5405434, 5102693, 5106335, 5100457, 5410979, 5102920, 5099169, 5100132, 5153707, 5411275, 5108374, 5165619, 5099129, 5233372, 5124551, 5115397, 5405677, 5115473, 5099105, 5102665, 5103188, 5100496, 5101510, 5410981, 5103199, 5114896, 5408314, 5103265, 5099826, 5408897, 5124186, 5099415, 5106960, 5101291, 5100818, 5099013, 5410982, 5424890, 5115768, 5100327, 5126680, 5099095, 5099290, 5417955, 5099035, 5099941, 5123970, 5105333, 5103079, 5099130, 5099119, 5100477, 5113146, 5101019, 5118909, 5153819, 5101295, 5111370, 5214281, 5413249, 5157896, 5425004, 5305575, 5103939, 5112874, 5424196, 5170903, 5223202, 5106031, 5293215, 5099392, 5414708, 5191942, 5132595, 5105319, 5409275, 5241356, 5133369, 5105196, 5099445, 5117356, 5100181, 5278140, 5099256, 5112493, 5103051, 5101648, 5101164, 5415987, 5099206, 5099138, 5171629, 5099015, 5109207, 5206526, 5115754, 5103521, 5102075, 5272296);
Date: 2024-12-14 17:21:58 Duration: 17ms
-
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 (5399992, 5099636, 5113510, 5103984, 5099042, 5102207, 5099985, 5100506, 5101722, 5109329, 5100207, 5109864, 5116178, 5103267, 5126123, 5142259, 5425109, 5103509, 5104394, 5109746, 5103821, 5101539, 5107138, 5099181, 5099252, 5102595, 5099678, 5099162, 5099567, 5126472, 5128778, 5112303, 5099003, 5099285, 5176436, 5405676, 5102997, 5424793, 5107929, 5099774, 5151741, 5122596, 5102351, 5099010, 5100901, 5101817, 5108394, 5272306, 5157469, 5099186, 5244711, 5396084, 5406761, 5099128, 5100822, 5100166, 5255626, 5105337, 5105164, 5414168, 5378024, 5099282, 5102989, 5113735, 5112956, 5099117);
Date: 2024-12-14 17:21:58 Duration: 4ms
9 500,273 32s983ms 0ms 1ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" from "urgent_office" where "urgent_office".id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 14 00 4,470 278ms 0ms 01 2,850 175ms 0ms 02 3,998 233ms 0ms 03 3,414 189ms 0ms 04 3,061 162ms 0ms 05 1,711 88ms 0ms 06 2,483 122ms 0ms 07 5,689 294ms 0ms 08 10,733 578ms 0ms 09 42,837 2s652ms 0ms 10 49,409 3s378ms 0ms 11 45,065 2s997ms 0ms 12 48,630 3s164ms 0ms 13 40,981 2s570ms 0ms 14 37,279 2s404ms 0ms 15 38,761 2s825ms 0ms 16 39,202 2s816ms 0ms 17 33,268 2s498ms 0ms 18 28,504 1s934ms 0ms 19 21,161 1s391ms 0ms 20 17,280 1s6ms 0ms 21 11,682 680ms 0ms 22 7,805 536ms 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 (17, 71, 39, 3, 7, 74, 28, 126, 64, 78, 5, 35, 36, 19, 1, 62, 27, 119, 26, 2, 73, 10, 9, 60, 24, 16, 68, 76);
Date: 2024-12-14 17:24:38 Duration: 1ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (8, 65, 22);
Date: 2024-12-14 17:24:38 Duration: 1ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (27);
Date: 2024-12-14 19:18:30 Duration: 0ms
10 377,442 2m6s 0ms 5ms 0ms select r.id from ir_rule r join ir_model m on (r.model_id = m.id) where m.model = ? and r.active and r.perm_read and (r.id in ( select rule_group_id from rule_group_rel rg join res_groups_users_rel gu on (rg.group_id = gu.gid) where gu.uid = ?) or r.global) order by r.id;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 14 00 3,224 986ms 0ms 01 2,895 868ms 0ms 02 1,988 625ms 0ms 03 1,210 383ms 0ms 04 559 183ms 0ms 05 703 213ms 0ms 06 1,039 309ms 0ms 07 2,409 726ms 0ms 08 6,865 2s35ms 0ms 09 24,545 7s964ms 0ms 10 37,896 12s968ms 0ms 11 39,873 13s167ms 0ms 12 44,347 14s495ms 0ms 13 29,655 9s782ms 0ms 14 29,227 9s952ms 0ms 15 40,087 13s758ms 0ms 16 41,766 14s125ms 0ms 17 27,155 10s97ms 0ms 18 14,554 5s124ms 0ms 19 9,766 3s266ms 0ms 20 5,084 1s608ms 0ms 21 7,042 2s69ms 0ms 22 5,553 1s803ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.lang' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 901) OR r.global) ORDER BY r.id;
Date: 2024-12-14 17:21:58 Duration: 5ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'shipping.policy' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1028) OR r.global) ORDER BY r.id;
Date: 2024-12-14 20:37:21 Duration: 2ms
-
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 = 959) OR r.global) ORDER BY r.id;
Date: 2024-12-14 11:47:39 Duration: 2ms
11 353,229 1m9s 0ms 10ms 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 #11
Day Hour Count Duration Avg duration Dec 14 00 2,446 461ms 0ms 01 1,580 284ms 0ms 02 2,246 401ms 0ms 03 2,023 394ms 0ms 04 1,711 318ms 0ms 05 1,356 209ms 0ms 06 1,772 283ms 0ms 07 3,205 527ms 0ms 08 9,099 1s418ms 0ms 09 31,006 5s652ms 0ms 10 34,818 7s166ms 0ms 11 32,699 6s566ms 0ms 12 34,494 6s867ms 0ms 13 28,765 5s522ms 0ms 14 28,159 5s499ms 0ms 15 29,162 6s46ms 0ms 16 28,373 6s42ms 0ms 17 23,037 5s1ms 0ms 18 18,318 3s565ms 0ms 19 13,961 2s628ms 0ms 20 11,673 1s927ms 0ms 21 8,579 1s328ms 0ms 22 4,747 908ms 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 (8006462);
Date: 2024-12-14 17:21:58 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 (8004708);
Date: 2024-12-14 17:21:58 Duration: 9ms
-
SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (2);
Date: 2024-12-14 10:28:21 Duration: 3ms
12 297,632 54s411ms 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 #12
Day Hour Count Duration Avg duration Dec 14 00 2,973 440ms 0ms 01 2,729 386ms 0ms 02 1,837 256ms 0ms 03 1,358 176ms 0ms 04 788 101ms 0ms 05 938 129ms 0ms 06 1,171 168ms 0ms 07 2,383 321ms 0ms 08 7,228 995ms 0ms 09 19,665 3s363ms 0ms 10 30,115 5s661ms 0ms 11 31,038 5s736ms 0ms 12 31,957 5s966ms 0ms 13 21,856 3s944ms 0ms 14 22,157 4s115ms 0ms 15 31,660 6s259ms 0ms 16 34,324 6s667ms 0ms 17 20,715 4s320ms 0ms 18 10,683 1s910ms 0ms 19 8,468 1s355ms 0ms 20 3,497 543ms 0ms 21 5,592 845ms 0ms 22 4,500 745ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 915 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_system' AND model = 'res.groups');
Date: 2024-12-14 18:59:53 Duration: 1ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2024-12-14 16:59:28 Duration: 1ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 901 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_shipping_policy' AND name = 'group_search_name' AND model = 'res.groups');
Date: 2024-12-14 16:49:35 Duration: 1ms
13 252,634 1d6h52s 344ms 4s217ms 427ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 14 00 7,604 51m26s 405ms 01 5,114 33m32s 393ms 02 4,995 32m31s 390ms 03 6,853 45m3s 394ms 04 3,521 22m15s 379ms 05 2,293 14m24s 376ms 06 1,375 8m57s 391ms 07 2,434 16m4s 396ms 08 5,170 32m58s 382ms 09 14,287 1h39m56s 419ms 10 18,599 2h15m38s 437ms 11 16,404 1h57m29s 429ms 12 14,115 1h38m59s 420ms 13 12,851 1h30m34s 422ms 14 13,865 1h39m22s 430ms 15 20,079 2h30m17s 449ms 16 12,793 1h38m53s 463ms 17 25,921 3h18m45s 460ms 18 22,044 2h40m44s 437ms 19 14,540 1h43m59s 429ms 20 9,214 1h2m17s 405ms 21 6,979 46m8s 396ms 22 11,584 1h20m29s 416ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3570070)) AND (("shipping_track"."id" not in (29179189, 29179189)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:43:49 Duration: 4s217ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3570054)) AND (("shipping_track"."id" not in (29179119, 29179119)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:43:27 Duration: 3s456ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3543557)) AND (("shipping_track"."id" not in (28828563, 28828745, 28828931, 28853158, 28854413, 28876714, 28876796, 28909452, 28909976, 29179194, 29179194)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:43:48 Duration: 3s332ms
14 236,038 1m3s 0ms 17ms 0ms select "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" from "policy_number" where "policy_number".id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 14 00 4,152 1s46ms 0ms 01 1,986 469ms 0ms 02 2,442 596ms 0ms 03 2,603 671ms 0ms 04 1,219 320ms 0ms 05 668 197ms 0ms 06 1,310 351ms 0ms 07 2,422 565ms 0ms 08 4,494 1s9ms 0ms 09 18,893 5s652ms 0ms 10 20,130 6s348ms 0ms 11 19,035 5s406ms 0ms 12 20,739 5s710ms 0ms 13 19,213 4s639ms 0ms 14 16,187 4s55ms 0ms 15 17,389 4s733ms 0ms 16 17,216 5s96ms 0ms 17 15,383 4s584ms 0ms 18 16,357 4s152ms 0ms 19 11,839 2s925ms 0ms 20 10,230 2s288ms 0ms 21 6,137 1s466ms 0ms 22 5,994 1s397ms 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 (41384346, 41302363, 41384119, 41156831, 41385213, 41199874, 41384658, 41303614, 41379425, 41475617, 41476376, 41239765, 40989479, 40989470, 41426545, 41385268, 41385267, 41199873, 41384359, 41230764, 41475470, 41384780, 41475900, 41384352, 41475153, 41474901, 41156484, 41340614, 41209759, 41209905, 41302353, 41384647, 41379417, 41067520, 41385072, 41384000, 41384405, 41385214, 41408668, 41475333, 41383853, 41475190, 41475354, 41475243, 40057259, 41074166, 41155888, 41073573, 40989256, 41340619, 41155682, 41384117, 41303440, 41384354, 41339742, 41302357, 41155689, 41340613, 41383890, 41303509, 41384364, 41384561, 41339758, 41340561, 41340610, 41384343, 40057355, 41230559, 41385298, 41475244, 41339769, 41340250, 41340608, 41384369, 41385518, 41385020, 41156491, 41156485, 41156481, 41199871, 41384560, 41379418, 41379420, 41051395, 41474694, 41384558, 41385482, 41384844, 41339847, 41475928, 41417844, 41385229, 41385231, 40990567, 41475899, 41475929, 41475966, 41475901, 41210387, 41211086, 41303283, 41302981, 41301976, 41340618, 41444759, 41326299, 41303531, 41408664, 41303615, 41340609, 41340486, 40783523, 41339754, 41475926, 41474756, 41379423, 40989099, 41474986, 41339765, 41210699, 41449665, 40860873, 41475782, 41475897, 41156483, 41475216, 41475223, 41384807, 41156819, 41302359, 41384367, 41384366, 41302350, 41384360, 40860573, 41417619, 41303144, 41385426, 41385201, 41340517, 41384999, 41385538, 41475999, 41378642, 41211084, 41301751, 41067523, 41340616, 40464867, 41155690, 41303498, 41155652, 41340615, 41444758, 41339747, 41475335, 41408880, 41379421, 41383889, 41155688, 41219931, 41384451, 41385276, 41155961, 41383755, 41385347, 41378773, 41444756, 41340446, 41385034, 41475047, 41379416, 41384563, 41385174, 41475466, 41385023, 41385022, 41385031, 41385028, 40990016, 41383868, 41156824, 41156813, 41156817, 41302361, 41302347, 41340185, 41384350, 41385033, 41155691, 40712321, 41339762, 41339753, 32644458, 41339749, 41339743, 41155678, 41339759, 41155663, 41378883, 41475030, 41474848, 39985637, 41476375, 41303534, 41384547, 39985638, 40057260, 41340451, 41475404, 41384559, 40989468, 41387839, 41449661, 41301823, 41067507, 41074621, 41302355, 41384305, 41384843, 41303300, 41383950, 41302598, 41156479, 40988387, 41303533, 41303532, 41340453, 41340489, 41339766, 41302354, 41303587, 41339760, 41339764, 41303281, 41340612, 41384562, 41384557, 41340620, 41073983, 41474859, 41385019, 41444762, 41385021, 41385027, 41179631, 41385425, 41384358, 41475467, 41384362, 41384347, 41156822, 41302346, 41073955, 41384356, 41209896, 41384348, 41155665, 41474738, 41303282, 41303510, 41385104, 40710687, 41475833, 41475334, 41449735, 40057044, 41301822, 41073574, 41209799, 40987864, 41157538);
Date: 2024-12-14 17:46:13 Duration: 17ms
-
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (40956432, 41382796, 41382800, 41517366, 41505545, 41364072, 41505547, 41062589, 41539056, 41118859, 40817377, 41533841, 41465204, 41281524, 40774519, 41280000, 41578966, 41578865, 41416454, 41448382, 41502300, 40631107, 41223110, 32634669, 41447905, 32636258, 41368009, 41600803, 41378687, 41561703, 41502053, 41579003, 41561245, 41275733, 41131417, 32636242, 41614148, 32636574, 41560829, 41601135, 41613793, 41411722, 32635470, 40396085, 41411810, 41223221, 41601130, 38905280, 32636286, 32636248, 32635526, 41223106, 41448380, 32636557, 41331925, 41346552, 40799359, 41601449, 41346172, 41346553, 41479398, 41463522, 41562167, 41198305, 41536948, 41511190, 41537010, 41480241, 41574421, 41574430, 41555821, 41555822, 41505238, 41480552, 41285727, 41480456, 41348626, 41348621, 41574442, 41556005, 41512576, 41386416, 41386469, 41357578, 41466992, 41584668, 41328130, 41328133, 41426057, 41426066, 41034951, 41506382, 41198000, 41557421, 41548974, 41400062, 41559678, 41559677, 41557411, 41557149);
Date: 2024-12-14 17:22:02 Duration: 9ms
-
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 (41558927, 41517566, 41485681, 41458312, 41408738, 41262748, 41262739, 40763469, 41543646, 41279465, 41134034, 41344078, 32642699, 41407916, 41490912, 41367775, 41408924, 41478385, 32647673, 32650311, 41466071, 41184971, 41366256, 41365187, 41328080, 41504092, 41409274, 41408670, 41371937, 32635259, 41453654, 41429077, 41345297, 41309619, 41460423, 41309202, 41422778, 41228994, 41479088, 41463004, 41479060, 41424969, 41408834, 41345820, 41346213, 41408877, 41345819, 41346214, 41463312, 41170073, 41294422, 41363247, 41457512, 41365623, 41099060, 41171080, 41098786, 41171074, 41202989, 41409460, 41409449, 41409488, 41409432, 41434217, 41396353, 41231911, 41228948, 40972021, 41351937, 41207249, 41008485, 41409539, 41022399, 41367059, 40887929, 41008484, 41236404, 41016207, 41234916, 41235726, 41366720, 41170966, 41170969, 41366819, 41351965, 40927369, 41247356, 41366703, 41275870, 41208572, 41208235, 41346080, 41208342, 41301563, 41203288, 41319894, 41208203, 41351774, 41319945, 41205952, 41223474, 41008466, 41319932, 41242647, 41289663, 41162408, 41321046, 41080221, 41228645, 41319866, 41310871, 41107220, 41351765, 41208520, 39543080, 41099238, 41208527, 41317899, 40971960, 41271666, 41265192, 41184709, 40763624, 41224342, 41208403, 41206374, 41202806, 41279497, 41008448, 41224341, 41224030, 41110062, 41254852, 41224401, 41267542, 40346684, 40815306, 40980484, 41224263, 41008450, 41008447, 41203431, 41315495, 32620351, 41188937, 41224139, 41223679, 41008445, 41205647, 41223680, 41223714, 32620200, 41207749, 32620332, 32630782, 41085623, 41223871, 41202845, 40496428, 41223643, 32601332, 32590121, 32620756, 32619858, 41079288, 41207896, 41207895, 32615827, 32620638, 41206997, 32619928, 32617556, 40869518, 41139997, 41174150, 41080757, 41055884, 41239834, 41104832, 32615698, 32615692, 32620521, 41104812, 32616787, 32615889, 32616762, 32620465, 32616759, 32619574, 32630654, 41023542, 41202146, 41089853, 41042487, 40770438, 40982976, 40807458, 41079701, 32620066, 32617227, 41104003, 41008518, 32616180, 40898785, 32617467, 32620118, 40845586, 32619721, 40652469, 40879117, 41022588, 32616918, 40579004, 40899145, 41072109, 41008516, 41104794, 41071873, 41099459, 32619207, 32616960, 41104797, 32615938, 40168181, 41156030, 41079945, 40966283, 41107202, 32616480, 32617420, 32619359, 32616502, 41063466, 32615905, 32619323, 32619328, 40929393, 41014705, 41057602, 32590225, 40958627, 32616574, 41110142, 41022612, 32616337, 40941364, 41135895, 40868470, 41107119, 32616309, 32617290, 41008064, 41070823, 41008067, 32616236, 32616208, 41050661, 40965120, 40983174, 41006072, 41027692, 40920400, 40193789, 41022572, 32618174, 32616648, 40899562, 41008492, 41022473, 40898935, 32618175, 41019293, 40373790, 40674927, 40665205, 40872731, 40720675, 40674940, 32618074, 40535489, 40889914, 40674934, 41052602, 40744290, 40981134, 40888538, 40889869, 32620702, 40974242, 32623132, 32621050, 32623124, 32623112, 32623599, 32623130, 40960749, 40941428, 40829140, 40764684, 32623396, 32623395, 32623222, 32622515, 32623497, 40463151, 32623423, 40275984, 32623394, 40771816, 40980692, 40920399, 40920398, 40785130, 40785131, 39394135, 32621465, 40856535, 32622601, 32622618, 32622475, 40856597, 32622485, 40777694, 32622865, 32622859, 32621173, 40193754, 40832071, 40785091, 32622692, 32622810, 40899014, 40856398, 40785025, 32622822, 40925018, 40714072, 40721226, 32622295, 40679417, 40792339, 40785403, 40920513, 32622146, 40856120, 39494424, 40784958, 40855675, 40899046, 40792814, 40556394, 40808819, 40779250, 40655639, 40721173, 40855893, 40679159, 40582684, 40599237, 40855748, 40598863, 40792438, 40792293, 40785629, 40795435, 40785558, 40717654, 40627188, 40655623, 40792338, 40858570, 40764970, 40578831, 40792262, 40794989, 40679020, 40794988, 40784852, 40027519, 40692584, 40698912, 40180269, 40534793, 40709119, 32603070, 40794892, 40709335, 40769213, 39705067, 40721034, 40709211, 40682839, 32602635, 40612046, 40582734, 32602559, 40631004, 32602867, 39560380, 40611748, 40708659, 40136974, 40598754, 40624786, 40612209, 40601187, 32602220, 32602024, 40282268, 32603296, 32603370, 40623422, 40137142, 40655144, 32601885, 40473631, 40273032, 40650752, 40384348, 40446672, 32601803, 32601559, 40514596, 39995660, 32598374, 32603604, 32601731, 32599338, 32599335, 32601452, 32599339, 40599175, 40426624, 32600792, 40488067, 32601043, 32601044, 32600795, 40423620, 32600745, 40535196, 40449353, 40396316, 40453287, 40369343, 38476437, 39560369, 39986264, 40369076, 40248918, 32599131, 32599773, 32600026, 40550896, 40276305, 40448270, 40396163, 32598773, 39884440, 32597856, 32598785, 32599029, 40193809, 40462796, 32604588, 32599846, 40359751, 40369077, 40425065, 32604482, 40306680, 39883683, 32604395, 32597489, 32603742, 32603709, 40316578, 40178791, 40315977, 32611919, 40306652, 40316062, 40315946, 40279490, 40043650, 40193724, 40396144, 32597613, 39979424, 40405197, 40373716, 40178750, 40246620, 32596789, 40246619, 40327972, 40328156, 40316229, 39884331, 40316348, 40316356, 40305337, 40279279, 40316276, 40190089, 40176540, 39883682, 40176140, 40307297, 39560364, 40307301, 40122760, 40141186, 38985722, 40193933, 32568451, 39929371, 40278898, 39573741, 38966488, 39357558, 39652800, 40193697, 40030093, 40041049, 40247082, 40176161, 40247038, 39285034, 39097802, 40176035, 38955551, 40143294, 39494415, 40246865, 40246699, 39479366, 40175724, 39884335, 40191210, 39479368, 39918505, 39936228, 40091604, 40190656, 40066187, 40190876, 40066271, 39640060, 40066324, 40179160, 40025682, 40065279, 32579479, 32581879, 39575801, 40065280, 39735699, 40149212, 40108904, 40108900, 39949768, 40149203, 40065848, 39075865, 40078718, 40066098, 39980659, 39949986, 39748641, 32586512, 32583765, 39949980, 40078655, 32586056, 39442174, 32584637, 40072855, 39956359, 39862580, 39618192, 39989327, 39989303, 39755286, 32585508, 32584436, 32583050, 39680339, 32583941, 32584501, 39949748, 32583966, 32582921, 39935048, 39243224, 32584382, 32582814, 39879138, 32583375, 39925190, 39944045, 32581228, 39879896, 32580880, 32580847, 39901797, 32582356, 32582352, 39735466, 32580607, 32591748, 39679634, 39800518, 39838444, 32581447, 32580021, 39494401, 32581041, 39846996, 39793406, 39708106, 39778996, 32578955, 39551464, 32579899, 39756286, 39618445, 39681098, 39755848, 39800112, 39681256, 39660880, 39493685, 39768296, 39768295, 39768294, 32575804, 39755741);
Date: 2024-12-14 11:19:46 Duration: 6ms
15 190,646 1m43s 0ms 40ms 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 Dec 14 00 302 178ms 0ms 01 160 83ms 0ms 02 206 105ms 0ms 03 166 96ms 0ms 04 173 89ms 0ms 05 53 36ms 0ms 06 137 62ms 0ms 07 992 523ms 0ms 08 3,976 2s63ms 0ms 09 6,776 3s843ms 0ms 10 11,770 7s 0ms 11 9,995 5s841ms 0ms 12 12,105 6s999ms 0ms 13 14,928 7s809ms 0ms 14 20,810 10s300ms 0ms 15 26,495 14s36ms 0ms 16 19,163 10s550ms 0ms 17 24,321 13s521ms 0ms 18 13,742 6s876ms 0ms 19 6,272 3s434ms 0ms 20 3,804 2s642ms 0ms 21 1,930 1s521ms 0ms 22 12,370 6s129ms 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 (3048287, 3196360, 3278291, 3303756, 3240145, 3277629, 3437690, 3277618, 3434926, 2764351, 3428862, 3428867, 3358539, 3277594, 3314122, 3242215, 3309026, 3355137, 3292921, 3239167, 3240153, 3231596, 3242236, 3437683, 3204789, 3311877, 3071817, 3240138, 3107140, 3303859, 3337629, 3420999, 3327852, 3353947, 3308986, 3309088, 3327883, 3235990, 3434854, 3434975, 3432705, 3266507, 3346495, 3436567, 3432693, 3434964, 2545523, 2898487, 3277625, 3196372, 3134330, 3358538, 3309107, 3190188, 3092909, 3231598, 3092898, 3231610, 2934610, 3327167, 3240155, 2589806, 3267000, 2833397, 3231611, 3231602, 3231613, 3428820, 3139639, 3432694, 3434842, 3328716, 3071769, 3421006, 3306387, 3432699, 3364337, 3328719, 3231603, 3337575, 3428679, 3204786, 3437643, 3190186, 3190190, 3277598, 3131099, 3196366, 3242228, 3442127, 3428703, 3432695, 3196358, 3240143, 3231607, 2988267, 3434838, 3341190, 3197455, 3325531, 3303854, 3428969, 3434934, 3434973, 3327847, 3337543, 3197476, 3362606, 3241995, 3436552, 3337542, 2934609, 3027149, 2980667, 3224696, 3467316, 3162316, 3358545, 2988235, 3231597, 2988256, 3275661, 3231604, 3242230, 3434962, 3421011, 3136200, 3240148, 3354050, 3364424, 3277601, 3354136, 3436559, 3447461, 3108561, 3437312, 3432700, 3420792, 3197452, 3224682, 3266514, 3354099, 3355168, 3434929, 3434903, 3434938, 3109645, 3355139, 3192516, 3303853, 3277622, 3309100, 3364627, 3089821, 2988264, 3292923, 2705696, 3136267, 3437688, 3355145, 3201484, 3231599, 3196364, 3205041, 3196376, 3110925, 3231608, 3242234, 3231605, 3231595, 3057838, 3017487, 3308940, 3346549, 3231606, 3428972, 3420994, 3201486, 3327851, 3327164, 3056120, 3328910, 3428700, 3309018, 3355149, 3354103, 3327166, 3278345, 3437691, 3436573, 3434967, 3434878, 3432698);
Date: 2024-12-14 17:21:59 Duration: 40ms
-
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 (3220409, 2712672, 3055979, 3190600, 3047830, 3230889, 3272705, 3190832, 3056196, 3160851, 3012037, 3131644, 3190601, 3170319, 3220366, 3048006, 3184743, 2899389, 3184852, 3170327, 3190800, 3188482, 3184855, 3220406, 3303196, 3276414, 3267282, 3228720, 3225035, 3272744, 3342544, 3294322, 3158750, 3184850, 2486799, 3265126, 3263265, 3297274, 3342536, 3297301, 3275944, 3220380, 3263250, 3220398, 3220410, 2808218, 3047997, 2675053, 3220391, 2916515, 3220411, 2930345, 3230029, 3320310, 2925729, 3276410, 3218402, 3265175, 3297288, 3405445, 3186370, 3275952, 3388984, 3379619, 3387830, 3304425, 3382218, 3342539, 651926, 2914044, 2414251, 2975483, 3079719, 2477449, 3297167, 3352682, 3230879, 3134845, 3333271, 3400971, 3124755, 2916472, 3352680, 3190578, 3129863, 3091316, 684597, 3075441, 2675091, 3294235, 3220402, 3225024, 3352689, 3263871, 3263256, 3244807, 3220367, 2959436, 3323028, 2272307, 3354873, 3382773, 3342537, 3349152, 3349119, 3263753, 2808177, 3048004, 3220404, 3220403, 3047824, 3220396, 3272707, 3134908, 3267210, 3349192, 3387841, 2988001, 2925726, 3079699, 3122809, 3131643, 3131645, 3386133, 3392603, 3134847, 2625854, 3220400, 3225026, 3184738, 3123134, 3333314, 3220129, 3265080, 2713479, 3388982, 3342554, 3331992, 3006699, 3342571, 3263839, 3382138, 3300106, 3220384, 3344098, 3305295, 3297315, 2881602, 3305402, 3225033, 3294213, 3299386, 3284820, 3306500, 3349117, 3184682, 3304449, 3382143, 3349271, 3346899, 692211, 2675979, 2975475, 2642741, 3093141, 3020503, 3087265, 3228722, 3165913, 3093285, 3220387, 3122791, 3047831, 3122807, 3123132, 3349276, 3284917, 3375277, 3184861, 3122786, 3225029, 3170289, 3275162, 3285156, 3352675, 3166051, 3263253, 3310198, 3283582, 3304434, 3228706, 3225037, 3320309, 3333987, 2536936, 3220394, 3342538, 3123136, 2361878, 3184734, 3123102, 3299076, 3122804, 3122788, 2959413, 3184740, 2916457, 3079330, 3129861, 3388989, 3272129, 3304404, 3304414, 2568896, 3382779, 3225031, 2625848, 3227899, 3418985, 3249921, 2988350, 2642742, 2988397, 2716262, 2808335, 3264185, 2466150, 3134852, 3184733, 3093140, 2625857, 3220395, 3263251, 3342572, 3263262, 3263264, 3263254, 3263267, 2523826, 3188472, 2808236, 2808120, 2808162, 3047978, 3047815, 3156949, 2930457, 3047789, 2241321, 3350838, 3129873, 3275940, 3305353, 3297073, 648629, 3392600, 3131642, 3224963, 648622, 684619, 3165926, 3322995, 2764374, 2928595, 2930454);
Date: 2024-12-14 17:46:13 Duration: 22ms
-
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 (3539867, 3524342, 3567038, 3481450, 3534692, 3352017, 3537778, 3397843, 3502631, 3430343, 3511737, 3476211, 2921375, 2929240, 3543142, 3517637, 3531811, 3509250, 3507535, 3334631, 3427907, 3507493, 3517604, 3360156, 3548086, 3548018, 3548056, 3548001, 3548021, 3539197, 3509142, 3536777, 3442549, 3546470, 3497126, 3480034, 3524007, 3544087, 3470412, 3498924, 3525567, 3506814, 3537000, 3546653, 3546660, 3532516, 3536237, 3507530, 3535916, 3541479, 3512004, 3542663, 3522435, 3541346, 3537720, 3544253, 3537445, 3551556, 3537542, 3521101, 3536655, 3537354, 3541328, 3531510, 3522482, 3497271, 3523349, 3541478, 3532703, 3486382, 3492412, 3534993, 3522628, 3529138, 3437906, 3483735, 3492461, 3492487, 3535761, 3524500, 3525528, 3528250, 3411164, 2912969, 3493245, 3528205, 3451700, 3527011, 3489785, 3541439, 3511835, 3522553, 3497052, 3534729, 3541355, 3506561, 3537583, 3544290, 3495718, 3519672, 3517219, 3535319, 3528374, 3539646, 3546424, 3493689, 3540940, 3528305, 3450549, 3529111, 3488571, 3483059, 3541503, 3516482, 3536291, 3534556);
Date: 2024-12-14 13:01:20 Duration: 16ms
16 173,875 12s938ms 0ms 19ms 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 #16
Day Hour Count Duration Avg duration Dec 14 00 1,453 88ms 0ms 01 928 52ms 0ms 02 1,569 93ms 0ms 03 1,320 81ms 0ms 04 1,214 74ms 0ms 05 659 37ms 0ms 06 1,019 56ms 0ms 07 1,569 86ms 0ms 08 3,928 217ms 0ms 09 16,689 1s52ms 0ms 10 18,040 1s301ms 0ms 11 15,957 1s169ms 0ms 12 17,801 1s308ms 0ms 13 14,460 1s105ms 0ms 14 12,973 929ms 0ms 15 13,373 1s26ms 0ms 16 12,774 1s24ms 0ms 17 11,047 1s3ms 0ms 18 8,653 853ms 0ms 19 6,531 647ms 0ms 20 6,149 371ms 0ms 21 3,703 214ms 0ms 22 2,066 142ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-12-14 17:46:13 Duration: 19ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-12-14 17:21:58 Duration: 2ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-12-14 11:02:13 Duration: 1ms
17 164,950 10h31m16s 175ms 1s571ms 229ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 14 00 876 2m50s 194ms 01 1,184 3m49s 194ms 02 1,177 3m49s 194ms 03 1,329 4m18s 194ms 04 1,013 3m17s 194ms 05 832 2m42s 195ms 06 290 56s268ms 194ms 07 459 1m29s 195ms 08 4,269 14m2s 197ms 09 5,603 19m33s 209ms 10 11,308 42m4s 223ms 11 8,592 31m43s 221ms 12 9,913 37m18s 225ms 13 15,234 55m40s 219ms 14 20,573 1h17m18s 225ms 15 17,431 1h8m56s 237ms 16 23,593 1h36m16s 244ms 17 13,244 54m31s 247ms 18 4,830 18m26s 229ms 19 6,666 24m52s 223ms 20 1,674 5m57s 213ms 21 91 18s752ms 206ms 22 14,769 1h1m1s 247ms -
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" = '9290229')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 16:43:32 Duration: 1s571ms
-
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" = '9254891')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 16:43:41 Duration: 1s499ms
-
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" = '9101685')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 16:43:17 Duration: 1s234ms
18 160,973 9s827ms 0ms 0ms 0ms select "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" from "ir_rule" where "ir_rule".id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 14 00 1,364 71ms 0ms 01 1,183 59ms 0ms 02 724 36ms 0ms 03 460 23ms 0ms 04 203 10ms 0ms 05 322 16ms 0ms 06 533 27ms 0ms 07 993 49ms 0ms 08 2,758 136ms 0ms 09 10,148 595ms 0ms 10 15,929 1s1ms 0ms 11 17,032 1s40ms 0ms 12 19,178 1s155ms 0ms 13 12,309 732ms 0ms 14 12,203 747ms 0ms 15 17,770 1s135ms 0ms 16 18,664 1s186ms 0ms 17 11,299 783ms 0ms 18 5,982 367ms 0ms 19 4,328 244ms 0ms 20 2,045 107ms 0ms 21 3,116 160ms 0ms 22 2,430 136ms 0ms -
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (2, 10);
Date: 2024-12-14 17:59:42 Duration: 0ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (99);
Date: 2024-12-14 16:00:46 Duration: 0ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (98, 99);
Date: 2024-12-14 11:47:33 Duration: 0ms
19 156,055 20s804ms 0ms 1ms 0ms select rule_group_rel.rule_group_id, rule_group_rel.group_id from rule_group_rel, "res_groups" where ? = ? and rule_group_rel.rule_group_id in (...) and rule_group_rel.group_id = res_groups.id order by coalesce("res_groups"."name" ->> ?, "res_groups"."name" ->> ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 14 00 1,337 153ms 0ms 01 1,165 128ms 0ms 02 718 80ms 0ms 03 457 50ms 0ms 04 200 22ms 0ms 05 310 34ms 0ms 06 512 57ms 0ms 07 972 105ms 0ms 08 2,672 285ms 0ms 09 10,036 1s280ms 0ms 10 15,592 2s143ms 0ms 11 16,640 2s207ms 0ms 12 18,526 2s412ms 0ms 13 12,014 1s549ms 0ms 14 11,775 1s569ms 0ms 15 17,226 2s414ms 0ms 16 17,924 2s494ms 0ms 17 10,724 1s663ms 0ms 18 5,823 785ms 0ms 19 4,161 516ms 0ms 20 1,994 230ms 0ms 21 3,000 336ms 0ms 22 2,277 281ms 0ms -
SELECT rule_group_rel.rule_group_id, rule_group_rel.group_id FROM rule_group_rel, "res_groups" WHERE 1 = 1 AND rule_group_rel.rule_group_id IN (98, 99) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2024-12-14 19:30:33 Duration: 1ms
-
SELECT rule_group_rel.rule_group_id, rule_group_rel.group_id FROM rule_group_rel, "res_groups" WHERE 1 = 1 AND rule_group_rel.rule_group_id IN (98, 99) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2024-12-14 12:41:50 Duration: 1ms
-
SELECT rule_group_rel.rule_group_id, rule_group_rel.group_id FROM rule_group_rel, "res_groups" WHERE 1 = 1 AND rule_group_rel.rule_group_id IN (17) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2024-12-14 12:18:49 Duration: 1ms
20 152,097 1h41m6s 29ms 197ms 39ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 14 00 3,119 1m53s 36ms 01 2,045 1m14s 36ms 02 1,612 58s878ms 36ms 03 2,284 1m24s 36ms 04 718 26s612ms 37ms 05 535 19s692ms 36ms 06 807 29s380ms 36ms 07 1,547 56s285ms 36ms 08 3,196 1m55s 36ms 09 10,368 6m45s 39ms 10 14,451 9m46s 40ms 11 14,447 9m36s 39ms 12 12,040 7m53s 39ms 13 11,354 7m25s 39ms 14 10,576 7m3s 39ms 15 10,786 7m29s 41ms 16 8,190 5m44s 42ms 17 9,974 7m15s 43ms 18 10,535 7m14s 41ms 19 9,323 6m12s 39ms 20 5,851 3m41s 37ms 21 4,691 2m54s 37ms 22 3,648 2m23s 39ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3523626, 3511748)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-14 16:43:18 Duration: 197ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3521383)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-14 16:43:11 Duration: 178ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3500290)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-14 16:43:20 Duration: 175ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 0ms 33m59s 26s357ms 379 2h46m29s update "res_users" set "exp_date" = ?, "last_update" = ?, "sid" = ?, "write_date" = ?, "write_uid" = ? where id in (...);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 14 00 4 3ms 0ms 01 1 0ms 0ms 02 2 0ms 0ms 05 2 0ms 0ms 06 4 0ms 0ms 07 4 0ms 0ms 08 12 2ms 0ms 09 29 1h30m49s 3m7s 10 35 20m10s 34s584ms 11 30 5m34s 11s145ms 12 42 15m34s 22s248ms 13 28 1m35s 3s400ms 14 27 9m22s 20s828ms 15 39 2m58s 4s572ms 16 38 16m22s 25s865ms 17 25 4m2s 9s692ms 18 18 15ms 0ms 19 20 7ms 0ms 20 4 0ms 0ms 21 8 1ms 0ms 22 7 1ms 0ms -
UPDATE "res_users" SET "exp_date" = '2024-12-14 08:28:20.167641', "last_update" = '2024-12-14 07:43:20.167662', "sid" = 'c69b0a72919a65045795741668391dc8c238d761', "write_date" = '2024-12-14 07:43:19.841271', "write_uid" = 1 WHERE id IN (988);
Date: 2024-12-14 09:17:19 Duration: 33m59s
-
UPDATE "res_users" SET "exp_date" = '2024-12-14 08:32:33.947077', "last_update" = '2024-12-14 07:47:33.947096', "sid" = '78f046b0c16ed9b79006abb17d290170fff96f29', "write_date" = '2024-12-14 07:47:33.629204', "write_uid" = 988 WHERE id IN (988);
Date: 2024-12-14 09:17:20 Duration: 29m46s
-
UPDATE "res_users" SET "exp_date" = '2024-12-14 08:35:16.803353', "last_update" = '2024-12-14 07:50:16.803377', "sid" = '16962a98d9dd2c96deb07ff435fef99d2ba1d165', "write_date" = '2024-12-14 07:50:16.425006', "write_uid" = 988 WHERE id IN (988);
Date: 2024-12-14 09:17:20 Duration: 27m3s
2 0ms 14m57s 19s159ms 55 17m33s update "res_users" set "exp_date" = ?, "last_update" = ?, "write_date" = ?, "write_uid" = ? where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 14 00 2 1ms 0ms 08 5 0ms 0ms 09 2 1ms 0ms 10 5 14m57s 2m59s 11 5 8ms 1ms 12 10 14ms 1ms 13 3 3ms 1ms 14 3 5ms 1ms 15 5 1m38s 19s684ms 16 3 57s860ms 19s286ms 17 7 12ms 1ms 18 2 1ms 0ms 19 1 0ms 0ms 21 2 0ms 0ms -
UPDATE "res_users" SET "exp_date" = '2024-12-14 09:52:23.156706', "last_update" = '2024-12-14 09:07:23.156729', "write_date" = '2024-12-14 09:07:22.766117', "write_uid" = 1 WHERE id IN (1292);
Date: 2024-12-14 10:22:20 Duration: 14m57s
-
UPDATE "res_users" SET "exp_date" = '2024-12-14 14:54:42.767377', "last_update" = '2024-12-14 14:09:42.767407', "write_date" = '2024-12-14 14:09:42.314368', "write_uid" = 1 WHERE id IN (959);
Date: 2024-12-14 15:11:21 Duration: 1m38s
-
UPDATE "res_users" SET "exp_date" = '2024-12-14 16:00:22.474711', "last_update" = '2024-12-14 15:15:22.474734', "write_date" = '2024-12-14 15:15:22.096304', "write_uid" = 1231 WHERE id IN (1231);
Date: 2024-12-14 16:16:20 Duration: 57s857ms
3 3s26ms 6s280ms 3s688ms 262 16m6s 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 #3
Day Hour Count Duration Avg duration Dec 14 00 5 15s772ms 3s154ms 09 4 12s570ms 3s142ms 10 6 24s794ms 4s132ms 11 13 54s165ms 4s166ms 12 5 17s547ms 3s509ms 13 5 17s94ms 3s418ms 14 53 3m18s 3s751ms 15 29 1m45s 3s646ms 16 30 2m 4s 17 22 1m25s 3s871ms 18 29 1m48s 3s756ms 19 21 1m13s 3s493ms 20 24 1m19s 3s315ms 21 6 18s973ms 3s162ms 22 10 33s955ms 3s395ms -
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 (70))))))) 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 (70)))))) 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 (70)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) 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 (70))))))))) 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 (70)))))))) AND ("policy_number"."name"::text ilike '%8871987%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-14 16:43:30 Duration: 6s280ms
-
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 '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-14 14:20:34 Duration: 4s909ms
-
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 '%9387741%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-14 14:20:35 Duration: 4s853ms
4 0ms 59m59s 3s319ms 80,442 3d2h10m37s update res_users set sid = ?, last_update = ?, exp_date = ?, logged_in = ? where id = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 14 00 604 139ms 0ms 01 590 125ms 0ms 02 571 9s437ms 16ms 03 820 180ms 0ms 04 636 133ms 0ms 05 243 50ms 0ms 06 249 53ms 0ms 07 455 96ms 0ms 08 1,470 15s967ms 10ms 09 5,147 13h13m6s 9s245ms 10 8,428 6h46m17s 2s892ms 11 7,606 9h13m36s 4s367ms 12 8,758 7h28m34s 3s73ms 13 7,255 5h10m8s 2s564ms 14 7,295 12h6m7s 5s972ms 15 7,431 7h2m35s 3s412ms 16 7,303 9h53m8s 4s873ms 17 4,903 2h12m45s 1s624ms 18 3,883 2m38s 40ms 19 2,766 686ms 0ms 20 1,838 421ms 0ms 21 1,305 1h1m11s 2s813ms 22 886 225ms 0ms -
update res_users set sid = '6c24d4e6240f9a49616748edc8712761b387375f', last_update = '2024-12-14 19:26:05.213256', exp_date = '2024-12-14 20:11:05.213258', logged_in = 'TRUE' where id = 883;
Date: 2024-12-14 21:26:05 Duration: 59m59s
-
update res_users set sid = '71483f860765d85c421ca9a5f5061dd6e323af02', last_update = '2024-12-14 07:36:17.598660', exp_date = '2024-12-14 08:21:17.598663', logged_in = 'TRUE' where id = 988;
Date: 2024-12-14 09:17:20 Duration: 41m2s
-
update res_users set sid = '71483f860765d85c421ca9a5f5061dd6e323af02', last_update = '2024-12-14 07:36:17.598608', exp_date = '2024-12-14 08:21:17.598610', logged_in = 'TRUE' where id = 988;
Date: 2024-12-14 09:17:20 Duration: 41m2s
5 243ms 1s840ms 993ms 10,049 2h46m24s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 14 00 398 6m16s 946ms 01 80 1m15s 941ms 02 130 2m2s 941ms 03 134 2m7s 954ms 08 3 2s809ms 936ms 09 5 4s666ms 933ms 10 3 3s153ms 1s51ms 12 5 5s42ms 1s8ms 13 34 35s651ms 1s48ms 14 26 30s505ms 1s173ms 15 3 3s567ms 1s189ms 16 746 12m56s 1s40ms 17 799 14m20s 1s76ms 18 2,134 36m6s 1s15ms 19 2,177 35m42s 984ms 20 1,169 18m31s 950ms 21 643 9m38s 899ms 22 1,560 26m1s 1s -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9274598')) 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 (119))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (119))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-14 16:42:01 Duration: 1s840ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9316338')) 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 (60))))))) 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 (60)))))) 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 (60)))))) 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 (60))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-14 17:27:16 Duration: 1s673ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9316315')) 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 (60))))))) 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 (60)))))) 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 (60)))))) 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 (60))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-14 17:26:41 Duration: 1s641ms
6 346ms 2s354ms 438ms 42,589 5h11m23s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 14 00 289 1m57s 405ms 01 141 1m 432ms 02 132 58s280ms 441ms 03 150 1m8s 453ms 04 111 48s512ms 437ms 05 47 20s835ms 443ms 06 122 47s807ms 391ms 07 807 5m11s 386ms 08 869 5m44s 396ms 09 4,140 29m39s 429ms 10 3,357 25m7s 449ms 11 3,586 26m21s 441ms 12 3,660 26m43s 438ms 13 2,974 21m44s 438ms 14 3,306 24m36s 446ms 15 2,905 22m28s 464ms 16 3,493 27m22s 470ms 17 3,513 27m40s 472ms 18 3,257 23m17s 429ms 19 1,811 12m35s 417ms 20 1,784 11m41s 393ms 21 1,516 9m42s 383ms 22 619 4m23s 426ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3515834)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:44:16 Duration: 2s354ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3487868)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:43:43 Duration: 2s306ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (2184440)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:42:08 Duration: 2s215ms
7 344ms 4s217ms 427ms 252,634 1d6h52s select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 14 00 7,604 51m26s 405ms 01 5,114 33m32s 393ms 02 4,995 32m31s 390ms 03 6,853 45m3s 394ms 04 3,521 22m15s 379ms 05 2,293 14m24s 376ms 06 1,375 8m57s 391ms 07 2,434 16m4s 396ms 08 5,170 32m58s 382ms 09 14,287 1h39m56s 419ms 10 18,599 2h15m38s 437ms 11 16,404 1h57m29s 429ms 12 14,115 1h38m59s 420ms 13 12,851 1h30m34s 422ms 14 13,865 1h39m22s 430ms 15 20,079 2h30m17s 449ms 16 12,793 1h38m53s 463ms 17 25,921 3h18m45s 460ms 18 22,044 2h40m44s 437ms 19 14,540 1h43m59s 429ms 20 9,214 1h2m17s 405ms 21 6,979 46m8s 396ms 22 11,584 1h20m29s 416ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3570070)) AND (("shipping_track"."id" not in (29179189, 29179189)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:43:49 Duration: 4s217ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3570054)) AND (("shipping_track"."id" not in (29179119, 29179119)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:43:27 Duration: 3s456ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3543557)) AND (("shipping_track"."id" not in (28828563, 28828745, 28828931, 28853158, 28854413, 28876714, 28876796, 28909452, 28909976, 29179194, 29179194)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-14 16:43:48 Duration: 3s332ms
8 217ms 1s649ms 317ms 19,715 1h44m18s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 14 00 2,153 10m8s 282ms 01 940 4m30s 287ms 02 683 3m16s 287ms 03 1,149 5m29s 286ms 05 2 548ms 274ms 06 255 1m12s 284ms 07 580 2m44s 283ms 08 30 8s750ms 291ms 09 133 40s981ms 308ms 10 3 886ms 295ms 11 114 39s234ms 344ms 12 142 44s678ms 314ms 13 499 2m37s 316ms 14 448 2m30s 336ms 15 621 3m29s 337ms 16 1,094 6m36s 362ms 17 1,468 8m40s 354ms 18 3,034 17m9s 339ms 19 1,919 10m40s 333ms 20 1,484 7m34s 306ms 21 1,213 6m9s 304ms 22 1,751 9m13s 316ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9356780')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-12-14 16:43:19 Duration: 1s649ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9368841')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-12-14 16:43:40 Duration: 1s637ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9368836')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-12-14 16:43:28 Duration: 1s575ms
9 201ms 552ms 279ms 4,546 21m9s select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))))) order by "collection_policy"."id";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 14 09 88 23s632ms 268ms 10 661 3m2s 276ms 11 340 1m33s 274ms 12 146 38s85ms 260ms 13 652 2m56s 270ms 14 269 1m13s 273ms 15 777 3m42s 285ms 16 207 1m 291ms 17 604 3m1s 299ms 18 239 1m5s 272ms 19 563 2m33s 273ms -
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" = '9317151') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2024-12-14 17:26:40 Duration: 552ms
-
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" = '9240047') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2024-12-14 17:26:46 Duration: 447ms
-
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" = '9326269') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:42:06 Duration: 426ms
10 185ms 1s893ms 278ms 35,152 2h42m59s 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 #10
Day Hour Count Duration Avg duration Dec 14 07 27 6s558ms 242ms 08 1,442 5m53s 245ms 09 1,336 5m44s 258ms 10 3,997 18m44s 281ms 11 3,125 14m20s 275ms 12 1,844 8m22s 272ms 13 4,865 21m34s 266ms 14 4,764 22m6s 278ms 15 2,987 14m19s 287ms 16 3,866 18m49s 292ms 17 2,498 12m31s 300ms 18 1,938 8m59s 278ms 19 2,463 11m25s 278ms -
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" = '9296567')))) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:25 Duration: 1s893ms
-
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" = '9007821')))) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:04 Duration: 1s314ms
-
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" = '9265012')))) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:03 Duration: 1s213ms
11 98ms 948ms 246ms 58,803 4h1m25s 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 #11
Day Hour Count Duration Avg duration Dec 14 00 5,046 17m2s 202ms 01 2,020 6m39s 197ms 02 1,594 5m59s 225ms 03 2,530 10m57s 260ms 05 4 1s130ms 282ms 06 510 1m52s 221ms 07 1,150 4m26s 231ms 08 64 15s231ms 237ms 09 262 59s589ms 227ms 10 12 2s773ms 231ms 11 224 1m6s 297ms 12 270 1m9s 257ms 13 1,048 4m46s 273ms 14 936 4m17s 275ms 15 1,240 5m54s 286ms 16 3,630 16m25s 271ms 17 4,480 20m33s 275ms 18 10,228 44m36s 261ms 19 8,092 33m4s 245ms 20 5,240 20m11s 231ms 21 3,662 13m33s 222ms 22 6,561 27m27s 251ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-12-14 19:28:34 Duration: 948ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-12-14 19:28:34 Duration: 945ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'تامر')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-12-14 18:53:39 Duration: 842ms
12 175ms 1s571ms 229ms 164,950 10h31m16s 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 #12
Day Hour Count Duration Avg duration Dec 14 00 876 2m50s 194ms 01 1,184 3m49s 194ms 02 1,177 3m49s 194ms 03 1,329 4m18s 194ms 04 1,013 3m17s 194ms 05 832 2m42s 195ms 06 290 56s268ms 194ms 07 459 1m29s 195ms 08 4,269 14m2s 197ms 09 5,603 19m33s 209ms 10 11,308 42m4s 223ms 11 8,592 31m43s 221ms 12 9,913 37m18s 225ms 13 15,234 55m40s 219ms 14 20,573 1h17m18s 225ms 15 17,431 1h8m56s 237ms 16 23,593 1h36m16s 244ms 17 13,244 54m31s 247ms 18 4,830 18m26s 229ms 19 6,666 24m52s 223ms 20 1,674 5m57s 213ms 21 91 18s752ms 206ms 22 14,769 1h1m1s 247ms -
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" = '9290229')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 16:43:32 Duration: 1s571ms
-
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" = '9254891')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 16:43:41 Duration: 1s499ms
-
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" = '9101685')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 16:43:17 Duration: 1s234ms
13 175ms 361ms 223ms 7,605 28m21s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 14 06 105 20s391ms 194ms 07 256 50s251ms 196ms 09 557 2m1s 217ms 10 1,977 7m16s 220ms 11 384 1m25s 223ms 12 146 30s967ms 212ms 13 780 2m49s 217ms 14 326 1m10s 215ms 15 945 3m34s 227ms 16 500 2m2s 244ms 17 717 2m54s 243ms 18 289 1m5s 226ms 19 564 2m8s 227ms 20 13 2s650ms 203ms 21 46 9s356ms 203ms -
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" = '9338927')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 17:26:39 Duration: 361ms
-
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" = '9293194')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 17:26:50 Duration: 359ms
-
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" = '9327858')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 16:42:07 Duration: 359ms
14 176ms 1s162ms 216ms 10,882 39m16s 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 #14
Day Hour Count Duration Avg duration Dec 14 00 26 5s110ms 196ms 04 276 53s535ms 193ms 05 480 1m33s 193ms 06 185 35s986ms 194ms 07 145 28s284ms 195ms 08 873 2m52s 197ms 09 1,291 4m26s 206ms 10 382 1m27s 228ms 11 1,994 7m22s 221ms 12 1,164 4m14s 218ms 13 485 1m48s 223ms 14 821 2m58s 216ms 15 809 3m6s 230ms 16 774 2m51s 221ms 17 698 2m46s 238ms 18 204 48s110ms 235ms 19 17 3s716ms 218ms 20 177 37s892ms 214ms 21 45 9s414ms 209ms 22 36 7s486ms 207ms -
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" = '9338438')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 12:41:07 Duration: 1s162ms
-
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" = '9261761')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 12:41:04 Duration: 347ms
-
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" = '9290530')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 15:09:18 Duration: 346ms
15 175ms 228ms 194ms 5,522 17m54s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 14 00 850 2m45s 194ms 01 1,184 3m49s 193ms 02 1,177 3m49s 194ms 03 1,323 4m17s 194ms 04 613 1m59s 194ms 05 352 1m9s 197ms 22 23 4s789ms 208ms -
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" = '9356645')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 01:13:00 Duration: 228ms
-
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" = '9231966')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 01:12:59 Duration: 227ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9279568')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-14 01:13:00 Duration: 225ms
16 118ms 335ms 148ms 5,856 14m28s 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 Dec 14 00 25 3s227ms 129ms 07 10 1s287ms 128ms 08 20 2s645ms 132ms 09 425 1m1s 145ms 10 979 2m29s 152ms 11 1,018 2m30s 147ms 12 959 2m20s 146ms 13 547 1m19s 145ms 14 705 1m43s 146ms 15 446 1m7s 151ms 16 171 26s776ms 156ms 17 135 22s923ms 169ms 18 122 18s523ms 151ms 19 146 20s181ms 138ms 20 17 2s339ms 137ms 21 73 9s698ms 132ms 22 58 8s727ms 150ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 66)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-12-14 17:26:41 Duration: 335ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 46)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-12-14 12:40:56 Duration: 283ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 60)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-12-14 14:20:37 Duration: 282ms
17 75ms 371ms 97ms 18,283 29m43s 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 Dec 14 00 68 6s48ms 88ms 02 1 77ms 77ms 06 20 1s844ms 92ms 07 136 12s416ms 91ms 08 164 14s856ms 90ms 09 1,219 1m58s 96ms 10 1,146 1m52s 98ms 11 1,786 2m54s 97ms 12 1,817 2m52s 95ms 13 1,758 2m48s 95ms 14 1,659 2m42s 97ms 15 2,271 3m43s 98ms 16 1,678 2m53s 103ms 17 914 1m36s 106ms 18 1,579 2m36s 99ms 19 618 57s287ms 92ms 20 747 1m6s 89ms 21 301 27s139ms 90ms 22 401 36s301ms 90ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7807975)) AND (("cash_track"."id" not in (5637860, 5652248, 5656396, 5716811, 5716811)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-14 16:43:45 Duration: 371ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7818754)) AND (("cash_track"."id" not in (5716809)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-14 16:43:42 Duration: 286ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7818743)) AND (("cash_track"."id" not in (5716798)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-14 16:43:25 Duration: 272ms
18 32ms 232ms 49ms 76,894 1h2m49s 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 Dec 14 00 2 89ms 44ms 06 7 331ms 47ms 07 72 3s285ms 45ms 08 2,119 1m36s 45ms 09 4,956 3m58s 48ms 10 9,433 7m55s 50ms 11 6,261 5m13s 50ms 12 3,563 2m56s 49ms 13 8,702 7m4s 48ms 14 7,639 6m18s 49ms 15 9,763 8m24s 51ms 16 6,740 5m49s 51ms 17 7,176 5m52s 49ms 18 4,501 3m17s 43ms 19 4,645 3m23s 43ms 20 984 40s527ms 41ms 21 233 9s567ms 41ms 22 98 4s495ms 45ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3523626) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:15 Duration: 232ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3377484) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:18 Duration: 231ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3568285) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:05 Duration: 222ms
19 30ms 182ms 44ms 31,497 23m30s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 14 01 1 42ms 42ms 02 1 44ms 44ms 07 23 1s8ms 43ms 08 726 30s129ms 41ms 09 1,128 50s114ms 44ms 10 3,660 2m44s 45ms 11 2,896 2m10s 44ms 12 1,255 56s973ms 45ms 13 4,493 3m21s 44ms 14 3,503 2m39s 45ms 15 3,544 2m47s 47ms 16 3,290 2m35s 47ms 17 2,912 2m12s 45ms 18 1,949 1m18s 40ms 19 2,116 1m23s 39ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 3335160) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:05 Duration: 182ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 3334587) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:43:05 Duration: 166ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 3315288) ORDER BY "collection_policy"."id";
Date: 2024-12-14 16:59:13 Duration: 90ms
20 29ms 197ms 39ms 152,097 1h41m6s select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 14 00 3,119 1m53s 36ms 01 2,045 1m14s 36ms 02 1,612 58s878ms 36ms 03 2,284 1m24s 36ms 04 718 26s612ms 37ms 05 535 19s692ms 36ms 06 807 29s380ms 36ms 07 1,547 56s285ms 36ms 08 3,196 1m55s 36ms 09 10,368 6m45s 39ms 10 14,451 9m46s 40ms 11 14,447 9m36s 39ms 12 12,040 7m53s 39ms 13 11,354 7m25s 39ms 14 10,576 7m3s 39ms 15 10,786 7m29s 41ms 16 8,190 5m44s 42ms 17 9,974 7m15s 43ms 18 10,535 7m14s 41ms 19 9,323 6m12s 39ms 20 5,851 3m41s 37ms 21 4,691 2m54s 37ms 22 3,648 2m23s 39ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3523626, 3511748)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-14 16:43:18 Duration: 197ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3521383)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-14 16:43:11 Duration: 178ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3500290)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-14 16:43:20 Duration: 175ms
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 942ms 2,201 0ms 3ms 0ms ;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Dec 14 00 104 39ms 0ms 01 104 40ms 0ms 02 104 41ms 0ms 03 104 42ms 0ms 04 104 40ms 0ms 05 104 40ms 0ms 06 104 40ms 0ms 07 104 42ms 0ms 08 104 41ms 0ms 09 104 43ms 0ms 10 104 49ms 0ms 11 104 47ms 0ms 12 104 44ms 0ms 13 104 45ms 0ms 14 104 47ms 0ms 15 104 47ms 0ms 16 104 49ms 0ms 17 104 52ms 0ms 18 104 49ms 0ms 19 104 44ms 0ms 20 104 43ms 0ms 21 17 7ms 0ms -
;
Date: 2024-12-14 11:34:08 Duration: 3ms Database: postgres
-
;
Date: 2024-12-14 18:02:06 Duration: 3ms Database: postgres
-
;
Date: 2024-12-14 15:24:37 Duration: 3ms Database: postgres
2 81ms 127 0ms 3ms 0ms SELECT sum(numbackends) FROM pg_stat_database;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 00 6 3ms 0ms 01 6 3ms 0ms 02 6 3ms 0ms 03 6 3ms 0ms 04 6 3ms 0ms 05 6 3ms 0ms 06 6 3ms 0ms 07 6 3ms 0ms 08 6 3ms 0ms 09 6 3ms 0ms 10 6 4ms 0ms 11 6 4ms 0ms 12 6 3ms 0ms 13 6 3ms 0ms 14 6 3ms 0ms 15 6 3ms 0ms 16 6 3ms 0ms 17 6 6ms 1ms 18 6 3ms 0ms 19 6 3ms 0ms 20 6 3ms 0ms 21 1 0ms 0ms -
SELECT sum(numbackends) FROM pg_stat_database;
Date: 2024-12-14 17:21:59 Duration: 3ms Database: postgres
-
SELECT sum(numbackends) FROM pg_stat_database;
Date: 2024-12-14 16:34:18 Duration: 0ms Database: postgres
-
SELECT sum(numbackends) FROM pg_stat_database;
Date: 2024-12-14 10:33:43 Duration: 0ms Database: postgres
3 13ms 127 0ms 0ms 0ms SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 00 6 0ms 0ms 01 6 0ms 0ms 02 6 0ms 0ms 03 6 0ms 0ms 04 6 0ms 0ms 05 6 0ms 0ms 06 6 0ms 0ms 07 6 0ms 0ms 08 6 0ms 0ms 09 6 0ms 0ms 10 6 0ms 0ms 11 6 0ms 0ms 12 6 0ms 0ms 13 6 0ms 0ms 14 6 0ms 0ms 15 6 0ms 0ms 16 6 0ms 0ms 17 6 1ms 0ms 18 6 0ms 0ms 19 6 0ms 0ms 20 6 0ms 0ms 21 1 0ms 0ms -
SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());
Date: 2024-12-14 17:21:59 Duration: 0ms Database: postgres
-
SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());
Date: 2024-12-14 13:13:58 Duration: 0ms Database: postgres
-
SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());
Date: 2024-12-14 15:04:09 Duration: 0ms Database: postgres
4 6ms 42 0ms 0ms 0ms SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;Times Reported Time consuming prepare #4
Day Hour Count Duration Avg duration 00 2 0ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms -
SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;
Date: 2024-12-14 12:22:22 Duration: 0ms Database: postgres
-
SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;
Date: 2024-12-14 16:22:27 Duration: 0ms Database: postgres
-
SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;
Date: 2024-12-14 11:22:22 Duration: 0ms Database: postgres
5 2ms 1 2ms 2ms 2ms SELECT current_setting('is_superuser') = 'on' AS is_superuser;Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 17 1 2ms 2ms -
SELECT current_setting('is_superuser') = 'on' AS is_superuser;
Date: 2024-12-14 17:21:59 Duration: 2ms Database: postgres
6 0ms 1 0ms 0ms 0ms SHOW server_version_num;Times Reported Time consuming prepare #6
Day Hour Count Duration Avg duration 17 1 0ms 0ms -
SHOW server_version_num;
Date: 2024-12-14 17:21:59 Duration: 0ms Database: postgres
7 0ms 1 0ms 0ms 0ms SELECT pg_is_in_recovery();Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 17 1 0ms 0ms -
SELECT pg_is_in_recovery();
Date: 2024-12-14 17:21:59 Duration: 0ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 6s498ms 76,048 0ms 2ms 0ms SELECT current_database() as datname, schemaname, relname, inh.parent_relname, seq_scan, seq_tup_read, idx_scan, idx_tup_fetch, n_tup_ins, n_tup_upd, n_tup_del, n_tup_hot_upd, n_live_tup, n_dead_tup, EXTRACT(epoch from now() - last_vacuum) as last_vacuum, EXTRACT(epoch from now() - last_autovacuum) as last_autovacuum, EXTRACT(epoch from now() - last_analyze) as last_analyze, EXTRACT(epoch from now() - last_autoanalyze) as last_autoanalyze, vacuum_count, autovacuum_count, analyze_count, autoanalyze_count, pg_total_relation_size(quote_ident(schemaname) || '.' || quote_ident(relname)) as total_relation_size FROM pg_stat_user_tables LEFT JOIN ( SELECT c.oid AS child_oid, p.relname AS parent_relname FROM pg_inherits JOIN pg_class AS c ON (inhrelid = c.oid) JOIN pg_class AS p ON (inhparent = p.oid)) AS inh ON inh.child_oid = relid WHERE has_schema_privilege(schemaname, 'USAGE');Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Dec 14 00 3,600 286ms 0ms 01 3,600 280ms 0ms 02 3,600 267ms 0ms 03 3,600 283ms 0ms 04 3,600 274ms 0ms 05 3,600 262ms 0ms 06 3,600 254ms 0ms 07 3,600 267ms 0ms 08 3,600 282ms 0ms 09 3,600 318ms 0ms 10 3,600 349ms 0ms 11 3,600 333ms 0ms 12 3,600 317ms 0ms 13 3,600 335ms 0ms 14 3,600 348ms 0ms 15 3,600 355ms 0ms 16 3,600 344ms 0ms 17 3,488 347ms 0ms 18 3,600 335ms 0ms 19 3,600 321ms 0ms 20 3,600 288ms 0ms 21 560 44ms 0ms -
SELECT current_database() as datname, schemaname, relname, inh.parent_relname, seq_scan, seq_tup_read, idx_scan, idx_tup_fetch, n_tup_ins, n_tup_upd, n_tup_del, n_tup_hot_upd, n_live_tup, n_dead_tup, EXTRACT(epoch from now() - last_vacuum) as last_vacuum, EXTRACT(epoch from now() - last_autovacuum) as last_autovacuum, EXTRACT(epoch from now() - last_analyze) as last_analyze, EXTRACT(epoch from now() - last_autoanalyze) as last_autoanalyze, vacuum_count, autovacuum_count, analyze_count, autoanalyze_count, pg_total_relation_size(quote_ident(schemaname) || '.' || quote_ident(relname)) as total_relation_size FROM pg_stat_user_tables LEFT JOIN ( SELECT c.oid AS child_oid, p.relname AS parent_relname FROM pg_inherits JOIN pg_class AS c ON (inhrelid = c.oid) JOIN pg_class AS p ON (inhparent = p.oid)) AS inh ON inh.child_oid = relid WHERE has_schema_privilege(schemaname, 'USAGE');
Date: 2024-12-14 17:21:59 Duration: 2ms Database: postgres
-
SELECT current_database() as datname, schemaname, relname, inh.parent_relname, seq_scan, seq_tup_read, idx_scan, idx_tup_fetch, n_tup_ins, n_tup_upd, n_tup_del, n_tup_hot_upd, n_live_tup, n_dead_tup, EXTRACT(epoch from now() - last_vacuum) as last_vacuum, EXTRACT(epoch from now() - last_autovacuum) as last_autovacuum, EXTRACT(epoch from now() - last_analyze) as last_analyze, EXTRACT(epoch from now() - last_autoanalyze) as last_autoanalyze, vacuum_count, autovacuum_count, analyze_count, autoanalyze_count, pg_total_relation_size(quote_ident(schemaname) || '.' || quote_ident(relname)) as total_relation_size FROM pg_stat_user_tables LEFT JOIN ( SELECT c.oid AS child_oid, p.relname AS parent_relname FROM pg_inherits JOIN pg_class AS c ON (inhrelid = c.oid) JOIN pg_class AS p ON (inhparent = p.oid)) AS inh ON inh.child_oid = relid WHERE has_schema_privilege(schemaname, 'USAGE');
Date: 2024-12-14 14:54:08 Duration: 1ms Database: postgres
-
SELECT current_database() as datname, schemaname, relname, inh.parent_relname, seq_scan, seq_tup_read, idx_scan, idx_tup_fetch, n_tup_ins, n_tup_upd, n_tup_del, n_tup_hot_upd, n_live_tup, n_dead_tup, EXTRACT(epoch from now() - last_vacuum) as last_vacuum, EXTRACT(epoch from now() - last_autovacuum) as last_autovacuum, EXTRACT(epoch from now() - last_analyze) as last_analyze, EXTRACT(epoch from now() - last_autoanalyze) as last_autoanalyze, vacuum_count, autovacuum_count, analyze_count, autoanalyze_count, pg_total_relation_size(quote_ident(schemaname) || '.' || quote_ident(relname)) as total_relation_size FROM pg_stat_user_tables LEFT JOIN ( SELECT c.oid AS child_oid, p.relname AS parent_relname FROM pg_inherits JOIN pg_class AS c ON (inhrelid = c.oid) JOIN pg_class AS p ON (inhparent = p.oid)) AS inh ON inh.child_oid = relid WHERE has_schema_privilege(schemaname, 'USAGE');
Date: 2024-12-14 16:44:18 Duration: 1ms Database: postgres
2 4s902ms 76,048 0ms 1ms 0ms SELECT current_database() AS datname, schemaname, relname, inh.parent_relname, heap_blks_read * current_setting('block_size')::numeric AS heap_blks_read_bytes, heap_blks_hit * current_setting('block_size')::numeric AS heap_blks_hit_bytes, idx_blks_read * current_setting('block_size')::numeric AS idx_blks_read_bytes, idx_blks_hit * current_setting('block_size')::numeric AS idx_blks_hit_bytes, toast_blks_read * current_setting('block_size')::numeric AS toast_blks_read_bytes, toast_blks_hit * current_setting('block_size')::numeric AS toast_blks_hit_bytes, tidx_blks_read * current_setting('block_size')::numeric AS tidx_blks_read_bytes, tidx_blks_hit * current_setting('block_size')::numeric AS tidx_blks_hit_bytes FROM pg_statio_user_tables LEFT JOIN ( SELECT c.oid AS child_oid, p.relname AS parent_relname FROM pg_inherits JOIN pg_class AS c ON (inhrelid = c.oid) JOIN pg_class AS p ON (inhparent = p.oid)) AS inh ON inh.child_oid = relid WHERE has_schema_privilege(schemaname, 'USAGE');Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 00 3,600 219ms 0ms 01 3,600 225ms 0ms 02 3,600 215ms 0ms 03 3,600 220ms 0ms 04 3,600 226ms 0ms 05 3,600 219ms 0ms 06 3,600 213ms 0ms 07 3,600 220ms 0ms 08 3,600 221ms 0ms 09 3,600 233ms 0ms 10 3,600 247ms 0ms 11 3,600 242ms 0ms 12 3,600 232ms 0ms 13 3,600 237ms 0ms 14 3,600 248ms 0ms 15 3,600 249ms 0ms 16 3,600 248ms 0ms 17 3,488 243ms 0ms 18 3,600 241ms 0ms 19 3,600 238ms 0ms 20 3,600 222ms 0ms 21 560 34ms 0ms -
SELECT current_database() AS datname, schemaname, relname, inh.parent_relname, heap_blks_read * current_setting('block_size')::numeric AS heap_blks_read_bytes, heap_blks_hit * current_setting('block_size')::numeric AS heap_blks_hit_bytes, idx_blks_read * current_setting('block_size')::numeric AS idx_blks_read_bytes, idx_blks_hit * current_setting('block_size')::numeric AS idx_blks_hit_bytes, toast_blks_read * current_setting('block_size')::numeric AS toast_blks_read_bytes, toast_blks_hit * current_setting('block_size')::numeric AS toast_blks_hit_bytes, tidx_blks_read * current_setting('block_size')::numeric AS tidx_blks_read_bytes, tidx_blks_hit * current_setting('block_size')::numeric AS tidx_blks_hit_bytes FROM pg_statio_user_tables LEFT JOIN ( SELECT c.oid AS child_oid, p.relname AS parent_relname FROM pg_inherits JOIN pg_class AS c ON (inhrelid = c.oid) JOIN pg_class AS p ON (inhparent = p.oid)) AS inh ON inh.child_oid = relid WHERE has_schema_privilege(schemaname, 'USAGE');
Date: 2024-12-14 16:44:18 Duration: 1ms Database: postgres
-
SELECT current_database() AS datname, schemaname, relname, inh.parent_relname, heap_blks_read * current_setting('block_size')::numeric AS heap_blks_read_bytes, heap_blks_hit * current_setting('block_size')::numeric AS heap_blks_hit_bytes, idx_blks_read * current_setting('block_size')::numeric AS idx_blks_read_bytes, idx_blks_hit * current_setting('block_size')::numeric AS idx_blks_hit_bytes, toast_blks_read * current_setting('block_size')::numeric AS toast_blks_read_bytes, toast_blks_hit * current_setting('block_size')::numeric AS toast_blks_hit_bytes, tidx_blks_read * current_setting('block_size')::numeric AS tidx_blks_read_bytes, tidx_blks_hit * current_setting('block_size')::numeric AS tidx_blks_hit_bytes FROM pg_statio_user_tables LEFT JOIN ( SELECT c.oid AS child_oid, p.relname AS parent_relname FROM pg_inherits JOIN pg_class AS c ON (inhrelid = c.oid) JOIN pg_class AS p ON (inhparent = p.oid)) AS inh ON inh.child_oid = relid WHERE has_schema_privilege(schemaname, 'USAGE');
Date: 2024-12-14 17:14:21 Duration: 1ms Database: postgres
-
SELECT current_database() AS datname, schemaname, relname, inh.parent_relname, heap_blks_read * current_setting('block_size')::numeric AS heap_blks_read_bytes, heap_blks_hit * current_setting('block_size')::numeric AS heap_blks_hit_bytes, idx_blks_read * current_setting('block_size')::numeric AS idx_blks_read_bytes, idx_blks_hit * current_setting('block_size')::numeric AS idx_blks_hit_bytes, toast_blks_read * current_setting('block_size')::numeric AS toast_blks_read_bytes, toast_blks_hit * current_setting('block_size')::numeric AS toast_blks_hit_bytes, tidx_blks_read * current_setting('block_size')::numeric AS tidx_blks_read_bytes, tidx_blks_hit * current_setting('block_size')::numeric AS tidx_blks_hit_bytes FROM pg_statio_user_tables LEFT JOIN ( SELECT c.oid AS child_oid, p.relname AS parent_relname FROM pg_inherits JOIN pg_class AS c ON (inhrelid = c.oid) JOIN pg_class AS p ON (inhparent = p.oid)) AS inh ON inh.child_oid = relid WHERE has_schema_privilege(schemaname, 'USAGE');
Date: 2024-12-14 11:03:46 Duration: 0ms Database: postgres
3 4s611ms 76,047 0ms 2ms 0ms SELECT sum(numbackends) FROM pg_stat_database;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 00 3,599 226ms 0ms 01 3,600 202ms 0ms 02 3,600 191ms 0ms 03 3,600 215ms 0ms 04 3,600 186ms 0ms 05 3,600 173ms 0ms 06 3,600 160ms 0ms 07 3,600 187ms 0ms 08 3,600 208ms 0ms 09 3,600 231ms 0ms 10 3,600 242ms 0ms 11 3,600 230ms 0ms 12 3,600 228ms 0ms 13 3,600 235ms 0ms 14 3,600 243ms 0ms 15 3,600 240ms 0ms 16 3,600 237ms 0ms 17 3,488 235ms 0ms 18 3,600 235ms 0ms 19 3,600 240ms 0ms 20 3,600 225ms 0ms 21 560 33ms 0ms -
SELECT sum(numbackends) FROM pg_stat_database;
Date: 2024-12-14 17:21:59 Duration: 2ms Database: postgres
-
SELECT sum(numbackends) FROM pg_stat_database;
Date: 2024-12-14 11:33:49 Duration: 0ms Database: postgres
-
SELECT sum(numbackends) FROM pg_stat_database;
Date: 2024-12-14 16:14:16 Duration: 0ms Database: postgres
4 3s323ms 76,048 0ms 0ms 0ms SELECT pg_database.datname, mode, granted, count(mode) AS locks_count FROM pg_locks INNER JOIN pg_database ON pg_database.oid = pg_locks.database WHERE pg_database.datistemplate = false GROUP BY datname, mode, granted ORDER BY datname, mode;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 00 3,600 137ms 0ms 01 3,600 130ms 0ms 02 3,600 124ms 0ms 03 3,600 136ms 0ms 04 3,600 124ms 0ms 05 3,600 117ms 0ms 06 3,600 114ms 0ms 07 3,600 123ms 0ms 08 3,600 133ms 0ms 09 3,600 168ms 0ms 10 3,600 195ms 0ms 11 3,600 176ms 0ms 12 3,600 173ms 0ms 13 3,600 184ms 0ms 14 3,600 189ms 0ms 15 3,600 196ms 0ms 16 3,600 182ms 0ms 17 3,488 194ms 0ms 18 3,600 183ms 0ms 19 3,600 169ms 0ms 20 3,600 144ms 0ms 21 560 21ms 0ms -
SELECT pg_database.datname, mode, granted, count(mode) AS locks_count FROM pg_locks INNER JOIN pg_database ON pg_database.oid = pg_locks.database WHERE pg_database.datistemplate = false GROUP BY datname, mode, granted ORDER BY datname, mode;
Date: 2024-12-14 16:44:18 Duration: 0ms Database: postgres
-
SELECT pg_database.datname, mode, granted, count(mode) AS locks_count FROM pg_locks INNER JOIN pg_database ON pg_database.oid = pg_locks.database WHERE pg_database.datistemplate = false GROUP BY datname, mode, granted ORDER BY datname, mode;
Date: 2024-12-14 18:52:07 Duration: 0ms Database: postgres
-
SELECT pg_database.datname, mode, granted, count(mode) AS locks_count FROM pg_locks INNER JOIN pg_database ON pg_database.oid = pg_locks.database WHERE pg_database.datistemplate = false GROUP BY datname, mode, granted ORDER BY datname, mode;
Date: 2024-12-14 17:17:05 Duration: 0ms Database: postgres
5 3s284ms 76,048 0ms 0ms 0ms SELECT state, COUNT(*) FROM pg_stat_activity WHERE state IN ('active', 'idle', 'idle in transaction', 'idle in transaction (aborted)', 'fastpath function call', 'disabled') GROUP BY state;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 00 3,600 154ms 0ms 01 3,600 146ms 0ms 02 3,600 139ms 0ms 03 3,600 148ms 0ms 04 3,600 135ms 0ms 05 3,600 127ms 0ms 06 3,600 123ms 0ms 07 3,600 135ms 0ms 08 3,600 150ms 0ms 09 3,600 162ms 0ms 10 3,600 170ms 0ms 11 3,600 164ms 0ms 12 3,600 161ms 0ms 13 3,600 165ms 0ms 14 3,600 172ms 0ms 15 3,600 172ms 0ms 16 3,600 169ms 0ms 17 3,488 169ms 0ms 18 3,600 166ms 0ms 19 3,600 167ms 0ms 20 3,600 158ms 0ms 21 560 24ms 0ms -
SELECT state, COUNT(*) FROM pg_stat_activity WHERE state IN ('active', 'idle', 'idle in transaction', 'idle in transaction (aborted)', 'fastpath function call', 'disabled') GROUP BY state;
Date: 2024-12-14 17:21:59 Duration: 0ms Database: postgres
-
SELECT state, COUNT(*) FROM pg_stat_activity WHERE state IN ('active', 'idle', 'idle in transaction', 'idle in transaction (aborted)', 'fastpath function call', 'disabled') GROUP BY state;
Date: 2024-12-14 08:16:21 Duration: 0ms Database: postgres
-
SELECT state, COUNT(*) FROM pg_stat_activity WHERE state IN ('active', 'idle', 'idle in transaction', 'idle in transaction (aborted)', 'fastpath function call', 'disabled') GROUP BY state;
Date: 2024-12-14 17:31:27 Duration: 0ms Database: postgres
6 2s924ms 76,047 0ms 1ms 0ms SELECT current_database() as datname, schemaname, relname, indexrelname, inh.parent_relname, idx_scan, idx_tup_read, idx_tup_fetch, pg_relation_size(quote_ident(schemaname) || '.' || quote_ident(indexrelname)::text) as size FROM pg_stat_user_indexes LEFT JOIN ( SELECT c.oid AS child_oid, p.relname AS parent_relname FROM pg_inherits JOIN pg_class AS c ON (inhrelid = c.oid) JOIN pg_class AS p ON (inhparent = p.oid)) AS inh ON inh.child_oid = relid WHERE has_schema_privilege(schemaname, 'USAGE');Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 00 3,600 127ms 0ms 01 3,600 132ms 0ms 02 3,600 122ms 0ms 03 3,600 128ms 0ms 04 3,600 129ms 0ms 05 3,600 126ms 0ms 06 3,600 122ms 0ms 07 3,600 127ms 0ms 08 3,600 132ms 0ms 09 3,600 144ms 0ms 10 3,600 150ms 0ms 11 3,600 147ms 0ms 12 3,599 142ms 0ms 13 3,600 143ms 0ms 14 3,600 150ms 0ms 15 3,600 150ms 0ms 16 3,600 149ms 0ms 17 3,488 147ms 0ms 18 3,600 147ms 0ms 19 3,600 145ms 0ms 20 3,600 136ms 0ms 21 560 21ms 0ms -
SELECT current_database() as datname, schemaname, relname, indexrelname, inh.parent_relname, idx_scan, idx_tup_read, idx_tup_fetch, pg_relation_size(quote_ident(schemaname) || '.' || quote_ident(indexrelname)::text) as size FROM pg_stat_user_indexes LEFT JOIN ( SELECT c.oid AS child_oid, p.relname AS parent_relname FROM pg_inherits JOIN pg_class AS c ON (inhrelid = c.oid) JOIN pg_class AS p ON (inhparent = p.oid)) AS inh ON inh.child_oid = relid WHERE has_schema_privilege(schemaname, 'USAGE');
Date: 2024-12-14 16:44:18 Duration: 1ms Database: postgres
-
SELECT current_database() as datname, schemaname, relname, indexrelname, inh.parent_relname, idx_scan, idx_tup_read, idx_tup_fetch, pg_relation_size(quote_ident(schemaname) || '.' || quote_ident(indexrelname)::text) as size FROM pg_stat_user_indexes LEFT JOIN ( SELECT c.oid AS child_oid, p.relname AS parent_relname FROM pg_inherits JOIN pg_class AS c ON (inhrelid = c.oid) JOIN pg_class AS p ON (inhparent = p.oid)) AS inh ON inh.child_oid = relid WHERE has_schema_privilege(schemaname, 'USAGE');
Date: 2024-12-14 11:03:46 Duration: 0ms Database: postgres
-
SELECT current_database() as datname, schemaname, relname, indexrelname, inh.parent_relname, idx_scan, idx_tup_read, idx_tup_fetch, pg_relation_size(quote_ident(schemaname) || '.' || quote_ident(indexrelname)::text) as size FROM pg_stat_user_indexes LEFT JOIN ( SELECT c.oid AS child_oid, p.relname AS parent_relname FROM pg_inherits JOIN pg_class AS c ON (inhrelid = c.oid) JOIN pg_class AS p ON (inhparent = p.oid)) AS inh ON inh.child_oid = relid WHERE has_schema_privilege(schemaname, 'USAGE');
Date: 2024-12-14 09:53:39 Duration: 0ms Database: postgres
7 2s268ms 76,048 0ms 0ms 0ms WITH max_age AS ( SELECT 2000000000 as max_old_xid, setting AS autovacuum_freeze_max_age FROM pg_catalog.pg_settings WHERE name = 'autovacuum_freeze_max_age' ), per_database_stats AS ( SELECT datname, m.max_old_xid::int, m.autovacuum_freeze_max_age::int, age(d.datfrozenxid) AS oldest_current_xid FROM pg_catalog.pg_database d JOIN max_age m ON (true) WHERE d.datallowconn ) SELECT max(oldest_current_xid) AS oldest_current_xid, max(ROUND(100 * (oldest_current_xid / max_old_xid::float))) AS percent_towards_wraparound, max(ROUND(100 * (oldest_current_xid / autovacuum_freeze_max_age::float))) AS percent_towards_emergency_autovacuum FROM per_database_stats;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 00 3,600 102ms 0ms 01 3,600 99ms 0ms 02 3,600 95ms 0ms 03 3,600 99ms 0ms 04 3,600 93ms 0ms 05 3,600 88ms 0ms 06 3,600 87ms 0ms 07 3,600 92ms 0ms 08 3,600 101ms 0ms 09 3,600 114ms 0ms 10 3,600 119ms 0ms 11 3,600 116ms 0ms 12 3,600 113ms 0ms 13 3,600 112ms 0ms 14 3,600 120ms 0ms 15 3,600 122ms 0ms 16 3,600 121ms 0ms 17 3,488 116ms 0ms 18 3,600 115ms 0ms 19 3,600 112ms 0ms 20 3,600 105ms 0ms 21 560 16ms 0ms -
WITH max_age AS ( SELECT 2000000000 as max_old_xid, setting AS autovacuum_freeze_max_age FROM pg_catalog.pg_settings WHERE name = 'autovacuum_freeze_max_age' ), per_database_stats AS ( SELECT datname, m.max_old_xid::int, m.autovacuum_freeze_max_age::int, age(d.datfrozenxid) AS oldest_current_xid FROM pg_catalog.pg_database d JOIN max_age m ON (true) WHERE d.datallowconn ) SELECT max(oldest_current_xid) AS oldest_current_xid, max(ROUND(100 * (oldest_current_xid / max_old_xid::float))) AS percent_towards_wraparound, max(ROUND(100 * (oldest_current_xid / autovacuum_freeze_max_age::float))) AS percent_towards_emergency_autovacuum FROM per_database_stats;
Date: 2024-12-14 17:31:01 Duration: 0ms Database: postgres
-
WITH max_age AS ( SELECT 2000000000 as max_old_xid, setting AS autovacuum_freeze_max_age FROM pg_catalog.pg_settings WHERE name = 'autovacuum_freeze_max_age' ), per_database_stats AS ( SELECT datname, m.max_old_xid::int, m.autovacuum_freeze_max_age::int, age(d.datfrozenxid) AS oldest_current_xid FROM pg_catalog.pg_database d JOIN max_age m ON (true) WHERE d.datallowconn ) SELECT max(oldest_current_xid) AS oldest_current_xid, max(ROUND(100 * (oldest_current_xid / max_old_xid::float))) AS percent_towards_wraparound, max(ROUND(100 * (oldest_current_xid / autovacuum_freeze_max_age::float))) AS percent_towards_emergency_autovacuum FROM per_database_stats;
Date: 2024-12-14 16:30:30 Duration: 0ms Database: postgres
-
WITH max_age AS ( SELECT 2000000000 as max_old_xid, setting AS autovacuum_freeze_max_age FROM pg_catalog.pg_settings WHERE name = 'autovacuum_freeze_max_age' ), per_database_stats AS ( SELECT datname, m.max_old_xid::int, m.autovacuum_freeze_max_age::int, age(d.datfrozenxid) AS oldest_current_xid FROM pg_catalog.pg_database d JOIN max_age m ON (true) WHERE d.datallowconn ) SELECT max(oldest_current_xid) AS oldest_current_xid, max(ROUND(100 * (oldest_current_xid / max_old_xid::float))) AS percent_towards_wraparound, max(ROUND(100 * (oldest_current_xid / autovacuum_freeze_max_age::float))) AS percent_towards_emergency_autovacuum FROM per_database_stats;
Date: 2024-12-14 02:42:56 Duration: 0ms Database: postgres
8 1s912ms 76,047 0ms 0ms 0ms SELECT stat.datname, numbackends, pg_database.datconnlimit, xact_commit, xact_rollback, blks_read * current_setting('block_size')::numeric AS blks_read_bytes, blks_hit * current_setting('block_size')::numeric AS blks_hit_bytes, tup_returned, tup_fetched, tup_inserted, tup_updated, tup_deleted, conflicts, temp_files, temp_bytes, deadlocks FROM pg_stat_database stat INNER JOIN pg_database ON pg_database.datname = stat.datname WHERE pg_database.datistemplate = false;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 00 3,600 85ms 0ms 01 3,600 82ms 0ms 02 3,599 79ms 0ms 03 3,600 83ms 0ms 04 3,600 78ms 0ms 05 3,600 74ms 0ms 06 3,600 74ms 0ms 07 3,600 78ms 0ms 08 3,600 83ms 0ms 09 3,600 94ms 0ms 10 3,600 102ms 0ms 11 3,600 98ms 0ms 12 3,600 95ms 0ms 13 3,600 97ms 0ms 14 3,600 102ms 0ms 15 3,600 104ms 0ms 16 3,600 101ms 0ms 17 3,488 101ms 0ms 18 3,600 99ms 0ms 19 3,600 94ms 0ms 20 3,600 86ms 0ms 21 560 13ms 0ms -
SELECT stat.datname, numbackends, pg_database.datconnlimit, xact_commit, xact_rollback, blks_read * current_setting('block_size')::numeric AS blks_read_bytes, blks_hit * current_setting('block_size')::numeric AS blks_hit_bytes, tup_returned, tup_fetched, tup_inserted, tup_updated, tup_deleted, conflicts, temp_files, temp_bytes, deadlocks FROM pg_stat_database stat INNER JOIN pg_database ON pg_database.datname = stat.datname WHERE pg_database.datistemplate = false;
Date: 2024-12-14 00:36:00 Duration: 0ms Database: postgres
-
SELECT stat.datname, numbackends, pg_database.datconnlimit, xact_commit, xact_rollback, blks_read * current_setting('block_size')::numeric AS blks_read_bytes, blks_hit * current_setting('block_size')::numeric AS blks_hit_bytes, tup_returned, tup_fetched, tup_inserted, tup_updated, tup_deleted, conflicts, temp_files, temp_bytes, deadlocks FROM pg_stat_database stat INNER JOIN pg_database ON pg_database.datname = stat.datname WHERE pg_database.datistemplate = false;
Date: 2024-12-14 16:54:23 Duration: 0ms Database: postgres
-
SELECT stat.datname, numbackends, pg_database.datconnlimit, xact_commit, xact_rollback, blks_read * current_setting('block_size')::numeric AS blks_read_bytes, blks_hit * current_setting('block_size')::numeric AS blks_hit_bytes, tup_returned, tup_fetched, tup_inserted, tup_updated, tup_deleted, conflicts, temp_files, temp_bytes, deadlocks FROM pg_stat_database stat INNER JOIN pg_database ON pg_database.datname = stat.datname WHERE pg_database.datistemplate = false;
Date: 2024-12-14 16:44:19 Duration: 0ms Database: postgres
9 1s889ms 76,047 0ms 0ms 0ms SELECT application_name, pg_wal_lsn_diff ( CASE pg_is_in_recovery() WHEN true THEN pg_last_wal_receive_lsn () ELSE pg_current_wal_lsn () END, sent_lsn) AS sent_delta, pg_wal_lsn_diff (sent_lsn, write_lsn) AS write_delta, pg_wal_lsn_diff (write_lsn, flush_lsn) AS flush_delta, pg_wal_lsn_diff (flush_lsn, replay_lsn) AS replay_delta FROM pg_stat_replication WHERE application_name IS NOT NULL;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 00 3,600 84ms 0ms 01 3,600 81ms 0ms 02 3,600 78ms 0ms 03 3,600 83ms 0ms 04 3,600 79ms 0ms 05 3,600 74ms 0ms 06 3,600 74ms 0ms 07 3,600 77ms 0ms 08 3,600 84ms 0ms 09 3,600 93ms 0ms 10 3,600 101ms 0ms 11 3,600 96ms 0ms 12 3,600 92ms 0ms 13 3,600 94ms 0ms 14 3,600 101ms 0ms 15 3,600 102ms 0ms 16 3,600 101ms 0ms 17 3,487 99ms 0ms 18 3,600 97ms 0ms 19 3,600 93ms 0ms 20 3,600 84ms 0ms 21 560 12ms 0ms -
SELECT application_name, pg_wal_lsn_diff ( CASE pg_is_in_recovery() WHEN true THEN pg_last_wal_receive_lsn () ELSE pg_current_wal_lsn () END, sent_lsn) AS sent_delta, pg_wal_lsn_diff (sent_lsn, write_lsn) AS write_delta, pg_wal_lsn_diff (write_lsn, flush_lsn) AS flush_delta, pg_wal_lsn_diff (flush_lsn, replay_lsn) AS replay_delta FROM pg_stat_replication WHERE application_name IS NOT NULL;
Date: 2024-12-14 16:44:19 Duration: 0ms Database: postgres
-
SELECT application_name, pg_wal_lsn_diff ( CASE pg_is_in_recovery() WHEN true THEN pg_last_wal_receive_lsn () ELSE pg_current_wal_lsn () END, sent_lsn) AS sent_delta, pg_wal_lsn_diff (sent_lsn, write_lsn) AS write_delta, pg_wal_lsn_diff (write_lsn, flush_lsn) AS flush_delta, pg_wal_lsn_diff (flush_lsn, replay_lsn) AS replay_delta FROM pg_stat_replication WHERE application_name IS NOT NULL;
Date: 2024-12-14 13:13:58 Duration: 0ms Database: postgres
-
SELECT application_name, pg_wal_lsn_diff ( CASE pg_is_in_recovery() WHEN true THEN pg_last_wal_receive_lsn () ELSE pg_current_wal_lsn () END, sent_lsn) AS sent_delta, pg_wal_lsn_diff (sent_lsn, write_lsn) AS write_delta, pg_wal_lsn_diff (write_lsn, flush_lsn) AS flush_delta, pg_wal_lsn_diff (flush_lsn, replay_lsn) AS replay_delta FROM pg_stat_replication WHERE application_name IS NOT NULL;
Date: 2024-12-14 10:43:44 Duration: 0ms Database: postgres
10 1s831ms 76,048 0ms 0ms 0ms SELECT count(*) FILTER (WHERE query LIKE 'autovacuum: ANALYZE%%' AND query NOT LIKE '%%to prevent wraparound%%') AS autovacuum_analyze, count(*) FILTER (WHERE query LIKE 'autovacuum: VACUUM ANALYZE%%' AND query NOT LIKE '%%to prevent wraparound%%') AS autovacuum_vacuum_analyze, count(*) FILTER (WHERE query LIKE 'autovacuum: VACUUM %.%%' AND query NOT LIKE '%%to prevent wraparound%%') AS autovacuum_vacuum, count(*) FILTER (WHERE query LIKE '%%to prevent wraparound%%') AS autovacuum_vacuum_freeze, count(*) FILTER (WHERE query LIKE 'autovacuum: BRIN summarize%%') AS autovacuum_brin_summarize FROM pg_stat_activity WHERE query NOT LIKE '%%pg_stat_activity%%';Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 00 3,600 82ms 0ms 01 3,600 78ms 0ms 02 3,600 76ms 0ms 03 3,600 79ms 0ms 04 3,600 75ms 0ms 05 3,600 71ms 0ms 06 3,600 71ms 0ms 07 3,600 74ms 0ms 08 3,600 79ms 0ms 09 3,600 89ms 0ms 10 3,600 96ms 0ms 11 3,600 93ms 0ms 12 3,600 91ms 0ms 13 3,600 94ms 0ms 14 3,600 97ms 0ms 15 3,600 99ms 0ms 16 3,600 97ms 0ms 17 3,488 99ms 0ms 18 3,600 95ms 0ms 19 3,600 90ms 0ms 20 3,600 83ms 0ms 21 560 12ms 0ms -
SELECT count(*) FILTER (WHERE query LIKE 'autovacuum: ANALYZE%%' AND query NOT LIKE '%%to prevent wraparound%%') AS autovacuum_analyze, count(*) FILTER (WHERE query LIKE 'autovacuum: VACUUM ANALYZE%%' AND query NOT LIKE '%%to prevent wraparound%%') AS autovacuum_vacuum_analyze, count(*) FILTER (WHERE query LIKE 'autovacuum: VACUUM %.%%' AND query NOT LIKE '%%to prevent wraparound%%') AS autovacuum_vacuum, count(*) FILTER (WHERE query LIKE '%%to prevent wraparound%%') AS autovacuum_vacuum_freeze, count(*) FILTER (WHERE query LIKE 'autovacuum: BRIN summarize%%') AS autovacuum_brin_summarize FROM pg_stat_activity WHERE query NOT LIKE '%%pg_stat_activity%%';
Date: 2024-12-14 20:36:27 Duration: 0ms Database: postgres
-
SELECT count(*) FILTER (WHERE query LIKE 'autovacuum: ANALYZE%%' AND query NOT LIKE '%%to prevent wraparound%%') AS autovacuum_analyze, count(*) FILTER (WHERE query LIKE 'autovacuum: VACUUM ANALYZE%%' AND query NOT LIKE '%%to prevent wraparound%%') AS autovacuum_vacuum_analyze, count(*) FILTER (WHERE query LIKE 'autovacuum: VACUUM %.%%' AND query NOT LIKE '%%to prevent wraparound%%') AS autovacuum_vacuum, count(*) FILTER (WHERE query LIKE '%%to prevent wraparound%%') AS autovacuum_vacuum_freeze, count(*) FILTER (WHERE query LIKE 'autovacuum: BRIN summarize%%') AS autovacuum_brin_summarize FROM pg_stat_activity WHERE query NOT LIKE '%%pg_stat_activity%%';
Date: 2024-12-14 00:04:34 Duration: 0ms Database: postgres
-
SELECT count(*) FILTER (WHERE query LIKE 'autovacuum: ANALYZE%%' AND query NOT LIKE '%%to prevent wraparound%%') AS autovacuum_analyze, count(*) FILTER (WHERE query LIKE 'autovacuum: VACUUM ANALYZE%%' AND query NOT LIKE '%%to prevent wraparound%%') AS autovacuum_vacuum_analyze, count(*) FILTER (WHERE query LIKE 'autovacuum: VACUUM %.%%' AND query NOT LIKE '%%to prevent wraparound%%') AS autovacuum_vacuum, count(*) FILTER (WHERE query LIKE '%%to prevent wraparound%%') AS autovacuum_vacuum_freeze, count(*) FILTER (WHERE query LIKE 'autovacuum: BRIN summarize%%') AS autovacuum_brin_summarize FROM pg_stat_activity WHERE query NOT LIKE '%%pg_stat_activity%%';
Date: 2024-12-14 13:37:25 Duration: 0ms Database: postgres
11 1s591ms 76,048 0ms 0ms 0ms SELECT relkind, COUNT(1), SUM(relpages) * current_setting('block_size')::numeric AS size FROM pg_class GROUP BY relkind;Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 00 3,600 71ms 0ms 01 3,600 69ms 0ms 02 3,600 66ms 0ms 03 3,600 69ms 0ms 04 3,600 65ms 0ms 05 3,600 61ms 0ms 06 3,600 60ms 0ms 07 3,600 64ms 0ms 08 3,600 70ms 0ms 09 3,600 77ms 0ms 10 3,600 83ms 0ms 11 3,600 81ms 0ms 12 3,600 79ms 0ms 13 3,600 80ms 0ms 14 3,600 85ms 0ms 15 3,600 86ms 0ms 16 3,600 83ms 0ms 17 3,488 85ms 0ms 18 3,600 81ms 0ms 19 3,600 79ms 0ms 20 3,600 73ms 0ms 21 560 11ms 0ms -
SELECT relkind, COUNT(1), SUM(relpages) * current_setting('block_size')::numeric AS size FROM pg_class GROUP BY relkind;
Date: 2024-12-14 15:35:20 Duration: 0ms Database: postgres
-
SELECT relkind, COUNT(1), SUM(relpages) * current_setting('block_size')::numeric AS size FROM pg_class GROUP BY relkind;
Date: 2024-12-14 12:36:48 Duration: 0ms Database: postgres
-
SELECT relkind, COUNT(1), SUM(relpages) * current_setting('block_size')::numeric AS size FROM pg_class GROUP BY relkind;
Date: 2024-12-14 15:05:17 Duration: 0ms Database: postgres
12 1s555ms 76,048 0ms 0ms 0ms SELECT checkpoints_timed, checkpoints_req, checkpoint_write_time, checkpoint_sync_time, buffers_checkpoint * current_setting('block_size')::numeric AS buffers_checkpoint_bytes, buffers_clean * current_setting('block_size')::numeric AS buffers_clean_bytes, maxwritten_clean, buffers_backend * current_setting('block_size')::numeric AS buffers_backend_bytes, buffers_backend_fsync, buffers_alloc * current_setting('block_size')::numeric AS buffers_alloc_bytes FROM pg_stat_bgwriter;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 00 3,600 70ms 0ms 01 3,600 68ms 0ms 02 3,600 65ms 0ms 03 3,600 68ms 0ms 04 3,600 64ms 0ms 05 3,600 60ms 0ms 06 3,600 58ms 0ms 07 3,600 64ms 0ms 08 3,600 71ms 0ms 09 3,600 77ms 0ms 10 3,600 83ms 0ms 11 3,600 79ms 0ms 12 3,600 77ms 0ms 13 3,600 77ms 0ms 14 3,600 82ms 0ms 15 3,600 83ms 0ms 16 3,600 81ms 0ms 17 3,488 79ms 0ms 18 3,600 77ms 0ms 19 3,600 78ms 0ms 20 3,600 73ms 0ms 21 560 11ms 0ms -
SELECT checkpoints_timed, checkpoints_req, checkpoint_write_time, checkpoint_sync_time, buffers_checkpoint * current_setting('block_size')::numeric AS buffers_checkpoint_bytes, buffers_clean * current_setting('block_size')::numeric AS buffers_clean_bytes, maxwritten_clean, buffers_backend * current_setting('block_size')::numeric AS buffers_backend_bytes, buffers_backend_fsync, buffers_alloc * current_setting('block_size')::numeric AS buffers_alloc_bytes FROM pg_stat_bgwriter;
Date: 2024-12-14 14:19:15 Duration: 0ms Database: postgres
-
SELECT checkpoints_timed, checkpoints_req, checkpoint_write_time, checkpoint_sync_time, buffers_checkpoint * current_setting('block_size')::numeric AS buffers_checkpoint_bytes, buffers_clean * current_setting('block_size')::numeric AS buffers_clean_bytes, maxwritten_clean, buffers_backend * current_setting('block_size')::numeric AS buffers_backend_bytes, buffers_backend_fsync, buffers_alloc * current_setting('block_size')::numeric AS buffers_alloc_bytes FROM pg_stat_bgwriter;
Date: 2024-12-14 11:12:39 Duration: 0ms Database: postgres
-
SELECT checkpoints_timed, checkpoints_req, checkpoint_write_time, checkpoint_sync_time, buffers_checkpoint * current_setting('block_size')::numeric AS buffers_checkpoint_bytes, buffers_clean * current_setting('block_size')::numeric AS buffers_clean_bytes, maxwritten_clean, buffers_backend * current_setting('block_size')::numeric AS buffers_backend_bytes, buffers_backend_fsync, buffers_alloc * current_setting('block_size')::numeric AS buffers_alloc_bytes FROM pg_stat_bgwriter;
Date: 2024-12-14 14:29:15 Duration: 0ms Database: postgres
13 1s524ms 76,048 0ms 0ms 0ms SELECT datname, state, EXTRACT(epoch from now() - xact_start) as xact_running_time, EXTRACT(epoch from now() - query_start) as query_running_time FROM pg_stat_activity WHERE datname IS NOT NULL AND state IN ('active', 'idle in transaction', 'idle in transaction (aborted)') AND backend_type = 'client backend';Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 00 3,600 66ms 0ms 01 3,600 67ms 0ms 02 3,600 63ms 0ms 03 3,600 66ms 0ms 04 3,600 64ms 0ms 05 3,600 62ms 0ms 06 3,600 61ms 0ms 07 3,600 64ms 0ms 08 3,600 68ms 0ms 09 3,600 75ms 0ms 10 3,600 81ms 0ms 11 3,600 77ms 0ms 12 3,600 76ms 0ms 13 3,600 78ms 0ms 14 3,600 78ms 0ms 15 3,600 80ms 0ms 16 3,600 79ms 0ms 17 3,488 79ms 0ms 18 3,600 77ms 0ms 19 3,600 73ms 0ms 20 3,600 68ms 0ms 21 560 10ms 0ms -
SELECT datname, state, EXTRACT(epoch from now() - xact_start) as xact_running_time, EXTRACT(epoch from now() - query_start) as query_running_time FROM pg_stat_activity WHERE datname IS NOT NULL AND state IN ('active', 'idle in transaction', 'idle in transaction (aborted)') AND backend_type = 'client backend';
Date: 2024-12-14 16:44:19 Duration: 0ms Database: postgres
-
SELECT datname, state, EXTRACT(epoch from now() - xact_start) as xact_running_time, EXTRACT(epoch from now() - query_start) as query_running_time FROM pg_stat_activity WHERE datname IS NOT NULL AND state IN ('active', 'idle in transaction', 'idle in transaction (aborted)') AND backend_type = 'client backend';
Date: 2024-12-14 11:33:49 Duration: 0ms Database: postgres
-
SELECT datname, state, EXTRACT(epoch from now() - xact_start) as xact_running_time, EXTRACT(epoch from now() - query_start) as query_running_time FROM pg_stat_activity WHERE datname IS NOT NULL AND state IN ('active', 'idle in transaction', 'idle in transaction (aborted)') AND backend_type = 'client backend';
Date: 2024-12-14 17:32:00 Duration: 0ms Database: postgres
14 1s354ms 76,048 0ms 0ms 0ms SELECT application_name, COALESCE(EXTRACT(EPOCH FROM write_lag)::bigint, 0) AS write_lag, COALESCE(EXTRACT(EPOCH FROM flush_lag)::bigint, 0) AS flush_lag, COALESCE(EXTRACT(EPOCH FROM replay_lag)::bigint, 0) AS replay_lag FROM pg_stat_replication psr WHERE application_name IS NOT NULL;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 00 3,600 59ms 0ms 01 3,600 58ms 0ms 02 3,600 56ms 0ms 03 3,600 58ms 0ms 04 3,600 56ms 0ms 05 3,600 54ms 0ms 06 3,600 54ms 0ms 07 3,600 55ms 0ms 08 3,600 58ms 0ms 09 3,600 65ms 0ms 10 3,600 72ms 0ms 11 3,600 70ms 0ms 12 3,600 67ms 0ms 13 3,600 69ms 0ms 14 3,600 71ms 0ms 15 3,600 73ms 0ms 16 3,600 71ms 0ms 17 3,488 72ms 0ms 18 3,600 71ms 0ms 19 3,600 66ms 0ms 20 3,600 60ms 0ms 21 560 8ms 0ms -
SELECT application_name, COALESCE(EXTRACT(EPOCH FROM write_lag)::bigint, 0) AS write_lag, COALESCE(EXTRACT(EPOCH FROM flush_lag)::bigint, 0) AS flush_lag, COALESCE(EXTRACT(EPOCH FROM replay_lag)::bigint, 0) AS replay_lag FROM pg_stat_replication psr WHERE application_name IS NOT NULL;
Date: 2024-12-14 10:33:43 Duration: 0ms Database: postgres
-
SELECT application_name, COALESCE(EXTRACT(EPOCH FROM write_lag)::bigint, 0) AS write_lag, COALESCE(EXTRACT(EPOCH FROM flush_lag)::bigint, 0) AS flush_lag, COALESCE(EXTRACT(EPOCH FROM replay_lag)::bigint, 0) AS replay_lag FROM pg_stat_replication psr WHERE application_name IS NOT NULL;
Date: 2024-12-14 16:44:19 Duration: 0ms Database: postgres
-
SELECT application_name, COALESCE(EXTRACT(EPOCH FROM write_lag)::bigint, 0) AS write_lag, COALESCE(EXTRACT(EPOCH FROM flush_lag)::bigint, 0) AS flush_lag, COALESCE(EXTRACT(EPOCH FROM replay_lag)::bigint, 0) AS replay_lag FROM pg_stat_replication psr WHERE application_name IS NOT NULL;
Date: 2024-12-14 14:14:04 Duration: 0ms Database: postgres
15 964ms 76,048 0ms 0ms 0ms SELECT datname, pg_database_size(datname) AS size FROM pg_database WHERE pg_database.datistemplate = false AND (has_database_privilege(( SELECT CURRENT_USER), datname, 'connect') OR pg_has_role(( SELECT CURRENT_USER), 'pg_read_all_stats', 'MEMBER'));Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 00 3,600 44ms 0ms 01 3,600 42ms 0ms 02 3,600 41ms 0ms 03 3,600 42ms 0ms 04 3,600 40ms 0ms 05 3,600 37ms 0ms 06 3,600 37ms 0ms 07 3,600 39ms 0ms 08 3,600 42ms 0ms 09 3,600 47ms 0ms 10 3,600 49ms 0ms 11 3,600 49ms 0ms 12 3,600 47ms 0ms 13 3,600 48ms 0ms 14 3,600 50ms 0ms 15 3,600 51ms 0ms 16 3,600 51ms 0ms 17 3,488 50ms 0ms 18 3,600 49ms 0ms 19 3,600 47ms 0ms 20 3,600 44ms 0ms 21 560 6ms 0ms -
SELECT datname, pg_database_size(datname) AS size FROM pg_database WHERE pg_database.datistemplate = false AND (has_database_privilege(( SELECT CURRENT_USER), datname, 'connect') OR pg_has_role(( SELECT CURRENT_USER), 'pg_read_all_stats', 'MEMBER'));
Date: 2024-12-14 13:01:23 Duration: 0ms Database: postgres
-
SELECT datname, pg_database_size(datname) AS size FROM pg_database WHERE pg_database.datistemplate = false AND (has_database_privilege(( SELECT CURRENT_USER), datname, 'connect') OR pg_has_role(( SELECT CURRENT_USER), 'pg_read_all_stats', 'MEMBER'));
Date: 2024-12-14 18:55:25 Duration: 0ms Database: postgres
-
SELECT datname, pg_database_size(datname) AS size FROM pg_database WHERE pg_database.datistemplate = false AND (has_database_privilege(( SELECT CURRENT_USER), datname, 'connect') OR pg_has_role(( SELECT CURRENT_USER), 'pg_read_all_stats', 'MEMBER'));
Date: 2024-12-14 15:50:17 Duration: 0ms Database: postgres
16 571ms 76,048 0ms 0ms 0ms SELECT pg_wal_lsn_diff ( CASE pg_is_in_recovery() WHEN TRUE THEN pg_last_wal_receive_lsn () ELSE pg_current_wal_lsn () END, '0/0') AS wal_writes;Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 00 3,600 24ms 0ms 01 3,600 23ms 0ms 02 3,600 22ms 0ms 03 3,600 24ms 0ms 04 3,600 22ms 0ms 05 3,600 21ms 0ms 06 3,600 20ms 0ms 07 3,600 22ms 0ms 08 3,600 24ms 0ms 09 3,600 29ms 0ms 10 3,600 31ms 0ms 11 3,600 30ms 0ms 12 3,600 29ms 0ms 13 3,600 29ms 0ms 14 3,600 31ms 0ms 15 3,600 31ms 0ms 16 3,600 31ms 0ms 17 3,488 31ms 0ms 18 3,600 30ms 0ms 19 3,600 28ms 0ms 20 3,600 25ms 0ms 21 560 3ms 0ms -
SELECT pg_wal_lsn_diff ( CASE pg_is_in_recovery() WHEN TRUE THEN pg_last_wal_receive_lsn () ELSE pg_current_wal_lsn () END, '0/0') AS wal_writes;
Date: 2024-12-14 12:36:48 Duration: 0ms Database: postgres
-
SELECT pg_wal_lsn_diff ( CASE pg_is_in_recovery() WHEN TRUE THEN pg_last_wal_receive_lsn () ELSE pg_current_wal_lsn () END, '0/0') AS wal_writes;
Date: 2024-12-14 18:23:05 Duration: 0ms Database: postgres
-
SELECT pg_wal_lsn_diff ( CASE pg_is_in_recovery() WHEN TRUE THEN pg_last_wal_receive_lsn () ELSE pg_current_wal_lsn () END, '0/0') AS wal_writes;
Date: 2024-12-14 17:15:31 Duration: 0ms Database: postgres
17 559ms 254 0ms 6ms 2ms SELECT current_database() AS db, schemaname, tablename, reltuples::bigint AS tups, relpages::bigint AS pages, otta, ROUND( CASE WHEN otta = 0 OR sml.relpages = 0 OR sml.relpages = otta THEN 0.0 ELSE sml.relpages / otta::numeric END, 1) AS tbloat, CASE WHEN relpages < otta THEN 0 ELSE relpages::bigint - otta END AS wastedpages, CASE WHEN relpages < otta THEN 0 ELSE bs * (sml.relpages - otta)::bigint END AS wastedbytes, CASE WHEN relpages < otta THEN '0 bytes'::text ELSE (bs * (relpages - otta))::bigint::text || ' bytes' END AS wastedsize, iname, ituples::bigint AS itups, ipages::bigint AS ipages, iotta, ROUND( CASE WHEN iotta = 0 OR ipages = 0 OR ipages = iotta THEN 0.0 ELSE ipages / iotta::numeric END, 1) AS ibloat, CASE WHEN ipages < iotta THEN 0 ELSE ipages::bigint - iotta END AS wastedipages, CASE WHEN ipages < iotta THEN 0 ELSE bs * (ipages - iotta) END AS wastedibytes, CASE WHEN ipages < iotta THEN '0 bytes' ELSE (bs * (ipages - iotta))::bigint::text || ' bytes' END AS wastedisize, CASE WHEN relpages < otta THEN CASE WHEN ipages < iotta THEN 0 ELSE bs * (ipages - iotta::bigint) END ELSE CASE WHEN ipages < iotta THEN bs * (relpages - otta::bigint) ELSE bs * (relpages - otta::bigint + ipages - iotta::bigint) END END AS totalwastedbytes FROM ( SELECT nn.nspname AS schemaname, cc.relname AS tablename, COALESCE(cc.reltuples, 0) AS reltuples, COALESCE(cc.relpages, 0) AS relpages, COALESCE(bs, 0) AS bs, COALESCE(CEIL((cc.reltuples * ((datahdr + ma - ( CASE WHEN datahdr % ma = 0 THEN ma ELSE datahdr % ma END)) + nullhdr2 + 4)) / (bs - 20::float)), 0) AS otta, COALESCE(c2.relname, '?') AS iname, COALESCE(c2.reltuples, 0) AS ituples, COALESCE(c2.relpages, 0) AS ipages, COALESCE(CEIL((c2.reltuples * (datahdr - 12)) / (bs - 20::float)), 0) AS iotta -- very rough approximation, assumes all cols FROM pg_class cc JOIN pg_namespace nn ON cc.relnamespace = nn.oid AND nn.nspname <> 'information_schema' LEFT JOIN ( SELECT ma,bs,foo.nspname,foo.relname, (datawidth+(hdr+ma-(case when hdr%ma=0 THEN ma ELSE hdr%ma END)))::numeric AS datahdr, (maxfracsum*(nullhdr+ma-(case when nullhdr%ma=0 THEN ma ELSE nullhdr%ma END))) AS nullhdr2 FROM ( SELECT ns.nspname, tbl.relname, hdr, ma, bs, SUM((1-coalesce(null_frac,0))*coalesce(avg_width, 2048)) AS datawidth, MAX(coalesce(null_frac,0)) AS maxfracsum, hdr+( SELECT 1+count(*)/8 FROM pg_stats s2 WHERE null_frac<>0 AND s2.schemaname = ns.nspname AND s2.tablename = tbl.relname ) AS nullhdr FROM pg_attribute att JOIN pg_class tbl ON att.attrelid = tbl.oid JOIN pg_namespace ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats s ON s.schemaname=ns.nspname AND s.tablename = tbl.relname AND s.inherited=false AND s.attname=att.attname, ( SELECT (SELECT current_setting('block_size')::numeric) AS bs, CASE WHEN SUBSTRING(SPLIT_PART(v, ' ', 2) FROM '#"[0-9]+.[0-9]+#"%' for '#') IN ('8.0','8.1','8.2') THEN 27 ELSE 23 END AS hdr, CASE WHEN v ~ 'mingw32' OR v ~ '64-bit' THEN 8 ELSE 4 END AS ma FROM (SELECT version() AS v) AS foo ) AS constants WHERE att.attnum > 0 AND tbl.relkind='r' GROUP BY 1,2,3,4,5 ) AS foo ) AS rs ON cc.relname = rs.relname AND nn.nspname = rs.nspname LEFT JOIN pg_index i ON indrelid = cc.oid LEFT JOIN pg_class c2 ON c2.oid = i.indexrelid ) AS sml WHERE sml.relpages - otta > 10 OR ipages - iotta > 10;Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 00 12 23ms 1ms 01 12 24ms 2ms 02 12 22ms 1ms 03 12 26ms 2ms 04 12 24ms 2ms 05 12 25ms 2ms 06 12 24ms 2ms 07 12 25ms 2ms 08 12 25ms 2ms 09 12 26ms 2ms 10 12 31ms 2ms 11 12 27ms 2ms 12 12 26ms 2ms 13 12 27ms 2ms 14 12 28ms 2ms 15 12 28ms 2ms 16 12 27ms 2ms 17 12 26ms 2ms 18 12 28ms 2ms 19 12 27ms 2ms 20 12 27ms 2ms 21 2 3ms 1ms -
SELECT current_database() AS db, schemaname, tablename, reltuples::bigint AS tups, relpages::bigint AS pages, otta, ROUND( CASE WHEN otta = 0 OR sml.relpages = 0 OR sml.relpages = otta THEN 0.0 ELSE sml.relpages / otta::numeric END, 1) AS tbloat, CASE WHEN relpages < otta THEN 0 ELSE relpages::bigint - otta END AS wastedpages, CASE WHEN relpages < otta THEN 0 ELSE bs * (sml.relpages - otta)::bigint END AS wastedbytes, CASE WHEN relpages < otta THEN '0 bytes'::text ELSE (bs * (relpages - otta))::bigint::text || ' bytes' END AS wastedsize, iname, ituples::bigint AS itups, ipages::bigint AS ipages, iotta, ROUND( CASE WHEN iotta = 0 OR ipages = 0 OR ipages = iotta THEN 0.0 ELSE ipages / iotta::numeric END, 1) AS ibloat, CASE WHEN ipages < iotta THEN 0 ELSE ipages::bigint - iotta END AS wastedipages, CASE WHEN ipages < iotta THEN 0 ELSE bs * (ipages - iotta) END AS wastedibytes, CASE WHEN ipages < iotta THEN '0 bytes' ELSE (bs * (ipages - iotta))::bigint::text || ' bytes' END AS wastedisize, CASE WHEN relpages < otta THEN CASE WHEN ipages < iotta THEN 0 ELSE bs * (ipages - iotta::bigint) END ELSE CASE WHEN ipages < iotta THEN bs * (relpages - otta::bigint) ELSE bs * (relpages - otta::bigint + ipages - iotta::bigint) END END AS totalwastedbytes FROM ( SELECT nn.nspname AS schemaname, cc.relname AS tablename, COALESCE(cc.reltuples, 0) AS reltuples, COALESCE(cc.relpages, 0) AS relpages, COALESCE(bs, 0) AS bs, COALESCE(CEIL((cc.reltuples * ((datahdr + ma - ( CASE WHEN datahdr % ma = 0 THEN ma ELSE datahdr % ma END)) + nullhdr2 + 4)) / (bs - 20::float)), 0) AS otta, COALESCE(c2.relname, '?') AS iname, COALESCE(c2.reltuples, 0) AS ituples, COALESCE(c2.relpages, 0) AS ipages, COALESCE(CEIL((c2.reltuples * (datahdr - 12)) / (bs - 20::float)), 0) AS iotta -- very rough approximation, assumes all cols FROM pg_class cc JOIN pg_namespace nn ON cc.relnamespace = nn.oid AND nn.nspname <> 'information_schema' LEFT JOIN ( SELECT ma,bs,foo.nspname,foo.relname, (datawidth+(hdr+ma-(case when hdr%ma=0 THEN ma ELSE hdr%ma END)))::numeric AS datahdr, (maxfracsum*(nullhdr+ma-(case when nullhdr%ma=0 THEN ma ELSE nullhdr%ma END))) AS nullhdr2 FROM ( SELECT ns.nspname, tbl.relname, hdr, ma, bs, SUM((1-coalesce(null_frac,0))*coalesce(avg_width, 2048)) AS datawidth, MAX(coalesce(null_frac,0)) AS maxfracsum, hdr+( SELECT 1+count(*)/8 FROM pg_stats s2 WHERE null_frac<>0 AND s2.schemaname = ns.nspname AND s2.tablename = tbl.relname ) AS nullhdr FROM pg_attribute att JOIN pg_class tbl ON att.attrelid = tbl.oid JOIN pg_namespace ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats s ON s.schemaname=ns.nspname AND s.tablename = tbl.relname AND s.inherited=false AND s.attname=att.attname, ( SELECT (SELECT current_setting('block_size')::numeric) AS bs, CASE WHEN SUBSTRING(SPLIT_PART(v, ' ', 2) FROM '#"[0-9]+.[0-9]+#"%' for '#') IN ('8.0','8.1','8.2') THEN 27 ELSE 23 END AS hdr, CASE WHEN v ~ 'mingw32' OR v ~ '64-bit' THEN 8 ELSE 4 END AS ma FROM (SELECT version() AS v) AS foo ) AS constants WHERE att.attnum > 0 AND tbl.relkind='r' GROUP BY 1,2,3,4,5 ) AS foo ) AS rs ON cc.relname = rs.relname AND nn.nspname = rs.nspname LEFT JOIN pg_index i ON indrelid = cc.oid LEFT JOIN pg_class c2 ON c2.oid = i.indexrelid ) AS sml WHERE sml.relpages - otta > 10 OR ipages - iotta > 10;
Date: 2024-12-14 10:24:03 Duration: 6ms Database: postgres
-
SELECT current_database() AS db, schemaname, tablename, reltuples::bigint AS tups, relpages::bigint AS pages, otta, ROUND( CASE WHEN otta = 0 OR sml.relpages = 0 OR sml.relpages = otta THEN 0.0 ELSE sml.relpages / otta::numeric END, 1) AS tbloat, CASE WHEN relpages < otta THEN 0 ELSE relpages::bigint - otta END AS wastedpages, CASE WHEN relpages < otta THEN 0 ELSE bs * (sml.relpages - otta)::bigint END AS wastedbytes, CASE WHEN relpages < otta THEN '0 bytes'::text ELSE (bs * (relpages - otta))::bigint::text || ' bytes' END AS wastedsize, iname, ituples::bigint AS itups, ipages::bigint AS ipages, iotta, ROUND( CASE WHEN iotta = 0 OR ipages = 0 OR ipages = iotta THEN 0.0 ELSE ipages / iotta::numeric END, 1) AS ibloat, CASE WHEN ipages < iotta THEN 0 ELSE ipages::bigint - iotta END AS wastedipages, CASE WHEN ipages < iotta THEN 0 ELSE bs * (ipages - iotta) END AS wastedibytes, CASE WHEN ipages < iotta THEN '0 bytes' ELSE (bs * (ipages - iotta))::bigint::text || ' bytes' END AS wastedisize, CASE WHEN relpages < otta THEN CASE WHEN ipages < iotta THEN 0 ELSE bs * (ipages - iotta::bigint) END ELSE CASE WHEN ipages < iotta THEN bs * (relpages - otta::bigint) ELSE bs * (relpages - otta::bigint + ipages - iotta::bigint) END END AS totalwastedbytes FROM ( SELECT nn.nspname AS schemaname, cc.relname AS tablename, COALESCE(cc.reltuples, 0) AS reltuples, COALESCE(cc.relpages, 0) AS relpages, COALESCE(bs, 0) AS bs, COALESCE(CEIL((cc.reltuples * ((datahdr + ma - ( CASE WHEN datahdr % ma = 0 THEN ma ELSE datahdr % ma END)) + nullhdr2 + 4)) / (bs - 20::float)), 0) AS otta, COALESCE(c2.relname, '?') AS iname, COALESCE(c2.reltuples, 0) AS ituples, COALESCE(c2.relpages, 0) AS ipages, COALESCE(CEIL((c2.reltuples * (datahdr - 12)) / (bs - 20::float)), 0) AS iotta -- very rough approximation, assumes all cols FROM pg_class cc JOIN pg_namespace nn ON cc.relnamespace = nn.oid AND nn.nspname <> 'information_schema' LEFT JOIN ( SELECT ma,bs,foo.nspname,foo.relname, (datawidth+(hdr+ma-(case when hdr%ma=0 THEN ma ELSE hdr%ma END)))::numeric AS datahdr, (maxfracsum*(nullhdr+ma-(case when nullhdr%ma=0 THEN ma ELSE nullhdr%ma END))) AS nullhdr2 FROM ( SELECT ns.nspname, tbl.relname, hdr, ma, bs, SUM((1-coalesce(null_frac,0))*coalesce(avg_width, 2048)) AS datawidth, MAX(coalesce(null_frac,0)) AS maxfracsum, hdr+( SELECT 1+count(*)/8 FROM pg_stats s2 WHERE null_frac<>0 AND s2.schemaname = ns.nspname AND s2.tablename = tbl.relname ) AS nullhdr FROM pg_attribute att JOIN pg_class tbl ON att.attrelid = tbl.oid JOIN pg_namespace ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats s ON s.schemaname=ns.nspname AND s.tablename = tbl.relname AND s.inherited=false AND s.attname=att.attname, ( SELECT (SELECT current_setting('block_size')::numeric) AS bs, CASE WHEN SUBSTRING(SPLIT_PART(v, ' ', 2) FROM '#"[0-9]+.[0-9]+#"%' for '#') IN ('8.0','8.1','8.2') THEN 27 ELSE 23 END AS hdr, CASE WHEN v ~ 'mingw32' OR v ~ '64-bit' THEN 8 ELSE 4 END AS ma FROM (SELECT version() AS v) AS foo ) AS constants WHERE att.attnum > 0 AND tbl.relkind='r' GROUP BY 1,2,3,4,5 ) AS foo ) AS rs ON cc.relname = rs.relname AND nn.nspname = rs.nspname LEFT JOIN pg_index i ON indrelid = cc.oid LEFT JOIN pg_class c2 ON c2.oid = i.indexrelid ) AS sml WHERE sml.relpages - otta > 10 OR ipages - iotta > 10;
Date: 2024-12-14 11:34:08 Duration: 6ms Database: postgres
-
SELECT current_database() AS db, schemaname, tablename, reltuples::bigint AS tups, relpages::bigint AS pages, otta, ROUND( CASE WHEN otta = 0 OR sml.relpages = 0 OR sml.relpages = otta THEN 0.0 ELSE sml.relpages / otta::numeric END, 1) AS tbloat, CASE WHEN relpages < otta THEN 0 ELSE relpages::bigint - otta END AS wastedpages, CASE WHEN relpages < otta THEN 0 ELSE bs * (sml.relpages - otta)::bigint END AS wastedbytes, CASE WHEN relpages < otta THEN '0 bytes'::text ELSE (bs * (relpages - otta))::bigint::text || ' bytes' END AS wastedsize, iname, ituples::bigint AS itups, ipages::bigint AS ipages, iotta, ROUND( CASE WHEN iotta = 0 OR ipages = 0 OR ipages = iotta THEN 0.0 ELSE ipages / iotta::numeric END, 1) AS ibloat, CASE WHEN ipages < iotta THEN 0 ELSE ipages::bigint - iotta END AS wastedipages, CASE WHEN ipages < iotta THEN 0 ELSE bs * (ipages - iotta) END AS wastedibytes, CASE WHEN ipages < iotta THEN '0 bytes' ELSE (bs * (ipages - iotta))::bigint::text || ' bytes' END AS wastedisize, CASE WHEN relpages < otta THEN CASE WHEN ipages < iotta THEN 0 ELSE bs * (ipages - iotta::bigint) END ELSE CASE WHEN ipages < iotta THEN bs * (relpages - otta::bigint) ELSE bs * (relpages - otta::bigint + ipages - iotta::bigint) END END AS totalwastedbytes FROM ( SELECT nn.nspname AS schemaname, cc.relname AS tablename, COALESCE(cc.reltuples, 0) AS reltuples, COALESCE(cc.relpages, 0) AS relpages, COALESCE(bs, 0) AS bs, COALESCE(CEIL((cc.reltuples * ((datahdr + ma - ( CASE WHEN datahdr % ma = 0 THEN ma ELSE datahdr % ma END)) + nullhdr2 + 4)) / (bs - 20::float)), 0) AS otta, COALESCE(c2.relname, '?') AS iname, COALESCE(c2.reltuples, 0) AS ituples, COALESCE(c2.relpages, 0) AS ipages, COALESCE(CEIL((c2.reltuples * (datahdr - 12)) / (bs - 20::float)), 0) AS iotta -- very rough approximation, assumes all cols FROM pg_class cc JOIN pg_namespace nn ON cc.relnamespace = nn.oid AND nn.nspname <> 'information_schema' LEFT JOIN ( SELECT ma,bs,foo.nspname,foo.relname, (datawidth+(hdr+ma-(case when hdr%ma=0 THEN ma ELSE hdr%ma END)))::numeric AS datahdr, (maxfracsum*(nullhdr+ma-(case when nullhdr%ma=0 THEN ma ELSE nullhdr%ma END))) AS nullhdr2 FROM ( SELECT ns.nspname, tbl.relname, hdr, ma, bs, SUM((1-coalesce(null_frac,0))*coalesce(avg_width, 2048)) AS datawidth, MAX(coalesce(null_frac,0)) AS maxfracsum, hdr+( SELECT 1+count(*)/8 FROM pg_stats s2 WHERE null_frac<>0 AND s2.schemaname = ns.nspname AND s2.tablename = tbl.relname ) AS nullhdr FROM pg_attribute att JOIN pg_class tbl ON att.attrelid = tbl.oid JOIN pg_namespace ns ON ns.oid = tbl.relnamespace LEFT JOIN pg_stats s ON s.schemaname=ns.nspname AND s.tablename = tbl.relname AND s.inherited=false AND s.attname=att.attname, ( SELECT (SELECT current_setting('block_size')::numeric) AS bs, CASE WHEN SUBSTRING(SPLIT_PART(v, ' ', 2) FROM '#"[0-9]+.[0-9]+#"%' for '#') IN ('8.0','8.1','8.2') THEN 27 ELSE 23 END AS hdr, CASE WHEN v ~ 'mingw32' OR v ~ '64-bit' THEN 8 ELSE 4 END AS ma FROM (SELECT version() AS v) AS foo ) AS constants WHERE att.attnum > 0 AND tbl.relkind='r' GROUP BY 1,2,3,4,5 ) AS foo ) AS rs ON cc.relname = rs.relname AND nn.nspname = rs.nspname LEFT JOIN pg_index i ON indrelid = cc.oid LEFT JOIN pg_class c2 ON c2.oid = i.indexrelid ) AS sml WHERE sml.relpages - otta > 10 OR ipages - iotta > 10;
Date: 2024-12-14 10:34:04 Duration: 5ms Database: postgres
18 440ms 76,048 0ms 0ms 0ms SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 00 3,600 19ms 0ms 01 3,600 18ms 0ms 02 3,600 18ms 0ms 03 3,600 19ms 0ms 04 3,600 17ms 0ms 05 3,600 17ms 0ms 06 3,600 16ms 0ms 07 3,600 17ms 0ms 08 3,600 19ms 0ms 09 3,600 22ms 0ms 10 3,600 22ms 0ms 11 3,600 22ms 0ms 12 3,600 21ms 0ms 13 3,600 21ms 0ms 14 3,600 24ms 0ms 15 3,600 24ms 0ms 16 3,600 23ms 0ms 17 3,488 22ms 0ms 18 3,600 23ms 0ms 19 3,600 22ms 0ms 20 3,600 20ms 0ms 21 560 3ms 0ms -
SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());
Date: 2024-12-14 13:55:56 Duration: 0ms Database: postgres
-
SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());
Date: 2024-12-14 15:06:41 Duration: 0ms Database: postgres
-
SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());
Date: 2024-12-14 11:15:19 Duration: 0ms Database: postgres
19 120ms 254 0ms 1ms 0ms SELECT current_database() AS datname, nspname AS schemaname, relname, st.attname, typname, (st.null_frac * 100)::int AS null_percent, case when st.n_distinct >= 0 then st.n_distinct else abs(st.n_distinct) * reltuples end AS "distinct" FROM pg_class c JOIN pg_namespace ns ON (ns.oid = relnamespace) JOIN pg_attribute at ON (c.oid = attrelid) JOIN pg_type t ON (t.oid = atttypid) JOIN pg_stats st ON (st.tablename = relname AND st.attname = at.attname) WHERE relkind = 'r' AND nspname NOT LIKE E'pg\\_%' AND nspname != 'information_schema' AND NOT attisdropped AND attstattarget != 0 AND reltuples >= 100 ORDER BY nspname, relname, st.attname;Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 00 12 4ms 0ms 01 12 5ms 0ms 02 12 4ms 0ms 03 12 5ms 0ms 04 12 4ms 0ms 05 12 5ms 0ms 06 12 5ms 0ms 07 12 5ms 0ms 08 12 5ms 0ms 09 12 5ms 0ms 10 12 6ms 0ms 11 12 6ms 0ms 12 12 5ms 0ms 13 12 5ms 0ms 14 12 6ms 0ms 15 12 6ms 0ms 16 12 6ms 0ms 17 12 5ms 0ms 18 12 6ms 0ms 19 12 6ms 0ms 20 12 5ms 0ms 21 2 0ms 0ms -
SELECT current_database() AS datname, nspname AS schemaname, relname, st.attname, typname, (st.null_frac * 100)::int AS null_percent, case when st.n_distinct >= 0 then st.n_distinct else abs(st.n_distinct) * reltuples end AS "distinct" FROM pg_class c JOIN pg_namespace ns ON (ns.oid = relnamespace) JOIN pg_attribute at ON (c.oid = attrelid) JOIN pg_type t ON (t.oid = atttypid) JOIN pg_stats st ON (st.tablename = relname AND st.attname = at.attname) WHERE relkind = 'r' AND nspname NOT LIKE E'pg\\_%' AND nspname != 'information_schema' AND NOT attisdropped AND attstattarget != 0 AND reltuples >= 100 ORDER BY nspname, relname, st.attname;
Date: 2024-12-14 11:34:08 Duration: 1ms Database: postgres
-
SELECT current_database() AS datname, nspname AS schemaname, relname, st.attname, typname, (st.null_frac * 100)::int AS null_percent, case when st.n_distinct >= 0 then st.n_distinct else abs(st.n_distinct) * reltuples end AS "distinct" FROM pg_class c JOIN pg_namespace ns ON (ns.oid = relnamespace) JOIN pg_attribute at ON (c.oid = attrelid) JOIN pg_type t ON (t.oid = atttypid) JOIN pg_stats st ON (st.tablename = relname AND st.attname = at.attname) WHERE relkind = 'r' AND nspname NOT LIKE E'pg\\_%' AND nspname != 'information_schema' AND NOT attisdropped AND attstattarget != 0 AND reltuples >= 100 ORDER BY nspname, relname, st.attname;
Date: 2024-12-14 10:34:04 Duration: 1ms Database: postgres
-
SELECT current_database() AS datname, nspname AS schemaname, relname, st.attname, typname, (st.null_frac * 100)::int AS null_percent, case when st.n_distinct >= 0 then st.n_distinct else abs(st.n_distinct) * reltuples end AS "distinct" FROM pg_class c JOIN pg_namespace ns ON (ns.oid = relnamespace) JOIN pg_attribute at ON (c.oid = attrelid) JOIN pg_type t ON (t.oid = atttypid) JOIN pg_stats st ON (st.tablename = relname AND st.attname = at.attname) WHERE relkind = 'r' AND nspname NOT LIKE E'pg\\_%' AND nspname != 'information_schema' AND NOT attisdropped AND attstattarget != 0 AND reltuples >= 100 ORDER BY nspname, relname, st.attname;
Date: 2024-12-14 12:44:16 Duration: 1ms Database: postgres
20 1ms 42 0ms 0ms 0ms SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 00 2 0ms 0ms 01 2 0ms 0ms 02 2 0ms 0ms 03 2 0ms 0ms 04 2 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms -
SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;
Date: 2024-12-14 15:22:26 Duration: 0ms Database: postgres
-
SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;
Date: 2024-12-14 12:22:22 Duration: 0ms Database: postgres
-
SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;
Date: 2024-12-14 03:52:15 Duration: 0ms Database: postgres
-
Events
Log levels
Key values
- 21,353,445 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 1642 FATAL entries
- 9977 ERROR entries
- 0 WARNING entries
- 2183 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 5,194 Max number of times the same event was reported
- 13,802 Total events found
Rank Times reported Error 1 5,194 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Dec 14 00 10 01 11 02 8 03 6 05 4 06 3 07 2 08 32 09 139 10 604 11 601 12 736 13 379 14 519 15 549 16 861 17 411 18 136 19 68 20 44 21 50 22 21 - 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 res_users set sid = '97c57fe845a4f01a6d86e74c98d8e322e01ea214', last_update = '2024-12-13 23:03:30.889468',exp_date = '2024-12-13 23:48:30.889473', logged_in = 'TRUE' where id = 901
Date: 2024-12-14 00:03:30
Statement: UPDATE "shipping_policy" SET "delegate_button" = false, "edit_cash_button" = true, "return_button" = false, "state" = 'in_office', "write_date" = '2024-12-13 23:10:41.729455', "write_uid" = 1227 WHERE id IN (3548270, 3548155, 3547480, 3547463, 3547452, 3547415, 3547368, 3547350, 3544836, 3544815, 3544727, 3544338, 3544331, 3544315, 3544304, 3544299, 3544287, 3544266, 3544082, 3544042, 3544005, 3544004, 3543999, 3543995, 3543982, 3543972, 3543919, 3543911, 3543857, 3543073, 3543043, 3543041, 3543014, 3542989, 3542918, 3542909, 3542789, 3542784, 3542768, 3542761, 3542755, 3542724, 3542721, 3542702, 3542637, 3542572, 3541785, 3541781, 3541735, 3541715, 3541712, 3541703, 3539484, 3537510, 3537465, 3537461, 3536832, 3536825, 3536320, 3536294, 3536288, 3533026, 3533024, 3533007, 3532443, 3532440, 3532436, 3532426, 3532425, 3532419, 3532365, 3532310, 3531955, 3531926, 3531923, 3531910, 3531906, 3531846, 3531768, 3531742, 3531723, 3531559, 3531224, 3531223, 3531205, 3531048, 3531028, 3530978, 3530973, 3530968, 3530684, 3530671, 3530580, 3529962, 3529943, 3529937, 3529934, 3529921, 3529389, 3529318, 3529311, 3529290, 3529288, 3529021, 3528940, 3528879, 3528736, 3528646, 3528615, 3528600, 3528550, 3528507, 3528481, 3528000, 3527849, 3527508, 3527468, 3527460, 3527423, 3527303, 3527302, 3527293, 3527219, 3527207, 3527174, 3527078, 3523995, 3523946, 3523869, 3523859, 3523497, 3522692, 3522580, 3521837, 3521834, 3521807, 3521793, 3521777, 3521763, 3521745, 3521744, 3521713, 3521696, 3521508, 3521473, 3521386, 3521373, 3520702, 3520693, 3520495, 3520480, 3520446, 3519816, 3519815, 3519136, 3519132, 3518836, 3518795, 3517718, 3502378)
Date: 2024-12-14 00:11:52
Statement: update res_users set sid = 'ec4919813bd0921e5e75ea8f5916658c03f6e345', last_update = '2024-12-13 23:13:21.768768',exp_date = '2024-12-13 23:58:21.768771', logged_in = 'TRUE' where id = 1101
Date: 2024-12-14 00:13:21
2 4,731 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #2
Day Hour Count Dec 14 00 6 01 9 02 6 03 5 05 4 06 3 07 2 08 31 09 134 10 544 11 574 12 698 13 347 14 456 15 487 16 804 17 355 18 108 19 54 20 39 21 46 22 19 - ERROR: current transaction is aborted, commands ignored until end of transaction block
- ERROR: current transaction is aborted, commands ignored until end of transaction block
- ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT active, id, login, password, totp_secret, (SELECT value FROM ir_config_parameter WHERE key='database.secret') FROM res_users WHERE id=901
Date: 2024-12-14 00:03:30
Statement: SELECT active, id, login, password, totp_secret, (SELECT value FROM ir_config_parameter WHERE key='database.secret') FROM res_users WHERE id=1101
Date: 2024-12-14 00:13:21
Statement: SELECT active, id, login, password, totp_secret, (SELECT value FROM ir_config_parameter WHERE key='database.secret') FROM res_users WHERE id=2
Date: 2024-12-14 00:49:43
3 1,474 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Dec 14 09 75 10 159 11 239 12 289 13 37 14 65 15 209 16 359 17 42 4 1,474 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #4
Day Hour Count Dec 14 09 75 10 159 11 239 12 289 13 37 14 65 15 209 16 359 17 42 5 482 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #5
Day Hour Count Dec 14 09 24 10 67 11 86 12 72 13 30 14 32 15 50 16 97 17 23 21 1 6 225 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count Dec 14 09 12 10 38 11 41 12 27 13 13 14 18 15 25 16 40 17 11 7 83 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #7
Day Hour Count Dec 14 17 83 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Context: while updating tuple (51,9) in relation "res_users"
Statement: update res_users set sid = 'a72791316db7a860b66028157fad2768a9f829dc', last_update = '2024-12-14 16:19:39.204993',exp_date = '2024-12-14 17:04:39.204998', logged_in = 'TRUE' where id = 1075Date: 2024-12-14 17:20:06
Statement: update res_users set sid = 'a72791316db7a860b66028157fad2768a9f829dc', last_update = '2024-12-14 16:19:39.994756',exp_date = '2024-12-14 17:04:39.994761', logged_in = 'TRUE' where id = 1075
Date: 2024-12-14 17:20:06
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3429652)) AND (("shipping_track"."id" not in (27951624, 27951673, 27951676, 28191804, 28350597, 28350792, 28527873, 29192501, 29192501)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2024-12-14 17:20:06
8 28 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #8
Day Hour Count Dec 14 17 28 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (2160861)) AND (("shipping_track"."id" not in (17281524, 17283079, 17292266, 17333177, 17333285, 17812820, 18308992, 24718314, 24895423, 24995732, 29192270, 29192499, 29192499)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2024-12-14 17:20:06
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3570477)) AND (("shipping_track"."id" not in (29182791, 29192507, 29192507)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2024-12-14 17:20:06
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3419368)) AND (("shipping_track"."id" not in (27915956, 27916253, 27998179, 27998261, 27998315, 28058297, 28059104, 28144020, 28206545, 28208069, 29013857, 29192506, 29192506)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2024-12-14 17:20:06
9 22 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Dec 14 00 16 10 3 12 3 - FATAL: password authentication failed for user "postgres"
Detail: User "postgres" has no password assigned. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2024-12-14 00:08:12
10 15 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Dec 14 08 1 11 1 12 3 14 6 15 4 - ERROR: syntax error at or near ")" at character 159
- ERROR: syntax error at or near ")" at character 300
- ERROR: syntax error at or near ")" at character 426
Statement: select po.id,policy.name from cash_policy as po inner join policy_number as policy on policy.id=po.policy_id where policy.name in ('8983170',)
Date: 2024-12-14 08:59:08
Statement: select sum(total_shipping_price-collection_amount_receive-collection_amount_sender) FROM shipping_policy where collection_amount_sender+collection_amount_receive<total_shipping_price and id in (shipping.policy(3470619,), 0)
Date: 2024-12-14 11:15:14
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 ('9352252 9300932 9342736 9232931 9361391 9361767 9328430 9378533 9362336 9204632 9204073 9285089 9418533 9366649 9353987 9378593 9046580 9132308 9349398 472042 9367794 9240018 9192079 9312150 9244807 9308890 9332110 9313363 9341269 9187188 9337563 9277282 9301913 8484050',)
Date: 2024-12-14 12:29:36
11 15 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #11
Day Hour Count Dec 14 06 1 09 1 16 1 19 8 20 3 21 1 12 13 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #12
Day Hour Count Dec 14 10 2 11 1 12 4 13 1 14 4 18 1 - ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (5431889, null, 823, 823, null, سباسيفا, null, null, t, 2024-12-14 09:18:10.538336, 2024-12-14 09:18:10.538336, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-12-14 09:18:10.538336', 823, 'سباسيفا', '2024-12-14 09:18:10.538336', 823) RETURNING "id"Date: 2024-12-14 10:18:10
Detail: Failing row contains (5431891, null, 823, 823, null, زوكوليكشن, null, null, t, 2024-12-14 09:20:01.94951, 2024-12-14 09:20:01.94951, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-12-14 09:20:01.949510', 823, 'زوكوليكشن', '2024-12-14 09:20:01.949510', 823) RETURNING "id"Date: 2024-12-14 10:20:01
Detail: Failing row contains (5431893, null, 825, 825, null, قطونيل, null, null, t, 2024-12-14 10:04:31.426642, 2024-12-14 10:04:31.426642, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-12-14 10:04:31.426642', 825, 'قطونيل', '2024-12-14 10:04:31.426642', 825) RETURNING "id"Date: 2024-12-14 11:04:31
13 11 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #13
Day Hour Count Dec 14 11 4 13 1 14 1 15 2 16 1 17 1 19 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 2266454 waits for ShareLock on transaction 1905116; blocked by process 2266567. Process 2266567 waits for ShareLock on transaction 1905150; blocked by process 2266454. Process 2266454: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-12-14 10:05:20.863891', "write_uid" = 1113 WHERE id IN (3210518, 3210513, 3206845, 3192683, 3187582, 3187323, 3185373, 3182919, 3180894, 3178904, 3170626, 3166195, 3153592, 3153502, 3128259, 3074783, 3051757, 3038089, 2891096) Process 2266567: update shipping_policy set count_search=6 where id=2891096
Context: while updating tuple (79772,10) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-12-14 10:05:20.863891', "write_uid" = 1113 WHERE id IN (3210518, 3210513, 3206845, 3192683, 3187582, 3187323, 3185373, 3182919, 3180894, 3178904, 3170626, 3166195, 3153592, 3153502, 3128259, 3074783, 3051757, 3038089, 2891096)Date: 2024-12-14 11:05:22
Detail: Process 2464702 waits for ShareLock on transaction 1910647; blocked by process 2464617. Process 2464617 waits for ShareLock on transaction 1910775; blocked by process 2464702. Process 2464702: update shipping_policy set count_search=4 where id=3519256 Process 2464617: UPDATE "shipping_policy" SET "delegate_button" = false, "edit_cash_button" = true, "last_action" = '2024-12-14', "return_button" = false, "state" = 'in_office', "write_date" = '2024-12-14 10:32:31.361295', "write_uid" = 990 WHERE id IN (3513537, 3519256, 3521206, 3521526, 3522068, 3522228, 3523511, 3523540, 3523870, 3524487, 3525222, 3526231, 3527429, 3527553, 3528453, 3528470, 3528538, 3529571, 3530579, 3530852, 3531199, 3531563, 3531745, 3532421, 3532422, 3532444, 3532465, 3532560, 3532856, 3533519, 3533820, 3534313, 3535040, 3535871, 3536081, 3536778, 3537029, 3538390, 3541959, 3542131, 3542786, 3543455, 3543661, 3546443, 3548130, 3549681, 3549761, 3549777)
Context: while updating tuple (68042,29) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=4 where id=3519256Date: 2024-12-14 11:33:16
Detail: Process 2464665 waits for ShareLock on transaction 1910865; blocked by process 2464671. Process 2464671 waits for ShareLock on transaction 1910832; blocked by process 2464665. Process 2464665: update shipping_policy set count_search=4 where id=3329397 Process 2464671: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-12-14 10:33:22.282121', "write_uid" = 1080 WHERE id IN (3442350, 3442100, 3441460, 3441458, 3441449, 3441437, 3441406, 3440600, 3438680, 3438370, 3437101, 3436381, 3435125, 3432422, 3432266, 3431642, 3431447, 3430763, 3430356, 3430043, 3429922, 3429475, 3428570, 3428315, 3428020, 3428005, 3427925, 3426095, 3425813, 3425282, 3423030, 3422094, 3418961, 3418100, 3416588, 3415776, 3414954, 3412778, 3412486, 3411565, 3410656, 3410541, 3410271, 3408206, 3408076, 3401879, 3400640, 3377177, 3362442, 3329397, 3314038)
Context: while updating tuple (49380,32) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=4 where id=3329397Date: 2024-12-14 11:33:32
14 7 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #14
Day Hour Count Dec 14 17 7 - ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3419368)) AND (("shipping_track"."id" not in (27915956, 27916253, 27998179, 27998261, 27998315, 28058297, 28059104, 28144020, 28206545, 28208069, 29013857, 29192506, 29192506)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2024-12-14 17:20:06
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3570477)) AND (("shipping_track"."id" not in (29182791, 29192507, 29192507)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2024-12-14 17:20:06
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (2160861)) AND (("shipping_track"."id" not in (17281524, 17283079, 17292266, 17333177, 17333285, 17812820, 18308992, 24718314, 24895423, 24995732, 29192270, 29192499, 29192499)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2024-12-14 17:20:06
15 7 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #15
Day Hour Count Dec 14 17 7 16 6 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #16
Day Hour Count Dec 14 17 6 17 5 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #17
Day Hour Count Dec 14 14 3 15 2 - ERROR: invalid input syntax for type integer: "s" at character 4571
Statement: SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."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 ('s')
Date: 2024-12-14 14:58:37
18 2 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #18
Day Hour Count Dec 14 13 1 20 1 19 2 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #19
Day Hour Count Dec 14 13 1 20 1 20 2 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #20
Day Hour Count Dec 14 13 1 20 1 21 1 FATAL: unsupported frontend protocol 16.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #21
Day Hour Count Dec 14 11 1 22 1 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #22
Day Hour Count Dec 14 09 1 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (108146)
Date: 2024-12-14 09:50:31
23 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #23
Day Hour Count Dec 14 17 1 24 1 ERROR: incomplete startup packet
Times Reported Most Frequent Error / Event #24
Day Hour Count Dec 14 10 1