-
Global information
- Generated on Thu Dec 12 23:47:58 2024
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 76,695,113 log entries in 2m57s
- Log start from 2024-12-12 00:00:00 to 2024-12-12 22:45:01
-
Overview
Global Stats
- 24,325 Number of unique normalized queries
- 22,727,412 Number of queries
- 6d8h47m24s Total query duration
- 2024-12-12 00:00:00 First query
- 2024-12-12 22:45:01 Last query
- 9,037 queries/s at 2024-12-12 10:42:12 Query peak
- 6d8h47m24s Total query duration
- 1s133ms Prepare/parse total duration
- 45s794ms Bind total duration
- 6d8h46m37s Execute total duration
- 14,281 Number of events
- 22 Number of unique normalized events
- 5,848 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
- 22,727,412 Average queries per session
- 6d8h47m24s 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
- 9,037 queries/s Query Peak
- 2024-12-12 10:42:12 Date
SELECT Traffic
Key values
- 5,659 queries/s Query Peak
- 2024-12-12 10:42:12 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2,320 queries/s Query Peak
- 2024-12-12 10:42:12 Date
Queries duration
Key values
- 6d8h47m24s 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 12 00 545,200 0ms 47m53s 117ms 3m57s 4m32s 10h53m47s 01 360,309 0ms 31s521ms 13ms 2m27s 2m55s 3m24s 02 386,156 0ms 1m19s 16ms 3m33s 4m3s 4m17s 03 286,240 0ms 8s107ms 15ms 2m24s 3m19s 4m2s 04 245,499 0ms 997ms 12ms 1m45s 1m58s 3m48s 05 267,229 0ms 3s872ms 17ms 2m20s 2m33s 3m48s 06 307,995 0ms 757ms 16ms 3m4s 3m28s 4m11s 07 338,905 0ms 1s37ms 14ms 3m2s 3m23s 3m51s 08 584,773 0ms 3s254ms 8ms 2m24s 2m40s 3m14s 09 1,419,570 0ms 8m56s 25ms 38m58s 1h14m10s 1h59m10s 10 1,847,574 0ms 5m22s 14ms 7m28s 9m9s 1h4m20s 11 1,684,210 0ms 30m7s 25ms 6m2s 7m6s 5h18m12s 12 1,826,107 0ms 14m54s 23ms 8m5s 1h11m45s 2h47m16s 13 1,880,187 0ms 11m58s 32ms 53m19s 1h59m50s 2h53m30s 14 1,666,300 0ms 12m47s 26ms 35m14s 55m25s 3h18s 15 1,657,488 0ms 9m50s 27ms 24m57s 1h26m18s 2h44m51s 16 1,452,324 0ms 54m16s 37ms 8m16s 32m12s 9h7m58s 17 1,969,717 0ms 5m18s 11ms 8m18s 9m15s 53m47s 18 1,205,435 0ms 5s284ms 13ms 7m 7m51s 9m37s 19 912,571 0ms 6s103ms 15ms 5m35s 6m21s 7m1s 20 794,732 0ms 8s103ms 19ms 7m46s 8m26s 10m38s 21 680,009 0ms 23m48s 25ms 9m59s 12m13s 26m11s 22 408,882 0ms 5s19ms 18ms 4m39s 5m16s 6m9s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 12 00 345,670 0 23ms 3m11s 3m35s 3m56s 01 217,548 0 21ms 2m11s 2m27s 2m55s 02 236,694 0 27ms 2m56s 3m32s 4m10s 03 175,307 0 25ms 1m49s 2m24s 3m40s 04 154,421 0 19ms 1m14s 1m44s 2m22s 05 164,071 0 28ms 1m57s 2m19s 2m56s 06 190,884 0 27ms 2m16s 3m3s 4m7s 07 210,640 0 23ms 2m16s 3m1s 3m41s 08 361,251 0 13ms 2m11s 2m23s 3m7s 09 895,467 0 13ms 4m28s 5m42s 7m11s 10 1,121,988 0 16ms 6m52s 7m19s 9m3s 11 1,019,446 0 14ms 5m9s 5m46s 6m28s 12 1,128,216 0 15ms 6m25s 7m5s 8m3s 13 1,182,316 0 15ms 6m47s 7m48s 9m27s 14 1,043,151 0 11ms 4m17s 5m10s 7m22s 15 1,021,870 0 16ms 6m18s 7m24s 10m27s 16 876,079 0 17ms 6m8s 6m22s 8m15s 17 1,229,092 0 14ms 6m41s 7m35s 8m39s 18 717,828 0 22ms 5m53s 6m59s 7m56s 19 539,667 0 25ms 4m54s 5m34s 6m27s 20 471,590 0 32ms 6m37s 7m45s 9m24s 21 410,542 0 38ms 7m43s 9m44s 12m11s 22 249,424 0 31ms 3m38s 4m38s 6m7s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 12 00 39,781 8,484 199 0 1s147ms 226ms 284ms 2m15s 01 20,324 5,429 191 0 1ms 129ms 171ms 264ms 02 25,992 7,459 140 0 3ms 160ms 243ms 330ms 03 19,126 4,763 133 0 0ms 115ms 160ms 228ms 04 14,099 3,436 152 0 0ms 82ms 124ms 185ms 05 18,642 5,497 137 0 0ms 110ms 163ms 203ms 06 21,237 5,717 149 0 0ms 128ms 160ms 223ms 07 19,682 5,596 158 0 0ms 123ms 185ms 248ms 08 22,564 7,429 411 0 0ms 124ms 157ms 207ms 09 54,575 19,991 885 0 329ms 369ms 520ms 1h10m34s 10 82,990 28,170 1,133 0 64ms 505ms 602ms 1s279ms 11 73,954 24,541 669 0 289ms 414ms 516ms 1s344ms 12 77,005 25,610 949 0 249ms 457ms 555ms 1h5m46s 13 79,274 28,316 827 2 394ms 559ms 1s855ms 1h57m39s 14 60,879 22,941 594 0 378ms 388ms 553ms 54m16s 15 72,442 26,410 659 0 290ms 522ms 2s371ms 1h24m42s 16 69,848 23,802 579 0 405ms 428ms 622ms 30m38s 17 71,837 25,789 771 1 57ms 632ms 777ms 1m44s 18 75,403 22,066 724 0 0ms 484ms 582ms 751ms 19 60,295 18,063 764 0 0ms 358ms 438ms 502ms 20 70,633 18,106 637 0 0ms 392ms 568ms 742ms 21 58,539 21,279 385 0 19ms 432ms 557ms 6s737ms 22 35,743 6,201 239 0 0ms 229ms 327ms 670ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Dec 12 00 118 61,228 518.88 0.02% 01 118 61,228 518.88 0.04% 02 118 61,228 518.88 0.03% 03 118 61,228 518.88 0.05% 04 118 61,228 518.88 0.05% 05 118 61,228 518.88 0.05% 06 118 61,228 518.88 0.04% 07 118 61,228 518.88 0.04% 08 118 61,228 518.88 0.02% 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,310 490.17 0.01% 18 118 61,228 518.88 0.01% 19 118 61,228 518.88 0.01% 20 118 61,228 518.88 0.02% 21 118 61,228 518.88 0.02% 22 97 45,954 473.75 0.03% Day Hour Count Average / Second Dec 12 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s Day Hour Count Average Duration Average idle time Dec 12 00 0 0ms 0ms 01 0 0ms 0ms 02 0 0ms 0ms 03 0 0ms 0ms 04 0 0ms 0ms 05 0 0ms 0ms 06 0 0ms 0ms 07 0 0ms 0ms 08 0 0ms 0ms 09 0 0ms 0ms 10 0 0ms 0ms 11 0 0ms 0ms 12 0 0ms 0ms 13 0 0ms 0ms 14 0 0ms 0ms 15 0 0ms 0ms 16 0 0ms 0ms 17 0 0ms 0ms 18 0 0ms 0ms 19 0 0ms 0ms 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
- 353,432 buffers Checkpoint Peak
- 2024-12-12 13:01:22 Date
- 270.055 seconds Highest write time
- 0.078 seconds Sync time
Checkpoints Wal files
Key values
- 159 files Wal files usage Peak
- 2024-12-12 13:01:22 Date
Checkpoints distance
Key values
- 5,090.27 Mo Distance Peak
- 2024-12-12 13:01:22 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Dec 12 00 161,795 3,239.585s 0.037s 3,239.667s 01 154,493 3,239.507s 0.034s 3,239.589s 02 150,299 3,239.652s 0.036s 3,239.74s 03 124,050 3,239.591s 0.034s 3,239.666s 04 100,007 3,199.483s 0.028s 3,199.559s 05 124,303 3,239.597s 0.033s 3,239.666s 06 161,451 3,239.626s 0.026s 3,239.703s 07 157,719 3,239.528s 0.027s 3,239.603s 08 168,143 3,239.628s 0.038s 3,239.718s 09 365,964 3,239.475s 0.047s 3,239.599s 10 574,872 3,239.554s 0.067s 3,239.707s 11 564,654 3,239.455s 0.047s 3,239.594s 12 555,110 3,239.539s 0.064s 3,239.725s 13 884,241 3,239.26s 0.077s 3,239.557s 14 457,629 3,239.506s 0.047s 3,239.651s 15 471,864 3,239.506s 0.057s 3,239.649s 16 705,671 3,239.434s 0.137s 3,239.67s 17 463,583 2,895.256s 0.139s 2,895.61s 18 435,897 3,239.534s 0.051s 3,239.664s 19 317,835 3,239.497s 0.055s 3,239.619s 20 329,902 3,239.506s 0.049s 3,239.623s 21 253,400 3,239.595s 0.044s 3,239.698s 22 192,372 2,429.629s 0.029s 2,429.713s Day Hour Added Removed Recycled Synced files Longest sync Average sync Dec 12 00 0 0 68 3,804 0.002s 0.012s 01 0 0 66 3,546 0.002s 0.012s 02 0 0 67 3,245 0.003s 0.012s 03 0 0 57 2,643 0.006s 0.012s 04 0 0 44 2,704 0.002s 0.012s 05 0 0 55 2,590 0.002s 0.012s 06 0 0 74 2,516 0.002s 0.012s 07 0 0 70 2,676 0.002s 0.012s 08 0 0 67 3,857 0.005s 0.012s 09 0 0 154 4,892 0.004s 0.012s 10 0 0 247 5,251 0.002s 0.012s 11 0 0 245 5,193 0.003s 0.012s 12 0 15 227 5,166 0.004s 0.012s 13 0 44 351 5,358 0.004s 0.012s 14 0 9 192 5,271 0.003s 0.012s 15 0 0 204 5,470 0.003s 0.012s 16 0 0 302 5,546 0.013s 0.012s 17 0 3 178 5,507 0.043s 0.012s 18 0 0 171 5,553 0.002s 0.012s 19 0 0 126 5,242 0.002s 0.012s 20 0 0 135 5,065 0.002s 0.012s 21 0 0 102 5,119 0.002s 0.012s 22 0 0 79 3,427 0.002s 0.009s Day Hour Count Avg time (sec) Dec 12 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Dec 12 00 93,858.83 kB 127,966.92 kB 01 89,406.92 kB 137,665.50 kB 02 91,389.92 kB 128,614.50 kB 03 77,920.67 kB 110,773.25 kB 04 59,773.36 kB 90,567.18 kB 05 76,109.67 kB 103,828.67 kB 06 100,904.00 kB 200,837.25 kB 07 95,138.08 kB 145,281.75 kB 08 91,838.17 kB 137,613.75 kB 09 195,518.45 kB 226,574.45 kB 10 343,886.20 kB 382,575.30 kB 11 333,471.58 kB 362,878.58 kB 12 331,206.73 kB 397,576.00 kB 13 539,519.83 kB 1,698,978.25 kB 14 270,416.64 kB 705,877.55 kB 15 286,676.45 kB 382,619.73 kB 16 412,277.17 kB 597,793.00 kB 17 246,943.58 kB 785,652.17 kB 18 232,701.75 kB 294,704.67 kB 19 172,640.17 kB 234,913.08 kB 20 184,456.58 kB 215,571.58 kB 21 138,761.75 kB 194,830.17 kB 22 144,785.89 kB 190,007.11 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Dec 12 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 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 12 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 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
- 13,963,162 Total read queries
- 6,018,986 Total write queries
Queries by database
Key values
- unknown Main database
- 22,727,412 Requests
- 6d8h46m37s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 22,727,412 Requests
User Request type Count Duration unknown Total 22,727,412 6d8h46m37s copy from 3 12ms cte 111,293 1m3s ddl 2,963 420ms delete 11,485 1s544ms insert 1,144,864 5m50s others 2,745,263 2m11s select 13,963,162 2d23h36m29s tcl 4,383,283 3m7s update 365,095 3d8h57m53s Duration by user
Key values
- 6d8h46m37s (unknown) Main time consuming user
User Request type Count Duration unknown Total 22,727,412 6d8h46m37s copy from 3 12ms cte 111,293 1m3s ddl 2,963 420ms delete 11,485 1s544ms insert 1,144,864 5m50s others 2,745,263 2m11s select 13,963,162 2d23h36m29s tcl 4,383,283 3m7s update 365,095 3d8h57m53s Queries by host
Key values
- unknown Main host
- 22,727,412 Requests
- 6d8h46m37s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 22,727,412 Requests
- 6d8h46m37s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-12-12 14:10:39 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 21,133,883 0-1ms duration
Slowest individual queries
Rank Duration Query 1 54m16s update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:04:04.500455', exp_date = '2024-12-12 15:49:04.500458', logged_in = 'TRUE' where id = 1036;[ Date: 2024-12-12 16:58:21 ]
2 54m16s update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:04:04.500443', exp_date = '2024-12-12 15:49:04.500447', logged_in = 'TRUE' where id = 1036;[ Date: 2024-12-12 16:58:21 ]
3 53m13s update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:05:08.216357', exp_date = '2024-12-12 15:50:08.216360', logged_in = 'TRUE' where id = 1036;[ Date: 2024-12-12 16:58:21 ]
4 53m12s update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:05:09.013387', exp_date = '2024-12-12 15:50:09.013391', logged_in = 'TRUE' where id = 1036;[ Date: 2024-12-12 16:58:21 ]
5 53m6s update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:05:14.861588', exp_date = '2024-12-12 15:50:14.861593', logged_in = 'TRUE' where id = 1036;[ Date: 2024-12-12 16:58:21 ]
6 53m4s update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:05:16.629210', exp_date = '2024-12-12 15:50:16.629213', logged_in = 'TRUE' where id = 1036;[ Date: 2024-12-12 16:58:21 ]
7 53m3s update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:05:17.490993', exp_date = '2024-12-12 15:50:17.490996', logged_in = 'TRUE' where id = 1036;[ Date: 2024-12-12 16:58:21 ]
8 47m53s update res_users set sid = '3fe7776bc4a37aed19b9715e9b22c683509cde5f', last_update = '2024-12-11 22:41:26.754410', exp_date = '2024-12-11 23:26:26.754413', logged_in = 'TRUE' where id = 883;[ Date: 2024-12-12 00:29:20 ]
9 47m53s update res_users set sid = '3fe7776bc4a37aed19b9715e9b22c683509cde5f', last_update = '2024-12-11 22:41:26.754282', exp_date = '2024-12-11 23:26:26.754285', logged_in = 'TRUE' where id = 883;[ Date: 2024-12-12 00:29:20 ]
10 47m45s update res_users set sid = '3fe7776bc4a37aed19b9715e9b22c683509cde5f', last_update = '2024-12-11 22:41:34.858119', exp_date = '2024-12-11 23:26:34.858122', logged_in = 'TRUE' where id = 883;[ Date: 2024-12-12 00:29:20 ]
11 42m57s update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:15:23.707271', exp_date = '2024-12-12 16:00:23.707275', logged_in = 'TRUE' where id = 1036;[ Date: 2024-12-12 16:58:21 ]
12 40m12s UPDATE res_users SET password = '$pbkdf2-sha512HpvzZmTkhKC0FqrVarVGg$IBvIdxweuuM7ioFUUaTlQtMiQQgTOFVg1PCjg4z3vRl1TUGZhl5M1s/ldDLCV7uWy2pDQJOhyp316qAXByqFZQ' WHERE id = 883;[ Date: 2024-12-12 00:29:20 ]
13 40m11s update res_users set sid = '1e53dd3a148ba5ba444f07aaabbc6fe0cccee6fe', last_update = '2024-12-11 22:49:08.743382', exp_date = '2024-12-11 23:34:08.743384', logged_in = 'TRUE' where id = 883;[ Date: 2024-12-12 00:29:20 ]
14 39m50s UPDATE res_users SET password = '$pbkdf2-sha512$CIEQgrCWck6pdW7NubcWog$cOea6S5DLiHa99yNi/ayit7twuaEpyO7FLzRphzfA1buvzd1tchfZ5D7q0jx7JgGBbRyQX9rUFR4eXBtOChr9g' WHERE id = 883;[ Date: 2024-12-12 00:29:20 ]
15 39m41s update res_users set sid = '1e53dd3a148ba5ba444f07aaabbc6fe0cccee6fe', last_update = '2024-12-11 22:49:39.275370', exp_date = '2024-12-11 23:34:39.275374', logged_in = 'TRUE' where id = 883;[ Date: 2024-12-12 00:29:20 ]
16 37m25s UPDATE "res_users" SET "exp_date" = '2024-12-11 23:36:55.079488', "last_update" = '2024-12-11 22:51:55.079513', "sid" = '23140f83f24adb4dbff8b9b80e83903de5d7812b', "write_date" = '2024-12-11 22:51:54.720594', "write_uid" = 1 WHERE id IN (883);[ Date: 2024-12-12 00:29:20 ]
17 36m34s UPDATE res_users SET password = '$pbkdf2-sha512$wlhrjXGuVeq9d05Jac35Xw$UMKkCXdeq3weRNd/..da7KErrZ.ck7yZLZwupPja5vEIZj28QcIMLnsbnyKiSb.WWeUjK.9YBTWYZSvTxzhjZQ' WHERE id = 883;[ Date: 2024-12-12 00:29:20 ]
18 35m13s update res_users set sid = '1e53dd3a148ba5ba444f07aaabbc6fe0cccee6fe', last_update = '2024-12-11 22:54:07.232726', exp_date = '2024-12-11 23:39:07.232728', logged_in = 'TRUE' where id = 883;[ Date: 2024-12-12 00:29:20 ]
19 31m4s update res_users set sid = '1e53dd3a148ba5ba444f07aaabbc6fe0cccee6fe', last_update = '2024-12-11 22:58:16.495693', exp_date = '2024-12-11 23:43:16.495698', logged_in = 'TRUE' where id = 883;[ Date: 2024-12-12 00:29:20 ]
20 31m3s update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:27:18.186612', exp_date = '2024-12-12 16:12:18.186616', logged_in = 'TRUE' where id = 1036;[ Date: 2024-12-12 16:58:21 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 3d2h9m59s 90,404 0ms 54m16s 2s953ms 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 12 00 1,164 10h12m44s 31s584ms 01 870 10s578ms 12ms 02 975 1m45s 108ms 03 685 8s252ms 12ms 04 608 199ms 0ms 05 709 148ms 0ms 06 812 177ms 0ms 07 894 193ms 0ms 08 2,248 470ms 0ms 09 6,720 6h38m11s 3s555ms 10 9,403 1h52m32s 718ms 11 8,248 7h58m34s 3s481ms 12 8,251 7h10m5s 3s127ms 13 8,827 11h29m19s 4s685ms 14 8,216 8h37m43s 3s780ms 15 7,596 7h58m53s 3s782ms 16 6,226 10h36m52s 6s137ms 17 5,528 1h31m47s 996ms 18 4,508 1s119ms 0ms 19 2,802 661ms 0ms 20 2,392 8s668ms 3ms 21 1,788 55s684ms 31ms 22 934 215ms 0ms -
update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:04:04.500455', exp_date = '2024-12-12 15:49:04.500458', logged_in = 'TRUE' where id = 1036;
Date: 2024-12-12 16:58:21 Duration: 54m16s
-
update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:04:04.500443', exp_date = '2024-12-12 15:49:04.500447', logged_in = 'TRUE' where id = 1036;
Date: 2024-12-12 16:58:21 Duration: 54m16s
-
update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:05:08.216357', exp_date = '2024-12-12 15:50:08.216360', logged_in = 'TRUE' where id = 1036;
Date: 2024-12-12 16:58:21 Duration: 53m13s
2 1d9h35m31s 280,023 355ms 2s386ms 431ms 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 12 00 10,214 1h10m27s 413ms 01 6,610 43m28s 394ms 02 8,079 54m58s 408ms 03 6,835 45m50s 402ms 04 4,861 32m19s 398ms 05 6,899 45m55s 399ms 06 7,154 47m23s 397ms 07 7,212 48m6s 400ms 08 6,559 43m18s 396ms 09 13,456 1h35m29s 425ms 10 20,463 2h34m1s 451ms 11 15,395 1h51m33s 434ms 12 16,830 2h4m52s 445ms 13 16,950 2h4m17s 439ms 14 12,156 1h25m38s 422ms 15 14,730 1h49m23s 445ms 16 16,344 1h57m40s 431ms 17 15,973 2h58s 454ms 18 17,890 2h13m46s 448ms 19 14,593 1h45m38s 434ms 20 17,269 2h9m11s 448ms 21 11,743 1h28m36s 452ms 22 11,808 1h22m37s 419ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3495738)) AND (("shipping_track"."id" not in (28488682, 28489866, 28490413, 28573001, 28573132, 28670544, 28671057, 28671057)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:42 Duration: 2s386ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3452070)) AND (("shipping_track"."id" not in (28176684, 28180052, 28238367, 28283980, 28284171, 28357496, 28375011, 28375133, 28375224, 28375438, 28489713, 28669946, 28671143, 28671143)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:48 Duration: 1s264ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (2941705)) AND (("shipping_track"."id" not in (23889395, 23889644, 23904482, 24020618, 24020744, 24125214, 24125335, 24133498, 24259054, 24452874, 24453043, 24453371, 24473339, 28671044, 28671044)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:40 Duration: 1s51ms
3 9h50m12s 153,201 176ms 747ms 231ms 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 12 00 2,332 8m10s 210ms 01 2,378 8m17s 209ms 02 2,541 8m52s 209ms 03 1,420 4m59s 211ms 04 911 3m10s 208ms 05 2,335 8m5s 207ms 06 3,941 13m47s 210ms 07 3,053 10m44s 210ms 08 3,037 10m41s 211ms 09 6,390 24m11s 227ms 10 10,241 40m57s 239ms 11 9,233 35m54s 233ms 12 9,951 38m50s 234ms 13 12,236 49m8s 240ms 14 6,377 23m53s 224ms 15 15,707 1h3m14s 241ms 16 12,414 48m1s 232ms 17 12,920 49m32s 230ms 18 3,983 14m21s 216ms 19 6,667 23m36s 212ms 20 4,629 16m18s 211ms 21 19,685 1h22m35s 251ms 22 820 2m47s 204ms -
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" = '8966451')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-12 13:28:41 Duration: 747ms
-
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" = '9272944')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-12 15:50:47 Duration: 728ms
-
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" = '8925432')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-12 13:28:40 Duration: 615ms
4 6h12m59s 50,262 355ms 3s188ms 445ms 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 12 00 768 5m15s 410ms 01 572 3m52s 406ms 02 394 2m46s 421ms 03 351 2m27s 421ms 04 355 2m25s 409ms 05 249 1m47s 430ms 06 218 1m33s 427ms 07 257 1m47s 420ms 08 1,068 7m13s 406ms 09 3,784 27m31s 436ms 10 5,475 42m2s 460ms 11 3,705 27m45s 449ms 12 4,480 34m24s 460ms 13 3,854 29m31s 459ms 14 3,108 22m13s 429ms 15 3,229 24m45s 459ms 16 3,004 22m6s 441ms 17 3,380 25m57s 460ms 18 3,418 25m28s 447ms 19 3,249 23m14s 429ms 20 2,841 20m21s 429ms 21 1,725 12m59s 451ms 22 778 5m28s 421ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3503915, 3502596, 3495738, 3483215, 3481933, 3481418, 3464894, 3459616)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:38 Duration: 3s188ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3395542)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:39 Duration: 2s683ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3408863)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 17:22:01 Duration: 1s294ms
5 3h57m5s 60,898 91ms 851ms 233ms 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 12 00 6,076 19m24s 191ms 01 998 3m3s 183ms 02 3,138 10m47s 206ms 03 1,848 6m34s 213ms 04 1,320 4m14s 193ms 05 1,786 6m33s 220ms 06 1,080 3m57s 219ms 07 1,632 6m12s 228ms 08 597 2m12s 221ms 09 350 1m23s 239ms 10 572 2m30s 263ms 11 304 1m17s 254ms 12 296 1m10s 239ms 13 512 2m9s 252ms 14 1,394 5m29s 236ms 15 2,435 10m27s 257ms 16 2,228 8m36s 231ms 17 4,694 19m54s 254ms 18 6,414 27m15s 255ms 19 5,336 21m53s 246ms 20 7,392 30m22s 246ms 21 6,852 27m32s 241ms 22 3,644 14m3s 231ms -
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-12 17:51:42 Duration: 851ms
-
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-12 18:34:52 Duration: 849ms
-
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-12 17:51:42 Duration: 846ms
6 3h50m28s 15 0ms 40m12s 15m21s update res_users set password = ? where id = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 12 00 10 3h50m28s 23m2s 09 1 0ms 0ms 13 2 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms -
UPDATE res_users SET password = '$pbkdf2-sha512HpvzZmTkhKC0FqrVarVGg$IBvIdxweuuM7ioFUUaTlQtMiQQgTOFVg1PCjg4z3vRl1TUGZhl5M1s/ldDLCV7uWy2pDQJOhyp316qAXByqFZQ' WHERE id = 883;
Date: 2024-12-12 00:29:20 Duration: 40m12s
-
UPDATE res_users SET password = '$pbkdf2-sha512$CIEQgrCWck6pdW7NubcWog$cOea6S5DLiHa99yNi/ayit7twuaEpyO7FLzRphzfA1buvzd1tchfZ5D7q0jx7JgGBbRyQX9rUFR4eXBtOChr9g' WHERE id = 883;
Date: 2024-12-12 00:29:20 Duration: 39m50s
-
UPDATE res_users SET password = '$pbkdf2-sha512$wlhrjXGuVeq9d05Jac35Xw$UMKkCXdeq3weRNd/..da7KErrZ.ck7yZLZwupPja5vEIZj28QcIMLnsbnyKiSb.WWeUjK.9YBTWYZSvTxzhjZQ' WHERE id = 883;
Date: 2024-12-12 00:29:20 Duration: 36m34s
7 2h50m45s 377 0ms 37m25s 27s175ms update "res_users" set "exp_date" = ?, "last_update" = ?, "sid" = ?, "write_date" = ?, "write_uid" = ? where id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 12 00 14 1h22m26s 5m53s 01 4 5ms 1ms 02 2 2ms 1ms 04 2 1ms 0ms 05 2 0ms 0ms 06 4 2ms 0ms 07 7 2ms 0ms 08 10 2ms 0ms 09 41 16m17s 23s844ms 10 46 8m10s 10s655ms 11 26 35ms 1ms 12 25 33ms 1ms 13 46 22m5s 28s815ms 14 33 14m34s 26s507ms 15 29 1m45s 3s654ms 16 21 20ms 0ms 17 16 1m35s 5s982ms 18 17 7ms 0ms 19 8 3ms 0ms 20 12 2ms 0ms 21 7 23m48s 3m24s 22 5 1ms 0ms -
UPDATE "res_users" SET "exp_date" = '2024-12-11 23:36:55.079488', "last_update" = '2024-12-11 22:51:55.079513', "sid" = '23140f83f24adb4dbff8b9b80e83903de5d7812b', "write_date" = '2024-12-11 22:51:54.720594', "write_uid" = 1 WHERE id IN (883);
Date: 2024-12-12 00:29:20 Duration: 37m25s
-
UPDATE "res_users" SET "exp_date" = '2024-12-12 21:20:32.028969', "last_update" = '2024-12-12 20:35:32.028992', "sid" = 'bbcc6cf0f485b8492503d92cc5e0e10ca3f9a29c', "write_date" = '2024-12-12 20:35:31.699732', "write_uid" = 1 WHERE id IN (874);
Date: 2024-12-12 21:59:20 Duration: 23m48s
-
UPDATE "res_users" SET "exp_date" = '2024-12-12 00:18:04.232140', "last_update" = '2024-12-11 23:33:04.232195', "sid" = 'a84bbf364d0d9c6f3f56034f7375c9d0389eab09', "write_date" = '2024-12-11 23:33:03.881943', "write_uid" = 1 WHERE id IN (1210);
Date: 2024-12-12 00:43:21 Duration: 10m16s
8 2h45m13s 35,305 189ms 576ms 280ms 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 12 07 693 2m53s 250ms 08 693 2m55s 252ms 09 2,120 9m34s 271ms 10 4,272 20m58s 294ms 11 3,558 16m22s 276ms 12 4,983 23m7s 278ms 13 5,729 27m35s 289ms 14 1,717 7m49s 273ms 15 3,114 14m51s 286ms 16 2,830 13m19s 282ms 17 3,400 15m44s 277ms 18 1,453 6m38s 274ms 19 743 3m21s 271ms -
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" = '8954229')))) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:42 Duration: 576ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '8985090')))) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:31 Duration: 528ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '8985095')))) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:30 Duration: 518ms
9 2h36m40s 9,244 270ms 1s530ms 1s16ms 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 #9
Day Hour Count Duration Avg duration Dec 12 00 896 14m25s 965ms 01 326 5m14s 966ms 02 424 6m53s 974ms 03 41 40s617ms 990ms 04 5 4s894ms 978ms 07 2 2s33ms 1s16ms 09 85 1m25s 1s1ms 10 12 14s477ms 1s206ms 12 54 53s203ms 985ms 13 80 1m23s 1s39ms 14 174 2m50s 982ms 15 401 6m57s 1s40ms 16 481 8m9s 1s17ms 17 872 15m48s 1s87ms 18 864 15m9s 1s52ms 19 799 13m22s 1s4ms 20 1,693 29m9s 1s33ms 21 1,593 26m45s 1s8ms 22 442 7m9s 972ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9240442')) 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 (19))))))) 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 (19)))))) 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 (19)))))) 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 (19))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-12 21:46:40 Duration: 1s530ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9176248')) 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 (19))))))) 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 (19)))))) 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 (19)))))) 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 (19))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-12 21:45:59 Duration: 1s512ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9321890')) 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 (19))))))) 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 (19)))))) 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 (19)))))) 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 (19))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-12 21:46:02 Duration: 1s490ms
10 1h52m33s 21,643 220ms 567ms 312ms 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 #10
Day Hour Count Duration Avg duration Dec 12 00 2,174 10m28s 288ms 01 181 53s625ms 296ms 02 1,171 5m52s 301ms 03 895 4m25s 296ms 04 691 3m24s 295ms 05 898 4m24s 294ms 06 545 2m42s 298ms 07 817 4m5s 300ms 08 300 1m29s 299ms 09 94 30s275ms 322ms 10 294 1m38s 336ms 11 155 51s146ms 329ms 12 98 34s320ms 350ms 13 184 1m2s 340ms 14 550 3m3s 333ms 15 827 4m40s 339ms 16 645 3m34s 333ms 17 1,507 8m23s 333ms 18 2,386 12m38s 317ms 19 1,901 10m 315ms 20 2,039 11m1s 324ms 21 1,876 9m52s 315ms 22 1,415 6m56s 294ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9352308')) 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-12 21:46:07 Duration: 567ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9351455')) 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-12 21:46:30 Duration: 542ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9366164')) 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-12 15:58:38 Duration: 520ms
11 1h51m56s 167,271 28ms 183ms 40ms 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 #11
Day Hour Count Duration Avg duration Dec 12 00 3,930 2m29s 37ms 01 2,339 1m28s 37ms 02 3,279 2m3s 37ms 03 2,333 1m28s 38ms 04 1,566 59s20ms 37ms 05 1,771 1m7s 37ms 06 2,490 1m31s 36ms 07 1,909 1m11s 37ms 08 3,508 2m10s 37ms 09 9,290 6m8s 39ms 10 13,944 9m43s 41ms 11 13,002 8m44s 40ms 12 13,779 9m27s 41ms 13 14,771 10m17s 41ms 14 10,183 6m48s 40ms 15 12,369 8m36s 41ms 16 8,771 5m59s 40ms 17 10,489 7m10s 41ms 18 9,934 6m35s 39ms 19 9,514 6m7s 38ms 20 9,700 6m20s 39ms 21 5,947 3m52s 39ms 22 2,453 1m32s 37ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3336056)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-12 13:28:31 Duration: 183ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3438049)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-12 13:28:38 Duration: 160ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2887026)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-12 13:28:47 Duration: 122ms
12 52m50s 71,882 32ms 137ms 44ms 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 #12
Day Hour Count Duration Avg duration Dec 12 00 126 5s156ms 40ms 01 188 7s198ms 38ms 02 35 1s394ms 39ms 03 39 1s561ms 40ms 04 20 801ms 40ms 05 26 1s44ms 40ms 06 18 730ms 40ms 07 100 3s987ms 39ms 08 2,861 1m51s 39ms 09 3,263 2m16s 41ms 10 6,382 4m44s 44ms 11 7,343 5m11s 42ms 12 8,217 5m58s 43ms 13 11,956 8m42s 43ms 14 5,917 4m11s 42ms 15 6,201 4m31s 43ms 16 4,532 3m17s 43ms 17 7,493 6m 48ms 18 3,016 2m24s 47ms 19 3,250 2m35s 47ms 20 457 22s495ms 49ms 21 303 14s860ms 49ms 22 139 6s632ms 47ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2965569) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:28 Duration: 137ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2879060) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:39 Duration: 111ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2872668) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:40 Duration: 104ms
13 48m57s 13,215 180ms 348ms 222ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 12 00 160 33s303ms 208ms 01 347 1m12s 209ms 02 490 1m42s 209ms 03 243 51s525ms 212ms 04 84 17s354ms 206ms 05 761 2m37s 207ms 06 1,212 4m14s 209ms 07 485 1m42s 210ms 08 925 3m15s 211ms 09 1,423 5m19s 224ms 10 619 2m26s 237ms 11 703 2m52s 245ms 12 770 2m58s 232ms 13 898 3m27s 231ms 14 910 3m23s 224ms 15 884 3m25s 232ms 16 704 2m39s 226ms 17 733 2m47s 229ms 18 372 1m22s 222ms 19 279 58s388ms 209ms 20 131 27s331ms 208ms 21 62 15s160ms 244ms 22 20 4s84ms 204ms -
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" = '9109691')) 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 (30)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) 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-12 10:56:12 Duration: 348ms
-
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" = '9233168')) 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-12 11:51:41 Duration: 326ms
-
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" = '9333310')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-12 11:55:13 Duration: 326ms
14 40m1s 11,459 185ms 264ms 209ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 12 00 544 1m53s 209ms 01 2,031 7m4s 209ms 02 2,040 7m7s 209ms 03 1,177 4m8s 211ms 04 805 2m48s 208ms 05 1,296 4m30s 208ms 06 2,471 8m39s 210ms 07 944 3m18s 209ms 08 151 31s142ms 206ms -
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" = '9369972')) 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-12 03:02:02 Duration: 264ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9369832')) 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-12 03:02:05 Duration: 264ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9369956')) 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-12 03:02:04 Duration: 259ms
15 35m52s 22,652 74ms 293ms 95ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 12 00 110 9s505ms 86ms 01 80 7s33ms 87ms 02 58 4s957ms 85ms 07 57 4s805ms 84ms 08 187 16s918ms 90ms 09 1,175 1m50s 94ms 10 2,273 3m48s 100ms 11 2,524 3m58s 94ms 12 2,574 4m6s 95ms 13 2,831 4m36s 97ms 14 2,521 3m49s 91ms 15 1,453 2m17s 94ms 16 1,798 2m48s 93ms 17 1,168 1m56s 99ms 18 1,370 2m6s 92ms 19 751 1m10s 94ms 20 906 1m22s 91ms 21 504 48s189ms 95ms 22 312 27s819ms 89ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7763577)) AND (("cash_track"."id" not in (5320002, 5337901, 5370896, 5485131, 5642688, 5642693, 5642693)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-12 13:28:35 Duration: 293ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7763475)) AND (("cash_track"."id" not in (5319638, 5337920, 5370972, 5485140, 5642689, 5642694, 5642694)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-12 13:28:35 Duration: 271ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7808436)) AND (("cash_track"."id" not in (5642702)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-12 13:28:46 Duration: 205ms
16 20m43s 31,228 28ms 77ms 39ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 12 07 1 37ms 37ms 08 1,351 48s516ms 35ms 09 1,331 50s620ms 38ms 10 3,364 2m13s 39ms 11 3,483 2m14s 38ms 12 3,852 2m32s 39ms 13 5,564 3m41s 39ms 14 2,228 1m23s 37ms 15 2,846 1m52s 39ms 16 2,024 1m18s 38ms 17 3,128 2m16s 43ms 18 1,313 59s469ms 45ms 19 743 31s898ms 42ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2932133) ORDER BY "collection_policy"."id";
Date: 2024-12-12 17:51:24 Duration: 77ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2872668) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:35 Duration: 74ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2903625) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:38:37 Duration: 69ms
17 19m41s 5,172 177ms 412ms 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" = ?)) 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 #17
Day Hour Count Duration Avg duration Dec 12 02 11 2s289ms 208ms 05 90 18s654ms 207ms 06 258 54s905ms 212ms 07 238 49s869ms 209ms 08 256 54s407ms 212ms 09 522 1m51s 213ms 10 342 1m23s 243ms 11 320 1m16s 240ms 12 225 51s629ms 229ms 13 1,136 4m35s 242ms 14 563 2m9s 230ms 15 498 1m53s 227ms 16 324 1m13s 226ms 17 343 1m16s 223ms 18 39 8s180ms 209ms 21 7 1s302ms 186ms -
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" = '8713260')) 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-12 13:28:39 Duration: 412ms
-
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" = '9006513')) 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-12 13:28:27 Duration: 402ms
-
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" = '8977413')) 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-12 13:28:31 Duration: 388ms
18 16m17s 277 454ms 4s955ms 3s528ms 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 #18
Day Hour Count Duration Avg duration Dec 12 02 8 25s586ms 3s198ms 08 2 6s345ms 3s172ms 09 21 1m10s 3s358ms 10 14 54s45ms 3s860ms 11 14 49s172ms 3s512ms 12 18 1m8s 3s805ms 13 8 30s491ms 3s811ms 14 7 23s764ms 3s394ms 15 12 44s176ms 3s681ms 16 56 3m22s 3s611ms 17 14 52s145ms 3s724ms 18 29 1m43s 3s568ms 19 14 48s128ms 3s437ms 20 16 54s118ms 3s382ms 21 39 2m7s 3s276ms 22 5 16s934ms 3s386ms -
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 (24))))))) 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 (24)))))) 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 (24)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) 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 (24))))))))) 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 (24)))))))) AND ("policy_number"."name"::text ilike '%8610887%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-12 15:50:43 Duration: 4s955ms
-
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 (121))))))) 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 (121)))))) 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 (121)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (121)))))) 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 (121))))))))) 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 (121)))))))) AND ("policy_number"."name"::text ilike '%91310%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-12 10:53:53 Duration: 4s572ms
-
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 (8))))))) 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 (8)))))) 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 (8)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (8)))))) 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 (8))))))))) 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 (8)))))))) AND ("policy_number"."name"::text ilike '%9279398%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-12 10:19:23 Duration: 4s455ms
19 16m12s 3,464 223ms 435ms 280ms 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 #19
Day Hour Count Duration Avg duration Dec 12 10 103 31s452ms 305ms 11 298 1m26s 289ms 12 165 44s393ms 269ms 13 896 4m17s 287ms 14 728 3m23s 279ms 15 498 2m16s 274ms 16 324 1m28s 272ms 17 391 1m48s 278ms 18 61 15s491ms 253ms -
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" = '8963532') 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-12 13:28:28 Duration: 435ms
-
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" = '8632625') 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-12 13:28:30 Duration: 427ms
-
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" = '8941217') 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-12 13:28:31 Duration: 418ms
20 15m54s 6,411 119ms 773ms 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 12 00 39 5s156ms 132ms 01 18 2s353ms 130ms 02 76 9s881ms 130ms 08 20 2s681ms 134ms 09 503 1m12s 143ms 10 941 2m25s 154ms 11 862 2m7s 147ms 12 1,076 2m42s 151ms 13 943 2m23s 152ms 14 385 55s731ms 144ms 15 443 1m7s 152ms 16 245 36s103ms 147ms 17 186 28s557ms 153ms 18 290 42s366ms 146ms 19 81 11s624ms 143ms 20 176 24s238ms 137ms 21 106 14s612ms 137ms 22 21 2s759ms 131ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 32)) 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-12 13:28:28 Duration: 773ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 9)) 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-12 13:28:52 Duration: 279ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 9)) 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-12 13:28:30 Duration: 253ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,743,552 2m11s 0ms 2ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 12 00 56,857 2s357ms 0ms 01 45,139 1s885ms 0ms 02 44,147 1s906ms 0ms 03 33,134 1s384ms 0ms 04 27,173 1s156ms 0ms 05 28,939 1s304ms 0ms 06 32,725 1s540ms 0ms 07 37,337 1s849ms 0ms 08 72,271 3s462ms 0ms 09 165,931 7s199ms 0ms 10 228,309 11s493ms 0ms 11 214,719 10s20ms 0ms 12 225,461 9s866ms 0ms 13 224,402 9s575ms 0ms 14 207,045 8s551ms 0ms 15 206,415 8s933ms 0ms 16 188,662 9s177ms 0ms 17 234,621 11s842ms 0ms 18 148,305 9s54ms 0ms 19 113,474 6s722ms 0ms 20 90,549 5s323ms 0ms 21 72,816 4s371ms 0ms 22 45,121 2s721ms 0ms -
DISCARD ALL;
Date: 2024-12-12 14:33:01 Duration: 2ms
-
DISCARD ALL;
Date: 2024-12-12 15:48:12 Duration: 2ms
-
DISCARD ALL;
Date: 2024-12-12 19:47:40 Duration: 1ms
2 2,192,360 31s190ms 0ms 1ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 12 00 44,936 612ms 0ms 01 33,895 478ms 0ms 02 33,982 493ms 0ms 03 25,044 367ms 0ms 04 21,268 319ms 0ms 05 23,151 363ms 0ms 06 26,811 418ms 0ms 07 30,923 476ms 0ms 08 58,493 830ms 0ms 09 137,794 1s838ms 0ms 10 189,537 2s701ms 0ms 11 172,498 2s315ms 0ms 12 180,883 2s389ms 0ms 13 178,429 2s367ms 0ms 14 161,861 2s41ms 0ms 15 161,226 2s174ms 0ms 16 143,682 2s23ms 0ms 17 200,487 2s814ms 0ms 18 118,444 1s943ms 0ms 19 88,263 1s475ms 0ms 20 69,709 1s174ms 0ms 21 56,336 972ms 0ms 22 34,708 600ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-12-12 21:46:27 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-12-12 13:38:41 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-12-12 20:39:24 Duration: 1ms
3 1,398,107 14s249ms 0ms 14ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 12 00 29,248 267ms 0ms 01 23,260 207ms 0ms 02 22,734 212ms 0ms 03 17,180 152ms 0ms 04 14,317 133ms 0ms 05 15,131 139ms 0ms 06 17,067 160ms 0ms 07 19,348 181ms 0ms 08 37,042 340ms 0ms 09 84,583 829ms 0ms 10 116,215 1s225ms 0ms 11 109,067 1s92ms 0ms 12 114,379 1s161ms 0ms 13 114,000 1s163ms 0ms 14 105,404 1s26ms 0ms 15 105,356 1s53ms 0ms 16 95,686 941ms 0ms 17 118,469 1s296ms 0ms 18 75,286 826ms 0ms 19 57,659 628ms 0ms 20 46,125 520ms 0ms 21 37,351 428ms 0ms 22 23,200 262ms 0ms -
ROLLBACK;
Date: 2024-12-12 14:24:45 Duration: 14ms
-
ROLLBACK;
Date: 2024-12-12 20:27:03 Duration: 1ms
-
ROLLBACK;
Date: 2024-12-12 14:13:23 Duration: 1ms
4 1,381,962 3m58s 0ms 25ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 12 00 28,533 4s801ms 0ms 01 22,638 3s523ms 0ms 02 22,080 3s524ms 0ms 03 16,603 2s521ms 0ms 04 13,680 1s998ms 0ms 05 14,489 2s305ms 0ms 06 16,463 2s615ms 0ms 07 18,673 2s934ms 0ms 08 36,398 5s370ms 0ms 09 83,706 14s54ms 0ms 10 115,373 19s929ms 0ms 11 108,389 17s532ms 0ms 12 114,061 18s578ms 0ms 13 112,833 18s925ms 0ms 14 104,347 16s552ms 0ms 15 103,961 17s59ms 0ms 16 94,819 15s366ms 0ms 17 117,903 22s271ms 0ms 18 74,673 15s169ms 0ms 19 57,127 11s650ms 0ms 20 45,730 9s475ms 0ms 21 36,744 7s670ms 0ms 22 22,739 4s779ms 0ms -
SELECT payload FROM http_sessions WHERE sid = '0a7d1f35990dc7a1a8c45f1cbfd8919094348ae5';
Date: 2024-12-12 16:58:23 Duration: 25ms
-
SELECT payload FROM http_sessions WHERE sid = '38412f6813f589ab95c39e5d3e62ecea7c724bf2';
Date: 2024-12-12 10:32:32 Duration: 19ms
-
SELECT payload FROM http_sessions WHERE sid = 'c3a82b9bda95a3e40c61f6d096fa0b841f8cb4eb';
Date: 2024-12-12 17:47:35 Duration: 13ms
5 1,371,265 2m4s 0ms 2ms 0ms select base_registry_signaling.last_value, base_cache_signaling.last_value from base_registry_signaling, base_cache_signaling;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 12 00 28,437 2s386ms 0ms 01 22,643 1s927ms 0ms 02 22,148 1s900ms 0ms 03 16,653 1s381ms 0ms 04 13,656 1s137ms 0ms 05 14,536 1s238ms 0ms 06 16,421 1s422ms 0ms 07 18,720 1s625ms 0ms 08 36,122 2s991ms 0ms 09 82,795 7s368ms 0ms 10 114,057 10s553ms 0ms 11 107,284 9s384ms 0ms 12 112,641 10s170ms 0ms 13 112,015 10s111ms 0ms 14 103,350 8s975ms 0ms 15 103,051 9s134ms 0ms 16 94,259 8s391ms 0ms 17 117,268 11s539ms 0ms 18 74,141 7s251ms 0ms 19 56,752 5s529ms 0ms 20 45,279 4s415ms 0ms 21 36,432 3s541ms 0ms 22 22,605 2s205ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-12-12 20:31:32 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-12-12 21:44:39 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-12-12 20:46:40 Duration: 1ms
6 1,037,069 2m26s 0ms 25ms 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 12 00 20,120 2s698ms 0ms 01 13,927 2s182ms 0ms 02 14,595 2s25ms 0ms 03 9,713 1s446ms 0ms 04 8,452 1s252ms 0ms 05 9,315 1s476ms 0ms 06 11,722 1s803ms 0ms 07 14,260 2s167ms 0ms 08 28,563 3s868ms 0ms 09 70,913 9s317ms 0ms 10 98,663 13s872ms 0ms 11 84,582 12s243ms 0ms 12 89,047 11s498ms 0ms 13 84,498 11s14ms 0ms 14 75,467 9s736ms 0ms 15 73,851 9s957ms 0ms 16 63,628 10s364ms 0ms 17 101,132 14s7ms 0ms 18 55,704 8s567ms 0ms 19 38,992 6s24ms 0ms 20 29,803 4s638ms 0ms 21 24,036 4s242ms 0ms 22 16,086 2s381ms 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 (1302, 959, 851, 1089, 949, 985, 988, 996, 1275, 837);
Date: 2024-12-12 11:51:39 Duration: 25ms
-
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 (1089);
Date: 2024-12-12 10:45:07 Duration: 15ms
-
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 (1025);
Date: 2024-12-12 17:22:00 Duration: 10ms
7 792,807 2m22s 0ms 61ms 0ms commit;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 12 00 15,624 2s507ms 0ms 01 10,636 1s866ms 0ms 02 11,247 2s144ms 0ms 03 7,866 1s539ms 0ms 04 6,951 1s337ms 0ms 05 8,018 1s624ms 0ms 06 9,746 1s765ms 0ms 07 11,574 1s936ms 0ms 08 21,449 3s490ms 0ms 09 52,982 8s704ms 0ms 10 73,267 13s340ms 0ms 11 63,380 11s430ms 0ms 12 66,375 13s378ms 0ms 13 64,158 12s341ms 0ms 14 56,194 9s730ms 0ms 15 55,661 9s830ms 0ms 16 47,868 9s96ms 0ms 17 81,978 11s462ms 0ms 18 43,161 8s99ms 0ms 19 30,601 5s385ms 0ms 20 23,583 4s764ms 0ms 21 18,987 3s814ms 0ms 22 11,501 2s428ms 0ms -
COMMIT;
Date: 2024-12-12 12:55:10 Duration: 61ms
-
COMMIT;
Date: 2024-12-12 12:55:10 Duration: 49ms
-
COMMIT;
Date: 2024-12-12 12:57:14 Duration: 39ms
8 675,747 1m29s 0ms 16ms 0ms select "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" from "urgent_customer" where "urgent_customer".id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 12 00 13,334 1s900ms 0ms 01 8,215 1s198ms 0ms 02 10,047 1s64ms 0ms 03 6,593 746ms 0ms 04 5,475 606ms 0ms 05 5,105 556ms 0ms 06 6,520 856ms 0ms 07 8,316 1s122ms 0ms 08 17,784 2s77ms 0ms 09 44,488 6s59ms 0ms 10 61,820 8s864ms 0ms 11 53,007 7s173ms 0ms 12 53,261 8s181ms 0ms 13 47,881 6s858ms 0ms 14 43,210 6s603ms 0ms 15 44,976 6s500ms 0ms 16 38,600 5s357ms 0ms 17 94,569 9s261ms 0ms 18 36,242 4s883ms 0ms 19 26,442 3s222ms 0ms 20 20,975 2s584ms 0ms 21 17,255 2s148ms 0ms 22 11,632 1s745ms 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 (5100327, 5101901, 5367567, 5100935, 5099009, 5099007, 5111078, 5099010, 5112825, 5206360, 5103370, 5125527, 5099573, 5099141, 5100163, 5100062, 5132956, 5106252, 5105921, 5099252, 5099821, 5104461, 5099254, 5102287, 5099092, 5099028, 5098996, 5108734, 5099849, 5426574, 5101741, 5107216, 5099206, 5100024, 5100433, 5101297, 5099231, 5099042, 5099585, 5099730, 5099985, 5099409, 5099013, 5101324, 5099765, 5101610, 5101323, 5100144, 5100001, 5099224, 5099941, 5103563, 5100872, 5101331, 5099431, 5134772, 5102299, 5100023, 5360804, 5099659, 5099995, 5099334, 5391996, 5101445, 5099499, 5099684, 5099263, 5099191, 5099014, 5106543, 5119385, 5376066, 5099838, 5131773, 5101898, 5099513, 5102386, 5105317, 5109168, 5120787, 5099577, 5101971, 5099128, 5099631, 5100005, 5099403, 5099202, 5245347, 5101322, 5122129, 5100677, 5137147, 5426375, 5101539, 5104971, 5176210, 5181433, 5099091, 5117566, 5101444, 5102325, 5170584, 5099008, 5099167, 5105753, 5101722, 5173646, 5109622, 5103866, 5099165, 5099129, 5100282, 5174404, 5102245, 5125319, 5099006, 5099958, 5425956, 5120553, 5102969, 5101977, 5100166, 5120619, 5426195, 5102793, 5099321, 5126492, 5099296, 5103731, 5099264, 5368859, 5102332, 5251381, 5099727, 5427134, 5139593, 5099582, 5102312, 5340939, 5099804, 5100204, 5114534, 5427169, 5423831, 5312792, 5101578, 5108837, 5103363, 5099037, 5426986, 5100499, 5100320, 5101604, 5100700, 5174077, 5225773, 5103675, 5099103, 5142446, 5101531, 5105620, 5099130, 5099281, 5164808, 5107158, 5426955, 5113510, 5100561, 5099309, 5099236, 5099644, 5099598, 5100007, 5099144, 5099815, 5099497, 5119500, 5101623, 5117249, 5425392, 5101653, 5099194, 5101617, 5132309, 5101160, 5099045, 5130831, 5102402, 5099677, 5146096, 5425448, 5103196, 5265498, 5100539, 5100554, 5105592, 5119665, 5109665, 5101829);
Date: 2024-12-12 17:22:01 Duration: 16ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5099712, 5099027, 5099422, 5099311, 5099382, 5099134, 5099182, 5120824, 5099687, 5424025, 5099248, 5101165, 5099137, 5102815, 5100952, 5099159, 5099333, 5099831, 5099415, 5107539, 5112091, 5099095, 5099135, 5100729, 5104118, 5099329, 5100738, 5100578, 5109130, 5101987, 5106325, 5100854, 5099961, 5316767, 5100874, 5347255, 5100714, 5099181, 5110981, 5159719, 5101412, 5099002, 5101521, 5106953, 5100150, 5099788, 5099641, 5099102, 5099904, 5397661, 5107762, 5103433, 5427133, 5100801, 5099540, 5099035, 5103697, 5273433, 5099112, 5099187, 5101631, 5101084, 5107714, 5099800, 5104477, 5099445, 5099503, 5121734, 5255138, 5426627, 5099590, 5100148, 5102522, 5109054, 5426694, 5099404, 5105187, 5101315, 5099864, 5403961, 5099313, 5100124, 5100540, 5100004, 5100915, 5101507, 5099581, 5100902, 5099170, 5099275, 5187565, 5107577, 5099654, 5103882, 5426194, 5099306, 5100609, 5099186, 5100411, 5426533, 5099297, 5417034, 5100232, 5106998, 5110433, 5100857, 5149626, 5099401, 5107010, 5105310, 5102396, 5099568, 5099922, 5099724, 5100901, 5099901, 5153903, 5099200, 5099158, 5099873, 5099678, 5364276, 5100443, 5174829, 5099093, 5102437, 5204710, 5107101, 5425922, 5100723, 5118125, 5425733, 5113203, 5425670, 5425447, 5425583, 5395564, 5425661, 5108187, 5167881, 5099413, 5102257);
Date: 2024-12-12 17:22:01 Duration: 8ms
-
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 (5099014, 5106961, 5100166, 5104250, 5099929, 5099007, 5163672, 5099599, 5099995, 5100386, 5100871, 5098996, 5100114, 5099010, 5100001, 5099138, 5212758, 5120476, 5156833, 5099009, 5099144, 5099445, 5105669, 5100181, 5099181, 5119089, 5419852, 5113242, 5100443, 5099254, 5101878);
Date: 2024-12-12 17:22:00 Duration: 6ms
9 642,681 41s654ms 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 12 00 12,461 685ms 0ms 01 7,105 391ms 0ms 02 8,721 506ms 0ms 03 5,082 281ms 0ms 04 4,488 245ms 0ms 05 3,979 227ms 0ms 06 5,770 325ms 0ms 07 7,545 407ms 0ms 08 15,785 879ms 0ms 09 41,611 2s673ms 0ms 10 58,465 4s149ms 0ms 11 50,849 3s297ms 0ms 12 50,865 3s579ms 0ms 13 49,182 3s569ms 0ms 14 44,345 2s969ms 0ms 15 43,230 3s10ms 0ms 16 39,179 2s483ms 0ms 17 83,400 4s927ms 0ms 18 36,672 2s325ms 0ms 19 26,961 1s660ms 0ms 20 20,867 1s341ms 0ms 21 16,295 1s90ms 0ms 22 9,824 623ms 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 (70, 49, 14, 27, 17, 22, 41, 19, 78, 51, 79, 44, 6, 26, 48, 4);
Date: 2024-12-12 09:51:49 Duration: 1ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (3, 95, 9, 19, 126, 65, 79, 5, 123, 8, 26, 7, 113, 78, 24, 30, 39, 4, 28, 38, 27, 1, 14, 67, 35, 32, 46, 17, 115, 70, 121, 60, 36);
Date: 2024-12-12 18:32:41 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 (74);
Date: 2024-12-12 10:01:43 Duration: 0ms
10 440,437 1m22s 0ms 2ms 0ms select "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 12 00 8,687 1s445ms 0ms 01 4,872 794ms 0ms 02 5,018 897ms 0ms 03 2,862 509ms 0ms 04 2,523 444ms 0ms 05 2,451 426ms 0ms 06 3,796 643ms 0ms 07 4,810 821ms 0ms 08 11,863 1s865ms 0ms 09 30,859 5s579ms 0ms 10 41,349 8s170ms 0ms 11 34,591 6s557ms 0ms 12 38,645 7s189ms 0ms 13 35,630 7s27ms 0ms 14 33,923 6s156ms 0ms 15 32,814 6s226ms 0ms 16 27,772 5s204ms 0ms 17 48,898 9s739ms 0ms 18 23,466 4s488ms 0ms 19 17,092 3s224ms 0ms 20 12,055 2s292ms 0ms 21 9,812 1s929ms 0ms 22 6,649 1s144ms 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 (8006296, 8006326, 8006396);
Date: 2024-12-12 17:22:00 Duration: 2ms
-
SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (8004725);
Date: 2024-12-12 14:13:23 Duration: 2ms
-
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 (8006323, 8007305, 8004808, 8006393, 8004656, 8004659, 8004660, 8006454, 8006453, 8006317, 8007226);
Date: 2024-12-12 14:43:23 Duration: 2ms
11 396,741 2m11s 0ms 2ms 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 #11
Day Hour Count Duration Avg duration Dec 12 00 6,500 1s896ms 0ms 01 2,889 882ms 0ms 02 2,768 871ms 0ms 03 1,397 436ms 0ms 04 1,095 328ms 0ms 05 1,032 335ms 0ms 06 2,353 729ms 0ms 07 2,288 703ms 0ms 08 7,752 2s334ms 0ms 09 31,943 10s206ms 0ms 10 33,624 11s746ms 0ms 11 31,893 10s627ms 0ms 12 41,347 13s820ms 0ms 13 46,552 15s453ms 0ms 14 40,653 12s868ms 0ms 15 37,559 12s502ms 0ms 16 28,651 9s399ms 0ms 17 33,115 11s248ms 0ms 18 16,591 5s733ms 0ms 19 9,606 3s261ms 0ms 20 7,990 2s706ms 0ms 21 6,280 2s94ms 0ms 22 2,863 916ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'cash.policy.line' 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 = 916) OR r.global) ORDER BY r.id;
Date: 2024-12-12 17:14:36 Duration: 2ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'notebook.package' 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 = 886) OR r.global) ORDER BY r.id;
Date: 2024-12-12 21:45:39 Duration: 2ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'cash.policy' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 859) OR r.global) ORDER BY r.id;
Date: 2024-12-12 21:47:20 Duration: 2ms
12 303,869 54s633ms 0ms 2ms 0ms select ? from res_groups_users_rel where uid = ? and gid in ( select res_id from ir_model_data where module = ? and name = ? and model = ?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 12 00 5,059 771ms 0ms 01 2,516 358ms 0ms 02 2,344 327ms 0ms 03 1,433 190ms 0ms 04 1,098 139ms 0ms 05 1,269 162ms 0ms 06 2,489 354ms 0ms 07 2,195 296ms 0ms 08 8,684 1s247ms 0ms 09 26,170 4s565ms 0ms 10 26,071 4s925ms 0ms 11 23,071 4s217ms 0ms 12 31,490 5s897ms 0ms 13 34,404 6s704ms 0ms 14 31,312 5s572ms 0ms 15 29,209 5s454ms 0ms 16 20,850 3s769ms 0ms 17 24,107 4s610ms 0ms 18 10,958 1s947ms 0ms 19 6,981 1s152ms 0ms 20 5,538 912ms 0ms 21 4,139 678ms 0ms 22 2,482 378ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2024-12-12 13:28:30 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 821 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-12 13:30:46 Duration: 1ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 988 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_shipping_policy' AND name = 'group_confirm_payment_wizard' AND model = 'res.groups');
Date: 2024-12-12 19:18:34 Duration: 1ms
13 303,178 1m15s 0ms 75ms 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 #13
Day Hour Count Duration Avg duration Dec 12 00 7,069 1s972ms 0ms 01 3,285 1s7ms 0ms 02 5,003 1s6ms 0ms 03 2,899 679ms 0ms 04 2,316 557ms 0ms 05 2,332 560ms 0ms 06 2,648 782ms 0ms 07 3,688 1s39ms 0ms 08 7,062 1s601ms 0ms 09 17,869 4s717ms 0ms 10 25,358 6s808ms 0ms 11 22,799 5s820ms 0ms 12 22,869 6s553ms 0ms 13 21,818 5s511ms 0ms 14 20,876 5s577ms 0ms 15 20,282 5s465ms 0ms 16 18,254 4s493ms 0ms 17 40,040 7s861ms 0ms 18 17,826 4s325ms 0ms 19 12,927 3s133ms 0ms 20 11,412 2s692ms 0ms 21 8,908 2s186ms 0ms 22 5,638 1s608ms 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 (40925691, 40817440, 41427321, 41479016, 41457962, 41283269, 41078730, 41470663, 41342430, 41325048, 41433477, 41249921, 32636871, 41365814, 41079465, 40700216, 41405123, 41135413, 41435563, 41476032, 41510999, 41485610, 41482573, 41263416, 41528266, 41511515, 41326680, 41438901, 41058616, 41469433, 41521062, 41482080, 41373211, 41470882, 41152644, 41288352, 41381139, 41520148, 41178983, 41311689, 41415274, 41484913, 41483123, 41450508, 41134040, 41502509, 41378464, 32636858, 41456659, 41561661, 41350884, 41469420, 41055167, 41103453, 41493698, 41337521, 41458313, 41503862, 41523548, 41317442, 41358426, 41370722, 41488963, 41346357, 40012427, 41040360, 41400043, 41402821, 41253418, 41363921, 41130101, 41508344, 41332617, 41504345, 41467705, 40956428, 41157489, 40956429, 41566123, 41209076, 41522913, 41417086, 41476206, 41373028, 41469437, 41332545, 41514564, 41469527, 41528045, 40840316, 41539432, 41314927, 41086541, 41070259, 41483031, 41313752, 40896598, 41192894, 41493820, 41434664, 41452659, 41456083, 41438057, 41403571, 41544240, 41491528, 41500422, 41543675, 41220007, 41513979, 41528073, 41548517, 41510681, 41300156, 41517447, 41253190, 41547889, 41547874, 41406197, 32650071, 41528289, 41553888, 41494708, 41204770, 41517249, 32651526, 41445897, 41504975, 41536652, 41536758, 41484496, 41096928, 41345066, 41548403, 41548650, 41531712, 41531711, 41151575, 41040357, 41520777, 41551758, 41478484, 41513736, 41524928, 41482516, 40012428, 41484669, 41538586, 41514409, 41445355, 41489280, 41134756, 41344552, 41439212, 41484213, 41468215, 40960454, 41463458, 41071635, 41479564, 41283579, 41482743, 41482087, 41548198, 32635796, 41502092, 41512333, 40406326, 41078816, 41514000, 41467712, 41482091, 41566210, 41538876, 41409191, 41448171, 41371629, 41455626, 41482823, 41437431, 41547658, 41513794, 41502660, 41405627, 41465292, 41520164, 41519754, 41519776, 41520965, 41482561, 41436711, 41513081, 41549297, 41514363, 41482520, 41481976, 41512348, 41532557, 41356014, 41421055, 41366061, 41468453, 41344573, 41100788, 41519689, 41342738, 41436038, 41520966, 41561695, 41447656, 41348613, 41369580, 32634866, 41448908, 41566230, 41409227, 41520738, 41520745, 41344557, 41013333, 41344576, 41468454, 41482067, 41548683, 41482746, 41393188, 41534854, 41444606, 41410125, 41532504, 40930973, 41288466, 41409281, 41355649, 41520766, 41482828, 32647077, 41513725, 40926722, 32635696, 41520951, 41363265, 41404673, 41474044, 40959646, 41313750, 41495493, 41534793, 41553777, 41361994, 41553731, 41515941, 41534895, 41527966, 41419612, 41544142, 41504850, 41391553, 41504851, 41383609, 41548780, 41477104, 41510993, 41408583, 41433126, 41500512, 41040364, 41040366, 41415341, 41403547);
Date: 2024-12-12 17:22:01 Duration: 75ms
-
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 (41047124, 40901576, 41046791, 41133055, 41134692, 41020533, 41099601, 32617522, 41223508, 41210651, 41276927, 41160505, 41116262, 41181800, 41177634, 40927600, 40927445, 41101839, 41247970, 41065349, 41212913, 40879856, 41160192, 41212686, 41165659, 41211944, 41211932, 41124154, 41228119, 41071769, 41207957, 41071208, 41248144, 41256696, 41215907, 40888047, 41063023, 41227258, 41154931, 41056481, 41227701, 41045807, 40963784, 41201042, 41184464, 41057916, 41076853, 40993789, 41090203, 41054502, 40842379, 40929454, 40420515, 41097839, 41160305, 41169342, 41082241, 41015271, 41226782, 41217813, 41236911, 41216557, 40842957, 41227109, 40763051, 41149899, 41105866, 41157752, 41204493);
Date: 2024-12-12 17:22:01 Duration: 20ms
-
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (41235193);
Date: 2024-12-12 12:35:47 Duration: 18ms
14 280,023 1d9h35m31s 355ms 2s386ms 431ms 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 #14
Day Hour Count Duration Avg duration Dec 12 00 10,214 1h10m27s 413ms 01 6,610 43m28s 394ms 02 8,079 54m58s 408ms 03 6,835 45m50s 402ms 04 4,861 32m19s 398ms 05 6,899 45m55s 399ms 06 7,154 47m23s 397ms 07 7,212 48m6s 400ms 08 6,559 43m18s 396ms 09 13,456 1h35m29s 425ms 10 20,463 2h34m1s 451ms 11 15,395 1h51m33s 434ms 12 16,830 2h4m52s 445ms 13 16,950 2h4m17s 439ms 14 12,156 1h25m38s 422ms 15 14,730 1h49m23s 445ms 16 16,344 1h57m40s 431ms 17 15,973 2h58s 454ms 18 17,890 2h13m46s 448ms 19 14,593 1h45m38s 434ms 20 17,269 2h9m11s 448ms 21 11,743 1h28m36s 452ms 22 11,808 1h22m37s 419ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3495738)) AND (("shipping_track"."id" not in (28488682, 28489866, 28490413, 28573001, 28573132, 28670544, 28671057, 28671057)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:42 Duration: 2s386ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3452070)) AND (("shipping_track"."id" not in (28176684, 28180052, 28238367, 28283980, 28284171, 28357496, 28375011, 28375133, 28375224, 28375438, 28489713, 28669946, 28671143, 28671143)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:48 Duration: 1s264ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (2941705)) AND (("shipping_track"."id" not in (23889395, 23889644, 23904482, 24020618, 24020744, 24125214, 24125335, 24133498, 24259054, 24452874, 24453043, 24453371, 24473339, 28671044, 28671044)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:40 Duration: 1s51ms
15 233,844 18s834ms 0ms 1ms 0ms select "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" from "notebook_package" where "notebook_package".id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 12 00 3,765 240ms 0ms 01 2,652 168ms 0ms 02 3,321 225ms 0ms 03 1,908 118ms 0ms 04 1,567 98ms 0ms 05 1,416 89ms 0ms 06 2,051 127ms 0ms 07 2,689 161ms 0ms 08 6,206 370ms 0ms 09 15,578 1s92ms 0ms 10 21,791 1s838ms 0ms 11 18,933 1s607ms 0ms 12 18,941 1s827ms 0ms 13 17,393 1s853ms 0ms 14 15,801 1s612ms 0ms 15 16,038 1s60ms 0ms 16 14,080 955ms 0ms 17 35,236 2s536ms 0ms 18 11,786 921ms 0ms 19 8,468 785ms 0ms 20 6,000 509ms 0ms 21 4,847 367ms 0ms 22 3,377 264ms 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-12 17:22:00 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-12-12 17:22:00 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-12-12 13:28:30 Duration: 1ms
16 187,622 1m52s 0ms 21ms 0ms select "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" from "shipping_policy" where "shipping_policy".id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 12 00 6,065 2s906ms 0ms 01 952 1s133ms 1ms 02 1,873 978ms 0ms 03 331 151ms 0ms 04 397 174ms 0ms 05 332 167ms 0ms 06 383 173ms 0ms 07 1,502 678ms 0ms 08 3,384 2s4ms 0ms 09 7,976 5s48ms 0ms 10 14,320 8s769ms 0ms 11 13,127 7s692ms 0ms 12 14,755 10s992ms 0ms 13 14,755 9s289ms 0ms 14 11,536 9s420ms 0ms 15 14,943 9s631ms 0ms 16 17,386 10s158ms 0ms 17 14,636 7s620ms 0ms 18 10,459 5s778ms 0ms 19 7,720 3s618ms 0ms 20 7,574 3s831ms 0ms 21 13,338 6s804ms 0ms 22 9,878 5s927ms 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 (3297708, 3260534, 3327477, 3173064, 3336436, 3326795, 3312523, 3359948, 3356553, 3327711, 3260642, 3359929, 3336429, 3344289, 3359918, 3336440, 3359953, 3235723, 3325855, 3325716, 3274411, 3118372, 3349231, 3267776, 3086300, 3327480, 3336434, 3336437, 3326810, 3336428, 3302206, 3199234, 3312471, 3349174, 3260643, 3267672, 3241343, 3327733, 3281505, 3235854, 3329030, 3281462, 3171148, 3266573, 3281889, 3281892, 2995557, 3171151, 3274365, 3302124, 3325857, 3312508, 3192733, 3267811, 3267699, 3167873, 3260593, 2933876, 3171655, 3325795, 2963192, 3031463, 3167830, 3205882, 3325870, 2614019, 2619364, 3031474, 3260608, 3329008, 3267735, 3281473, 3281925, 3302119, 3327724, 3327714, 3312547, 3325731, 3297724, 3266577, 3260613, 3205213, 3108997, 3297587, 3241273, 3327712, 3281893, 3325733, 3237836, 3326801, 3183839, 3281459, 3325868, 3173065, 3173066, 2901321, 3326765, 3274371, 3315032, 3267817, 3325729, 3281510, 3240685, 3240662, 3325787, 3274367, 3281895, 3326809, 3237828, 3308100, 3325866, 3327073, 3237818, 3315057, 3315089, 3066603, 3308098, 3312507, 3266729, 3325721, 3325719, 3312731, 3271240, 3254705, 3281935, 3260602, 3271242, 3172993, 3260647, 3221570, 3252589, 3260572, 3303598, 3315077, 3241369, 3281512, 3219829, 3274346, 3241326, 3173205, 3230676, 3262044, 3281933, 3199001, 3312503, 3240674, 3108480, 3275834, 2936664, 3050402, 3297638, 3304969, 3205883, 3312511, 2726911, 3206476, 3289053, 3260498, 3235756, 3240672, 3226863, 3221465, 3241368, 3031519, 2993238, 3271243, 3235821, 3235719, 2936612, 3262030, 3230675, 3241328, 3281907, 3174637, 3262017, 3281899, 3094754, 3241315, 3281890, 3262049, 3281909, 2949309, 3274401, 3237835, 3118330, 3221021, 3240664, 3274359, 3192781, 3269644, 3086286, 3078006, 3275836, 3063436, 3267771, 3167449, 3275835, 3269665, 3226918, 3235726, 3237851, 3098446, 3240668, 3235901, 3171174, 3205218, 3171147, 3021457, 3237813, 3237850, 3050364, 3242745, 3199349, 3221032, 3199716, 3199780, 3172933, 3219857, 3235924, 3205217, 3171150, 3199719, 3167305, 3236757, 3142134, 3218020, 3142965, 3206478, 2825005, 3242751, 3050461, 3130239, 3171139, 2836116, 3130228, 2936614, 3021439, 3172996, 2963611, 3167882, 2357221, 3172985, 3201437, 3092025, 3195001, 3172998, 3195003, 3096542, 3192769, 3172991, 3171153, 3149817, 3167309, 3199256, 2971417, 3151962, 3199039, 2290536, 3024006, 3143017, 3167872, 3142964, 3173259, 3131477, 3167335, 3142958, 3169684, 3066619, 3130203, 3066611, 3142961, 3130252, 3130233, 3171161, 3167475, 3146861, 3174632, 3174650, 3157930, 3024115, 3059950, 2993621, 3141999, 3028719, 3101951, 3066342, 2544342, 3063437, 3101948, 3055781, 3065022, 3131493, 3131481, 3106948, 3130176, 3107279, 2936606, 3028699, 3036453, 3021945, 3141994, 2915632, 2667625, 3063874, 3066309, 3066335, 3107177, 3108479, 3109185, 3091995, 3039727, 2995466, 2995471, 2993280, 3107312, 3091994, 3065094, 3063441, 3066308, 3063925, 3063882, 2995462, 2971422, 3021931, 2959932, 2836985, 2675451, 2949324, 2963248, 2931003, 2919597, 2893218, 2755997, 2756016, 1983793, 2683181, 2382382, 2290576, 2425191, 2288239, 2170181, 1950473, 2004031, 1932542, 1807751, 1550831, 1282485, 1345721, 1476660, 1083569, 997206, 940254, 876813, 652955, 516788, 541143, 23692, 23684);
Date: 2024-12-12 12:35:47 Duration: 21ms
-
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 (3440253, 3204572, 3422264, 3422278, 3335747, 3322232, 3367431, 3402623, 3322229, 3399159, 3436746, 3441126, 3422289, 3422257, 3362528, 3422284, 3399161, 3422294, 3422209, 3239414, 2935152, 3031739, 3438408, 3273167, 2885029, 3109340, 3412927, 2578121, 3357714, 3357716, 3357721, 3333149, 3401963, 3245034, 3367301, 3362523, 3015047, 3399193, 3401197, 3341440, 3045011, 3331792, 3357934, 3357937, 3374010, 2723037, 3367103, 3357730, 3305813, 3402109, 3362525, 3362518, 3363798, 3314188, 3402136, 3402613, 3402122, 3363087, 3147312, 3402139, 3234619, 3400921, 3278496, 3283404, 3369380, 3402399, 3332439, 3369484, 3367299, 3336168, 3367082, 3402034, 3032967, 2980725, 3367421, 3400094, 3365747, 3400911, 3400101, 3397366, 3357977, 3402398, 3330805, 3355984, 3370021, 3371565, 3372478, 3399179, 3325156, 3220327, 3379677, 3400064, 3206807, 3206800, 3205975, 3369370, 3313345, 3359734, 3156664, 3359786, 2988162, 3402522, 3369487, 3401926, 3362520, 3362529, 3369376, 3369401, 3331220, 2723040, 2931731, 3278699, 3400228, 3277729, 3357966, 2910998, 3400254, 3355982, 3333223, 3109861, 3331750, 3369962, 3284896, 3372683, 3405425, 3335213, 3399162, 3405429, 3175472, 3313804, 3331755, 3400252, 3363230, 3065286, 3069692, 2766819, 3335172, 3314205, 3314237, 3331749, 3357728, 3367974, 3362519, 3357918, 3405442, 3405451, 3114047, 3245089, 3328071, 3248605, 3148129, 3314245, 3334218, 3369972, 3373442, 3373969, 3314199, 3333610, 3317304, 2835027, 3363721, 3363713, 3367074, 3357726, 3375237, 3325160, 3357971, 3092264, 3284958, 3374183, 3275521, 3355983, 3370647, 3367080, 3031422, 3283662, 3284710, 2938436, 3373207, 3330851, 3330848, 3371551, 3406485, 3356746, 3357722, 3356744, 3373268, 3018201, 3313344, 3357719, 3367477, 3371481, 3220316, 3314247, 3373453, 3281320, 3357982, 3283675, 3375227, 3316044, 3362527, 3360528, 3360540, 3366944, 3332649, 3247877, 3358570, 3375238, 3220295, 3305805, 3109415, 3313325, 3355987, 3357921, 3357020, 3371840, 3050834, 3357975, 3350542, 3325158, 3355981, 3357923, 3314200, 3357969, 3314241, 3357930, 2772278, 3357724, 3314234, 3099907, 3319752, 3112734, 3285608, 3314190, 3363035, 3357723, 3350543, 3064480, 3285552, 3276655, 3045016, 3263849, 3259946, 3276631, 3331602, 3319516, 3174120, 3314868, 3284919, 3314246, 3265190, 3334205, 3281322, 3334219, 3245083, 3148036, 3331759, 3334224, 3325161, 2498757, 3148151, 3145147, 3297085, 3314242, 3330809, 3277730, 3278821, 3314179, 3314202, 2589355, 3284759, 3146572, 3331209, 3334666, 3146710, 3335173, 3318133, 3313791, 3313795, 3024619, 2932601, 3275523, 3334682, 3316083, 3335162, 3333918, 3333865, 3283944, 3317451, 3284459, 3328937, 3304974, 3284760, 3314184, 3330808, 3281464, 3245614, 3314235, 3332680, 3314194, 3314250, 3330814, 2997553, 3145905, 3335511, 3114052, 3148192, 3332686, 3315736, 3245851, 3330850, 3265193, 3325157, 3280482, 3314185, 3325163, 3245084, 3314204, 3333920, 3285121, 3173792, 3284951, 3134530, 3314244, 3146581, 3318461, 3240503, 3204478, 3278733, 3237546, 3281325, 3281331, 3284079, 3246967, 3245030, 3248288, 2780994, 3265078, 3283835, 3176433, 2970020, 3207807, 3283972, 3194779, 3173530, 3325693, 3207804, 3114143, 3248208, 3247230, 3245090, 3245088, 3249409, 3245099, 3249954, 3144219, 3250339, 3206803, 3283606, 3166096, 3145906, 3286719, 3148050, 3245086, 2994080, 3064447, 3265195, 3283668, 3265192, 2998878, 3283346, 3283363, 3203933, 3175533, 3163140, 3245033, 3148100, 3265191, 3207809, 3281316, 2910996, 3247254, 3205610, 3265194, 2426208, 3207800, 3207805, 3142506, 3223233, 3206802, 3210124, 3245081, 3194772, 3206811, 3245031, 3206240, 3247742, 3245039, 3156661, 3173783, 3024722, 3207802, 3230878, 3146369, 3207801, 3205974, 3146563, 3203040, 3247777, 2345177, 3233311, 3233314, 3247787, 3248545, 3247749, 3209185, 3208694, 3176431, 3247825, 3148090, 3148102, 3148101, 3196466, 3209346, 2617250, 3242368, 3240512, 3066095, 3148196, 3207252, 3194777, 3174187, 3206238, 3173115, 3173130, 2589477, 3206246, 3114111, 3146542, 3207281, 3209884, 3065264, 2887847, 3146136, 3229992, 3148182, 3207798, 3175355, 3174184, 3147264, 2903179, 3173476, 3097980, 3098698, 3153799, 3176290, 3144411, 3089403, 3144983, 3101502, 3003829, 3031577, 2970022, 3019456, 2326182, 2970021, 2913217, 2021009, 2377342);
Date: 2024-12-12 16:05:26 Duration: 19ms
-
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 (3412795);
Date: 2024-12-12 13:09:55 Duration: 17ms
17 170,189 10s79ms 0ms 1ms 0ms select "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" from "ir_rule" where "ir_rule".id in (...);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 12 00 2,832 143ms 0ms 01 1,253 62ms 0ms 02 1,083 56ms 0ms 03 534 27ms 0ms 04 402 19ms 0ms 05 384 19ms 0ms 06 1,120 58ms 0ms 07 986 48ms 0ms 08 3,296 170ms 0ms 09 14,125 814ms 0ms 10 13,968 882ms 0ms 11 13,205 795ms 0ms 12 17,775 1s83ms 0ms 13 20,514 1s258ms 0ms 14 18,245 1s36ms 0ms 15 16,315 985ms 0ms 16 12,462 728ms 0ms 17 14,153 878ms 0ms 18 6,721 393ms 0ms 19 3,903 225ms 0ms 20 3,168 184ms 0ms 21 2,580 144ms 0ms 22 1,165 61ms 0ms -
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (89);
Date: 2024-12-12 14:58:56 Duration: 1ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (98, 99);
Date: 2024-12-12 13:57:11 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 (2, 10);
Date: 2024-12-12 13:34:55 Duration: 0ms
18 167,271 1h51m56s 28ms 183ms 40ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 12 00 3,930 2m29s 37ms 01 2,339 1m28s 37ms 02 3,279 2m3s 37ms 03 2,333 1m28s 38ms 04 1,566 59s20ms 37ms 05 1,771 1m7s 37ms 06 2,490 1m31s 36ms 07 1,909 1m11s 37ms 08 3,508 2m10s 37ms 09 9,290 6m8s 39ms 10 13,944 9m43s 41ms 11 13,002 8m44s 40ms 12 13,779 9m27s 41ms 13 14,771 10m17s 41ms 14 10,183 6m48s 40ms 15 12,369 8m36s 41ms 16 8,771 5m59s 40ms 17 10,489 7m10s 41ms 18 9,934 6m35s 39ms 19 9,514 6m7s 38ms 20 9,700 6m20s 39ms 21 5,947 3m52s 39ms 22 2,453 1m32s 37ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3336056)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-12 13:28:31 Duration: 183ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3438049)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-12 13:28:38 Duration: 160ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2887026)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-12 13:28:47 Duration: 122ms
19 164,876 21s527ms 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 12 00 2,698 294ms 0ms 01 1,224 132ms 0ms 02 1,068 121ms 0ms 03 531 58ms 0ms 04 396 42ms 0ms 05 368 41ms 0ms 06 1,099 125ms 0ms 07 967 104ms 0ms 08 3,217 367ms 0ms 09 13,907 1s760ms 0ms 10 13,647 1s928ms 0ms 11 12,926 1s714ms 0ms 12 17,198 2s306ms 0ms 13 19,777 2s683ms 0ms 14 17,675 2s203ms 0ms 15 15,728 2s107ms 0ms 16 12,003 1s545ms 0ms 17 13,550 1s852ms 0ms 18 6,521 839ms 0ms 19 3,774 477ms 0ms 20 3,007 386ms 0ms 21 2,451 300ms 0ms 22 1,144 133ms 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 (96) 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-12 14:14:28 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 (96) 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-12 13:57:09 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 (21) 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-12 12:15:12 Duration: 1ms
20 153,201 9h50m12s 176ms 747ms 231ms 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 #20
Day Hour Count Duration Avg duration Dec 12 00 2,332 8m10s 210ms 01 2,378 8m17s 209ms 02 2,541 8m52s 209ms 03 1,420 4m59s 211ms 04 911 3m10s 208ms 05 2,335 8m5s 207ms 06 3,941 13m47s 210ms 07 3,053 10m44s 210ms 08 3,037 10m41s 211ms 09 6,390 24m11s 227ms 10 10,241 40m57s 239ms 11 9,233 35m54s 233ms 12 9,951 38m50s 234ms 13 12,236 49m8s 240ms 14 6,377 23m53s 224ms 15 15,707 1h3m14s 241ms 16 12,414 48m1s 232ms 17 12,920 49m32s 230ms 18 3,983 14m21s 216ms 19 6,667 23m36s 212ms 20 4,629 16m18s 211ms 21 19,685 1h22m35s 251ms 22 820 2m47s 204ms -
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" = '8966451')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-12 13:28:41 Duration: 747ms
-
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" = '9272944')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-12 15:50:47 Duration: 728ms
-
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" = '8925432')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-12 13:28:40 Duration: 615ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 0ms 40m12s 15m21s 15 3h50m28s update res_users set password = ? where id = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 12 00 10 3h50m28s 23m2s 09 1 0ms 0ms 13 2 0ms 0ms 16 1 0ms 0ms 17 1 0ms 0ms -
UPDATE res_users SET password = '$pbkdf2-sha512HpvzZmTkhKC0FqrVarVGg$IBvIdxweuuM7ioFUUaTlQtMiQQgTOFVg1PCjg4z3vRl1TUGZhl5M1s/ldDLCV7uWy2pDQJOhyp316qAXByqFZQ' WHERE id = 883;
Date: 2024-12-12 00:29:20 Duration: 40m12s
-
UPDATE res_users SET password = '$pbkdf2-sha512$CIEQgrCWck6pdW7NubcWog$cOea6S5DLiHa99yNi/ayit7twuaEpyO7FLzRphzfA1buvzd1tchfZ5D7q0jx7JgGBbRyQX9rUFR4eXBtOChr9g' WHERE id = 883;
Date: 2024-12-12 00:29:20 Duration: 39m50s
-
UPDATE res_users SET password = '$pbkdf2-sha512$wlhrjXGuVeq9d05Jac35Xw$UMKkCXdeq3weRNd/..da7KErrZ.ck7yZLZwupPja5vEIZj28QcIMLnsbnyKiSb.WWeUjK.9YBTWYZSvTxzhjZQ' WHERE id = 883;
Date: 2024-12-12 00:29:20 Duration: 36m34s
2 0ms 37m25s 27s175ms 377 2h50m45s update "res_users" set "exp_date" = ?, "last_update" = ?, "sid" = ?, "write_date" = ?, "write_uid" = ? where id in (...);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 12 00 14 1h22m26s 5m53s 01 4 5ms 1ms 02 2 2ms 1ms 04 2 1ms 0ms 05 2 0ms 0ms 06 4 2ms 0ms 07 7 2ms 0ms 08 10 2ms 0ms 09 41 16m17s 23s844ms 10 46 8m10s 10s655ms 11 26 35ms 1ms 12 25 33ms 1ms 13 46 22m5s 28s815ms 14 33 14m34s 26s507ms 15 29 1m45s 3s654ms 16 21 20ms 0ms 17 16 1m35s 5s982ms 18 17 7ms 0ms 19 8 3ms 0ms 20 12 2ms 0ms 21 7 23m48s 3m24s 22 5 1ms 0ms -
UPDATE "res_users" SET "exp_date" = '2024-12-11 23:36:55.079488', "last_update" = '2024-12-11 22:51:55.079513', "sid" = '23140f83f24adb4dbff8b9b80e83903de5d7812b', "write_date" = '2024-12-11 22:51:54.720594', "write_uid" = 1 WHERE id IN (883);
Date: 2024-12-12 00:29:20 Duration: 37m25s
-
UPDATE "res_users" SET "exp_date" = '2024-12-12 21:20:32.028969', "last_update" = '2024-12-12 20:35:32.028992', "sid" = 'bbcc6cf0f485b8492503d92cc5e0e10ca3f9a29c', "write_date" = '2024-12-12 20:35:31.699732', "write_uid" = 1 WHERE id IN (874);
Date: 2024-12-12 21:59:20 Duration: 23m48s
-
UPDATE "res_users" SET "exp_date" = '2024-12-12 00:18:04.232140', "last_update" = '2024-12-11 23:33:04.232195', "sid" = 'a84bbf364d0d9c6f3f56034f7375c9d0389eab09', "write_date" = '2024-12-11 23:33:03.881943', "write_uid" = 1 WHERE id IN (1210);
Date: 2024-12-12 00:43:21 Duration: 10m16s
3 454ms 4s955ms 3s528ms 277 16m17s 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 12 02 8 25s586ms 3s198ms 08 2 6s345ms 3s172ms 09 21 1m10s 3s358ms 10 14 54s45ms 3s860ms 11 14 49s172ms 3s512ms 12 18 1m8s 3s805ms 13 8 30s491ms 3s811ms 14 7 23s764ms 3s394ms 15 12 44s176ms 3s681ms 16 56 3m22s 3s611ms 17 14 52s145ms 3s724ms 18 29 1m43s 3s568ms 19 14 48s128ms 3s437ms 20 16 54s118ms 3s382ms 21 39 2m7s 3s276ms 22 5 16s934ms 3s386ms -
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 (24))))))) 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 (24)))))) 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 (24)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (24)))))) 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 (24))))))))) 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 (24)))))))) AND ("policy_number"."name"::text ilike '%8610887%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-12 15:50:43 Duration: 4s955ms
-
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 (121))))))) 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 (121)))))) 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 (121)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (121)))))) 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 (121))))))))) 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 (121)))))))) AND ("policy_number"."name"::text ilike '%91310%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-12 10:53:53 Duration: 4s572ms
-
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 (8))))))) 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 (8)))))) 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 (8)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (8)))))) 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 (8))))))))) 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 (8)))))))) AND ("policy_number"."name"::text ilike '%9279398%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-12-12 10:19:23 Duration: 4s455ms
4 0ms 54m16s 2s953ms 90,404 3d2h9m59s 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 12 00 1,164 10h12m44s 31s584ms 01 870 10s578ms 12ms 02 975 1m45s 108ms 03 685 8s252ms 12ms 04 608 199ms 0ms 05 709 148ms 0ms 06 812 177ms 0ms 07 894 193ms 0ms 08 2,248 470ms 0ms 09 6,720 6h38m11s 3s555ms 10 9,403 1h52m32s 718ms 11 8,248 7h58m34s 3s481ms 12 8,251 7h10m5s 3s127ms 13 8,827 11h29m19s 4s685ms 14 8,216 8h37m43s 3s780ms 15 7,596 7h58m53s 3s782ms 16 6,226 10h36m52s 6s137ms 17 5,528 1h31m47s 996ms 18 4,508 1s119ms 0ms 19 2,802 661ms 0ms 20 2,392 8s668ms 3ms 21 1,788 55s684ms 31ms 22 934 215ms 0ms -
update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:04:04.500455', exp_date = '2024-12-12 15:49:04.500458', logged_in = 'TRUE' where id = 1036;
Date: 2024-12-12 16:58:21 Duration: 54m16s
-
update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:04:04.500443', exp_date = '2024-12-12 15:49:04.500447', logged_in = 'TRUE' where id = 1036;
Date: 2024-12-12 16:58:21 Duration: 54m16s
-
update res_users set sid = '6a1485fe59ac3894197f3bade073cb895a043cbb', last_update = '2024-12-12 15:05:08.216357', exp_date = '2024-12-12 15:50:08.216360', logged_in = 'TRUE' where id = 1036;
Date: 2024-12-12 16:58:21 Duration: 53m13s
5 270ms 1s530ms 1s16ms 9,244 2h36m40s 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 12 00 896 14m25s 965ms 01 326 5m14s 966ms 02 424 6m53s 974ms 03 41 40s617ms 990ms 04 5 4s894ms 978ms 07 2 2s33ms 1s16ms 09 85 1m25s 1s1ms 10 12 14s477ms 1s206ms 12 54 53s203ms 985ms 13 80 1m23s 1s39ms 14 174 2m50s 982ms 15 401 6m57s 1s40ms 16 481 8m9s 1s17ms 17 872 15m48s 1s87ms 18 864 15m9s 1s52ms 19 799 13m22s 1s4ms 20 1,693 29m9s 1s33ms 21 1,593 26m45s 1s8ms 22 442 7m9s 972ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9240442')) 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 (19))))))) 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 (19)))))) 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 (19)))))) 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 (19))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-12 21:46:40 Duration: 1s530ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9176248')) 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 (19))))))) 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 (19)))))) 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 (19)))))) 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 (19))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-12 21:45:59 Duration: 1s512ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9321890')) 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 (19))))))) 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 (19)))))) 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 (19)))))) 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 (19))))))))) ORDER BY "policy_number"."id";
Date: 2024-12-12 21:46:02 Duration: 1s490ms
6 355ms 3s188ms 445ms 50,262 6h12m59s 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 12 00 768 5m15s 410ms 01 572 3m52s 406ms 02 394 2m46s 421ms 03 351 2m27s 421ms 04 355 2m25s 409ms 05 249 1m47s 430ms 06 218 1m33s 427ms 07 257 1m47s 420ms 08 1,068 7m13s 406ms 09 3,784 27m31s 436ms 10 5,475 42m2s 460ms 11 3,705 27m45s 449ms 12 4,480 34m24s 460ms 13 3,854 29m31s 459ms 14 3,108 22m13s 429ms 15 3,229 24m45s 459ms 16 3,004 22m6s 441ms 17 3,380 25m57s 460ms 18 3,418 25m28s 447ms 19 3,249 23m14s 429ms 20 2,841 20m21s 429ms 21 1,725 12m59s 451ms 22 778 5m28s 421ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3503915, 3502596, 3495738, 3483215, 3481933, 3481418, 3464894, 3459616)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:38 Duration: 3s188ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3395542)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:39 Duration: 2s683ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3408863)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 17:22:01 Duration: 1s294ms
7 355ms 2s386ms 431ms 280,023 1d9h35m31s 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 12 00 10,214 1h10m27s 413ms 01 6,610 43m28s 394ms 02 8,079 54m58s 408ms 03 6,835 45m50s 402ms 04 4,861 32m19s 398ms 05 6,899 45m55s 399ms 06 7,154 47m23s 397ms 07 7,212 48m6s 400ms 08 6,559 43m18s 396ms 09 13,456 1h35m29s 425ms 10 20,463 2h34m1s 451ms 11 15,395 1h51m33s 434ms 12 16,830 2h4m52s 445ms 13 16,950 2h4m17s 439ms 14 12,156 1h25m38s 422ms 15 14,730 1h49m23s 445ms 16 16,344 1h57m40s 431ms 17 15,973 2h58s 454ms 18 17,890 2h13m46s 448ms 19 14,593 1h45m38s 434ms 20 17,269 2h9m11s 448ms 21 11,743 1h28m36s 452ms 22 11,808 1h22m37s 419ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3495738)) AND (("shipping_track"."id" not in (28488682, 28489866, 28490413, 28573001, 28573132, 28670544, 28671057, 28671057)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:42 Duration: 2s386ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3452070)) AND (("shipping_track"."id" not in (28176684, 28180052, 28238367, 28283980, 28284171, 28357496, 28375011, 28375133, 28375224, 28375438, 28489713, 28669946, 28671143, 28671143)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:48 Duration: 1s264ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (2941705)) AND (("shipping_track"."id" not in (23889395, 23889644, 23904482, 24020618, 24020744, 24125214, 24125335, 24133498, 24259054, 24452874, 24453043, 24453371, 24473339, 28671044, 28671044)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-12-12 13:28:40 Duration: 1s51ms
8 220ms 567ms 312ms 21,643 1h52m33s 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 12 00 2,174 10m28s 288ms 01 181 53s625ms 296ms 02 1,171 5m52s 301ms 03 895 4m25s 296ms 04 691 3m24s 295ms 05 898 4m24s 294ms 06 545 2m42s 298ms 07 817 4m5s 300ms 08 300 1m29s 299ms 09 94 30s275ms 322ms 10 294 1m38s 336ms 11 155 51s146ms 329ms 12 98 34s320ms 350ms 13 184 1m2s 340ms 14 550 3m3s 333ms 15 827 4m40s 339ms 16 645 3m34s 333ms 17 1,507 8m23s 333ms 18 2,386 12m38s 317ms 19 1,901 10m 315ms 20 2,039 11m1s 324ms 21 1,876 9m52s 315ms 22 1,415 6m56s 294ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9352308')) 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-12 21:46:07 Duration: 567ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9351455')) 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-12 21:46:30 Duration: 542ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9366164')) 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-12 15:58:38 Duration: 520ms
9 189ms 576ms 280ms 35,305 2h45m13s 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 #9
Day Hour Count Duration Avg duration Dec 12 07 693 2m53s 250ms 08 693 2m55s 252ms 09 2,120 9m34s 271ms 10 4,272 20m58s 294ms 11 3,558 16m22s 276ms 12 4,983 23m7s 278ms 13 5,729 27m35s 289ms 14 1,717 7m49s 273ms 15 3,114 14m51s 286ms 16 2,830 13m19s 282ms 17 3,400 15m44s 277ms 18 1,453 6m38s 274ms 19 743 3m21s 271ms -
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" = '8954229')))) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:42 Duration: 576ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '8985090')))) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:31 Duration: 528ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_sender') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '8985095')))) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:30 Duration: 518ms
10 223ms 435ms 280ms 3,464 16m12s 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 #10
Day Hour Count Duration Avg duration Dec 12 10 103 31s452ms 305ms 11 298 1m26s 289ms 12 165 44s393ms 269ms 13 896 4m17s 287ms 14 728 3m23s 279ms 15 498 2m16s 274ms 16 324 1m28s 272ms 17 391 1m48s 278ms 18 61 15s491ms 253ms -
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" = '8963532') 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-12 13:28:28 Duration: 435ms
-
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" = '8632625') 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-12 13:28:30 Duration: 427ms
-
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" = '8941217') 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-12 13:28:31 Duration: 418ms
11 91ms 851ms 233ms 60,898 3h57m5s 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 12 00 6,076 19m24s 191ms 01 998 3m3s 183ms 02 3,138 10m47s 206ms 03 1,848 6m34s 213ms 04 1,320 4m14s 193ms 05 1,786 6m33s 220ms 06 1,080 3m57s 219ms 07 1,632 6m12s 228ms 08 597 2m12s 221ms 09 350 1m23s 239ms 10 572 2m30s 263ms 11 304 1m17s 254ms 12 296 1m10s 239ms 13 512 2m9s 252ms 14 1,394 5m29s 236ms 15 2,435 10m27s 257ms 16 2,228 8m36s 231ms 17 4,694 19m54s 254ms 18 6,414 27m15s 255ms 19 5,336 21m53s 246ms 20 7,392 30m22s 246ms 21 6,852 27m32s 241ms 22 3,644 14m3s 231ms -
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-12 17:51:42 Duration: 851ms
-
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-12 18:34:52 Duration: 849ms
-
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-12 17:51:42 Duration: 846ms
12 176ms 747ms 231ms 153,201 9h50m12s 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 12 00 2,332 8m10s 210ms 01 2,378 8m17s 209ms 02 2,541 8m52s 209ms 03 1,420 4m59s 211ms 04 911 3m10s 208ms 05 2,335 8m5s 207ms 06 3,941 13m47s 210ms 07 3,053 10m44s 210ms 08 3,037 10m41s 211ms 09 6,390 24m11s 227ms 10 10,241 40m57s 239ms 11 9,233 35m54s 233ms 12 9,951 38m50s 234ms 13 12,236 49m8s 240ms 14 6,377 23m53s 224ms 15 15,707 1h3m14s 241ms 16 12,414 48m1s 232ms 17 12,920 49m32s 230ms 18 3,983 14m21s 216ms 19 6,667 23m36s 212ms 20 4,629 16m18s 211ms 21 19,685 1h22m35s 251ms 22 820 2m47s 204ms -
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" = '8966451')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-12 13:28:41 Duration: 747ms
-
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" = '9272944')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-12 15:50:47 Duration: 728ms
-
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" = '8925432')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-12 13:28:40 Duration: 615ms
13 177ms 412ms 228ms 5,172 19m41s 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 12 02 11 2s289ms 208ms 05 90 18s654ms 207ms 06 258 54s905ms 212ms 07 238 49s869ms 209ms 08 256 54s407ms 212ms 09 522 1m51s 213ms 10 342 1m23s 243ms 11 320 1m16s 240ms 12 225 51s629ms 229ms 13 1,136 4m35s 242ms 14 563 2m9s 230ms 15 498 1m53s 227ms 16 324 1m13s 226ms 17 343 1m16s 223ms 18 39 8s180ms 209ms 21 7 1s302ms 186ms -
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" = '8713260')) 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-12 13:28:39 Duration: 412ms
-
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" = '9006513')) 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-12 13:28:27 Duration: 402ms
-
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" = '8977413')) 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-12 13:28:31 Duration: 388ms
14 180ms 348ms 222ms 13,215 48m57s 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 12 00 160 33s303ms 208ms 01 347 1m12s 209ms 02 490 1m42s 209ms 03 243 51s525ms 212ms 04 84 17s354ms 206ms 05 761 2m37s 207ms 06 1,212 4m14s 209ms 07 485 1m42s 210ms 08 925 3m15s 211ms 09 1,423 5m19s 224ms 10 619 2m26s 237ms 11 703 2m52s 245ms 12 770 2m58s 232ms 13 898 3m27s 231ms 14 910 3m23s 224ms 15 884 3m25s 232ms 16 704 2m39s 226ms 17 733 2m47s 229ms 18 372 1m22s 222ms 19 279 58s388ms 209ms 20 131 27s331ms 208ms 21 62 15s160ms 244ms 22 20 4s84ms 204ms -
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" = '9109691')) 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 (30)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) 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-12 10:56:12 Duration: 348ms
-
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" = '9233168')) 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-12 11:51:41 Duration: 326ms
-
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" = '9333310')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-12-12 11:55:13 Duration: 326ms
15 185ms 264ms 209ms 11,459 40m1s 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 12 00 544 1m53s 209ms 01 2,031 7m4s 209ms 02 2,040 7m7s 209ms 03 1,177 4m8s 211ms 04 805 2m48s 208ms 05 1,296 4m30s 208ms 06 2,471 8m39s 210ms 07 944 3m18s 209ms 08 151 31s142ms 206ms -
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" = '9369972')) 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-12 03:02:02 Duration: 264ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9369832')) 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-12 03:02:05 Duration: 264ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9369956')) 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-12 03:02:04 Duration: 259ms
16 119ms 773ms 148ms 6,411 15m54s 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 12 00 39 5s156ms 132ms 01 18 2s353ms 130ms 02 76 9s881ms 130ms 08 20 2s681ms 134ms 09 503 1m12s 143ms 10 941 2m25s 154ms 11 862 2m7s 147ms 12 1,076 2m42s 151ms 13 943 2m23s 152ms 14 385 55s731ms 144ms 15 443 1m7s 152ms 16 245 36s103ms 147ms 17 186 28s557ms 153ms 18 290 42s366ms 146ms 19 81 11s624ms 143ms 20 176 24s238ms 137ms 21 106 14s612ms 137ms 22 21 2s759ms 131ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 32)) 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-12 13:28:28 Duration: 773ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 9)) 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-12 13:28:52 Duration: 279ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 9)) 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-12 13:28:30 Duration: 253ms
17 74ms 293ms 95ms 22,652 35m52s 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 12 00 110 9s505ms 86ms 01 80 7s33ms 87ms 02 58 4s957ms 85ms 07 57 4s805ms 84ms 08 187 16s918ms 90ms 09 1,175 1m50s 94ms 10 2,273 3m48s 100ms 11 2,524 3m58s 94ms 12 2,574 4m6s 95ms 13 2,831 4m36s 97ms 14 2,521 3m49s 91ms 15 1,453 2m17s 94ms 16 1,798 2m48s 93ms 17 1,168 1m56s 99ms 18 1,370 2m6s 92ms 19 751 1m10s 94ms 20 906 1m22s 91ms 21 504 48s189ms 95ms 22 312 27s819ms 89ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7763577)) AND (("cash_track"."id" not in (5320002, 5337901, 5370896, 5485131, 5642688, 5642693, 5642693)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-12 13:28:35 Duration: 293ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7763475)) AND (("cash_track"."id" not in (5319638, 5337920, 5370972, 5485140, 5642689, 5642694, 5642694)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-12 13:28:35 Duration: 271ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7808436)) AND (("cash_track"."id" not in (5642702)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-12-12 13:28:46 Duration: 205ms
18 32ms 137ms 44ms 71,882 52m50s 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 12 00 126 5s156ms 40ms 01 188 7s198ms 38ms 02 35 1s394ms 39ms 03 39 1s561ms 40ms 04 20 801ms 40ms 05 26 1s44ms 40ms 06 18 730ms 40ms 07 100 3s987ms 39ms 08 2,861 1m51s 39ms 09 3,263 2m16s 41ms 10 6,382 4m44s 44ms 11 7,343 5m11s 42ms 12 8,217 5m58s 43ms 13 11,956 8m42s 43ms 14 5,917 4m11s 42ms 15 6,201 4m31s 43ms 16 4,532 3m17s 43ms 17 7,493 6m 48ms 18 3,016 2m24s 47ms 19 3,250 2m35s 47ms 20 457 22s495ms 49ms 21 303 14s860ms 49ms 22 139 6s632ms 47ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2965569) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:28 Duration: 137ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2879060) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:39 Duration: 111ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2872668) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:40 Duration: 104ms
19 28ms 183ms 40ms 167,271 1h51m56s select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 12 00 3,930 2m29s 37ms 01 2,339 1m28s 37ms 02 3,279 2m3s 37ms 03 2,333 1m28s 38ms 04 1,566 59s20ms 37ms 05 1,771 1m7s 37ms 06 2,490 1m31s 36ms 07 1,909 1m11s 37ms 08 3,508 2m10s 37ms 09 9,290 6m8s 39ms 10 13,944 9m43s 41ms 11 13,002 8m44s 40ms 12 13,779 9m27s 41ms 13 14,771 10m17s 41ms 14 10,183 6m48s 40ms 15 12,369 8m36s 41ms 16 8,771 5m59s 40ms 17 10,489 7m10s 41ms 18 9,934 6m35s 39ms 19 9,514 6m7s 38ms 20 9,700 6m20s 39ms 21 5,947 3m52s 39ms 22 2,453 1m32s 37ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3336056)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-12 13:28:31 Duration: 183ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3438049)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-12 13:28:38 Duration: 160ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2887026)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-12-12 13:28:47 Duration: 122ms
20 28ms 77ms 39ms 31,228 20m43s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 12 07 1 37ms 37ms 08 1,351 48s516ms 35ms 09 1,331 50s620ms 38ms 10 3,364 2m13s 39ms 11 3,483 2m14s 38ms 12 3,852 2m32s 39ms 13 5,564 3m41s 39ms 14 2,228 1m23s 37ms 15 2,846 1m52s 39ms 16 2,024 1m18s 38ms 17 3,128 2m16s 43ms 18 1,313 59s469ms 45ms 19 743 31s898ms 42ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2932133) ORDER BY "collection_policy"."id";
Date: 2024-12-12 17:51:24 Duration: 77ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2872668) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:28:35 Duration: 74ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2903625) ORDER BY "collection_policy"."id";
Date: 2024-12-12 13:38:37 Duration: 69ms
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1s18ms 2,374 0ms 3ms 0ms ;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Dec 12 00 104 41ms 0ms 01 104 40ms 0ms 02 104 41ms 0ms 03 104 40ms 0ms 04 104 39ms 0ms 05 104 41ms 0ms 06 104 40ms 0ms 07 104 41ms 0ms 08 104 41ms 0ms 09 104 49ms 0ms 10 104 48ms 0ms 11 104 44ms 0ms 12 104 46ms 0ms 13 104 50ms 0ms 14 104 43ms 0ms 15 104 48ms 0ms 16 104 47ms 0ms 17 104 53ms 0ms 18 104 52ms 0ms 19 104 43ms 0ms 20 104 43ms 0ms 21 104 45ms 0ms 22 86 35ms 0ms -
;
Date: 2024-12-12 12:54:11 Duration: 3ms Database: postgres
-
;
Date: 2024-12-12 13:44:17 Duration: 3ms Database: postgres
-
;
Date: 2024-12-12 09:33:50 Duration: 3ms Database: postgres
2 87ms 137 0ms 2ms 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 4ms 0ms 10 6 3ms 0ms 11 6 3ms 0ms 12 6 3ms 0ms 13 6 4ms 0ms 14 6 3ms 0ms 15 6 3ms 0ms 16 6 3ms 0ms 17 6 6ms 1ms 18 6 4ms 0ms 19 6 3ms 0ms 20 6 3ms 0ms 21 6 3ms 0ms 22 5 3ms 0ms -
SELECT sum(numbackends) FROM pg_stat_database;
Date: 2024-12-12 17:22:01 Duration: 2ms Database: postgres
-
SELECT sum(numbackends) FROM pg_stat_database;
Date: 2024-12-12 18:12:05 Duration: 1ms Database: postgres
-
SELECT sum(numbackends) FROM pg_stat_database;
Date: 2024-12-12 09:33:31 Duration: 0ms Database: postgres
3 16ms 137 0ms 1ms 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 6 0ms 0ms 22 5 0ms 0ms -
SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());
Date: 2024-12-12 17:22:01 Duration: 1ms Database: postgres
-
SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());
Date: 2024-12-12 18:12:05 Duration: 0ms Database: postgres
-
SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());
Date: 2024-12-12 15:34:03 Duration: 0ms Database: postgres
4 7ms 45 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 21 2 0ms 0ms 22 1 0ms 0ms -
SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;
Date: 2024-12-12 17:22:00 Duration: 0ms Database: postgres
-
SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;
Date: 2024-12-12 13:52:20 Duration: 0ms Database: postgres
-
SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;
Date: 2024-12-12 00:52:04 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-12 17:22:00 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-12 17:22:00 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-12 17:22:00 Duration: 0ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 7s12ms 81,787 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 12 00 3,599 290ms 0ms 01 3,600 283ms 0ms 02 3,600 283ms 0ms 03 3,600 275ms 0ms 04 3,600 275ms 0ms 05 3,600 278ms 0ms 06 3,600 266ms 0ms 07 3,600 273ms 0ms 08 3,600 280ms 0ms 09 3,600 315ms 0ms 10 3,600 355ms 0ms 11 3,599 320ms 0ms 12 3,600 339ms 0ms 13 3,600 331ms 0ms 14 3,600 308ms 0ms 15 3,600 329ms 0ms 16 3,600 327ms 0ms 17 3,487 328ms 0ms 18 3,600 327ms 0ms 19 3,600 326ms 0ms 20 3,600 324ms 0ms 21 3,600 334ms 0ms 22 2,702 235ms 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-12 17:22:01 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-12 15:04:01 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-12 18:12:05 Duration: 1ms Database: postgres
2 5s281ms 81,788 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 225ms 0ms 01 3,600 228ms 0ms 02 3,600 223ms 0ms 03 3,600 216ms 0ms 04 3,600 225ms 0ms 05 3,600 227ms 0ms 06 3,599 215ms 0ms 07 3,600 220ms 0ms 08 3,600 225ms 0ms 09 3,600 236ms 0ms 10 3,600 251ms 0ms 11 3,600 237ms 0ms 12 3,600 241ms 0ms 13 3,600 241ms 0ms 14 3,600 230ms 0ms 15 3,600 239ms 0ms 16 3,600 241ms 0ms 17 3,487 231ms 0ms 18 3,600 232ms 0ms 19 3,600 236ms 0ms 20 3,600 232ms 0ms 21 3,600 240ms 0ms 22 2,702 176ms 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-12 18:12:05 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-12 21:12:23 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-12 13:13:51 Duration: 1ms Database: postgres
3 5s95ms 81,788 0ms 1ms 0ms SELECT sum(numbackends) FROM pg_stat_database;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 00 3,599 216ms 0ms 01 3,600 209ms 0ms 02 3,600 217ms 0ms 03 3,600 208ms 0ms 04 3,600 200ms 0ms 05 3,600 212ms 0ms 06 3,600 198ms 0ms 07 3,600 201ms 0ms 08 3,600 214ms 0ms 09 3,600 224ms 0ms 10 3,600 241ms 0ms 11 3,600 223ms 0ms 12 3,600 231ms 0ms 13 3,600 225ms 0ms 14 3,600 217ms 0ms 15 3,600 222ms 0ms 16 3,600 225ms 0ms 17 3,487 233ms 0ms 18 3,600 246ms 0ms 19 3,600 249ms 0ms 20 3,600 244ms 0ms 21 3,600 247ms 0ms 22 2,702 182ms 0ms -
SELECT sum(numbackends) FROM pg_stat_database;
Date: 2024-12-12 17:22:01 Duration: 1ms Database: postgres
-
SELECT sum(numbackends) FROM pg_stat_database;
Date: 2024-12-12 18:12:05 Duration: 0ms Database: postgres
-
SELECT sum(numbackends) FROM pg_stat_database;
Date: 2024-12-12 02:42:50 Duration: 0ms Database: postgres
4 3s683ms 81,788 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 148ms 0ms 01 3,600 135ms 0ms 02 3,600 138ms 0ms 03 3,599 127ms 0ms 04 3,600 130ms 0ms 05 3,600 132ms 0ms 06 3,600 128ms 0ms 07 3,600 130ms 0ms 08 3,600 136ms 0ms 09 3,600 170ms 0ms 10 3,600 198ms 0ms 11 3,600 179ms 0ms 12 3,600 186ms 0ms 13 3,600 187ms 0ms 14 3,600 168ms 0ms 15 3,600 182ms 0ms 16 3,600 180ms 0ms 17 3,487 186ms 0ms 18 3,600 180ms 0ms 19 3,600 177ms 0ms 20 3,600 177ms 0ms 21 3,600 178ms 0ms 22 2,702 120ms 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-12 11:54:46 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-12 09:35:50 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-12 15:49:31 Duration: 0ms Database: postgres
5 3s577ms 81,789 0ms 1ms 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 152ms 0ms 01 3,600 148ms 0ms 02 3,600 149ms 0ms 03 3,600 142ms 0ms 04 3,600 143ms 0ms 05 3,600 148ms 0ms 06 3,600 141ms 0ms 07 3,600 142ms 0ms 08 3,600 149ms 0ms 09 3,600 160ms 0ms 10 3,600 174ms 0ms 11 3,600 159ms 0ms 12 3,600 166ms 0ms 13 3,600 163ms 0ms 14 3,600 155ms 0ms 15 3,600 162ms 0ms 16 3,600 160ms 0ms 17 3,487 164ms 0ms 18 3,600 167ms 0ms 19 3,600 166ms 0ms 20 3,600 163ms 0ms 21 3,600 170ms 0ms 22 2,702 123ms 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-12 17:22:01 Duration: 1ms 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-12 18:12:05 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-12 20:59:26 Duration: 0ms Database: postgres
6 3s170ms 81,789 0ms 0ms 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 137ms 0ms 01 3,600 134ms 0ms 02 3,600 132ms 0ms 03 3,600 125ms 0ms 04 3,600 130ms 0ms 05 3,600 132ms 0ms 06 3,600 124ms 0ms 07 3,600 128ms 0ms 08 3,600 132ms 0ms 09 3,600 144ms 0ms 10 3,600 155ms 0ms 11 3,600 145ms 0ms 12 3,600 148ms 0ms 13 3,600 147ms 0ms 14 3,600 140ms 0ms 15 3,600 147ms 0ms 16 3,600 146ms 0ms 17 3,487 141ms 0ms 18 3,600 140ms 0ms 19 3,600 143ms 0ms 20 3,600 141ms 0ms 21 3,600 145ms 0ms 22 2,702 105ms 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-12 18:12:05 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-12 13:13:51 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-12 17:32:01 Duration: 0ms Database: postgres
7 2s476ms 81,789 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 105ms 0ms 01 3,600 102ms 0ms 02 3,600 103ms 0ms 03 3,600 96ms 0ms 04 3,600 98ms 0ms 05 3,600 99ms 0ms 06 3,600 95ms 0ms 07 3,600 97ms 0ms 08 3,600 101ms 0ms 09 3,600 115ms 0ms 10 3,600 123ms 0ms 11 3,600 113ms 0ms 12 3,600 118ms 0ms 13 3,600 118ms 0ms 14 3,600 111ms 0ms 15 3,600 115ms 0ms 16 3,600 113ms 0ms 17 3,487 112ms 0ms 18 3,600 112ms 0ms 19 3,600 111ms 0ms 20 3,600 110ms 0ms 21 3,600 113ms 0ms 22 2,702 83ms 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-12 10:05:00 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-12 14:50:29 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-12 18:12:05 Duration: 0ms Database: postgres
8 2s103ms 81,789 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 88ms 0ms 01 3,600 85ms 0ms 02 3,600 85ms 0ms 03 3,600 82ms 0ms 04 3,600 83ms 0ms 05 3,600 83ms 0ms 06 3,600 79ms 0ms 07 3,600 82ms 0ms 08 3,600 84ms 0ms 09 3,600 97ms 0ms 10 3,600 104ms 0ms 11 3,600 97ms 0ms 12 3,600 101ms 0ms 13 3,600 101ms 0ms 14 3,600 94ms 0ms 15 3,600 99ms 0ms 16 3,600 98ms 0ms 17 3,487 99ms 0ms 18 3,600 98ms 0ms 19 3,600 94ms 0ms 20 3,600 93ms 0ms 21 3,600 98ms 0ms 22 2,702 69ms 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-12 18:12:05 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-12 17:42:02 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-12 15:44:04 Duration: 0ms Database: postgres
9 2s44ms 81,789 0ms 1ms 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 86ms 0ms 01 3,600 84ms 0ms 02 3,600 83ms 0ms 03 3,600 79ms 0ms 04 3,600 80ms 0ms 05 3,600 80ms 0ms 06 3,600 77ms 0ms 07 3,600 79ms 0ms 08 3,600 82ms 0ms 09 3,600 94ms 0ms 10 3,600 102ms 0ms 11 3,600 94ms 0ms 12 3,600 98ms 0ms 13 3,600 97ms 0ms 14 3,600 90ms 0ms 15 3,600 98ms 0ms 16 3,600 96ms 0ms 17 3,487 94ms 0ms 18 3,600 94ms 0ms 19 3,600 92ms 0ms 20 3,600 90ms 0ms 21 3,600 96ms 0ms 22 2,702 68ms 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-12 15:37:27 Duration: 1ms 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-12 04:01:21 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-12 18:12:05 Duration: 0ms Database: postgres
10 2s14ms 81,788 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 83ms 0ms 01 3,600 80ms 0ms 02 3,600 82ms 0ms 03 3,600 78ms 0ms 04 3,599 79ms 0ms 05 3,600 81ms 0ms 06 3,600 78ms 0ms 07 3,600 79ms 0ms 08 3,600 80ms 0ms 09 3,600 93ms 0ms 10 3,600 101ms 0ms 11 3,600 93ms 0ms 12 3,600 96ms 0ms 13 3,600 97ms 0ms 14 3,600 89ms 0ms 15 3,600 96ms 0ms 16 3,600 93ms 0ms 17 3,487 94ms 0ms 18 3,600 93ms 0ms 19 3,600 90ms 0ms 20 3,600 89ms 0ms 21 3,600 93ms 0ms 22 2,702 65ms 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-12 13:46:22 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-12 00:56:15 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-12 19:20:51 Duration: 0ms Database: postgres
11 1s731ms 81,789 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 73ms 0ms 01 3,600 70ms 0ms 02 3,600 69ms 0ms 03 3,600 66ms 0ms 04 3,600 68ms 0ms 05 3,600 71ms 0ms 06 3,600 67ms 0ms 07 3,600 68ms 0ms 08 3,600 70ms 0ms 09 3,600 80ms 0ms 10 3,600 86ms 0ms 11 3,600 79ms 0ms 12 3,600 82ms 0ms 13 3,600 83ms 0ms 14 3,600 77ms 0ms 15 3,600 82ms 0ms 16 3,600 79ms 0ms 17 3,487 81ms 0ms 18 3,600 79ms 0ms 19 3,600 77ms 0ms 20 3,600 76ms 0ms 21 3,600 80ms 0ms 22 2,702 57ms 0ms -
SELECT relkind, COUNT(1), SUM(relpages) * current_setting('block_size')::numeric AS size FROM pg_class GROUP BY relkind;
Date: 2024-12-12 17:44:56 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-12 17:22:01 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-12 18:26:15 Duration: 0ms Database: postgres
12 1s683ms 81,789 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 69ms 0ms 02 3,600 68ms 0ms 03 3,600 66ms 0ms 04 3,600 66ms 0ms 05 3,600 67ms 0ms 06 3,600 63ms 0ms 07 3,600 66ms 0ms 08 3,600 69ms 0ms 09 3,600 76ms 0ms 10 3,600 83ms 0ms 11 3,600 77ms 0ms 12 3,600 80ms 0ms 13 3,600 79ms 0ms 14 3,600 75ms 0ms 15 3,600 80ms 0ms 16 3,600 78ms 0ms 17 3,487 77ms 0ms 18 3,600 77ms 0ms 19 3,600 78ms 0ms 20 3,600 75ms 0ms 21 3,600 78ms 0ms 22 2,702 56ms 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-12 07:56:31 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-12 17:17:16 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-12 16:28:21 Duration: 0ms Database: postgres
13 1s634ms 81,789 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 69ms 0ms 01 3,600 66ms 0ms 02 3,600 66ms 0ms 03 3,600 61ms 0ms 04 3,600 64ms 0ms 05 3,600 66ms 0ms 06 3,600 63ms 0ms 07 3,600 65ms 0ms 08 3,600 67ms 0ms 09 3,600 76ms 0ms 10 3,600 82ms 0ms 11 3,600 76ms 0ms 12 3,600 78ms 0ms 13 3,600 78ms 0ms 14 3,600 72ms 0ms 15 3,600 78ms 0ms 16 3,600 76ms 0ms 17 3,487 75ms 0ms 18 3,600 74ms 0ms 19 3,600 72ms 0ms 20 3,600 71ms 0ms 21 3,600 74ms 0ms 22 2,702 52ms 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-12 18:12:05 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-12 15:24:03 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-12 10:23:35 Duration: 0ms Database: postgres
14 1s470ms 81,789 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 61ms 0ms 01 3,600 58ms 0ms 02 3,600 58ms 0ms 03 3,600 55ms 0ms 04 3,600 56ms 0ms 05 3,600 57ms 0ms 06 3,600 55ms 0ms 07 3,600 57ms 0ms 08 3,600 58ms 0ms 09 3,600 67ms 0ms 10 3,600 75ms 0ms 11 3,600 70ms 0ms 12 3,600 70ms 0ms 13 3,600 72ms 0ms 14 3,600 65ms 0ms 15 3,600 71ms 0ms 16 3,600 69ms 0ms 17 3,487 69ms 0ms 18 3,600 68ms 0ms 19 3,600 66ms 0ms 20 3,600 65ms 0ms 21 3,600 68ms 0ms 22 2,702 48ms 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-12 17:56:49 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-12 22:05:05 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-12 22:22:30 Duration: 0ms Database: postgres
15 1s51ms 81,789 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 44ms 0ms 02 3,600 42ms 0ms 03 3,600 41ms 0ms 04 3,600 41ms 0ms 05 3,600 42ms 0ms 06 3,600 39ms 0ms 07 3,600 41ms 0ms 08 3,600 43ms 0ms 09 3,600 47ms 0ms 10 3,600 51ms 0ms 11 3,600 47ms 0ms 12 3,600 50ms 0ms 13 3,600 49ms 0ms 14 3,600 47ms 0ms 15 3,600 49ms 0ms 16 3,600 48ms 0ms 17 3,487 48ms 0ms 18 3,600 49ms 0ms 19 3,600 48ms 0ms 20 3,600 46ms 0ms 21 3,600 48ms 0ms 22 2,702 35ms 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-12 19:13:21 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-12 11:41:59 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-12 18:12:05 Duration: 0ms Database: postgres
16 621ms 81,789 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 26ms 0ms 01 3,600 24ms 0ms 02 3,600 23ms 0ms 03 3,600 23ms 0ms 04 3,600 23ms 0ms 05 3,600 24ms 0ms 06 3,600 22ms 0ms 07 3,600 23ms 0ms 08 3,600 24ms 0ms 09 3,600 29ms 0ms 10 3,600 31ms 0ms 11 3,600 29ms 0ms 12 3,600 31ms 0ms 13 3,600 30ms 0ms 14 3,600 27ms 0ms 15 3,600 29ms 0ms 16 3,600 29ms 0ms 17 3,487 29ms 0ms 18 3,600 29ms 0ms 19 3,600 29ms 0ms 20 3,600 28ms 0ms 21 3,600 29ms 0ms 22 2,702 20ms 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-12 09:14:39 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-12 10:40:24 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-12 09:06:01 Duration: 0ms Database: postgres
17 531ms 273 0ms 6ms 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;Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 00 12 21ms 1ms 01 12 21ms 1ms 02 12 21ms 1ms 03 12 22ms 1ms 04 12 20ms 1ms 05 12 21ms 1ms 06 12 20ms 1ms 07 12 21ms 1ms 08 12 21ms 1ms 09 12 27ms 2ms 10 12 25ms 2ms 11 12 23ms 1ms 12 12 26ms 2ms 13 12 24ms 2ms 14 12 23ms 1ms 15 12 24ms 2ms 16 12 23ms 1ms 17 12 26ms 2ms 18 12 25ms 2ms 19 12 22ms 1ms 20 12 23ms 1ms 21 12 23ms 1ms 22 9 18ms 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;
Date: 2024-12-12 12:54:11 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-12 18:12:07 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-12 17:22:01 Duration: 5ms Database: postgres
18 475ms 81,789 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 20ms 0ms 01 3,600 19ms 0ms 02 3,600 18ms 0ms 03 3,600 18ms 0ms 04 3,600 18ms 0ms 05 3,600 18ms 0ms 06 3,600 17ms 0ms 07 3,600 18ms 0ms 08 3,600 18ms 0ms 09 3,600 22ms 0ms 10 3,600 24ms 0ms 11 3,600 21ms 0ms 12 3,600 23ms 0ms 13 3,600 22ms 0ms 14 3,600 21ms 0ms 15 3,600 23ms 0ms 16 3,600 21ms 0ms 17 3,487 22ms 0ms 18 3,600 22ms 0ms 19 3,600 21ms 0ms 20 3,600 21ms 0ms 21 3,600 22ms 0ms 22 2,702 15ms 0ms -
SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());
Date: 2024-12-12 14:13:21 Duration: 0ms Database: postgres
-
SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());
Date: 2024-12-12 12:23:00 Duration: 0ms Database: postgres
-
SELECT EXTRACT(epoch FROM CURRENT_TIMESTAMP - pg_postmaster_start_time());
Date: 2024-12-12 04:49:16 Duration: 0ms Database: postgres
19 130ms 273 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 5ms 0ms 03 12 5ms 0ms 04 12 4ms 0ms 05 12 5ms 0ms 06 12 4ms 0ms 07 12 5ms 0ms 08 12 5ms 0ms 09 12 6ms 0ms 10 12 6ms 0ms 11 12 5ms 0ms 12 12 6ms 0ms 13 12 6ms 0ms 14 12 5ms 0ms 15 12 6ms 0ms 16 12 6ms 0ms 17 12 6ms 0ms 18 12 6ms 0ms 19 12 5ms 0ms 20 12 5ms 0ms 21 12 5ms 0ms 22 9 4ms 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-12 18:12:07 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-12 13:44:17 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-12 12:54:11 Duration: 1ms Database: postgres
20 1ms 45 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 21 2 0ms 0ms 22 1 0ms 0ms -
SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;
Date: 2024-12-12 17:52:01 Duration: 0ms Database: postgres
-
SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;
Date: 2024-12-12 10:22:16 Duration: 0ms Database: postgres
-
SELECT current_setting('max_connections')::int - current_setting('superuser_reserved_connections')::int;
Date: 2024-12-12 00:52:04 Duration: 0ms Database: postgres
-
Events
Log levels
Key values
- 24,147,504 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 1241 FATAL entries
- 11410 ERROR entries
- 0 WARNING entries
- 1630 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 5,848 Max number of times the same event was reported
- 14,281 Total events found
Rank Times reported Error 1 5,848 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Dec 12 00 43 01 14 02 42 03 10 04 1 05 3 06 3 07 19 08 67 09 455 10 746 11 639 12 345 13 704 14 872 15 915 16 440 17 262 18 70 19 60 20 41 21 71 22 26 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: update shipping_policy set count_search=3 where id=2841905
Date: 2024-12-12 00:01:50
Statement: update res_users set sid = 'a72791316db7a860b66028157fad2768a9f829dc', last_update = '2024-12-11 23:02:01.109247',exp_date = '2024-12-11 23:47:01.109250', logged_in = 'TRUE' where id = 1075
Date: 2024-12-12 00:02:30
Statement: update res_users set sid = 'a72791316db7a860b66028157fad2768a9f829dc', last_update = '2024-12-11 23:02:28.568174',exp_date = '2024-12-11 23:47:28.568178', logged_in = 'TRUE' where id = 1075
Date: 2024-12-12 00:02:30
2 5,514 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #2
Day Hour Count Dec 12 00 41 01 11 02 41 03 7 04 1 05 1 06 2 07 16 08 59 09 426 10 710 11 594 12 322 13 670 14 846 15 877 16 416 17 249 18 62 19 53 20 35 21 53 22 22 - 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 r.id FROM ir_rule r JOIN ir_model m ON (r.model_id=m.id) WHERE m.model='ir.ui.menu' 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=1075) OR r.global) ORDER BY r.id
Date: 2024-12-12 00:02:30
Statement: SELECT f.name, d.json_value FROM ir_default d JOIN ir_model_fields f ON d.field_id=f.id WHERE f.model='policy.search' AND (d.user_id IS NULL OR d.user_id=1075) AND (d.company_id IS NULL OR d.company_id=1) AND d.condition IS NULL ORDER BY d.user_id, d.company_id, d.id
Date: 2024-12-12 00:02:30
Statement: SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id=m.id) WHERE m.model='policy.search' 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=1075) OR r.global) ORDER BY r.id
Date: 2024-12-12 00:02:30
3 1,075 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #3
Day Hour Count Dec 12 00 60 09 164 10 51 11 49 12 71 13 201 14 185 15 132 16 111 17 51 4 1,075 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count Dec 12 00 60 09 164 10 51 11 49 12 71 13 201 14 185 15 132 16 111 17 51 5 374 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #5
Day Hour Count Dec 12 00 13 01 5 09 35 10 18 11 17 12 58 13 62 14 76 15 59 16 17 17 13 21 1 6 180 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count Dec 12 00 1 09 17 10 7 11 9 12 37 13 26 14 37 15 34 16 8 17 4 7 87 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #7
Day Hour Count Dec 12 17 87 - FATAL: terminating connection due to administrator command
Statement: SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'مريم')) ORDER BY "urgent_customer"."id" LIMIT 1
Date: 2024-12-12 17:20:07
8 37 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #8
Day Hour Count Dec 12 17 37 9 16 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #9
Day Hour Count Dec 12 10 1 11 1 13 8 15 2 16 1 17 3 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 2859526 waits for ShareLock on transaction 1666760; blocked by process 2859578. Process 2859578 waits for ShareLock on transaction 1666775; blocked by process 2859526. Process 2859526: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-12-12 09:57:47.541733', "write_uid" = 1077 WHERE id IN (2655748, 2654789, 2651308, 2640106, 2634072, 2633224, 2627151, 2626246, 2595217, 2527472, 2496843, 2465324, 2372825, 2307574) Process 2859578: update shipping_policy set count_search=5 where id=2307574
Context: while updating tuple (19343,5) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-12-12 09:57:47.541733', "write_uid" = 1077 WHERE id IN (2655748, 2654789, 2651308, 2640106, 2634072, 2633224, 2627151, 2626246, 2595217, 2527472, 2496843, 2465324, 2372825, 2307574)Date: 2024-12-12 10:57:49
Detail: Process 2960507 waits for ShareLock on transaction 1673434; blocked by process 2859523. Process 2859523 waits for ShareLock on transaction 1673470; blocked by process 2960507. Process 2960507: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-12-12 10:27:52.790045', "write_uid" = 1080 WHERE id IN (3333854, 3332281, 3332144, 3332023, 3331784, 3330682, 3326187, 3324755, 3324715, 3317546, 3314567, 3314489, 3314394, 3312586, 3307085, 3303086, 3303076, 3301907, 3298342, 3297713, 3296888, 3296698, 3296635, 3296344, 3295993, 3295891, 3295066, 3294014, 3290368, 3290178, 3290168, 3289040, 3266243, 3253420) Process 2859523: update shipping_policy set count_search=3 where id=3253420
Context: while updating tuple (72873,44) in relation "shipping_policy"
Hint: See server log for query details.
Statement: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-12-12 10:27:52.790045', "write_uid" = 1080 WHERE id IN (3333854, 3332281, 3332144, 3332023, 3331784, 3330682, 3326187, 3324755, 3324715, 3317546, 3314567, 3314489, 3314394, 3312586, 3307085, 3303086, 3303076, 3301907, 3298342, 3297713, 3296888, 3296698, 3296635, 3296344, 3295993, 3295891, 3295066, 3294014, 3290368, 3290178, 3290168, 3289040, 3266243, 3253420)Date: 2024-12-12 11:27:55
Detail: Process 3655305 waits for ShareLock on transaction 1700674; blocked by process 3655292. Process 3655292 waits for ShareLock on transaction 1700656; blocked by process 3655305. Process 3655305: update shipping_policy set count_search=5 where id=2757730 Process 3655292: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-12-12 12:21:50.191042', "write_uid" = 1081 WHERE id IN (2905182, 2905180, 2904470, 2904468, 2904438, 2901468, 2901231, 2900375, 2898867, 2898253, 2898135, 2896985, 2896792, 2895733, 2895404, 2895002, 2893888, 2893436, 2892068, 2892066, 2891476, 2891361, 2890872, 2888793, 2888772, 2888770, 2888758, 2887026, 2886367, 2886074, 2886072, 2883820, 2882040, 2881960, 2880247, 2879669, 2876555, 2876554, 2875425, 2875401, 2874437, 2874186, 2874013, 2873913, 2873390, 2873202, 2873176, 2872324, 2871000, 2869931, 2869702, 2868803, 2868383, 2868187, 2866593, 2866050, 2864822, 2864529, 2864484, 2863981, 2863274, 2862973, 2862884, 2862871, 2861309, 2861273, 2860699, 2857849, 2856944, 2855456, 2854425, 2853751, 2852811, 2852397, 2850806, 2847028, 2846865, 2846854, 2842278, 2842247, 2842227, 2835685, 2834864, 2826470, 2825473, 2821402, 2820187, 2814500, 2812717, 2812079, 2807966, 2807859, 2806751, 2797959, 2787705, 2787688, 2786769, 2781999, 277
Context: while updating tuple (62977,45) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=5 where id=2757730Date: 2024-12-12 13:22:02
10 15 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Dec 12 01 3 04 3 07 3 16 3 19 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-12 01:06:00
11 11 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Dec 12 02 1 07 1 11 2 12 2 13 4 18 1 - ERROR: syntax error at or near ")" at character 300
- ERROR: syntax error at or near ")" at character 246
- ERROR: syntax error at or near ")" at character 164
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(3387933,), 0)
Date: 2024-12-12 02:41:23
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 ('\t9326508\t9301564\t9169357\t9170013\t9301274\t9107667\t9301059\t9186938\t9301665\t9072572',)
Date: 2024-12-12 07:02:57
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 ('9182500 ',)
Date: 2024-12-12 11:44:10
12 10 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #12
Day Hour Count Dec 12 02 4 16 2 20 4 - 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-12 02:42:14
13 8 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #13
Day Hour Count Dec 12 17 8 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: SELECT "shipping_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" = '9031145')) ORDER BY "shipping_policy"."id" DESC
Date: 2024-12-12 17:20:07
Statement: 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" = '8582689')))) ORDER BY "collection_policy"."id"
Date: 2024-12-12 17:20:07
14 8 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #14
Day Hour Count Dec 12 02 1 11 1 12 1 13 2 16 1 18 1 19 1 - ERROR: null value in column "code" of relation "res_country_state" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (4360, 65, 973, 973, الاقصر, null, 2024-12-12 01:01:47.555089, 2024-12-12 01:01:47.555089).
Statement: INSERT INTO "res_country_state" ("country_id", "create_date", "create_uid", "name", "write_date", "write_uid") VALUES (65, '2024-12-12 01:01:47.555089', 973, 'الاقصر', '2024-12-12 01:01:47.555089', 973) RETURNING "id"Date: 2024-12-12 02:01:47
Detail: Failing row contains (5429269, null, 827, 827, null, 0101387039, null, null, t, 2024-12-12 10:10:21.883524, 2024-12-12 10:10:21.883524, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-12-12 10:10:21.883524', 827, '0101387039', '2024-12-12 10:10:21.883524', 827) RETURNING "id"Date: 2024-12-12 11:10:21
Detail: Failing row contains (5429273, null, 827, 827, null, 000000165, null, null, t, 2024-12-12 11:15:28.954406, 2024-12-12 11:15:28.954406, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-12-12 11:15:28.954406', 827, '000000165', '2024-12-12 11:15:28.954406', 827) RETURNING "id"Date: 2024-12-12 12:15:28
15 8 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #15
Day Hour Count Dec 12 08 1 10 2 11 1 12 1 15 2 18 1 16 3 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #16
Day Hour Count Dec 12 08 1 14 1 20 1 17 3 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #17
Day Hour Count Dec 12 08 1 14 1 20 1 18 3 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #18
Day Hour Count Dec 12 08 1 14 1 20 1 19 2 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #19
Day Hour Count Dec 12 17 2 - ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
Context: parallel worker
Statement: SELECT "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" = '8582689')))) ORDER BY "collection_policy"."id"Date: 2024-12-12 17:20:07
Context: parallel worker
Statement: SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9031145')) ORDER BY "shipping_policy"."id" DESCDate: 2024-12-12 17:20:07
20 2 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #20
Day Hour Count Dec 12 17 2 21 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #21
Day Hour Count Dec 12 17 1 22 1 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #22
Day Hour Count Dec 12 12 1 - ERROR: could not serialize access due to concurrent delete
Statement: delete from cash_policy_line where id=1423416
Date: 2024-12-12 12:47:26