-
Global information
- Generated on Mon Mar 10 23:47:53 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 43,195,303 log entries in 2m51s
- Log start from 2025-03-10 00:00:00 to 2025-03-10 21:45:02
-
Overview
Global Stats
- 19,845 Number of unique normalized queries
- 18,216,255 Number of queries
- 7d11h37m32s Total query duration
- 2025-03-10 00:00:00 First query
- 2025-03-10 21:45:02 Last query
- 1,922 queries/s at 2025-03-10 16:21:56 Query peak
- 7d11h37m32s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 7d11h37m32s Execute total duration
- 3,582 Number of events
- 20 Number of unique normalized events
- 1,454 Max number of times the same event was reported
- 0 Number of cancellation
- 0 Total number of automatic vacuums
- 0 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 0 Total number of sessions
- 0 sessions at Session peak
- 0ms Total duration of sessions
- 0ms Average duration of sessions
- 18,216,255 Average queries per session
- 7d11h37m32s 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
- 1,922 queries/s Query Peak
- 2025-03-10 16:21:56 Date
SELECT Traffic
Key values
- 1,408 queries/s Query Peak
- 2025-03-10 16:21:56 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,115 queries/s Query Peak
- 2025-03-10 13:33:33 Date
Queries duration
Key values
- 7d11h37m32s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 10 00 426,637 0ms 1m11s 34ms 5m57s 6m50s 9m34s 01 408,746 0ms 8s466ms 35ms 6m35s 7m3s 7m27s 02 294,720 0ms 7s849ms 39ms 5m52s 6m30s 7m44s 03 248,760 0ms 1s355ms 33ms 4m 5m20s 6m28s 04 230,008 0ms 1s692ms 27ms 3m13s 3m34s 4m 05 267,996 0ms 2s677ms 42ms 4m28s 6m19s 7m8s 06 266,823 0ms 1s645ms 35ms 4m11s 5m1s 6m53s 07 258,039 0ms 57s842ms 40ms 5m38s 6m19s 7m8s 08 582,751 0ms 42s220ms 36ms 11m23s 12m31s 13m43s 09 1,158,023 0ms 8m43s 21ms 9m55s 11m11s 15m7s 10 1,494,039 0ms 26m19s 35ms 20m13s 24m47s 39m34s 11 1,610,841 0ms 6m26s 50ms 29m49s 33m27s 38m40s 12 1,853,345 0ms 6m6s 67ms 43m39s 45m55s 49m10s 13 1,751,711 0ms 1m10s 33ms 25m41s 28m49s 29m51s 14 1,477,786 0ms 6s484ms 22ms 16m3s 17m23s 19m35s 15 1,319,432 0ms 56s401ms 17ms 8m29s 8m59s 10m42s 16 951,436 0ms 56s679ms 24ms 11m20s 11m53s 12m44s 17 505,401 0ms 50s448ms 20ms 6m33s 7m29s 7m52s 18 753,290 0ms 2m18s 36ms 10m39s 12m4s 13m38s 19 808,191 0ms 55s900ms 24ms 8m7s 9m6s 10m23s 20 907,566 0ms 1m9s 33ms 16m53s 18m10s 19m1s 21 640,714 0ms 10s126ms 40ms 12m16s 14m14s 14m42s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 10 00 237,498 0 62ms 5m19s 5m57s 6m51s 01 220,523 0 65ms 6m1s 6m34s 7m6s 02 153,933 0 75ms 4m58s 5m51s 6m30s 03 125,158 0 66ms 3m18s 3m59s 6m22s 04 124,444 0 49ms 2m44s 3m12s 3m49s 05 143,993 0 79ms 4m19s 4m28s 6m22s 06 144,299 0 65ms 3m37s 4m10s 5m17s 07 145,182 0 71ms 3m56s 5m29s 6m18s 08 344,944 0 60ms 8m51s 11m23s 12m39s 09 673,169 0 37ms 8m32s 9m54s 12m16s 10 846,864 0 62ms 17m56s 20m11s 27m19s 11 901,184 0 89ms 27m28s 29m37s 33m25s 12 1,092,164 0 111ms 41m38s 42m44s 45m10s 13 1,026,590 0 57ms 20m48s 25m39s 28m47s 14 855,962 0 38ms 12m19s 16m1s 18m3s 15 737,281 0 31ms 7m31s 8m28s 9m26s 16 558,379 0 42ms 10m15s 11m19s 12m14s 17 275,545 0 37ms 4m47s 6m32s 7m40s 18 430,390 0 62ms 9m22s 10m39s 12m2s 19 456,395 0 42ms 7m12s 8m6s 9m43s 20 519,622 0 58ms 13m23s 16m51s 18m16s 21 366,764 0 70ms 11m48s 12m15s 14m41s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 10 00 38,613 7,694 126 0 1ms 237ms 277ms 334ms 01 35,609 7,206 140 0 0ms 223ms 301ms 402ms 02 26,829 6,068 171 0 0ms 192ms 243ms 301ms 03 20,608 4,394 98 0 0ms 119ms 136ms 229ms 04 14,649 3,814 82 0 0ms 150ms 231ms 311ms 05 29,755 5,424 75 0 0ms 197ms 247ms 354ms 06 23,406 5,336 77 0 0ms 175ms 200ms 240ms 07 21,253 6,668 91 0 4ms 172ms 263ms 29s811ms 08 37,884 11,161 268 0 2ms 313ms 375ms 524ms 09 61,527 13,625 782 0 0ms 434ms 467ms 592ms 10 83,979 19,729 996 0 0ms 701ms 853ms 1s169ms 11 108,310 22,482 894 0 7ms 971ms 1s109ms 1m19s 12 108,667 26,725 1,055 0 26ms 1s261ms 1m12s 6m15s 13 98,045 20,480 1,020 0 1ms 869ms 1s64ms 1s522ms 14 74,047 17,603 608 1 0ms 497ms 599ms 955ms 15 70,435 16,745 838 0 0ms 382ms 444ms 704ms 16 59,348 15,992 539 0 0ms 518ms 608ms 1s11ms 17 30,363 6,732 271 0 0ms 197ms 271ms 600ms 18 52,874 14,492 912 0 3ms 331ms 431ms 832ms 19 52,422 10,427 446 0 0ms 331ms 420ms 516ms 20 73,616 21,246 676 0 0ms 527ms 663ms 834ms 21 59,064 11,068 484 0 0ms 535ms 564ms 749ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 10 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% Day Hour Count Average / Second Mar 10 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 Day Hour Count Average Duration Average idle time Mar 10 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 -
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
- 77,765 buffers Checkpoint Peak
- 2025-03-10 13:09:40 Date
- 270.052 seconds Highest write time
- 0.028 seconds Sync time
Checkpoints Wal files
Key values
- 32 files Wal files usage Peak
- 2025-03-10 13:54:40 Date
Checkpoints distance
Key values
- 1,008.75 Mo Distance Peak
- 2025-03-10 13:54:40 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 10 00 188,560 3,239.478s 0.04s 3,239.577s 01 261,093 2,969.279s 0.052s 2,969.388s 02 220,355 3,239.597s 0.03s 3,239.691s 03 152,958 2,969.482s 0.024s 2,969.55s 04 135,570 2,430.029s 0.047s 2,430.12s 05 178,748 3,239.576s 0.031s 3,239.657s 06 164,967 3,239.628s 0.027s 3,239.702s 07 144,132 3,163.03s 0.04s 3,163.152s 08 242,438 3,239.53s 0.042s 3,239.638s 09 442,028 3,239.503s 0.057s 3,239.651s 10 645,730 2,969.463s 0.07s 2,969.653s 11 762,051 3,239.404s 0.069s 3,239.619s 12 818,021 3,239.357s 0.085s 3,239.608s 13 736,852 2,970.088s 0.093s 2,970.314s 14 502,222 3,239.455s 0.055s 3,239.61s 15 443,847 3,239.499s 0.052s 3,239.636s 16 324,481 2,429.801s 0.067s 2,429.941s 17 165,685 3,239.543s 0.07s 3,239.663s 18 311,825 3,239.478s 0.048s 3,239.597s 19 271,033 3,161.876s 0.061s 3,162.002s 20 328,060 3,239.547s 0.05s 3,239.675s 21 320,351 2,429.591s 0.039s 2,429.693s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 10 00 0 0 74 4,087 0.007s 0.012s 01 0 0 101 3,986 0.010s 0.012s 02 0 0 86 3,503 0.002s 0.012s 03 0 0 60 2,594 0.002s 0.011s 04 0 0 50 2,424 0.008s 0.011s 05 0 0 73 2,854 0.002s 0.012s 06 0 0 68 2,752 0.002s 0.012s 07 0 0 59 3,276 0.002s 0.013s 08 0 0 96 3,956 0.002s 0.012s 09 0 0 175 5,001 0.002s 0.012s 10 0 0 253 5,082 0.004s 0.012s 11 0 0 311 5,244 0.003s 0.012s 12 0 0 335 5,390 0.003s 0.012s 13 0 0 302 5,511 0.006s 0.012s 14 0 0 209 5,476 0.003s 0.012s 15 0 0 183 5,609 0.003s 0.012s 16 0 0 130 4,903 0.009s 0.011s 17 0 0 66 4,400 0.026s 0.012s 18 0 0 128 4,959 0.002s 0.012s 19 0 0 110 5,328 0.004s 0.013s 20 0 0 138 5,168 0.002s 0.012s 21 0 0 131 3,872 0.003s 0.009s Day Hour Count Avg time (sec) Mar 10 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 Day Hour Mean distance Mean estimate Mar 10 00 99,951.91 kB 187,979.82 kB 01 137,930.92 kB 212,920.42 kB 02 117,509.92 kB 164,036.42 kB 03 90,722.90 kB 123,915.60 kB 04 74,696.18 kB 89,067.73 kB 05 100,673.08 kB 115,326.83 kB 06 91,877.50 kB 118,996.75 kB 07 74,301.23 kB 94,410.15 kB 08 131,059.17 kB 174,228.75 kB 09 239,684.75 kB 258,493.25 kB 10 345,612.33 kB 387,497.67 kB 11 423,864.25 kB 458,943.33 kB 12 453,041.18 kB 477,944.45 kB 13 407,826.36 kB 468,245.64 kB 14 286,197.00 kB 413,263.67 kB 15 242,976.55 kB 309,702.82 kB 16 193,861.91 kB 248,952.82 kB 17 89,552.33 kB 163,660.25 kB 18 174,742.42 kB 206,027.67 kB 19 138,977.00 kB 176,188.08 kB 20 188,783.33 kB 211,899.92 kB 21 238,437.67 kB 297,353.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 Mar 10 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 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 10 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 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 10,380,283 Total read queries
- 5,358,305 Total write queries
Queries by database
Key values
- unknown Main database
- 18,216,255 Requests
- 7d11h37m32s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 18,216,255 Requests
User Request type Count Duration unknown Total 18,216,255 7d11h37m32s copy from 1 2ms cte 11,393 3s377ms ddl 224 33ms delete 10,649 17s507ms insert 1,181,303 7m45s others 2,477,667 2m22s select 10,380,283 7d9h55m23s tcl 3,879,624 3m10s update 275,111 1h28m29s Duration by user
Key values
- 7d11h37m32s (unknown) Main time consuming user
User Request type Count Duration unknown Total 18,216,255 7d11h37m32s copy from 1 2ms cte 11,393 3s377ms ddl 224 33ms delete 10,649 17s507ms insert 1,181,303 7m45s others 2,477,667 2m22s select 10,380,283 7d9h55m23s tcl 3,879,624 3m10s update 275,111 1h28m29s Queries by host
Key values
- unknown Main host
- 18,216,255 Requests
- 7d11h37m32s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 18,216,255 Requests
- 7d11h37m32s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-03-10 01:29:01 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 16,570,294 0-1ms duration
Slowest individual queries
Rank Duration Query 1 26m19s SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))))) AND ("policy_number"."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 (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-10 10:42:56 ]
2 8m43s SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))))) AND ("policy_number"."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 (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))))) AND ("policy_number"."name"::text ilike '%876%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-03-10 09:54:26 ]
3 6m26s update shipping_policy set count_search = 5 where id = 6065258;[ Date: 2025-03-10 11:52:13 ]
4 6m6s update shipping_policy set d_date = '2025-03-10' where id = 6080008;[ Date: 2025-03-10 12:49:57 ]
5 4m18s UPDATE "shipping_policy" SET "delegate_button" = true, "delegate_id" = 8005416, "destination_type" = 'office', "driver_id" = 8005805, "edit_cash_button" = true, "last_car" = 541, "last_office" = 19, "last_warehouse" = NULL, "new_destination_button" = true, "out_date" = '2025-03-10', "return_button" = false, "state" = 'in_way_to_client', "state_id" = 2057, "write_date" = '2025-03-10 11:21:13.087983', "write_uid" = 938 WHERE id IN (6156352, 6154701, 6154635, 6154281, 6151768, 6150097, 6150054, 6149311, 6148807, 6147232, 6146653, 6146567, 6146439, 6146288, 6145694, 6144502, 6141308, 6141278, 6141007, 6140543, 6139796, 6127745, 6127735, 6127717, 6126069, 6125042, 6125021, 6124988, 6124970, 6119317, 6119056, 6118966, 6118664, 6118393, 6117888, 6116689, 6114076, 6110349, 6109338, 6104351, 6104156, 6100770, 6100703, 6097350, 6094188, 6093966, 6092714, 6091648, 6087602, 6073747, 6052144, 6039297);[ Date: 2025-03-10 12:28:05 ]
6 4m12s UPDATE "shipping_policy" SET "total_shipping_price" = '220', "write_date" = '2025-03-10 11:32:25.386737', "write_uid" = 979 WHERE id IN (6118816, 6025628);[ Date: 2025-03-10 12:36:38 ]
7 3m44s UPDATE "shipping_policy" SET "client_date" = '2025-03-10', "delegate_button" = true, "receive_man_id" = 'اسامة محمد نجيب', "state" = 'client_receive', "write_date" = '2025-03-10 11:33:23.060793', "write_uid" = 979 WHERE id IN (6123329, 6123320, 6103729, 6103476, 6103455, 6090695, 6117605, 6107836, 6104845, 6098306, 6116541, 6104104, 6116691, 6118826, 6118873, 6118809, 6109065, 6113573, 6116565, 6075190, 6105611, 6102621, 6116662, 6099270, 6091174, 6102554);[ Date: 2025-03-10 12:44:30 ]
8 3m12s UPDATE "shipping_policy" SET "delegate_button" = true, "delegate_id" = 8005422, "destination_type" = 'office', "driver_id" = 8005820, "edit_cash_button" = true, "last_car" = 596, "last_office" = 19, "last_warehouse" = NULL, "new_destination_button" = true, "out_date" = '2025-03-10', "return_button" = false, "state" = 'in_way_to_client', "state_id" = 2059, "write_date" = '2025-03-10 10:30:14.343348', "write_uid" = 938 WHERE id IN (6156377, 6156317, 6155531, 6154579, 6148397, 6143425, 6138416, 6127872, 6127859, 6127850, 6127843, 6127771, 6125064, 6125006, 6124983, 6116157, 6115284, 6114359, 6114235, 6112625, 6111317, 6110950, 6108710, 6107471, 6106449, 6106169, 6106030, 6105890, 6104375, 6100227, 6099424, 6098842, 6097559, 6091553, 6090656, 6070029, 6055686, 6032031, 6021786);[ Date: 2025-03-10 11:34:39 ]
9 3m6s UPDATE "shipping_policy" SET "client_date" = '2025-03-10', "client_delivery_button" = true, "edit_cash_button" = false, "receive_man_id" = 'محمد ربيعى', "return_button" = true, "state" = 'client_receive', "write_date" = '2025-03-10 11:00:13.453671', "write_uid" = 851 WHERE id IN (6122624, 6087751, 6083128, 6098095, 6081553, 6074428, 6107267, 6103727, 6116671, 6062639, 6068994, 6069811, 6088602, 6086949, 6089265, 6030753, 6118800, 6046934, 6123362, 6031595, 6083096, 6118803, 6078765, 6083161, 6118922, 6053640);[ Date: 2025-03-10 12:06:04 ]
10 3m5s update shipping_policy set count_search = 4 where id = 6117516;[ Date: 2025-03-10 12:52:02 ]
11 2m58s UPDATE "collection_policy" SET "confirm_date" = '2025-03-10', "state" = 'confirm', "write_date" = '2025-03-10 11:20:05.483758', "write_uid" = 1077 WHERE id IN (3495490, 3495491, 3495492, 3495493, 3495494, 3495495, 3495496, 3495497, 3495498, 3495499, 3495517, 3495518, 3495519, 3495520, 3495521, 3495522, 3496166, 3496167, 3496168, 3496169, 3496170, 3496171, 3496172, 3496173, 3496174, 3496175, 3496176, 3496177, 3496178, 3496179, 3496180, 3496181, 3496182, 3496183, 3496184, 3496185, 3496186, 3496187, 3496188, 3496189, 3496190, 3496191, 3496192, 3496193, 3496194, 3496195, 3496196, 3496197, 3496198, 3496199, 3496200, 3496201, 3496202, 3496203, 3496204, 3496205, 3496206, 3496207, 3496208, 3496272, 3496274, 3496276, 3496278, 3496280, 3496282, 3496284, 3496286, 3496288, 3496290, 3497149, 3497150, 3497151, 3497152, 3497153, 3497154, 3497155, 3497156, 3497157, 3497158, 3497159, 3497160, 3497161, 3497162, 3497163, 3497164, 3497165, 3497166, 3497167, 3497168, 3497232, 3497233, 3497234, 3497235, 3497236, 3497237, 3497238, 3497239, 3497240, 3497241, 3497242, 3497243, 3497244, 3497245, 3497246, 3497247, 3497248, 3497249, 3497250, 3497251, 3497252, 3497253, 3497254, 3497255, 3497256, 3497257, 3497258, 3497259, 3497261, 3497263, 3497264, 3497266, 3497268, 3497270, 3497271, 3497273, 3497274, 3497275, 3497406, 3497407, 3497408, 3497409, 3497410, 3497411, 3497412, 3497413, 3497414, 3497415, 3497416, 3497417, 3497418, 3497420, 3497422, 3497423, 3497424, 3497425, 3497426, 3497427, 3497428, 3497429, 3497430, 3497431, 3497432, 3497433, 3497434, 3497435, 3497436, 3497437, 3497438, 3497439, 3497440, 3497441, 3497442, 3497443, 3497444, 3497445, 3497446, 3497447, 3497448, 3497449, 3497450, 3497451, 3497497, 3497498, 3497499, 3497500, 3497501, 3497502, 3497503, 3497504, 3497505, 3497506, 3497507, 3497508, 3497509, 3497510, 3497511, 3497512, 3497513, 3497514, 3497515, 3497516, 3497517, 3497518, 3497519, 3497520, 3497521, 3497522, 3497523, 3497524, 3497525, 3497526, 3497527, 3497528, 3497529, 3497530, 3497531, 3497532, 3497533, 3497535, 3497536, 3497537, 3497538, 3497539, 3497540, 3497542, 3497543, 3497544, 3497545, 3497546, 3497565, 3497566, 3497567, 3497568, 3497569, 3497570, 3497571, 3497572, 3497573, 3497574, 3497575, 3497576, 3497577, 3497578, 3497579, 3497580, 3497581, 3497582, 3497583, 3497584, 3497585, 3497586, 3497587, 3497588, 3497589, 3497590, 3497591, 3497592, 3497593, 3497594, 3497595, 3497596, 3497597, 3497598, 3497599, 3497600, 3497601, 3497602, 3497603, 3497604, 3497605, 3497606, 3497607, 3497608, 3497609, 3497610, 3497611, 3497612, 3497613, 3497614, 3497615, 3497616, 3497617, 3497618, 3497619, 3497620, 3497621, 3497622, 3497623, 3497624, 3497625, 3497626, 3497627, 3497661, 3497662, 3497729, 3497730, 3497731, 3497732, 3497733, 3497734, 3497735, 3497736, 3497737, 3497738, 3497739, 3497740, 3497741, 3497742, 3497743, 3497745, 3497747, 3497749, 3497751, 3497753, 3497755, 3497846, 3497847, 3497848, 3497849, 3497850, 3497851, 3497852, 3497853, 3497854, 3497855, 3497856, 3497857, 3497858, 3497859, 3497860, 3497861, 3497862, 3497863, 3497864, 3497865, 3497866, 3497867, 3497868, 3497869, 3497870, 3497871, 3497872, 3497881, 3497883, 3497884, 3497886, 3497889, 3497891, 3497893, 3497895, 3497897, 3497899, 3497901, 3497903, 3497905, 3498070, 3498071, 3498072, 3498073, 3498074, 3498075, 3498076, 3498077, 3498078, 3498079, 3498080, 3498081, 3498082, 3498083, 3498084, 3498085, 3498086, 3498087, 3498088, 3498089, 3498090, 3498091, 3498092, 3498093, 3498094, 3498095, 3498096, 3498097, 3498098, 3498099, 3498100, 3498101, 3498102, 3498103, 3498104, 3498105, 3498106, 3498107, 3498108, 3498109, 3498110, 3498113, 3498114, 3498273, 3498274, 3498275, 3498276, 3498277, 3498278, 3498279, 3498280, 3498281, 3498282, 3498283, 3498284, 3498285, 3498286, 3498287, 3498288, 3498289, 3498290, 3498291, 3498293, 3498294, 3498295, 3498296, 3498297, 3498298, 3498299, 3498300, 3498301, 3498302, 3498303, 3498304, 3498305, 3498306, 3498307, 3498308, 3498309, 3498310, 3498311, 3498312, 3498314, 3498315, 3498316, 3498317, 3498318, 3498319, 3498469, 3498471, 3498475, 3498477, 3498479, 3498481, 3498483, 3498485, 3498489, 3498500, 3498502, 3498504, 3498506, 3498507, 3498508, 3498509, 3498510, 3498511, 3498512, 3498513, 3498514, 3498515, 3498516, 3498517, 3498518, 3498519, 3498520, 3498521, 3498522, 3498523, 3498525, 3498527, 3498529, 3498530, 3498531, 3498532, 3498533, 3498534, 3498536, 3498538, 3498540, 3498542, 3498543, 3498544, 3498545, 3498546, 3498547, 3498548, 3498549, 3498767, 3498768, 3498769, 3498920, 3498921, 3498922, 3498923, 3498924, 3498925, 3498926, 3498927, 3498928, 3498929, 3498930, 3498931, 3498932, 3498933, 3498934, 3498935, 3498936, 3498937, 3498938, 3498939, 3498940, 3498941, 3498942, 3498943, 3498944, 3498945, 3498946, 3498947, 3498948, 3498949, 3498950, 3498951, 3498952, 3498953, 3498987, 3498988, 3498989);[ Date: 2025-03-10 12:24:34 ]
12 2m36s UPDATE "collection_policy" SET "confirm_date" = '2025-03-10', "state" = 'confirm', "write_date" = '2025-03-10 11:13:41.928888', "write_uid" = 1077 WHERE id IN (3495490, 3495491, 3495492, 3495493, 3495494, 3495495, 3495496, 3495497, 3495498, 3495499, 3495517, 3495518, 3495519, 3495520, 3495521, 3495522, 3496166, 3496167, 3496168, 3496169, 3496170, 3496171, 3496172, 3496173, 3496174, 3496175, 3496176, 3496177, 3496178, 3496179, 3496180, 3496181, 3496182, 3496183, 3496184, 3496185, 3496186, 3496187, 3496188, 3496189, 3496190, 3496191, 3496192, 3496193, 3496194, 3496195, 3496196, 3496197, 3496198, 3496199, 3496200, 3496201, 3496202, 3496203, 3496204, 3496205, 3496206, 3496207, 3496208, 3496272, 3496274, 3496276, 3496278, 3496280, 3496282, 3496284, 3496286, 3496288, 3496290, 3497149, 3497150, 3497151, 3497152, 3497153, 3497154, 3497155, 3497156, 3497157, 3497158, 3497159, 3497160, 3497161, 3497162, 3497163, 3497164, 3497165, 3497166, 3497167, 3497168, 3497232, 3497233, 3497234, 3497235, 3497236, 3497237, 3497238, 3497239, 3497240, 3497241, 3497242, 3497243, 3497244, 3497245, 3497246, 3497247, 3497248, 3497249, 3497250, 3497251, 3497252, 3497253, 3497254, 3497255, 3497256, 3497257, 3497258, 3497259, 3497261, 3497263, 3497264, 3497266, 3497268, 3497270, 3497271, 3497273, 3497274, 3497275, 3497406, 3497407, 3497408, 3497409, 3497410, 3497411, 3497412, 3497413, 3497414, 3497415, 3497416, 3497417, 3497418, 3497420, 3497422, 3497423, 3497424, 3497425, 3497426, 3497427, 3497428, 3497429, 3497430, 3497431, 3497432, 3497433, 3497434, 3497435, 3497436, 3497437, 3497438, 3497439, 3497440, 3497441, 3497442, 3497443, 3497444, 3497445, 3497446, 3497447, 3497448, 3497449, 3497450, 3497451, 3497497, 3497498, 3497499, 3497500, 3497501, 3497502, 3497503, 3497504, 3497505, 3497506, 3497507, 3497508, 3497509, 3497510, 3497511, 3497512, 3497513, 3497514, 3497515, 3497516, 3497517, 3497518, 3497519, 3497520, 3497521, 3497522, 3497523, 3497524, 3497525, 3497526, 3497527, 3497528, 3497529, 3497530, 3497531, 3497532, 3497533, 3497535, 3497536, 3497537, 3497538, 3497539, 3497540, 3497542, 3497543, 3497544, 3497545, 3497546, 3497565, 3497566, 3497567, 3497568, 3497569, 3497570, 3497571, 3497572, 3497573, 3497574, 3497575, 3497576, 3497577, 3497578, 3497579, 3497580, 3497581, 3497582, 3497583, 3497584, 3497585, 3497586, 3497587, 3497588, 3497589, 3497590, 3497591, 3497592, 3497593, 3497594, 3497595, 3497596, 3497597, 3497598, 3497599, 3497600, 3497601, 3497602, 3497603, 3497604, 3497605, 3497606, 3497607, 3497608, 3497609, 3497610, 3497611, 3497612, 3497613, 3497614, 3497615, 3497616, 3497617, 3497618, 3497619, 3497620, 3497621, 3497622, 3497623, 3497624, 3497625, 3497626, 3497627, 3497661, 3497662, 3497729, 3497730, 3497731, 3497732, 3497733, 3497734, 3497735, 3497736, 3497737, 3497738, 3497739, 3497740, 3497741, 3497742, 3497743, 3497745, 3497747, 3497749, 3497751, 3497753, 3497755, 3497846, 3497847, 3497848, 3497849, 3497850, 3497851, 3497852, 3497853, 3497854, 3497855, 3497856, 3497857, 3497858, 3497859, 3497860, 3497861, 3497862, 3497863, 3497864, 3497865, 3497866, 3497867, 3497868, 3497869, 3497870, 3497871, 3497872, 3497881, 3497883, 3497884, 3497886, 3497889, 3497891, 3497893, 3497895, 3497897, 3497899, 3497901, 3497903, 3497905, 3498070, 3498071, 3498072, 3498073, 3498074, 3498075, 3498076, 3498077, 3498078, 3498079, 3498080, 3498081, 3498082, 3498083, 3498084, 3498085, 3498086, 3498087, 3498088, 3498089, 3498090, 3498091, 3498092, 3498093, 3498094, 3498095, 3498096, 3498097, 3498098, 3498099, 3498100, 3498101, 3498102, 3498103, 3498104, 3498105, 3498106, 3498107, 3498108, 3498109, 3498110, 3498113, 3498114, 3498273, 3498274, 3498275, 3498276, 3498277, 3498278, 3498279, 3498280, 3498281, 3498282, 3498283, 3498284, 3498285, 3498286, 3498287, 3498288, 3498289, 3498290, 3498291, 3498293, 3498294, 3498295, 3498296, 3498297, 3498298, 3498299, 3498300, 3498301, 3498302, 3498303, 3498304, 3498305, 3498306, 3498307, 3498308, 3498309, 3498310, 3498311, 3498312, 3498314, 3498315, 3498316, 3498317, 3498318, 3498319, 3498469, 3498471, 3498475, 3498477, 3498479, 3498481, 3498483, 3498485, 3498489, 3498500, 3498502, 3498504, 3498506, 3498507, 3498508, 3498509, 3498510, 3498511, 3498512, 3498513, 3498514, 3498515, 3498516, 3498517, 3498518, 3498519, 3498520, 3498521, 3498522, 3498523, 3498525, 3498527, 3498529, 3498530, 3498531, 3498532, 3498533, 3498534, 3498536, 3498538, 3498540, 3498542, 3498543, 3498544, 3498545, 3498546, 3498547, 3498548, 3498549, 3498767, 3498768, 3498769, 3498920, 3498921, 3498922, 3498923, 3498924, 3498925, 3498926, 3498927, 3498928, 3498929, 3498930, 3498931, 3498932, 3498933, 3498934, 3498935, 3498936, 3498937, 3498938, 3498939, 3498940, 3498941, 3498942, 3498943, 3498944, 3498945, 3498946, 3498947, 3498948, 3498949, 3498950, 3498951, 3498952, 3498953, 3498987, 3498988, 3498989);[ Date: 2025-03-10 12:17:27 ]
13 2m25s UPDATE "shipping_policy" SET "total_shipping_price" = '200', "write_date" = '2025-03-10 11:46:55.464610', "write_uid" = 844 WHERE id IN (6114442);[ Date: 2025-03-10 12:49:20 ]
14 2m18s UPDATE "shipping_policy" SET "review_date" = '2025-03-10', "review_state" = 'reviewed', "write_date" = '2025-03-10 17:23:21.526405', "write_uid" = 1076 WHERE id IN (6130315, 6125693, 6107330, 6107325, 6107320, 6107315, 6107310, 6107305, 6107301, 6107295, 6107290, 6107272, 6107266, 6107260, 6107254, 6107249, 6107244, 6107240, 6107236, 6107232, 6107228, 6107225, 6107221, 6107217, 6107213, 6107210, 6107207, 6107205, 6107202, 6107199, 6107196, 6107193, 6107191, 6107188, 6107185, 6107182, 6107179, 6107177, 6107173, 6107170, 6107164, 6107161, 6107158, 6107155, 6107152, 6107149, 6107145, 6107142, 6107139, 6107136, 6107133, 6107130, 6107127, 6107124, 6107122, 6107119, 6107116, 6107113, 6107109, 6107105, 6107101, 6107097, 6107093, 6107088, 6107084, 6107078, 6107072, 6107065, 6107058, 6107051, 6107045, 6107038, 6107033, 6107027, 6107020, 6107013, 6107006, 6106999, 6106995, 6106989, 6106983, 6106977, 6106971, 6106963, 6106959, 6106955, 6106951, 6106947, 6106943, 6106939, 6106935, 6106931, 6106928, 6106920, 6106916, 6106909, 6106905, 6106903, 6106901, 6106899, 6106897, 6106895, 6106893, 6106891, 6106889, 6106885, 6106883, 6106881, 6106879, 6106877, 6106875, 6106873, 6106871, 6106869, 6106867, 6106865, 6106863, 6106861, 6106859, 6106853, 6106852, 6106851, 6106850, 6106849, 6106847, 6106845, 6106843, 6106842, 6106839, 6106837, 6106834, 6106831, 6106828, 6106825, 6106823, 6106821, 6106819, 6106816, 6106813, 6106809, 6106803, 6106799, 6106795, 6106791, 6106787, 6106783, 6106779, 6106775, 6106771, 6106767, 6106763, 6106761, 6106758, 6106755, 6106752, 6106749, 6106746, 6106743, 6106740, 6106735, 6106732, 6106726, 6106723, 6106720, 6106717, 6106714, 6106711, 6106708, 6106705, 6106703, 6106698, 6106695, 6106692, 6106689, 6106686, 6106683, 6106681, 6106679, 6106678, 6106675, 6106669, 6106667, 6106664, 6106660, 6106655, 6106651);[ Date: 2025-03-10 18:28:22 ]
15 2m14s UPDATE "shipping_policy" SET "delegate_button" = true, "delegate_id" = 8008284, "destination_type" = 'office', "driver_id" = 8005810, "edit_cash_button" = true, "last_car" = 693, "last_office" = 19, "last_warehouse" = NULL, "new_destination_button" = true, "out_date" = '2025-03-10', "return_button" = false, "state" = 'in_way_to_client', "state_id" = 2054, "write_date" = '2025-03-10 11:44:24.472476', "write_uid" = 934 WHERE id IN (6156337, 6154574, 6148493, 6143457, 6140990, 6138712, 6135252, 6127775, 6127732, 6125079, 6125031, 6125022, 6125002, 6119392, 6119296, 6119127, 6116724, 6115164, 6114105, 6114048, 6106945, 6092413, 6091943, 6090200, 6089491, 6079127, 6075660, 6059379, 6054622, 6054190, 6051476, 6023645, 6021734, 6013554, 5991728, 5978148, 5924477);[ Date: 2025-03-10 12:49:20 ]
16 2m5s UPDATE "shipping_policy" SET "notes" = 'خروج عبدالله زغلول', "write_date" = '2025-03-10 11:47:15.096280', "write_uid" = 934 WHERE id IN (6164984, 6159273, 6154594, 6152153, 6150854, 6150084, 6146988, 6145415, 6144439, 6142407, 6142197, 6141084, 6137784, 6137001, 6136377, 6127827, 6127763, 6126060, 6126056, 6119438, 6116651, 6116238, 6114174, 6114151, 6111006, 6110443, 6107140, 6106533, 6106422, 6105896, 6105350, 6102095, 6099511, 6099293, 6099138, 6097451, 6092393, 6089759, 6075394, 6073719, 6070108, 6053042, 6043274, 6023623, 6000223, 5987656);[ Date: 2025-03-10 12:49:20 ]
17 1m56s update shipping_policy set count_search = 4 where id = 5493999;[ Date: 2025-03-10 12:24:34 ]
18 1m49s UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-03-10 11:50:01.144071', "write_uid" = 1102 WHERE id IN (5732528, 6128381, 6128306, 6096377, 6095287, 6094002, 6090240, 6089884, 6088737, 6087695, 6086216, 6084931, 6084916, 6083204, 6081674, 6079321, 6062894, 6059738, 6059669, 6057609, 6057042, 6050001, 6043411, 6025493, 6019741, 6012054, 6007067, 5997753, 5982041, 5963681, 5829642, 6105424, 6128065, 6126322, 6120021, 6120013, 6119779, 6119766, 6119406, 6117323, 6114588, 6112190, 6111807, 6110000, 6109977, 6109973, 6109957, 6109177, 6108968, 6104731, 6103134, 6099317, 6097443, 6097223, 6096625, 6038448, 6110008, 6104995, 6105731, 6104718, 6117411, 6093369, 5996520, 6107984, 6102290, 6104603, 6085272, 6102559, 6119869, 6119390, 6031484, 6083210, 6082499, 6087163, 6100110, 6098864, 6102455, 6116412, 6098940, 6128201, 6034670, 6085212, 6083082, 6003077);[ Date: 2025-03-10 12:52:02 ]
19 1m45s UPDATE "shipping_policy" SET "client_date" = '2025-03-10', "client_delivery_button" = true, "delegate_button" = true, "edit_cash_button" = false, "receive_man_id" = 'مكتب', "return_button" = true, "state" = 'client_receive', "write_date" = '2025-03-10 11:37:15.091630', "write_uid" = 834 WHERE id IN (6128290, 6040839, 6013409, 6041417, 6054786, 6117261, 5919671, 6105543, 6106642, 6107208, 6107218, 6107238, 6108405, 6110671, 6119248, 6119758, 6128187, 6128262, 5667069, 6062284, 5980261, 5996177, 6089867, 6091390, 6091955, 6093915, 5991717, 6097459, 5993555, 6030702, 6095363, 6117464, 6090201, 6088711, 6078751, 6112214, 5956493, 6027558);[ Date: 2025-03-10 12:43:08 ]
20 1m36s UPDATE "shipping_policy" SET "client_delivery_button" = false, "collection_amount_receive" = '110', "total_collection_amount" = true, "write_date" = '2025-03-10 11:23:11.705454', "write_uid" = 947 WHERE id IN (6117506);[ Date: 2025-03-10 12:26:38 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 3d22h10m15s 298,200 639ms 8s66ms 1s136ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 10 00 8,820 2h15m20s 920ms 01 9,563 2h17m42s 864ms 02 8,521 2h2m31s 862ms 03 6,480 1h30m53s 841ms 04 5,146 1h3m38s 742ms 05 10,426 2h4m39s 717ms 06 7,700 1h31m10s 710ms 07 5,954 1h19m9s 797ms 08 13,781 3h23m44s 887ms 09 15,047 3h42m28s 887ms 10 21,952 7h39m43s 1s256ms 11 26,404 12h6m22s 1s650ms 12 26,031 16h42m57s 2s311ms 13 24,397 9h7m33s 1s346ms 14 16,212 4h46m28s 1s60ms 15 11,687 3h3m15s 940ms 16 11,264 2h46m13s 885ms 17 7,624 1h34m20s 742ms 18 19,058 4h20m47s 821ms 19 12,081 2h52m48s 858ms 20 13,628 3h34m54s 946ms 21 16,424 4h23m32s 962ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6166762)) AND (("shipping_track"."id" not in (51513213, 51513213)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:43:51 Duration: 8s66ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6166755)) AND (("shipping_track"."id" not in (51512660, 51512660)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:42:36 Duration: 8s50ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6166754)) AND (("shipping_track"."id" not in (51512579, 51512579)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:42:23 Duration: 8s6ms
2 20h28m14s 154,894 234ms 2s947ms 475ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 10 00 1,146 6m15s 327ms 01 2,672 13m14s 297ms 02 2,287 11m23s 299ms 03 2,610 12m44s 293ms 04 2,348 11m8s 284ms 05 1,857 9m6s 294ms 06 2,440 11m53s 292ms 07 7,086 30m42s 260ms 08 12,619 1h2m6s 295ms 09 5,974 30m20s 304ms 10 12,154 1h46m20s 524ms 11 13,686 2h34m8s 675ms 12 20,709 5h29m59s 956ms 13 10,726 1h30m52s 508ms 14 8,701 54m3s 372ms 15 3,647 20m9s 331ms 16 12,660 1h14m57s 355ms 17 2,966 15m50s 320ms 18 13,561 1h21m57s 362ms 19 620 3m2s 294ms 20 14,003 1h35m31s 409ms 21 422 2m24s 341ms -
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" = '904896')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:46:48 Duration: 2s947ms
-
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" = '9967179')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:24:44 Duration: 2s923ms
-
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" = '904899')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:46:59 Duration: 2s867ms
3 18h36m8s 49,398 644ms 9s423ms 1s355ms select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 10 00 325 5m7s 945ms 01 612 9m6s 893ms 02 781 11m24s 876ms 03 389 5m41s 878ms 04 231 3m12s 831ms 05 204 2m48s 827ms 06 226 2m55s 775ms 07 230 3m10s 828ms 08 1,110 17m24s 941ms 09 3,559 54m46s 923ms 10 4,638 1h50m24s 1s428ms 11 4,584 2h37m10s 2s57ms 12 5,902 4h28m41s 2s731ms 13 5,142 2h11m26s 1s533ms 14 3,627 1h8m1s 1s125ms 15 3,520 55m24s 944ms 16 2,742 39m39s 867ms 17 1,158 14m2s 727ms 18 2,818 39m33s 842ms 19 2,167 30m23s 841ms 20 3,075 48m20s 943ms 21 2,358 37m24s 951ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6166709, 6166707, 6166705, 6166703, 6166701, 6166700, 6166699, 6166698)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:38:20 Duration: 9s423ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6166709, 6166707, 6166705, 6166703, 6166701, 6166700, 6166699, 6166698)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:34:48 Duration: 9s199ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6123908, 6118637, 6115813, 6094589, 6094546, 6089544, 6087644, 6059390)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 11:10:47 Duration: 9s86ms
4 6h28m25s 19,315 887ms 2s967ms 1s206ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 10 00 1,501 27m35s 1s103ms 01 899 16m30s 1s101ms 02 956 17m21s 1s89ms 03 358 6m20s 1s63ms 04 534 9m34s 1s76ms 05 1,592 28m47s 1s85ms 06 1,424 25m44s 1s84ms 07 1,345 24m20s 1s85ms 08 332 7m12s 1s301ms 09 393 8m10s 1s248ms 10 100 2m38s 1s584ms 11 236 7m12s 1s832ms 12 387 13m41s 2s122ms 13 302 8m24s 1s671ms 14 484 10m40s 1s323ms 15 980 19m28s 1s192ms 16 890 18m38s 1s256ms 17 459 8m27s 1s105ms 18 771 16m10s 1s258ms 19 2,093 40m58s 1s174ms 20 2,028 42m39s 1s261ms 21 1,251 27m45s 1s331ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1045803')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-10 12:51:13 Duration: 2s967ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1045806')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-10 12:51:52 Duration: 2s871ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1045898')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-10 12:51:42 Duration: 2s857ms
5 5h23m26s 27,669 285ms 4s642ms 701ms select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 10 07 213 1m10s 332ms 08 1,741 12m58s 447ms 09 2,944 21m10s 431ms 10 3,351 39m26s 706ms 11 4,970 1h13m14s 884ms 12 4,125 1h24m34s 1s230ms 13 3,017 32m42s 650ms 14 2,947 25m28s 518ms 15 2,071 15m13s 440ms 16 1,555 11m41s 451ms 17 193 1m26s 446ms 18 542 4m19s 478ms -
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" = '1013719')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:26:54 Duration: 4s642ms
-
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" = '874847')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:26:59 Duration: 4s457ms
-
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" = '1013717')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:26:49 Duration: 4s443ms
6 4h41m36s 62,945 93ms 1s22ms 268ms 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 #6
Day Hour Count Duration Avg duration Mar 10 00 6,360 24m22s 229ms 01 3,481 14m16s 245ms 02 2,504 9m44s 233ms 03 1,220 4m40s 229ms 04 1,048 3m56s 226ms 05 3,398 12m36s 222ms 06 2,823 11m18s 240ms 07 2,609 10m39s 245ms 08 732 3m27s 283ms 09 851 3m46s 266ms 10 535 3m25s 384ms 11 708 5m58s 506ms 12 916 9m24s 616ms 13 1,595 10m3s 378ms 14 1,914 9m 282ms 15 3,622 16m46s 277ms 16 3,974 18m34s 280ms 17 2,276 8m33s 225ms 18 2,006 8m55s 267ms 19 5,657 23m52s 253ms 20 7,836 35m28s 271ms 21 6,880 32m44s 285ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد فيجاتشي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-10 12:43:09 Duration: 1s22ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد فيجاتشي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-10 12:42:40 Duration: 1s16ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد فيجاتشي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-10 12:42:27 Duration: 1s11ms
7 4h32m33s 170,469 45ms 624ms 95ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 10 00 4,391 4m59s 68ms 01 4,794 5m11s 64ms 02 3,652 3m57s 64ms 03 3,016 3m12s 63ms 04 1,975 1m55s 58ms 05 3,459 3m9s 54ms 06 2,515 2m16s 54ms 07 1,432 1m30s 63ms 08 5,620 6m40s 71ms 09 10,317 12m22s 71ms 10 14,773 27m20s 111ms 11 18,174 42m3s 138ms 12 19,309 58m8s 180ms 13 17,122 29m45s 104ms 14 11,090 14m51s 80ms 15 8,443 9m57s 70ms 16 8,456 9m26s 67ms 17 4,138 3m53s 56ms 18 5,411 5m51s 64ms 19 7,074 7m41s 65ms 20 8,549 10m2s 70ms 21 6,759 8m16s 73ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6122584, 6122236, 6122191, 6103410, 6093941, 6091530, 6076567, 5955275)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-10 12:37:47 Duration: 624ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6111364, 6080170, 6065633, 6062567, 6056081, 6038044, 6027945, 5843268)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-10 12:48:29 Duration: 605ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6089907, 6089407, 6083013, 6070485, 6030624, 6009493, 6004218, 5516213)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-10 12:54:38 Duration: 592ms
8 4h2m 12,583 339ms 2s781ms 1s153ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 10 00 1,730 29m22s 1s18ms 01 865 14m24s 999ms 02 310 5m3s 977ms 03 259 4m13s 977ms 05 124 2m1s 979ms 08 42 44s981ms 1s70ms 09 46 54s487ms 1s184ms 10 170 4m13s 1s489ms 11 125 3m47s 1s823ms 12 76 2m42s 2s132ms 13 508 13m1s 1s538ms 14 491 10m23s 1s269ms 15 880 16m19s 1s113ms 16 1,121 21m1s 1s125ms 17 690 11m51s 1s30ms 18 248 4m53s 1s181ms 19 759 13m28s 1s65ms 20 1,921 38m28s 1s201ms 21 2,218 45m5s 1s219ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1060007')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14))))))) 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 (14)))))) 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 (14)))))) 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 (14))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-10 12:33:59 Duration: 2s781ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '936403')) 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 (85))))))) 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 (85)))))) 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 (85)))))) 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 (85))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-10 20:30:16 Duration: 2s757ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '983915')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14))))))) 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 (14)))))) 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 (14)))))) 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 (14))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-10 12:34:11 Duration: 2s720ms
9 2h32m42s 16,764 238ms 2s888ms 546ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 10 00 629 3m30s 334ms 01 368 1m50s 301ms 02 261 1m17s 298ms 03 94 27s504ms 292ms 06 813 3m58s 293ms 07 862 3m40s 255ms 08 480 2m16s 284ms 09 1,387 7m5s 306ms 10 1,355 12m23s 549ms 11 2,757 34m12s 744ms 12 3,357 54m27s 973ms 13 1,014 8m 473ms 14 1,204 7m38s 380ms 15 289 1m35s 329ms 16 148 51s735ms 349ms 18 265 1m29s 336ms 19 593 2m55s 295ms 20 466 2m36s 336ms 21 422 2m24s 343ms -
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" = '1027013')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 11:14:27 Duration: 2s888ms
-
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" = '869910')) 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 (64)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:36:00 Duration: 2s866ms
-
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" = '1049955')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:20:00 Duration: 2s864ms
10 1h53m12s 58,274 58ms 485ms 116ms select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 10 00 13 977ms 75ms 07 657 49s851ms 75ms 08 5,690 8m4s 85ms 09 5,508 7m43s 84ms 10 5,863 11m59s 122ms 11 4,989 12m3s 144ms 12 9,817 29m38s 181ms 13 10,452 20m15s 116ms 14 5,996 9m33s 95ms 15 2,278 3m14s 85ms 16 3,876 5m46s 89ms 17 883 1m1s 70ms 18 2,158 2m52s 79ms 20 22 2s316ms 105ms 21 72 6s447ms 89ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6096305) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-10 11:10:06 Duration: 485ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5902650) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:34:47 Duration: 463ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5912971) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:35:59 Duration: 463ms
11 1h34m13s 24,043 115ms 1s156ms 235ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 10 00 29 5s74ms 174ms 01 124 19s297ms 155ms 02 75 12s257ms 163ms 07 12 1s878ms 156ms 08 132 22s553ms 170ms 09 1,566 4m21s 166ms 10 1,849 7m27s 242ms 11 2,397 13m 325ms 12 3,212 23m10s 432ms 13 3,392 13m48s 244ms 14 2,566 8m11s 191ms 15 3,146 8m28s 161ms 16 1,165 3m6s 160ms 17 482 1m5s 136ms 18 1,195 3m15s 163ms 19 1,106 2m42s 147ms 20 927 2m37s 169ms 21 668 1m55s 173ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8303257)) AND (("cash_track"."id" not in (9213580)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-10 12:26:58 Duration: 1s156ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8303263)) AND (("cash_track"."id" not in (9213616)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-10 12:27:24 Duration: 1s145ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8303242)) AND (("cash_track"."id" not in (9213361)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-10 12:25:16 Duration: 1s89ms
12 57m26s 31,036 54ms 380ms 111ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 10 07 213 14s899ms 69ms 08 1,903 2m31s 79ms 09 2,384 3m2s 76ms 10 3,570 6m31s 109ms 11 3,143 6m38s 126ms 12 8,367 21m11s 152ms 13 3,790 6m48s 107ms 14 3,070 4m28s 87ms 15 1,129 1m29s 78ms 16 1,946 2m41s 83ms 17 458 29s538ms 64ms 18 1,063 1m16s 72ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6026477) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:43:27 Duration: 380ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5972078) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:28:07 Duration: 380ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5977394) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:21:38 Duration: 380ms
13 45m46s 12,784 170ms 439ms 214ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 10 00 464 1m49s 235ms 01 2,232 8m6s 217ms 02 1,834 6m47s 222ms 03 2,338 8m24s 215ms 04 2,165 7m28s 207ms 05 1,716 5m57s 208ms 06 1,567 5m23s 206ms 07 211 46s279ms 219ms 08 257 1m2s 243ms -
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" = '761526')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 04:22:30 Duration: 439ms
-
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" = '893595')) 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, 36, 37, 40, 41, 42, 43, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 01:00:48 Duration: 422ms
-
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" = '934171')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 04:01:03 Duration: 297ms
14 43m59s 6,425 126ms 1s632ms 410ms select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 10 00 116 17s10ms 146ms 01 195 29s57ms 149ms 02 197 28s584ms 145ms 07 20 2s761ms 138ms 08 67 11s193ms 167ms 09 279 48s357ms 173ms 10 727 4m27s 367ms 11 1,534 13m59s 547ms 12 1,095 13m53s 760ms 13 761 5m6s 402ms 14 396 1m21s 204ms 15 317 51s729ms 163ms 16 142 24s273ms 170ms 17 36 5s124ms 142ms 18 106 18s229ms 171ms 19 112 16s831ms 150ms 20 194 35s954ms 185ms 21 131 22s735ms 173ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 65)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-10 11:29:59 Duration: 1s632ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 8)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-10 12:35:47 Duration: 1s319ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 128)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-10 12:27:25 Duration: 1s316ms
15 37m56s 2,334 29ms 2s187ms 975ms select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 10 00 10 3s650ms 365ms 01 6 3s929ms 654ms 02 1 157ms 157ms 03 1 727ms 727ms 07 7 1s212ms 173ms 08 36 21s989ms 610ms 09 120 1m34s 788ms 10 200 3m38s 1s93ms 11 231 4m45s 1s235ms 12 333 7m28s 1s347ms 13 330 5m57s 1s84ms 14 293 4m22s 894ms 15 217 3m1s 835ms 16 199 1m59s 601ms 17 35 28s266ms 807ms 18 65 57s472ms 884ms 19 122 1m17s 634ms 20 83 1m17s 927ms 21 45 36s848ms 818ms -
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-10 12:25:09 Duration: 2s187ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-10 12:34:53 Duration: 2s178ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-10 12:26:30 Duration: 2s166ms
16 36m40s 5,204 230ms 2s714ms 422ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 10 00 13 4s96ms 315ms 01 73 22s947ms 314ms 02 26 7s507ms 288ms 07 2,302 9m48s 255ms 08 144 36s322ms 252ms 09 194 59s249ms 305ms 10 819 7m18s 535ms 11 1,582 17m6s 648ms 20 51 16s435ms 322ms -
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" = '988010')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 11:06:26 Duration: 2s714ms
-
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" = '834578')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 11:14:06 Duration: 2s634ms
-
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" = '1027452')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 11:51:38 Duration: 2s621ms
17 33m31s 4,216 237ms 2s818ms 477ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 10 07 633 2m45s 261ms 08 1,090 5m18s 292ms 09 569 2m51s 301ms 10 618 4m54s 476ms 11 588 5m56s 606ms 12 692 11m31s 999ms 13 26 12s295ms 472ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '827634')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-10 12:29:17 Duration: 2s818ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '827631')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-10 12:29:07 Duration: 2s815ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '827633')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-10 12:29:12 Duration: 2s798ms
18 31m48s 297 365ms 23s436ms 6s426ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 10 00 25 2m27s 5s918ms 01 152 14m52s 5s872ms 08 5 22s333ms 4s466ms 11 2 31s359ms 15s679ms 12 3 27s103ms 9s34ms 15 17 2m30s 8s843ms 16 6 41s666ms 6s944ms 17 20 1m59s 5s955ms 18 10 1m30s 9s16ms 19 53 5m47s 6s547ms 20 4 39s48ms 9s762ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-10 15:57:41 Duration: 23s436ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%7%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-10 18:17:30 Duration: 22s194ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%1%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-10 19:37:29 Duration: 20s328ms
19 29m46s 84 619ms 26m19s 21s272ms 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 (...)))))))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 10 00 1 619ms 619ms 01 2 2s614ms 1s307ms 09 1 1s437ms 1s437ms 10 6 27m39s 4m36s 11 9 19s845ms 2s205ms 12 4 11s391ms 2s847ms 13 7 14s36ms 2s5ms 14 10 15s456ms 1s545ms 15 12 17s62ms 1s421ms 16 7 9s381ms 1s340ms 17 3 3s558ms 1s186ms 18 6 8s855ms 1s475ms 19 7 9s832ms 1s404ms 20 8 12s104ms 1s513ms 21 1 1s506ms 1s506ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))))) AND ("policy_number"."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 (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-10 10:42:56 Duration: 26m19s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))))) AND ("policy_number"."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 (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-10 10:50:38 Duration: 1m9s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-10 12:02:30 Duration: 3s364ms
20 29m7s 4,642 188ms 2s150ms 376ms select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 10 07 633 2m27s 232ms 08 1,161 5m11s 268ms 09 783 3m31s 269ms 10 741 4m30s 364ms 11 590 4m30s 458ms 12 692 8m43s 756ms 13 26 10s410ms 400ms 14 11 2s880ms 261ms 15 5 1s348ms 269ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '827631')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-10 12:29:09 Duration: 2s150ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '827633')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-10 12:29:14 Duration: 2s133ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '778818')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-10 12:22:39 Duration: 2s131ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,477,454 2m22s 0ms 24ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 10 00 57,286 2s856ms 0ms 01 57,580 2s481ms 0ms 02 44,072 2s5ms 0ms 03 40,435 1s730ms 0ms 04 35,001 1s268ms 0ms 05 35,535 1s542ms 0ms 06 37,350 1s669ms 0ms 07 34,381 1s421ms 0ms 08 72,964 3s637ms 0ms 09 154,497 8s925ms 0ms 10 206,444 11s744ms 0ms 11 222,439 15s505ms 0ms 12 238,756 16s874ms 0ms 13 232,130 14s331ms 0ms 14 205,918 12s862ms 0ms 15 189,942 11s210ms 0ms 16 124,567 5s889ms 0ms 17 79,707 4s70ms 0ms 18 101,585 5s867ms 0ms 19 114,019 5s432ms 0ms 20 114,236 6s573ms 0ms 21 78,610 4s793ms 0ms -
DISCARD ALL;
Date: 2025-03-10 10:57:22 Duration: 24ms
-
DISCARD ALL;
Date: 2025-03-10 12:25:41 Duration: 3ms
-
DISCARD ALL;
Date: 2025-03-10 12:32:10 Duration: 3ms
2 1,939,841 37s423ms 0ms 28ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 10 00 42,659 703ms 0ms 01 43,796 668ms 0ms 02 31,804 510ms 0ms 03 29,022 473ms 0ms 04 25,793 370ms 0ms 05 26,528 418ms 0ms 06 28,123 454ms 0ms 07 25,162 407ms 0ms 08 57,473 932ms 0ms 09 126,851 2s173ms 0ms 10 167,817 3s406ms 0ms 11 177,587 4s415ms 0ms 12 192,014 4s935ms 0ms 13 185,922 3s911ms 0ms 14 161,207 2s873ms 0ms 15 151,820 2s364ms 0ms 16 95,522 1s515ms 0ms 17 56,181 925ms 0ms 18 76,305 1s495ms 0ms 19 87,051 1s408ms 0ms 20 88,912 1s765ms 0ms 21 62,292 1s293ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-10 11:12:59 Duration: 28ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-10 21:33:35 Duration: 16ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-03-10 09:54:41 Duration: 13ms
3 1,269,011 15s2ms 0ms 1ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 10 00 29,863 297ms 0ms 01 30,220 305ms 0ms 02 23,186 225ms 0ms 03 21,531 205ms 0ms 04 18,335 165ms 0ms 05 18,640 182ms 0ms 06 19,873 190ms 0ms 07 18,450 185ms 0ms 08 37,427 391ms 0ms 09 79,354 853ms 0ms 10 104,595 1s347ms 0ms 11 112,793 1s565ms 0ms 12 121,891 1s820ms 0ms 13 117,917 1s570ms 0ms 14 104,692 1s177ms 0ms 15 96,261 1s5ms 0ms 16 63,713 709ms 0ms 17 40,814 401ms 0ms 18 52,055 605ms 0ms 19 58,543 612ms 0ms 20 58,514 693ms 0ms 21 40,344 488ms 0ms -
ROLLBACK;
Date: 2025-03-10 07:40:36 Duration: 1ms
-
ROLLBACK;
Date: 2025-03-10 07:36:43 Duration: 1ms
-
ROLLBACK;
Date: 2025-03-10 07:39:42 Duration: 1ms
4 1,251,381 4m25s 0ms 27ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 10 00 28,795 5s94ms 0ms 01 28,847 5s483ms 0ms 02 22,064 3s994ms 0ms 03 20,252 3s538ms 0ms 04 17,465 3s110ms 0ms 05 17,807 3s157ms 0ms 06 18,700 3s194ms 0ms 07 17,261 3s209ms 0ms 08 36,909 7s330ms 0ms 09 78,278 15s260ms 0ms 10 104,580 23s624ms 0ms 11 112,504 26s747ms 0ms 12 120,700 27s929ms 0ms 13 117,384 26s569ms 0ms 14 104,265 20s326ms 0ms 15 96,340 17s43ms 0ms 16 62,935 13s400ms 0ms 17 40,186 7s942ms 0ms 18 51,308 12s208ms 0ms 19 57,443 12s715ms 0ms 20 57,699 14s243ms 0ms 21 39,659 9s855ms 0ms -
SELECT payload FROM http_sessions WHERE sid = '4aa88ba502662c56f12cb3c1e060ce94a242baf7';
Date: 2025-03-10 10:44:08 Duration: 27ms
-
SELECT payload FROM http_sessions WHERE sid = '9f77ccaee737aafcfb71bf750e5372b1a987a66a';
Date: 2025-03-10 12:17:00 Duration: 25ms
-
SELECT payload FROM http_sessions WHERE sid = 'b87c95fafad016e0162c7c1ddcefbc1f3e379e51';
Date: 2025-03-10 13:10:21 Duration: 24ms
5 1,238,977 2m11s 0ms 3ms 0ms select base_registry_signaling.last_value, base_cache_signaling.last_value from base_registry_signaling, base_cache_signaling;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 10 00 28,654 2s556ms 0ms 01 28,862 2s670ms 0ms 02 22,096 2s11ms 0ms 03 20,264 1s771ms 0ms 04 17,545 1s565ms 0ms 05 17,824 1s684ms 0ms 06 18,727 1s733ms 0ms 07 17,267 1s559ms 0ms 08 36,484 3s573ms 0ms 09 77,187 7s561ms 0ms 10 103,230 11s929ms 0ms 11 111,195 13s464ms 0ms 12 119,313 14s312ms 0ms 13 116,071 13s720ms 0ms 14 102,938 10s524ms 0ms 15 94,901 8s924ms 0ms 16 62,305 6s469ms 0ms 17 39,849 3s800ms 0ms 18 50,764 5s411ms 0ms 19 57,055 5s594ms 0ms 20 57,115 6s174ms 0ms 21 39,331 4s269ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-10 12:49:05 Duration: 3ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-10 11:34:22 Duration: 2ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-03-10 11:04:31 Duration: 2ms
6 670,769 2m18s 0ms 57ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 10 00 12,796 2s174ms 0ms 01 13,570 2s489ms 0ms 02 8,621 1s813ms 0ms 03 7,493 1s410ms 0ms 04 7,452 1s178ms 0ms 05 7,891 1s730ms 0ms 06 8,247 1s464ms 0ms 07 6,708 1s120ms 0ms 08 20,043 3s641ms 0ms 09 47,492 7s984ms 0ms 10 63,208 14s972ms 0ms 11 64,790 17s75ms 0ms 12 70,115 19s376ms 0ms 13 67,992 16s398ms 0ms 14 56,527 10s732ms 0ms 15 55,558 8s57ms 0ms 16 31,805 5s652ms 0ms 17 15,361 2s488ms 0ms 18 24,254 4s315ms 0ms 19 28,503 4s481ms 0ms 20 30,400 5s458ms 0ms 21 21,943 4s526ms 0ms -
COMMIT;
Date: 2025-03-10 12:56:52 Duration: 57ms
-
COMMIT;
Date: 2025-03-10 13:15:54 Duration: 54ms
-
COMMIT;
Date: 2025-03-10 14:09:59 Duration: 50ms
7 583,805 1m53s 0ms 9ms 0ms select "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" from "urgent_customer" where "urgent_customer".id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 10 00 13,932 1s824ms 0ms 01 13,449 1s993ms 0ms 02 7,899 1s88ms 0ms 03 7,012 1s22ms 0ms 04 6,643 963ms 0ms 05 7,939 1s60ms 0ms 06 8,082 1s34ms 0ms 07 6,198 854ms 0ms 08 14,369 2s543ms 0ms 09 40,667 7s190ms 0ms 10 55,555 12s316ms 0ms 11 55,896 15s190ms 0ms 12 61,000 16s369ms 0ms 13 58,909 14s54ms 0ms 14 47,199 8s464ms 0ms 15 44,592 6s697ms 0ms 16 25,670 3s964ms 0ms 17 12,892 1s846ms 0ms 18 20,398 3s305ms 0ms 19 26,171 3s668ms 0ms 20 27,821 4s562ms 0ms 21 21,512 3s727ms 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 (5099598, 5112004, 5099102, 5101901, 5172442, 5099007, 5099095, 5099434, 5105007, 5099009, 5217708, 5101707, 5099547, 5103853, 5100218, 5099158, 5099028, 5099669, 5099244, 5101424, 5099010, 5103028, 5099194, 5099272, 5099008, 5114485, 5099130, 5099190, 5099867, 5102860, 5099169, 5099806, 5099137, 5100259, 5100949, 5118217, 5099585, 5100207, 5099224, 5109658, 5110948, 5100477, 5121764, 5103199, 5177710, 5100561, 5149403, 5540086, 5099533, 5100802, 5099111, 5546557, 5099540, 5100855, 5099181, 5417260, 5100431, 5100161, 5099027, 5099119, 5099129, 5099873, 5099035, 5099445, 5099013, 5101101, 5099392, 5104848, 5099202, 5099550, 5099264, 5100004, 5119603, 5108524, 5099798, 5099090, 5099639, 5115904, 5112265, 5099333, 5099006, 5546576, 5099287, 5441109, 5100421, 5100628, 5099187, 5099489, 5099973, 5099128, 5099045, 5098989, 5099999, 5109572, 5100933, 5099170, 5117172, 5099515, 5100181, 5111973, 5099162, 5100148, 5099430, 5101193, 5099280, 5116620, 5100935, 5100494, 5101465, 5414328, 5099644, 5322180, 5366494);
Date: 2025-03-10 16:21:56 Duration: 9ms
-
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 (5099010, 5100833, 5100872, 5103181, 5101623, 5099182, 5105468, 5119419, 5099097, 5101349, 5099244, 5100499, 5099590, 5102046, 5100265, 5235452, 5099102, 5099009, 5099358, 5109665, 5176969, 5099967, 5101708, 5100302, 5103731, 5099007, 5103363, 5100800, 5099138, 5099995, 5107861, 5099592, 5099918, 5099333, 5100172, 5099693, 5280517, 5099445, 5099037, 5099129, 5099403, 5110951, 5099263, 5100004, 5099013, 5101665, 5254309, 5343326, 5099006, 5551451, 5100554, 5108187, 5100919, 5551450, 5225786, 5099190, 5106344, 5099111, 5102890, 5538716, 5099045, 5099515, 5106088, 5518096);
Date: 2025-03-10 04:22:08 Duration: 4ms
-
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 (5099206, 5102572, 5102054, 5099110, 5101368, 5106438, 5099827, 5101066, 5103881, 5099105, 5337292, 5099403, 5105637, 5099138, 5099014, 5104618, 5101445, 5099141, 5161770, 5099134, 5112155, 5103744, 5099296, 5169937, 5101817, 5104059, 5104822, 5108813, 5102502, 5170323, 5099323, 5101160, 5127395, 5100756, 5101875, 5104783, 5099866, 5099254, 5105977, 5143012, 5099662, 5104251, 5104970, 5099904, 5167897, 5103731, 5109542, 5103378, 5104567, 5103241, 5108171, 5099590, 5196737, 5411954, 5217406);
Date: 2025-03-10 16:21:56 Duration: 4ms
8 558,779 55s450ms 0ms 28ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" from "urgent_office" where "urgent_office".id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 10 00 10,364 670ms 0ms 01 10,373 656ms 0ms 02 6,312 404ms 0ms 03 5,571 322ms 0ms 04 5,248 301ms 0ms 05 5,235 312ms 0ms 06 6,157 343ms 0ms 07 4,939 297ms 0ms 08 15,048 1s233ms 0ms 09 39,543 3s236ms 0ms 10 54,371 5s954ms 0ms 11 52,978 7s136ms 0ms 12 60,556 8s903ms 0ms 13 59,034 7s216ms 0ms 14 47,443 4s406ms 0ms 15 41,151 3s295ms 0ms 16 27,213 2s194ms 0ms 17 13,913 892ms 0ms 18 20,540 1s689ms 0ms 19 24,814 1s746ms 0ms 20 26,763 2s369ms 0ms 21 21,213 1s862ms 0ms -
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (61);
Date: 2025-03-10 13:39:26 Duration: 28ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (95);
Date: 2025-03-10 12:17:00 Duration: 28ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (41, 111, 77, 66, 26, 79, 70, 74, 17, 51, 1, 61, 13, 78, 60, 48, 113, 64, 6, 62, 68, 128, 11, 114);
Date: 2025-03-10 11:44:40 Duration: 2ms
9 377,191 1m33s 0ms 18ms 0ms select "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 10 00 6,475 1s225ms 0ms 01 6,475 1s268ms 0ms 02 4,103 776ms 0ms 03 3,747 683ms 0ms 04 3,276 668ms 0ms 05 3,147 620ms 0ms 06 4,054 729ms 0ms 07 4,143 716ms 0ms 08 11,436 2s385ms 0ms 09 28,816 6s20ms 0ms 10 35,389 10s43ms 0ms 11 36,891 11s716ms 0ms 12 40,458 13s443ms 0ms 13 38,995 11s488ms 0ms 14 33,542 7s714ms 0ms 15 28,628 5s733ms 0ms 16 18,692 3s952ms 0ms 17 8,354 1s524ms 0ms 18 14,193 3s116ms 0ms 19 16,448 3s243ms 0ms 20 17,460 3s960ms 0ms 21 12,469 2s931ms 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 (8005957);
Date: 2025-03-10 14:21:03 Duration: 18ms
-
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 (8007445);
Date: 2025-03-10 16:21:56 Duration: 11ms
-
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 (8004686);
Date: 2025-03-10 16:21:56 Duration: 10ms
10 329,625 2m23s 0ms 4ms 0ms select r.id from ir_rule r join ir_model m on (r.model_id = m.id) where m.model = ? and r.active and r.perm_read and (r.id in ( select rule_group_id from rule_group_rel rg join res_groups_users_rel gu on (rg.group_id = gu.gid) where gu.uid = ?) or r.global) order by r.id;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 10 00 5,295 1s802ms 0ms 01 4,041 1s385ms 0ms 02 2,582 891ms 0ms 03 1,985 676ms 0ms 04 2,963 954ms 0ms 05 2,495 851ms 0ms 06 2,502 826ms 0ms 07 2,891 917ms 0ms 08 12,167 4s512ms 0ms 09 23,474 9s123ms 0ms 10 23,490 11s394ms 0ms 11 23,670 12s967ms 0ms 12 40,460 22s778ms 0ms 13 38,868 19s167ms 0ms 14 34,530 14s485ms 0ms 15 23,888 8s769ms 0ms 16 21,410 7s854ms 0ms 17 8,878 2s974ms 0ms 18 14,275 5s649ms 0ms 19 15,521 5s583ms 0ms 20 15,801 6s410ms 0ms 21 8,439 3s520ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'add.next.destination.wizard' 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 = 931) OR r.global) ORDER BY r.id;
Date: 2025-03-10 21:26:27 Duration: 4ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'add.next.destination.wizard' 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 = 1279) OR r.global) ORDER BY r.id;
Date: 2025-03-10 13:38:48 Duration: 4ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'urgent.customer' 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 = 906) OR r.global) ORDER BY r.id;
Date: 2025-03-10 12:39:42 Duration: 4ms
11 313,449 39s379ms 0ms 14ms 0ms select "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" from "res_users" where "res_users".id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 10 00 5,552 547ms 0ms 01 5,577 570ms 0ms 02 3,464 388ms 0ms 03 3,006 351ms 0ms 04 2,836 338ms 0ms 05 2,773 341ms 0ms 06 3,465 368ms 0ms 07 2,993 360ms 0ms 08 9,521 1s19ms 0ms 09 22,951 2s322ms 0ms 10 29,957 4s151ms 0ms 11 30,197 4s947ms 0ms 12 33,440 5s696ms 0ms 13 33,094 4s862ms 0ms 14 27,997 3s86ms 0ms 15 24,221 2s270ms 0ms 16 15,233 1s549ms 0ms 17 7,242 678ms 0ms 18 11,805 1s315ms 0ms 19 13,419 1s302ms 0ms 20 14,254 1s657ms 0ms 21 10,452 1s251ms 0ms -
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (1057, 837, 1062, 1031, 866, 974, 979, 873);
Date: 2025-03-10 09:39:55 Duration: 14ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-03-10 11:18:43 Duration: 4ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-03-10 12:38:21 Duration: 4ms
12 298,200 3d22h10m15s 639ms 8s66ms 1s136ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 10 00 8,820 2h15m20s 920ms 01 9,563 2h17m42s 864ms 02 8,521 2h2m31s 862ms 03 6,480 1h30m53s 841ms 04 5,146 1h3m38s 742ms 05 10,426 2h4m39s 717ms 06 7,700 1h31m10s 710ms 07 5,954 1h19m9s 797ms 08 13,781 3h23m44s 887ms 09 15,047 3h42m28s 887ms 10 21,952 7h39m43s 1s256ms 11 26,404 12h6m22s 1s650ms 12 26,031 16h42m57s 2s311ms 13 24,397 9h7m33s 1s346ms 14 16,212 4h46m28s 1s60ms 15 11,687 3h3m15s 940ms 16 11,264 2h46m13s 885ms 17 7,624 1h34m20s 742ms 18 19,058 4h20m47s 821ms 19 12,081 2h52m48s 858ms 20 13,628 3h34m54s 946ms 21 16,424 4h23m32s 962ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6166762)) AND (("shipping_track"."id" not in (51513213, 51513213)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:43:51 Duration: 8s66ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6166755)) AND (("shipping_track"."id" not in (51512660, 51512660)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:42:36 Duration: 8s50ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6166754)) AND (("shipping_track"."id" not in (51512579, 51512579)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:42:23 Duration: 8s6ms
13 264,950 1m29s 0ms 16ms 0ms select "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" from "policy_number" where "policy_number".id in (...);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 10 00 7,231 1s795ms 0ms 01 6,183 1s758ms 0ms 02 3,590 964ms 0ms 03 2,831 809ms 0ms 04 2,636 890ms 0ms 05 3,791 1s42ms 0ms 06 3,835 999ms 0ms 07 3,121 986ms 0ms 08 5,927 2s205ms 0ms 09 16,570 5s541ms 0ms 10 22,742 8s892ms 0ms 11 23,516 11s37ms 0ms 12 26,376 12s63ms 0ms 13 26,048 10s479ms 0ms 14 21,965 6s441ms 0ms 15 22,127 5s128ms 0ms 16 12,634 3s682ms 0ms 17 6,461 1s644ms 0ms 18 9,521 2s674ms 0ms 19 12,587 3s238ms 0ms 20 14,383 4s191ms 0ms 21 10,875 3s402ms 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 (44927066, 45139064, 45044375, 45089503, 44654475, 44763959, 45139222, 45095816, 45068250, 45102265, 45059528, 44927382, 45028860, 45089186, 45028713, 44725937, 45072897, 45072896, 32428131, 45059226, 45032578, 45139068, 45102716, 45068280, 44688871, 32187724, 44999726, 45095669, 44827783, 44927258, 42033945, 44985832, 45068292, 45095633, 44763960, 45089910, 45032754, 44927239, 44758909, 44761637, 45072894, 45072898, 45100595, 44881733, 44758455, 45072506, 44923843, 45102721, 44923767, 45100586, 45085301, 45026301, 45017944, 45017535, 45073040, 44881487, 44885437, 44757981, 45068173, 45130183, 45073049, 42033887, 42033942, 44827361, 45059724);
Date: 2025-03-10 04:22:07 Duration: 16ms
-
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (45153062, 44763140, 44862643, 45017149, 32555219, 45068209, 45089563, 45089771, 44629638, 45100243, 45068237, 45100551, 44827317, 44629641, 45068160, 45089972, 45068174, 44862216, 45089388, 45059974, 45072510, 45089512, 45017531, 45068143, 45026193, 40460170, 45072068, 32188166, 44827315, 45059733, 45044369, 45072064, 45100260, 45072503, 45095982, 45095563, 45130214, 45085173, 45100552, 44862320, 45072105, 45089713, 45072939, 45017947, 45059514, 45100596, 45059260, 45072935, 45059749, 45059560, 44654644, 45100555, 45100597, 45059257, 45059559, 45059259, 44985836, 45059258, 44629457, 45100515, 45059737, 41623867, 45102712, 45095476, 45072903, 45072888, 45089971, 45102114, 45059759, 45059727, 45072890, 45139063, 45089128, 45104161, 45042152, 45130516, 45104207, 45130513, 45104092, 45130519, 45104530, 45042548, 45038353, 45042151, 45104155, 45042549, 45038541, 45042924, 45104832, 45038660, 45104841, 45042762, 45042556, 45042850, 45042673, 45038661, 45042860, 45042835, 44915090, 45042858);
Date: 2025-03-10 04:22:08 Duration: 10ms
-
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 (45019989, 45019379, 44925284, 45075493, 45009199, 45002572, 44978741, 45023617, 44917961, 44978699);
Date: 2025-03-10 04:22:06 Duration: 8ms
14 234,027 53s463ms 0ms 3ms 0ms select ? from res_groups_users_rel where uid = ? and gid in ( select res_id from ir_model_data where module = ? and name = ? and model = ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 10 00 4,205 639ms 0ms 01 3,157 486ms 0ms 02 2,243 323ms 0ms 03 2,555 352ms 0ms 04 2,695 416ms 0ms 05 2,246 328ms 0ms 06 2,533 352ms 0ms 07 3,264 496ms 0ms 08 11,481 2s136ms 0ms 09 18,918 3s719ms 0ms 10 16,818 4s271ms 0ms 11 17,113 4s796ms 0ms 12 26,646 8s811ms 0ms 13 25,256 7s189ms 0ms 14 22,500 5s52ms 0ms 15 14,657 2s792ms 0ms 16 14,418 2s871ms 0ms 17 6,249 1s57ms 0ms 18 10,796 2s221ms 0ms 19 10,430 1s890ms 0ms 20 10,077 2s77ms 0ms 21 5,770 1s178ms 0ms -
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: 2025-03-10 13:38:48 Duration: 3ms
-
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: 2025-03-10 12:15:55 Duration: 2ms
-
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_user_good' AND model = 'res.groups');
Date: 2025-03-10 13:38:48 Duration: 2ms
15 196,664 32s900ms 0ms 2ms 0ms select "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" from "notebook_package" where "notebook_package".id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 10 00 3,881 795ms 0ms 01 4,155 892ms 0ms 02 2,235 485ms 0ms 03 2,206 469ms 0ms 04 2,091 429ms 0ms 05 2,072 427ms 0ms 06 2,335 473ms 0ms 07 1,667 354ms 0ms 08 4,998 782ms 0ms 09 14,011 1s226ms 0ms 10 19,446 2s882ms 0ms 11 19,534 4s167ms 0ms 12 21,672 5s783ms 0ms 13 20,860 3s709ms 0ms 14 16,806 2s603ms 0ms 15 15,349 2s256ms 0ms 16 8,616 1s492ms 0ms 17 4,237 281ms 0ms 18 6,789 668ms 0ms 19 8,618 707ms 0ms 20 8,631 1s43ms 0ms 21 6,455 967ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414);
Date: 2025-03-10 16:21:56 Duration: 2ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414);
Date: 2025-03-10 16:21:56 Duration: 2ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2414);
Date: 2025-03-10 16:21:56 Duration: 2ms
16 190,119 2m10s 0ms 36ms 0ms select "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" from "shipping_policy" where "shipping_policy".id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 10 00 1,149 772ms 0ms 01 1,800 1s336ms 0ms 02 654 411ms 0ms 03 304 182ms 0ms 04 286 205ms 0ms 05 251 160ms 0ms 06 524 228ms 0ms 07 2,598 1s127ms 0ms 08 12,906 6s390ms 0ms 09 9,954 5s954ms 0ms 10 17,186 12s872ms 0ms 11 16,460 14s960ms 0ms 12 21,511 19s751ms 0ms 13 19,320 16s312ms 0ms 14 15,802 10s472ms 0ms 15 8,686 5s85ms 0ms 16 11,175 6s343ms 0ms 17 5,236 2s624ms 0ms 18 20,772 11s319ms 0ms 19 5,508 3s296ms 0ms 20 9,818 6s66ms 0ms 21 8,219 4s677ms 0ms -
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (5892125, 6032370, 6031008, 5991301, 5956892, 5917283, 6029862, 5992241, 5627413, 5952752, 5745417, 5952089, 5992253, 5895387, 5953582, 5746581, 5919400, 5992336, 5992249, 5952738, 5955038, 5954528, 5988936, 5820631, 5698235, 5894919, 5667404, 5879773, 5991365, 5990974, 5954238, 5952518, 5990272, 6032603, 5990116, 5917277, 5702744, 6034309, 5991370, 5990120, 5819312, 5914848, 5988899, 5991941, 5953421, 5920899, 5892406, 5955036, 5914842, 5815388, 5990114, 5951848, 5919883, 5993085, 5953423, 5990980, 5990985, 5271390, 5919866, 5993188, 5877257, 5876653, 5917281, 5990128, 5919886, 5919885, 5915064, 5892403, 5917287, 5920903, 5628115, 5988897, 5990110, 5993082, 5892387, 5921180, 5819328, 5876650, 5914834, 5914857, 5894207, 5994520, 5921186, 5952714, 5778692, 5920909, 5783391, 5990976, 5956677, 5894206, 5877245, 5954527, 5671907, 5952508, 5742510, 5893776, 5916729, 5569007, 5914864, 5706385, 5920901, 5914862, 5778131, 5819319, 5893773, 5955832, 5917275, 5951569, 5952501, 5919392, 5920917, 5915726, 5919893, 5951563, 5952503, 5920907, 5920929, 5914866, 5895434, 5951576, 5932613, 5917273, 5914867, 5919876, 5953581, 5919882, 5896860, 5951575, 5914858, 5952504, 5917264, 5951573, 5919880, 5919862, 5532206, 5667155, 5952736, 5876231, 5627401, 5879764, 5890893, 5892137, 5941883, 5921195, 5893781, 5919865, 5697580, 5919878, 5895001, 5916699, 5890889, 5877265, 5952516, 5919864, 5915076, 5950936, 5921177, 5932584, 5919867, 5917267, 5917259, 5893715, 5890894, 5820627, 5980339, 5951570, 5893734, 5916964, 5914868, 5892379, 5914836, 5914843, 5917261, 5567809, 5914856, 5919857, 5894211, 5896862, 5895041, 5920919, 5895042, 5914844, 5893730, 5833444, 5916695, 5921159, 5877214, 5235416, 5921162, 5892120, 5920927, 5916741, 5932597, 5921183, 5915078, 5895814, 5921192, 5876144, 5921156, 5921204, 5895815, 5921189, 5877216, 5915285, 5892396, 5914460, 5698828, 5816870, 5781344, 5833451, 5743390, 5817393, 5817390, 5702558, 5780079, 5744508, 5166858, 5702563, 5702640, 5569736, 5273625, 5273631, 5273619, 5273609, 5052052, 5052048, 5052050, 5052056);
Date: 2025-03-10 13:47:25 Duration: 36ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (6104100, 6089559, 6072891, 6089520, 6089379, 6042688, 6089567, 6104328, 6042504, 6107223, 5900197, 6072938, 5925908, 6006948, 6042480, 6072957, 5993525, 6072875, 6089443, 6104307, 6089596, 6036540, 5993892, 6089564, 6072915, 6104475, 5719712, 6089441, 6073916, 6089572, 6074010, 6007579, 6089565, 6089570, 6089566, 6089528, 6072901, 6089577, 6073953, 5957684, 6074013, 6065932, 5900337, 5816642, 6089462, 5905777, 6089603, 5969185, 6089575, 6104350, 5957702, 6073947, 6072943, 5872418, 6007397, 6007391, 6036611, 5968917, 5968921, 5968968, 5993728, 6007271, 6072940, 6072934, 6072902, 6043635, 6017759, 6036652, 5969112, 5957731, 6007607, 5900309, 5877495, 5857583, 5969000, 6072939, 5969026, 6036640, 5925794, 6042508, 6007176, 5879576, 6007207, 6043636, 6042512, 5957642, 5957675, 6042750, 5957724, 5925726, 6072928, 6129386, 5957686, 6064760, 6072952, 5925599, 6042782, 6072923, 6007408, 6072936, 6043650, 6036648, 5884761, 5957712, 6036521, 6072863, 6072884, 5993537, 6063102, 6042589, 6036519, 6042585, 6007573, 6072885, 5860014, 5928337, 6072944, 5857581, 6007661, 5857528, 5957626, 5928518, 6036518, 6042543, 6006963, 6007155, 6043634, 6036791, 5877497, 5925661, 6042771, 6036711, 5957714, 6036661, 6064583, 6036546, 6042519, 5984678, 6006967, 5969229, 5993529, 5957636, 6036590, 5932566, 5993872, 5969372, 5957661, 6007426, 5925851, 6006903, 5957657, 5993743, 5857573, 6042798, 6030205, 5940571, 5925902, 5925905, 5969033, 6007451, 6007312, 6007552, 5857579, 5928537, 5993694, 5969363, 6007656, 5925873, 6007601, 5993515, 5993699, 5925889, 5969366, 5993870, 5957700, 5642447, 5838609, 5857621, 5957706, 5957704, 5751154, 5644115, 5969193, 6014558, 5925704, 5957600, 5984788, 5957746, 5900177, 5993840, 5993801, 5957671, 5957594, 5928618, 5957616, 5969095, 5857582, 5957725, 6017735, 5900299);
Date: 2025-03-10 16:21:56 Duration: 35ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."zero_date_change" AS "zero_date_change", "shipping_policy"."zero_date_change_user" AS "zero_date_change_user", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."is_change_cash_price" AS "is_change_cash_price", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (6030957, 6060597, 6109886, 6112762, 5617977, 6071374, 6112777, 5932087, 6020647, 6164699, 5939894, 6163873, 6058812, 6056020, 6121966, 6018402, 6157302, 6103647, 6157770, 6079627, 6079473, 6096702, 6104781, 6095457, 6121461, 6121382, 5962367, 6103146, 6084252, 5945120, 5537379, 6084236, 5854919, 6121374, 6084201, 6056761, 6000038, 6065181, 6038073, 6121358, 5936202, 6101992, 6094026, 5936077, 6129092, 6071017, 6097182, 5975055, 6091894, 5954700, 6057140, 6064759, 6009393, 6104872, 6064730, 6104328, 6129101, 6112921, 6000652, 6166435, 5283053, 5847678, 5923020, 5962247, 5977484, 5978950, 5979089, 5992888, 6000173, 6003620, 6005378, 6006799, 6008375, 6111725, 6111806, 6013229, 6088215, 6014465, 6095336, 6018875, 6018881, 6043367, 6032124, 6029905, 6035909, 6008371, 6081774, 6042504, 6129254, 6045223, 6045628, 6054360, 6054533, 6059969, 6059983, 6060042, 6060499, 6166437, 6123262, 5906396, 5991194, 6125259, 6043115, 6108819, 5886760, 6087165, 6074286, 6116679, 5248822, 6122546, 6014475, 6037709, 6096210, 5926404, 6037795, 5860910, 6101092, 6067747, 6081461, 5830258, 5257891, 5826225, 5962496, 6106731, 6004645, 6083362, 6013249, 6015899, 6056958, 5993393, 6052586, 5753210, 6083164, 6095080, 5979891, 6067795, 5975932, 5400814, 6081483, 6067759, 5997556, 5870004, 6126160, 6111627, 5167954, 6103785, 6119432, 6068777, 6116544, 6073691, 6081484, 6081510, 6127196, 6070388, 6116268, 6071242, 6101701, 6106863, 5843268, 6080170, 6038044, 6027945, 6062567, 6056081, 6065633, 5927849, 5956883, 5963618, 6001752, 6001987, 6012146, 6015509, 6038621, 6040878, 6041990, 6042587, 6057867, 6065188, 6075108, 6075109, 6111759, 6125786, 5885370);
Date: 2025-03-10 16:21:59 Duration: 30ms
17 170,469 4h32m33s 45ms 624ms 95ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 10 00 4,391 4m59s 68ms 01 4,794 5m11s 64ms 02 3,652 3m57s 64ms 03 3,016 3m12s 63ms 04 1,975 1m55s 58ms 05 3,459 3m9s 54ms 06 2,515 2m16s 54ms 07 1,432 1m30s 63ms 08 5,620 6m40s 71ms 09 10,317 12m22s 71ms 10 14,773 27m20s 111ms 11 18,174 42m3s 138ms 12 19,309 58m8s 180ms 13 17,122 29m45s 104ms 14 11,090 14m51s 80ms 15 8,443 9m57s 70ms 16 8,456 9m26s 67ms 17 4,138 3m53s 56ms 18 5,411 5m51s 64ms 19 7,074 7m41s 65ms 20 8,549 10m2s 70ms 21 6,759 8m16s 73ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6122584, 6122236, 6122191, 6103410, 6093941, 6091530, 6076567, 5955275)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-10 12:37:47 Duration: 624ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6111364, 6080170, 6065633, 6062567, 6056081, 6038044, 6027945, 5843268)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-10 12:48:29 Duration: 605ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6089907, 6089407, 6083013, 6070485, 6030624, 6009493, 6004218, 5516213)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-10 12:54:38 Duration: 592ms
18 154,894 20h28m14s 234ms 2s947ms 475ms 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 #18
Day Hour Count Duration Avg duration Mar 10 00 1,146 6m15s 327ms 01 2,672 13m14s 297ms 02 2,287 11m23s 299ms 03 2,610 12m44s 293ms 04 2,348 11m8s 284ms 05 1,857 9m6s 294ms 06 2,440 11m53s 292ms 07 7,086 30m42s 260ms 08 12,619 1h2m6s 295ms 09 5,974 30m20s 304ms 10 12,154 1h46m20s 524ms 11 13,686 2h34m8s 675ms 12 20,709 5h29m59s 956ms 13 10,726 1h30m52s 508ms 14 8,701 54m3s 372ms 15 3,647 20m9s 331ms 16 12,660 1h14m57s 355ms 17 2,966 15m50s 320ms 18 13,561 1h21m57s 362ms 19 620 3m2s 294ms 20 14,003 1h35m31s 409ms 21 422 2m24s 341ms -
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" = '904896')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:46:48 Duration: 2s947ms
-
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" = '9967179')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:24:44 Duration: 2s923ms
-
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" = '904899')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:46:59 Duration: 2s867ms
19 148,645 56s589ms 0ms 2ms 0ms select "price_list".id from "price_list" where (("price_list"."from_office_id" = ?) and ("price_list"."to_office_id" = ?)) order by "price_list"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 10 00 13,425 4s32ms 0ms 01 8,527 2s819ms 0ms 02 6,631 2s224ms 0ms 03 3,815 1s360ms 0ms 04 3,456 1s215ms 0ms 05 9,552 3s237ms 0ms 06 7,704 2s508ms 0ms 07 6,984 2s438ms 0ms 08 3,141 1s503ms 0ms 09 2,522 1s105ms 0ms 10 2,251 1s470ms 0ms 11 3,025 2s289ms 0ms 12 3,751 3s34ms 0ms 13 3,923 2s330ms 0ms 14 4,367 1s943ms 0ms 15 7,503 2s599ms 0ms 16 8,019 2s846ms 0ms 17 4,724 1s446ms 0ms 18 4,274 1s581ms 0ms 19 11,446 3s668ms 0ms 20 15,757 5s782ms 0ms 21 13,848 5s152ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 66) AND ("price_list"."to_office_id" = 123)) ORDER BY "price_list"."id";
Date: 2025-03-10 12:24:55 Duration: 2ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 61) AND ("price_list"."to_office_id" = 123)) ORDER BY "price_list"."id";
Date: 2025-03-10 12:51:57 Duration: 2ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 26) AND ("price_list"."to_office_id" = 123)) ORDER BY "price_list"."id";
Date: 2025-03-10 12:36:44 Duration: 2ms
20 136,881 10s742ms 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 #20
Day Hour Count Duration Avg duration Mar 10 00 2,189 120ms 0ms 01 1,568 90ms 0ms 02 979 54ms 0ms 03 858 45ms 0ms 04 1,393 75ms 0ms 05 1,024 56ms 0ms 06 1,035 55ms 0ms 07 1,162 64ms 0ms 08 5,121 332ms 0ms 09 10,204 691ms 0ms 10 9,316 824ms 0ms 11 9,315 939ms 0ms 12 16,705 1s821ms 0ms 13 16,202 1s509ms 0ms 14 14,429 1s75ms 0ms 15 10,030 629ms 0ms 16 9,318 614ms 0ms 17 3,785 219ms 0ms 18 5,972 412ms 0ms 19 6,355 399ms 0ms 20 6,588 467ms 0ms 21 3,333 243ms 0ms -
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (21);
Date: 2025-03-10 13:50:19 Duration: 1ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (99, 100);
Date: 2025-03-10 17:54:37 Duration: 1ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (98, 99);
Date: 2025-03-10 11:04:37 Duration: 0ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 619ms 26m19s 21s272ms 84 29m46s 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 (...)))))))) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 10 00 1 619ms 619ms 01 2 2s614ms 1s307ms 09 1 1s437ms 1s437ms 10 6 27m39s 4m36s 11 9 19s845ms 2s205ms 12 4 11s391ms 2s847ms 13 7 14s36ms 2s5ms 14 10 15s456ms 1s545ms 15 12 17s62ms 1s421ms 16 7 9s381ms 1s340ms 17 3 3s558ms 1s186ms 18 6 8s855ms 1s475ms 19 7 9s832ms 1s404ms 20 8 12s104ms 1s513ms 21 1 1s506ms 1s506ms -
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))))) AND ("policy_number"."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 (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-10 10:42:56 Duration: 26m19s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))))) AND ("policy_number"."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 (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-10 10:50:38 Duration: 1m9s
-
SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (95)))))))) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-10 12:02:30 Duration: 3s364ms
2 365ms 23s436ms 6s426ms 297 31m48s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 10 00 25 2m27s 5s918ms 01 152 14m52s 5s872ms 08 5 22s333ms 4s466ms 11 2 31s359ms 15s679ms 12 3 27s103ms 9s34ms 15 17 2m30s 8s843ms 16 6 41s666ms 6s944ms 17 20 1m59s 5s955ms 18 10 1m30s 9s16ms 19 53 5m47s 6s547ms 20 4 39s48ms 9s762ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-10 15:57:41 Duration: 23s436ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%7%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-10 18:17:30 Duration: 22s194ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2414) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%1%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-03-10 19:37:29 Duration: 20s328ms
3 644ms 9s423ms 1s355ms 49,398 18h36m8s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 10 00 325 5m7s 945ms 01 612 9m6s 893ms 02 781 11m24s 876ms 03 389 5m41s 878ms 04 231 3m12s 831ms 05 204 2m48s 827ms 06 226 2m55s 775ms 07 230 3m10s 828ms 08 1,110 17m24s 941ms 09 3,559 54m46s 923ms 10 4,638 1h50m24s 1s428ms 11 4,584 2h37m10s 2s57ms 12 5,902 4h28m41s 2s731ms 13 5,142 2h11m26s 1s533ms 14 3,627 1h8m1s 1s125ms 15 3,520 55m24s 944ms 16 2,742 39m39s 867ms 17 1,158 14m2s 727ms 18 2,818 39m33s 842ms 19 2,167 30m23s 841ms 20 3,075 48m20s 943ms 21 2,358 37m24s 951ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6166709, 6166707, 6166705, 6166703, 6166701, 6166700, 6166699, 6166698)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:38:20 Duration: 9s423ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6166709, 6166707, 6166705, 6166703, 6166701, 6166700, 6166699, 6166698)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:34:48 Duration: 9s199ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (6123908, 6118637, 6115813, 6094589, 6094546, 6089544, 6087644, 6059390)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 11:10:47 Duration: 9s86ms
4 887ms 2s967ms 1s206ms 19,315 6h28m25s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 10 00 1,501 27m35s 1s103ms 01 899 16m30s 1s101ms 02 956 17m21s 1s89ms 03 358 6m20s 1s63ms 04 534 9m34s 1s76ms 05 1,592 28m47s 1s85ms 06 1,424 25m44s 1s84ms 07 1,345 24m20s 1s85ms 08 332 7m12s 1s301ms 09 393 8m10s 1s248ms 10 100 2m38s 1s584ms 11 236 7m12s 1s832ms 12 387 13m41s 2s122ms 13 302 8m24s 1s671ms 14 484 10m40s 1s323ms 15 980 19m28s 1s192ms 16 890 18m38s 1s256ms 17 459 8m27s 1s105ms 18 771 16m10s 1s258ms 19 2,093 40m58s 1s174ms 20 2,028 42m39s 1s261ms 21 1,251 27m45s 1s331ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1045803')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-10 12:51:13 Duration: 2s967ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1045806')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-10 12:51:52 Duration: 2s871ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1045898')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-03-10 12:51:42 Duration: 2s857ms
5 339ms 2s781ms 1s153ms 12,583 4h2m 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 Mar 10 00 1,730 29m22s 1s18ms 01 865 14m24s 999ms 02 310 5m3s 977ms 03 259 4m13s 977ms 05 124 2m1s 979ms 08 42 44s981ms 1s70ms 09 46 54s487ms 1s184ms 10 170 4m13s 1s489ms 11 125 3m47s 1s823ms 12 76 2m42s 2s132ms 13 508 13m1s 1s538ms 14 491 10m23s 1s269ms 15 880 16m19s 1s113ms 16 1,121 21m1s 1s125ms 17 690 11m51s 1s30ms 18 248 4m53s 1s181ms 19 759 13m28s 1s65ms 20 1,921 38m28s 1s201ms 21 2,218 45m5s 1s219ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '1060007')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14))))))) 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 (14)))))) 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 (14)))))) 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 (14))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-10 12:33:59 Duration: 2s781ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '936403')) 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 (85))))))) 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 (85)))))) 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 (85)))))) 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 (85))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-10 20:30:16 Duration: 2s757ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '983915')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14))))))) 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 (14)))))) 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 (14)))))) 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 (14))))))))) ORDER BY "policy_number"."id";
Date: 2025-03-10 12:34:11 Duration: 2s720ms
6 639ms 8s66ms 1s136ms 298,200 3d22h10m15s 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 #6
Day Hour Count Duration Avg duration Mar 10 00 8,820 2h15m20s 920ms 01 9,563 2h17m42s 864ms 02 8,521 2h2m31s 862ms 03 6,480 1h30m53s 841ms 04 5,146 1h3m38s 742ms 05 10,426 2h4m39s 717ms 06 7,700 1h31m10s 710ms 07 5,954 1h19m9s 797ms 08 13,781 3h23m44s 887ms 09 15,047 3h42m28s 887ms 10 21,952 7h39m43s 1s256ms 11 26,404 12h6m22s 1s650ms 12 26,031 16h42m57s 2s311ms 13 24,397 9h7m33s 1s346ms 14 16,212 4h46m28s 1s60ms 15 11,687 3h3m15s 940ms 16 11,264 2h46m13s 885ms 17 7,624 1h34m20s 742ms 18 19,058 4h20m47s 821ms 19 12,081 2h52m48s 858ms 20 13,628 3h34m54s 946ms 21 16,424 4h23m32s 962ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6166762)) AND (("shipping_track"."id" not in (51513213, 51513213)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:43:51 Duration: 8s66ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6166755)) AND (("shipping_track"."id" not in (51512660, 51512660)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:42:36 Duration: 8s50ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6166754)) AND (("shipping_track"."id" not in (51512579, 51512579)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-03-10 12:42:23 Duration: 8s6ms
7 29ms 2s187ms 975ms 2,334 37m56s select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 10 00 10 3s650ms 365ms 01 6 3s929ms 654ms 02 1 157ms 157ms 03 1 727ms 727ms 07 7 1s212ms 173ms 08 36 21s989ms 610ms 09 120 1m34s 788ms 10 200 3m38s 1s93ms 11 231 4m45s 1s235ms 12 333 7m28s 1s347ms 13 330 5m57s 1s84ms 14 293 4m22s 894ms 15 217 3m1s 835ms 16 199 1m59s 601ms 17 35 28s266ms 807ms 18 65 57s472ms 884ms 19 122 1m17s 634ms 20 83 1m17s 927ms 21 45 36s848ms 818ms -
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (30))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-10 12:25:09 Duration: 2s187ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-10 12:34:53 Duration: 2s178ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2025-03-10 12:26:30 Duration: 2s166ms
8 285ms 4s642ms 701ms 27,669 5h23m26s select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 10 07 213 1m10s 332ms 08 1,741 12m58s 447ms 09 2,944 21m10s 431ms 10 3,351 39m26s 706ms 11 4,970 1h13m14s 884ms 12 4,125 1h24m34s 1s230ms 13 3,017 32m42s 650ms 14 2,947 25m28s 518ms 15 2,071 15m13s 440ms 16 1,555 11m41s 451ms 17 193 1m26s 446ms 18 542 4m19s 478ms -
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" = '1013719')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:26:54 Duration: 4s642ms
-
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" = '874847')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:26:59 Duration: 4s457ms
-
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" = '1013717')))) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:26:49 Duration: 4s443ms
9 238ms 2s888ms 546ms 16,764 2h32m42s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 10 00 629 3m30s 334ms 01 368 1m50s 301ms 02 261 1m17s 298ms 03 94 27s504ms 292ms 06 813 3m58s 293ms 07 862 3m40s 255ms 08 480 2m16s 284ms 09 1,387 7m5s 306ms 10 1,355 12m23s 549ms 11 2,757 34m12s 744ms 12 3,357 54m27s 973ms 13 1,014 8m 473ms 14 1,204 7m38s 380ms 15 289 1m35s 329ms 16 148 51s735ms 349ms 18 265 1m29s 336ms 19 593 2m55s 295ms 20 466 2m36s 336ms 21 422 2m24s 343ms -
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" = '1027013')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 11:14:27 Duration: 2s888ms
-
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" = '869910')) 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 (64)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (64))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:36:00 Duration: 2s866ms
-
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" = '1049955')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (65))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:20:00 Duration: 2s864ms
10 237ms 2s818ms 477ms 4,216 33m31s select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) order by "cash_policy"."id" desc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 10 07 633 2m45s 261ms 08 1,090 5m18s 292ms 09 569 2m51s 301ms 10 618 4m54s 476ms 11 588 5m56s 606ms 12 692 11m31s 999ms 13 26 12s295ms 472ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '827634')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-10 12:29:17 Duration: 2s818ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '827631')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-10 12:29:07 Duration: 2s815ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '827633')) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-10 12:29:12 Duration: 2s798ms
11 234ms 2s947ms 475ms 154,894 20h28m14s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 10 00 1,146 6m15s 327ms 01 2,672 13m14s 297ms 02 2,287 11m23s 299ms 03 2,610 12m44s 293ms 04 2,348 11m8s 284ms 05 1,857 9m6s 294ms 06 2,440 11m53s 292ms 07 7,086 30m42s 260ms 08 12,619 1h2m6s 295ms 09 5,974 30m20s 304ms 10 12,154 1h46m20s 524ms 11 13,686 2h34m8s 675ms 12 20,709 5h29m59s 956ms 13 10,726 1h30m52s 508ms 14 8,701 54m3s 372ms 15 3,647 20m9s 331ms 16 12,660 1h14m57s 355ms 17 2,966 15m50s 320ms 18 13,561 1h21m57s 362ms 19 620 3m2s 294ms 20 14,003 1h35m31s 409ms 21 422 2m24s 341ms -
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" = '904896')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:46:48 Duration: 2s947ms
-
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" = '9967179')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:24:44 Duration: 2s923ms
-
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" = '904899')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 12:46:59 Duration: 2s867ms
12 230ms 2s714ms 422ms 5,204 36m40s 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 #12
Day Hour Count Duration Avg duration Mar 10 00 13 4s96ms 315ms 01 73 22s947ms 314ms 02 26 7s507ms 288ms 07 2,302 9m48s 255ms 08 144 36s322ms 252ms 09 194 59s249ms 305ms 10 819 7m18s 535ms 11 1,582 17m6s 648ms 20 51 16s435ms 322ms -
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" = '988010')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 11:06:26 Duration: 2s714ms
-
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" = '834578')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 11:14:06 Duration: 2s634ms
-
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" = '1027452')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23, 112, 12))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 11:51:38 Duration: 2s621ms
13 126ms 1s632ms 410ms 6,425 43m59s 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 #13
Day Hour Count Duration Avg duration Mar 10 00 116 17s10ms 146ms 01 195 29s57ms 149ms 02 197 28s584ms 145ms 07 20 2s761ms 138ms 08 67 11s193ms 167ms 09 279 48s357ms 173ms 10 727 4m27s 367ms 11 1,534 13m59s 547ms 12 1,095 13m53s 760ms 13 761 5m6s 402ms 14 396 1m21s 204ms 15 317 51s729ms 163ms 16 142 24s273ms 170ms 17 36 5s124ms 142ms 18 106 18s229ms 171ms 19 112 16s831ms 150ms 20 194 35s954ms 185ms 21 131 22s735ms 173ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 65)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-10 11:29:59 Duration: 1s632ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 8)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-10 12:35:47 Duration: 1s319ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 128)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-03-10 12:27:25 Duration: 1s316ms
14 188ms 2s150ms 376ms 4,642 29m7s select "cash_policy".id from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and ("cash_policy__policy_id"."name" = ?)) order by "cash_policy"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 10 07 633 2m27s 232ms 08 1,161 5m11s 268ms 09 783 3m31s 269ms 10 741 4m30s 364ms 11 590 4m30s 458ms 12 692 8m43s 756ms 13 26 10s410ms 400ms 14 11 2s880ms 261ms 15 5 1s348ms 269ms -
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '827631')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-10 12:29:09 Duration: 2s150ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '827633')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-10 12:29:14 Duration: 2s133ms
-
SELECT "cash_policy".id FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND ("cash_policy__policy_id"."name" = '778818')) ORDER BY "cash_policy"."id" DESC;
Date: 2025-03-10 12:22:39 Duration: 2s131ms
15 93ms 1s22ms 268ms 62,945 4h41m36s 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 #15
Day Hour Count Duration Avg duration Mar 10 00 6,360 24m22s 229ms 01 3,481 14m16s 245ms 02 2,504 9m44s 233ms 03 1,220 4m40s 229ms 04 1,048 3m56s 226ms 05 3,398 12m36s 222ms 06 2,823 11m18s 240ms 07 2,609 10m39s 245ms 08 732 3m27s 283ms 09 851 3m46s 266ms 10 535 3m25s 384ms 11 708 5m58s 506ms 12 916 9m24s 616ms 13 1,595 10m3s 378ms 14 1,914 9m 282ms 15 3,622 16m46s 277ms 16 3,974 18m34s 280ms 17 2,276 8m33s 225ms 18 2,006 8m55s 267ms 19 5,657 23m52s 253ms 20 7,836 35m28s 271ms 21 6,880 32m44s 285ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد فيجاتشي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-10 12:43:09 Duration: 1s22ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد فيجاتشي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-10 12:42:40 Duration: 1s16ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد فيجاتشي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2025-03-10 12:42:27 Duration: 1s11ms
16 115ms 1s156ms 235ms 24,043 1h34m13s 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 #16
Day Hour Count Duration Avg duration Mar 10 00 29 5s74ms 174ms 01 124 19s297ms 155ms 02 75 12s257ms 163ms 07 12 1s878ms 156ms 08 132 22s553ms 170ms 09 1,566 4m21s 166ms 10 1,849 7m27s 242ms 11 2,397 13m 325ms 12 3,212 23m10s 432ms 13 3,392 13m48s 244ms 14 2,566 8m11s 191ms 15 3,146 8m28s 161ms 16 1,165 3m6s 160ms 17 482 1m5s 136ms 18 1,195 3m15s 163ms 19 1,106 2m42s 147ms 20 927 2m37s 169ms 21 668 1m55s 173ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8303257)) AND (("cash_track"."id" not in (9213580)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-10 12:26:58 Duration: 1s156ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8303263)) AND (("cash_track"."id" not in (9213616)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-10 12:27:24 Duration: 1s145ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8303242)) AND (("cash_track"."id" not in (9213361)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-03-10 12:25:16 Duration: 1s89ms
17 170ms 439ms 214ms 12,784 45m46s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 10 00 464 1m49s 235ms 01 2,232 8m6s 217ms 02 1,834 6m47s 222ms 03 2,338 8m24s 215ms 04 2,165 7m28s 207ms 05 1,716 5m57s 208ms 06 1,567 5m23s 206ms 07 211 46s279ms 219ms 08 257 1m2s 243ms -
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" = '761526')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 04:22:30 Duration: 439ms
-
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" = '893595')) 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, 36, 37, 40, 41, 42, 43, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 01:00:48 Duration: 422ms
-
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" = '934171')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-03-10 04:01:03 Duration: 297ms
18 58ms 485ms 116ms 58,274 1h53m12s select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) and ("collection_policy"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 10 00 13 977ms 75ms 07 657 49s851ms 75ms 08 5,690 8m4s 85ms 09 5,508 7m43s 84ms 10 5,863 11m59s 122ms 11 4,989 12m3s 144ms 12 9,817 29m38s 181ms 13 10,452 20m15s 116ms 14 5,996 9m33s 95ms 15 2,278 3m14s 85ms 16 3,876 5m46s 89ms 17 883 1m1s 70ms 18 2,158 2m52s 79ms 20 22 2s316ms 105ms 21 72 6s447ms 89ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 6096305) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-10 11:10:06 Duration: 485ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5902650) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:34:47 Duration: 463ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5912971) AND ("collection_policy"."state" = 'draft')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 23)))) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:35:59 Duration: 463ms
19 54ms 380ms 111ms 31,036 57m26s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 10 07 213 14s899ms 69ms 08 1,903 2m31s 79ms 09 2,384 3m2s 76ms 10 3,570 6m31s 109ms 11 3,143 6m38s 126ms 12 8,367 21m11s 152ms 13 3,790 6m48s 107ms 14 3,070 4m28s 87ms 15 1,129 1m29s 78ms 16 1,946 2m41s 83ms 17 458 29s538ms 64ms 18 1,063 1m16s 72ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 6026477) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:43:27 Duration: 380ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5972078) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:28:07 Duration: 380ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5977394) ORDER BY "collection_policy"."id";
Date: 2025-03-10 12:21:38 Duration: 380ms
20 45ms 624ms 95ms 170,469 4h32m33s select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 10 00 4,391 4m59s 68ms 01 4,794 5m11s 64ms 02 3,652 3m57s 64ms 03 3,016 3m12s 63ms 04 1,975 1m55s 58ms 05 3,459 3m9s 54ms 06 2,515 2m16s 54ms 07 1,432 1m30s 63ms 08 5,620 6m40s 71ms 09 10,317 12m22s 71ms 10 14,773 27m20s 111ms 11 18,174 42m3s 138ms 12 19,309 58m8s 180ms 13 17,122 29m45s 104ms 14 11,090 14m51s 80ms 15 8,443 9m57s 70ms 16 8,456 9m26s 67ms 17 4,138 3m53s 56ms 18 5,411 5m51s 64ms 19 7,074 7m41s 65ms 20 8,549 10m2s 70ms 21 6,759 8m16s 73ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6122584, 6122236, 6122191, 6103410, 6093941, 6091530, 6076567, 5955275)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-10 12:37:47 Duration: 624ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6111364, 6080170, 6065633, 6062567, 6056081, 6038044, 6027945, 5843268)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-10 12:48:29 Duration: 605ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (6089907, 6089407, 6083013, 6070485, 6030624, 6009493, 6004218, 5516213)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-03-10 12:54:38 Duration: 592ms
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 18,221,436 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 3076 FATAL entries
- 496 ERROR entries
- 0 WARNING entries
- 10 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 1,454 Max number of times the same event was reported
- 3,582 Total events found
Rank Times reported Error 1 1,454 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 10 01 84 04 72 07 38 10 316 13 502 16 295 19 147 2 1,424 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 10 01 171 04 246 07 143 10 187 13 187 16 303 19 187 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
- 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: 2025-03-10 01:00:06
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '958741')) AND ("policy_number"."package_id" = 2414)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false )) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false )) AND (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id"
Date: 2025-03-10 01:00:06
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-03-10 04:20:01
3 413 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 10 00 1 01 5 02 2 04 4 05 4 07 12 08 24 09 23 10 30 11 44 12 90 13 39 14 31 15 7 16 27 17 6 18 38 19 5 20 11 21 10 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-09 23:16:40.410268', "write_uid" = 1227 WHERE id IN (45053014)
Date: 2025-03-10 00:19:06
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-10 00:08:05.089047', "write_uid" = 903 WHERE id IN (45053431)
Date: 2025-03-10 01:08:44
Statement: UPDATE "policy_number" SET "done" = true, "write_date" = '2025-03-10 00:08:46.455693', "write_uid" = 903 WHERE id IN (45053413)
Date: 2025-03-10 01:10:20
4 163 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 10 01 4 04 24 07 8 10 36 13 55 16 24 19 12 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6156413)) AND (("shipping_track"."id" not in (51363195, 51363380, 51363380)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-03-10 01:00:06
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6105630)) AND (("shipping_track"."id" not in (50935436, 50938451, 50967179, 51387950, 51387950)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-03-10 04:00:07
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6150126)) AND (("shipping_track"."id" not in (51338075, 51344487, 51345385, 51367451, 51387949, 51387949)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-03-10 04:00:07
5 42 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 10 01 1 04 5 07 2 10 9 13 17 16 5 19 3 - ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6156413)) AND (("shipping_track"."id" not in (51363195, 51363380, 51363380)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-03-10 01:00:06
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6105630)) AND (("shipping_track"."id" not in (50935436, 50938451, 50967179, 51387950, 51387950)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-03-10 04:00:07
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (6150126)) AND (("shipping_track"."id" not in (51338075, 51344487, 51345385, 51367451, 51387949, 51387949)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-03-10 04:00:07
6 25 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 10 08 1 10 1 11 2 12 18 13 1 16 1 17 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 219602 waits for ShareLock on transaction 10661558; blocked by process 218475. Process 218475 waits for ShareLock on transaction 10661643; blocked by process 219602. Process 219602: update shipping_policy set count_search=2 where id=6031594 Process 218475: update shipping_policy set count_search=7 where id=6027449
Context: while updating tuple (50577,29) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=2 where id=6031594Date: 2025-03-10 08:50:37
Detail: Process 761137 waits for ShareLock on transaction 10667388; blocked by process 761380. Process 761380 waits for ShareLock on transaction 10667373; blocked by process 761137. Process 761137: update shipping_policy set count_search=6 where id=5955693 Process 761380: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-03-10 09:12:34.961106', "write_uid" = 1102 WHERE id IN (6121454, 6118395, 6114164, 6112769, 6111629, 6111230, 6108651, 6106448, 6106310, 6105442, 6105334, 6104738, 6102576, 6099753, 6097626, 6097299, 6097293, 6094740, 6093635, 6092772, 6092684, 6089152, 6078727, 6076103, 5984559, 5968954, 5955693, 6110064, 6110053, 6093951)
Context: while updating tuple (73803,6) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=6 where id=5955693Date: 2025-03-10 10:12:49
Detail: Process 761123 waits for ShareLock on transaction 10676300; blocked by process 872001. Process 872001 waits for ShareLock on transaction 10676347; blocked by process 761123. Process 761123: update shipping_policy set count_search=4 where id=6162742 Process 872001: update shipping_policy set count_search=11 where id=6086287
Context: while updating tuple (63480,34) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=4 where id=6162742Date: 2025-03-10 11:53:31
7 9 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 10 00 3 03 3 20 3 - FATAL: password authentication failed for user "postgres"
Detail: User "postgres" has no password assigned. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2025-03-10 00:42:02
8 9 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 10 09 2 11 3 12 1 13 1 14 2 - 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 (4542, 65, 960, 960, ذذ, null, 2025-03-10 08:00:32.315121, 2025-03-10 08:00:32.315121).
Statement: INSERT INTO "res_country_state" ("country_id", "create_date", "create_uid", "name", "write_date", "write_uid") VALUES (65, '2025-03-10 08:00:32.315121', 960, 'ذذ', '2025-03-10 08:00:32.315121', 960) RETURNING "id"Date: 2025-03-10 09:00:32
Detail: Failing row contains (5551617, null, 827, 827, null, 0115655855, null, null, t, 2025-03-10 08:46:44.430125, 2025-03-10 08:46:44.430125, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-03-10 08:46:44.430125', 827, '0115655855', '2025-03-10 08:46:44.430125', 827) RETURNING "id"Date: 2025-03-10 09:46:44
Detail: Failing row contains (5551634, null, 827, 827, null, سيلينا, null, null, t, 2025-03-10 10:25:33.872168, 2025-03-10 10:25:33.872168, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-03-10 10:25:33.872168', 827, 'سيلينا', '2025-03-10 10:25:33.872168', 827) RETURNING "id"Date: 2025-03-10 11:25:33
9 9 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 10 04 1 07 2 13 2 16 4 10 9 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 10 01 1 04 2 07 1 10 1 13 1 16 2 19 1 11 5 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 10 02 3 12 1 17 1 12 4 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 10 11 1 12 1 15 1 21 1 - ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (196022)
Date: 2025-03-10 11:50:57
Statement: DELETE FROM "delegate_track" WHERE id IN (195376)
Date: 2025-03-10 12:07:04
Statement: DELETE FROM "delegate_track" WHERE id IN (196414)
Date: 2025-03-10 15:30:10
13 3 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 10 02 1 12 1 17 1 14 3 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 10 04 1 10 1 13 1 15 3 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #15
Day Hour Count Mar 10 09 3 16 2 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #16
Day Hour Count Mar 10 12 1 17 1 17 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #17
Day Hour Count Mar 10 00 1 21 1 - ERROR: syntax error at or near ")" at character 162
- ERROR: syntax error at or near ")" at character 210
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 ('983211',)
Date: 2025-03-10 00:55:52
Statement: select name,notebook_id,package_id,done FROM policy_number where (damaged is Null or damaged =False) and name in () order by name desc
Date: 2025-03-10 21:11:52
18 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #18
Day Hour Count Mar 10 02 1 19 1 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #19
Day Hour Count Mar 10 02 1 20 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #20
Day Hour Count Mar 10 13 1 - ERROR: column urgent_office.is_no_change_office does not exist at character 574
Statement: SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."is_no_change_office" AS "is_no_change_office", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (39)
Date: 2025-03-10 13:33:49