-
Global information
- Generated on Sat Jan 11 23:47:11 2025
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 37,025,531 log entries in 2m10s
- Log start from 2025-01-11 00:00:00 to 2025-01-11 22:45:01
-
Overview
Global Stats
- 16,580 Number of unique normalized queries
- 15,945,469 Number of queries
- 7d19m20s Total query duration
- 2025-01-11 00:00:00 First query
- 2025-01-11 22:45:01 Last query
- 4,616 queries/s at 2025-01-11 11:41:13 Query peak
- 7d19m20s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 7d19m20s Execute total duration
- 8,403 Number of events
- 24 Number of unique normalized events
- 3,014 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
- 15,945,469 Average queries per session
- 7d19m20s 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
- 4,616 queries/s Query Peak
- 2025-01-11 11:41:13 Date
SELECT Traffic
Key values
- 3,226 queries/s Query Peak
- 2025-01-11 11:41:13 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 972 queries/s Query Peak
- 2025-01-11 11:41:13 Date
Queries duration
Key values
- 7d19m20s 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) Jan 11 00 190,039 0ms 4s264ms 15ms 1m37s 1m53s 2m33s 01 174,510 0ms 2s981ms 21ms 2m43s 3m15s 3m30s 02 155,394 0ms 644ms 21ms 1m50s 2m13s 2m49s 03 157,682 0ms 656ms 17ms 1m44s 2m11s 3m26s 04 139,611 0ms 673ms 18ms 1m38s 2m6s 2m43s 05 99,505 0ms 637ms 17ms 1m14s 1m47s 2m3s 06 152,232 0ms 4s307ms 21ms 1m58s 2m16s 2m32s 07 111,018 0ms 623ms 12ms 50s520ms 1m7s 1m10s 08 235,699 0ms 668ms 9ms 1m56s 2m30s 2m48s 09 863,729 0ms 3s599ms 13ms 5m21s 6m50s 7m44s 10 1,416,522 0ms 56m2s 47ms 10m42s 1h46m51s 7h54m39s 11 1,436,276 0ms 21m59s 27ms 6m22s 1h23m34s 3h21m35s 12 1,672,135 0ms 1h48m58s 30ms 35m39s 1h17m18s 3h24m55s 13 1,412,095 0ms 48m41s 68ms 48m3s 2h1m25s 12h43m28s 14 1,292,849 0ms 12m16s 15ms 4m43s 5m27s 2h32m10s 15 1,099,935 0ms 22m17s 32ms 4m47s 42m56s 3h30m8s 16 1,137,794 0ms 32m57s 61ms 4m36s 2h1m5s 8h12m37s 17 1,090,075 0ms 25m45s 47ms 6m11s 1h2m48s 6h19m5s 18 997,984 0ms 31m4s 47ms 6m2s 7m11s 6h2m8s 19 795,577 0ms 4s716ms 18ms 7m8s 8m14s 9m10s 20 569,665 0ms 38m35s 90ms 4m18s 4m52s 8h4m5s 21 422,229 0ms 25m20s 36ms 6m7s 7m44s 1h28m 22 322,914 0ms 3s211ms 27ms 5m25s 5m41s 6m39s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 11 00 101,727 0 29ms 1m21s 1m37s 1m57s 01 91,552 0 41ms 1m47s 2m43s 3m17s 02 76,988 0 42ms 1m24s 1m50s 2m40s 03 78,053 0 34ms 1m8s 1m44s 2m11s 04 70,571 0 36ms 1m9s 1m38s 2m37s 05 48,213 0 36ms 1m 1m14s 1m53s 06 77,891 0 41ms 1m30s 1m58s 2m17s 07 55,903 0 23ms 40s170ms 50s390ms 1m10s 08 133,574 0 15ms 1m3s 1m55s 2m47s 09 497,502 0 22ms 3m55s 5m20s 7m1s 10 860,829 0 20ms 6m16s 7m28s 10m18s 11 867,441 0 14ms 4m35s 5m 5m43s 12 1,033,894 0 21ms 6m4s 7m4s 8m58s 13 863,744 0 20ms 6m33s 7m32s 9m41s 14 768,236 0 12ms 3m30s 4m8s 5m12s 15 647,828 0 16ms 3m38s 4m28s 13m33s 16 679,492 0 14ms 3m52s 4m18s 4m37s 17 670,657 0 16ms 4m25s 5m5s 7m13s 18 605,716 0 20ms 4m47s 5m14s 6m40s 19 464,400 0 30ms 5m35s 7m7s 9m2s 20 335,524 0 26ms 3m32s 4m5s 4m40s 21 248,253 0 40ms 3m32s 5m50s 7m43s 22 187,111 0 46ms 4m48s 5m24s 6m38s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 11 00 11,614 3,213 134 0 0ms 83ms 107ms 141ms 01 15,706 3,942 141 0 0ms 96ms 133ms 241ms 02 12,085 3,312 129 0 0ms 81ms 107ms 133ms 03 7,753 2,758 163 0 0ms 56ms 79ms 106ms 04 8,660 2,650 151 0 0ms 56ms 91ms 136ms 05 5,763 2,351 132 0 0ms 42ms 89ms 134ms 06 10,533 2,707 132 0 0ms 72ms 98ms 215ms 07 4,581 1,937 243 0 0ms 38ms 54ms 85ms 08 6,963 2,887 274 0 0ms 60ms 97ms 158ms 09 43,046 14,531 797 0 0ms 275ms 337ms 443ms 10 70,316 20,106 679 0 547ms 481ms 572ms 1h45m15s 11 58,849 17,968 743 0 341ms 425ms 498ms 1h19m44s 12 67,235 21,736 633 0 329ms 508ms 683ms 1h8m29s 13 56,520 19,906 773 0 1s23ms 456ms 703ms 1h59m39s 14 42,786 16,763 479 2 174ms 269ms 332ms 15s938ms 15 41,301 15,705 586 0 440ms 233ms 265ms 29m22s 16 43,279 16,766 674 0 981ms 266ms 351ms 1h58m34s 17 48,533 15,547 688 1 620ms 419ms 553ms 1h26s 18 57,879 15,328 614 1 476ms 366ms 503ms 905ms 19 62,655 15,543 540 0 0ms 368ms 484ms 752ms 20 42,959 10,614 294 1 792ms 262ms 325ms 498ms 21 37,347 11,562 242 0 111ms 270ms 345ms 1m41s 22 36,306 5,996 216 0 0ms 290ms 355ms 526ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jan 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 Jan 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 Jan 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
- 168,808 buffers Checkpoint Peak
- 2025-01-11 20:16:25 Date
- 270.058 seconds Highest write time
- 0.016 seconds Sync time
Checkpoints Wal files
Key values
- 112 files Wal files usage Peak
- 2025-01-11 20:16:25 Date
Checkpoints distance
Key values
- 3,577.66 Mo Distance Peak
- 2025-01-11 20:16:25 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jan 11 00 54,064 3,111.5s 0.027s 3,111.565s 01 63,183 3,024.502s 0.029s 3,024.567s 02 75,948 3,239.61s 0.028s 3,239.677s 03 86,055 3,239.498s 0.034s 3,239.589s 04 72,337 3,231.895s 0.045s 3,231.977s 05 30,941 1,596.763s 0.024s 1,596.82s 06 90,066 3,227.731s 0.024s 3,227.797s 07 66,958 2,625.399s 0.029s 2,625.466s 08 43,429 2,212.11s 0.025s 2,212.166s 09 310,043 3,239.506s 0.041s 3,239.614s 10 467,226 3,239.471s 0.07s 3,239.626s 11 470,694 3,239.567s 0.047s 3,239.711s 12 513,577 3,239.474s 0.063s 3,239.642s 13 418,377 3,239.443s 0.055s 3,239.577s 14 335,820 3,239.584s 0.051s 3,239.696s 15 293,739 3,239.457s 0.046s 3,239.571s 16 284,389 3,239.58s 0.051s 3,239.693s 17 278,602 2,885.596s 0.069s 2,885.728s 18 287,896 3,239.463s 0.045s 3,239.581s 19 257,383 3,239.524s 0.056s 3,239.645s 20 397,762 3,239.5s 0.041s 3,239.659s 21 181,185 3,239.511s 0.037s 3,239.598s 22 162,063 2,429.716s 0.037s 2,429.791s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jan 11 00 0 0 25 2,551 0.002s 0.012s 01 0 0 28 2,904 0.002s 0.012s 02 0 0 34 2,386 0.002s 0.012s 03 0 0 40 2,400 0.008s 0.012s 04 0 0 31 2,674 0.009s 0.013s 05 0 0 13 1,790 0.002s 0.011s 06 0 0 40 2,137 0.002s 0.012s 07 0 0 28 2,847 0.002s 0.013s 08 0 0 18 2,281 0.002s 0.011s 09 0 0 136 4,641 0.003s 0.012s 10 0 0 212 5,009 0.003s 0.012s 11 0 0 213 5,198 0.002s 0.012s 12 0 0 232 5,280 0.011s 0.012s 13 0 0 188 5,081 0.003s 0.012s 14 0 0 146 5,206 0.002s 0.012s 15 0 0 128 5,368 0.002s 0.012s 16 0 0 120 5,526 0.003s 0.012s 17 0 0 120 5,250 0.008s 0.012s 18 0 0 129 5,478 0.003s 0.012s 19 0 0 115 5,015 0.003s 0.012s 20 0 19 200 4,857 0.002s 0.012s 21 0 0 73 4,423 0.002s 0.012s 22 0 0 69 3,328 0.003s 0.009s Day Hour Count Avg time (sec) Jan 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 Jan 11 00 34,039.58 kB 51,780.58 kB 01 37,935.67 kB 53,070.00 kB 02 46,954.42 kB 56,381.08 kB 03 54,578.33 kB 71,813.67 kB 04 39,214.00 kB 65,970.23 kB 05 19,085.00 kB 50,145.91 kB 06 54,341.75 kB 77,509.08 kB 07 35,818.08 kB 86,235.69 kB 08 26,286.00 kB 45,900.64 kB 09 185,950.75 kB 199,317.08 kB 10 289,724.67 kB 338,213.42 kB 11 290,850.17 kB 327,286.25 kB 12 317,069.42 kB 426,988.08 kB 13 261,158.55 kB 334,206.45 kB 14 199,436.00 kB 272,503.58 kB 15 173,268.10 kB 218,058.00 kB 16 163,320.00 kB 199,942.67 kB 17 164,370.92 kB 204,369.67 kB 18 180,692.20 kB 227,356.50 kB 19 156,988.42 kB 194,873.17 kB 20 299,028.17 kB 1,044,980.92 kB 21 99,757.25 kB 501,139.58 kB 22 125,360.89 kB 241,757.22 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 Jan 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 Jan 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,465,099 Total read queries
- 4,374,083 Total write queries
Queries by database
Key values
- unknown Main database
- 15,945,469 Requests
- 7d19m20s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 15,945,469 Requests
User Request type Count Duration unknown Total 15,945,469 7d19m20s copy from 5 7ms cte 28,647 6s25ms ddl 2,647 365ms delete 9,457 1s279ms insert 792,669 4m16s others 2,106,287 1m36s select 9,465,099 2d8h1m27s tcl 3,296,830 2m16s update 243,828 4d16h9m35s Duration by user
Key values
- 7d19m20s (unknown) Main time consuming user
User Request type Count Duration unknown Total 15,945,469 7d19m20s copy from 5 7ms cte 28,647 6s25ms ddl 2,647 365ms delete 9,457 1s279ms insert 792,669 4m16s others 2,106,287 1m36s select 9,465,099 2d8h1m27s tcl 3,296,830 2m16s update 243,828 4d16h9m35s Queries by host
Key values
- unknown Main host
- 15,945,469 Requests
- 7d19m20s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 15,945,469 Requests
- 7d19m20s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-01-11 18:20:23 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 14,989,502 0-1ms duration
Slowest individual queries
Rank Duration Query 1 1h48m58s 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" >= '2024-12-01') AND ("shipping_policy"."client_date" <= '2024-12-31')) AND ("shipping_policy"."return_date" IS NULL AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%مجدي محمدى توفيق (العجمي)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%احمد محمود يحيى(القنطرة)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%معاذ ابراهيم خليل ابراهيم(المنشية)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%محمود فضل الله محمود(المعادى)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%اسكندرية سموحة%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%الرمل قبلى%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%مدينة نصر%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%العبور%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" 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-01-11 12:05:38 ]
2 56m2s update res_users set sid = '12bc01f274daf324796772f45467e24d0d6b6eb7', last_update = '2025-01-11 08:04:18.278007', exp_date = '2025-01-11 08:49:18.278012', logged_in = 'TRUE' where id = 910;[ Date: 2025-01-11 10:00:20 ]
3 56m2s update res_users set sid = '12bc01f274daf324796772f45467e24d0d6b6eb7', last_update = '2025-01-11 08:04:18.277513', exp_date = '2025-01-11 08:49:18.277518', logged_in = 'TRUE' where id = 910;[ Date: 2025-01-11 10:00:20 ]
4 54m56s update res_users set sid = '12bc01f274daf324796772f45467e24d0d6b6eb7', last_update = '2025-01-11 08:05:24.939059', exp_date = '2025-01-11 08:50:24.939063', logged_in = 'TRUE' where id = 910;[ Date: 2025-01-11 10:00:20 ]
5 50m37s update res_users set sid = '12bc01f274daf324796772f45467e24d0d6b6eb7', last_update = '2025-01-11 08:09:43.239581', exp_date = '2025-01-11 08:54:43.239586', logged_in = 'TRUE' where id = 910;[ Date: 2025-01-11 10:00:20 ]
6 48m41s 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" 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" >= '2024-12-01') AND ("shipping_policy"."client_date" <= '2024-12-31')) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%احمد محمود يحيى(القنطرة)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%مجدي محمدى توفيق (العجمي)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%محمود فضل الله محمود(المعادى)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%معاذ ابراهيم خليل ابراهيم(المنشية)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%اسكندرية سموحة%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%الرمل قبلى%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%مدينة نصر%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%العبور%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) 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" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') 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" ORDER BY "total_shipping_price" DESC LIMIT 80;[ Date: 2025-01-11 13:35:24 ]
7 48m37s update res_users set sid = 'eb5a053c8ab59436204d6d73d5e4f0fe608f2a36', last_update = '2025-01-11 11:46:47.779203', exp_date = '2025-01-11 12:31:47.779206', logged_in = 'TRUE' where id = 1056;[ Date: 2025-01-11 13:35:24 ]
8 48m35s update res_users set sid = 'eb5a053c8ab59436204d6d73d5e4f0fe608f2a36', last_update = '2025-01-11 11:46:49.127292', exp_date = '2025-01-11 12:31:49.127295', logged_in = 'TRUE' where id = 1056;[ Date: 2025-01-11 13:35:24 ]
9 48m35s update res_users set sid = 'eb5a053c8ab59436204d6d73d5e4f0fe608f2a36', last_update = '2025-01-11 11:46:49.739738', exp_date = '2025-01-11 12:31:49.739741', logged_in = 'TRUE' where id = 1056;[ Date: 2025-01-11 13:35:24 ]
10 48m33s update res_users set sid = 'eb5a053c8ab59436204d6d73d5e4f0fe608f2a36', last_update = '2025-01-11 11:46:50.953394', exp_date = '2025-01-11 12:31:50.953396', logged_in = 'TRUE' where id = 1056;[ Date: 2025-01-11 13:35:24 ]
11 42m10s update res_users set sid = '12bc01f274daf324796772f45467e24d0d6b6eb7', last_update = '2025-01-11 08:18:10.105196', exp_date = '2025-01-11 09:03:10.105202', logged_in = 'TRUE' where id = 910;[ Date: 2025-01-11 10:00:21 ]
12 41m22s UPDATE "res_users" SET "exp_date" = '2025-01-11 09:03:58.315553', "last_update" = '2025-01-11 08:18:58.315580', "sid" = '881c71b0bb057d7f37cea8a5d555b5225c857846', "write_date" = '2025-01-11 08:18:57.920152', "write_uid" = 910 WHERE id IN (910);[ Date: 2025-01-11 10:00:20 ]
13 40m1s update res_users set sid = 'eb5a053c8ab59436204d6d73d5e4f0fe608f2a36', last_update = '2025-01-11 11:55:23.383571', exp_date = '2025-01-11 12:40:23.383574', logged_in = 'TRUE' where id = 1056;[ Date: 2025-01-11 13:35:24 ]
14 38m35s update res_users set sid = '8cb51e81cf269084af7ad9fdf39741c47a0e3416', last_update = '2025-01-11 19:10:45.320639', exp_date = '2025-01-11 19:55:45.320642', logged_in = 'TRUE' where id = 884;[ Date: 2025-01-11 20:49:20 ]
15 38m35s update res_users set sid = '8cb51e81cf269084af7ad9fdf39741c47a0e3416', last_update = '2025-01-11 19:10:45.320465', exp_date = '2025-01-11 19:55:45.320469', logged_in = 'TRUE' where id = 884;[ Date: 2025-01-11 20:49:20 ]
16 38m26s update res_users set sid = '4d7cc67b986e6fd8d8ea2465277509de2a856a39', last_update = '2025-01-11 19:10:54.618288', exp_date = '2025-01-11 19:55:54.618292', logged_in = 'TRUE' where id = 884;[ Date: 2025-01-11 20:49:20 ]
17 38m21s update res_users set sid = '4d7cc67b986e6fd8d8ea2465277509de2a856a39', last_update = '2025-01-11 19:10:58.994634', exp_date = '2025-01-11 19:55:58.994639', logged_in = 'TRUE' where id = 884;[ Date: 2025-01-11 20:49:20 ]
18 37m9s update res_users set sid = '8cb51e81cf269084af7ad9fdf39741c47a0e3416', last_update = '2025-01-11 19:12:11.505380', exp_date = '2025-01-11 19:57:11.505385', logged_in = 'TRUE' where id = 884;[ Date: 2025-01-11 20:49:20 ]
19 35m6s update res_users set sid = '4d7cc67b986e6fd8d8ea2465277509de2a856a39', last_update = '2025-01-11 19:14:13.858559', exp_date = '2025-01-11 19:59:13.858561', logged_in = 'TRUE' where id = 884;[ Date: 2025-01-11 20:49:20 ]
20 34m54s update res_users set sid = '8cb51e81cf269084af7ad9fdf39741c47a0e3416', last_update = '2025-01-11 19:14:25.790327', exp_date = '2025-01-11 19:59:25.790331', logged_in = 'TRUE' where id = 884;[ Date: 2025-01-11 20:49:20 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 4d8h33m26s 63,179 0ms 56m2s 5s957ms update res_users set sid = ?, last_update = ?, exp_date = ?, logged_in = ? where id = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 11 00 503 108ms 0ms 01 451 97ms 0ms 02 491 104ms 0ms 03 590 126ms 0ms 04 478 106ms 0ms 05 248 56ms 0ms 06 518 117ms 0ms 07 368 79ms 0ms 08 733 159ms 0ms 09 3,364 823ms 0ms 10 6,066 13h6m15s 7s777ms 11 6,483 6h52m44s 3s819ms 12 8,122 7h21m52s 3s264ms 13 6,827 21h24m47s 11s291ms 14 5,951 2h53m24s 1s748ms 15 4,670 6h49m42s 5s263ms 16 4,622 16h1m56s 12s487ms 17 3,848 10h58m1s 10s260ms 18 3,071 6h38m18s 7s781ms 19 2,424 673ms 0ms 20 1,573 11h20m13s 25s946ms 21 1,032 1h6m6s 3s843ms 22 746 182ms 0ms -
update res_users set sid = '12bc01f274daf324796772f45467e24d0d6b6eb7', last_update = '2025-01-11 08:04:18.278007', exp_date = '2025-01-11 08:49:18.278012', logged_in = 'TRUE' where id = 910;
Date: 2025-01-11 10:00:20 Duration: 56m2s
-
update res_users set sid = '12bc01f274daf324796772f45467e24d0d6b6eb7', last_update = '2025-01-11 08:04:18.277513', exp_date = '2025-01-11 08:49:18.277518', logged_in = 'TRUE' where id = 910;
Date: 2025-01-11 10:00:20 Duration: 56m2s
-
update res_users set sid = '12bc01f274daf324796772f45467e24d0d6b6eb7', last_update = '2025-01-11 08:05:24.939059', exp_date = '2025-01-11 08:50:24.939063', logged_in = 'TRUE' where id = 910;
Date: 2025-01-11 10:00:20 Duration: 54m56s
2 1d4h31m33s 190,577 451ms 997ms 538ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 11 00 3,601 30m33s 509ms 01 4,313 37m27s 521ms 02 4,617 38m46s 503ms 03 4,136 34m12s 496ms 04 3,562 29m48s 501ms 05 1,640 14m9s 517ms 06 4,817 39m49s 496ms 07 1,481 12m3s 488ms 08 2,459 20m27s 499ms 09 11,209 1h37m24s 521ms 10 18,357 2h50m38s 557ms 11 13,868 2h3m11s 532ms 12 15,551 2h22m52s 551ms 13 15,022 2h19m7s 555ms 14 8,325 1h11m35s 515ms 15 7,478 1h4m35s 518ms 16 8,482 1h13m58s 523ms 17 9,219 1h24m54s 552ms 18 10,471 1h36m56s 555ms 19 13,254 2h6m48s 574ms 20 8,995 1h22m31s 550ms 21 9,780 1h28m21s 542ms 22 9,940 1h31m18s 551ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4377505)) AND (("shipping_track"."id" not in (36143258, 36143258)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 13:35:43 Duration: 997ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4377100)) AND (("shipping_track"."id" not in (36101423, 36101423)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 10:45:37 Duration: 930ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4377117)) AND (("shipping_track"."id" not in (36101602, 36101602)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 10:46:07 Duration: 920ms
3 6h17m57s 350 0ms 41m22s 1m4s update "res_users" set "exp_date" = ?, "last_update" = ?, "sid" = ?, "write_date" = ?, "write_uid" = ? where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 11 00 3 0ms 0ms 01 2 1ms 0ms 02 1 1ms 1ms 03 3 3ms 1ms 05 2 0ms 0ms 06 1 0ms 0ms 07 1 1ms 1ms 08 16 5ms 0ms 09 33 8ms 0ms 10 37 44m3s 1m11s 11 35 27m58s 47s957ms 12 48 49m57s 1m2s 13 22 24m24s 1m6s 14 22 43s614ms 1s982ms 15 18 19ms 1ms 16 19 11m56s 37s735ms 17 18 23ms 1ms 18 32 3h7m28s 5m51s 19 13 6ms 0ms 20 16 31m23s 1m57s 21 4 4ms 1ms 22 4 4ms 1ms -
UPDATE "res_users" SET "exp_date" = '2025-01-11 09:03:58.315553', "last_update" = '2025-01-11 08:18:58.315580', "sid" = '881c71b0bb057d7f37cea8a5d555b5225c857846', "write_date" = '2025-01-11 08:18:57.920152', "write_uid" = 910 WHERE id IN (910);
Date: 2025-01-11 10:00:20 Duration: 41m22s
-
UPDATE "res_users" SET "exp_date" = '2025-01-11 18:07:21.113393', "last_update" = '2025-01-11 17:22:21.113414', "sid" = '305c8e11fe728b91ed13ed48830a2382c4f0eb9b', "write_date" = '2025-01-11 17:22:20.757343', "write_uid" = 1 WHERE id IN (903);
Date: 2025-01-11 18:43:20 Duration: 20m59s
-
UPDATE "res_users" SET "exp_date" = '2025-01-11 17:37:00.656897', "last_update" = '2025-01-11 16:52:00.656933', "sid" = '3fc74a0a1d5c6a47dda25bb2372507b71d881a58', "write_date" = '2025-01-11 16:52:00.265544', "write_uid" = 1 WHERE id IN (1049);
Date: 2025-01-11 18:11:20 Duration: 19m19s
4 5h47m36s 38,140 456ms 1s856ms 546ms select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 11 00 226 1m59s 527ms 01 124 1m8s 555ms 02 112 1m5s 581ms 03 183 1m37s 533ms 04 250 2m11s 526ms 05 51 26s683ms 523ms 06 209 1m52s 538ms 07 583 4m47s 493ms 08 716 5m59s 501ms 09 3,010 27m4s 539ms 10 3,211 31m22s 586ms 11 3,731 34m3s 547ms 12 3,574 34m1s 571ms 13 3,817 36m2s 566ms 14 2,742 24m6s 527ms 15 2,279 19m54s 524ms 16 2,924 25m34s 524ms 17 2,939 26m27s 540ms 18 2,679 24m17s 543ms 19 1,892 17m23s 551ms 20 1,333 11m54s 535ms 21 873 8m 549ms 22 682 6m14s 549ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3562471)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 17:21:58 Duration: 1s856ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (4353769)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 17:21:58 Duration: 1s795ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3891109)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 10:45:40 Duration: 1s97ms
5 4h2m17s 72,344 162ms 332ms 200ms 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 #5
Day Hour Count Duration Avg duration Jan 11 00 695 2m9s 185ms 01 816 2m32s 186ms 02 1,147 3m33s 186ms 03 1,157 3m36s 187ms 04 1,047 3m14s 186ms 05 1,346 4m11s 186ms 06 1,366 4m13s 185ms 07 593 1m50s 185ms 08 825 2m34s 187ms 09 7,320 24m9s 197ms 10 7,532 26m13s 208ms 11 4,529 15m7s 200ms 12 6,313 22m10s 210ms 13 6,061 21m9s 209ms 14 5,077 16m28s 194ms 15 5,804 18m33s 191ms 16 4,967 15m58s 192ms 17 1,759 5m39s 193ms 18 2,420 7m58s 197ms 19 641 2m6s 197ms 20 312 58s424ms 187ms 21 10,445 37m11s 213ms 22 172 34s29ms 197ms -
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" = '9672736')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 10:45:27 Duration: 332ms
-
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" = '9866657')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 13:35:42 Duration: 307ms
-
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" = '9777779')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 10:40:57 Duration: 306ms
6 2h44m10s 43,361 92ms 846ms 227ms select "urgent_customer".id from "urgent_customer" where (("urgent_customer"."active" = true) and ("urgent_customer"."name" = ?)) order by "urgent_customer"."id" limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 11 00 1,318 4m53s 222ms 01 2,392 8m10s 205ms 02 1,010 3m24s 202ms 04 566 1m36s 169ms 05 856 3m26s 240ms 06 160 34s295ms 214ms 08 52 7s21ms 135ms 09 88 19s820ms 225ms 10 510 2m9s 254ms 11 92 22s957ms 249ms 12 466 1m41s 217ms 13 378 1m37s 257ms 14 410 1m43s 252ms 15 1,576 5m57s 226ms 16 1,931 7m44s 240ms 17 4,262 16m25s 231ms 18 5,396 21m36s 240ms 19 8,254 32m26s 235ms 20 5,582 19m23s 208ms 21 3,622 13m40s 226ms 22 4,440 16m49s 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-01-11 17:31:46 Duration: 846ms
-
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-01-11 17:31:46 Duration: 845ms
-
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-01-11 19:38:01 Duration: 843ms
7 2h7m54s 8,410 818ms 1s236ms 912ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 11 00 171 2m33s 895ms 01 323 4m48s 893ms 09 9 8s616ms 957ms 10 4 3s593ms 898ms 11 1 1s7ms 1s7ms 12 145 2m17s 950ms 13 89 1m29s 1s5ms 14 7 6s377ms 911ms 15 431 6m32s 911ms 16 337 5m7s 911ms 17 1,409 21m38s 921ms 18 1,479 22m24s 909ms 19 1,787 27m32s 924ms 20 985 14m38s 892ms 21 244 3m35s 884ms 22 989 14m56s 906ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8959283')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))))) ORDER BY "policy_number"."id";
Date: 2025-01-11 17:44:25 Duration: 1s236ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9863227')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))))) ORDER BY "policy_number"."id";
Date: 2025-01-11 17:44:28 Duration: 1s226ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9693498')) 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-01-11 19:48:17 Duration: 1s220ms
8 1h48m58s 1 1h48m58s 1h48m58s 1h48m58s 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" != ?) or "shipping_policy"."state" is null)) and (("shipping_policy"."search_name"::text ilike ?) and ((("shipping_policy"."client_date" >= ?) and ("shipping_policy"."client_date" <= ?)) and ("shipping_policy"."return_date" is null and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" 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 (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) 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 ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jan 11 12 1 1h48m58s 1h48m58s -
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" >= '2024-12-01') AND ("shipping_policy"."client_date" <= '2024-12-31')) AND ("shipping_policy"."return_date" IS NULL AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%مجدي محمدى توفيق (العجمي)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%احمد محمود يحيى(القنطرة)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%معاذ ابراهيم خليل ابراهيم(المنشية)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%محمود فضل الله محمود(المعادى)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%اسكندرية سموحة%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%الرمل قبلى%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%مدينة نصر%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%العبور%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" 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-01-11 12:05:38 Duration: 1h48m58s
9 1h28m12s 120,698 32ms 128ms 43ms 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 #9
Day Hour Count Duration Avg duration Jan 11 00 1,775 1m13s 41ms 01 2,109 1m27s 41ms 02 1,615 1m7s 41ms 03 819 34s659ms 42ms 04 1,053 44s430ms 42ms 05 254 10s435ms 41ms 06 1,423 59s402ms 41ms 07 668 28s67ms 42ms 08 786 33s25ms 42ms 09 7,232 5m14s 43ms 10 13,041 10m4s 46ms 11 11,584 8m35s 44ms 12 12,763 9m43s 45ms 13 8,924 6m50s 45ms 14 7,085 5m4s 43ms 15 5,767 4m7s 42ms 16 6,944 4m59s 43ms 17 6,407 4m35s 43ms 18 7,258 5m8s 42ms 19 8,374 6m4s 43ms 20 5,503 3m50s 41ms 21 4,251 2m59s 42ms 22 5,063 3m33s 42ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (4353769)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-01-11 17:21:58 Duration: 128ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3562471)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-01-11 17:21:58 Duration: 125ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (4288339)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-01-11 12:38:29 Duration: 110ms
10 1h14m42s 47 0ms 25m20s 1m35s update "res_users" set "exp_date" = ?, "last_update" = ?, "write_date" = ?, "write_uid" = ? where id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 11 08 3 0ms 0ms 09 3 0ms 0ms 10 4 5ms 1ms 11 6 5ms 0ms 12 3 6ms 2ms 13 5 7m3s 1m24s 14 2 1ms 0ms 15 3 12m31s 4m10s 16 4 18m54s 4m43s 17 5 10m52s 2m10s 18 1 0ms 0ms 19 3 0ms 0ms 20 1 0ms 0ms 21 4 25m20s 6m20s -
UPDATE "res_users" SET "exp_date" = '2025-01-11 20:37:00.412701', "last_update" = '2025-01-11 19:52:00.412719', "write_date" = '2025-01-11 19:52:00.072856', "write_uid" = 1223 WHERE id IN (1223);
Date: 2025-01-11 21:17:20 Duration: 25m20s
-
UPDATE "res_users" SET "exp_date" = '2025-01-11 15:30:26.880048', "last_update" = '2025-01-11 14:45:26.880071', "write_date" = '2025-01-11 14:45:26.548019', "write_uid" = 959 WHERE id IN (959);
Date: 2025-01-11 16:04:21 Duration: 18m54s
-
UPDATE "res_users" SET "exp_date" = '2025-01-11 14:37:48.906892', "last_update" = '2025-01-11 13:52:48.906911', "write_date" = '2025-01-11 13:52:48.574095', "write_uid" = 1 WHERE id IN (867);
Date: 2025-01-11 15:05:20 Duration: 12m31s
11 1h5m52s 14,825 179ms 569ms 266ms 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 #11
Day Hour Count Duration Avg duration Jan 11 08 268 1m4s 240ms 09 2,318 10m2s 259ms 10 1,541 7m15s 282ms 11 981 4m24s 269ms 12 971 4m58s 307ms 13 1,513 7m11s 284ms 14 1,314 5m52s 268ms 15 2,737 11m32s 253ms 16 1,917 8m1s 251ms 17 423 1m51s 263ms 18 842 3m37s 258ms -
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" = '9685934')))) ORDER BY "collection_policy"."id";
Date: 2025-01-11 12:28:32 Duration: 569ms
-
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" = '9510648')))) ORDER BY "collection_policy"."id";
Date: 2025-01-11 12:28:32 Duration: 550ms
-
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" = '9657853')))) ORDER BY "collection_policy"."id";
Date: 2025-01-11 12:28:31 Duration: 534ms
12 1h2m8s 13,504 213ms 569ms 276ms 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 #12
Day Hour Count Duration Avg duration Jan 11 00 499 2m9s 259ms 01 881 3m51s 263ms 02 508 2m16s 268ms 04 286 1m17s 269ms 05 429 1m52s 261ms 06 81 21s124ms 260ms 07 1 223ms 223ms 08 28 7s153ms 255ms 09 36 10s73ms 279ms 10 266 1m17s 289ms 11 45 12s107ms 269ms 12 101 31s527ms 312ms 13 105 31s849ms 303ms 14 202 53s943ms 267ms 15 368 1m42s 277ms 16 642 3m1s 282ms 17 755 3m30s 278ms 18 1,232 5m33s 270ms 19 2,377 11m20s 286ms 20 1,830 8m20s 273ms 21 1,585 7m22s 278ms 22 1,247 5m46s 278ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9807544')) 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-01-11 17:21:59 Duration: 569ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '487648')) 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-01-11 10:45:29 Duration: 444ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9826664')) 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-01-11 17:44:26 Duration: 438ms
13 48m41s 1 48m41s 48m41s 48m41s 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" where ((("shipping_policy"."active" = true) and (("shipping_policy"."state" != ?) or "shipping_policy"."state" is null)) and (("shipping_policy"."search_name"::text ilike ?) and ((("shipping_policy"."client_date" >= ?) and ("shipping_policy"."client_date" <= ?)) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) 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" != ?) or "res_partner"."display_name" is null) and (("res_partner"."email" != ?) or "res_partner"."email" is null)) and (("res_partner"."ref" != ?) or "res_partner"."ref" is null)) and (("res_partner"."vat" != ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry" != ?) 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 (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) 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" order by "total_shipping_price" desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jan 11 13 1 48m41s 48m41s -
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" 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" >= '2024-12-01') AND ("shipping_policy"."client_date" <= '2024-12-31')) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%احمد محمود يحيى(القنطرة)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%مجدي محمدى توفيق (العجمي)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%محمود فضل الله محمود(المعادى)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%معاذ ابراهيم خليل ابراهيم(المنشية)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%اسكندرية سموحة%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%الرمل قبلى%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%مدينة نصر%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%العبور%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) 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" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') 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" ORDER BY "total_shipping_price" DESC LIMIT 80;
Date: 2025-01-11 13:35:24 Duration: 48m41s
14 39m14s 11,925 165ms 325ms 197ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jan 11 00 2 354ms 177ms 01 113 20s826ms 184ms 02 71 13s121ms 184ms 04 100 18s501ms 185ms 05 1,015 3m9s 186ms 06 1,279 3m57s 185ms 07 593 1m50s 186ms 08 195 36s591ms 187ms 09 1,087 3m41s 204ms 10 1,679 5m49s 208ms 11 1,051 3m29s 199ms 12 1,480 5m11s 210ms 13 837 2m45s 197ms 14 700 2m16s 195ms 15 178 34s342ms 192ms 16 95 18s281ms 192ms 17 383 1m14s 194ms 18 188 36s796ms 195ms 19 178 34s978ms 196ms 20 312 58s528ms 187ms 21 218 40s679ms 186ms 22 171 33s879ms 198ms -
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" = '9887688')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 10:40:57 Duration: 325ms
-
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" = '9816015')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))) 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-01-11 12:38:00 Duration: 305ms
-
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" = '9817299')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))) 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-01-11 12:38:09 Duration: 283ms
15 31m10s 15,036 100ms 222ms 124ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jan 11 00 1 122ms 122ms 01 12 1s376ms 114ms 03 28 3s424ms 122ms 04 20 2s481ms 124ms 05 1 126ms 126ms 07 116 14s84ms 121ms 08 130 15s944ms 122ms 09 808 1m42s 126ms 10 1,319 2m51s 130ms 11 1,194 2m29s 125ms 12 1,679 3m33s 127ms 13 1,908 4m5s 128ms 14 1,449 2m54s 120ms 15 1,991 3m56s 118ms 16 1,343 2m45s 122ms 17 841 1m44s 124ms 18 726 1m28s 122ms 19 641 1m19s 124ms 20 577 1m9s 119ms 21 99 12s499ms 126ms 22 153 18s923ms 123ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7876592)) AND (("cash_track"."id" not in (6152392, 6172287, 6205661, 6831252, 6831545, 6831545)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-01-11 13:44:37 Duration: 222ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7893125)) AND (("cash_track"."id" not in (6274547, 6277774, 6278153, 6831251, 6831542, 6831542)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-01-11 13:44:37 Duration: 202ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7966545)) AND (("cash_track"."id" not in (6824956)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-01-11 10:45:37 Duration: 200ms
16 28m28s 33,776 40ms 144ms 50ms 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 #16
Day Hour Count Duration Avg duration Jan 11 00 34 1s682ms 49ms 01 3 151ms 50ms 03 38 1s886ms 49ms 04 28 1s392ms 49ms 05 9 463ms 51ms 07 11 554ms 50ms 08 165 8s21ms 48ms 09 3,345 2m45s 49ms 10 4,702 4m12s 53ms 11 2,592 2m11s 50ms 12 2,796 2m28s 53ms 13 2,307 2m4s 53ms 14 3,821 3m6s 48ms 15 3,683 2m59s 48ms 16 4,055 3m19s 49ms 17 2,620 2m8s 49ms 18 1,796 1m28s 49ms 19 1,339 1m6s 49ms 20 290 14s537ms 50ms 21 81 4s76ms 50ms 22 61 3s149ms 51ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 4272752) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2025-01-11 17:22:02 Duration: 144ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 4304406) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2025-01-11 10:46:21 Duration: 115ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 4363186) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2025-01-11 13:40:35 Duration: 93ms
17 21m33s 6,435 168ms 326ms 201ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 11 05 264 49s444ms 187ms 06 87 16s450ms 189ms 08 456 1m25s 188ms 09 1,429 4m49s 202ms 10 1,250 4m29s 215ms 11 518 1m44s 201ms 12 163 31s828ms 195ms 13 163 35s736ms 219ms 14 603 1m56s 193ms 15 361 1m9s 193ms 16 287 56s473ms 196ms 17 223 44s77ms 197ms 18 168 32s811ms 195ms 19 463 1m32s 199ms -
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" = '490839')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 13:44:49 Duration: 326ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9792293')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 13:44:49 Duration: 325ms
-
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" = '9803502')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 10:40:57 Duration: 310ms
18 16m35s 3,838 183ms 400ms 259ms select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))))) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 11 08 54 12s947ms 239ms 09 312 1m16s 245ms 10 695 3m27s 299ms 11 458 1m56s 254ms 12 89 22s476ms 252ms 13 177 48s451ms 273ms 14 515 2m7s 247ms 15 361 1m27s 241ms 16 287 1m10s 246ms 17 257 1m4s 251ms 18 168 41s677ms 248ms 19 465 1m58s 254ms -
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" = '9744350') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2025-01-11 10:45:40 Duration: 400ms
-
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" = '9819646') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2025-01-11 10:45:27 Duration: 389ms
-
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" = '9672736') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2025-01-11 10:46:21 Duration: 389ms
19 13m8s 5,490 119ms 244ms 143ms 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 #19
Day Hour Count Duration Avg duration Jan 11 00 1 126ms 126ms 02 73 9s98ms 124ms 06 10 1s310ms 131ms 07 6 790ms 131ms 08 26 3s386ms 130ms 09 310 43s110ms 139ms 10 927 2m19s 150ms 11 1,048 2m30s 143ms 12 1,313 3m13s 147ms 13 536 1m18s 146ms 14 390 52s877ms 135ms 15 179 24s285ms 135ms 16 196 26s570ms 135ms 17 137 19s127ms 139ms 18 153 20s687ms 135ms 19 52 7s215ms 138ms 20 62 8s368ms 134ms 21 14 1s883ms 134ms 22 57 8s96ms 142ms -
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-01-11 10:40:57 Duration: 244ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 24)) 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-01-11 12:28:30 Duration: 233ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 36)) 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-01-11 10:45:25 Duration: 211ms
20 12m41s 4,077 168ms 210ms 186ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) 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 #20
Day Hour Count Duration Avg duration Jan 11 00 679 2m6s 185ms 01 520 1m37s 188ms 02 997 3m5s 186ms 03 1,132 3m31s 187ms 04 682 2m7s 186ms 05 67 12s668ms 189ms -
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" = '9834290')) 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-01-11 01:54:46 Duration: 210ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9860379')) 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, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 00:45:52 Duration: 210ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9690275')) 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-01-11 03:33:33 Duration: 210ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,104,636 1m36s 0ms 15ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 11 00 30,012 1s244ms 0ms 01 26,010 1s125ms 0ms 02 25,514 1s118ms 0ms 03 27,133 1s160ms 0ms 04 22,759 1s14ms 0ms 05 18,017 719ms 0ms 06 24,199 1s144ms 0ms 07 19,976 815ms 0ms 08 37,192 1s627ms 0ms 09 116,901 6s611ms 0ms 10 175,009 8s243ms 0ms 11 187,228 8s783ms 0ms 12 208,471 8s922ms 0ms 13 181,494 7s757ms 0ms 14 179,179 7s877ms 0ms 15 155,989 6s683ms 0ms 16 155,280 6s722ms 0ms 17 135,756 6s211ms 0ms 18 121,996 6s52ms 0ms 19 98,629 5s278ms 0ms 20 70,730 3s301ms 0ms 21 50,458 2s215ms 0ms 22 36,704 1s793ms 0ms -
DISCARD ALL;
Date: 2025-01-11 11:13:25 Duration: 15ms
-
DISCARD ALL;
Date: 2025-01-11 09:33:56 Duration: 1ms
-
DISCARD ALL;
Date: 2025-01-11 09:50:27 Duration: 1ms
2 1,649,061 23s912ms 0ms 1ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 11 00 21,569 324ms 0ms 01 18,533 294ms 0ms 02 18,677 291ms 0ms 03 20,889 313ms 0ms 04 17,405 275ms 0ms 05 12,510 203ms 0ms 06 18,373 301ms 0ms 07 14,148 219ms 0ms 08 27,285 422ms 0ms 09 95,286 1s500ms 0ms 10 143,187 2s118ms 0ms 11 150,430 2s115ms 0ms 12 167,872 2s293ms 0ms 13 142,850 1s965ms 0ms 14 141,662 1s884ms 0ms 15 118,200 1s618ms 0ms 16 120,000 1s615ms 0ms 17 107,671 1s555ms 0ms 18 97,010 1s480ms 0ms 19 76,506 1s254ms 0ms 20 54,114 802ms 0ms 21 36,750 579ms 0ms 22 28,134 482ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-01-11 22:30:02 Duration: 1ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-01-11 10:25:43 Duration: 0ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2025-01-11 08:57:54 Duration: 0ms
3 1,076,776 10s688ms 0ms 0ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 11 00 15,680 141ms 0ms 01 13,592 123ms 0ms 02 13,330 120ms 0ms 03 14,178 125ms 0ms 04 11,977 107ms 0ms 05 9,594 83ms 0ms 06 12,716 121ms 0ms 07 10,600 90ms 0ms 08 19,594 175ms 0ms 09 59,585 629ms 0ms 10 88,953 950ms 0ms 11 95,237 940ms 0ms 12 105,961 1s100ms 0ms 13 92,013 942ms 0ms 14 91,107 844ms 0ms 15 79,201 740ms 0ms 16 78,767 744ms 0ms 17 69,744 686ms 0ms 18 62,588 637ms 0ms 19 50,665 547ms 0ms 20 36,513 359ms 0ms 21 26,041 267ms 0ms 22 19,140 206ms 0ms -
ROLLBACK;
Date: 2025-01-11 12:45:47 Duration: 0ms
-
ROLLBACK;
Date: 2025-01-11 10:55:51 Duration: 0ms
-
ROLLBACK;
Date: 2025-01-11 21:48:30 Duration: 0ms
4 1,059,556 3m17s 0ms 22ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 11 00 15,016 2s428ms 0ms 01 12,986 2s240ms 0ms 02 12,740 2s178ms 0ms 03 13,577 2s223ms 0ms 04 11,370 1s870ms 0ms 05 8,985 1s313ms 0ms 06 12,078 2s99ms 0ms 07 9,991 1s417ms 0ms 08 18,968 2s858ms 0ms 09 59,175 11s416ms 0ms 10 88,240 17s923ms 0ms 11 94,504 17s792ms 0ms 12 105,096 20s91ms 0ms 13 91,361 17s702ms 0ms 14 90,352 15s366ms 0ms 15 78,628 13s945ms 0ms 16 78,189 14s168ms 0ms 17 67,955 12s532ms 0ms 18 61,261 12s59ms 0ms 19 49,783 9s933ms 0ms 20 35,526 6s846ms 0ms 21 25,268 5s215ms 0ms 22 18,507 3s826ms 0ms -
SELECT payload FROM http_sessions WHERE sid = 'd5e8f97f2f4e2a378298d79b999759b4270e3a65';
Date: 2025-01-11 13:43:22 Duration: 22ms
-
SELECT payload FROM http_sessions WHERE sid = 'bc0d55a6653b364f33a0ee8852d88c3629a2bd0e';
Date: 2025-01-11 09:42:19 Duration: 14ms
-
SELECT payload FROM http_sessions WHERE sid = '0ce48b2d1633cc0c3c87a215ddc38a243d08c5c9';
Date: 2025-01-11 18:30:44 Duration: 14ms
5 1,051,289 1m34s 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 Jan 11 00 15,066 1s256ms 0ms 01 13,068 1s121ms 0ms 02 12,842 1s106ms 0ms 03 13,645 1s129ms 0ms 04 11,459 977ms 0ms 05 9,071 753ms 0ms 06 12,171 1s85ms 0ms 07 10,064 809ms 0ms 08 18,598 1s528ms 0ms 09 58,387 5s404ms 0ms 10 87,373 8s484ms 0ms 11 93,444 8s451ms 0ms 12 104,075 9s626ms 0ms 13 90,644 8s384ms 0ms 14 89,566 7s406ms 0ms 15 77,965 6s703ms 0ms 16 77,610 6s845ms 0ms 17 67,397 5s969ms 0ms 18 60,707 5s472ms 0ms 19 49,232 4s520ms 0ms 20 35,302 3s124ms 0ms 21 25,258 2s312ms 0ms 22 18,345 1s724ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-01-11 09:18:54 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-01-11 09:46:12 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2025-01-11 10:59:08 Duration: 1ms
6 733,183 1m57s 0ms 13ms 0ms select "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."sid" AS "sid", "res_users"."exp_date" AS "exp_date", "res_users"."logged_in" AS "logged_in", "res_users"."last_update" AS "last_update", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" from "res_users" where "res_users".id in (...);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 11 00 6,954 1s94ms 0ms 01 5,721 982ms 0ms 02 6,240 1s52ms 0ms 03 8,160 1s285ms 0ms 04 6,670 1s94ms 0ms 05 3,211 625ms 0ms 06 6,856 1s168ms 0ms 07 4,041 752ms 0ms 08 9,466 1s489ms 0ms 09 46,803 7s445ms 0ms 10 70,467 11s219ms 0ms 11 71,056 15s155ms 0ms 12 79,733 12s537ms 0ms 13 65,857 11s361ms 0ms 14 68,139 9s969ms 0ms 15 49,970 7s227ms 0ms 16 53,240 7s352ms 0ms 17 47,434 6s702ms 0ms 18 42,899 6s327ms 0ms 19 32,864 5s608ms 0ms 20 21,833 3s157ms 0ms 21 13,287 2s64ms 0ms 22 12,282 1s888ms 0ms -
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."sid" AS "sid", "res_users"."exp_date" AS "exp_date", "res_users"."logged_in" AS "logged_in", "res_users"."last_update" AS "last_update", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (1082);
Date: 2025-01-11 13:43:22 Duration: 13ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."sid" AS "sid", "res_users"."exp_date" AS "exp_date", "res_users"."logged_in" AS "logged_in", "res_users"."last_update" AS "last_update", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (953);
Date: 2025-01-11 12:06:24 Duration: 13ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."sid" AS "sid", "res_users"."exp_date" AS "exp_date", "res_users"."logged_in" AS "logged_in", "res_users"."last_update" AS "last_update", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (1295);
Date: 2025-01-11 17:21:56 Duration: 10ms
7 570,975 1m41s 0ms 38ms 0ms commit;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 11 00 5,889 1s63ms 0ms 01 4,941 990ms 0ms 02 5,345 1s113ms 0ms 03 6,713 1s186ms 0ms 04 5,428 1s45ms 0ms 05 2,915 406ms 0ms 06 5,658 988ms 0ms 07 3,549 608ms 0ms 08 7,687 1s240ms 0ms 09 35,672 5s966ms 0ms 10 54,078 10s65ms 0ms 11 55,031 9s425ms 0ms 12 61,682 11s543ms 0ms 13 50,606 9s451ms 0ms 14 50,488 8s351ms 0ms 15 38,928 6s583ms 0ms 16 41,145 6s758ms 0ms 17 37,823 6s412ms 0ms 18 34,351 6s132ms 0ms 19 25,825 4s909ms 0ms 20 17,547 3s374ms 0ms 21 10,677 2s235ms 0ms 22 8,997 1s926ms 0ms -
COMMIT;
Date: 2025-01-11 10:45:40 Duration: 38ms
-
COMMIT;
Date: 2025-01-11 12:26:57 Duration: 36ms
-
COMMIT;
Date: 2025-01-11 10:13:10 Duration: 33ms
8 450,262 26s880ms 0ms 13ms 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 Jan 11 00 3,762 194ms 0ms 01 2,815 152ms 0ms 02 2,538 134ms 0ms 03 3,624 183ms 0ms 04 3,463 176ms 0ms 05 1,296 66ms 0ms 06 4,097 220ms 0ms 07 2,344 110ms 0ms 08 4,847 260ms 0ms 09 26,825 1s581ms 0ms 10 42,735 2s872ms 0ms 11 42,027 2s498ms 0ms 12 48,841 3s99ms 0ms 13 40,700 2s536ms 0ms 14 42,914 2s454ms 0ms 15 30,507 1s658ms 0ms 16 33,617 1s873ms 0ms 17 31,365 1s827ms 0ms 18 27,918 1s677ms 0ms 19 22,648 1s410ms 0ms 20 15,142 867ms 0ms 21 8,971 538ms 0ms 22 7,266 485ms 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 (83);
Date: 2025-01-11 10:51:51 Duration: 13ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (17, 77, 11, 51, 61, 38, 9, 60, 68, 49, 75, 6, 19, 22);
Date: 2025-01-11 11:48:11 Duration: 1ms
-
SELECT "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" FROM "urgent_office" WHERE "urgent_office".id IN (70, 4);
Date: 2025-01-11 11:13:19 Duration: 1ms
9 436,228 57s180ms 0ms 6ms 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 #9
Day Hour Count Duration Avg duration Jan 11 00 3,778 420ms 0ms 01 4,101 396ms 0ms 02 3,551 386ms 0ms 03 4,387 566ms 0ms 04 4,057 443ms 0ms 05 1,594 198ms 0ms 06 3,717 418ms 0ms 07 1,628 148ms 0ms 08 4,253 571ms 0ms 09 28,507 3s801ms 0ms 10 41,479 6s213ms 0ms 11 39,017 5s197ms 0ms 12 43,618 6s72ms 0ms 13 36,819 4s858ms 0ms 14 43,257 6s167ms 0ms 15 28,295 3s390ms 0ms 16 31,157 3s878ms 0ms 17 29,711 3s706ms 0ms 18 26,249 3s271ms 0ms 19 23,742 2s722ms 0ms 20 15,558 1s786ms 0ms 21 8,226 977ms 0ms 22 9,527 1s584ms 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 (5472688, 5115008, 5267316, 5246596, 5099013, 5099111, 5260946, 5099224, 5106573, 5248852, 5100129, 5106258, 5099206, 5229614, 5099248, 5099296, 5327273, 5099129, 5114481, 5099590, 5116650, 5099190, 5472682, 5126773, 5101308, 5100218, 5111611, 5303805, 5100360, 5099404, 5099133, 5099333, 5099169, 5099006, 5105661, 5100143, 5099141, 5100725, 5099009, 5099170, 5103223, 5099027, 5101594, 5099144, 5123170, 5099008, 5107216, 5099045, 5099445, 5099382, 5127181, 5099028, 5099130);
Date: 2025-01-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 (5109914, 5101022, 5111365, 5324910, 5099035, 5099312, 5472687, 5470733, 5099119, 5099867, 5099194, 5173586, 5104084, 5099102, 5100181, 5132700, 5099236, 5100607, 5123232, 5134145, 5106415, 5217746, 5472686, 5102032, 5472685, 5207882, 5472684, 5103478, 5099540, 5285925, 5099095, 5472683, 5106211, 5472681, 5101578, 5100715, 5099120, 5103684, 5099159, 5100935, 5099272, 5099264, 5100144, 5245106, 5099010, 5100547, 5134406, 5099254, 5101122, 5099521, 5101243, 5100822, 5099585, 5115371, 5100005, 5100431, 5099158, 5099007, 5099186, 5099138, 5103989, 5099311, 5100564, 5472659, 5099014, 5120580);
Date: 2025-01-11 17:21:56 Duration: 5ms
-
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 (5099009, 5099333, 5099186, 5099251, 5140579, 5439631, 5119681, 5099014, 5099007, 5128423, 5099141, 5452963, 5126396, 5123603, 5099305, 5099254, 5341068, 5109066, 5099138, 5100421, 5116287, 5470577, 5100471, 5102892, 5099348, 5100724, 5100540, 5099356, 5099537, 5099590, 5099177, 5100150, 5099321, 5113681, 5102793, 5121138, 5118815, 5100166, 5099491, 5106664, 5107010, 5099006, 5111794, 5107065, 5099266, 5100688, 5099782, 5133276, 5107091, 5099102, 5110367, 5099403, 5099887, 5128669, 5254866, 5098996, 5470308, 5099010, 5101474, 5099243, 5114108, 5100004, 5099244, 5099013, 5109523, 5101478, 5099169, 5100824, 5130152, 5116074, 5100348, 5099295, 5099404, 5099282, 5158064, 5099585, 5099600, 5153785, 5099008, 5115123, 5100564, 5100832, 5123887, 5137950, 5101901, 5105468, 5193566, 5121588, 5100484, 5099958, 5099643, 5109665, 5099528, 5180357, 5275246, 5101623, 5099425, 5100045, 5099335, 5099165, 5333844, 5099092, 5102605, 5102295, 5099540, 5099678, 5102494, 5100554, 5467867, 5099848, 5219589, 5105342, 5146518, 5099359, 5099804, 5099263, 5146696, 5280642, 5099206, 5110173, 5310683, 5099636, 5241465, 5101328, 5099045, 5119340, 5100405, 5099416, 5099582, 5234497, 5103196, 5100074, 5140187, 5170885, 5100163, 5099191, 5173837, 5099224, 5099130, 5099144, 5099791, 5102988, 5100205, 5103172, 5102638, 5099445, 5100443, 5101449, 5099529, 5099693, 5101174, 5098994, 5107400, 5105930, 5100762, 5101829, 5099431, 5099906, 5120684, 5108394, 5099275, 5468492, 5100507, 5119703, 5100600, 5177984, 5099111, 5103931, 5470283, 5099659, 5103028, 5115637, 5099768, 5099105, 5099121, 5469904, 5111295, 5101313, 5100454, 5113931, 5103684, 5099503);
Date: 2025-01-11 17:21:59 Duration: 4ms
10 335,959 1m44s 0ms 2ms 0ms select r.id from ir_rule r join ir_model m on (r.model_id = m.id) where m.model = ? and r.active and r.perm_read and (r.id in ( select rule_group_id from rule_group_rel rg join res_groups_users_rel gu on (rg.group_id = gu.gid) where gu.uid = ?) or r.global) order by r.id;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 11 00 2,802 804ms 0ms 01 1,496 455ms 0ms 02 933 297ms 0ms 03 803 254ms 0ms 04 565 178ms 0ms 05 450 127ms 0ms 06 1,168 359ms 0ms 07 1,126 328ms 0ms 08 4,889 1s386ms 0ms 09 12,856 4s129ms 0ms 10 32,368 10s735ms 0ms 11 33,884 10s425ms 0ms 12 45,516 14s579ms 0ms 13 36,099 11s499ms 0ms 14 26,191 7s831ms 0ms 15 24,205 7s311ms 0ms 16 26,345 7s871ms 0ms 17 26,712 7s969ms 0ms 18 22,503 6s920ms 0ms 19 13,562 4s259ms 0ms 20 9,895 2s820ms 0ms 21 7,326 2s257ms 0ms 22 4,265 1s321ms 0ms -
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 = 1063) OR r.global) ORDER BY r.id;
Date: 2025-01-11 10:41:17 Duration: 2ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'shipping.policy' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 1300) OR r.global) ORDER BY r.id;
Date: 2025-01-11 18:18:58 Duration: 2ms
-
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 = 1289) OR r.global) ORDER BY r.id;
Date: 2025-01-11 12:03:08 Duration: 2ms
11 314,620 57s142ms 0ms 9ms 0ms select "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 11 00 2,420 403ms 0ms 01 1,837 310ms 0ms 02 1,701 311ms 0ms 03 2,172 398ms 0ms 04 1,901 349ms 0ms 05 961 139ms 0ms 06 2,316 381ms 0ms 07 1,667 255ms 0ms 08 4,995 703ms 0ms 09 21,021 3s625ms 0ms 10 30,028 5s976ms 0ms 11 30,692 5s681ms 0ms 12 34,665 6s730ms 0ms 13 28,550 5s479ms 0ms 14 29,467 5s198ms 0ms 15 22,509 3s854ms 0ms 16 23,481 4s100ms 0ms 17 20,812 3s741ms 0ms 18 18,719 3s337ms 0ms 19 13,373 2s490ms 0ms 20 9,307 1s637ms 0ms 21 6,666 1s113ms 0ms 22 5,360 920ms 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 (8007280);
Date: 2025-01-11 17:21:56 Duration: 9ms
-
SELECT "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" FROM "res_partner" WHERE "res_partner".id IN (1);
Date: 2025-01-11 09:01:24 Duration: 8ms
-
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 (8007682, 8007683, 8007684, 8007685, 8007692, 8007199, 8007698, 8005165, 8007701, 8007710, 8007711, 8007713, 8007717, 8007721, 8005172, 8005181, 8007218, 8005187, 8005190, 8005191, 8005192, 8005197, 8005203, 8005211, 8007250, 8005218, 8005219, 8005079, 8005224, 8005226, 8007265, 8005231, 8007268, 8007270, 8005235, 8007275, 8005240, 8007277, 8004835, 8005111, 8005243, 8007279, 8005245, 8005248, 8004842, 8005253, 8007290, 8005255, 8005258, 8007297, 8005265, 8007301, 8005266, 8007304, 8006175, 8006193, 8006205, 8006210, 8006214, 8006217, 8006218, 8006224, 8006225, 8006230, 8006246, 8006255, 8006258, 8006259, 8006266, 8006267, 8006285, 8005305, 8005311, 8007358, 8006445, 8006446, 8005323, 8006448, 8006449, 8006450, 8006451, 8006447, 8005325, 8006473, 8006474, 8006478, 8006484, 8006487, 8006488, 8006490, 8006494, 8005334, 8006516, 8006517, 8006518, 8006519, 8006520, 8006521, 8006522, 8006523, 8006524, 8006525, 8006526, 8006527, 8006539, 8006540, 8006543, 8006545, 8006546, 8006547, 8006548, 8007378, 8006566, 8007383, 8006571, 8006576, 8006577, 8006588, 8006589, 8006591, 8006593, 8006596, 8006597, 8006599, 8006600, 8006610, 8006611, 8006612, 8006614, 8006618, 8006629, 8006631, 8006634, 8006635, 8006638, 8006639, 8006640, 8006644, 8006652, 8006661, 8006663, 8006664, 8006665, 8006666, 8006667, 8006668, 8006669, 8006673, 8006674, 8006676, 8007405, 8006683, 8006684, 8006692, 8006695, 8006696, 8006697, 8006698, 8006704, 8006705, 8006709, 8006715, 8006716, 8006717, 8006721, 8006726, 8006727, 8006728, 8006729, 8006732, 8006736, 8006737, 8006738, 8006739, 8006740, 8006741, 8006758, 8006759, 8006760, 8004735, 8004737, 8004741, 8004742, 8004743, 8004745, 8004749, 8004753, 8004755, 8007431, 8004770, 8004771, 8004773, 8004776, 8004783, 8006833, 8004785, 8006835, 8004788, 8004786, 8004790, 8004791, 8004995, 8004799, 8004800, 8004996, 8004802, 8004804, 8004806, 8006855, 8006856, 8006857, 8006858, 8004998, 8006860, 8004811, 8004813, 8006865, 8004818, 8004819, 8004820, 8006872, 8004827, 8004830, 8004831, 8004832, 8006881, 8006882, 8006883, 8004834, 8006885, 8004837, 8004833, 8004840, 8006889, 8005411, 8004841, 8006892, 8006893, 8004844, 8006895, 8004848, 8004847, 8007041, 8004849, 8004850, 8004846, 8006894, 8006915, 8006916, 8006917, 8006918, 8006920, 8006922, 8006923, 8006924, 8006925, 8006926, 8006927, 8006930, 8006931, 8006935, 8006940, 8006941, 8006942, 8006945, 8006946, 8007459, 8006956, 8006962, 8006973, 8006977, 8006978, 8006979, 8006980, 8006983, 8006984, 8006991, 8006992, 8006993, 8007002, 8007004, 8007009, 8007013, 8007015, 8007018, 8007019, 8007022, 8007025, 8004978, 8004979, 8004980, 8004981, 8004982, 8004983, 8004984, 8004985, 8004986, 8007035, 8004987, 8004988, 8007038, 8004991, 8004992, 8004990, 8004994, 8004993, 8004989, 8004997, 8007044, 8004999, 8007048, 8005000, 8005002, 8005003, 8005004, 8007052, 8005006, 8005005, 8005001, 8007057, 8005009, 8005010, 8005012, 8005013, 8005014, 8005015, 8005016, 8005008, 8005019, 8005021, 8005022, 8005023, 8005024, 8005025, 8005027, 8005028, 8005029, 8005030, 8005031, 8005032, 8005033, 8005034, 8005038, 8005039, 8005040, 8005041, 8005042, 8005043, 8005044, 8005046, 8005048, 8005049, 8005050, 8005051, 8005052, 8005053, 8005055, 8005056, 8005057, 8005058, 8005061, 8005062, 8005063, 8005064, 8005065, 8005066, 8005067, 8005068, 8005069, 8005070, 8005071, 8005072, 8005073, 8005074, 8007123, 8005076, 8005077, 8007126, 8007124, 8005080, 8005081, 8005075, 8005082, 8005084, 8005085, 8005083, 8005078, 8005088, 8005089, 8005090, 8005091, 8005092, 8005093, 8005094, 8005095, 8005096, 8005097, 8005098, 8005099, 8005100, 8005101, 8005102, 8005103, 8005104, 8007153, 8005106, 8005107, 8007156, 8005109, 8005110, 8005108, 8005112, 8005113, 8005114, 8005115, 8007164, 8005117, 8005118, 8007166, 8005119, 8005121, 8007170, 8007165, 8005122, 8005125, 8005126, 8005124, 8005123, 8005128, 8005130, 8005131, 8005132, 8005133, 8005134, 8005135, 8007183, 8005137, 8007186, 8005139, 8005140, 8005141, 8005142, 8007188, 8005144, 8005145, 8005146, 8005147, 8005148, 8005149, 8005150, 8005151, 8005152, 8005153, 8005154, 8007203, 8005155, 8005156, 8007206, 8005158, 8005160, 8007209, 8007210, 8005163, 8005162, 8007213, 8005166, 8005164, 8005159, 8005161, 8005170, 8005171, 8007220, 8005173, 8005174, 8005175, 8005176, 8005177, 8005169, 8007222, 8005180, 8007228, 8005182, 8007230, 8005184, 8005183, 8007234, 8007235, 8005188, 8007236, 8007237, 8007238, 8005189, 8007241, 8005194, 8005195, 8005196, 8005193, 8005198, 8005199, 8007248, 8005200, 8005202, 8005201, 8007252, 8005205, 8005206, 8005207, 8005204, 8005209, 8005210, 8005208, 8005212, 8007258, 8005214, 8005215, 8005216, 8007263, 8005217, 8005213, 8005220, 8005221, 8005222, 8005223, 8007269, 8005225, 8007273, 8005227, 8007276, 8005229, 8005230, 8005228, 8005232, 8005233, 8007282, 8005234, 8005236, 8005237, 8005238, 8005239, 8007288, 8007286, 8005242, 8007285, 8005244, 8007291, 8005246, 8005247, 8007295, 8005249, 8007292, 8007299, 8005252, 8005251, 8005254, 8005250, 8005256, 8005257, 8007306, 8007122, 8005260, 8005261, 8005262, 8005263, 8005264, 8007309, 8007314, 8005267, 8005268, 8007312, 8005270, 8005271, 8005272, 8005273, 8007321, 8005275, 8005276, 8005277, 8005278, 8005279, 8007328, 8005281, 8005280, 8005283, 8005284, 8005285, 8005286, 8005287, 8005288, 8005289, 8005290, 8005291, 8005292, 8005293, 8005294, 8005295, 8005297, 8005299, 8007349, 8005302, 8005303, 8005304, 8005301, 8005306, 8005307, 8005308, 8007357, 8005309, 8007359, 8005312, 8005310, 8007362, 8007363, 8005316, 8007365, 8005318, 8007367, 8005319, 8007370, 8005322, 8005324, 8007372, 8007373, 8005326, 8007376, 8005328, 8005330, 8007379, 8005329, 8007381, 8005332, 8005335, 8005336, 8007385, 8005338, 8005337, 8005340, 8007388, 8005341, 8005339, 8005344, 8007390, 8005346, 8005345, 8005105, 8007401, 8005355, 8005356, 8005357, 8007406, 8005358, 8007408, 8005361, 8007404, 8007407, 8005364, 8005365, 8005359, 8005360, 8005363, 8005362, 8005372, 8005373, 8005375, 8005376, 8005377, 8007424, 8005379, 8007428, 8007429, 8005382, 8005383, 8005384, 8007433, 8005385, 8007432, 8007430, 8005381, 8005390, 8007120, 8005392, 8005394, 8005395, 8005396, 8005397, 8005398, 8005399, 8005400, 8005401, 8005402, 8005403, 8005404, 8005405, 8005406, 8005407, 8005408, 8005409, 8005410, 8005116, 8005412, 8005413, 8005414, 8005415, 8005416, 8005417, 8005418, 8005419, 8005420, 8005421, 8005422, 8005423, 8005424, 8005425, 8005426, 8005427, 8005428, 8005429, 8005430, 8005431, 8005432, 8007157, 8005439, 8005440, 8005441, 8005442, 8005443, 8005444, 8005446, 8005447, 8005448, 8005449, 8005450, 8005451, 8005452, 8005453, 8005454, 8005455, 8005456, 8005457, 8005458, 8005459, 8005460, 8005461, 8005462, 8005463, 8005464, 8005465, 8005467, 8005468, 8005469, 8005470, 8005129, 8005472, 8005473, 8005471, 8005476, 8005479, 8005481, 8005484, 8005488, 8005491, 8005492, 8005136, 8007125, 8007561, 8005138, 8007566, 8007570, 8007591, 8007615, 8007184, 8007638, 8007644, 8007649, 8007657, 8007658, 8005157, 8007661, 8007662, 8007664, 8007668);
Date: 2025-01-11 13:15:45 Duration: 2ms
12 253,819 43s443ms 0ms 2ms 0ms select ? from res_groups_users_rel where uid = ? and gid in ( select res_id from ir_model_data where module = ? and name = ? and model = ?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jan 11 00 2,578 345ms 0ms 01 1,638 226ms 0ms 02 1,002 129ms 0ms 03 901 110ms 0ms 04 725 87ms 0ms 05 622 83ms 0ms 06 1,022 145ms 0ms 07 1,068 147ms 0ms 08 5,585 775ms 0ms 09 12,149 1s877ms 0ms 10 24,695 4s557ms 0ms 11 26,022 4s464ms 0ms 12 31,699 5s969ms 0ms 13 27,183 4s996ms 0ms 14 19,218 3s90ms 0ms 15 18,576 3s12ms 0ms 16 18,121 3s51ms 0ms 17 18,981 3s316ms 0ms 18 16,190 2s812ms 0ms 19 9,653 1s632ms 0ms 20 7,137 1s129ms 0ms 21 5,737 957ms 0ms 22 3,317 525ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1378 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2025-01-11 17:48:26 Duration: 2ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2025-01-11 11:55:22 Duration: 1ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_erp_manager' AND model = 'res.groups');
Date: 2025-01-11 12:07:27 Duration: 1ms
13 200,707 53s567ms 0ms 35ms 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 Jan 11 00 1,853 450ms 0ms 01 2,167 497ms 0ms 02 1,559 381ms 0ms 03 1,564 411ms 0ms 04 1,663 386ms 0ms 05 880 236ms 0ms 06 1,374 348ms 0ms 07 763 140ms 0ms 08 1,789 485ms 0ms 09 11,391 3s50ms 0ms 10 17,498 5s84ms 0ms 11 16,560 4s401ms 0ms 12 19,018 5s7ms 0ms 13 16,681 3s967ms 0ms 14 19,537 4s710ms 0ms 15 14,900 6s409ms 0ms 16 14,617 3s289ms 0ms 17 14,036 3s515ms 0ms 18 12,766 3s61ms 0ms 19 12,260 2s870ms 0ms 20 8,308 1s998ms 0ms 21 4,464 1s147ms 0ms 22 5,059 1s713ms 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 (41581606, 42034709, 41773539, 41921177, 41885217, 41667151, 41957487, 41987154, 41946426, 42044699, 41932101, 41562364, 41958270, 42042575, 41976900, 41958327, 41945716, 41983323, 41763401, 41991095, 41963112, 41799658, 41968790, 41871148, 41760677, 41989576, 42065146, 41572724, 41913251, 42058100, 42042060, 41792788, 41945407, 42044272, 42043915, 42044275, 42017129, 42013234, 42060546, 42010415, 42010424, 42010630, 42077264, 42010786, 41957797, 41957796, 41957801, 41958248, 41788083, 32662218, 41787720, 41788082, 41903615, 42021680, 41959607, 41416380, 42079460, 41974816, 41979334, 32652429, 41854222, 41878867, 32653094, 41907563, 41960350, 42015614, 41906316, 41904889, 41969850, 42063937, 41883344, 41979327, 41538976, 41898258, 32667713, 42015860, 41826521, 41931596, 42042352, 41931586, 42067712, 42038920, 42038952, 42038969, 42038909, 42012951, 41958298, 41460940, 32659677, 41991007, 41900061, 41898940, 41447738, 41462854, 41946432, 42062859, 41910590, 41972277, 41972278, 32669322, 42006766, 41788357, 41788336, 41957958, 41957946, 41957803, 32662239, 41957683, 32662235, 41923880, 41947060, 41989550, 41873498, 42081758, 41979169, 41979003, 41989687, 42034045, 42081748, 42019887, 41837926, 42077373, 41923312, 42019564, 42064616, 32652586, 41965020, 42065125, 41703542, 41957481, 42063876, 42065328, 41800805, 42016884, 41924730, 41954712, 41999155, 41605820, 41751827, 41923921, 41699197, 32668788, 41955230, 41945792, 41610144, 41977195, 41833653, 32669194, 41924748, 41926756, 32652172, 42021326, 42016752, 41928721, 41991024, 41995917, 41611903, 32644436, 41863341, 41854122, 41762817, 41929771, 41955168, 41460947, 41838672, 41992098, 41973932, 41974204, 41683710, 42039453, 42039373, 41991294, 41574989, 41960117, 41995068, 42077502, 41970116, 42019799, 42042367, 41894418, 41970637, 41770837, 42024944, 41893834, 42048636, 41964037, 41997109, 42076939, 42063042, 42013265, 41509273, 41977595, 41844365, 42084343, 42021334, 41884068, 41742620, 42061099, 41713605, 41772527, 41999307, 42067670, 41850797, 42064419, 42064455, 42064445, 42039101, 41675366, 41955165, 41955166, 39784911, 32652221, 32669256, 41747438, 42003244, 42003069, 41423911, 42003296, 42003321, 32667778, 41981415, 41659917, 42067073, 41833760, 42010666, 41958341, 41985777, 42064869, 41736331, 42044266, 40815119, 42039306, 41957983, 41955144, 41924777, 41922103, 42006838, 41757922, 41924235, 41539789, 41680854, 42064982, 42048617, 41996332, 42024916, 41991057, 39976041, 41933435, 41919168, 41898637, 41972631, 41898627, 42081767, 41864540, 41919232, 42009876, 42038971, 41918746, 41922027);
Date: 2025-01-11 17:21:59 Duration: 35ms
-
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 (41997598, 41995086, 32669587, 41966539, 41855828, 41854587, 41928825, 41989446, 42021423, 42006367, 41903039, 41921511, 41533033, 42068745, 42039856, 42082156, 41990210, 41549963, 41973785, 41929809, 41957474, 42013124, 41975850, 41973810, 41972005, 41374912, 42004302, 42077337, 42044368, 42068363, 42016839, 42006447, 41999280, 42061048, 41947188, 41953485, 41817531, 41934592, 41831498, 41530981, 41996077, 41970339, 42039654, 41854533, 41857854, 41992712, 42028601, 42004674, 42004676, 42004679, 41898827, 41932304, 42008017, 41895004, 41995882, 41889087, 42017688, 42039432, 42043908, 42077580, 42065862, 42059904, 40914740, 42068250, 41416379, 41805558, 41814520, 32651960, 41987463, 42045455, 41892670, 42072814, 41868835, 42090900, 42062823, 42066098, 42066101, 42066307, 41751817, 41978764, 41978754, 42084375, 41978865, 41978839, 41838047, 41974974, 42027251, 42018611, 42087503, 42005053, 42065298, 42044254, 41890922, 42017063, 42017120, 42058066, 41615576, 41923506, 42001615, 42046066, 42016979, 41854454, 41947873, 42054914, 41987778, 32664347, 42066916, 42066995, 42017791, 42017818, 42046753, 41985782, 32664366, 42017524, 41999680, 41963355, 32659720);
Date: 2025-01-11 17:21:56 Duration: 27ms
-
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 (42012761);
Date: 2025-01-11 10:51:51 Duration: 14ms
14 190,577 1d4h31m33s 451ms 997ms 538ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jan 11 00 3,601 30m33s 509ms 01 4,313 37m27s 521ms 02 4,617 38m46s 503ms 03 4,136 34m12s 496ms 04 3,562 29m48s 501ms 05 1,640 14m9s 517ms 06 4,817 39m49s 496ms 07 1,481 12m3s 488ms 08 2,459 20m27s 499ms 09 11,209 1h37m24s 521ms 10 18,357 2h50m38s 557ms 11 13,868 2h3m11s 532ms 12 15,551 2h22m52s 551ms 13 15,022 2h19m7s 555ms 14 8,325 1h11m35s 515ms 15 7,478 1h4m35s 518ms 16 8,482 1h13m58s 523ms 17 9,219 1h24m54s 552ms 18 10,471 1h36m56s 555ms 19 13,254 2h6m48s 574ms 20 8,995 1h22m31s 550ms 21 9,780 1h28m21s 542ms 22 9,940 1h31m18s 551ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4377505)) AND (("shipping_track"."id" not in (36143258, 36143258)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 13:35:43 Duration: 997ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4377100)) AND (("shipping_track"."id" not in (36101423, 36101423)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 10:45:37 Duration: 930ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4377117)) AND (("shipping_track"."id" not in (36101602, 36101602)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 10:46:07 Duration: 920ms
15 150,916 10s306ms 0ms 0ms 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 Jan 11 00 1,110 63ms 0ms 01 942 55ms 0ms 02 1,050 63ms 0ms 03 1,528 92ms 0ms 04 1,355 78ms 0ms 05 446 26ms 0ms 06 1,275 70ms 0ms 07 571 31ms 0ms 08 1,489 87ms 0ms 09 10,026 634ms 0ms 10 14,934 1s111ms 0ms 11 14,255 970ms 0ms 12 15,999 1s201ms 0ms 13 13,523 1s19ms 0ms 14 16,202 1s34ms 0ms 15 10,281 617ms 0ms 16 11,082 687ms 0ms 17 10,015 644ms 0ms 18 8,458 606ms 0ms 19 6,977 546ms 0ms 20 4,498 291ms 0ms 21 2,359 160ms 0ms 22 2,541 208ms 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-01-11 17:21:56 Duration: 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-01-11 17:21:56 Duration: 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-01-11 18:07:05 Duration: 0ms
16 146,672 8s249ms 0ms 0ms 0ms select "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" from "ir_rule" where "ir_rule".id in (...);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jan 11 00 1,200 59ms 0ms 01 669 33ms 0ms 02 368 17ms 0ms 03 278 13ms 0ms 04 199 9ms 0ms 05 199 9ms 0ms 06 460 24ms 0ms 07 464 23ms 0ms 08 2,219 109ms 0ms 09 5,407 296ms 0ms 10 14,208 867ms 0ms 11 14,725 834ms 0ms 12 19,934 1s210ms 0ms 13 15,801 937ms 0ms 14 11,267 595ms 0ms 15 10,498 562ms 0ms 16 11,447 612ms 0ms 17 11,817 642ms 0ms 18 10,125 558ms 0ms 19 5,906 323ms 0ms 20 4,335 220ms 0ms 21 3,249 183ms 0ms 22 1,897 102ms 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-01-11 13:45:58 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 (89);
Date: 2025-01-11 17:16:40 Duration: 0ms
-
SELECT "ir_rule"."id" AS "id", "ir_rule"."name" AS "name", "ir_rule"."active" AS "active", "ir_rule"."model_id" AS "model_id", "ir_rule"."domain_force" AS "domain_force", "ir_rule"."perm_read" AS "perm_read", "ir_rule"."perm_write" AS "perm_write", "ir_rule"."perm_create" AS "perm_create", "ir_rule"."perm_unlink" AS "perm_unlink", "ir_rule"."create_uid" AS "create_uid", "ir_rule"."create_date" AS "create_date", "ir_rule"."write_uid" AS "write_uid", "ir_rule"."write_date" AS "write_date", "ir_rule"."global" AS "global" FROM "ir_rule" WHERE "ir_rule".id IN (98, 99);
Date: 2025-01-11 18:17:44 Duration: 0ms
17 142,275 16s759ms 0ms 0ms 0ms select rule_group_rel.rule_group_id, rule_group_rel.group_id from rule_group_rel, "res_groups" where ? = ? and rule_group_rel.rule_group_id in (...) and rule_group_rel.group_id = res_groups.id order by coalesce("res_groups"."name" ->> ?, "res_groups"."name" ->> ?);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 11 00 1,185 123ms 0ms 01 648 67ms 0ms 02 365 36ms 0ms 03 273 28ms 0ms 04 199 20ms 0ms 05 187 18ms 0ms 06 454 49ms 0ms 07 461 46ms 0ms 08 2,143 223ms 0ms 09 5,285 615ms 0ms 10 13,915 1s791ms 0ms 11 14,301 1s688ms 0ms 12 19,494 2s470ms 0ms 13 15,395 1s911ms 0ms 14 11,048 1s215ms 0ms 15 10,109 1s125ms 0ms 16 11,113 1s237ms 0ms 17 11,303 1s292ms 0ms 18 9,602 1s123ms 0ms 19 5,709 660ms 0ms 20 4,087 430ms 0ms 21 3,127 369ms 0ms 22 1,872 211ms 0ms -
SELECT rule_group_rel.rule_group_id, rule_group_rel.group_id FROM rule_group_rel, "res_groups" WHERE 1 = 1 AND rule_group_rel.rule_group_id IN (99) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-01-11 15:22:38 Duration: 0ms
-
SELECT rule_group_rel.rule_group_id, rule_group_rel.group_id FROM rule_group_rel, "res_groups" WHERE 1 = 1 AND rule_group_rel.rule_group_id IN (98, 99) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-01-11 11:45:45 Duration: 0ms
-
SELECT rule_group_rel.rule_group_id, rule_group_rel.group_id FROM rule_group_rel, "res_groups" WHERE 1 = 1 AND rule_group_rel.rule_group_id IN (2, 10) AND rule_group_rel.group_id = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-01-11 18:06:23 Duration: 0ms
18 124,023 24s991ms 0ms 2ms 0ms select res_groups_users_rel.uid, res_groups_users_rel.gid from res_groups_users_rel, "res_groups" where ? = ? and res_groups_users_rel.uid in (...) and res_groups_users_rel.gid = res_groups.id order by coalesce("res_groups"."name" ->> ?, "res_groups"."name" ->> ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 11 00 988 183ms 0ms 01 607 114ms 0ms 02 381 70ms 0ms 03 364 67ms 0ms 04 293 54ms 0ms 05 178 32ms 0ms 06 460 87ms 0ms 07 427 81ms 0ms 08 1,797 330ms 0ms 09 5,037 1s24ms 0ms 10 12,450 2s643ms 0ms 11 12,654 2s527ms 0ms 12 16,905 3s535ms 0ms 13 13,530 2s814ms 0ms 14 9,566 1s841ms 0ms 15 8,769 1s718ms 0ms 16 9,406 1s846ms 0ms 17 9,531 1s878ms 0ms 18 8,174 1s643ms 0ms 19 4,975 1s9ms 0ms 20 3,485 665ms 0ms 21 2,554 521ms 0ms 22 1,492 300ms 0ms -
SELECT res_groups_users_rel.uid, res_groups_users_rel.gid FROM res_groups_users_rel, "res_groups" WHERE 1 = 1 AND res_groups_users_rel.uid IN (1228) AND res_groups_users_rel.gid = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-01-11 17:21:56 Duration: 2ms
-
SELECT res_groups_users_rel.uid, res_groups_users_rel.gid FROM res_groups_users_rel, "res_groups" WHERE 1 = 1 AND res_groups_users_rel.uid IN (937) AND res_groups_users_rel.gid = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-01-11 09:53:10 Duration: 1ms
-
SELECT res_groups_users_rel.uid, res_groups_users_rel.gid FROM res_groups_users_rel, "res_groups" WHERE 1 = 1 AND res_groups_users_rel.uid IN (1113) AND res_groups_users_rel.gid = res_groups.id ORDER BY COALESCE("res_groups"."name" ->> 'ar_001', "res_groups"."name" ->> 'en_US');
Date: 2025-01-11 20:12:28 Duration: 1ms
19 120,698 1h28m12s 32ms 128ms 43ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jan 11 00 1,775 1m13s 41ms 01 2,109 1m27s 41ms 02 1,615 1m7s 41ms 03 819 34s659ms 42ms 04 1,053 44s430ms 42ms 05 254 10s435ms 41ms 06 1,423 59s402ms 41ms 07 668 28s67ms 42ms 08 786 33s25ms 42ms 09 7,232 5m14s 43ms 10 13,041 10m4s 46ms 11 11,584 8m35s 44ms 12 12,763 9m43s 45ms 13 8,924 6m50s 45ms 14 7,085 5m4s 43ms 15 5,767 4m7s 42ms 16 6,944 4m59s 43ms 17 6,407 4m35s 43ms 18 7,258 5m8s 42ms 19 8,374 6m4s 43ms 20 5,503 3m50s 41ms 21 4,251 2m59s 42ms 22 5,063 3m33s 42ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (4353769)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-01-11 17:21:58 Duration: 128ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3562471)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-01-11 17:21:58 Duration: 125ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (4288339)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-01-11 12:38:29 Duration: 110ms
20 115,584 8s832ms 0ms 14ms 0ms select "urgent_warehouse"."id" AS "id", "urgent_warehouse"."active" AS "active", "urgent_warehouse"."name" AS "name", "urgent_warehouse"."create_uid" AS "create_uid", "urgent_warehouse"."create_date" AS "create_date", "urgent_warehouse"."write_uid" AS "write_uid", "urgent_warehouse"."write_date" AS "write_date" from "urgent_warehouse" where "urgent_warehouse".id in (...);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jan 11 00 1,377 78ms 0ms 01 1,198 55ms 0ms 02 1,524 65ms 0ms 03 1,653 63ms 0ms 04 1,387 54ms 0ms 05 366 14ms 0ms 06 1,488 67ms 0ms 07 372 22ms 0ms 08 1,095 84ms 0ms 09 6,502 419ms 0ms 10 10,507 921ms 0ms 11 10,952 868ms 0ms 12 13,550 1s227ms 0ms 13 9,958 889ms 0ms 14 12,294 790ms 0ms 15 7,049 535ms 0ms 16 7,865 609ms 0ms 17 7,465 619ms 0ms 18 6,172 527ms 0ms 19 4,787 355ms 0ms 20 3,686 246ms 0ms 21 2,447 197ms 0ms 22 1,890 118ms 0ms -
SELECT "urgent_warehouse"."id" AS "id", "urgent_warehouse"."active" AS "active", "urgent_warehouse"."name" AS "name", "urgent_warehouse"."create_uid" AS "create_uid", "urgent_warehouse"."create_date" AS "create_date", "urgent_warehouse"."write_uid" AS "write_uid", "urgent_warehouse"."write_date" AS "write_date" FROM "urgent_warehouse" WHERE "urgent_warehouse".id IN (42, 18, 61, 16, 12, 100, 11, 36, 66, 70, 85, 52, 81, 50, 41, 67, 60, 64, 62, 69, 53);
Date: 2025-01-11 09:42:19 Duration: 14ms
-
SELECT "urgent_warehouse"."id" AS "id", "urgent_warehouse"."active" AS "active", "urgent_warehouse"."name" AS "name", "urgent_warehouse"."create_uid" AS "create_uid", "urgent_warehouse"."create_date" AS "create_date", "urgent_warehouse"."write_uid" AS "write_uid", "urgent_warehouse"."write_date" AS "write_date" FROM "urgent_warehouse" WHERE "urgent_warehouse".id IN (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109);
Date: 2025-01-11 09:01:30 Duration: 1ms
-
SELECT "urgent_warehouse"."id" AS "id", "urgent_warehouse"."active" AS "active", "urgent_warehouse"."name" AS "name", "urgent_warehouse"."create_uid" AS "create_uid", "urgent_warehouse"."create_date" AS "create_date", "urgent_warehouse"."write_uid" AS "write_uid", "urgent_warehouse"."write_date" AS "write_date" FROM "urgent_warehouse" WHERE "urgent_warehouse".id IN (46, 14, 116, 73, 42, 81);
Date: 2025-01-11 12:11:49 Duration: 1ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1h48m58s 1h48m58s 1h48m58s 1 1h48m58s 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" != ?) or "shipping_policy"."state" is null)) and (("shipping_policy"."search_name"::text ilike ?) and ((("shipping_policy"."client_date" >= ?) and ("shipping_policy"."client_date" <= ?)) and ("shipping_policy"."return_date" is null and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" 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 (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) 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 ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 11 12 1 1h48m58s 1h48m58s -
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" >= '2024-12-01') AND ("shipping_policy"."client_date" <= '2024-12-31')) AND ("shipping_policy"."return_date" IS NULL AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%مجدي محمدى توفيق (العجمي)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%احمد محمود يحيى(القنطرة)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%معاذ ابراهيم خليل ابراهيم(المنشية)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%محمود فضل الله محمود(المعادى)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%اسكندرية سموحة%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%الرمل قبلى%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%مدينة نصر%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%العبور%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" 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-01-11 12:05:38 Duration: 1h48m58s
2 48m41s 48m41s 48m41s 1 48m41s 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" where ((("shipping_policy"."active" = true) and (("shipping_policy"."state" != ?) or "shipping_policy"."state" is null)) and (("shipping_policy"."search_name"::text ilike ?) and ((("shipping_policy"."client_date" >= ?) and ("shipping_policy"."client_date" <= ?)) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."create_uid" in ( select "res_users".id from "res_users" left join "res_partner" AS "res_users__partner_id" on ("res_users"."partner_id" = "res_users__partner_id"."id") where (("res_users__partner_id"."name"::text not ilike ?) or "res_users__partner_id"."name" is null) and (("res_users"."share" is null or "res_users"."share" = false) or exists ( select ? from "res_company_users_rel" AS "res_users__company_ids" where "res_users__company_ids"."user_id" = "res_users".id and "res_users__company_ids"."cid" in (...))) and ((("res_users__partner_id"."partner_share" is null or "res_users__partner_id"."partner_share" = false) or (("res_users__partner_id"."company_id" in (...)) or "res_users__partner_id"."company_id" is null)) and ((("res_users__partner_id"."type" != ?) or "res_users__partner_id"."type" is null) or "res_users__partner_id"."type" is null)))) or "shipping_policy"."create_uid" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) and ((("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where (("urgent_office"."name"::text not ilike ?) or "urgent_office"."name" is null))) or "shipping_policy"."from_office" is null) 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" != ?) or "res_partner"."display_name" is null) and (("res_partner"."email" != ?) or "res_partner"."email" is null)) and (("res_partner"."ref" != ?) or "res_partner"."ref" is null)) and (("res_partner"."vat" != ?) or "res_partner"."vat" is null)) and (("res_partner"."company_registry" != ?) 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 (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) 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" order by "total_shipping_price" desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 11 13 1 48m41s 48m41s -
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" 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" >= '2024-12-01') AND ("shipping_policy"."client_date" <= '2024-12-31')) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%احمد محمود يحيى(القنطرة)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%مجدي محمدى توفيق (العجمي)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%محمود فضل الله محمود(المعادى)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."create_uid" in ( SELECT "res_users".id FROM "res_users" LEFT JOIN "res_partner" AS "res_users__partner_id" ON ("res_users"."partner_id" = "res_users__partner_id"."id") WHERE (("res_users__partner_id"."name"::text not ilike '%معاذ ابراهيم خليل ابراهيم(المنشية)%') OR "res_users__partner_id"."name" IS NULL) AND (("res_users"."share" IS NULL or "res_users"."share" = false) OR EXISTS ( SELECT 1 FROM "res_company_users_rel" AS "res_users__company_ids" WHERE "res_users__company_ids"."user_id" = "res_users".id AND "res_users__company_ids"."cid" IN (1))) AND ((("res_users__partner_id"."partner_share" IS NULL or "res_users__partner_id"."partner_share" = false) OR (("res_users__partner_id"."company_id" in (1)) OR "res_users__partner_id"."company_id" IS NULL)) AND ((("res_users__partner_id"."type" != 'private') OR "res_users__partner_id"."type" IS NULL) OR "res_users__partner_id"."type" IS NULL)))) OR "shipping_policy"."create_uid" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%اسكندرية سموحة%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%الرمل قبلى%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%مدينة نصر%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) AND ((("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE (("urgent_office"."name"::text not ilike '%العبور%') OR "urgent_office"."name" IS NULL))) OR "shipping_policy"."from_office" IS NULL) 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" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') OR "res_partner"."display_name" IS NULL) AND (("res_partner"."email" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') OR "res_partner"."email" IS NULL)) AND (("res_partner"."ref" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') OR "res_partner"."ref" IS NULL)) AND (("res_partner"."vat" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') OR "res_partner"."vat" IS NULL)) AND (("res_partner"."company_registry" != 'رجب حمدان ابراهيم احمد (مكتب 16 ابيس)') 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" ORDER BY "total_shipping_price" DESC LIMIT 80;
Date: 2025-01-11 13:35:24 Duration: 48m41s
3 0ms 25m20s 1m35s 47 1h14m42s update "res_users" set "exp_date" = ?, "last_update" = ?, "write_date" = ?, "write_uid" = ? where id in (...);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 11 08 3 0ms 0ms 09 3 0ms 0ms 10 4 5ms 1ms 11 6 5ms 0ms 12 3 6ms 2ms 13 5 7m3s 1m24s 14 2 1ms 0ms 15 3 12m31s 4m10s 16 4 18m54s 4m43s 17 5 10m52s 2m10s 18 1 0ms 0ms 19 3 0ms 0ms 20 1 0ms 0ms 21 4 25m20s 6m20s -
UPDATE "res_users" SET "exp_date" = '2025-01-11 20:37:00.412701', "last_update" = '2025-01-11 19:52:00.412719', "write_date" = '2025-01-11 19:52:00.072856', "write_uid" = 1223 WHERE id IN (1223);
Date: 2025-01-11 21:17:20 Duration: 25m20s
-
UPDATE "res_users" SET "exp_date" = '2025-01-11 15:30:26.880048', "last_update" = '2025-01-11 14:45:26.880071', "write_date" = '2025-01-11 14:45:26.548019', "write_uid" = 959 WHERE id IN (959);
Date: 2025-01-11 16:04:21 Duration: 18m54s
-
UPDATE "res_users" SET "exp_date" = '2025-01-11 14:37:48.906892', "last_update" = '2025-01-11 13:52:48.906911', "write_date" = '2025-01-11 13:52:48.574095', "write_uid" = 1 WHERE id IN (867);
Date: 2025-01-11 15:05:20 Duration: 12m31s
4 0ms 41m22s 1m4s 350 6h17m57s update "res_users" set "exp_date" = ?, "last_update" = ?, "sid" = ?, "write_date" = ?, "write_uid" = ? where id in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 11 00 3 0ms 0ms 01 2 1ms 0ms 02 1 1ms 1ms 03 3 3ms 1ms 05 2 0ms 0ms 06 1 0ms 0ms 07 1 1ms 1ms 08 16 5ms 0ms 09 33 8ms 0ms 10 37 44m3s 1m11s 11 35 27m58s 47s957ms 12 48 49m57s 1m2s 13 22 24m24s 1m6s 14 22 43s614ms 1s982ms 15 18 19ms 1ms 16 19 11m56s 37s735ms 17 18 23ms 1ms 18 32 3h7m28s 5m51s 19 13 6ms 0ms 20 16 31m23s 1m57s 21 4 4ms 1ms 22 4 4ms 1ms -
UPDATE "res_users" SET "exp_date" = '2025-01-11 09:03:58.315553', "last_update" = '2025-01-11 08:18:58.315580', "sid" = '881c71b0bb057d7f37cea8a5d555b5225c857846', "write_date" = '2025-01-11 08:18:57.920152', "write_uid" = 910 WHERE id IN (910);
Date: 2025-01-11 10:00:20 Duration: 41m22s
-
UPDATE "res_users" SET "exp_date" = '2025-01-11 18:07:21.113393', "last_update" = '2025-01-11 17:22:21.113414', "sid" = '305c8e11fe728b91ed13ed48830a2382c4f0eb9b', "write_date" = '2025-01-11 17:22:20.757343', "write_uid" = 1 WHERE id IN (903);
Date: 2025-01-11 18:43:20 Duration: 20m59s
-
UPDATE "res_users" SET "exp_date" = '2025-01-11 17:37:00.656897', "last_update" = '2025-01-11 16:52:00.656933', "sid" = '3fc74a0a1d5c6a47dda25bb2372507b71d881a58', "write_date" = '2025-01-11 16:52:00.265544', "write_uid" = 1 WHERE id IN (1049);
Date: 2025-01-11 18:11:20 Duration: 19m19s
5 0ms 56m2s 5s957ms 63,179 4d8h33m26s update res_users set sid = ?, last_update = ?, exp_date = ?, logged_in = ? where id = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jan 11 00 503 108ms 0ms 01 451 97ms 0ms 02 491 104ms 0ms 03 590 126ms 0ms 04 478 106ms 0ms 05 248 56ms 0ms 06 518 117ms 0ms 07 368 79ms 0ms 08 733 159ms 0ms 09 3,364 823ms 0ms 10 6,066 13h6m15s 7s777ms 11 6,483 6h52m44s 3s819ms 12 8,122 7h21m52s 3s264ms 13 6,827 21h24m47s 11s291ms 14 5,951 2h53m24s 1s748ms 15 4,670 6h49m42s 5s263ms 16 4,622 16h1m56s 12s487ms 17 3,848 10h58m1s 10s260ms 18 3,071 6h38m18s 7s781ms 19 2,424 673ms 0ms 20 1,573 11h20m13s 25s946ms 21 1,032 1h6m6s 3s843ms 22 746 182ms 0ms -
update res_users set sid = '12bc01f274daf324796772f45467e24d0d6b6eb7', last_update = '2025-01-11 08:04:18.278007', exp_date = '2025-01-11 08:49:18.278012', logged_in = 'TRUE' where id = 910;
Date: 2025-01-11 10:00:20 Duration: 56m2s
-
update res_users set sid = '12bc01f274daf324796772f45467e24d0d6b6eb7', last_update = '2025-01-11 08:04:18.277513', exp_date = '2025-01-11 08:49:18.277518', logged_in = 'TRUE' where id = 910;
Date: 2025-01-11 10:00:20 Duration: 56m2s
-
update res_users set sid = '12bc01f274daf324796772f45467e24d0d6b6eb7', last_update = '2025-01-11 08:05:24.939059', exp_date = '2025-01-11 08:50:24.939063', logged_in = 'TRUE' where id = 910;
Date: 2025-01-11 10:00:20 Duration: 54m56s
6 818ms 1s236ms 912ms 8,410 2h7m54s 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 Jan 11 00 171 2m33s 895ms 01 323 4m48s 893ms 09 9 8s616ms 957ms 10 4 3s593ms 898ms 11 1 1s7ms 1s7ms 12 145 2m17s 950ms 13 89 1m29s 1s5ms 14 7 6s377ms 911ms 15 431 6m32s 911ms 16 337 5m7s 911ms 17 1,409 21m38s 921ms 18 1,479 22m24s 909ms 19 1,787 27m32s 924ms 20 985 14m38s 892ms 21 244 3m35s 884ms 22 989 14m56s 906ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8959283')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))))) ORDER BY "policy_number"."id";
Date: 2025-01-11 17:44:25 Duration: 1s236ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9863227')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (70))))))))) ORDER BY "policy_number"."id";
Date: 2025-01-11 17:44:28 Duration: 1s226ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9693498')) 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-01-11 19:48:17 Duration: 1s220ms
7 456ms 1s856ms 546ms 38,140 5h47m36s select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 11 00 226 1m59s 527ms 01 124 1m8s 555ms 02 112 1m5s 581ms 03 183 1m37s 533ms 04 250 2m11s 526ms 05 51 26s683ms 523ms 06 209 1m52s 538ms 07 583 4m47s 493ms 08 716 5m59s 501ms 09 3,010 27m4s 539ms 10 3,211 31m22s 586ms 11 3,731 34m3s 547ms 12 3,574 34m1s 571ms 13 3,817 36m2s 566ms 14 2,742 24m6s 527ms 15 2,279 19m54s 524ms 16 2,924 25m34s 524ms 17 2,939 26m27s 540ms 18 2,679 24m17s 543ms 19 1,892 17m23s 551ms 20 1,333 11m54s 535ms 21 873 8m 549ms 22 682 6m14s 549ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3562471)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 17:21:58 Duration: 1s856ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (4353769)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 17:21:58 Duration: 1s795ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3891109)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 10:45:40 Duration: 1s97ms
8 451ms 997ms 538ms 190,577 1d4h31m33s 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 #8
Day Hour Count Duration Avg duration Jan 11 00 3,601 30m33s 509ms 01 4,313 37m27s 521ms 02 4,617 38m46s 503ms 03 4,136 34m12s 496ms 04 3,562 29m48s 501ms 05 1,640 14m9s 517ms 06 4,817 39m49s 496ms 07 1,481 12m3s 488ms 08 2,459 20m27s 499ms 09 11,209 1h37m24s 521ms 10 18,357 2h50m38s 557ms 11 13,868 2h3m11s 532ms 12 15,551 2h22m52s 551ms 13 15,022 2h19m7s 555ms 14 8,325 1h11m35s 515ms 15 7,478 1h4m35s 518ms 16 8,482 1h13m58s 523ms 17 9,219 1h24m54s 552ms 18 10,471 1h36m56s 555ms 19 13,254 2h6m48s 574ms 20 8,995 1h22m31s 550ms 21 9,780 1h28m21s 542ms 22 9,940 1h31m18s 551ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4377505)) AND (("shipping_track"."id" not in (36143258, 36143258)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 13:35:43 Duration: 997ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4377100)) AND (("shipping_track"."id" not in (36101423, 36101423)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 10:45:37 Duration: 930ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4377117)) AND (("shipping_track"."id" not in (36101602, 36101602)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2025-01-11 10:46:07 Duration: 920ms
9 213ms 569ms 276ms 13,504 1h2m8s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jan 11 00 499 2m9s 259ms 01 881 3m51s 263ms 02 508 2m16s 268ms 04 286 1m17s 269ms 05 429 1m52s 261ms 06 81 21s124ms 260ms 07 1 223ms 223ms 08 28 7s153ms 255ms 09 36 10s73ms 279ms 10 266 1m17s 289ms 11 45 12s107ms 269ms 12 101 31s527ms 312ms 13 105 31s849ms 303ms 14 202 53s943ms 267ms 15 368 1m42s 277ms 16 642 3m1s 282ms 17 755 3m30s 278ms 18 1,232 5m33s 270ms 19 2,377 11m20s 286ms 20 1,830 8m20s 273ms 21 1,585 7m22s 278ms 22 1,247 5m46s 278ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9807544')) 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-01-11 17:21:59 Duration: 569ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '487648')) 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-01-11 10:45:29 Duration: 444ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9826664')) 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-01-11 17:44:26 Duration: 438ms
10 179ms 569ms 266ms 14,825 1h5m52s select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?)))) order by "collection_policy"."id";Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 11 08 268 1m4s 240ms 09 2,318 10m2s 259ms 10 1,541 7m15s 282ms 11 981 4m24s 269ms 12 971 4m58s 307ms 13 1,513 7m11s 284ms 14 1,314 5m52s 268ms 15 2,737 11m32s 253ms 16 1,917 8m1s 251ms 17 423 1m51s 263ms 18 842 3m37s 258ms -
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" = '9685934')))) ORDER BY "collection_policy"."id";
Date: 2025-01-11 12:28:32 Duration: 569ms
-
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" = '9510648')))) ORDER BY "collection_policy"."id";
Date: 2025-01-11 12:28:32 Duration: 550ms
-
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" = '9657853')))) ORDER BY "collection_policy"."id";
Date: 2025-01-11 12:28:31 Duration: 534ms
11 183ms 400ms 259ms 3,838 16m35s select "collection_policy".id from "collection_policy" where (("collection_policy"."type" = ?) and ("collection_policy"."shipping_id" in ( select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where ("shipping_policy__policy_id"."name" = ?) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))))) order by "collection_policy"."id";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 11 08 54 12s947ms 239ms 09 312 1m16s 245ms 10 695 3m27s 299ms 11 458 1m56s 254ms 12 89 22s476ms 252ms 13 177 48s451ms 273ms 14 515 2m7s 247ms 15 361 1m27s 241ms 16 287 1m10s 246ms 17 257 1m4s 251ms 18 168 41s677ms 248ms 19 465 1m58s 254ms -
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" = '9744350') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2025-01-11 10:45:40 Duration: 400ms
-
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" = '9819646') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2025-01-11 10:45:27 Duration: 389ms
-
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" = '9672736') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2025-01-11 10:46:21 Duration: 389ms
12 92ms 846ms 227ms 43,361 2h44m10s 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 #12
Day Hour Count Duration Avg duration Jan 11 00 1,318 4m53s 222ms 01 2,392 8m10s 205ms 02 1,010 3m24s 202ms 04 566 1m36s 169ms 05 856 3m26s 240ms 06 160 34s295ms 214ms 08 52 7s21ms 135ms 09 88 19s820ms 225ms 10 510 2m9s 254ms 11 92 22s957ms 249ms 12 466 1m41s 217ms 13 378 1m37s 257ms 14 410 1m43s 252ms 15 1,576 5m57s 226ms 16 1,931 7m44s 240ms 17 4,262 16m25s 231ms 18 5,396 21m36s 240ms 19 8,254 32m26s 235ms 20 5,582 19m23s 208ms 21 3,622 13m40s 226ms 22 4,440 16m49s 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-01-11 17:31:46 Duration: 846ms
-
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-01-11 17:31:46 Duration: 845ms
-
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-01-11 19:38:01 Duration: 843ms
13 168ms 326ms 201ms 6,435 21m33s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jan 11 05 264 49s444ms 187ms 06 87 16s450ms 189ms 08 456 1m25s 188ms 09 1,429 4m49s 202ms 10 1,250 4m29s 215ms 11 518 1m44s 201ms 12 163 31s828ms 195ms 13 163 35s736ms 219ms 14 603 1m56s 193ms 15 361 1m9s 193ms 16 287 56s473ms 196ms 17 223 44s77ms 197ms 18 168 32s811ms 195ms 19 463 1m32s 199ms -
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" = '490839')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 13:44:49 Duration: 326ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9792293')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 13:44:49 Duration: 325ms
-
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" = '9803502')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 10:40:57 Duration: 310ms
14 162ms 332ms 200ms 72,344 4h2m17s 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 #14
Day Hour Count Duration Avg duration Jan 11 00 695 2m9s 185ms 01 816 2m32s 186ms 02 1,147 3m33s 186ms 03 1,157 3m36s 187ms 04 1,047 3m14s 186ms 05 1,346 4m11s 186ms 06 1,366 4m13s 185ms 07 593 1m50s 185ms 08 825 2m34s 187ms 09 7,320 24m9s 197ms 10 7,532 26m13s 208ms 11 4,529 15m7s 200ms 12 6,313 22m10s 210ms 13 6,061 21m9s 209ms 14 5,077 16m28s 194ms 15 5,804 18m33s 191ms 16 4,967 15m58s 192ms 17 1,759 5m39s 193ms 18 2,420 7m58s 197ms 19 641 2m6s 197ms 20 312 58s424ms 187ms 21 10,445 37m11s 213ms 22 172 34s29ms 197ms -
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" = '9672736')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 10:45:27 Duration: 332ms
-
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" = '9866657')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 13:35:42 Duration: 307ms
-
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" = '9777779')) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 10:40:57 Duration: 306ms
15 165ms 325ms 197ms 11,925 39m14s 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 #15
Day Hour Count Duration Avg duration Jan 11 00 2 354ms 177ms 01 113 20s826ms 184ms 02 71 13s121ms 184ms 04 100 18s501ms 185ms 05 1,015 3m9s 186ms 06 1,279 3m57s 185ms 07 593 1m50s 186ms 08 195 36s591ms 187ms 09 1,087 3m41s 204ms 10 1,679 5m49s 208ms 11 1,051 3m29s 199ms 12 1,480 5m11s 210ms 13 837 2m45s 197ms 14 700 2m16s 195ms 15 178 34s342ms 192ms 16 95 18s281ms 192ms 17 383 1m14s 194ms 18 188 36s796ms 195ms 19 178 34s978ms 196ms 20 312 58s528ms 187ms 21 218 40s679ms 186ms 22 171 33s879ms 198ms -
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" = '9887688')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 115))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 10:40:57 Duration: 325ms
-
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" = '9816015')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))) 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-01-11 12:38:00 Duration: 305ms
-
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" = '9817299')) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39))))) 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-01-11 12:38:09 Duration: 283ms
16 168ms 210ms 186ms 4,077 12m41s 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 #16
Day Hour Count Duration Avg duration Jan 11 00 679 2m6s 185ms 01 520 1m37s 188ms 02 997 3m5s 186ms 03 1,132 3m31s 187ms 04 682 2m7s 186ms 05 67 12s668ms 189ms -
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" = '9834290')) 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-01-11 01:54:46 Duration: 210ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9860379')) 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, 115)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2025-01-11 00:45:52 Duration: 210ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9690275')) 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-01-11 03:33:33 Duration: 210ms
17 119ms 244ms 143ms 5,490 13m8s 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 #17
Day Hour Count Duration Avg duration Jan 11 00 1 126ms 126ms 02 73 9s98ms 124ms 06 10 1s310ms 131ms 07 6 790ms 131ms 08 26 3s386ms 130ms 09 310 43s110ms 139ms 10 927 2m19s 150ms 11 1,048 2m30s 143ms 12 1,313 3m13s 147ms 13 536 1m18s 146ms 14 390 52s877ms 135ms 15 179 24s285ms 135ms 16 196 26s570ms 135ms 17 137 19s127ms 139ms 18 153 20s687ms 135ms 19 52 7s215ms 138ms 20 62 8s368ms 134ms 21 14 1s883ms 134ms 22 57 8s96ms 142ms -
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-01-11 10:40:57 Duration: 244ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 24)) 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-01-11 12:28:30 Duration: 233ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 36)) 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-01-11 10:45:25 Duration: 211ms
18 100ms 222ms 124ms 15,036 31m10s 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 #18
Day Hour Count Duration Avg duration Jan 11 00 1 122ms 122ms 01 12 1s376ms 114ms 03 28 3s424ms 122ms 04 20 2s481ms 124ms 05 1 126ms 126ms 07 116 14s84ms 121ms 08 130 15s944ms 122ms 09 808 1m42s 126ms 10 1,319 2m51s 130ms 11 1,194 2m29s 125ms 12 1,679 3m33s 127ms 13 1,908 4m5s 128ms 14 1,449 2m54s 120ms 15 1,991 3m56s 118ms 16 1,343 2m45s 122ms 17 841 1m44s 124ms 18 726 1m28s 122ms 19 641 1m19s 124ms 20 577 1m9s 119ms 21 99 12s499ms 126ms 22 153 18s923ms 123ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7876592)) AND (("cash_track"."id" not in (6152392, 6172287, 6205661, 6831252, 6831545, 6831545)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-01-11 13:44:37 Duration: 222ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7893125)) AND (("cash_track"."id" not in (6274547, 6277774, 6278153, 6831251, 6831542, 6831542)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-01-11 13:44:37 Duration: 202ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7966545)) AND (("cash_track"."id" not in (6824956)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2025-01-11 10:45:37 Duration: 200ms
19 40ms 144ms 50ms 33,776 28m28s 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 #19
Day Hour Count Duration Avg duration Jan 11 00 34 1s682ms 49ms 01 3 151ms 50ms 03 38 1s886ms 49ms 04 28 1s392ms 49ms 05 9 463ms 51ms 07 11 554ms 50ms 08 165 8s21ms 48ms 09 3,345 2m45s 49ms 10 4,702 4m12s 53ms 11 2,592 2m11s 50ms 12 2,796 2m28s 53ms 13 2,307 2m4s 53ms 14 3,821 3m6s 48ms 15 3,683 2m59s 48ms 16 4,055 3m19s 49ms 17 2,620 2m8s 49ms 18 1,796 1m28s 49ms 19 1,339 1m6s 49ms 20 290 14s537ms 50ms 21 81 4s76ms 50ms 22 61 3s149ms 51ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 4272752) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2025-01-11 17:22:02 Duration: 144ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 4304406) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2025-01-11 10:46:21 Duration: 115ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 4363186) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2025-01-11 13:40:35 Duration: 93ms
20 32ms 128ms 43ms 120,698 1h28m12s 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 Jan 11 00 1,775 1m13s 41ms 01 2,109 1m27s 41ms 02 1,615 1m7s 41ms 03 819 34s659ms 42ms 04 1,053 44s430ms 42ms 05 254 10s435ms 41ms 06 1,423 59s402ms 41ms 07 668 28s67ms 42ms 08 786 33s25ms 42ms 09 7,232 5m14s 43ms 10 13,041 10m4s 46ms 11 11,584 8m35s 44ms 12 12,763 9m43s 45ms 13 8,924 6m50s 45ms 14 7,085 5m4s 43ms 15 5,767 4m7s 42ms 16 6,944 4m59s 43ms 17 6,407 4m35s 43ms 18 7,258 5m8s 42ms 19 8,374 6m4s 43ms 20 5,503 3m50s 41ms 21 4,251 2m59s 42ms 22 5,063 3m33s 42ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (4353769)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-01-11 17:21:58 Duration: 128ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3562471)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-01-11 17:21:58 Duration: 125ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (4288339)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2025-01-11 12:38:29 Duration: 110ms
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
- 15,960,393 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 1067 FATAL entries
- 5854 ERROR entries
- 0 WARNING entries
- 1482 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 3,014 Max number of times the same event was reported
- 8,403 Total events found
Rank Times reported Error 1 3,014 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #1
Day Hour Count Jan 11 00 8 01 2 02 4 03 2 04 1 05 1 06 8 07 6 08 25 09 84 10 285 11 380 12 529 13 403 14 502 15 218 16 201 17 135 18 77 19 43 20 30 21 49 22 21 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: update res_users set sid = '304bf1d9fc83be32e2478ee8c73fff218173d9d9', last_update = '2025-01-10 23:20:58.331996',exp_date = '2025-01-11 00:05:58.331999', logged_in = 'TRUE' where id = 877
Date: 2025-01-11 00:20:58
Statement: update res_users set sid = '8a0d0a0f95ba7124f443156555cadad789b17b8f', last_update = '2025-01-10 23:24:49.302458',exp_date = '2025-01-11 00:09:49.302460', logged_in = 'TRUE' where id = 947
Date: 2025-01-11 00:24:49
Statement: update res_users set sid = 'f97cdcc87de8dc49b80a1e0a1eb7a77d21eb969f', last_update = '2025-01-10 23:34:43.675244',exp_date = '2025-01-11 00:19:43.675247', logged_in = 'TRUE' where id = 1369
Date: 2025-01-11 00:34:43
2 2,804 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #2
Day Hour Count Jan 11 00 7 01 1 02 4 05 1 06 8 07 5 08 25 09 77 10 257 11 358 12 471 13 364 14 488 15 205 16 195 17 131 18 74 19 42 20 29 21 42 22 20 - ERROR: current transaction is aborted, commands ignored until end of transaction block
- ERROR: current transaction is aborted, commands ignored until end of transaction block
- ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: SELECT active, id, login, password, totp_secret, (SELECT value FROM ir_config_parameter WHERE key='database.secret') FROM res_users WHERE id=877
Date: 2025-01-11 00:20:58
Statement: SELECT "res_partner".id FROM "res_partner" WHERE "res_partner".id IN (8004909)
Date: 2025-01-11 00:24:49
Statement: SELECT 1 FROM res_groups_users_rel WHERE uid=1369 AND gid IN (SELECT res_id FROM ir_model_data WHERE module='base' AND name='group_allow_export' AND model='res.groups')
Date: 2025-01-11 00:34:43
3 929 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #3
Day Hour Count Jan 11 10 103 11 101 12 201 13 164 14 45 15 54 16 63 17 70 18 54 20 45 21 29 4 929 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count Jan 11 10 103 11 101 12 201 13 164 14 45 15 54 16 63 17 70 18 54 20 45 21 29 - LOG: could not send data to client: Broken pipe
- LOG: could not send data to client: Broken pipe
- LOG: could not send data to client: Broken pipe
Statement: UPDATE "res_users" SET "exp_date" = '2025-01-11 11:00:26.414189', "last_update" = '2025-01-11 10:15:26.414210', "sid" = '1b2d1ee1e3ffcf5b4c8d20a039208225a9534824', "write_date" = '2025-01-11 10:15:26.092039', "write_uid" = 1 WHERE id IN (1056)
Date: 2025-01-11 12:05:38
Statement: UPDATE "res_users" SET "exp_date" = '2025-01-11 11:36:10.021160', "last_update" = '2025-01-11 10:51:10.021185', "sid" = '1b2d1ee1e3ffcf5b4c8d20a039208225a9534824', "write_date" = '2025-01-11 10:51:09.638442', "write_uid" = 1 WHERE id IN (1056)
Date: 2025-01-11 12:05:38
Statement: UPDATE "res_users" SET "exp_date" = '2025-01-11 11:44:46.611537', "last_update" = '2025-01-11 10:59:46.611566', "sid" = '3ca8f13498bdfc536074d69460aab35cb8518a39', "write_date" = '2025-01-11 10:59:46.242525', "write_uid" = 1 WHERE id IN (1056)
Date: 2025-01-11 12:05:38
5 378 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #5
Day Hour Count Jan 11 10 43 11 41 12 74 13 67 14 19 15 11 16 35 17 27 18 28 19 4 20 25 21 4 6 174 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count Jan 11 08 1 10 20 11 15 12 28 13 37 14 8 15 5 16 23 17 17 18 5 20 12 21 3 7 82 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #7
Day Hour Count Jan 11 17 82 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-01-11 17:20:01
Statement: SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND (("res_partner"."type_employee" = 'driver') AND ("res_partner"."type_driver" = 'out'))) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false ) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL )) ORDER BY "res_partner"."display_name" ASC,"res_partner"."id" DESC LIMIT 8
Date: 2025-01-11 17:20:02
8 20 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #8
Day Hour Count Jan 11 09 1 12 7 13 4 14 4 15 3 16 1 - ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
- ERROR: null value in column "name" of relation "urgent_customer" violates not-null constraint
Detail: Failing row contains (5472469, null, 825, 825, null, قنا, null, null, t, 2025-01-11 08:40:26.636634, 2025-01-11 08:40:26.636634, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-01-11 08:40:26.636634', 825, 'قنا', '2025-01-11 08:40:26.636634', 825) RETURNING "id"Date: 2025-01-11 09:40:26
Detail: Failing row contains (5472482, null, 822, 822, null, 01110093551, null, null, t, 2025-01-11 11:24:54.188122, 2025-01-11 11:24:54.188122, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-01-11 11:24:54.188122', 822, '01110093551', '2025-01-11 11:24:54.188122', 822) RETURNING "id"Date: 2025-01-11 12:24:54
Detail: Failing row contains (5472497, null, 825, 825, null, البطل, null, null, t, 2025-01-11 11:31:47.893333, 2025-01-11 11:31:47.893333, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2025-01-11 11:31:47.893333', 825, 'البطل', '2025-01-11 11:31:47.893333', 825) RETURNING "id"Date: 2025-01-11 12:31:47
9 20 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #9
Day Hour Count Jan 11 17 20 10 12 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #10
Day Hour Count Jan 11 17 12 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: select name from shipping_policy order by create_date desc limit 10
Date: 2025-01-11 17:20:01
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4347442)) AND (("shipping_track"."id" not in (35823178, 35828315, 35828924, 35865720, 35899869, 35900200, 35941970, 35942310, 36177505, 36177505)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-01-11 17:20:01
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4379916)) AND (("shipping_track"."id" not in (36177369, 36177504, 36177504)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"
Date: 2025-01-11 17:20:01
11 7 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #11
Day Hour Count Jan 11 02 1 08 3 13 1 15 1 16 1 12 6 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #12
Day Hour Count Jan 11 01 1 02 1 12 2 13 2 - ERROR: syntax error at or near ")" at character 163
- ERROR: syntax error at or near ")" at character 163
- ERROR: syntax error at or near ")" at character 300
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 ('9452213',)
Date: 2025-01-11 01:44:38
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 ('8902858',)
Date: 2025-01-11 02:24:29
Statement: select sum(total_shipping_price-collection_amount_receive-collection_amount_sender) FROM shipping_policy where collection_amount_sender+collection_amount_receive<total_shipping_price and id in (shipping.policy(4258296,), 0)
Date: 2025-01-11 12:09:53
13 5 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #13
Day Hour Count Jan 11 02 1 13 1 15 1 16 1 19 1 14 5 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #14
Day Hour Count Jan 11 02 1 08 1 13 1 15 1 16 1 15 4 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #15
Day Hour Count Jan 11 10 1 11 1 12 1 13 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 1281935 waits for ShareLock on transaction 5652794; blocked by process 1282030. Process 1282030 waits for ShareLock on transaction 5652785; blocked by process 1281935. Process 1281935: update shipping_policy set count_search=6 where id=4092276 Process 1282030: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-01-11 09:46:45.421543', "write_uid" = 1113 WHERE id IN (4272699, 4245619, 4244435, 4241341, 4237190, 4237019, 4235643, 4234837, 4233949, 4229820, 4225194, 4222940, 4220281, 4220143, 4220111, 4217282, 4215939, 4211697, 4202626, 4265955, 4256934, 4253835, 4251339, 4247944, 4234276, 4233033, 4228914, 4223705, 4209827, 4197871, 4192346, 4238900, 4237813, 4224480, 4245618, 4237689, 4224557, 4201586, 4260155, 4253408, 4253372, 4206390, 4188835, 4248637, 4240204, 4232678, 4230665, 4208173, 4201483, 4233522, 4229447, 4226155, 4200098, 4194860, 4191813, 4184071, 4184050, 4183607, 4260507, 4245657, 4239203, 4239060, 4234955, 4223344, 4219538, 4215026, 4214906, 4207711, 4207703, 4204195, 4203396, 3721335, 3470367, 4258593, 4250332, 4207107, 4206139, 4164007, 4031853, 4252201, 4227486, 4278111, 4276972, 4272666, 4251347, 4250355, 4244887, 4278102, 4276946, 4268409, 4261063, 4257754, 4255759, 4250017, 4241894, 4241746, 4241116, 4233509, 422
Context: while updating tuple (94029,52) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=6 where id=4092276Date: 2025-01-11 10:46:59
Detail: Process 1314477 waits for ShareLock on transaction 5656772; blocked by process 1282206. Process 1282206 waits for ShareLock on transaction 5656771; blocked by process 1314477. Process 1314477: update shipping_policy set count_search=5 where id=4250693 Process 1282206: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-01-11 10:08:09.892909', "write_uid" = 1113 WHERE id IN (4302333, 4299425, 4298693, 4298223, 4297964, 4296280, 4285286, 4285218, 4282107, 4280957, 4279454, 4275833, 4274979, 4274588, 4274581, 4274545, 4274475, 4273945, 4271261, 4269739, 4269657, 4266221, 4263252, 4262889, 4260133, 4260070, 4255294, 4254888, 4254043, 4253842, 4250589, 4250138, 4245107, 4230981, 4216252, 4215917, 4095863, 3961522, 4293836, 4290180, 4289129, 4287247, 4286430, 4281361, 4274955, 4273379, 4270473, 4268758, 4268202, 4268190, 4264548, 4263808, 4259942, 4258117, 4250693, 4214288, 4308185, 4305990, 4305988, 4302258, 4294638, 4293737, 4287540, 4286519, 4280414, 4279662, 4272929, 4268922, 4268801, 4266212, 4257065, 4253391, 4253062, 4232382, 4210647, 4209757, 4206148, 4204620, 4194597, 3869994)
Context: while updating tuple (84611,11) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=5 where id=4250693Date: 2025-01-11 11:08:17
Detail: Process 1739311 waits for ShareLock on transaction 5676222; blocked by process 1739347. Process 1739347 waits for ShareLock on transaction 5676211; blocked by process 1739311. Process 1739311: update shipping_policy set count_search=11 where id=4215549 Process 1739347: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2025-01-11 11:39:30.666222', "write_uid" = 1113 WHERE id IN (4331205, 4310149, 4309947, 4308364, 4297044, 4262852, 4302357, 4330436, 4327239, 4320875, 4320436, 4329849, 4295457, 4320702, 4318770, 4316688, 4316687, 4315697, 4309758, 4309055, 4306312, 4295033, 4283496, 4215549, 4071201, 4316563, 4315452, 4318445, 4314532, 4316081, 4314427)
Context: while updating tuple (89777,34) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=11 where id=4215549Date: 2025-01-11 12:39:34
16 3 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #16
Day Hour Count Jan 11 14 3 17 2 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #17
Day Hour Count Jan 11 08 1 12 1 - ERROR: could not serialize access due to concurrent delete
- ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (136059)
Date: 2025-01-11 08:55:43
Statement: DELETE FROM "delegate_track" WHERE id IN (136292)
Date: 2025-01-11 12:22:12
18 2 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #18
Day Hour Count Jan 11 17 2 - ERROR: terminating background worker "parallel worker" due to administrator command
- ERROR: terminating background worker "parallel worker" due to administrator command
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4347442)) AND (("shipping_track"."id" not in (35823178, 35828315, 35828924, 35865720, 35899869, 35900200, 35941970, 35942310, 36177505, 36177505)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-01-11 17:20:01
Context: parallel worker
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (4379916)) AND (("shipping_track"."id" not in (36177369, 36177504, 36177504)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id"Date: 2025-01-11 17:20:01
19 2 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #19
Day Hour Count Jan 11 08 1 14 1 20 1 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #20
Day Hour Count Jan 11 17 1 21 1 FATAL: unsupported frontend protocol 16.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #21
Day Hour Count Jan 11 05 1 22 1 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #22
Day Hour Count Jan 11 07 1 - ERROR: invalid input syntax for type integer: "s" at character 4701
Statement: SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."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"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN ('s')
Date: 2025-01-11 07:22:28
23 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #23
Day Hour Count Jan 11 09 1 - ERROR: duplicate key value violates unique constraint "ir_filters_name_model_uid_unique_action_index"
Detail: Key (model_id, COALESCE(user_id, '-1'::integer), COALESCE(action_id, '-1'::integer), lower(name::text))=(shipping.policy, -1, -1, ارض اللواء اللاغي تقفيل تم استلام العميل وتحصيل) already exists.
Statement: INSERT INTO "ir_filters" ("active", "context", "create_date", "create_uid", "domain", "model_id", "name", "sort", "write_date", "write_uid") VALUES (true, '{}', '2025-01-11 08:13:39.797730', 1102, '[(''state'', ''!='', ''cancel''), (''id'', ''in'', [4063094, 4063109, 4279018, 4279020, 4279022, 3694348, 4063060, 4063097, 4063085, 4063090, 4063092, 4063055, 4063070, 4063074, 4063077, 4063102, 4063107, 4063099, 3647777, 4063064, 4063081, 4063067, 4063087, 4063104, 4279023, 4279019, 4279021])]', 'shipping.policy', 'ارض اللواء اللاغي تقفيل تم استلام العميل وتحصيل', '[]', '2025-01-11 08:13:39.797730', 1102) RETURNING "id"Date: 2025-01-11 09:13:39
24 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #24
Day Hour Count Jan 11 17 1