-
Global information
- Generated on Tue Feb 11 23:47:21 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 40,541,666 log entries in 2m19s
- Log start from 2025-02-11 00:00:00 to 2025-02-11 22:45:02
-
Overview
Global Stats
- 17,256 Number of unique normalized queries
- 17,134,748 Number of queries
- 4d10h37m30s Total query duration
- 2025-02-11 00:00:00 First query
- 2025-02-11 22:45:02 Last query
- 2,748 queries/s at 2025-02-11 19:48:31 Query peak
- 4d10h37m30s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 4d10h37m30s Execute total duration
- 30,902 Number of events
- 24 Number of unique normalized events
- 30,327 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
- 17,134,748 Average queries per session
- 4d10h37m30s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 2,748 queries/s Query Peak
- 2025-02-11 19:48:31 Date
SELECT Traffic
Key values
- 1,482 queries/s Query Peak
- 2025-02-11 19:48:31 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,232 queries/s Query Peak
- 2025-02-11 19:48:31 Date
Queries duration
Key values
- 4d10h37m30s 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) Feb 11 00 274,712 0ms 1s995ms 34ms 4m7s 4m27s 5m15s 01 234,775 0ms 7s173ms 34ms 4m1s 4m18s 4m38s 02 245,686 0ms 1s416ms 33ms 3m51s 5m35s 6m27s 03 259,481 0ms 1s772ms 38ms 4m40s 6m24s 7m48s 04 248,780 0ms 2s126ms 43ms 4m28s 7m22s 7m48s 05 211,446 0ms 7s847ms 30ms 3m43s 4m20s 5m24s 06 216,488 0ms 7s700ms 24ms 3m7s 3m46s 4m11s 07 211,541 0ms 2s419ms 24ms 2m21s 2m44s 5m29s 08 471,031 0ms 6s776ms 14ms 3m12s 3m20s 3m52s 09 928,267 0ms 9s342ms 15ms 7m14s 8m49s 9m5s 10 1,339,576 0ms 2m2s 15ms 7m53s 9m40s 11m48s 11 1,604,414 0ms 2m4s 27ms 20m37s 22m44s 23m42s 12 1,515,546 0ms 13m6s 19ms 12m41s 17m54s 31m18s 13 1,334,597 0ms 40s970ms 17ms 9m50s 10m34s 16m3s 14 1,259,576 0ms 9s163ms 13ms 7m27s 7m39s 9m14s 15 1,253,501 0ms 2m17s 12ms 6m37s 6m54s 7m33s 16 1,211,558 0ms 2m14s 16ms 8m19s 8m54s 11m28s 17 1,068,902 0ms 1m20s 19ms 9m13s 9m40s 11m1s 18 965,846 0ms 2m10s 26ms 14m8s 16m 17m38s 19 847,706 0ms 2m13s 38ms 14m42s 16m9s 20m14s 20 717,764 0ms 11s290ms 37ms 13m26s 15m12s 18m9s 21 457,816 0ms 4m24s 29ms 5m27s 6m24s 10m56s 22 255,739 0ms 3s240ms 31ms 4m38s 4m46s 5m23s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 11 00 142,297 0 67ms 3m28s 4m7s 4m36s 01 117,154 0 69ms 3m23s 4m1s 4m19s 02 121,772 0 68ms 3m27s 3m51s 6m19s 03 131,398 0 76ms 4m10s 4m39s 7m46s 04 123,014 0 88ms 4m 4m27s 7m34s 05 102,965 0 62ms 2m37s 3m43s 5m11s 06 112,849 0 47ms 2m31s 3m7s 4m6s 07 114,157 0 45ms 2m2s 2m21s 2m57s 08 272,579 0 24ms 2m57s 3m12s 3m30s 09 532,519 0 26ms 5m28s 7m13s 8m58s 10 752,854 0 27ms 7m2s 7m50s 11m47s 11 896,081 0 48ms 16m27s 20m11s 22m12s 12 849,212 0 34ms 10m21s 12m27s 21m8s 13 745,766 0 31ms 8m12s 9m49s 12m20s 14 742,800 0 22ms 6m28s 7m26s 8m48s 15 737,394 0 21ms 5m38s 6m36s 7m15s 16 678,192 0 30ms 7m37s 8m18s 9m50s 17 629,912 0 33ms 7m19s 8m53s 10m5s 18 549,756 0 45ms 9m19s 14m6s 16m27s 19 490,353 0 66ms 13m18s 14m38s 17m13s 20 430,487 0 62ms 9m44s 13m25s 15m21s 21 263,994 0 49ms 4m30s 5m27s 6m31s 22 149,372 0 53ms 4m21s 4m38s 5m22s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 11 00 29,062 5,753 76 0 0ms 166ms 194ms 228ms 01 20,474 4,484 71 0 0ms 137ms 156ms 207ms 02 22,449 4,850 76 0 0ms 132ms 167ms 241ms 03 27,412 5,640 77 0 0ms 176ms 204ms 330ms 04 28,093 7,124 84 0 0ms 160ms 193ms 317ms 05 14,645 4,945 118 0 0ms 89ms 136ms 174ms 06 15,839 2,160 168 0 0ms 92ms 132ms 162ms 07 16,259 3,527 74 0 0ms 95ms 119ms 231ms 08 20,285 4,962 317 0 0ms 124ms 161ms 202ms 09 44,500 10,583 754 0 0ms 254ms 288ms 410ms 10 65,791 15,397 982 0 2ms 394ms 468ms 679ms 11 103,122 21,690 751 0 3ms 804ms 1s79ms 15s630ms 12 84,752 17,343 884 0 6ms 556ms 687ms 2m26s 13 69,896 16,002 732 0 1ms 416ms 480ms 647ms 14 57,570 14,699 505 0 0ms 324ms 372ms 484ms 15 51,677 13,247 649 0 0ms 308ms 356ms 3s512ms 16 60,242 16,847 1,020 1 2ms 361ms 446ms 699ms 17 62,293 17,675 891 0 2ms 506ms 585ms 10s793ms 18 74,497 22,537 487 0 1ms 570ms 757ms 1s707ms 19 73,229 19,430 551 0 3ms 544ms 658ms 56s115ms 20 68,230 14,971 399 0 0ms 430ms 523ms 830ms 21 44,049 8,478 242 0 6ms 265ms 350ms 22s412ms 22 28,388 5,048 105 0 0ms 225ms 276ms 345ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Feb 11 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Feb 11 00 0 0.00/s 01 0 0.00/s 02 0 0.00/s 03 0 0.00/s 04 0 0.00/s 05 0 0.00/s 06 0 0.00/s 07 0 0.00/s 08 0 0.00/s 09 0 0.00/s 10 0 0.00/s 11 0 0.00/s 12 0 0.00/s 13 0 0.00/s 14 0 0.00/s 15 0 0.00/s 16 0 0.00/s 17 0 0.00/s 18 0 0.00/s 19 0 0.00/s 20 0 0.00/s 21 0 0.00/s 22 0 0.00/s Day Hour Count Average Duration Average idle time Feb 11 00 0 0ms 0ms 01 0 0ms 0ms 02 0 0ms 0ms 03 0 0ms 0ms 04 0 0ms 0ms 05 0 0ms 0ms 06 0 0ms 0ms 07 0 0ms 0ms 08 0 0ms 0ms 09 0 0ms 0ms 10 0 0ms 0ms 11 0 0ms 0ms 12 0 0ms 0ms 13 0 0ms 0ms 14 0 0ms 0ms 15 0 0ms 0ms 16 0 0ms 0ms 17 0 0ms 0ms 18 0 0ms 0ms 19 0 0ms 0ms 20 0 0ms 0ms 21 0 0ms 0ms 22 0 0ms 0ms -
Connections
Established Connections
Key values
- 0 connections Connection Peak
- Date
Connections per database
Key values
- unknown Main Database
- 0 connections Total
Connections per user
Key values
- unknown Main User
- 0 connections Total
-
Sessions
Simultaneous sessions
Key values
- 0 sessions Session Peak
- Date
Histogram of session times
Key values
- duration
Sessions per database
Key values
- unknown Main Database
- 0 sessions Total
Sessions per user
Key values
- unknown Main User
- 0 sessions Total
Sessions per host
Key values
- unknown Main Host
- 0 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 372,881 buffers Checkpoint Peak
- 2025-02-11 10:31:27 Date
- 270.054 seconds Highest write time
- 0.020 seconds Sync time
Checkpoints Wal files
Key values
- 218 files Wal files usage Peak
- 2025-02-11 10:31:27 Date
Checkpoints distance
Key values
- 6,968.83 Mo Distance Peak
- 2025-02-11 10:31:27 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Feb 11 00 108,389 3,239.556s 0.034s 3,239.63s 01 277,120 3,239.533s 0.027s 3,239.614s 02 147,548 3,239.621s 0.029s 3,239.689s 03 146,002 3,239.545s 0.036s 3,239.623s 04 145,986 3,239.589s 0.034s 3,239.668s 05 123,803 3,239.561s 0.032s 3,239.634s 06 131,091 3,066.507s 0.031s 3,066.594s 07 84,118 3,028.345s 0.029s 3,028.424s 08 172,681 3,239.583s 0.03s 3,239.675s 09 326,981 3,239.542s 0.044s 3,239.647s 10 1,100,622 3,239.296s 0.062s 3,239.669s 11 662,387 3,239.095s 0.069s 3,239.63s 12 659,304 3,239.446s 0.058s 3,239.607s 13 594,599 3,239.466s 0.064s 3,239.631s 14 406,472 3,239.564s 0.049s 3,239.689s 15 356,115 3,239.558s 0.051s 3,239.675s 16 408,606 3,239.502s 0.049s 3,239.635s 17 390,808 2,885.281s 0.084s 2,885.44s 18 401,785 3,239.441s 0.061s 3,239.581s 19 380,912 3,239.477s 0.053s 3,239.611s 20 357,227 3,239.558s 0.067s 3,239.703s 21 167,546 3,239.588s 0.042s 3,239.676s 22 106,287 2,429.634s 0.035s 2,429.707s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 11 00 0 0 49 3,278 0.002s 0.012s 01 0 0 111 2,851 0.002s 0.012s 02 0 0 49 2,699 0.002s 0.012s 03 0 0 53 2,786 0.002s 0.012s 04 0 0 57 2,748 0.002s 0.012s 05 0 0 45 2,393 0.002s 0.012s 06 0 0 47 3,165 0.002s 0.012s 07 0 0 32 2,857 0.002s 0.012s 08 0 0 62 3,633 0.002s 0.012s 09 0 0 115 4,769 0.003s 0.012s 10 1 83 473 5,293 0.003s 0.012s 11 0 205 71 5,255 0.003s 0.012s 12 0 0 280 5,436 0.003s 0.012s 13 0 0 252 5,535 0.003s 0.012s 14 0 0 170 5,305 0.003s 0.012s 15 0 0 147 5,685 0.002s 0.012s 16 0 0 172 5,549 0.002s 0.012s 17 0 0 166 5,418 0.011s 0.012s 18 0 0 175 5,576 0.003s 0.012s 19 0 0 167 5,410 0.002s 0.012s 20 0 0 160 5,246 0.002s 0.012s 21 0 0 73 4,618 0.002s 0.012s 22 0 0 45 3,237 0.002s 0.009s Day Hour Count Avg time (sec) Feb 11 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Feb 11 00 66,570.42 kB 107,839.83 kB 01 151,403.58 kB 712,285.75 kB 02 66,934.17 kB 274,180.25 kB 03 71,991.75 kB 123,557.25 kB 04 77,499.92 kB 98,721.83 kB 05 61,744.58 kB 93,168.25 kB 06 63,805.42 kB 94,054.50 kB 07 44,398.58 kB 80,067.58 kB 08 84,292.25 kB 103,309.17 kB 09 157,501.67 kB 180,564.83 kB 10 759,501.92 kB 1,781,157.42 kB 11 371,360.45 kB 1,391,242.45 kB 12 382,262.42 kB 670,347.33 kB 13 344,182.50 kB 443,205.17 kB 14 231,884.92 kB 318,968.17 kB 15 198,538.18 kB 253,551.73 kB 16 240,066.82 kB 278,063.27 kB 17 226,931.25 kB 278,549.50 kB 18 238,751.58 kB 333,596.83 kB 19 227,758.08 kB 311,860.83 kB 20 219,210.67 kB 296,930.92 kB 21 99,296.00 kB 195,780.33 kB 22 82,255.44 kB 124,991.89 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Feb 11 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Feb 11 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 9,686,877 Total read queries
- 5,036,828 Total write queries
Queries by database
Key values
- unknown Main database
- 17,134,748 Requests
- 4d10h37m30s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 17,134,748 Requests
User Request type Count Duration unknown Total 17,134,748 4d10h37m30s copy from 1 2ms cte 12,862 3s107ms ddl 224 31ms delete 10,013 1s603ms insert 1,082,754 6m1s others 2,411,043 2m28s select 9,686,877 4d9h46m43s tcl 3,673,582 2m37s update 257,392 39m34s Duration by user
Key values
- 4d10h37m30s (unknown) Main time consuming user
User Request type Count Duration unknown Total 17,134,748 4d10h37m30s copy from 1 2ms cte 12,862 3s107ms ddl 224 31ms delete 10,013 1s603ms insert 1,082,754 6m1s others 2,411,043 2m28s select 9,686,877 4d9h46m43s tcl 3,673,582 2m37s update 257,392 39m34s Queries by host
Key values
- unknown Main host
- 17,134,748 Requests
- 4d10h37m30s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 17,134,748 Requests
- 4d10h37m30s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-02-11 19:05:43 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 15,772,562 0-1ms duration
Slowest individual queries
Rank Duration Query 1 13m6s SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "state_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."total_shipping_price") AS "total_shipping_price", sum("shipping_policy"."collection_amount_sender") AS "collection_amount_sender", sum("shipping_policy"."collection_amount_receive") AS "collection_amount_receive", sum("shipping_policy"."total_amount_cash_lines") AS "total_amount_cash_lines", "shipping_policy"."state" as "state" FROM "shipping_policy" WHERE ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."office_policy_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%العجمى%'))) AND ((("shipping_policy"."client_date" >= '2025-01-01') AND ("shipping_policy"."client_date" <= '2025-01-31')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب العجمى%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب العجمى%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب العجمى%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب العجمى%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب العجمى%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL))))) AND TRUE GROUP BY "shipping_policy"."state" ORDER BY "state" LIMIT 80;[ Date: 2025-02-11 12:26:53 ]
2 13m5s SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "delegate_policy_id_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."total_shipping_price") AS "total_shipping_price", sum("shipping_policy"."collection_amount_sender") AS "collection_amount_sender", sum("shipping_policy"."collection_amount_receive") AS "collection_amount_receive", sum("shipping_policy"."total_amount_cash_lines") AS "total_amount_cash_lines", "shipping_policy"."delegate_policy_id" as "delegate_policy_id" FROM "shipping_policy" LEFT JOIN "res_partner" AS "shipping_policy__delegate_policy_id" ON ("shipping_policy"."delegate_policy_id" = "shipping_policy__delegate_policy_id"."id") WHERE (("shipping_policy"."state" = 'archive') AND ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."office_policy_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%العجمى%'))) AND ((("shipping_policy"."client_date" >= '2025-01-01') AND ("shipping_policy"."client_date" <= '2025-01-31')) AND ("shipping_policy"."return_date" IS NULL AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب العجمى%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب العجمى%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب العجمى%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب العجمى%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب العجمى%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))))) AND TRUE GROUP BY "shipping_policy"."delegate_policy_id", "shipping_policy__delegate_policy_id"."display_name", "shipping_policy__delegate_policy_id"."id" ORDER BY "shipping_policy__delegate_policy_id"."display_name" ASC, "shipping_policy__delegate_policy_id"."id" DESC LIMIT 80;[ Date: 2025-02-11 12:40:01 ]
3 11m36s SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "delegate_policy_id_count", sum("shipping_policy"."total_no_items") AS "total_no_items", sum("shipping_policy"."total_shipping_price") AS "total_shipping_price", sum("shipping_policy"."collection_amount_sender") AS "collection_amount_sender", sum("shipping_policy"."collection_amount_receive") AS "collection_amount_receive", sum("shipping_policy"."total_amount_cash_lines") AS "total_amount_cash_lines", "shipping_policy"."delegate_policy_id" as "delegate_policy_id" FROM "shipping_policy" LEFT JOIN "res_partner" AS "shipping_policy__delegate_policy_id" ON ("shipping_policy"."delegate_policy_id" = "shipping_policy__delegate_policy_id"."id") WHERE ((("shipping_policy"."active" = true) AND (("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL)) AND (("shipping_policy"."search_name"::text ilike '%العجمى%') AND ((("shipping_policy"."client_date" >= '2025-01-01') AND ("shipping_policy"."client_date" <= '2025-01-31')) AND (("shipping_policy"."delegate_policy_id" in ( SELECT "res_partner".id FROM "res_partner" WHERE (((((("res_partner"."display_name"::text not ilike '%مكتب العجمى%') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email"::text not ilike '%مكتب العجمى%') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref"::text not ilike '%مكتب العجمى%') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat"::text not ilike '%مكتب العجمى%') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry"::text not ilike '%مكتب العجمى%') OR "res_partner"."company_registry" IS NULL)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)))) OR "shipping_policy"."delegate_policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (123))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) GROUP BY "shipping_policy"."delegate_policy_id", "shipping_policy__delegate_policy_id"."display_name", "shipping_policy__delegate_policy_id"."id" ORDER BY "shipping_policy__delegate_policy_id"."display_name" ASC, "shipping_policy__delegate_policy_id"."id" DESC LIMIT 80;[ Date: 2025-02-11 12:40:14 ]
4 4m24s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-11 20:24:09.227929', "write_uid" = 886 WHERE id IN (32408417);[ Date: 2025-02-11 21:28:36 ]
5 3m22s update shipping_policy set count_search = 4 where id = 5077666;[ Date: 2025-02-11 12:58:57 ]
6 3m19s update shipping_policy set count_search = 4 where id = 5077666;[ Date: 2025-02-11 12:53:45 ]
7 2m25s update shipping_policy set d_date = '2025-02-11' where id = 5187775;[ Date: 2025-02-11 12:12:00 ]
8 2m17s 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 '%3%')) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-11 15:56:22 ]
9 2m14s 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)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-11 15:56:19 ]
10 2m14s 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)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-11 16:34:40 ]
11 2m13s 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)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-11 19:52:44 ]
12 2m10s 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)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-11 18:14:53 ]
13 2m4s update shipping_policy set d_date = '2025-02-11' where id = 5109954;[ Date: 2025-02-11 11:08:39 ]
14 2m2s 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)))) ORDER BY "policy_number"."id" LIMIT 8;[ Date: 2025-02-11 15:56:56 ]
15 2m2s update shipping_policy set active = '0' where from_office 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, 57, 59, 97, 101, 108, 118, 120, 129, 124, 122, 112, 12, 20, 23) and archive_date is NOT NULL and archive_date >= '2024-12-01' and archive_date <= '2024-12-31';[ Date: 2025-02-11 10:22:52 ]
16 1m55s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-11 18:06:01.323507', "write_uid" = 868 WHERE id IN (32496066);[ Date: 2025-02-11 19:08:00 ]
17 1m33s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-11 15:51:40.941466', "write_uid" = 988 WHERE id IN (44534712);[ Date: 2025-02-11 16:53:16 ]
18 1m20s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-11 16:11:30.652080', "write_uid" = 988 WHERE id IN (44534712);[ Date: 2025-02-11 17:12:53 ]
19 1m10s UPDATE "policy_number" SET "done" = true, "write_date" = '2025-02-11 18:43:27.188071', "write_uid" = 868 WHERE id IN (32496066);[ Date: 2025-02-11 19:44:40 ]
20 1m10s UPDATE "shipping_policy" SET "before_office_id" = 65, "write_date" = '2025-02-11 10:14:06.361251', "write_uid" = 1300 WHERE id IN (5214339, 5212189);[ Date: 2025-02-11 11:15:16 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2d4h27m34s 269,652 544ms 6s259ms 700ms 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 Feb 11 00 7,633 1h20m37s 633ms 01 6,998 1h12m55s 625ms 02 8,747 1h30m50s 623ms 03 9,706 1h42m45s 635ms 04 10,652 1h51m3s 625ms 05 6,131 1h2m21s 610ms 06 5,627 57m22s 611ms 07 3,942 41m7s 625ms 08 6,333 1h3m59s 606ms 09 10,689 1h56m50s 655ms 10 15,076 2h54m8s 693ms 11 26,246 6h28m54s 889ms 12 19,082 3h56m13s 742ms 13 14,974 2h56m32s 707ms 14 9,976 1h51m12s 668ms 15 9,581 1h45m14s 659ms 16 12,846 2h27m13s 687ms 17 12,898 2h25m49s 678ms 18 13,549 2h37m16s 696ms 19 23,068 4h54m18s 765ms 20 20,757 4h8m39s 718ms 21 9,684 1h43m23s 640ms 22 5,457 58m44s 645ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5277082)) AND (("shipping_track"."id" not in (43794641, 43794641)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 19:04:35 Duration: 6s259ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5277120)) AND (("shipping_track"."id" not in (43795524, 43795524)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 19:06:00 Duration: 5s827ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5268325)) AND (("shipping_track"."id" not in (43676785, 43676785)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 11:08:51 Duration: 5s737ms
2 12h26m57s 140,010 244ms 2s612ms 320ms 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 Feb 11 00 2,133 9m22s 263ms 01 2,194 9m34s 261ms 02 2,406 10m42s 267ms 03 2,250 10m 266ms 04 4,134 18m24s 267ms 05 3,665 16m5s 263ms 06 1,287 5m37s 262ms 07 1,794 7m51s 262ms 08 2,860 12m38s 265ms 09 6,258 30m17s 290ms 10 7,022 34m58s 298ms 11 15,154 1h37m37s 386ms 12 8,087 45m3s 334ms 13 10,356 52m34s 304ms 14 9,603 46m42s 291ms 15 6,149 29m11s 284ms 16 6,098 30m19s 298ms 17 10,158 51m53s 306ms 18 18,608 1h50m24s 356ms 19 13,470 1h21m42s 363ms 20 5,768 33m20s 346ms 21 458 2m6s 275ms 22 98 27s57ms 276ms -
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" = '378165')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-11 19:04:18 Duration: 2s612ms
-
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" = '378167')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-11 19:04:20 Duration: 2s606ms
-
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" = '218096')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-11 11:08:17 Duration: 2s471ms
3 9h5m31s 45,102 551ms 6s866ms 725ms 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 Feb 11 00 126 1m26s 690ms 01 152 1m45s 693ms 02 437 4m49s 662ms 03 191 2m18s 725ms 04 192 2m18s 719ms 05 287 3m8s 656ms 06 485 4m59s 617ms 07 239 2m32s 637ms 08 1,175 12m14s 624ms 09 3,134 34m52s 667ms 10 4,407 51m24s 699ms 11 3,882 1h4m54s 1s3ms 12 4,930 1h3m22s 771ms 13 3,938 47m59s 731ms 14 2,279 25m57s 683ms 15 2,643 29m16s 664ms 16 4,459 50m45s 683ms 17 3,523 39m35s 674ms 18 2,298 26m40s 696ms 19 2,962 38m 769ms 20 1,824 21m16s 699ms 21 1,172 12m6s 619ms 22 367 3m47s 619ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5245936, 5245915, 5245647, 5245599, 5245472, 5245279, 5245267)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 11:10:21 Duration: 6s866ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5249678, 5228542, 5225333, 5223392, 5214339, 5212189)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 11:10:17 Duration: 6s338ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5234204, 5226494, 5214245, 5214157, 5210379, 5208348, 5202382, 5199235, 5186837, 5185274, 5184329, 5184069, 5167616, 5166920, 5165478, 5149944, 5137200, 5044477, 5013407)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 11:13:43 Duration: 6s196ms
4 6h31m48s 19,054 834ms 2s913ms 1s233ms 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 Feb 11 00 1,008 19m37s 1s167ms 01 599 11m21s 1s137ms 02 430 8m4s 1s127ms 03 1,276 24m41s 1s161ms 04 868 17m14s 1s191ms 05 266 5m6s 1s150ms 06 459 8m27s 1s106ms 07 897 16m44s 1s119ms 08 14 16s747ms 1s196ms 09 87 1m44s 1s197ms 10 124 2m45s 1s331ms 11 150 4m8s 1s657ms 12 100 2m20s 1s400ms 13 278 5m47s 1s248ms 14 216 4m31s 1s255ms 15 681 13m11s 1s162ms 16 942 19m5s 1s216ms 17 1,338 27m5s 1s214ms 18 1,266 28m20s 1s342ms 19 2,030 46m53s 1s385ms 20 2,285 50m20s 1s321ms 21 1,929 37m53s 1s178ms 22 1,811 36m6s 1s196ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '353947')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-11 19:04:18 Duration: 2s913ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '386268')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-11 19:03:56 Duration: 2s836ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '216186')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-11 18:57:51 Duration: 2s805ms
5 4h7m5s 59,828 90ms 929ms 247ms select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 11 00 4,200 15m47s 225ms 01 2,640 10m57s 248ms 02 1,454 5m42s 235ms 03 3,040 11m16s 222ms 04 2,170 8m17s 229ms 05 526 2m13s 253ms 06 906 3m50s 254ms 07 1,780 7m13s 243ms 08 38 7s150ms 188ms 09 172 46s339ms 269ms 10 530 2m38s 298ms 11 296 1m18s 266ms 12 466 2m8s 274ms 13 770 3m12s 250ms 14 962 4m10s 259ms 15 2,151 8m49s 246ms 16 2,815 11m50s 252ms 17 4,388 17m12s 235ms 18 5,292 23m42s 268ms 19 5,804 28m11s 291ms 20 8,242 35m15s 256ms 21 6,339 24m1s 227ms 22 4,847 18m23s 227ms -
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-02-11 20:26:39 Duration: 929ms
-
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-02-11 20:28:15 Duration: 865ms
-
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-02-11 20:28:15 Duration: 865ms
6 3h39m9s 11,327 237ms 2s654ms 1s160ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 11 00 1,118 19m45s 1s60ms 01 735 11m48s 963ms 02 306 4m42s 921ms 03 255 4m21s 1s24ms 04 224 4m25s 1s186ms 06 1 1s76ms 1s76ms 08 5 5s923ms 1s184ms 09 3 2s678ms 892ms 10 159 3m16s 1s232ms 11 15 22s410ms 1s494ms 12 142 3m9s 1s333ms 13 133 2m58s 1s341ms 14 281 5m40s 1s212ms 15 422 7m40s 1s91ms 16 491 10m1s 1s224ms 17 892 17m17s 1s163ms 18 1,425 29m57s 1s261ms 19 925 20m51s 1s352ms 20 1,877 38m2s 1s216ms 21 1,278 23m28s 1s102ms 22 640 11m10s 1s47ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '266927')) 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 (22))))))) 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 (22)))))) 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 (22)))))) 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 (22))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-11 18:56:35 Duration: 2s654ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '244707')) 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 (77))))))) 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 (77)))))) 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 (77)))))) 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 (77))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-11 20:08:20 Duration: 2s582ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '317447')) 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 (53))))))) 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 (53)))))) 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 (53)))))) 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 (53))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-11 19:09:07 Duration: 2s561ms
7 2h26m56s 154,049 41ms 497ms 57ms 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 Feb 11 00 3,569 2m57s 49ms 01 1,854 1m33s 50ms 02 3,797 3m14s 51ms 03 3,428 2m55s 51ms 04 3,655 3m7s 51ms 05 1,190 1m 50ms 06 1,762 1m28s 50ms 07 1,950 1m37s 50ms 08 3,122 2m38s 50ms 09 7,352 6m40s 54ms 10 10,986 10m21s 56ms 11 19,005 23m11s 73ms 12 16,030 16m16s 60ms 13 12,785 12m18s 57ms 14 8,490 7m46s 54ms 15 7,283 6m29s 53ms 16 8,448 7m50s 55ms 17 7,564 6m47s 53ms 18 8,558 7m43s 54ms 19 7,524 7m33s 60ms 20 6,693 6m 53ms 21 6,079 5m 49ms 22 2,925 2m22s 48ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5197077, 5159497, 5155073, 5138280, 5092105, 5084871, 5067866, 4808196)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-11 11:14:45 Duration: 497ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5234204, 5214157, 5184329, 5167616, 5165478, 5044477, 5013407)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-11 11:03:22 Duration: 470ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5230086, 5230084, 5229568, 5218081, 5218005, 5209829)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-11 11:09:32 Duration: 444ms
8 2h13m10s 19,537 265ms 3s581ms 408ms select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) order by "collection_policy"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 11 08 406 2m13s 329ms 09 2,522 15m42s 373ms 10 1,874 11m50s 379ms 11 4,351 35m3s 483ms 12 2,660 19m3s 429ms 13 4,158 27m6s 391ms 14 3,566 22m10s 372ms -
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" = '73473')))) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:12:15 Duration: 3s581ms
-
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" = '73470')))) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:12:12 Duration: 3s121ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_receiver') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '368958')))) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:03:20 Duration: 2s671ms
9 1h39m19s 19,632 245ms 2s603ms 303ms 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 Feb 11 00 607 2m40s 264ms 01 401 1m45s 262ms 02 93 26s76ms 280ms 03 60 15s821ms 263ms 05 1,231 5m28s 266ms 06 486 2m8s 265ms 07 971 4m16s 264ms 08 2,149 9m30s 265ms 09 1,302 6m23s 294ms 10 2,283 11m29s 302ms 11 2,683 17m25s 389ms 12 1,870 9m58s 320ms 13 822 4m14s 309ms 14 801 3m55s 294ms 15 783 3m35s 275ms 16 714 3m36s 302ms 17 479 2m21s 295ms 18 369 2m 326ms 19 438 2m28s 338ms 20 534 2m44s 307ms 21 458 2m6s 275ms 22 98 27s125ms 276ms -
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" = '173528')) 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-02-11 11:03:30 Duration: 2s603ms
-
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" = '326003')) 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-02-11 11:14:16 Duration: 2s416ms
-
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" = '339115')) 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-02-11 11:15:20 Duration: 2s370ms
10 58m59s 2,358 111ms 5s103ms 1s500ms 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 #10
Day Hour Count Duration Avg duration Feb 11 01 1 150ms 150ms 07 3 2s732ms 910ms 08 27 34s944ms 1s294ms 09 118 2m18s 1s170ms 10 160 3m42s 1s389ms 11 259 7m32s 1s748ms 12 296 7m10s 1s454ms 13 300 8m6s 1s620ms 14 255 5m44s 1s350ms 15 231 5m41s 1s477ms 16 249 6m32s 1s577ms 17 139 2m47s 1s201ms 18 99 2m43s 1s655ms 19 93 2m40s 1s720ms 20 52 1m35s 1s826ms 21 63 1m36s 1s535ms 22 13 10s106ms 777ms -
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 (46)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (46))))) 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-02-11 11:15:46 Duration: 5s103ms
-
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 (29)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) 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-02-11 11:02:35 Duration: 4s699ms
-
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 (46)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (46))))) 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-02-11 11:10:11 Duration: 4s519ms
11 49m8s 7,536 267ms 864ms 391ms 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 #11
Day Hour Count Duration Avg duration Feb 11 14 74 24s664ms 333ms 15 2,324 14m57s 386ms 16 2,710 17m52s 395ms 17 1,731 10m55s 378ms 18 651 4m32s 419ms 19 46 26s124ms 567ms -
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" = '323811')))) 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-02-11 16:45:12 Duration: 864ms
-
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" = '262207')))) 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-02-11 18:56:45 Duration: 760ms
-
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" = '166898')))) 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-02-11 16:45:05 Duration: 758ms
12 48m30s 14,030 171ms 277ms 207ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) 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 #12
Day Hour Count Duration Avg duration Feb 11 00 1,526 5m15s 206ms 01 1,795 5m59s 200ms 02 2,311 7m57s 206ms 03 2,170 7m36s 210ms 04 3,618 12m45s 211ms 05 2,065 7m2s 204ms 06 545 1m52s 206ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '151667')) 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-02-11 02:11:55 Duration: 277ms
-
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" = '392887')) 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-02-11 02:11:55 Duration: 273ms
-
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 (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-02-11 04:31:45 Duration: 269ms
13 45m47s 39,882 47ms 380ms 68ms select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) order by "collection_policy"."id";Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 11 08 700 40s716ms 58ms 09 3,469 3m36s 62ms 10 3,061 3m15s 63ms 11 8,410 11m16s 80ms 12 7,062 8m25s 71ms 13 6,831 7m29s 65ms 14 5,973 6m12s 62ms 15 681 42s585ms 62ms 16 906 59s490ms 65ms 17 813 53s79ms 65ms 18 780 53s150ms 68ms 19 536 39s264ms 73ms 20 376 26s695ms 70ms 21 180 10s765ms 59ms 22 104 6s90ms 58ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5147386) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:08:48 Duration: 380ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 4826396) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:12:28 Duration: 379ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5196918) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2025-02-11 12:54:22 Duration: 378ms
14 43m19s 18,918 101ms 892ms 137ms 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 #14
Day Hour Count Duration Avg duration Feb 11 05 33 4s119ms 124ms 06 86 10s571ms 122ms 08 178 22s151ms 124ms 09 1,076 2m17s 127ms 10 1,527 3m25s 134ms 11 1,993 5m32s 166ms 12 2,164 5m12s 144ms 13 1,571 3m41s 140ms 14 1,676 3m29s 124ms 15 1,753 3m39s 124ms 16 1,738 3m49s 131ms 17 1,420 3m5s 130ms 18 1,949 4m26s 136ms 19 1,012 2m25s 143ms 20 472 1m6s 140ms 21 207 24s942ms 120ms 22 63 7s614ms 120ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8124597)) AND (("cash_track"."id" not in (7973383)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-11 11:13:40 Duration: 892ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8108017)) AND (("cash_track"."id" not in (7851555, 7856948, 7861092, 7973351, 7973351)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-11 11:10:53 Duration: 828ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8107063)) AND (("cash_track"."id" not in (7847985, 7854864, 7859442, 7973352, 7973352)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-11 11:10:54 Duration: 824ms
15 25m58s 416 2s925ms 7s763ms 3s747ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 11 01 31 1m34s 3s34ms 08 2 6s51ms 3s25ms 09 12 46s560ms 3s880ms 10 2 6s769ms 3s384ms 11 90 6m40s 4s446ms 12 33 2m16s 4s123ms 13 30 1m46s 3s558ms 14 10 35s73ms 3s507ms 15 17 58s637ms 3s449ms 16 18 1m7s 3s752ms 17 35 2m2s 3s509ms 18 48 2m45s 3s453ms 19 24 1m33s 3s893ms 20 32 1m56s 3s650ms 21 31 1m38s 3s191ms 22 1 3s240ms 3s240ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (126))))))) 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 (126)))))) 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 (126)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (126)))))) 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 (126))))))))) 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 (126)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-11 11:09:26 Duration: 7s763ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (126))))))) 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 (126)))))) 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 (126)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (126)))))) 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 (126))))))))) 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 (126)))))))) AND ("policy_number"."name"::text ilike '%9090046%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-11 11:09:31 Duration: 7s405ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (126))))))) 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 (126)))))) 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 (126)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (126)))))) 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 (126))))))))) 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 (126)))))))) AND ("policy_number"."name"::text ilike '%909004%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-11 11:09:29 Duration: 7s329ms
16 22m28s 3,780 250ms 2s652ms 356ms 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 Feb 11 03 9 2s311ms 256ms 05 149 39s332ms 263ms 06 255 1m6s 261ms 07 824 3m36s 262ms 10 527 2m42s 308ms 11 1,964 14m6s 431ms 15 52 14s531ms 279ms -
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" = '242985')) 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-02-11 11:05:33 Duration: 2s652ms
-
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" = '391282')) 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-02-11 11:08:19 Duration: 2s524ms
-
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" = '173401')) 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-02-11 11:02:47 Duration: 2s389ms
17 21m24s 21,393 43ms 314ms 60ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 11 08 239 12s460ms 52ms 09 1,597 1m27s 54ms 10 1,405 1m21s 57ms 11 3,840 4m40s 73ms 12 3,160 3m8s 59ms 13 2,643 2m36s 59ms 14 2,823 2m38s 56ms 15 2,308 2m5s 54ms 16 1,902 1m48s 57ms 17 1,008 57s26ms 56ms 18 432 26s453ms 61ms 19 36 2s287ms 63ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5158601) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:09:29 Duration: 314ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 4778154) ORDER BY "collection_policy"."id";
Date: 2025-02-11 12:01:21 Duration: 311ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5083281) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:09:28 Duration: 305ms
18 20m28s 6,532 121ms 1s256ms 188ms 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 #18
Day Hour Count Duration Avg duration Feb 11 00 30 3s994ms 133ms 01 8 1s82ms 135ms 02 25 3s387ms 135ms 07 5 682ms 136ms 08 20 2s707ms 135ms 09 390 55s217ms 141ms 10 1,031 2m46s 161ms 11 1,398 6m42s 287ms 12 1,128 3m24s 181ms 13 802 2m9s 161ms 14 362 55s126ms 152ms 15 263 38s562ms 146ms 16 357 53s804ms 150ms 17 219 33s198ms 151ms 18 153 25s821ms 168ms 19 135 22s436ms 166ms 20 121 17s938ms 148ms 21 71 9s973ms 140ms 22 14 1s899ms 135ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 60)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-11 11:09:04 Duration: 1s256ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 73)) 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-02-11 12:54:23 Duration: 1s218ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 17)) 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-02-11 11:07:21 Duration: 1s218ms
19 19m56s 18,490 49ms 390ms 64ms 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 #19
Day Hour Count Duration Avg duration Feb 11 05 1 68ms 68ms 06 5 285ms 57ms 07 8 453ms 56ms 08 100 5s923ms 59ms 09 313 19s601ms 62ms 10 649 42s960ms 66ms 11 750 1m22s 110ms 12 694 50s935ms 73ms 13 413 28s7ms 67ms 14 525 32s291ms 61ms 15 5,210 5m19s 61ms 16 3,794 4m1s 63ms 17 3,722 3m50s 62ms 18 2,250 2m19s 61ms 20 37 2s285ms 61ms 21 19 1s158ms 60ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5262658) AND ("collection_policy"."state" = 'confirm')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:07:48 Duration: 390ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5227099) AND ("collection_policy"."state" = 'confirm')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (7)))) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:14:42 Duration: 387ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5205316) AND ("collection_policy"."state" = 'confirm')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (28)))) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:08:34 Duration: 387ms
20 15m21s 152 332ms 2m17s 6s63ms 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 #20
Day Hour Count Duration Avg duration Feb 11 01 47 4m6s 5s235ms 08 4 14s269ms 3s567ms 09 15 1m18s 5s248ms 10 4 18s164ms 4s541ms 13 12 1m5s 5s469ms 14 3 9s285ms 3s95ms 15 21 4m50s 13s819ms 16 9 45s254ms 5s28ms 17 6 9s671ms 1s611ms 18 11 45s233ms 4s112ms 19 15 1m23s 5s583ms 21 5 15s430ms 3s86ms -
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 '%3%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-11 15:56:22 Duration: 2m17s
-
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 '%35%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-11 15:55:14 Duration: 1m7s
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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 '%9626528%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-11 19:49:18 Duration: 12s663ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,410,770 2m28s 0ms 2ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 11 00 42,106 2s102ms 0ms 01 40,204 1s971ms 0ms 02 41,275 2s145ms 0ms 03 40,097 2s85ms 0ms 04 38,508 2s98ms 0ms 05 37,802 1s910ms 0ms 06 34,550 1s717ms 0ms 07 31,386 1s644ms 0ms 08 67,872 3s779ms 0ms 09 132,605 7s726ms 0ms 10 194,830 12s337ms 0ms 11 224,235 16s561ms 0ms 12 218,440 14s974ms 0ms 13 197,024 13s213ms 0ms 14 175,661 11s128ms 0ms 15 178,196 11s208ms 0ms 16 180,901 11s718ms 0ms 17 140,613 7s957ms 0ms 18 125,062 7s692ms 0ms 19 104,177 6s380ms 0ms 20 79,494 3s896ms 0ms 21 56,198 2s865ms 0ms 22 29,534 1s461ms 0ms -
DISCARD ALL;
Date: 2025-02-11 13:55:57 Duration: 2ms
-
DISCARD ALL;
Date: 2025-02-11 13:56:11 Duration: 2ms
-
DISCARD ALL;
Date: 2025-02-11 15:13:01 Duration: 2ms
2 1,836,802 33s113ms 0ms 2ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 11 00 27,692 488ms 0ms 01 26,184 447ms 0ms 02 27,603 481ms 0ms 03 27,427 475ms 0ms 04 25,972 475ms 0ms 05 25,477 435ms 0ms 06 25,450 413ms 0ms 07 23,049 386ms 0ms 08 52,249 847ms 0ms 09 103,189 1s732ms 0ms 10 154,676 2s676ms 0ms 11 179,077 4s146ms 0ms 12 172,145 3s288ms 0ms 13 152,370 2s740ms 0ms 14 133,142 2s194ms 0ms 15 135,096 2s182ms 0ms 16 136,832 2s319ms 0ms 17 108,006 1s790ms 0ms 18 96,488 1s817ms 0ms 19 79,542 1s623ms 0ms 20 61,476 1s75ms 0ms 21 42,196 712ms 0ms 22 21,464 364ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-11 11:13:46 Duration: 2ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-11 12:09:27 Duration: 2ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-02-11 14:04:33 Duration: 1ms
3 1,223,788 14s352ms 0ms 1ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 11 00 21,755 215ms 0ms 01 20,729 199ms 0ms 02 21,215 209ms 0ms 03 20,618 207ms 0ms 04 19,805 204ms 0ms 05 19,522 189ms 0ms 06 17,852 171ms 0ms 07 16,268 159ms 0ms 08 34,757 356ms 0ms 09 67,357 747ms 0ms 10 98,470 1s160ms 0ms 11 113,177 1s672ms 0ms 12 110,812 1s423ms 0ms 13 99,575 1s211ms 0ms 14 88,706 996ms 0ms 15 90,000 990ms 0ms 16 91,268 1s51ms 0ms 17 71,137 813ms 0ms 18 63,398 746ms 0ms 19 52,841 678ms 0ms 20 40,539 486ms 0ms 21 28,776 300ms 0ms 22 15,211 158ms 0ms -
ROLLBACK;
Date: 2025-02-11 11:37:26 Duration: 1ms
-
ROLLBACK;
Date: 2025-02-11 15:55:33 Duration: 0ms
-
ROLLBACK;
Date: 2025-02-11 14:46:49 Duration: 0ms
4 1,216,525 4m19s 0ms 27ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 11 00 21,138 4s408ms 0ms 01 20,146 4s57ms 0ms 02 20,728 4s344ms 0ms 03 20,053 4s204ms 0ms 04 19,236 4s264ms 0ms 05 18,950 3s817ms 0ms 06 17,315 3s228ms 0ms 07 15,715 3s17ms 0ms 08 34,285 6s777ms 0ms 09 67,121 13s863ms 0ms 10 98,673 20s661ms 0ms 11 113,332 27s994ms 0ms 12 110,593 24s266ms 0ms 13 99,947 21s282ms 0ms 14 88,561 17s483ms 0ms 15 89,917 17s400ms 0ms 16 91,211 18s577ms 0ms 17 70,808 14s940ms 0ms 18 63,030 14s13ms 0ms 19 52,534 12s830ms 0ms 20 40,076 9s274ms 0ms 21 28,334 5s857ms 0ms 22 14,822 2s956ms 0ms -
SELECT payload FROM http_sessions WHERE sid = 'daa4cf77c92e5bc97a0f4c06689dda931aa85bdd';
Date: 2025-02-11 19:03:21 Duration: 27ms
-
SELECT payload FROM http_sessions WHERE sid = '8b98ff37941f997581b6cb49852961e072e2a51c';
Date: 2025-02-11 19:59:12 Duration: 18ms
-
SELECT payload FROM http_sessions WHERE sid = '36b51a3f02cd3e3d51b381cffc3c9ac62bbb2908';
Date: 2025-02-11 11:09:33 Duration: 18ms
5 1,205,209 2m 0ms 1ms 0ms select base_registry_signaling.last_value, base_cache_signaling.last_value from base_registry_signaling, base_cache_signaling;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 11 00 21,093 1s942ms 0ms 01 20,152 1s802ms 0ms 02 20,695 1s912ms 0ms 03 20,097 1s835ms 0ms 04 19,301 1s876ms 0ms 05 18,933 1s688ms 0ms 06 17,322 1s537ms 0ms 07 15,738 1s438ms 0ms 08 33,879 3s122ms 0ms 09 66,208 6s320ms 0ms 10 97,346 9s567ms 0ms 11 112,088 13s64ms 0ms 12 109,063 11s380ms 0ms 13 98,424 9s860ms 0ms 14 87,797 8s305ms 0ms 15 89,068 8s260ms 0ms 16 90,431 8s734ms 0ms 17 70,288 7s113ms 0ms 18 62,525 6s662ms 0ms 19 52,070 5s867ms 0ms 20 39,754 4s31ms 0ms 21 28,129 2s578ms 0ms 22 14,808 1s344ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-11 14:01:53 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-11 16:46:18 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-02-11 11:59:47 Duration: 1ms
6 612,987 1m50s 0ms 60ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 11 00 5,940 1s96ms 0ms 01 5,449 947ms 0ms 02 6,393 1s192ms 0ms 03 6,803 1s276ms 0ms 04 6,172 1s502ms 0ms 05 5,954 1s165ms 0ms 06 7,600 1s52ms 0ms 07 6,779 928ms 0ms 08 17,492 2s356ms 0ms 09 35,825 5s446ms 0ms 10 56,205 10s908ms 0ms 11 65,904 14s452ms 0ms 12 61,330 11s574ms 0ms 13 52,802 9s426ms 0ms 14 44,438 7s317ms 0ms 15 45,090 7s40ms 0ms 16 45,563 7s207ms 0ms 17 36,869 6s97ms 0ms 18 33,083 5s932ms 0ms 19 26,688 5s676ms 0ms 20 20,935 4s313ms 0ms 21 13,422 2s279ms 0ms 22 6,251 1s152ms 0ms -
COMMIT;
Date: 2025-02-11 10:21:57 Duration: 60ms
-
COMMIT;
Date: 2025-02-11 10:21:57 Duration: 58ms
-
COMMIT;
Date: 2025-02-11 10:21:58 Duration: 55ms
7 515,314 1m23s 0ms 8ms 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 Feb 11 00 6,574 852ms 0ms 01 5,213 684ms 0ms 02 5,426 737ms 0ms 03 6,945 970ms 0ms 04 4,872 670ms 0ms 05 4,132 645ms 0ms 06 8,065 1s199ms 0ms 07 6,761 959ms 0ms 08 13,739 1s907ms 0ms 09 29,908 4s489ms 0ms 10 48,262 7s503ms 0ms 11 55,586 12s913ms 0ms 12 50,144 9s137ms 0ms 13 42,231 7s122ms 0ms 14 35,824 5s436ms 0ms 15 35,776 4s921ms 0ms 16 36,612 5s453ms 0ms 17 30,851 4s461ms 0ms 18 26,542 4s146ms 0ms 19 23,528 3s961ms 0ms 20 19,209 2s784ms 0ms 21 12,469 1s465ms 0ms 22 6,645 693ms 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 (5099006, 5099243, 5107177, 5099206, 5099264, 5099009, 5099013, 5148958, 5103942, 5099137, 5103199, 5341437, 5104782, 5188845, 5194541, 5099010, 5482846, 5100514, 5100431, 5100662, 5099540, 5099007, 5100700, 5438008, 5122153, 5107730, 5099130, 5099090, 5099119, 5099941, 5100204, 5510333, 5108860, 5125438, 5099035, 5099404, 5099958, 5099582, 5099236, 5510432, 5100163, 5510771, 5099011, 5252600, 5114897, 5110452, 5125429, 5099144, 5100411, 5101313, 5100233, 5114787, 5101631, 5357074, 5100539, 5099867, 5114025, 5102557, 5101119, 5132233, 5128922, 5099028, 5099919, 5099242, 5099802, 5099045, 5103082, 5100901, 5099875, 5099254, 5099272, 5100762, 5101137, 5099300, 5100052, 5099187, 5212937, 5099159, 5132841, 5099008, 5507275, 5099296, 5103770, 5099321, 5099190, 5099102, 5099427, 5109347, 5099244, 5100004, 5220447, 5105765, 5099590, 5099140, 5110304, 5099258, 5099105, 5509315, 5099138, 5100919, 5103001, 5253555, 5099128, 5099095, 5099646, 5213663, 5133355, 5100742, 5100836, 5454178, 5103356, 5099169, 5103304, 5099129, 5100655, 5100232, 5099426, 5099403, 5099158, 5243943, 5240798, 5099413, 5102976, 5099831, 5099148, 5099671, 5102347);
Date: 2025-02-11 17:21:56 Duration: 8ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5107346, 5099546, 5099103, 5099719, 5121121, 5099848, 5100579, 5098996, 5103369, 5102340, 5406358, 5099191, 5099995, 5405539, 5107158, 5118920, 5099693, 5115718, 5099456, 5100112, 5101787, 5117821, 5101174, 5108465, 5130562, 5107523, 5269635, 5104013, 5099942, 5101794, 5099317, 5103654, 5099445, 5099677, 5140572, 5099141, 5381231, 5105204, 5099331, 5101250, 5107075, 5107494, 5504301, 5101642, 5101387, 5505893, 5169417, 5120461, 5509393, 5177456, 5100854, 5099947, 5287740, 5099204, 5217267, 5102339, 5103363, 5099782, 5099333, 5101193, 5119309, 5100596, 5102190, 5129828, 5109768, 5099749, 5101817, 5099133, 5099501, 5102655, 5099387, 5099793, 5503405, 5099202, 5102870, 5099806, 5100246, 5102661, 5105206, 5132434, 5100833, 5099014, 5099263, 5112252, 5102921, 5105755, 5218862, 5099627, 5100150, 5099181, 5099570, 5217586, 5113786, 5509579, 5121740, 5356443, 5100638, 5100016, 5116012, 5104075, 5504991, 5099092, 5471600, 5324893, 5099177, 5101235, 5101085, 5506581, 5100804, 5132731, 5507915, 5099260, 5099246, 5212557, 5100386, 5099389, 5134772, 5103583, 5270904, 5101438, 5106865, 5493225, 5099305, 5111959, 5114131, 5099120, 5099173, 5099725, 5099364, 5123170);
Date: 2025-02-11 17:21:56 Duration: 6ms
-
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 (5165088, 5101036, 5411501, 5156833, 5101642, 5099236, 5100207, 5104075, 5099007, 5099009, 5192459, 5099263, 5263614, 5099144, 5512386, 5099403, 5100061, 5105173, 5100619, 5100762, 5099010, 5099768, 5287348, 5511182, 5509379, 5099095, 5511666, 5100448, 5112378, 5102523, 5100166, 5104199, 5164695, 5101516);
Date: 2025-02-11 17:21:55 Duration: 5ms
8 508,305 40s531ms 0ms 2ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."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 Feb 11 00 4,532 308ms 0ms 01 3,784 253ms 0ms 02 4,801 330ms 0ms 03 4,792 338ms 0ms 04 3,289 235ms 0ms 05 3,452 234ms 0ms 06 6,952 386ms 0ms 07 6,102 360ms 0ms 08 14,032 887ms 0ms 09 28,373 2s72ms 0ms 10 47,439 3s563ms 0ms 11 55,198 6s278ms 0ms 12 50,802 4s538ms 0ms 13 43,588 3s616ms 0ms 14 36,361 2s739ms 0ms 15 37,204 2s491ms 0ms 16 38,036 2s674ms 0ms 17 31,930 2s269ms 0ms 18 27,793 2s72ms 0ms 19 23,765 2s171ms 0ms 20 18,365 1s532ms 0ms 21 11,894 782ms 0ms 22 5,821 392ms 0ms -
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (70, 17);
Date: 2025-02-11 10:55:04 Duration: 2ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."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 (22, 26);
Date: 2025-02-11 11:02:15 Duration: 2ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."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 (78);
Date: 2025-02-11 12:57:57 Duration: 2ms
9 344,441 1m12s 0ms 3ms 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 Feb 11 00 3,002 572ms 0ms 01 2,291 469ms 0ms 02 2,886 572ms 0ms 03 2,822 589ms 0ms 04 2,171 466ms 0ms 05 2,734 484ms 0ms 06 4,160 736ms 0ms 07 3,802 646ms 0ms 08 11,036 1s825ms 0ms 09 20,821 3s895ms 0ms 10 32,676 6s766ms 0ms 11 36,108 10s86ms 0ms 12 35,859 8s33ms 0ms 13 30,221 6s447ms 0ms 14 25,736 5s25ms 0ms 15 25,625 4s874ms 0ms 16 26,564 5s336ms 0ms 17 21,475 4s287ms 0ms 18 18,157 3s801ms 0ms 19 14,218 3s378ms 0ms 20 11,434 2s487ms 0ms 21 7,288 1s276ms 0ms 22 3,355 581ms 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 (8006317);
Date: 2025-02-11 18:57:54 Duration: 3ms
-
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 (8006453);
Date: 2025-02-11 10:36:49 Duration: 3ms
-
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 (8006458, 8007979, 8006318, 8006416, 8006936, 8006326, 8004681, 8006438);
Date: 2025-02-11 17:21:55 Duration: 3ms
10 299,812 1m52s 0ms 3ms 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 Feb 11 00 2,099 705ms 0ms 01 1,698 602ms 0ms 02 1,851 662ms 0ms 03 1,336 494ms 0ms 04 1,200 445ms 0ms 05 1,242 429ms 0ms 06 1,552 513ms 0ms 07 1,368 439ms 0ms 08 9,616 3s113ms 0ms 09 19,069 6s734ms 0ms 10 21,555 8s230ms 0ms 11 22,133 10s817ms 0ms 12 22,657 9s298ms 0ms 13 22,190 8s689ms 0ms 14 33,018 11s621ms 0ms 15 33,063 11s472ms 0ms 16 22,029 8s202ms 0ms 17 24,442 8s714ms 0ms 18 17,285 6s545ms 0ms 19 13,772 5s610ms 0ms 20 14,804 5s525ms 0ms 21 7,946 2s612ms 0ms 22 3,887 1s196ms 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 = 835) OR r.global) ORDER BY r.id;
Date: 2025-02-11 12:09:48 Duration: 3ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.lang' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1337) OR r.global) ORDER BY r.id;
Date: 2025-02-11 17:21:55 Duration: 3ms
-
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 = 955) OR r.global) ORDER BY r.id;
Date: 2025-02-11 11:17:44 Duration: 3ms
11 285,061 30s68ms 0ms 18ms 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 Feb 11 00 2,508 291ms 0ms 01 1,982 253ms 0ms 02 2,352 283ms 0ms 03 2,456 301ms 0ms 04 1,859 262ms 0ms 05 2,005 261ms 0ms 06 3,666 383ms 0ms 07 3,566 341ms 0ms 08 8,689 749ms 0ms 09 16,800 1s560ms 0ms 10 26,641 2s673ms 0ms 11 30,119 4s251ms 0ms 12 28,587 3s166ms 0ms 13 25,212 2s611ms 0ms 14 21,446 1s967ms 0ms 15 21,973 1s921ms 0ms 16 22,173 2s126ms 0ms 17 17,809 1s730ms 0ms 18 14,921 1s551ms 0ms 19 12,110 1s478ms 0ms 20 9,406 1s67ms 0ms 21 6,003 560ms 0ms 22 2,778 270ms 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 (900);
Date: 2025-02-11 13:09:58 Duration: 18ms
-
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-02-11 19:06:52 Duration: 3ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2025-02-11 19:03:09 Duration: 3ms
12 269,652 2d4h27m34s 544ms 6s259ms 700ms 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 Feb 11 00 7,633 1h20m37s 633ms 01 6,998 1h12m55s 625ms 02 8,747 1h30m50s 623ms 03 9,706 1h42m45s 635ms 04 10,652 1h51m3s 625ms 05 6,131 1h2m21s 610ms 06 5,627 57m22s 611ms 07 3,942 41m7s 625ms 08 6,333 1h3m59s 606ms 09 10,689 1h56m50s 655ms 10 15,076 2h54m8s 693ms 11 26,246 6h28m54s 889ms 12 19,082 3h56m13s 742ms 13 14,974 2h56m32s 707ms 14 9,976 1h51m12s 668ms 15 9,581 1h45m14s 659ms 16 12,846 2h27m13s 687ms 17 12,898 2h25m49s 678ms 18 13,549 2h37m16s 696ms 19 23,068 4h54m18s 765ms 20 20,757 4h8m39s 718ms 21 9,684 1h43m23s 640ms 22 5,457 58m44s 645ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5277082)) AND (("shipping_track"."id" not in (43794641, 43794641)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 19:04:35 Duration: 6s259ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5277120)) AND (("shipping_track"."id" not in (43795524, 43795524)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 19:06:00 Duration: 5s827ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5268325)) AND (("shipping_track"."id" not in (43676785, 43676785)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 11:08:51 Duration: 5s737ms
13 236,683 1m4s 0ms 18ms 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 Feb 11 00 3,721 952ms 0ms 01 2,816 719ms 0ms 02 2,440 646ms 0ms 03 3,414 919ms 0ms 04 2,387 648ms 0ms 05 1,641 490ms 0ms 06 3,303 965ms 0ms 07 3,155 777ms 0ms 08 5,498 1s295ms 0ms 09 12,130 3s163ms 0ms 10 19,671 5s139ms 0ms 11 23,080 9s192ms 0ms 12 21,735 6s165ms 0ms 13 18,815 4s911ms 0ms 14 17,237 4s67ms 0ms 15 16,318 3s567ms 0ms 16 16,907 4s58ms 0ms 17 14,874 3s799ms 0ms 18 14,142 3s873ms 0ms 19 11,888 3s386ms 0ms 20 10,382 2s934ms 0ms 21 6,974 1s594ms 0ms 22 4,155 921ms 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 (32483427, 32482077, 32407116, 32242623, 32482631, 32261612, 32362575, 32482258, 41445639, 32181926, 32406990, 32362563, 32407120, 32406984, 32242098, 32482029, 32242115, 32360952, 32361811, 32405846, 32182182, 32242630, 32482534, 32342950, 32362567, 32407119, 32261616, 32481841, 41445637, 32183120, 32360956, 32183119, 32482343, 32482346, 32360840, 32261791, 32362568, 32181914, 32182190, 41741178, 32482069, 32181830, 32406224, 32481884, 32482055, 32262552, 32181928, 32241575, 32406594, 32407131, 32482344, 32482561, 32242582, 32407050, 32181910, 32241900, 32242376, 32360951, 41960281, 41765873, 32361563, 32182185, 32360946, 32405688, 32242583, 32406991, 32242106, 32406484, 32482027, 32299947, 32299946, 32406243, 32242105, 32481998, 32482242, 32406245, 32481757, 32406955, 32482168, 32362549, 32360944, 32241571, 32242110, 32242371, 32242103, 41446640, 32405895, 32481765, 32406929, 32406713, 32406695, 32181826, 32406226, 32406696, 32406478, 32482067, 32261614, 32242109, 32242537, 32482162, 32406999, 41853635, 32482073, 41553837, 32482068, 32406433, 32242631, 32262511, 41445636, 32481831, 32181927, 32242100, 32481742, 32242111, 32361105, 32242581, 32361815, 32242344, 32406651, 32406679, 32481851, 32241572, 32361814, 32481759, 32241580, 32481842, 32261725, 41446638, 41984562, 32406157, 41984561, 32241866, 32242633, 32241886, 32241577, 32241573, 32242524, 32406692, 32406678, 32362320, 32261611, 32242632, 32481746, 32241576, 32406227, 41765890, 32481840, 41767541, 32481758, 32481843, 32406697, 32406694, 32362444, 32481834, 32481806, 32481743, 32406698, 32241581, 32242303, 32262197, 41960283, 32406294, 32182240, 32406134, 32405772, 32361100, 32362445, 32241853, 32406196, 32362105, 32241852, 32242548, 32405969, 32406228, 32241875, 32241890, 32242341, 32242044, 41984556, 32361101, 32241566, 32361106, 32406291, 32241879, 32361104, 32406161, 32241567, 32361103, 32181920, 41740933, 41984559, 32241569, 41984560, 32241562, 32406158, 32241867, 32262513, 32362106, 41960282, 32241565, 32406159, 32405854, 32262621, 32362393, 32262620, 41740934, 32362112, 32262335, 32361099, 32405729, 32361097, 32182303, 32262147, 32262632, 32362135, 32361096, 32262512, 32361959, 32262515, 32262245, 32361957, 32361432, 32262145, 32361143, 32262142, 41553836, 32262149, 32262542, 32262140, 32241003, 41553835, 32262139, 32182548, 32261379, 32182843, 32182212, 32260648, 32182218);
Date: 2025-02-11 11:39:38 Duration: 18ms
-
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 (38977445, 39590405, 39423291, 39683647, 39696416, 39598873, 39654602, 39647696, 39617052, 39589227, 39192832, 40191210, 40108107, 39884335, 40175724, 40186771, 39859506, 39859507, 40111057, 40111056, 39518126, 39479366, 40046758, 40043358, 40110389, 40039807, 40110783, 40041549, 40192259, 40061356, 39777959, 40111570, 40111573, 40111576, 40143787, 40214486, 40177120, 40178402, 39695166, 40111389, 39734056, 40182148, 40182149, 40212648, 40015391, 40003689, 40183912, 40184199, 40087124, 40114821, 40069200, 40069202, 40181640, 40093990, 39338581, 39595793, 40152145, 40145663, 40145076, 40219219, 40046761, 40046768, 40046771, 39743253, 40086050, 40168865, 40083471, 39934150, 40082844, 39736289, 40244023, 40223431, 40152709, 40090567, 40138446, 40069290, 40206141, 40189392, 40246699, 40126807, 40126799, 40246865, 39494415, 40143294, 40123539, 38629102, 39770354, 38955551, 40195429, 40195409, 38413981, 40243514, 40218676, 40192237, 40023992, 40161682, 40198447, 40177922, 39257812, 40253266);
Date: 2025-02-11 17:22:06 Duration: 17ms
-
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (32518107);
Date: 2025-02-11 11:23:12 Duration: 17ms
14 221,505 41s743ms 0ms 21ms 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 Feb 11 00 1,881 267ms 0ms 01 1,517 210ms 0ms 02 1,959 270ms 0ms 03 1,503 207ms 0ms 04 1,790 236ms 0ms 05 1,838 244ms 0ms 06 1,248 173ms 0ms 07 1,320 189ms 0ms 08 10,065 1s524ms 0ms 09 17,334 2s942ms 0ms 10 16,146 3s36ms 0ms 11 15,046 3s665ms 0ms 12 15,827 3s177ms 0ms 13 14,887 2s933ms 0ms 14 23,471 4s486ms 0ms 15 22,727 4s225ms 0ms 16 14,049 2s655ms 0ms 17 17,032 3s218ms 0ms 18 11,649 2s214ms 0ms 19 9,999 2s175ms 0ms 20 10,577 2s184ms 0ms 21 5,990 968ms 0ms 22 3,650 534ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 909 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_cash_policy' AND name = 'group_change_flag_date' AND model = 'res.groups');
Date: 2025-02-11 19:59:12 Duration: 21ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1083 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_track_search' AND name = 'group_search_training_shipping' AND model = 'res.groups');
Date: 2025-02-11 16:08:06 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1289 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_cash_policy' AND name = 'active_unactive_policy' AND model = 'res.groups');
Date: 2025-02-11 19:02:19 Duration: 1ms
15 173,680 19s516ms 0ms 1ms 0ms select "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" from "notebook_package" where "notebook_package".id in (...);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 11 00 1,598 216ms 0ms 01 1,404 191ms 0ms 02 1,694 237ms 0ms 03 1,885 265ms 0ms 04 1,291 198ms 0ms 05 1,340 199ms 0ms 06 2,684 351ms 0ms 07 2,113 287ms 0ms 08 4,946 703ms 0ms 09 10,386 1s647ms 0ms 10 17,086 1s521ms 0ms 11 19,787 2s807ms 0ms 12 17,932 2s117ms 0ms 13 15,155 1s819ms 0ms 14 12,968 1s470ms 0ms 15 12,707 878ms 0ms 16 12,383 1s15ms 0ms 17 10,270 919ms 0ms 18 8,519 931ms 0ms 19 7,260 913ms 0ms 20 5,328 474ms 0ms 21 3,351 236ms 0ms 22 1,593 110ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2025-02-11 13:57:43 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2, 2414);
Date: 2025-02-11 11:15:50 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2, 2414);
Date: 2025-02-11 13:31:33 Duration: 1ms
16 156,172 1m33s 0ms 30ms 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 Feb 11 00 316 247ms 0ms 01 183 118ms 0ms 02 245 158ms 0ms 03 204 138ms 0ms 04 220 143ms 0ms 05 179 113ms 0ms 06 472 196ms 0ms 07 1,292 703ms 0ms 08 2,586 1s498ms 0ms 09 6,463 3s718ms 0ms 10 9,253 5s586ms 0ms 11 13,614 10s565ms 0ms 12 12,251 8s403ms 0ms 13 13,322 8s280ms 0ms 14 11,938 6s927ms 0ms 15 9,807 5s647ms 0ms 16 8,773 5s175ms 0ms 17 11,380 6s257ms 0ms 18 14,496 7s794ms 0ms 19 22,686 12s758ms 0ms 20 14,153 7s877ms 0ms 21 1,594 945ms 0ms 22 745 476ms 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 (5000089, 5083826, 5090380, 5123881, 5150657, 5168543, 5169227, 5172589, 5206989, 5004003, 5213029, 5092473, 5131993, 5211054, 5223448, 5213035, 5202607, 5172762, 5231777, 5225923, 5156325, 5224893, 5175735, 5197384, 5187629, 5172579, 5166217, 4882059, 4990838, 5224868, 5235624, 5033331, 5212054, 5106357, 5019174, 5213147, 5211338, 5223492, 5150633, 5223390, 5213142, 5023363, 5165702, 5164315, 5228645, 5139215, 5172809, 5185824, 5186809, 5213701, 5215993, 5222625, 5223182, 5067179, 5069515, 5082434, 5094915, 5101547, 5101852, 5139947, 5172588, 5186938, 5190241, 5192460, 5192842, 5195554, 5198706, 5208228, 5214024, 5223197, 5231753, 5118006, 5118827, 5169243, 5170440, 5195873, 5212898, 5213831, 5221876, 5223167, 5194792, 5214502, 5225862, 5220838, 5074787, 5196437, 5207327, 5222033, 5228926, 5236058, 5223180, 5222541, 5167380, 5214890, 4848922, 4883796, 5031897, 5046752, 5053693, 5090587, 5096042, 5098052, 5099334, 5101798, 5101808, 5107211, 5116735, 5122014, 5124936, 5139372, 5139433, 5140006, 5151161, 5151764, 5153172, 5154323, 5155063, 5156125, 5159815, 5160331, 5164353, 5166792, 5168850, 5170741, 5170814, 5171886, 5172148, 5173177, 5175787, 5186119, 5186656, 5186813, 5186818, 5191137, 5192928, 5194608, 5195455, 5195970, 5201223, 5202611, 5205148, 5205151, 5185276, 5225444, 5124207, 5051372, 5086294, 5090740, 5093780, 5095412, 5096900, 5097695, 5101527, 5119773, 5128986, 5132737, 5132956, 5135127, 5142427, 5155059, 5047108, 5117996, 5230519, 5231766, 5236180, 5150947, 5226085, 5229776, 5224291, 5191462, 5225786, 5187308, 5169172, 5154868, 5100407, 5121698, 5155314, 5209019, 5170848, 5171871, 5225316, 5211758, 4848532, 4845087, 4994158, 5212867, 4152865, 4209167, 4267047, 5029714, 5083798, 5092287);
Date: 2025-02-11 17:21:56 Duration: 30ms
-
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 (2971607, 2724906, 3709630, 4287621, 2465845, 2595871, 2511036, 2049973, 2290523, 3109193, 2550760, 3389401, 3985863, 5141063, 3220974, 4686578, 2772688, 1177709, 2421435, 5140950, 2343609, 4551838, 5144948, 3174677, 3592161, 2275580, 5208143, 4114690, 1210318, 3039727, 2261661, 3063874, 4218654, 2592719, 2957791, 1516806, 3997457, 2489828, 1624993, 4763945, 4811744, 1669438, 4830545, 3351664, 3702036, 1716023, 2275585, 3173288, 4028459, 4610439, 3746900, 5143433, 4470145, 1227776, 3434021, 3592141, 1790973, 3064579, 3157927, 4551837, 2614919, 3873378, 4052623, 3584976, 4382036, 1858246, 2371680, 4023308, 4529454, 1625295, 3884601, 3532982, 2366188, 2375568, 3584953, 2986604, 3167672, 2489536, 2296634, 1401428, 1807751, 3584962, 5040910, 5008948, 1780347, 3595185, 4430206, 4421214, 3873199, 4238747, 3595248, 5140956, 4367508, 907028, 1804568, 4541333, 4871873, 3023779, 3195240, 3281508, 5020536, 2327151, 4680226, 1084436, 2489200, 3863617, 4737085, 5020538, 4626323, 3618156, 2010368, 3533911, 2282141, 3540031, 2822674, 3873432, 1966282, 3171131, 1983793, 3183930, 1440096, 1329321, 2473068, 3710578, 2933927, 5003983, 1329319, 4830561, 3733670, 4448062, 4873029, 4510073, 1244493, 1416861, 1540577, 5209584, 2546812, 5156895, 4508227, 4518812, 3960186, 3077903, 1416807, 3535891, 5003982, 5040959, 2685760, 1790282, 2328721, 3275820, 3210196, 5209586, 4238752, 4520754, 2244588, 4238745, 3118347, 5209605, 4275884, 4343414, 916939, 2023837, 3374878, 5209590, 3892906, 4686564, 2371665, 3756198, 4258676, 4172749, 2004006, 2247802, 3483055, 4936303, 4430204, 4238735, 3806129, 4226530, 4218478, 1284838, 4590633, 4980941, 2210872, 1567086, 3699026, 4259030, 2682443, 2023956, 2078275, 3222893, 3813778, 1111080, 3521174, 3624694, 4686609, 3634842, 2933903, 1778130, 996751, 4442234);
Date: 2025-02-11 17:22:10 Duration: 18ms
-
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 (5163916, 5163910, 5115199, 4988501, 4988479, 5081326, 4988451, 4988462, 4988549, 5115179, 4988404, 5081778, 5081336, 5081319, 4989898, 5115209, 5081349, 5115221, 5083631, 5148871, 5081338, 5115201, 4988401, 4945051, 5081358, 4988463, 4958435, 4988793, 5081410, 4597661, 5115215, 5115504, 5074846, 4910694, 5081720, 4992497, 5081772, 5081333, 5115245, 5121122, 5163911, 4995416, 4988439, 4988481, 4988466, 4988441, 5115208, 5163606, 4989163, 4988502, 4745820, 4988775, 4957538, 5115200, 4988527, 4988530, 5163444, 4988782, 4988440, 4787551, 4988508, 5115205, 5081307, 5163912, 4944608, 4945042, 4988459, 5115178, 5115206, 4787449, 5081347, 5083632, 5115176, 4992501, 4988450, 4745835, 4597622, 4958461, 5163523, 4910760, 4745983, 4988787, 4745982, 4958405, 4944596, 5148861, 4762306);
Date: 2025-02-11 17:21:56 Duration: 14ms
17 154,049 2h26m56s 41ms 497ms 57ms 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 Feb 11 00 3,569 2m57s 49ms 01 1,854 1m33s 50ms 02 3,797 3m14s 51ms 03 3,428 2m55s 51ms 04 3,655 3m7s 51ms 05 1,190 1m 50ms 06 1,762 1m28s 50ms 07 1,950 1m37s 50ms 08 3,122 2m38s 50ms 09 7,352 6m40s 54ms 10 10,986 10m21s 56ms 11 19,005 23m11s 73ms 12 16,030 16m16s 60ms 13 12,785 12m18s 57ms 14 8,490 7m46s 54ms 15 7,283 6m29s 53ms 16 8,448 7m50s 55ms 17 7,564 6m47s 53ms 18 8,558 7m43s 54ms 19 7,524 7m33s 60ms 20 6,693 6m 53ms 21 6,079 5m 49ms 22 2,925 2m22s 48ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5197077, 5159497, 5155073, 5138280, 5092105, 5084871, 5067866, 4808196)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-11 11:14:45 Duration: 497ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5234204, 5214157, 5184329, 5167616, 5165478, 5044477, 5013407)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-11 11:03:22 Duration: 470ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5230086, 5230084, 5229568, 5218081, 5218005, 5209829)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-11 11:09:32 Duration: 444ms
18 143,640 50s380ms 0ms 1ms 0ms select "price_list".id from "price_list" where (("price_list"."from_office_id" = ?) and ("price_list"."to_office_id" = ?)) order by "price_list"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 11 00 9,390 2s758ms 0ms 01 7,199 2s383ms 0ms 02 4,976 1s867ms 0ms 03 8,519 2s933ms 0ms 04 7,345 2s743ms 0ms 05 3,387 1s479ms 0ms 06 3,449 1s314ms 0ms 07 4,200 1s264ms 0ms 08 1,458 724ms 0ms 09 954 430ms 0ms 10 2,110 967ms 0ms 11 3,896 2s693ms 0ms 12 1,791 870ms 0ms 13 1,713 607ms 0ms 14 2,267 800ms 0ms 15 4,644 1s523ms 0ms 16 6,050 2s102ms 0ms 17 8,825 2s870ms 0ms 18 10,629 3s763ms 0ms 19 11,796 4s464ms 0ms 20 16,571 5s564ms 0ms 21 12,754 3s579ms 0ms 22 9,717 2s672ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 17) AND ("price_list"."to_office_id" = 2)) ORDER BY "price_list"."id";
Date: 2025-02-11 03:47:22 Duration: 1ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 11) AND ("price_list"."to_office_id" = 24)) ORDER BY "price_list"."id";
Date: 2025-02-11 17:22:09 Duration: 1ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 17) AND ("price_list"."to_office_id" = 7)) ORDER BY "price_list"."id";
Date: 2025-02-11 15:59:14 Duration: 1ms
19 140,010 12h26m57s 244ms 2s612ms 320ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 11 00 2,133 9m22s 263ms 01 2,194 9m34s 261ms 02 2,406 10m42s 267ms 03 2,250 10m 266ms 04 4,134 18m24s 267ms 05 3,665 16m5s 263ms 06 1,287 5m37s 262ms 07 1,794 7m51s 262ms 08 2,860 12m38s 265ms 09 6,258 30m17s 290ms 10 7,022 34m58s 298ms 11 15,154 1h37m37s 386ms 12 8,087 45m3s 334ms 13 10,356 52m34s 304ms 14 9,603 46m42s 291ms 15 6,149 29m11s 284ms 16 6,098 30m19s 298ms 17 10,158 51m53s 306ms 18 18,608 1h50m24s 356ms 19 13,470 1h21m42s 363ms 20 5,768 33m20s 346ms 21 458 2m6s 275ms 22 98 27s57ms 276ms -
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" = '378165')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-11 19:04:18 Duration: 2s612ms
-
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" = '378167')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-11 19:04:20 Duration: 2s606ms
-
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" = '218096')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-11 11:08:17 Duration: 2s471ms
20 126,424 8s223ms 0ms 2ms 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 Feb 11 00 898 46ms 0ms 01 729 38ms 0ms 02 735 39ms 0ms 03 526 28ms 0ms 04 451 24ms 0ms 05 516 26ms 0ms 06 596 30ms 0ms 07 641 31ms 0ms 08 4,265 231ms 0ms 09 8,651 517ms 0ms 10 9,001 591ms 0ms 11 8,587 758ms 0ms 12 9,062 639ms 0ms 13 8,809 587ms 0ms 14 14,194 884ms 0ms 15 14,391 867ms 0ms 16 9,206 582ms 0ms 17 10,516 674ms 0ms 18 7,198 466ms 0ms 19 5,804 428ms 0ms 20 6,396 441ms 0ms 21 3,460 192ms 0ms 22 1,792 92ms 0ms -
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (98, 99);
Date: 2025-02-11 10:23:55 Duration: 2ms
-
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 (97);
Date: 2025-02-11 12:30:36 Duration: 0ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (17);
Date: 2025-02-11 10:39:48 Duration: 0ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 332ms 2m17s 6s63ms 152 15m21s 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 #1
Day Hour Count Duration Avg duration Feb 11 01 47 4m6s 5s235ms 08 4 14s269ms 3s567ms 09 15 1m18s 5s248ms 10 4 18s164ms 4s541ms 13 12 1m5s 5s469ms 14 3 9s285ms 3s95ms 15 21 4m50s 13s819ms 16 9 45s254ms 5s28ms 17 6 9s671ms 1s611ms 18 11 45s233ms 4s112ms 19 15 1m23s 5s583ms 21 5 15s430ms 3s86ms -
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 '%3%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-11 15:56:22 Duration: 2m17s
-
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 '%35%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-11 15:55:14 Duration: 1m7s
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (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 '%9626528%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-11 19:49:18 Duration: 12s663ms
2 2s925ms 7s763ms 3s747ms 416 25m58s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 11 01 31 1m34s 3s34ms 08 2 6s51ms 3s25ms 09 12 46s560ms 3s880ms 10 2 6s769ms 3s384ms 11 90 6m40s 4s446ms 12 33 2m16s 4s123ms 13 30 1m46s 3s558ms 14 10 35s73ms 3s507ms 15 17 58s637ms 3s449ms 16 18 1m7s 3s752ms 17 35 2m2s 3s509ms 18 48 2m45s 3s453ms 19 24 1m33s 3s893ms 20 32 1m56s 3s650ms 21 31 1m38s 3s191ms 22 1 3s240ms 3s240ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (126))))))) 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 (126)))))) 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 (126)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (126)))))) 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 (126))))))))) 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 (126)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-11 11:09:26 Duration: 7s763ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (126))))))) 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 (126)))))) 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 (126)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (126)))))) 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 (126))))))))) 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 (126)))))))) AND ("policy_number"."name"::text ilike '%9090046%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-11 11:09:31 Duration: 7s405ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (126))))))) 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 (126)))))) 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 (126)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (126)))))) 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 (126))))))))) 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 (126)))))))) AND ("policy_number"."name"::text ilike '%909004%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2025-02-11 11:09:29 Duration: 7s329ms
3 111ms 5s103ms 1s500ms 2,358 58m59s 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 #3
Day Hour Count Duration Avg duration Feb 11 01 1 150ms 150ms 07 3 2s732ms 910ms 08 27 34s944ms 1s294ms 09 118 2m18s 1s170ms 10 160 3m42s 1s389ms 11 259 7m32s 1s748ms 12 296 7m10s 1s454ms 13 300 8m6s 1s620ms 14 255 5m44s 1s350ms 15 231 5m41s 1s477ms 16 249 6m32s 1s577ms 17 139 2m47s 1s201ms 18 99 2m43s 1s655ms 19 93 2m40s 1s720ms 20 52 1m35s 1s826ms 21 63 1m36s 1s535ms 22 13 10s106ms 777ms -
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 (46)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (46))))) 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-02-11 11:15:46 Duration: 5s103ms
-
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 (29)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (29))))) 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-02-11 11:02:35 Duration: 4s699ms
-
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 (46)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (46))))) 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-02-11 11:10:11 Duration: 4s519ms
4 834ms 2s913ms 1s233ms 19,054 6h31m48s 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 Feb 11 00 1,008 19m37s 1s167ms 01 599 11m21s 1s137ms 02 430 8m4s 1s127ms 03 1,276 24m41s 1s161ms 04 868 17m14s 1s191ms 05 266 5m6s 1s150ms 06 459 8m27s 1s106ms 07 897 16m44s 1s119ms 08 14 16s747ms 1s196ms 09 87 1m44s 1s197ms 10 124 2m45s 1s331ms 11 150 4m8s 1s657ms 12 100 2m20s 1s400ms 13 278 5m47s 1s248ms 14 216 4m31s 1s255ms 15 681 13m11s 1s162ms 16 942 19m5s 1s216ms 17 1,338 27m5s 1s214ms 18 1,266 28m20s 1s342ms 19 2,030 46m53s 1s385ms 20 2,285 50m20s 1s321ms 21 1,929 37m53s 1s178ms 22 1,811 36m6s 1s196ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '353947')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-11 19:04:18 Duration: 2s913ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '386268')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-11 19:03:56 Duration: 2s836ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '216186')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2025-02-11 18:57:51 Duration: 2s805ms
5 237ms 2s654ms 1s160ms 11,327 3h39m9s 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 Feb 11 00 1,118 19m45s 1s60ms 01 735 11m48s 963ms 02 306 4m42s 921ms 03 255 4m21s 1s24ms 04 224 4m25s 1s186ms 06 1 1s76ms 1s76ms 08 5 5s923ms 1s184ms 09 3 2s678ms 892ms 10 159 3m16s 1s232ms 11 15 22s410ms 1s494ms 12 142 3m9s 1s333ms 13 133 2m58s 1s341ms 14 281 5m40s 1s212ms 15 422 7m40s 1s91ms 16 491 10m1s 1s224ms 17 892 17m17s 1s163ms 18 1,425 29m57s 1s261ms 19 925 20m51s 1s352ms 20 1,877 38m2s 1s216ms 21 1,278 23m28s 1s102ms 22 640 11m10s 1s47ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '266927')) 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 (22))))))) 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 (22)))))) 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 (22)))))) 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 (22))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-11 18:56:35 Duration: 2s654ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '244707')) 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 (77))))))) 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 (77)))))) 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 (77)))))) 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 (77))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-11 20:08:20 Duration: 2s582ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '317447')) 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 (53))))))) 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 (53)))))) 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 (53)))))) 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 (53))))))))) ORDER BY "policy_number"."id";
Date: 2025-02-11 19:09:07 Duration: 2s561ms
6 551ms 6s866ms 725ms 45,102 9h5m31s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 11 00 126 1m26s 690ms 01 152 1m45s 693ms 02 437 4m49s 662ms 03 191 2m18s 725ms 04 192 2m18s 719ms 05 287 3m8s 656ms 06 485 4m59s 617ms 07 239 2m32s 637ms 08 1,175 12m14s 624ms 09 3,134 34m52s 667ms 10 4,407 51m24s 699ms 11 3,882 1h4m54s 1s3ms 12 4,930 1h3m22s 771ms 13 3,938 47m59s 731ms 14 2,279 25m57s 683ms 15 2,643 29m16s 664ms 16 4,459 50m45s 683ms 17 3,523 39m35s 674ms 18 2,298 26m40s 696ms 19 2,962 38m 769ms 20 1,824 21m16s 699ms 21 1,172 12m6s 619ms 22 367 3m47s 619ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5245936, 5245915, 5245647, 5245599, 5245472, 5245279, 5245267)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 11:10:21 Duration: 6s866ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5249678, 5228542, 5225333, 5223392, 5214339, 5212189)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 11:10:17 Duration: 6s338ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5234204, 5226494, 5214245, 5214157, 5210379, 5208348, 5202382, 5199235, 5186837, 5185274, 5184329, 5184069, 5167616, 5166920, 5165478, 5149944, 5137200, 5044477, 5013407)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 11:13:43 Duration: 6s196ms
7 544ms 6s259ms 700ms 269,652 2d4h27m34s select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 11 00 7,633 1h20m37s 633ms 01 6,998 1h12m55s 625ms 02 8,747 1h30m50s 623ms 03 9,706 1h42m45s 635ms 04 10,652 1h51m3s 625ms 05 6,131 1h2m21s 610ms 06 5,627 57m22s 611ms 07 3,942 41m7s 625ms 08 6,333 1h3m59s 606ms 09 10,689 1h56m50s 655ms 10 15,076 2h54m8s 693ms 11 26,246 6h28m54s 889ms 12 19,082 3h56m13s 742ms 13 14,974 2h56m32s 707ms 14 9,976 1h51m12s 668ms 15 9,581 1h45m14s 659ms 16 12,846 2h27m13s 687ms 17 12,898 2h25m49s 678ms 18 13,549 2h37m16s 696ms 19 23,068 4h54m18s 765ms 20 20,757 4h8m39s 718ms 21 9,684 1h43m23s 640ms 22 5,457 58m44s 645ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5277082)) AND (("shipping_track"."id" not in (43794641, 43794641)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 19:04:35 Duration: 6s259ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5277120)) AND (("shipping_track"."id" not in (43795524, 43795524)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 19:06:00 Duration: 5s827ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5268325)) AND (("shipping_track"."id" not in (43676785, 43676785)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-02-11 11:08:51 Duration: 5s737ms
8 265ms 3s581ms 408ms 19,537 2h13m10s select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) order by "collection_policy"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 11 08 406 2m13s 329ms 09 2,522 15m42s 373ms 10 1,874 11m50s 379ms 11 4,351 35m3s 483ms 12 2,660 19m3s 429ms 13 4,158 27m6s 391ms 14 3,566 22m10s 372ms -
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" = '73473')))) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:12:15 Duration: 3s581ms
-
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" = '73470')))) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:12:12 Duration: 3s121ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."type" = 'from_receiver') AND ("collection_policy"."shipping_id" in ( SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE ("shipping_policy__policy_id"."name" = '368958')))) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:03:20 Duration: 2s671ms
9 267ms 864ms 391ms 7,536 49m8s 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 #9
Day Hour Count Duration Avg duration Feb 11 14 74 24s664ms 333ms 15 2,324 14m57s 386ms 16 2,710 17m52s 395ms 17 1,731 10m55s 378ms 18 651 4m32s 419ms 19 46 26s124ms 567ms -
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" = '323811')))) 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-02-11 16:45:12 Duration: 864ms
-
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" = '262207')))) 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-02-11 18:56:45 Duration: 760ms
-
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" = '166898')))) 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-02-11 16:45:05 Duration: 758ms
10 250ms 2s652ms 356ms 3,780 22m28s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 11 03 9 2s311ms 256ms 05 149 39s332ms 263ms 06 255 1m6s 261ms 07 824 3m36s 262ms 10 527 2m42s 308ms 11 1,964 14m6s 431ms 15 52 14s531ms 279ms -
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" = '242985')) 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-02-11 11:05:33 Duration: 2s652ms
-
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" = '391282')) 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-02-11 11:08:19 Duration: 2s524ms
-
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" = '173401')) 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-02-11 11:02:47 Duration: 2s389ms
11 244ms 2s612ms 320ms 140,010 12h26m57s 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 Feb 11 00 2,133 9m22s 263ms 01 2,194 9m34s 261ms 02 2,406 10m42s 267ms 03 2,250 10m 266ms 04 4,134 18m24s 267ms 05 3,665 16m5s 263ms 06 1,287 5m37s 262ms 07 1,794 7m51s 262ms 08 2,860 12m38s 265ms 09 6,258 30m17s 290ms 10 7,022 34m58s 298ms 11 15,154 1h37m37s 386ms 12 8,087 45m3s 334ms 13 10,356 52m34s 304ms 14 9,603 46m42s 291ms 15 6,149 29m11s 284ms 16 6,098 30m19s 298ms 17 10,158 51m53s 306ms 18 18,608 1h50m24s 356ms 19 13,470 1h21m42s 363ms 20 5,768 33m20s 346ms 21 458 2m6s 275ms 22 98 27s57ms 276ms -
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" = '378165')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-11 19:04:18 Duration: 2s612ms
-
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" = '378167')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-11 19:04:20 Duration: 2s606ms
-
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" = '218096')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-02-11 11:08:17 Duration: 2s471ms
12 245ms 2s603ms 303ms 19,632 1h39m19s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 11 00 607 2m40s 264ms 01 401 1m45s 262ms 02 93 26s76ms 280ms 03 60 15s821ms 263ms 05 1,231 5m28s 266ms 06 486 2m8s 265ms 07 971 4m16s 264ms 08 2,149 9m30s 265ms 09 1,302 6m23s 294ms 10 2,283 11m29s 302ms 11 2,683 17m25s 389ms 12 1,870 9m58s 320ms 13 822 4m14s 309ms 14 801 3m55s 294ms 15 783 3m35s 275ms 16 714 3m36s 302ms 17 479 2m21s 295ms 18 369 2m 326ms 19 438 2m28s 338ms 20 534 2m44s 307ms 21 458 2m6s 275ms 22 98 27s125ms 276ms -
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" = '173528')) 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-02-11 11:03:30 Duration: 2s603ms
-
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" = '326003')) 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-02-11 11:14:16 Duration: 2s416ms
-
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" = '339115')) 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-02-11 11:15:20 Duration: 2s370ms
13 90ms 929ms 247ms 59,828 4h7m5s 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 #13
Day Hour Count Duration Avg duration Feb 11 00 4,200 15m47s 225ms 01 2,640 10m57s 248ms 02 1,454 5m42s 235ms 03 3,040 11m16s 222ms 04 2,170 8m17s 229ms 05 526 2m13s 253ms 06 906 3m50s 254ms 07 1,780 7m13s 243ms 08 38 7s150ms 188ms 09 172 46s339ms 269ms 10 530 2m38s 298ms 11 296 1m18s 266ms 12 466 2m8s 274ms 13 770 3m12s 250ms 14 962 4m10s 259ms 15 2,151 8m49s 246ms 16 2,815 11m50s 252ms 17 4,388 17m12s 235ms 18 5,292 23m42s 268ms 19 5,804 28m11s 291ms 20 8,242 35m15s 256ms 21 6,339 24m1s 227ms 22 4,847 18m23s 227ms -
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-02-11 20:26:39 Duration: 929ms
-
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-02-11 20:28:15 Duration: 865ms
-
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-02-11 20:28:15 Duration: 865ms
14 171ms 277ms 207ms 14,030 48m30s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 11 00 1,526 5m15s 206ms 01 1,795 5m59s 200ms 02 2,311 7m57s 206ms 03 2,170 7m36s 210ms 04 3,618 12m45s 211ms 05 2,065 7m2s 204ms 06 545 1m52s 206ms -
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '151667')) 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-02-11 02:11:55 Duration: 277ms
-
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" = '392887')) 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-02-11 02:11:55 Duration: 273ms
-
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 (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-02-11 04:31:45 Duration: 269ms
15 121ms 1s256ms 188ms 6,532 20m28s 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 #15
Day Hour Count Duration Avg duration Feb 11 00 30 3s994ms 133ms 01 8 1s82ms 135ms 02 25 3s387ms 135ms 07 5 682ms 136ms 08 20 2s707ms 135ms 09 390 55s217ms 141ms 10 1,031 2m46s 161ms 11 1,398 6m42s 287ms 12 1,128 3m24s 181ms 13 802 2m9s 161ms 14 362 55s126ms 152ms 15 263 38s562ms 146ms 16 357 53s804ms 150ms 17 219 33s198ms 151ms 18 153 25s821ms 168ms 19 135 22s436ms 166ms 20 121 17s938ms 148ms 21 71 9s973ms 140ms 22 14 1s899ms 135ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 60)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2025-02-11 11:09:04 Duration: 1s256ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 73)) 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-02-11 12:54:23 Duration: 1s218ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 17)) 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-02-11 11:07:21 Duration: 1s218ms
16 101ms 892ms 137ms 18,918 43m19s 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 Feb 11 05 33 4s119ms 124ms 06 86 10s571ms 122ms 08 178 22s151ms 124ms 09 1,076 2m17s 127ms 10 1,527 3m25s 134ms 11 1,993 5m32s 166ms 12 2,164 5m12s 144ms 13 1,571 3m41s 140ms 14 1,676 3m29s 124ms 15 1,753 3m39s 124ms 16 1,738 3m49s 131ms 17 1,420 3m5s 130ms 18 1,949 4m26s 136ms 19 1,012 2m25s 143ms 20 472 1m6s 140ms 21 207 24s942ms 120ms 22 63 7s614ms 120ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8124597)) AND (("cash_track"."id" not in (7973383)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-11 11:13:40 Duration: 892ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8108017)) AND (("cash_track"."id" not in (7851555, 7856948, 7861092, 7973351, 7973351)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-11 11:10:53 Duration: 828ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (8107063)) AND (("cash_track"."id" not in (7847985, 7854864, 7859442, 7973352, 7973352)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-02-11 11:10:54 Duration: 824ms
17 47ms 380ms 68ms 39,882 45m47s select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) order by "collection_policy"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 11 08 700 40s716ms 58ms 09 3,469 3m36s 62ms 10 3,061 3m15s 63ms 11 8,410 11m16s 80ms 12 7,062 8m25s 71ms 13 6,831 7m29s 65ms 14 5,973 6m12s 62ms 15 681 42s585ms 62ms 16 906 59s490ms 65ms 17 813 53s79ms 65ms 18 780 53s150ms 68ms 19 536 39s264ms 73ms 20 376 26s695ms 70ms 21 180 10s765ms 59ms 22 104 6s90ms 58ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5147386) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:08:48 Duration: 380ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 4826396) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:12:28 Duration: 379ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5196918) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2025-02-11 12:54:22 Duration: 378ms
18 49ms 390ms 64ms 18,490 19m56s 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 Feb 11 05 1 68ms 68ms 06 5 285ms 57ms 07 8 453ms 56ms 08 100 5s923ms 59ms 09 313 19s601ms 62ms 10 649 42s960ms 66ms 11 750 1m22s 110ms 12 694 50s935ms 73ms 13 413 28s7ms 67ms 14 525 32s291ms 61ms 15 5,210 5m19s 61ms 16 3,794 4m1s 63ms 17 3,722 3m50s 62ms 18 2,250 2m19s 61ms 20 37 2s285ms 61ms 21 19 1s158ms 60ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5262658) AND ("collection_policy"."state" = 'confirm')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (17)))) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:07:48 Duration: 390ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5227099) AND ("collection_policy"."state" = 'confirm')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (7)))) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:14:42 Duration: 387ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 5205316) AND ("collection_policy"."state" = 'confirm')) AND ("collection_policy"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (28)))) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:08:34 Duration: 387ms
19 43ms 314ms 60ms 21,393 21m24s 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 Feb 11 08 239 12s460ms 52ms 09 1,597 1m27s 54ms 10 1,405 1m21s 57ms 11 3,840 4m40s 73ms 12 3,160 3m8s 59ms 13 2,643 2m36s 59ms 14 2,823 2m38s 56ms 15 2,308 2m5s 54ms 16 1,902 1m48s 57ms 17 1,008 57s26ms 56ms 18 432 26s453ms 61ms 19 36 2s287ms 63ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5158601) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:09:29 Duration: 314ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 4778154) ORDER BY "collection_policy"."id";
Date: 2025-02-11 12:01:21 Duration: 311ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 5083281) ORDER BY "collection_policy"."id";
Date: 2025-02-11 11:09:28 Duration: 305ms
20 41ms 497ms 57ms 154,049 2h26m56s 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 Feb 11 00 3,569 2m57s 49ms 01 1,854 1m33s 50ms 02 3,797 3m14s 51ms 03 3,428 2m55s 51ms 04 3,655 3m7s 51ms 05 1,190 1m 50ms 06 1,762 1m28s 50ms 07 1,950 1m37s 50ms 08 3,122 2m38s 50ms 09 7,352 6m40s 54ms 10 10,986 10m21s 56ms 11 19,005 23m11s 73ms 12 16,030 16m16s 60ms 13 12,785 12m18s 57ms 14 8,490 7m46s 54ms 15 7,283 6m29s 53ms 16 8,448 7m50s 55ms 17 7,564 6m47s 53ms 18 8,558 7m43s 54ms 19 7,524 7m33s 60ms 20 6,693 6m 53ms 21 6,079 5m 49ms 22 2,925 2m22s 48ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5197077, 5159497, 5155073, 5138280, 5092105, 5084871, 5067866, 4808196)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-11 11:14:45 Duration: 497ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5234204, 5214157, 5184329, 5167616, 5165478, 5044477, 5013407)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-11 11:03:22 Duration: 470ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (5230086, 5230084, 5229568, 5218081, 5218005, 5209829)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-02-11 11:09:32 Duration: 444ms
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
- 17,196,937 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 30574 FATAL entries
- 303 ERROR entries
- 0 WARNING entries
- 25 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 30,327 Max number of times the same event was reported
- 30,902 Total events found
Rank Times reported Error 1 30,327 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 11 00 3 11 1,179 12 3,293 13 2,977 14 7,713 15 6,667 16 3,193 17 4,022 18 1,280 - 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-02-11 00:35:15
2 273 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 11 00 2 02 5 03 1 04 1 05 3 06 1 07 4 08 4 09 4 10 13 11 64 12 22 13 20 14 8 15 10 16 7 17 22 18 19 19 44 20 14 21 4 22 1 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: update shipping_policy set count_search=2 where id=5236976
Date: 2025-02-11 00:24:29
Statement: update shipping_policy set count_search=8 where id=5237792
Date: 2025-02-11 00:40:13
Statement: update shipping_policy set count_search=1 where id=5208650
Date: 2025-02-11 02:07:27
3 168 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #3
Day Hour Count Feb 11 17 168 - FATAL: terminating connection due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-02-11 17:20:01
4 25 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #4
Day Hour Count Feb 11 17 25 5 19 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #5
Day Hour Count Feb 11 19 9 20 10 - LOG: could not send data to client: Broken pipe
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5142271, 5230060, 5230061, 5230062, 5230063, 5230064, 5230066, 5230067, 5230068, 5230069, 5230070, 5230071, 5230072, 5230074, 5230075, 5230076, 5230080, 5230082, 5230084, 5230086, 5230088, 5230090, 5230092, 5230094, 5230096, 5230098, 5230100, 5230102, 5230104, 5230106, 5230108, 5230110, 5230112, 5230114, 5230116, 5230118, 5230124, 5230140, 5230152, 5230602, 5230605, 5230606, 5230607, 5230608, 5230609, 5230610, 5230611, 5230612, 5230613, 5230614, 5230615, 5230616, 5230617, 5230618, 5230619, 5230620, 5230621, 5230623, 5230624, 5230625, 5230626, 5230627, 5230628, 5230629, 5230630, 5230631, 5230632, 5230633, 5230634, 5230635, 5230636, 5230637, 5230638, 5230639, 5230640, 5230641, 5230642, 5230644, 5230645, 5230646, 5230647, 5230653, 5230654, 5230657, 5230658, 5230792, 5230794, 5230795, 5230796, 5230797, 5230798, 5230799, 5230804, 5230805, 5230806, 5230807, 5230808, 5230809, 5230810, 5230811, 5230812, 5230813, 5230814, 5230815, 5230816, 5230817, 5230818, 5230819, 5230820, 5230821, 5230822, 5230823, 5230824, 5230832, 5230841, 5230844, 5230846, 5230847, 5230848, 5230849, 5230850, 5230851, 5230857, 5230861, 5230872, 5230882, 5230884, 5230886, 5230888, 5230890, 5230892, 5230894, 5230896, 5230898, 5230899, 5230900, 5230901, 5230902, 5230904, 5230906, 5230907, 5230908, 5230909, 5230911, 5231050, 5231051, 5231052, 5231053, 5231054, 5231055, 5231056, 5231057, 5231058, 5231059, 5231060, 5231061, 5231062, 5231063, 5231064, 5231065, 5231066, 5231067, 5231068, 5231069, 5231070, 5231071, 5231074, 5231075, 5231076, 5231077, 5231078, 5231079, 5231080, 5231082, 5231083, 5231084, 5231085, 5231086, 5231087, 5231090, 5231091, 5231092, 5231093, 5231095, 5231096, 5231097, 5231111, 5231126, 5231130, 5231143, 5231154, 5269018)) ORDER BY "shipping_track"."id"
Date: 2025-02-11 19:50:03
6 19 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #6
Day Hour Count Feb 11 19 9 20 10 - FATAL: connection to client lost
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (5142271, 5230060, 5230061, 5230062, 5230063, 5230064, 5230066, 5230067, 5230068, 5230069, 5230070, 5230071, 5230072, 5230074, 5230075, 5230076, 5230080, 5230082, 5230084, 5230086, 5230088, 5230090, 5230092, 5230094, 5230096, 5230098, 5230100, 5230102, 5230104, 5230106, 5230108, 5230110, 5230112, 5230114, 5230116, 5230118, 5230124, 5230140, 5230152, 5230602, 5230605, 5230606, 5230607, 5230608, 5230609, 5230610, 5230611, 5230612, 5230613, 5230614, 5230615, 5230616, 5230617, 5230618, 5230619, 5230620, 5230621, 5230623, 5230624, 5230625, 5230626, 5230627, 5230628, 5230629, 5230630, 5230631, 5230632, 5230633, 5230634, 5230635, 5230636, 5230637, 5230638, 5230639, 5230640, 5230641, 5230642, 5230644, 5230645, 5230646, 5230647, 5230653, 5230654, 5230657, 5230658, 5230792, 5230794, 5230795, 5230796, 5230797, 5230798, 5230799, 5230804, 5230805, 5230806, 5230807, 5230808, 5230809, 5230810, 5230811, 5230812, 5230813, 5230814, 5230815, 5230816, 5230817, 5230818, 5230819, 5230820, 5230821, 5230822, 5230823, 5230824, 5230832, 5230841, 5230844, 5230846, 5230847, 5230848, 5230849, 5230850, 5230851, 5230857, 5230861, 5230872, 5230882, 5230884, 5230886, 5230888, 5230890, 5230892, 5230894, 5230896, 5230898, 5230899, 5230900, 5230901, 5230902, 5230904, 5230906, 5230907, 5230908, 5230909, 5230911, 5231050, 5231051, 5231052, 5231053, 5231054, 5231055, 5231056, 5231057, 5231058, 5231059, 5231060, 5231061, 5231062, 5231063, 5231064, 5231065, 5231066, 5231067, 5231068, 5231069, 5231070, 5231071, 5231074, 5231075, 5231076, 5231077, 5231078, 5231079, 5231080, 5231082, 5231083, 5231084, 5231085, 5231086, 5231087, 5231090, 5231091, 5231092, 5231093, 5231095, 5231096, 5231097, 5231111, 5231126, 5231130, 5231143, 5231154, 5269018)) ORDER BY "shipping_track"."id"
Date: 2025-02-11 19:50:03
7 16 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #7
Day Hour Count Feb 11 17 16 - 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 name from shipping_policy order by create_date desc limit 10
Date: 2025-02-11 17:20:01
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5155573)) AND (("shipping_track"."id" not in (42769813, 42770351, 42771287, 43036962, 43083461, 43083661, 43168217, 43168456, 43396314, 43396509, 43396659, 43529690, 43769477, 43769477)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-02-11 17:20:01
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5216017)) AND (("shipping_track"."id" not in (43244688, 43244885, 43245389, 43319965, 43320268, 43348427, 43348445, 43412016, 43439371, 43751389, 43767601, 43769476, 43769476)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-02-11 17:20:01
8 15 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #8
Day Hour Count Feb 11 10 1 11 4 12 1 13 3 15 1 17 3 18 2 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 760569 waits for ShareLock on transaction 9106876; blocked by process 892631. Process 892631 waits for ShareLock on transaction 9106861; blocked by process 760569. Process 760569: update shipping_policy set count_search=11 where id=5020085 Process 892631: UPDATE "shipping_policy" SET "create_cash_policy_button" = false, "delegate_id" = 8008119, "edit_cash_button" = true, "new_destination_button" = true, "out_date" = '2025-02-11', "return_button" = false, "state" = 'in_way_to_client', "write_date" = '2025-02-11 09:53:58.210362', "write_uid" = 1301 WHERE id IN (5234540, 5227478, 5222145, 5220058, 5200311, 5164283, 5158361, 5133927, 5128994, 5096345, 5055690, 5034130, 5020085, 5010118, 4993647, 4988531, 4942659, 4900086)
Context: while updating tuple (773,2) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=11 where id=5020085Date: 2025-02-11 10:54:46
Detail: Process 998371 waits for ShareLock on transaction 9108988; blocked by process 774845. Process 774845 waits for ShareLock on transaction 9108966; blocked by process 998371. Process 998371: update shipping_policy set count_search=2 where id=5256315 Process 774845: update shipping_policy set count_search=3 where id=5236339
Context: while updating tuple (29575,27) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=2 where id=5256315Date: 2025-02-11 11:15:16
Detail: Process 990581 waits for ShareLock on transaction 9108935; blocked by process 775489. Process 775489 waits for ShareLock on transaction 9109040; blocked by process 990581. Process 990581: update shipping_policy set count_search=7 where id=4603004 Process 775489: update shipping_policy set count_search=4 where id=5244653
Context: while updating tuple (1884,6) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=7 where id=4603004Date: 2025-02-11 11:15:33
9 10 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #9
Day Hour Count Feb 11 09 1 10 2 11 1 12 3 16 1 17 1 18 1 - ERROR: null value in column "name" of relation "urgent_car" 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 (929, null, null, 1092, 1092, 834, null, null, 2025-02-11 08:17:21.935252, 2025-02-11 08:17:21.935252).
Statement: INSERT INTO "urgent_car" ("car_no", "create_date", "create_uid", "write_date", "write_uid") VALUES ('834', '2025-02-11 08:17:21.935252', 1092, '2025-02-11 08:17:21.935252', 1092) RETURNING "id"Date: 2025-02-11 09:17:21
Detail: Failing row contains (5512631, null, 822, 822, null, 01003109088, null, null, t, 2025-02-11 09:04:45.882584, 2025-02-11 09:04:45.882584, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-11 09:04:45.882584', 822, '01003109088', '2025-02-11 09:04:45.882584', 822) RETURNING "id"Date: 2025-02-11 10:04:45
Detail: Failing row contains (5512635, null, 822, 822, null, 01200069902, null, null, t, 2025-02-11 09:21:06.315512, 2025-02-11 09:21:06.315512, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-02-11 09:21:06.315512', 822, '01200069902', '2025-02-11 09:21:06.315512', 822) RETURNING "id"Date: 2025-02-11 10:21:06
10 4 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #10
Day Hour Count Feb 11 17 4 11 3 FATAL: unsupported frontend protocol 1234.5632: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #11
Day Hour Count Feb 11 11 1 12 1 14 1 12 3 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #12
Day Hour Count Feb 11 19 3 13 3 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #13
Day Hour Count Feb 11 17 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 (5155573)) AND (("shipping_track"."id" not in (42769813, 42770351, 42771287, 43036962, 43083461, 43083661, 43168217, 43168456, 43396314, 43396509, 43396659, 43529690, 43769477, 43769477)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-02-11 17:20:01
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (5216017)) AND (("shipping_track"."id" not in (43244688, 43244885, 43245389, 43319965, 43320268, 43348427, 43348445, 43412016, 43439371, 43751389, 43767601, 43769476, 43769476)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-02-11 17:20:01
Context: parallel worker
Statement: SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '317397')) ORDER BY "shipping_policy"."id" DESCDate: 2025-02-11 17:20:01
14 3 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #14
Day Hour Count Feb 11 15 1 17 2 15 2 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #15
Day Hour Count Feb 11 02 1 20 1 16 2 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #16
Day Hour Count Feb 11 02 1 20 1 17 2 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #17
Day Hour Count Feb 11 02 1 20 1 18 2 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #18
Day Hour Count Feb 11 19 2 19 1 FATAL: unsupported frontend protocol 16.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #19
Day Hour Count Feb 11 03 1 20 1 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #20
Day Hour Count Feb 11 12 1 21 1 ERROR: update or delete on table "..." violates foreign key constraint "..." on table "..."
Times Reported Most Frequent Error / Event #21
Day Hour Count Feb 11 10 1 - ERROR: update or delete on table "urgent_customer" violates foreign key constraint "collection_policy_customer_id_fkey" on table "collection_policy"
Detail: Key (id)=(5100437) is still referenced from table "collection_policy".
Statement: DELETE FROM "urgent_customer" WHERE id IN (5100437)Date: 2025-02-11 10:28:21
22 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #22
Day Hour Count Feb 11 10 1 - ERROR: syntax error at or near ")" at character 162
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 ('109699',)
Date: 2025-02-11 10:53:57
23 1 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #23
Day Hour Count Feb 11 10 1 24 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #24
Day Hour Count Feb 11 17 1