-
Global information
- Generated on Sat Nov 30 23:47:06 2024
- Log file: /var/lib/pgsql/16/data/log/postgresql.log
- Parsed 35,131,240 log entries in 2m4s
- Log start from 2024-11-30 00:00:00 to 2024-11-30 22:45:02
-
Overview
Global Stats
- 17,014 Number of unique normalized queries
- 14,977,008 Number of queries
- 1d23h6m8s Total query duration
- 2024-11-30 00:00:00 First query
- 2024-11-30 22:45:02 Last query
- 1,975 queries/s at 2024-11-30 17:21:50 Query peak
- 1d23h6m8s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1d23h6m8s Execute total duration
- 236 Number of events
- 18 Number of unique normalized events
- 110 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
- 14,977,008 Average queries per session
- 1d23h6m8s Average queries duration per session
- n/a Average idle time per session
- 0 Total number of connections
- 1 Total number of databases
SQL Traffic
Key values
- 1,975 queries/s Query Peak
- 2024-11-30 17:21:50 Date
SELECT Traffic
Key values
- 1,216 queries/s Query Peak
- 2024-11-30 17:21:50 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 918 queries/s Query Peak
- 2024-11-30 14:24:57 Date
Queries duration
Key values
- 1d23h6m8s 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) Nov 30 00 138,481 0ms 1s578ms 8ms 59s758ms 1m14s 1m33s 01 206,265 0ms 986ms 19ms 2m24s 2m35s 2m48s 02 167,175 0ms 987ms 16ms 1m41s 1m58s 2m13s 03 175,122 0ms 995ms 20ms 1m49s 1m54s 2m36s 04 111,814 0ms 426ms 12ms 1m2s 1m11s 1m49s 05 120,038 0ms 1s244ms 15ms 1m9s 1m23s 2m4s 06 117,259 0ms 1s198ms 10ms 54s72ms 1m 1m4s 07 111,814 0ms 1s174ms 8ms 39s265ms 1m3s 1m13s 08 413,833 0ms 1s617ms 7ms 2m7s 3m3s 3m33s 09 946,727 0ms 3s959ms 8ms 3m32s 3m57s 5m17s 10 1,303,049 0ms 4s121ms 9ms 4m57s 5m28s 6m50s 11 1,270,957 0ms 4s986ms 10ms 5m12s 7m4s 7m22s 12 1,351,605 0ms 4s223ms 9ms 5m33s 5m51s 6m50s 13 1,164,426 0ms 4s667ms 8ms 4m24s 4m47s 4m58s 14 1,012,733 0ms 1m31s 8ms 4m47s 5m55s 6m53s 15 1,243,967 0ms 4s147ms 8ms 4m28s 5m29s 6m21s 16 1,077,072 0ms 4s214ms 9ms 4m12s 4m53s 5m15s 17 1,061,075 0ms 28s856ms 13ms 5m56s 6m29s 7m12s 18 906,469 0ms 8s151ms 15ms 5m53s 6m19s 8m17s 19 780,939 0ms 4s984ms 16ms 5m58s 6m41s 8m29s 20 570,999 0ms 4s416ms 14ms 4m2s 4m34s 5m51s 21 448,632 0ms 2m35s 18ms 4m56s 6m22s 8m19s 22 276,557 0ms 49s154ms 15ms 2m46s 3m7s 3m22s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 30 00 66,015 0 18ms 39s616ms 59s553ms 1m26s 01 108,461 0 37ms 1m46s 2m23s 2m44s 02 81,191 0 34ms 1m20s 1m40s 2m12s 03 87,831 0 40ms 1m30s 1m48s 1m56s 04 52,337 0 26ms 44s173ms 1m2s 1m12s 05 57,261 0 31ms 51s862ms 1m9s 1m37s 06 56,619 0 21ms 35s564ms 54s2ms 1m3s 07 55,338 0 17ms 28s987ms 39s151ms 1m4s 08 232,630 0 13ms 1m35s 2m7s 3m22s 09 532,904 0 15ms 2m52s 3m31s 4m4s 10 722,815 0 17ms 4m27s 4m55s 5m55s 11 690,409 0 19ms 4m47s 5m11s 7m20s 12 735,518 0 16ms 4m40s 5m32s 6m43s 13 630,693 0 16ms 3m37s 4m23s 4m50s 14 550,035 0 16ms 3m10s 4m12s 5m56s 15 717,041 0 15ms 4m5s 4m27s 5m32s 16 595,820 0 16ms 3m36s 4m11s 5m 17 615,433 0 23ms 5m27s 5m52s 6m54s 18 511,990 0 27ms 5m31s 5m52s 7m9s 19 436,596 0 29ms 4m27s 5m57s 6m44s 20 307,667 0 27ms 3m7s 4m1s 4m40s 21 248,770 0 33ms 3m16s 4m55s 6m23s 22 150,309 0 27ms 2m6s 2m45s 3m21s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 30 00 6,254 1,486 77 0 0ms 43ms 60ms 113ms 01 21,739 4,979 76 0 0ms 116ms 183ms 293ms 02 12,338 3,392 78 0 0ms 81ms 106ms 150ms 03 16,219 3,553 74 0 0ms 88ms 121ms 159ms 04 6,565 1,386 73 0 0ms 36ms 72ms 132ms 05 7,429 1,972 71 0 0ms 52ms 68ms 136ms 06 6,729 1,199 90 0 0ms 39ms 53ms 105ms 07 3,997 1,106 119 0 0ms 29ms 44ms 71ms 08 15,142 4,319 360 0 0ms 105ms 150ms 238ms 09 42,646 11,584 937 0 0ms 232ms 272ms 339ms 10 68,311 14,215 752 0 0ms 369ms 458ms 582ms 11 75,582 12,958 489 0 0ms 398ms 460ms 603ms 12 76,903 13,909 636 0 0ms 375ms 462ms 656ms 13 57,381 13,080 589 0 0ms 280ms 337ms 417ms 14 43,756 12,395 491 2 1ms 212ms 286ms 568ms 15 55,663 15,910 846 1 0ms 261ms 317ms 477ms 16 60,433 15,644 496 0 0ms 281ms 382ms 587ms 17 69,440 19,295 606 0 1ms 431ms 541ms 1s445ms 18 67,654 16,507 593 0 0ms 416ms 474ms 617ms 19 68,274 13,801 607 8 0ms 383ms 433ms 705ms 20 46,914 9,488 277 0 0ms 249ms 355ms 498ms 21 43,438 8,591 336 0 0ms 212ms 312ms 501ms 22 25,029 4,149 143 0 2ms 191ms 243ms 322ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Nov 30 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 Nov 30 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 Nov 30 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
- 157,171 buffers Checkpoint Peak
- 2024-11-30 17:20:04 Date
- 270.056 seconds Highest write time
- 0.013 seconds Sync time
Checkpoints Wal files
Key values
- 62 files Wal files usage Peak
- 2024-11-30 17:20:04 Date
Checkpoints distance
Key values
- 1,977.07 Mo Distance Peak
- 2024-11-30 17:20:04 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Nov 30 00 56,803 2,969.529s 0.023s 2,969.584s 01 90,990 3,118.522s 0.03s 3,118.589s 02 77,614 2,963.492s 0.028s 2,963.558s 03 96,853 3,239.514s 0.035s 3,239.592s 04 38,775 2,541.391s 0.026s 2,541.449s 05 65,980 2,822.505s 0.038s 2,822.579s 06 49,926 2,479.426s 0.022s 2,479.478s 07 58,362 2,831.944s 0.027s 2,832.007s 08 96,180 2,396.57s 0.03s 2,396.643s 09 325,746 3,239.542s 0.052s 3,239.654s 10 491,509 3,239.514s 0.06s 3,239.676s 11 521,438 3,239.512s 0.058s 3,239.652s 12 521,675 3,239.435s 0.068s 3,239.597s 13 446,027 3,239.551s 0.06s 3,239.694s 14 282,461 3,239.518s 0.052s 3,239.638s 15 362,090 3,239.469s 0.049s 3,239.587s 16 337,086 3,239.564s 0.044s 3,239.674s 17 557,697 2,892.589s 0.069s 2,892.751s 18 313,587 3,239.496s 0.049s 3,239.612s 19 289,466 3,239.578s 0.057s 3,239.697s 20 213,145 3,239.487s 0.042s 3,239.596s 21 149,671 3,239.59s 0.039s 3,239.675s 22 101,584 2,429.692s 0.026s 2,429.754s Day Hour Added Removed Recycled Synced files Longest sync Average sync Nov 30 00 0 0 23 2,214 0.002s 0.011s 01 0 0 42 2,600 0.002s 0.012s 02 0 0 35 2,247 0.002s 0.011s 03 0 0 44 2,445 0.008s 0.012s 04 0 0 17 1,859 0.002s 0.011s 05 0 0 30 1,885 0.011s 0.011s 06 0 0 23 1,829 0.002s 0.01s 07 0 0 25 2,574 0.002s 0.012s 08 0 0 39 3,358 0.002s 0.011s 09 0 0 142 4,540 0.003s 0.012s 10 0 0 221 4,823 0.002s 0.012s 11 0 0 239 4,788 0.003s 0.012s 12 0 0 246 4,922 0.002s 0.012s 13 0 0 202 4,972 0.002s 0.012s 14 0 0 125 4,980 0.002s 0.012s 15 0 0 161 5,133 0.003s 0.012s 16 0 0 150 5,234 0.003s 0.012s 17 0 0 248 5,211 0.010s 0.012s 18 0 0 129 5,163 0.002s 0.012s 19 0 0 117 5,003 0.002s 0.012s 20 0 0 88 4,724 0.002s 0.012s 21 0 0 65 4,419 0.002s 0.012s 22 0 0 41 3,247 0.002s 0.009s Day Hour Count Avg time (sec) Nov 30 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 Nov 30 00 35,004.09 kB 85,923.91 kB 01 56,869.92 kB 77,598.25 kB 02 52,456.45 kB 68,520.55 kB 03 60,281.92 kB 77,235.17 kB 04 24,438.64 kB 56,803.55 kB 05 45,245.82 kB 64,060.91 kB 06 37,870.20 kB 74,143.30 kB 07 33,480.33 kB 63,249.33 kB 08 58,942.45 kB 76,087.82 kB 09 193,343.55 kB 218,865.27 kB 10 311,813.64 kB 354,829.55 kB 11 326,787.33 kB 377,878.50 kB 12 335,677.92 kB 393,610.42 kB 13 283,107.55 kB 336,103.09 kB 14 172,006.40 kB 239,480.40 kB 15 218,608.55 kB 279,754.27 kB 16 204,895.08 kB 265,479.00 kB 17 338,398.58 kB 571,405.17 kB 18 170,823.70 kB 420,712.70 kB 19 159,754.75 kB 238,318.50 kB 20 120,621.25 kB 169,385.83 kB 21 88,434.17 kB 114,472.08 kB 22 74,905.33 kB 97,165.67 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 Nov 30 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 Nov 30 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
- 8,243,683 Total read queries
- 4,505,037 Total write queries
Queries by database
Key values
- unknown Main database
- 14,977,008 Requests
- 1d23h6m8s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 14,977,008 Requests
User Request type Count Duration unknown Total 14,977,008 1d23h6m8s copy from 11 9ms cte 6,716 1s456ms ddl 98 13ms delete 8,816 1s38ms insert 897,836 4m18s others 2,228,288 1m56s select 8,243,683 1d22h52m3s tcl 3,386,642 2m update 204,918 5m47s Duration by user
Key values
- 1d23h6m8s (unknown) Main time consuming user
User Request type Count Duration unknown Total 14,977,008 1d23h6m8s copy from 11 9ms cte 6,716 1s456ms ddl 98 13ms delete 8,816 1s38ms insert 897,836 4m18s others 2,228,288 1m56s select 8,243,683 1d22h52m3s tcl 3,386,642 2m update 204,918 5m47s Queries by host
Key values
- unknown Main host
- 14,977,008 Requests
- 1d23h6m8s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 14,977,008 Requests
- 1d23h6m8s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-11-30 16:10:45 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 13,956,380 0-1ms duration
Slowest individual queries
Rank Duration Query 1 2m35s SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "delegate_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_id" as "delegate_id" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND ((("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8790764%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8480320%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) GROUP BY "shipping_policy"."delegate_id" ORDER BY "collection_amount_sender" ASC, "total_shipping_price" ASC LIMIT 80;[ Date: 2024-11-30 21:10:36 ]
2 1m31s update shipping_policy set d_date = '2024-11-30' where id = 3049798;[ Date: 2024-11-30 14:51:43 ]
3 1m19s SELECT min("shipping_policy".id) AS id, count("shipping_policy".id) AS "delegate_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_id" as "delegate_id" FROM "shipping_policy" WHERE (("shipping_policy"."active" = true) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8790764%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) GROUP BY "shipping_policy"."delegate_id" ORDER BY "collection_amount_sender" ASC, "total_shipping_price" ASC LIMIT 80;[ Date: 2024-11-30 21:07:25 ]
4 49s154ms UPDATE "policy_number" SET "done" = true, "write_date" = '2024-11-30 21:12:07.522186', "write_uid" = 988 WHERE id IN (41271104);[ Date: 2024-11-30 22:12:57 ]
5 28s856ms UPDATE "shipping_policy" SET "archive_date" = '2024-11-30', "state" = 'archive', "write_date" = '2024-11-30 16:40:10.772366', "write_uid" = 1077 WHERE id IN (3059207, 3057379, 3057335, 3057292, 3057140, 3056825, 3056822, 3056810, 3056557, 3056438, 3056169, 3056068, 3055769, 3054850, 3054804, 3054769, 3054467, 3053771, 3053539, 3053174, 3053160, 3052061, 3051519, 3051304, 3050551, 3050509, 3050494, 3050454, 3050384, 3049434, 3049415, 3048602, 3047770, 3047647, 3046822, 3046422, 3045898, 3045366, 3044382, 3043259, 3042083, 3041977, 3041462, 3041429, 3040806, 3040564, 3040554, 3040116, 3039754, 3039620, 3039434, 3039075, 3038635, 3038472, 3038420, 3037775, 3037496, 3036366, 3035781, 3032203, 3030084, 3027406, 3024954, 3024567, 3022788, 3022229, 3014262, 3012109, 3010487, 3009961, 3009112, 3008456, 3007164, 3007044, 3005320, 3005107, 3004402, 3003518, 2999360, 2997468, 2992674, 2982603, 2979000, 2976433, 2975376, 2966282, 2954094, 2934445, 2922608, 2857273, 2822052, 2784853, 2784735, 2723643, 2634258, 2632539, 2320999, 1970713);[ Date: 2024-11-30 17:41:41 ]
6 17s181ms update shipping_policy set count_search = 5 where id = 3010487;[ Date: 2024-11-30 17:38:06 ]
7 13s442ms update shipping_policy set count_search = 5 where id = 3009112;[ Date: 2024-11-30 17:38:06 ]
8 9s616ms SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__from_office" ON ("shipping_policy"."from_office" = "shipping_policy__from_office"."id") WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."delegate_id" = 8005191) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND ((("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8790764%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8480320%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) 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"."state" ASC, "shipping_policy"."collection_amount_sender" ASC, "shipping_policy__from_office"."new_code" ASC, "shipping_policy"."total_shipping_price" ASC LIMIT 100;[ Date: 2024-11-30 21:10:46 ]
9 9s611ms SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__from_office" ON ("shipping_policy"."from_office" = "shipping_policy__from_office"."id") WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."delegate_id" = 8006705) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND ((("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8790764%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8480320%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) 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"."state" ASC, "shipping_policy"."collection_amount_sender" ASC, "shipping_policy__from_office"."new_code" ASC, "shipping_policy"."total_shipping_price" ASC LIMIT 100;[ Date: 2024-11-30 21:10:46 ]
10 8s151ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '9093528') OR (("policy_number"."name" = '9106511') OR (("policy_number"."name" = '9108740') OR (("policy_number"."name" = '8880880') OR (("policy_number"."name" = '9123505') OR (("policy_number"."name" = '8912038') OR (("policy_number"."name" = '8438539') OR (("policy_number"."name" = '8903268') OR (("policy_number"."name" = '8936147') OR (("policy_number"."name" = '8311216') OR (("policy_number"."name" = '8936150') OR (("policy_number"."name" = '8987951') OR (("policy_number"."name" = '8934473') OR (("policy_number"."name" = '8934677') OR (("policy_number"."name" = '8904123') OR (("policy_number"."name" = '8904482') OR (("policy_number"."name" = '8903309') OR (("policy_number"."name" = '8174370') OR (("policy_number"."name" = '6741553') OR (("policy_number"."name" = '8659167') OR (("policy_number"."name" = '8935902') OR (("policy_number"."name" = '8821542') OR (("policy_number"."name" = '8466520') OR (("policy_number"."name" = '6678421') OR (("policy_number"."name" = '7939669') OR (("policy_number"."name" = '7939663') OR (("policy_number"."name" = '8820966') OR (("policy_number"."name" = '7859429') OR (("policy_number"."name" = '7939672') OR (("policy_number"."name" = '8006465') OR (("policy_number"."name" = '5006465') OR (("policy_number"."name" = '6753876') OR (("policy_number"."name" = '8935758') OR (("policy_number"."name" = '8607670') OR (("policy_number"."name" = '8864828') OR (("policy_number"."name" = '8936407') OR (("policy_number"."name" = '8904512') OR (("policy_number"."name" = '8988070') OR (("policy_number"."name" = '9052607') OR (("policy_number"."name" = '8467549') OR (("policy_number"."name" = '9081522') OR (("policy_number"."name" = '9082877') OR (("policy_number"."name" = '9082899') OR (("policy_number"."name" = '9079577') OR (("policy_number"."name" = '9079851') OR (("policy_number"."name" = '9081347') OR ("policy_number"."name" = '9079497')))))))))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-11-30 18:53:47 ]
11 7s615ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '9093528') OR (("policy_number"."name" = '9106511') OR (("policy_number"."name" = '9108740') OR (("policy_number"."name" = '8880880') OR (("policy_number"."name" = '9123505') OR (("policy_number"."name" = '8912038') OR (("policy_number"."name" = '8438539') OR (("policy_number"."name" = '8903268') OR (("policy_number"."name" = '8936147') OR (("policy_number"."name" = '8311216') OR (("policy_number"."name" = '8936150') OR (("policy_number"."name" = '8987951') OR (("policy_number"."name" = '8934473') OR (("policy_number"."name" = '8934677') OR (("policy_number"."name" = '8904123') OR (("policy_number"."name" = '8904482') OR (("policy_number"."name" = '8903309') OR (("policy_number"."name" = '8174370') OR (("policy_number"."name" = '6741553') OR (("policy_number"."name" = '8659167') OR (("policy_number"."name" = '8935902') OR (("policy_number"."name" = '8821542') OR (("policy_number"."name" = '8466520') OR (("policy_number"."name" = '6678421') OR (("policy_number"."name" = '7939669') OR (("policy_number"."name" = '7939663') OR (("policy_number"."name" = '8820966') OR (("policy_number"."name" = '7859429') OR (("policy_number"."name" = '7939672') OR (("policy_number"."name" = '8006465') OR (("policy_number"."name" = '5006465') OR (("policy_number"."name" = '6753876') OR (("policy_number"."name" = '8935758') OR (("policy_number"."name" = '8607670') OR (("policy_number"."name" = '8864828') OR (("policy_number"."name" = '8936407') OR (("policy_number"."name" = '8904512') OR (("policy_number"."name" = '8988070') OR (("policy_number"."name" = '9052607') OR (("policy_number"."name" = '8467549') OR (("policy_number"."name" = '9081522') OR (("policy_number"."name" = '9082877') OR ("policy_number"."name" = '9082899')))))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-11-30 18:52:48 ]
12 7s406ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '9093528') OR (("policy_number"."name" = '9106511') OR (("policy_number"."name" = '9108740') OR (("policy_number"."name" = '8880880') OR (("policy_number"."name" = '9123505') OR (("policy_number"."name" = '8912038') OR (("policy_number"."name" = '8438539') OR (("policy_number"."name" = '8903268') OR (("policy_number"."name" = '8936147') OR (("policy_number"."name" = '8311216') OR (("policy_number"."name" = '8936150') OR (("policy_number"."name" = '8987951') OR (("policy_number"."name" = '8934473') OR (("policy_number"."name" = '8934677') OR (("policy_number"."name" = '8904123') OR (("policy_number"."name" = '8904482') OR (("policy_number"."name" = '8903309') OR (("policy_number"."name" = '8174370') OR (("policy_number"."name" = '6741553') OR (("policy_number"."name" = '8659167') OR (("policy_number"."name" = '8935902') OR (("policy_number"."name" = '8821542') OR (("policy_number"."name" = '8466520') OR (("policy_number"."name" = '6678421') OR (("policy_number"."name" = '7939669') OR (("policy_number"."name" = '7939663') OR (("policy_number"."name" = '8820966') OR (("policy_number"."name" = '7859429') OR (("policy_number"."name" = '7939672') OR (("policy_number"."name" = '8006465') OR (("policy_number"."name" = '5006465') OR (("policy_number"."name" = '6753876') OR (("policy_number"."name" = '8935758') OR (("policy_number"."name" = '8607670') OR (("policy_number"."name" = '8864828') OR (("policy_number"."name" = '8936407') OR (("policy_number"."name" = '8904512') OR (("policy_number"."name" = '8988070') OR (("policy_number"."name" = '9052607') OR (("policy_number"."name" = '8467549') OR (("policy_number"."name" = '9081522') OR ("policy_number"."name" = '9082877'))))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-11-30 18:52:34 ]
13 7s396ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '9093528') OR (("policy_number"."name" = '9106511') OR (("policy_number"."name" = '9108740') OR (("policy_number"."name" = '8880880') OR (("policy_number"."name" = '9123505') OR (("policy_number"."name" = '8912038') OR (("policy_number"."name" = '8438539') OR (("policy_number"."name" = '8903268') OR (("policy_number"."name" = '8936147') OR (("policy_number"."name" = '8311216') OR (("policy_number"."name" = '8936150') OR (("policy_number"."name" = '8987951') OR (("policy_number"."name" = '8934473') OR (("policy_number"."name" = '8934677') OR (("policy_number"."name" = '8904123') OR (("policy_number"."name" = '8904482') OR (("policy_number"."name" = '8903309') OR (("policy_number"."name" = '8174370') OR (("policy_number"."name" = '6741553') OR (("policy_number"."name" = '8659167') OR (("policy_number"."name" = '8935902') OR (("policy_number"."name" = '8821542') OR (("policy_number"."name" = '8466520') OR (("policy_number"."name" = '6678421') OR (("policy_number"."name" = '7939669') OR (("policy_number"."name" = '7939663') OR (("policy_number"."name" = '8820966') OR (("policy_number"."name" = '7859429') OR (("policy_number"."name" = '7939672') OR (("policy_number"."name" = '8006465') OR (("policy_number"."name" = '5006465') OR (("policy_number"."name" = '6753876') OR (("policy_number"."name" = '8935758') OR (("policy_number"."name" = '8607670') OR (("policy_number"."name" = '8864828') OR (("policy_number"."name" = '8936407') OR (("policy_number"."name" = '8904512') OR (("policy_number"."name" = '8988070') OR (("policy_number"."name" = '9052607') OR (("policy_number"."name" = '8467549') OR (("policy_number"."name" = '9081522') OR (("policy_number"."name" = '9082877') OR (("policy_number"."name" = '9082899') OR (("policy_number"."name" = '9079577') OR (("policy_number"."name" = '9079851') OR ("policy_number"."name" = '9081347'))))))))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-11-30 18:53:33 ]
14 7s322ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '9093528') OR (("policy_number"."name" = '9106511') OR (("policy_number"."name" = '9108740') OR (("policy_number"."name" = '8880880') OR (("policy_number"."name" = '9123505') OR (("policy_number"."name" = '8912038') OR (("policy_number"."name" = '8438539') OR (("policy_number"."name" = '8903268') OR (("policy_number"."name" = '8936147') OR (("policy_number"."name" = '8311216') OR (("policy_number"."name" = '8936150') OR (("policy_number"."name" = '8987951') OR (("policy_number"."name" = '8934473') OR (("policy_number"."name" = '8934677') OR (("policy_number"."name" = '8904123') OR (("policy_number"."name" = '8904482') OR (("policy_number"."name" = '8903309') OR (("policy_number"."name" = '8174370') OR (("policy_number"."name" = '6741553') OR (("policy_number"."name" = '8659167') OR (("policy_number"."name" = '8935902') OR (("policy_number"."name" = '8821542') OR (("policy_number"."name" = '8466520') OR (("policy_number"."name" = '6678421') OR (("policy_number"."name" = '7939669') OR (("policy_number"."name" = '7939663') OR (("policy_number"."name" = '8820966') OR (("policy_number"."name" = '7859429') OR (("policy_number"."name" = '7939672') OR (("policy_number"."name" = '8006465') OR (("policy_number"."name" = '5006465') OR (("policy_number"."name" = '6753876') OR (("policy_number"."name" = '8935758') OR (("policy_number"."name" = '8607670') OR (("policy_number"."name" = '8864828') OR (("policy_number"."name" = '8936407') OR (("policy_number"."name" = '8904512') OR (("policy_number"."name" = '8988070') OR (("policy_number"."name" = '9052607') OR (("policy_number"."name" = '8467549') OR (("policy_number"."name" = '9081522') OR (("policy_number"."name" = '9082877') OR (("policy_number"."name" = '9082899') OR (("policy_number"."name" = '9079577') OR (("policy_number"."name" = '9079851') OR (("policy_number"."name" = '9081347') OR (("policy_number"."name" = '9079497') OR ("policy_number"."name" = '6741852'))))))))))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-11-30 18:54:02 ]
15 7s235ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '9093528') OR (("policy_number"."name" = '9106511') OR (("policy_number"."name" = '9108740') OR (("policy_number"."name" = '8880880') OR (("policy_number"."name" = '9123505') OR (("policy_number"."name" = '8912038') OR (("policy_number"."name" = '8438539') OR (("policy_number"."name" = '8903268') OR (("policy_number"."name" = '8936147') OR (("policy_number"."name" = '8311216') OR (("policy_number"."name" = '8936150') OR (("policy_number"."name" = '8987951') OR (("policy_number"."name" = '8934473') OR (("policy_number"."name" = '8934677') OR (("policy_number"."name" = '8904123') OR (("policy_number"."name" = '8904482') OR (("policy_number"."name" = '8903309') OR (("policy_number"."name" = '8174370') OR (("policy_number"."name" = '6741553') OR (("policy_number"."name" = '8659167') OR (("policy_number"."name" = '8935902') OR (("policy_number"."name" = '8821542') OR (("policy_number"."name" = '8466520') OR (("policy_number"."name" = '6678421') OR (("policy_number"."name" = '7939669') OR (("policy_number"."name" = '7939663') OR (("policy_number"."name" = '8820966') OR (("policy_number"."name" = '7859429') OR (("policy_number"."name" = '7939672') OR (("policy_number"."name" = '8006465') OR (("policy_number"."name" = '5006465') OR (("policy_number"."name" = '6753876') OR (("policy_number"."name" = '8935758') OR (("policy_number"."name" = '8607670') OR (("policy_number"."name" = '8864828') OR (("policy_number"."name" = '8936407') OR (("policy_number"."name" = '8904512') OR (("policy_number"."name" = '8988070') OR (("policy_number"."name" = '9052607') OR (("policy_number"."name" = '8467549') OR (("policy_number"."name" = '9081522') OR (("policy_number"."name" = '9082877') OR (("policy_number"."name" = '9082899') OR ("policy_number"."name" = '9079577'))))))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-11-30 18:53:02 ]
16 7s116ms SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__from_office" ON ("shipping_policy"."from_office" = "shipping_policy__from_office"."id") WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."delegate_id" = 8006704) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND ((("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8790764%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8480320%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) 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"."state" ASC, "shipping_policy"."collection_amount_sender" ASC, "shipping_policy__from_office"."new_code" ASC, "shipping_policy"."total_shipping_price" ASC LIMIT 100;[ Date: 2024-11-30 21:10:43 ]
17 6s993ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '9093528') OR (("policy_number"."name" = '9106511') OR (("policy_number"."name" = '9108740') OR (("policy_number"."name" = '8880880') OR (("policy_number"."name" = '9123505') OR (("policy_number"."name" = '8912038') OR (("policy_number"."name" = '8438539') OR (("policy_number"."name" = '8903268') OR (("policy_number"."name" = '8936147') OR (("policy_number"."name" = '8311216') OR (("policy_number"."name" = '8936150') OR (("policy_number"."name" = '8987951') OR (("policy_number"."name" = '8934473') OR (("policy_number"."name" = '8934677') OR (("policy_number"."name" = '8904123') OR (("policy_number"."name" = '8904482') OR (("policy_number"."name" = '8903309') OR (("policy_number"."name" = '8174370') OR (("policy_number"."name" = '6741553') OR (("policy_number"."name" = '8659167') OR (("policy_number"."name" = '8935902') OR (("policy_number"."name" = '8821542') OR (("policy_number"."name" = '8466520') OR (("policy_number"."name" = '6678421') OR (("policy_number"."name" = '7939669') OR (("policy_number"."name" = '7939663') OR (("policy_number"."name" = '8820966') OR (("policy_number"."name" = '7859429') OR (("policy_number"."name" = '7939672') OR (("policy_number"."name" = '8006465') OR (("policy_number"."name" = '5006465') OR (("policy_number"."name" = '6753876') OR (("policy_number"."name" = '8935758') OR (("policy_number"."name" = '8607670') OR (("policy_number"."name" = '8864828') OR (("policy_number"."name" = '8936407') OR (("policy_number"."name" = '8904512') OR (("policy_number"."name" = '8988070') OR (("policy_number"."name" = '9052607') OR (("policy_number"."name" = '8467549') OR (("policy_number"."name" = '9081522') OR (("policy_number"."name" = '9082877') OR (("policy_number"."name" = '9082899') OR (("policy_number"."name" = '9079577') OR (("policy_number"."name" = '9079851') OR (("policy_number"."name" = '9081347') OR (("policy_number"."name" = '9079497') OR ("policy_number"."name" = '6741852'))))))))))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-11-30 18:54:54 ]
18 6s923ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '9093528') OR (("policy_number"."name" = '9106511') OR (("policy_number"."name" = '9108740') OR (("policy_number"."name" = '8880880') OR (("policy_number"."name" = '9123505') OR (("policy_number"."name" = '8912038') OR (("policy_number"."name" = '8438539') OR (("policy_number"."name" = '8903268') OR (("policy_number"."name" = '8936147') OR (("policy_number"."name" = '8311216') OR (("policy_number"."name" = '8936150') OR (("policy_number"."name" = '8987951') OR (("policy_number"."name" = '8934473') OR (("policy_number"."name" = '8934677') OR (("policy_number"."name" = '8904123') OR (("policy_number"."name" = '8904482') OR (("policy_number"."name" = '8903309') OR (("policy_number"."name" = '8174370') OR (("policy_number"."name" = '6741553') OR (("policy_number"."name" = '8659167') OR (("policy_number"."name" = '8935902') OR (("policy_number"."name" = '8821542') OR (("policy_number"."name" = '8466520') OR (("policy_number"."name" = '6678421') OR (("policy_number"."name" = '7939669') OR (("policy_number"."name" = '7939663') OR (("policy_number"."name" = '8820966') OR (("policy_number"."name" = '7859429') OR (("policy_number"."name" = '7939672') OR (("policy_number"."name" = '8006465') OR (("policy_number"."name" = '5006465') OR (("policy_number"."name" = '6753876') OR (("policy_number"."name" = '8935758') OR (("policy_number"."name" = '8607670') OR (("policy_number"."name" = '8864828') OR (("policy_number"."name" = '8936407') OR (("policy_number"."name" = '8904512') OR (("policy_number"."name" = '8988070') OR (("policy_number"."name" = '9052607') OR (("policy_number"."name" = '8467549') OR (("policy_number"."name" = '9081522') OR (("policy_number"."name" = '9082877') OR (("policy_number"."name" = '9082899') OR (("policy_number"."name" = '9079577') OR ("policy_number"."name" = '9079851')))))))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-11-30 18:53:18 ]
19 6s757ms SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "urgent_office" AS "shipping_policy__from_office" ON ("shipping_policy"."from_office" = "shipping_policy__from_office"."id") WHERE (("shipping_policy"."active" = true) AND (("shipping_policy"."delegate_id" = 8006941) AND ((("shipping_policy"."state" != 'cancel') OR "shipping_policy"."state" IS NULL) AND ((("shipping_policy"."destination_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."name"::text ilike '%طنطا%'))) AND ("shipping_policy"."state" = 'in_way_to_client')) AND ((("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8790764%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL) AND (("shipping_policy"."policy_id" in ( SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."name"::text not ilike '%8480320%') OR "policy_number"."name" IS NULL))) OR "shipping_policy"."policy_id" IS NULL)))))) AND (("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109)))) OR ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (27))))) 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"."state" ASC, "shipping_policy"."collection_amount_sender" ASC, "shipping_policy__from_office"."new_code" ASC, "shipping_policy"."total_shipping_price" ASC LIMIT 100;[ Date: 2024-11-30 21:10:43 ]
20 6s480ms SELECT "policy_number".id FROM "policy_number" WHERE (("policy_number"."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"."package_id" in ( SELECT "notebook_package".id FROM "notebook_package" WHERE ("notebook_package"."name"::text ilike '%A14%'))) AND (("policy_number"."name" = '9093528') OR (("policy_number"."name" = '9106511') OR (("policy_number"."name" = '9108740') OR (("policy_number"."name" = '8880880') OR (("policy_number"."name" = '9123505') OR (("policy_number"."name" = '8912038') OR (("policy_number"."name" = '8438539') OR (("policy_number"."name" = '8903268') OR (("policy_number"."name" = '8936147') OR (("policy_number"."name" = '8311216') OR (("policy_number"."name" = '8936150') OR (("policy_number"."name" = '8987951') OR (("policy_number"."name" = '8934473') OR (("policy_number"."name" = '8934677') OR (("policy_number"."name" = '8904123') OR (("policy_number"."name" = '8904482') OR (("policy_number"."name" = '8903309') OR (("policy_number"."name" = '8174370') OR (("policy_number"."name" = '6741553') OR (("policy_number"."name" = '8659167') OR (("policy_number"."name" = '8935902') OR (("policy_number"."name" = '8821542') OR (("policy_number"."name" = '8466520') OR (("policy_number"."name" = '6678421') OR (("policy_number"."name" = '7939669') OR (("policy_number"."name" = '7939663') OR (("policy_number"."name" = '8820966') OR (("policy_number"."name" = '7859429') OR (("policy_number"."name" = '7939672') OR (("policy_number"."name" = '8006465') OR (("policy_number"."name" = '5006465') OR (("policy_number"."name" = '6753876') OR (("policy_number"."name" = '8935758') OR (("policy_number"."name" = '8607670') OR (("policy_number"."name" = '8864828') OR (("policy_number"."name" = '8936407') OR (("policy_number"."name" = '8904512') OR (("policy_number"."name" = '8988070') OR (("policy_number"."name" = '9052607') OR (("policy_number"."name" = '8467549') OR ("policy_number"."name" = '9081522')))))))))))))))))))))))))))))))))))))))))))) ORDER BY "policy_number"."id" LIMIT 80;[ Date: 2024-11-30 18:52:21 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 20h57m36s 208,882 310ms 580ms 361ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 30 00 1,824 10m11s 335ms 01 6,006 34m51s 348ms 02 4,559 25m40s 337ms 03 5,713 32m16s 338ms 04 2,396 13m33s 339ms 05 2,984 16m48s 337ms 06 2,278 12m33s 330ms 07 1,412 7m51s 334ms 08 4,109 23m2s 336ms 09 10,413 59m39s 343ms 10 16,516 1h38m9s 356ms 11 18,962 1h54m14s 361ms 12 17,217 1h43m35s 360ms 13 12,645 1h14m12s 352ms 14 8,587 50m23s 352ms 15 10,321 1h1m8s 355ms 16 9,989 59m47s 359ms 17 15,125 1h35m7s 377ms 18 16,010 1h42m7s 382ms 19 15,458 1h38m38s 382ms 20 10,643 1h5m49s 371ms 21 9,685 1h53s 377ms 22 6,030 37m1s 368ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3124069)) AND (("shipping_track"."id" not in (25498703, 25498703)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 18:53:42 Duration: 580ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3124068)) AND (("shipping_track"."id" not in (25498702, 25498702)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 18:53:42 Duration: 579ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3120976)) AND (("shipping_track"."id" not in (25486062, 25486062)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 18:11:17 Duration: 564ms
2 4h56m40s 88,286 159ms 302ms 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" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 30 00 840 2m45s 197ms 01 1,423 4m41s 197ms 02 1,554 5m7s 197ms 03 1,726 5m43s 198ms 04 613 2m1s 197ms 05 1,179 3m55s 199ms 06 659 2m9s 197ms 07 458 1m30s 197ms 08 2,386 7m59s 200ms 09 4,933 16m50s 204ms 10 8,295 28m52s 208ms 11 8,392 29m46s 212ms 12 5,704 20m20s 213ms 13 6,592 22m42s 206ms 14 8,496 29m23s 207ms 15 9,346 32m18s 207ms 16 5,757 19m35s 204ms 17 14,183 43m53s 185ms 18 3,940 11m49s 180ms 19 1,450 4m11s 173ms 20 109 18s670ms 171ms 21 244 41s610ms 170ms 22 7 1s202ms 171ms -
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" = '8693102')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 11:45:57 Duration: 302ms
-
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" = '8831707')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 13:28:51 Duration: 301ms
-
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" = '9079196')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 11:45:59 Duration: 297ms
3 4h5m11s 40,418 310ms 1s37ms 363ms select "shipping_track".id from "shipping_track" where ("shipping_track"."shipping_id" in (...)) order by "shipping_track"."id";Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 30 00 88 32s641ms 370ms 01 147 56s107ms 381ms 02 126 48s662ms 386ms 03 101 39s352ms 389ms 04 103 37s352ms 362ms 05 71 27s469ms 386ms 06 170 1m 353ms 07 275 1m32s 336ms 08 1,208 6m54s 342ms 09 3,826 22m16s 349ms 10 3,742 22m58s 368ms 11 2,975 18m40s 376ms 12 3,816 23m43s 372ms 13 3,543 21m23s 362ms 14 2,507 14m53s 356ms 15 2,980 17m53s 360ms 16 2,682 15m56s 356ms 17 3,352 20m42s 370ms 18 2,873 17m50s 372ms 19 2,605 15m53s 366ms 20 1,402 8m30s 363ms 21 1,106 6m39s 361ms 22 720 4m21s 362ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3076871)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 17:21:51 Duration: 1s37ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3091845, 3088812, 3080428, 3072403, 3064493, 3055457, 3053742, 3038514)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 12:43:31 Duration: 593ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3128398, 3128394, 3128389, 3128387, 3128381, 3128376, 3128370, 3128366, 3128363, 3128358, 3128354, 3128350, 3128344, 3128339, 3128335, 3128333, 3128329, 3128326, 3128322, 3128320, 3128317, 3128314, 3128311, 3128308, 3128305, 3128301, 3128300, 3128297)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 19:56:50 Duration: 591ms
4 3h19m42s 51,851 98ms 817ms 231ms 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 #4
Day Hour Count Duration Avg duration Nov 30 00 308 57s896ms 187ms 01 3,124 10m8s 194ms 02 1,034 3m59s 231ms 03 1,438 5m47s 241ms 04 634 2m29s 235ms 05 612 2m19s 227ms 07 62 13s711ms 221ms 08 12 2s121ms 176ms 09 232 46s339ms 199ms 10 239 55s464ms 232ms 11 139 31s308ms 225ms 12 242 57s229ms 236ms 13 353 1m20s 227ms 14 677 2m40s 237ms 15 1,050 3m47s 216ms 16 3,638 14m12s 234ms 17 5,366 21m7s 236ms 18 8,180 31m37s 231ms 19 9,034 37m42s 250ms 20 5,601 21m32s 230ms 21 6,731 26m1s 231ms 22 3,145 10m32s 201ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'مصطفي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-11-30 18:49:56 Duration: 817ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'ابراهيم')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-11-30 18:49:56 Duration: 817ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-11-30 21:17:08 Duration: 808ms
5 2h51m39s 10,892 207ms 1s390ms 945ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) order by "policy_number"."id";Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 30 00 46 43s525ms 946ms 01 260 4m5s 943ms 02 168 2m40s 956ms 03 286 4m34s 958ms 09 12 11s836ms 986ms 10 55 58s229ms 1s58ms 11 19 22s100ms 1s163ms 12 49 49s613ms 1s12ms 13 85 1m26s 1s16ms 14 231 3m52s 1s6ms 15 403 6m41s 996ms 16 740 12m12s 989ms 17 1,755 29m10s 997ms 18 1,965 30m20s 926ms 19 1,658 24m32s 888ms 20 1,311 20m 915ms 21 1,442 22m38s 942ms 22 407 6m17s 928ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9159364')) 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 (51))))))) 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 (51)))))) 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 (51)))))) 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 (51))))))))) ORDER BY "policy_number"."id";
Date: 2024-11-30 17:22:01 Duration: 1s390ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9057835')) 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 (13))))))) 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 (13)))))) 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 (13)))))) 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 (13))))))))) ORDER BY "policy_number"."id";
Date: 2024-11-30 11:45:57 Duration: 1s324ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9057551')) 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 (13))))))) 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 (13)))))) 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 (13)))))) 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 (13))))))))) ORDER BY "policy_number"."id";
Date: 2024-11-30 11:46:00 Duration: 1s309ms
6 1h50m9s 22,877 219ms 414ms 288ms 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 #6
Day Hour Count Duration Avg duration Nov 30 08 510 2m20s 275ms 09 1,532 7m13s 282ms 10 2,670 13m10s 296ms 11 3,114 15m38s 301ms 12 2,192 10m50s 296ms 13 2,097 10m6s 288ms 14 2,828 13m37s 289ms 15 4,129 19m49s 287ms 16 1,907 9m3s 284ms 17 714 3m17s 275ms 18 751 3m14s 258ms 19 433 1m49s 252ms -
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" = '9094862')))) ORDER BY "collection_policy"."id";
Date: 2024-11-30 11:45:59 Duration: 414ms
-
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" = '8946317')))) ORDER BY "collection_policy"."id";
Date: 2024-11-30 14:58:40 Duration: 410ms
-
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" = '9079358')))) ORDER BY "collection_policy"."id";
Date: 2024-11-30 11:45:57 Duration: 391ms
7 1h21m22s 139,120 26ms 105ms 35ms select "shipping_policy_items".id from "shipping_policy_items" where ("shipping_policy_items"."shipping_policy_id" in (...)) order by "shipping_policy_items"."id" desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 30 00 862 29s84ms 33ms 01 2,280 1m16s 33ms 02 1,574 53s286ms 33ms 03 1,819 1m1s 33ms 04 692 23s287ms 33ms 05 629 21s807ms 34ms 06 1,161 38s252ms 32ms 07 488 16s380ms 33ms 08 2,519 1m26s 34ms 09 6,892 4m1s 35ms 10 12,451 7m28s 36ms 11 15,481 9m24s 36ms 12 14,888 9m1s 36ms 13 10,641 6m17s 35ms 14 7,289 4m17s 35ms 15 7,855 4m39s 35ms 16 7,570 4m24s 34ms 17 7,566 4m25s 35ms 18 9,173 5m15s 34ms 19 9,530 5m24s 34ms 20 7,487 4m11s 33ms 21 6,033 3m21s 33ms 22 4,240 2m21s 33ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3109853)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-30 13:28:51 Duration: 105ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3076871)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-30 17:21:52 Duration: 75ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2709468)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-30 18:15:55 Duration: 72ms
8 1h9m33s 15,346 196ms 398ms 271ms select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 30 00 109 29s777ms 273ms 01 1,316 6m2s 275ms 02 364 1m40s 275ms 03 459 2m7s 277ms 04 317 1m26s 272ms 05 309 1m23s 269ms 07 32 8s825ms 275ms 08 17 4s341ms 255ms 09 105 30s656ms 291ms 10 69 19s405ms 281ms 11 53 15s549ms 293ms 12 82 24s260ms 295ms 13 97 28s874ms 297ms 14 111 33s188ms 298ms 15 124 37s815ms 304ms 16 1,121 5m25s 290ms 17 954 4m30s 283ms 18 2,177 9m53s 272ms 19 2,892 12m58s 269ms 20 1,512 6m43s 266ms 21 1,949 8m32s 263ms 22 1,177 4m56s 251ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9102298')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-11-30 17:15:55 Duration: 398ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9012299')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-11-30 17:15:39 Duration: 390ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9154431')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-11-30 19:40:57 Duration: 389ms
9 35m31s 51,014 32ms 84ms 41ms 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 #9
Day Hour Count Duration Avg duration Nov 30 00 2 81ms 40ms 06 3 126ms 42ms 07 5 213ms 42ms 08 704 28s848ms 40ms 09 3,701 2m30s 40ms 10 5,810 4m3s 41ms 11 7,256 5m5s 42ms 12 4,714 3m21s 42ms 13 4,663 3m14s 41ms 14 5,453 3m46s 41ms 15 6,730 4m43s 42ms 16 4,578 3m8s 41ms 17 2,990 2m5s 41ms 18 1,702 1m11s 42ms 19 2,013 1m23s 41ms 20 480 19s236ms 40ms 21 130 5s285ms 40ms 22 80 3s185ms 39ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3010470) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-11-30 12:32:54 Duration: 84ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2977304) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-11-30 17:44:15 Duration: 84ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2906571) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-11-30 17:18:51 Duration: 79ms
10 27m30s 8,210 161ms 265ms 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"."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 #10
Day Hour Count Duration Avg duration Nov 30 00 20 3s958ms 197ms 01 51 10s110ms 198ms 02 141 27s808ms 197ms 03 68 13s366ms 196ms 05 82 16s247ms 198ms 06 472 1m33s 197ms 07 458 1m30s 197ms 08 1,121 3m44s 200ms 09 1,271 4m17s 202ms 10 431 1m28s 206ms 11 679 2m23s 210ms 12 512 1m48s 212ms 13 1,185 4m4s 206ms 14 604 2m2s 202ms 16 172 34s896ms 202ms 17 128 23s934ms 186ms 18 406 1m16s 187ms 19 49 8s475ms 172ms 20 110 18s901ms 171ms 21 243 41s414ms 170ms 22 7 1s208ms 172ms -
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" = '9018112')) 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: 2024-11-30 12:20:23 Duration: 265ms
-
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" = '9160762')) 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: 2024-11-30 12:32:22 Duration: 264ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9019537')) 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: 2024-11-30 12:20:24 Duration: 262ms
11 25m1s 18,355 67ms 124ms 81ms select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 30 00 1 77ms 77ms 06 10 828ms 82ms 07 46 3s782ms 82ms 08 283 23s170ms 81ms 09 1,209 1m39s 82ms 10 2,181 3m1s 83ms 11 1,496 2m3s 82ms 12 2,203 3m2s 82ms 13 1,834 2m29s 81ms 14 1,560 2m7s 81ms 15 2,633 3m31s 80ms 16 1,836 2m27s 80ms 17 1,059 1m28s 84ms 18 750 1m1s 81ms 19 593 48s890ms 82ms 20 347 27s634ms 79ms 21 248 19s841ms 80ms 22 66 5s370ms 81ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7736758)) AND (("cash_track"."id" not in (5118537)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-11-30 18:16:31 Duration: 124ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7663398)) AND (("cash_track"."id" not in (4591731, 4612751, 4617641, 5095470, 5095470)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-11-30 10:47:10 Duration: 116ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7726360)) AND (("cash_track"."id" not in (5041254, 5045532, 5049018, 5114889, 5114889)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-11-30 17:22:30 Duration: 115ms
12 20m18s 6,149 178ms 221ms 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" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 30 00 820 2m41s 197ms 01 1,302 4m17s 197ms 02 1,362 4m29s 198ms 03 1,493 4m56s 198ms 04 235 46s547ms 198ms 05 750 2m29s 199ms 06 187 36s913ms 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" = '9178758')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 36, 37, 40, 41, 42, 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: 2024-11-30 03:01:45 Duration: 221ms
-
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" = '8936553')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 01:20:31 Duration: 219ms
-
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" = '8412319')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 05:29:52 Duration: 218ms
13 18m38s 339 445ms 4s223ms 3s299ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 30 09 5 18s674ms 3s734ms 10 25 1m20s 3s232ms 11 11 24s918ms 2s265ms 12 13 49s445ms 3s803ms 13 6 20s335ms 3s389ms 14 50 2m49s 3s389ms 15 59 3m29s 3s553ms 16 51 2m53s 3s401ms 17 38 1m58s 3s130ms 18 24 1m19s 3s311ms 19 12 38s998ms 3s249ms 20 20 55s110ms 2s755ms 21 17 53s888ms 3s169ms 22 8 25s408ms 3s176ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-30 12:00:35 Duration: 4s223ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3))))))) 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 (3)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3))))))))) 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 (3)))))))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-30 15:49:13 Duration: 4s147ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14)))))))) AND ("policy_number"."name"::text ilike '%853204%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-30 10:17:03 Duration: 4s121ms
14 13m59s 22,680 29ms 63ms 37ms select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 30 08 450 15s792ms 35ms 09 1,389 49s90ms 35ms 10 2,815 1m46s 37ms 11 3,054 1m55s 37ms 12 2,140 1m20s 37ms 13 2,135 1m19s 37ms 14 2,965 1m49s 36ms 15 3,478 2m9s 37ms 16 1,942 1m10s 36ms 17 1,097 39s153ms 35ms 18 782 27s654ms 35ms 19 433 15s592ms 36ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2552129) ORDER BY "collection_policy"."id";
Date: 2024-11-30 10:17:38 Duration: 63ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2893404) ORDER BY "collection_policy"."id";
Date: 2024-11-30 10:47:24 Duration: 61ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2934949) ORDER BY "collection_policy"."id";
Date: 2024-11-30 10:45:35 Duration: 53ms
15 13m38s 5,915 120ms 203ms 138ms select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 30 00 16 2s75ms 129ms 01 30 3s911ms 130ms 08 65 8s601ms 132ms 09 199 27s60ms 135ms 10 809 1m53s 139ms 11 1,252 2m55s 140ms 12 1,201 2m49s 141ms 13 826 1m52s 136ms 14 526 1m11s 136ms 15 254 34s367ms 135ms 16 240 32s25ms 133ms 17 169 23s605ms 139ms 18 81 10s968ms 135ms 19 64 8s928ms 139ms 20 62 8s261ms 133ms 21 56 7s341ms 131ms 22 65 8s480ms 130ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 80)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-11-30 10:26:13 Duration: 203ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 11)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-11-30 12:43:31 Duration: 195ms
-
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: 2024-11-30 12:43:32 Duration: 189ms
16 12m7s 624 0ms 4s416ms 1s165ms select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 30 06 19 15s212ms 800ms 07 98 1m19s 810ms 09 4 3s255ms 813ms 12 4 1s653ms 413ms 13 20 41s12ms 2s50ms 14 10 8s763ms 876ms 16 10 29s932ms 2s993ms 19 132 2m50s 1s290ms 20 292 5m41s 1s168ms 21 35 36s499ms 1s42ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (78)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8932%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-30 20:23:40 Duration: 4s416ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%81174%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-30 13:03:08 Duration: 4s341ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8117458%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-30 13:03:10 Duration: 4s332ms
17 11m6s 2,336 236ms 373ms 285ms 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 #17
Day Hour Count Duration Avg duration Nov 30 08 56 15s718ms 280ms 09 248 1m9s 280ms 10 325 1m35s 293ms 11 157 45s301ms 288ms 12 160 46s480ms 290ms 13 128 37s298ms 291ms 14 152 43s524ms 286ms 15 665 3m9s 285ms 16 106 30s164ms 284ms 17 339 1m32s 274ms -
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" = '8561654') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2024-11-30 16:56:45 Duration: 373ms
-
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" = '8773495') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2024-11-30 12:26:37 Duration: 369ms
-
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" = '8773666') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2024-11-30 12:26:38 Duration: 364ms
18 10m7s 2,576 16ms 757ms 235ms select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 30 00 2 40ms 20ms 01 4 1s429ms 357ms 04 2 827ms 413ms 06 1 162ms 162ms 07 4 476ms 119ms 08 49 7s207ms 147ms 09 137 31s989ms 233ms 10 247 53s458ms 216ms 11 252 1m4s 255ms 12 328 1m25s 259ms 13 304 1m20s 263ms 14 283 1m6s 234ms 15 406 1m16s 187ms 16 207 47s682ms 230ms 17 118 31s541ms 267ms 18 85 26s172ms 307ms 19 54 13s516ms 250ms 20 56 11s772ms 210ms 21 28 7s54ms 251ms 22 9 1s595ms 177ms -
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-11-30 18:50:54 Duration: 757ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-11-30 18:50:54 Duration: 753ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-11-30 18:50:54 Duration: 669ms
19 7m38s 2,257 160ms 272ms 203ms select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) 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 #19
Day Hour Count Duration Avg duration Nov 30 04 326 1m4s 197ms 05 261 51s678ms 198ms 08 80 16s220ms 202ms 09 169 34s626ms 204ms 10 130 27s355ms 210ms 11 273 57s861ms 211ms 12 160 33s665ms 210ms 13 106 21s594ms 203ms 14 154 33s508ms 217ms 15 114 22s926ms 201ms 16 221 45s279ms 204ms 17 258 48s310ms 187ms 19 5 861ms 172ms -
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" = '8822982')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 14:58:40 Duration: 272ms
-
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" = '8471465')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 14:58:41 Duration: 272ms
-
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" = '8438140')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 14:58:40 Duration: 262ms
20 6m18s 2,726 111ms 193ms 138ms select name from shipping_policy order by create_date desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 30 00 120 15s855ms 132ms 01 120 15s753ms 131ms 02 120 15s777ms 131ms 03 120 15s799ms 131ms 04 120 15s820ms 131ms 05 120 15s805ms 131ms 06 120 15s832ms 131ms 07 120 15s828ms 131ms 08 120 15s938ms 132ms 09 120 16s319ms 135ms 10 120 16s893ms 140ms 11 120 17s1ms 141ms 12 120 16s893ms 140ms 13 120 16s584ms 138ms 14 120 15s763ms 131ms 15 120 15s670ms 130ms 16 120 15s352ms 127ms 17 116 17s601ms 151ms 18 120 18s885ms 157ms 19 120 18s685ms 155ms 20 120 18s496ms 154ms 21 120 18s380ms 153ms 22 90 13s707ms 152ms -
select name from shipping_policy order by create_date desc limit 10;
Date: 2024-11-30 17:36:02 Duration: 193ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2024-11-30 17:36:01 Duration: 189ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2024-11-30 17:22:02 Duration: 187ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,228,193 1m56s 0ms 15ms 0ms discard all;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 30 00 28,604 1s31ms 0ms 01 30,590 1s332ms 0ms 02 30,551 1s273ms 0ms 03 28,773 1s275ms 0ms 04 22,578 854ms 0ms 05 23,119 949ms 0ms 06 21,814 902ms 0ms 07 21,188 876ms 0ms 08 63,819 2s830ms 0ms 09 137,751 7s79ms 0ms 10 191,093 10s378ms 0ms 11 191,959 10s465ms 0ms 12 203,517 11s349ms 0ms 13 183,136 10s18ms 0ms 14 162,999 8s708ms 0ms 15 178,787 9s997ms 0ms 16 161,525 8s895ms 0ms 17 138,642 7s118ms 0ms 18 121,562 6s199ms 0ms 19 104,207 5s382ms 0ms 20 82,964 4s277ms 0ms 21 59,523 2s991ms 0ms 22 39,492 1s967ms 0ms -
DISCARD ALL;
Date: 2024-11-30 11:25:07 Duration: 15ms
-
DISCARD ALL;
Date: 2024-11-30 15:12:14 Duration: 14ms
-
DISCARD ALL;
Date: 2024-11-30 11:26:06 Duration: 1ms
2 1,693,304 25s467ms 0ms 14ms 0ms begin isolation level repeatable read;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 30 00 17,959 235ms 0ms 01 20,151 309ms 0ms 02 19,783 296ms 0ms 03 19,327 296ms 0ms 04 14,433 198ms 0ms 05 15,090 218ms 0ms 06 15,375 217ms 0ms 07 14,975 206ms 0ms 08 48,631 687ms 0ms 09 110,282 1s633ms 0ms 10 152,776 2s328ms 0ms 11 149,646 2s314ms 0ms 12 160,457 2s434ms 0ms 13 139,652 2s94ms 0ms 14 121,424 1s784ms 0ms 15 137,073 2s49ms 0ms 16 121,355 1s799ms 0ms 17 108,179 1s613ms 0ms 18 93,893 1s441ms 0ms 19 78,543 1s239ms 0ms 20 61,751 951ms 0ms 21 43,868 676ms 0ms 22 28,681 440ms 0ms -
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-11-30 12:06:23 Duration: 14ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-11-30 11:42:50 Duration: 14ms
-
BEGIN ISOLATION LEVEL REPEATABLE READ;
Date: 2024-11-30 15:32:05 Duration: 1ms
3 1,123,991 11s372ms 0ms 13ms 0ms rollback;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 30 00 14,539 118ms 0ms 01 15,556 143ms 0ms 02 15,535 139ms 0ms 03 14,633 136ms 0ms 04 11,482 94ms 0ms 05 11,766 102ms 0ms 06 11,173 96ms 0ms 07 10,810 92ms 0ms 08 32,460 294ms 0ms 09 69,485 699ms 0ms 10 96,248 999ms 0ms 11 96,487 1s9ms 0ms 12 102,285 1s64ms 0ms 13 92,190 944ms 0ms 14 82,052 830ms 0ms 15 90,027 936ms 0ms 16 81,313 836ms 0ms 17 69,817 749ms 0ms 18 61,301 634ms 0ms 19 52,593 543ms 0ms 20 41,878 414ms 0ms 21 30,281 299ms 0ms 22 20,080 194ms 0ms -
ROLLBACK;
Date: 2024-11-30 09:37:36 Duration: 13ms
-
ROLLBACK;
Date: 2024-11-30 16:46:57 Duration: 0ms
-
ROLLBACK;
Date: 2024-11-30 19:30:15 Duration: 0ms
4 1,116,918 3m17s 0ms 13ms 0ms select payload from http_sessions where sid = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 30 00 14,071 1s809ms 0ms 01 15,133 2s603ms 0ms 02 15,034 2s422ms 0ms 03 14,157 2s468ms 0ms 04 11,045 1s493ms 0ms 05 11,322 1s692ms 0ms 06 10,684 1s523ms 0ms 07 10,380 1s400ms 0ms 08 31,794 5s23ms 0ms 09 69,188 12s329ms 0ms 10 96,267 17s540ms 0ms 11 96,461 17s689ms 0ms 12 102,614 18s499ms 0ms 13 92,429 16s220ms 0ms 14 82,049 13s771ms 0ms 15 89,848 15s531ms 0ms 16 81,108 13s845ms 0ms 17 69,459 13s456ms 0ms 18 60,809 11s769ms 0ms 19 52,243 10s99ms 0ms 20 41,469 7s602ms 0ms 21 29,727 5s403ms 0ms 22 19,627 3s523ms 0ms -
SELECT payload FROM http_sessions WHERE sid = 'e7cc2ecabfd46e39eeaaf8b79fd8ca0ab2697ceb';
Date: 2024-11-30 10:52:10 Duration: 13ms
-
SELECT payload FROM http_sessions WHERE sid = 'd3e1d02ca366720e8af9bc313503ba8ff86930f4';
Date: 2024-11-30 12:26:33 Duration: 11ms
-
SELECT payload FROM http_sessions WHERE sid = '81aa956ebf6dc3e3db7c4cd13aec2ae5288ddd2b';
Date: 2024-11-30 09:53:41 Duration: 8ms
5 1,111,473 1m37s 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 Nov 30 00 14,233 1s22ms 0ms 01 15,222 1s266ms 0ms 02 15,206 1s236ms 0ms 03 14,323 1s190ms 0ms 04 11,226 843ms 0ms 05 11,496 903ms 0ms 06 10,833 843ms 0ms 07 10,532 812ms 0ms 08 31,760 2s550ms 0ms 09 68,722 5s977ms 0ms 10 95,370 8s582ms 0ms 11 95,830 8s612ms 0ms 12 101,612 8s986ms 0ms 13 91,386 7s969ms 0ms 14 81,318 6s920ms 0ms 15 89,225 7s739ms 0ms 16 80,641 6s889ms 0ms 17 69,184 6s434ms 0ms 18 60,657 5s633ms 0ms 19 51,989 4s771ms 0ms 20 41,383 3s661ms 0ms 21 29,649 2s573ms 0ms 22 19,676 1s696ms 0ms -
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-11-30 18:33:57 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-11-30 11:55:50 Duration: 1ms
-
SELECT base_registry_signaling.last_value, base_cache_signaling.last_value FROM base_registry_signaling, base_cache_signaling;
Date: 2024-11-30 13:10:03 Duration: 1ms
6 569,304 1m23s 0ms 37ms 0ms commit;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 30 00 3,418 583ms 0ms 01 4,594 922ms 0ms 02 4,248 824ms 0ms 03 4,695 851ms 0ms 04 2,951 452ms 0ms 05 3,324 631ms 0ms 06 4,202 717ms 0ms 07 4,165 524ms 0ms 08 16,168 1s990ms 0ms 09 40,797 5s360ms 0ms 10 56,522 8s118ms 0ms 11 53,162 8s107ms 0ms 12 58,173 8s884ms 0ms 13 47,464 6s967ms 0ms 14 39,367 5s473ms 0ms 15 47,050 6s803ms 0ms 16 40,040 5s382ms 0ms 17 38,359 5s664ms 0ms 18 32,594 4s993ms 0ms 19 25,947 3s781ms 0ms 20 19,873 2s938ms 0ms 21 13,590 1s986ms 0ms 22 8,601 1s289ms 0ms -
COMMIT;
Date: 2024-11-30 10:36:36 Duration: 37ms
-
COMMIT;
Date: 2024-11-30 12:25:41 Duration: 30ms
-
COMMIT;
Date: 2024-11-30 12:25:41 Duration: 29ms
7 495,626 1m8s 0ms 5ms 0ms select "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" from "urgent_customer" where "urgent_customer".id in (...);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 30 00 2,437 281ms 0ms 01 4,417 454ms 0ms 02 3,228 417ms 0ms 03 4,581 613ms 0ms 04 2,515 315ms 0ms 05 2,527 340ms 0ms 06 3,476 480ms 0ms 07 2,273 286ms 0ms 08 13,143 1s742ms 0ms 09 37,507 5s266ms 0ms 10 50,819 7s981ms 0ms 11 45,783 7s20ms 0ms 12 51,712 7s853ms 0ms 13 37,794 5s382ms 0ms 14 32,207 4s279ms 0ms 15 36,480 5s107ms 0ms 16 33,613 4s592ms 0ms 17 34,257 4s471ms 0ms 18 29,634 3s823ms 0ms 19 26,453 3s413ms 0ms 20 18,290 2s317ms 0ms 21 14,478 1s601ms 0ms 22 8,002 947ms 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 (5100596, 5099264, 5129469, 5099202, 5099144, 5099921, 5187557, 5099009, 5099140, 5103650, 5100204, 5126191, 5099095, 5099007, 5099129, 5099181, 5105317, 5100684, 5099137, 5104383, 5099540, 5106849, 5102305, 5099547, 5130562, 5099013, 5101243, 5099632, 5099003, 5107401, 5099415, 5270600, 5100937, 5115724, 5107646, 5102312, 5099272, 5099445, 5211480, 5099174, 5099170, 5099349, 5154740, 5099169, 5099403, 5404617, 5099427, 5121781, 5117470, 5100673, 5107216, 5125283);
Date: 2024-11-30 17:21:50 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 (5105193, 5099754, 5100714, 5099037, 5099102, 5099329, 5099187, 5102488, 5102702, 5099334, 5099499, 5404630, 5099111, 5100142, 5099404, 5099873, 5099254, 5099582, 5101617, 5099014, 5099006, 5099135, 5102811, 5099045, 5099002, 5404625, 5336635, 5128744, 5404624, 5110067, 5184816, 5114572, 5103019, 5099224, 5099724, 5104574, 5100610, 5099687, 5099261, 5098978, 5099008, 5099130, 5103195, 5099309, 5099296, 5099090, 5099500, 5099333, 5099141, 5099035, 5099577, 5100118, 5099631, 5109998, 5100192, 5099892, 5099206, 5100070, 5099010, 5100725);
Date: 2024-11-30 17:21:50 Duration: 4ms
-
SELECT "urgent_customer"."id" AS "id", "urgent_customer"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_customer"."name" AS "name", "urgent_customer"."phone" AS "phone", "urgent_customer"."code" AS "code", "urgent_customer"."address" AS "address", "urgent_customer"."active" AS "active", "urgent_customer"."receive_man_id_no" AS "receive_man_id_no", "urgent_customer"."create_uid" AS "create_uid", "urgent_customer"."create_date" AS "create_date", "urgent_customer"."write_uid" AS "write_uid", "urgent_customer"."write_date" AS "write_date", "urgent_customer"."v_10_id" AS "v_10_id" FROM "urgent_customer" WHERE "urgent_customer".id IN (5122815, 5208767, 5107075, 5105640, 5099014, 5099389, 5099746, 5102697, 5101176, 5099403, 5124863, 5102793, 5098996, 5099761, 5183043, 5099321, 5250834, 5099788, 5100729, 5392816, 5194301, 5180627, 5101116, 5105698, 5099263, 5103583, 5099731, 5116667, 5103721, 5100977, 5099382, 5100386, 5100981, 5109066, 5100550, 5099568, 5099875, 5114788, 5101661, 5109378, 5106172, 5102290, 5100687, 5102988, 5102025, 5106916, 5099335, 5109823, 5099295, 5103909, 5105921, 5099037, 5101665, 5101298, 5099386, 5115971, 5162834, 5121275, 5101059, 5111973, 5099137, 5101120, 5099166, 5107408, 5100001, 5099294, 5103749, 5105750, 5101079, 5107879, 5104461, 5210303, 5104282, 5399598, 5099108, 5104336, 5185296, 5102131, 5099141, 5103304, 5100354, 5101185, 5099734, 5200292, 5116898, 5372047, 5099990, 5189375, 5099967, 5100202, 5122597, 5164455, 5099128, 5099144, 5099182, 5099333, 5099456, 5099511, 5104559, 5104247, 5099103, 5102774, 5391935, 5331425, 5099028, 5099441, 5099965, 5370263, 5102647, 5099684, 5132674, 5099728, 5099095, 5100596, 5099694, 5099767, 5177846, 5099121, 5132434, 5100605, 5247330);
Date: 2024-11-30 17:21:52 Duration: 3ms
8 475,774 27s927ms 0ms 1ms 0ms select "urgent_office"."id" AS "id", "urgent_office"."message_main_attachment_id" AS "message_main_attachment_id", "urgent_office"."active" AS "active", "urgent_office"."name" AS "name", "urgent_office"."code" AS "code", "urgent_office"."new_code" AS "new_code", "urgent_office"."last_balance_cash" AS "last_balance_cash", "urgent_office"."last_balance_cheque" AS "last_balance_cheque", "urgent_office"."last_daily_movement_date" AS "last_daily_movement_date", "urgent_office"."client_office" AS "client_office", "urgent_office"."is_create_cheques" AS "is_create_cheques", "urgent_office"."create_uid" AS "create_uid", "urgent_office"."create_date" AS "create_date", "urgent_office"."write_uid" AS "write_uid", "urgent_office"."write_date" AS "write_date", "urgent_office"."v_10_id" AS "v_10_id" from "urgent_office" where "urgent_office".id in (...);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 30 00 2,388 122ms 0ms 01 3,055 178ms 0ms 02 2,554 136ms 0ms 03 3,360 183ms 0ms 04 2,115 113ms 0ms 05 2,001 110ms 0ms 06 3,412 172ms 0ms 07 2,820 154ms 0ms 08 12,387 653ms 0ms 09 34,945 1s930ms 0ms 10 46,364 2s814ms 0ms 11 43,872 2s704ms 0ms 12 48,155 2s895ms 0ms 13 37,591 2s158ms 0ms 14 32,160 1s795ms 0ms 15 38,251 2s269ms 0ms 16 32,946 1s896ms 0ms 17 34,520 2s129ms 0ms 18 29,687 1s778ms 0ms 19 24,630 1s506ms 0ms 20 18,025 1s23ms 0ms 21 12,951 760ms 0ms 22 7,585 437ms 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 (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, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 51, 55, 30, 67, 66, 68, 95, 128, 83, 59, 97, 101, 108, 118, 120, 129, 124, 122, 112);
Date: 2024-11-30 15:43:42 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 (51, 39, 123, 14, 28, 7, 19, 1, 65, 10, 74, 127, 6, 119, 126, 5, 2, 68, 111, 42, 79);
Date: 2024-11-30 12:01:33 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 (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 85, 60, 49, 70, 61, 11, 68, 95, 128, 83, 59, 97, 101, 108, 118, 120, 129, 124, 122, 112);
Date: 2024-11-30 15:13:45 Duration: 1ms
9 328,926 58s479ms 0ms 12ms 0ms select "res_partner"."id" AS "id", "res_partner"."message_main_attachment_id" AS "message_main_attachment_id", "res_partner"."email_normalized" AS "email_normalized", "res_partner"."message_bounce" AS "message_bounce", "res_partner"."name" AS "name", "res_partner"."display_name" AS "display_name", "res_partner"."date" AS "date", "res_partner"."title" AS "title", "res_partner"."parent_id" AS "parent_id", "res_partner"."ref" AS "ref", "res_partner"."lang" AS "lang", "res_partner"."tz" AS "tz", "res_partner"."user_id" AS "user_id", "res_partner"."vat" AS "vat", "res_partner"."company_registry" AS "company_registry", "res_partner"."website" AS "website", "res_partner"."comment" AS "comment", "res_partner"."active" AS "active", "res_partner"."employee" AS "employee", "res_partner"."function" AS "function", "res_partner"."type" AS "type", "res_partner"."street" AS "street", "res_partner"."street2" AS "street2", "res_partner"."zip" AS "zip", "res_partner"."city" AS "city", "res_partner"."state_id" AS "state_id", "res_partner"."country_id" AS "country_id", "res_partner"."partner_latitude" AS "partner_latitude", "res_partner"."partner_longitude" AS "partner_longitude", "res_partner"."email" AS "email", "res_partner"."phone" AS "phone", "res_partner"."mobile" AS "mobile", "res_partner"."is_company" AS "is_company", "res_partner"."industry_id" AS "industry_id", "res_partner"."company_id" AS "company_id", "res_partner"."color" AS "color", "res_partner"."partner_share" AS "partner_share", "res_partner"."commercial_partner_id" AS "commercial_partner_id", "res_partner"."commercial_company_name" AS "commercial_company_name", "res_partner"."company_name" AS "company_name", "res_partner"."create_uid" AS "create_uid", "res_partner"."create_date" AS "create_date", "res_partner"."write_uid" AS "write_uid", "res_partner"."write_date" AS "write_date", "res_partner"."office_id" AS "office_id", "res_partner"."employee_traffic" AS "employee_traffic", "res_partner"."code" AS "code", "res_partner"."office_driver_id" AS "office_driver_id", "res_partner"."type_employee" AS "type_employee", "res_partner"."type_driver" AS "type_driver", "res_partner"."v_10_id" AS "v_10_id" from "res_partner" where "res_partner".id in (...);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 30 00 1,483 251ms 0ms 01 2,047 361ms 0ms 02 1,644 304ms 0ms 03 1,928 352ms 0ms 04 1,238 220ms 0ms 05 1,290 228ms 0ms 06 1,744 303ms 0ms 07 1,565 257ms 0ms 08 10,515 1s574ms 0ms 09 26,241 4s353ms 0ms 10 32,845 5s999ms 0ms 11 31,844 5s843ms 0ms 12 33,948 6s229ms 0ms 13 28,012 4s976ms 0ms 14 23,704 4s101ms 0ms 15 28,145 4s889ms 0ms 16 23,261 4s68ms 0ms 17 22,155 4s221ms 0ms 18 17,683 3s234ms 0ms 19 14,204 2s614ms 0ms 20 10,654 1s879ms 0ms 21 8,050 1s429ms 0ms 22 4,726 783ms 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 (8004697);
Date: 2024-11-30 17:21:50 Duration: 12ms
-
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 (8006439);
Date: 2024-11-30 17:21:50 Duration: 6ms
-
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 (8006439);
Date: 2024-11-30 17:21:50 Duration: 6ms
10 266,239 18s510ms 0ms 1ms 0ms select "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" from "res_users" where "res_users".id in (...);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 30 00 1,358 91ms 0ms 01 1,701 110ms 0ms 02 1,470 95ms 0ms 03 1,789 119ms 0ms 04 1,141 75ms 0ms 05 1,099 73ms 0ms 06 1,709 110ms 0ms 07 1,451 96ms 0ms 08 7,850 491ms 0ms 09 20,138 1s371ms 0ms 10 26,614 1s954ms 0ms 11 24,951 1s844ms 0ms 12 27,213 1s975ms 0ms 13 22,055 1s540ms 0ms 14 18,949 1s280ms 0ms 15 22,898 1s549ms 0ms 16 18,965 1s291ms 0ms 17 18,410 1s328ms 0ms 18 14,862 1s23ms 0ms 19 12,164 831ms 0ms 20 9,021 575ms 0ms 21 6,602 434ms 0ms 22 3,829 244ms 0ms -
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (909, 889, 902, 829, 830, 831, 903, 832, 833, 834, 835, 836, 837, 838, 839, 904, 840, 841, 842, 843, 845, 846, 847, 848, 849, 851, 906, 852, 853, 854, 855, 856, 857, 858, 861, 862, 863, 864, 865, 866, 867, 868, 869, 871, 872, 873, 876, 877, 878, 879, 880, 881, 882, 886, 887, 828);
Date: 2024-11-30 20:11:53 Duration: 1ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (923, 996, 834, 1103, 1201, 837, 1091, 988, 841, 854, 1089);
Date: 2024-11-30 10:44:18 Duration: 1ms
-
SELECT "res_users"."id" AS "id", "res_users"."partner_id" AS "partner_id", "res_users"."login" AS "login", "res_users"."signature" AS "signature", "res_users"."active" AS "active", "res_users"."action_id" AS "action_id", "res_users"."share" AS "share", "res_users"."company_id" AS "company_id", "res_users"."create_uid" AS "create_uid", "res_users"."create_date" AS "create_date", "res_users"."write_uid" AS "write_uid", "res_users"."write_date" AS "write_date", "res_users"."notification_type" AS "notification_type", "res_users"."odoobot_state" AS "odoobot_state", "res_users"."odoobot_failed" AS "odoobot_failed" FROM "res_users" WHERE "res_users".id IN (821);
Date: 2024-11-30 18:10:44 Duration: 1ms
11 229,485 56s145ms 0ms 22ms 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 #11
Day Hour Count Duration Avg duration Nov 30 00 991 226ms 0ms 01 2,555 595ms 0ms 02 1,503 394ms 0ms 03 2,055 532ms 0ms 04 1,142 280ms 0ms 05 1,078 301ms 0ms 06 1,278 340ms 0ms 07 1,087 249ms 0ms 08 5,184 1s282ms 0ms 09 16,161 6s356ms 0ms 10 20,776 5s437ms 0ms 11 19,031 4s846ms 0ms 12 22,504 5s342ms 0ms 13 17,114 3s793ms 0ms 14 16,206 3s305ms 0ms 15 17,340 3s619ms 0ms 16 17,122 3s587ms 0ms 17 16,554 3s957ms 0ms 18 14,682 3s436ms 0ms 19 13,579 3s312ms 0ms 20 9,554 2s251ms 0ms 21 7,983 1s786ms 0ms 22 4,006 909ms 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 (39485584, 40778681, 32601607, 40778675, 40352543, 40824882, 40800417, 40561448, 39931878, 40430201, 39856555, 39878832, 39878833, 39423184, 40605549, 40605163, 40305686, 40423991, 40180575, 40179730, 40889578, 41220837, 40016395, 40560365, 39856944, 39935828, 39379166, 40012072, 38585090, 40300324, 39695091, 40130709, 40395873, 40740842, 40108753, 40241940, 38634576, 40319211, 40287241, 40575018, 40442056, 39956380, 39805488, 41286191, 40281007, 40239082, 38557940, 40108757, 41133942, 39957785, 40189695, 40189899, 40035266, 32590660, 40094385, 39878835, 40299974, 40246280, 40579093, 38401328, 39878801, 40141609, 40395880, 39026483, 40123155, 39828630, 39104464, 39659530, 40362672, 38577027, 40063704, 39708163, 39974519, 38557938, 40108756, 40856295, 40904185, 40553621, 40498216, 39878841, 40652063, 40378647, 39878822, 39956369, 40423542, 39895391, 40952377, 40552832, 39668685, 39379174, 41043024, 40435362, 40246275, 39733310, 39934686, 32595888, 40851446, 40378687, 41093698, 40189255);
Date: 2024-11-30 17:21:51 Duration: 22ms
-
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 (41050401, 41247001, 41252906, 41302716, 41175426, 41324710, 41085644, 41303367, 41155176, 41268342, 41132522, 41180191, 41241283, 41326454, 41193779, 41008101, 41301183, 41101322, 41230684, 41303069, 41151502, 41210554, 41339010, 41179582, 41128592, 40789678, 41250720, 41123344, 41115605, 41327901, 41255201, 41284890, 41288866, 41129908, 41023185, 41066114, 41073468, 40853815, 41239370, 41146881, 40368785, 41191647, 41113360, 41353472, 40964910, 41306840, 40517212, 41062112, 41266281, 41224369, 40966828, 41207793, 40708347, 41044993, 41197745, 41213164, 41124250, 41110566, 41220802, 40938816, 41223776, 41223778, 40916041, 41245690, 41241558, 41132762, 41184915, 41115054, 41225846, 41115293, 41085631, 41060682, 41270907, 40963940, 40643532, 41180220, 40716287, 40429240, 40938400, 41123996, 41161627, 41247523, 40837910, 41113715, 41107096, 40891664, 41065438, 40567587, 41315323, 41183950, 41272486, 40862129, 41242390, 40353988, 41076198, 41085645, 41273098, 41086265, 41258459, 41090165, 40953307, 41131080, 41007394, 41231372, 41099001, 41037097, 41056326, 41178439, 41273096, 40913358, 41254957, 41120064, 41278525, 41302196, 41211995, 41284851, 40719684, 41245211, 41120857, 41260933, 41231366, 40737058, 41247522, 41007785, 41231092, 41147479, 41258126, 41101974, 41028515, 41189368, 41151869, 41206875, 41328401, 41184024, 41179325, 40798791, 41287579, 41201518, 40991428, 41068227, 40817008, 41207175, 41196784, 41223598, 41194011, 40975189, 41302418, 41231373, 41160078, 41240908, 41268148, 40926892, 40830483, 41206842, 41202624, 41312635, 41225137, 41104441, 41206345, 41171985, 41138071, 41106765, 41273594, 40993089, 41269741, 41234466, 40918304, 41272472, 41047341, 41238954, 41149748, 41242102, 41325751, 41204394, 41183735, 41289410, 41273694, 41254748, 41108880, 41268229, 40361573, 40426121, 41147335, 41232759, 41147325, 41247528, 41098679, 41312603, 41278364, 41152977, 41166493, 41267566, 41099234, 41202644, 41272440, 41138901, 41087818, 41267560, 41285610, 41061512, 41175397, 41289543, 41185579, 41231397, 40917513, 41062076, 41278295, 40976222, 40816168, 41271091, 40755770, 41181524, 41170768, 41285972, 41181599, 41258318, 41285961, 41285968, 40632013, 40887999, 41244371, 40991723, 41244363, 41189458, 41209803, 41088078, 41070063, 41259589, 41223972, 41223553, 41270194, 40898423, 41116780, 41222883, 41273017, 41325749, 41211293, 41105457, 41206375, 41071322, 41234396, 40217633, 41271186, 41073454, 41181605, 41169578, 41156464, 41083993, 41287303, 41082791, 40993000, 41174347, 41213574, 41137776, 41026335, 41087958, 41230015, 41088896, 41169307, 41312503, 41293510, 41301998, 41085786, 41072816, 41189680, 41210935, 41026339, 41184769, 41171214, 41236825, 41104284, 41168063, 40866538, 41289022, 40964981, 41271309, 41207661, 41140052, 41102581, 41227446, 40154839, 41216311, 40947097, 41018599, 41138818, 41196715, 41244148, 41279307, 41200832, 41241769, 41095262, 40872524, 41315050, 41152129, 41218006, 40608513, 41219662, 40916702, 41054833, 41273109, 41237711, 40898789, 41026332, 41225015, 40649804, 41211208, 41084927, 41067700, 41022220, 41218005, 41098681, 41289258, 40896033, 41315049, 41240912, 41208071, 41170767, 40487931, 41015418, 40871785, 40976638, 41293942, 41011936, 41011855, 41162833, 41220819, 41088326, 41109159, 41210841, 41209954, 41256112, 41013311, 41073380, 41231741, 41232333, 41100175, 41203191, 40866457, 41285482, 41218362, 40818959, 40898865, 41010713, 41073352, 41054815, 41263677, 41103741, 41302515, 41077424, 41209907, 41079634, 41234414, 41232542, 40920670, 41204692, 41278318, 41295960, 41272455, 41087794, 41111450, 40906769, 41279249, 41254722, 41257193, 41153200, 41178427, 40851887, 41312568, 41271063, 41224417, 41252156, 41325748, 41200840, 41087810, 41246916, 41020629, 41099229, 41220903, 41221167, 41088083, 41234462, 41302496, 41301146, 41173816, 41213891, 41206103, 41301199, 41173811, 41274111, 41302438, 41302494, 41084753, 41233551, 41267574, 41200819, 40921327, 41181469, 41087959, 41042496, 41073815, 41017472, 41166352, 41247515, 41084767, 41196807, 41212316, 41180181, 41083466, 39597634, 40426122, 41078649, 41284871, 41106789, 40601483, 41296257, 41129844, 41149752, 41020618, 41312540, 41178797, 41120567, 41125514, 41277851, 41278454, 41251461, 41230000, 41224167, 41267972, 41220813, 41150122, 40979584, 41312524, 41267973, 41284846, 41247010, 40872854, 41080175, 41118925, 41232337, 41232336, 41241381, 41325761, 41161944, 41234144, 41231023, 40426120, 41197953, 41155385, 41234408, 41273246, 41284835, 41278464, 41189504, 41245306, 41069770, 41246806, 41211255, 40993084, 41184020, 40991609, 41293412, 41124339, 40992999, 41104023, 41288852, 41247517, 41107215, 41058222, 41271097, 41214019, 41241027, 41189966, 41306713, 41220470, 41234415, 41012055, 41212328, 41242191, 41212345, 41111563, 41212792, 41302190, 41287312, 40861249, 41255202, 40992994, 41289272, 41269736, 40624119, 41122081, 41207855);
Date: 2024-11-30 17:22:13 Duration: 10ms
-
SELECT "policy_number"."id" AS "id", "policy_number"."from_poilcy" AS "from_poilcy", "policy_number"."name" AS "name", "policy_number"."damaged" AS "damaged", "policy_number"."done" AS "done", "policy_number"."active" AS "active", "policy_number"."reason" AS "reason", "policy_number"."reason_date" AS "reason_date", "policy_number"."notebook_id" AS "notebook_id", "policy_number"."office_id" AS "office_id", "policy_number"."delegate_id" AS "delegate_id", "policy_number"."package_id" AS "package_id", "policy_number"."create_uid" AS "create_uid", "policy_number"."create_date" AS "create_date", "policy_number"."write_uid" AS "write_uid", "policy_number"."write_date" AS "write_date" FROM "policy_number" WHERE "policy_number".id IN (41201600, 41340811, 41340826, 41340825, 41340824, 41340823, 41340822, 41340821, 41340820, 41340819, 41340818, 41340817, 41340816, 41340815, 41340814, 41340813, 41340810, 41340809, 41340808, 41340807, 41340806, 41340805, 41340804, 41340803, 41340802, 41340801, 41340800, 41340799, 41340797, 41340796, 41340795, 41340794, 41340793, 41340792, 41340778, 41340777, 41340776, 41340775, 41340774, 41340773, 41340772, 41340771, 41340770, 41340769, 41340768, 41340767, 41340766, 41340765, 41340764, 41340763, 41340762, 41340761, 41340760, 41340759, 41340798, 41340731, 41127690, 41128589, 41212495, 41128588, 41212496, 41128587, 41212493, 41128586, 41212186, 41128585, 40997524, 41128584, 40997523, 41128583, 41214472, 41128582, 41056261, 41128581, 41214471, 41128580, 41214466, 41128579, 41214467, 41128578, 41214462, 41128577, 41214463, 41128576, 41214455, 41128575, 41214507, 41128574, 41214506, 41340758, 41214505, 41340757, 41212441, 41340756, 41212494, 41340755, 41212440, 41340754, 40997526, 41340753);
Date: 2024-11-30 17:21:50 Duration: 10ms
12 208,882 20h57m36s 310ms 580ms 361ms select "shipping_track".id from "shipping_track" where (("shipping_track"."shipping_id" in (...)) and (("shipping_track"."id" not in (...)) or "shipping_track"."id" is null)) order by "shipping_track"."id";Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 30 00 1,824 10m11s 335ms 01 6,006 34m51s 348ms 02 4,559 25m40s 337ms 03 5,713 32m16s 338ms 04 2,396 13m33s 339ms 05 2,984 16m48s 337ms 06 2,278 12m33s 330ms 07 1,412 7m51s 334ms 08 4,109 23m2s 336ms 09 10,413 59m39s 343ms 10 16,516 1h38m9s 356ms 11 18,962 1h54m14s 361ms 12 17,217 1h43m35s 360ms 13 12,645 1h14m12s 352ms 14 8,587 50m23s 352ms 15 10,321 1h1m8s 355ms 16 9,989 59m47s 359ms 17 15,125 1h35m7s 377ms 18 16,010 1h42m7s 382ms 19 15,458 1h38m38s 382ms 20 10,643 1h5m49s 371ms 21 9,685 1h53s 377ms 22 6,030 37m1s 368ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3124069)) AND (("shipping_track"."id" not in (25498703, 25498703)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 18:53:42 Duration: 580ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3124068)) AND (("shipping_track"."id" not in (25498702, 25498702)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 18:53:42 Duration: 579ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3120976)) AND (("shipping_track"."id" not in (25486062, 25486062)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 18:11:17 Duration: 564ms
13 185,141 1m3s 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 #13
Day Hour Count Duration Avg duration Nov 30 00 1,384 438ms 0ms 01 2,093 695ms 0ms 02 1,370 443ms 0ms 03 1,285 431ms 0ms 04 738 250ms 0ms 05 690 236ms 0ms 06 791 255ms 0ms 07 1,007 301ms 0ms 08 7,364 2s356ms 0ms 09 12,933 4s427ms 0ms 10 14,998 5s389ms 0ms 11 12,772 4s620ms 0ms 12 12,230 4s436ms 0ms 13 11,689 4s123ms 0ms 14 10,883 3s789ms 0ms 15 23,821 8s86ms 0ms 16 16,097 5s550ms 0ms 17 17,978 6s290ms 0ms 18 12,743 4s452ms 0ms 19 9,627 3s255ms 0ms 20 5,281 1s757ms 0ms 21 4,355 1s427ms 0ms 22 3,012 957ms 0ms -
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'person.recieve' 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 = 843) OR r.global) ORDER BY r.id;
Date: 2024-11-30 10:49:51 Duration: 2ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'mail.message' 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 = 839) OR r.global) ORDER BY r.id;
Date: 2024-11-30 19:10:32 Duration: 2ms
-
SELECT r.id FROM ir_rule r JOIN ir_model m ON (r.model_id = m.id) WHERE m.model = 'res.lang' AND r.active AND r.perm_read AND (r.id IN ( SELECT rule_group_id FROM rule_group_rel rg JOIN res_groups_users_rel gu ON (rg.group_id = gu.gid) WHERE gu.uid = 901) OR r.global) ORDER BY r.id;
Date: 2024-11-30 17:21:50 Duration: 2ms
14 169,492 11s299ms 0ms 1ms 0ms select "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" from "notebook_package" where "notebook_package".id in (...);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 30 00 804 43ms 0ms 01 962 55ms 0ms 02 954 55ms 0ms 03 1,305 81ms 0ms 04 811 47ms 0ms 05 766 46ms 0ms 06 1,218 67ms 0ms 07 784 43ms 0ms 08 4,653 262ms 0ms 09 13,255 801ms 0ms 10 17,886 1s174ms 0ms 11 16,545 1s120ms 0ms 12 18,607 1s263ms 0ms 13 13,871 918ms 0ms 14 11,886 799ms 0ms 15 13,059 850ms 0ms 16 11,395 719ms 0ms 17 11,705 817ms 0ms 18 9,078 660ms 0ms 19 7,886 604ms 0ms 20 5,718 473ms 0ms 21 4,097 257ms 0ms 22 2,247 136ms 0ms -
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-11-30 19:45:51 Duration: 1ms
-
SELECT "notebook_package"."id" AS "id", "notebook_package"."name" AS "name", "notebook_package"."locked" AS "locked", "notebook_package"."start" AS "start", "notebook_package"."state" AS "state", "notebook_package"."active" AS "active", "notebook_package"."create_uid" AS "create_uid", "notebook_package"."create_date" AS "create_date", "notebook_package"."write_uid" AS "write_uid", "notebook_package"."write_date" AS "write_date", "notebook_package"."v_10_id" AS "v_10_id" FROM "notebook_package" WHERE "notebook_package".id IN (2);
Date: 2024-11-30 17:21:50 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: 2024-11-30 19:30:13 Duration: 0ms
15 139,120 1h21m22s 26ms 105ms 35ms 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 #15
Day Hour Count Duration Avg duration Nov 30 00 862 29s84ms 33ms 01 2,280 1m16s 33ms 02 1,574 53s286ms 33ms 03 1,819 1m1s 33ms 04 692 23s287ms 33ms 05 629 21s807ms 34ms 06 1,161 38s252ms 32ms 07 488 16s380ms 33ms 08 2,519 1m26s 34ms 09 6,892 4m1s 35ms 10 12,451 7m28s 36ms 11 15,481 9m24s 36ms 12 14,888 9m1s 36ms 13 10,641 6m17s 35ms 14 7,289 4m17s 35ms 15 7,855 4m39s 35ms 16 7,570 4m24s 34ms 17 7,566 4m25s 35ms 18 9,173 5m15s 34ms 19 9,530 5m24s 34ms 20 7,487 4m11s 33ms 21 6,033 3m21s 33ms 22 4,240 2m21s 33ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3109853)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-30 13:28:51 Duration: 105ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3076871)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-30 17:21:52 Duration: 75ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2709468)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-30 18:15:55 Duration: 72ms
16 131,879 21s513ms 0ms 1ms 0ms select ? from res_groups_users_rel where uid = ? and gid in ( select res_id from ir_model_data where module = ? and name = ? and model = ?);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 30 00 1,314 179ms 0ms 01 2,064 284ms 0ms 02 1,650 210ms 0ms 03 1,455 192ms 0ms 04 422 59ms 0ms 05 977 124ms 0ms 06 715 101ms 0ms 07 1,007 137ms 0ms 08 7,120 1s55ms 0ms 09 10,504 1s687ms 0ms 10 11,160 1s834ms 0ms 11 7,743 1s321ms 0ms 12 7,270 1s246ms 0ms 13 8,227 1s333ms 0ms 14 7,576 1s249ms 0ms 15 16,671 2s846ms 0ms 16 10,551 1s744ms 0ms 17 11,918 2s135ms 0ms 18 8,411 1s418ms 0ms 19 5,991 982ms 0ms 20 3,562 539ms 0ms 21 3,486 516ms 0ms 22 2,085 311ms 0ms -
SELECT 1 FROM res_groups_users_rel WHERE uid = 1103 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'urgent_shipping_policy' AND name = 'group_create_cash_policy_form_shipping' AND model = 'res.groups');
Date: 2024-11-30 10:20:48 Duration: 1ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1096 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_public' AND model = 'res.groups');
Date: 2024-11-30 15:30:11 Duration: 0ms
-
SELECT 1 FROM res_groups_users_rel WHERE uid = 1044 AND gid IN ( SELECT res_id FROM ir_model_data WHERE module = 'base' AND name = 'group_system' AND model = 'res.groups');
Date: 2024-11-30 12:13:49 Duration: 0ms
17 117,557 35s151ms 0ms 1ms 0ms select "price_list".id from "price_list" where (("price_list"."from_office_id" = ?) and ("price_list"."to_office_id" = ?)) order by "price_list"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 30 00 1,037 355ms 0ms 01 7,340 2s111ms 0ms 02 3,319 1s121ms 0ms 03 4,535 1s518ms 0ms 04 2,001 661ms 0ms 05 2,306 824ms 0ms 06 547 260ms 0ms 07 603 263ms 0ms 08 533 247ms 0ms 09 1,203 497ms 0ms 10 1,778 793ms 0ms 11 1,990 963ms 0ms 12 1,213 506ms 0ms 13 1,424 553ms 0ms 14 1,549 489ms 0ms 15 2,244 677ms 0ms 16 7,341 2s57ms 0ms 17 10,827 3s130ms 0ms 18 16,470 4s716ms 0ms 19 18,249 5s174ms 0ms 20 11,254 3s10ms 0ms 21 13,471 3s587ms 0ms 22 6,323 1s630ms 0ms -
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 51) AND ("price_list"."to_office_id" = 35)) ORDER BY "price_list"."id";
Date: 2024-11-30 17:22:02 Duration: 1ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 52) AND ("price_list"."to_office_id" = 49)) ORDER BY "price_list"."id";
Date: 2024-11-30 18:29:43 Duration: 1ms
-
SELECT "price_list".id FROM "price_list" WHERE (("price_list"."from_office_id" = 14) AND ("price_list"."to_office_id" = 102)) ORDER BY "price_list"."id";
Date: 2024-11-30 11:09:28 Duration: 1ms
18 111,155 58s80ms 0ms 9ms 0ms select "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" from "shipping_policy" where "shipping_policy".id in (...);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 30 00 184 86ms 0ms 01 180 101ms 0ms 02 138 81ms 0ms 03 149 84ms 0ms 04 169 72ms 0ms 05 77 45ms 0ms 06 161 82ms 0ms 07 263 111ms 0ms 08 2,176 1s186ms 0ms 09 5,991 3s227ms 0ms 10 10,564 6s189ms 0ms 11 10,807 5s893ms 0ms 12 11,075 6s215ms 0ms 13 9,737 4s985ms 0ms 14 10,165 5s30ms 0ms 15 12,333 6s381ms 0ms 16 7,380 3s705ms 0ms 17 15,020 7s269ms 0ms 18 7,543 3s688ms 0ms 19 3,196 1s654ms 0ms 20 1,805 922ms 0ms 21 1,311 673ms 0ms 22 731 390ms 0ms -
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (3024094, 3006589, 2915963, 3059149, 3069263, 3026096, 2727480, 2861743, 3053928, 2835193, 3096895, 3064186, 2884495, 2839698, 3046628, 2999082, 3045080, 3081724, 2971595, 2961948, 2960934, 2958556, 2952473, 2948466, 2946808, 2934016, 3016466, 2795439, 3013630, 3013374, 3048485, 3011725, 3010656, 3008104, 3004702, 3048382, 3001235, 3000124, 2991387, 2983667, 3029699, 3026818, 3022513, 3017762, 3053395, 3014985, 3012030, 3046583, 3003784, 3092022, 2983488, 3017584, 2976167, 3074346, 2975476, 3059880, 2974405, 3062672, 2880612, 3058725, 3085666, 3048375, 3031774, 3081946, 3076843, 3073997, 3078045, 3096971, 3101303, 3056085, 2898558, 3079096, 3085865, 2934581, 3087651, 3095751, 2840621, 3079273, 3069614, 3011749, 3000609, 3083152, 3013809, 2708424, 3098408, 3041202, 2698257, 3006833, 3089637, 3071782, 3083195, 3052638, 2978822, 3085677, 3062999, 2623538, 3076189, 3088213, 3076791, 3097317, 3099060, 3089669, 2833776, 3046111, 3089632, 3077438, 3089391, 3114698, 3099221, 3086021, 3079355, 3067264, 3092885, 2891255, 3088769, 3041805, 3077125, 3023183, 2974077, 3092249, 3088019, 3097208, 3080352, 3077479, 3059100, 3059103, 3092015, 3076163, 3089115, 3076753, 3101167, 3052017, 3047741, 3052041, 3072201, 3083975, 3091420, 3089656, 3076678, 3084143, 3084482, 3087818, 3081219, 3072116, 3038213, 3097308, 3091071, 3099277, 3086929, 2927627, 3093333, 3067269, 3022394, 3041829, 3060977, 3087532, 3047439, 3037627, 3000978, 3019199, 2993535, 3036477, 3044171, 3081332, 3073251, 3009025, 3087803, 3049029, 3018906, 3049937, 3099128, 3043953, 3056218, 3055899, 3034267, 3010378, 2994092, 3026598, 2973214, 2986136, 3023962, 2996256, 2995460, 3004526, 2917311, 2854182, 3019493, 2948531, 2977435, 2882199, 3027971, 2988428, 2950897, 1773480);
Date: 2024-11-30 17:21:52 Duration: 9ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (2939616, 3000255, 2871100, 2871106, 2713034, 2965895, 2756462, 2939765, 2939283, 2711791, 2232765, 2871108, 2871102, 2713023, 2711785, 2713080, 2711781);
Date: 2024-11-30 17:21:51 Duration: 8ms
-
SELECT "shipping_policy"."id" AS "id", "shipping_policy"."message_main_attachment_id" AS "message_main_attachment_id", "shipping_policy"."v_10_id" AS "v_10_id", "shipping_policy"."notes" AS "notes", "shipping_policy"."search_name" AS "search_name", "shipping_policy"."active" AS "active", "shipping_policy"."policy_name" AS "policy_name", "shipping_policy"."state_id" AS "state_id", "shipping_policy"."d_date" AS "d_date", "shipping_policy"."d_unlink_delete" AS "d_unlink_delete", "shipping_policy"."name" AS "name", "shipping_policy"."notebook_package_id" AS "notebook_package_id", "shipping_policy"."policy_id" AS "policy_id", "shipping_policy"."pol_name" AS "pol_name", "shipping_policy"."delegate_policy_id" AS "delegate_policy_id", "shipping_policy"."office_policy_id" AS "office_policy_id", "shipping_policy"."from_office" AS "from_office", "shipping_policy"."to_office" AS "to_office", "shipping_policy"."from_state" AS "from_state", "shipping_policy"."to_state" AS "to_state", "shipping_policy"."return_before" AS "return_before", "shipping_policy"."state" AS "state", "shipping_policy"."driver_id" AS "driver_id", "shipping_policy"."delegate_id" AS "delegate_id", "shipping_policy"."out_date" AS "out_date", "shipping_policy"."review_state" AS "review_state", "shipping_policy"."review_date" AS "review_date", "shipping_policy"."customer_id" AS "customer_id", "shipping_policy"."customer_receive_id" AS "customer_receive_id", "shipping_policy"."sender_mob" AS "sender_mob", "shipping_policy"."sender_name" AS "sender_name", "shipping_policy"."receive_mob" AS "receive_mob", "shipping_policy"."receive_name" AS "receive_name", "shipping_policy"."sender_add" AS "sender_add", "shipping_policy"."receive_add" AS "receive_add", "shipping_policy"."receive_man_id" AS "receive_man_id", "shipping_policy"."receive_man_id_no" AS "receive_man_id_no", "shipping_policy"."cash_policy_id" AS "cash_policy_id", "shipping_policy"."total_amount_cash_lines" AS "total_amount_cash_lines", "shipping_policy"."cash" AS "cash", "shipping_policy"."cash_amount" AS "cash_amount", "shipping_policy"."cheques" AS "cheques", "shipping_policy"."cheque_desc" AS "cheque_desc", "shipping_policy"."collection_amount_sender" AS "collection_amount_sender", "shipping_policy"."collection_amount_receive" AS "collection_amount_receive", "shipping_policy"."total_collection_amount" AS "total_collection_amount", "shipping_policy"."last_driver" AS "last_driver", "shipping_policy"."return_reason" AS "return_reason", "shipping_policy"."wating_reason" AS "wating_reason", "shipping_policy"."last_office" AS "last_office", "shipping_policy"."last_car" AS "last_car", "shipping_policy"."last_office_warehouse" AS "last_office_warehouse", "shipping_policy"."last_warehouse" AS "last_warehouse", "shipping_policy"."last_action" AS "last_action", "shipping_policy"."destination_office" AS "destination_office", "shipping_policy"."new_destination_button" AS "new_destination_button", "shipping_policy"."edit_cash_button" AS "edit_cash_button", "shipping_policy"."create_cash_policy_button" AS "create_cash_policy_button", "shipping_policy"."client_delivery_button" AS "client_delivery_button", "shipping_policy"."return_button" AS "return_button", "shipping_policy"."delegate_button" AS "delegate_button", "shipping_policy"."old_policy" AS "old_policy", "shipping_policy"."total_no_items" AS "total_no_items", "shipping_policy"."total_shipping_price" AS "total_shipping_price", "shipping_policy"."scan_code" AS "scan_code", "shipping_policy"."destination_type" AS "destination_type", "shipping_policy"."from_poilcy" AS "from_poilcy", "shipping_policy"."cancel_shipping_policy" AS "cancel_shipping_policy", "shipping_policy"."confirm_date" AS "confirm_date", "shipping_policy"."client_date" AS "client_date", "shipping_policy"."archive_date" AS "archive_date", "shipping_policy"."cancel_date" AS "cancel_date", "shipping_policy"."return_date" AS "return_date", "shipping_policy"."wating_date" AS "wating_date", "shipping_policy"."create_date" AS "create_date", "shipping_policy"."state_collection" AS "state_collection", "shipping_policy"."before_office_id" AS "before_office_id", "shipping_policy"."paid_by_customer" AS "paid_by_customer", "shipping_policy"."create_uid" AS "create_uid", "shipping_policy"."write_uid" AS "write_uid", "shipping_policy"."write_date" AS "write_date", "shipping_policy"."count_search" AS "count_search", "shipping_policy"."attachment_date" AS "attachment_date", "shipping_policy"."attachment_user" AS "attachment_user" FROM "shipping_policy" WHERE "shipping_policy".id IN (3000255, 2871100, 2871106, 2713034, 2965895, 2756462, 2939283, 2711791, 2232765, 2871108, 2871102, 2713023, 2711785, 2713080, 2711781);
Date: 2024-11-30 17:21:51 Duration: 8ms
19 109,326 10s295ms 0ms 26ms 0ms insert into "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) returning "id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 30 00 638 47ms 0ms 01 2,233 168ms 0ms 02 1,442 123ms 0ms 03 1,981 138ms 0ms 04 846 64ms 0ms 05 688 50ms 0ms 06 1,202 90ms 0ms 07 424 51ms 0ms 08 2,194 183ms 0ms 09 5,813 548ms 0ms 10 9,588 971ms 0ms 11 10,430 1s145ms 0ms 12 9,390 986ms 0ms 13 6,914 691ms 0ms 14 5,269 508ms 0ms 15 6,745 690ms 0ms 16 5,964 569ms 0ms 17 5,999 624ms 0ms 18 7,653 702ms 0ms 19 8,720 740ms 0ms 20 6,213 492ms 0ms 21 5,453 428ms 0ms 22 3,527 276ms 0ms -
INSERT INTO "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") VALUES ('2024-11-30 10:46:58.007408', 1103, 7312, 'الحالة', 'selection', 22733352, 'تم التوصيل', 'جاري التوصيل ', 100, '2024-11-30 10:46:58.007408', 1103) RETURNING "id";
Date: 2024-11-30 11:47:18 Duration: 26ms
-
INSERT INTO "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") VALUES ('2024-11-30 06:11:29.928299', 1197, 7312, 'الحالة', 'selection', 22685688, 'تم التوصيل', 'جاري التوصيل ', 100, '2024-11-30 06:11:29.928299', 1197) RETURNING "id";
Date: 2024-11-30 07:11:52 Duration: 17ms
-
INSERT INTO "mail_tracking_value" ("create_date", "create_uid", "field", "field_desc", "field_type", "mail_message_id", "new_value_char", "old_value_char", "tracking_sequence", "write_date", "write_uid") VALUES ('2024-11-30 10:42:18.741628', 1067, 7312, 'الحالة', 'selection', 22731386, 'تم التوصيل', 'جاري التوصيل ', 100, '2024-11-30 10:42:18.741628', 1067) RETURNING "id";
Date: 2024-11-30 11:42:47 Duration: 17ms
20 107,674 6s413ms 0ms 0ms 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 Nov 30 00 983 47ms 0ms 01 1,447 79ms 0ms 02 1,455 67ms 0ms 03 1,644 69ms 0ms 04 1,001 40ms 0ms 05 977 41ms 0ms 06 1,319 55ms 0ms 07 542 25ms 0ms 08 3,366 209ms 0ms 09 7,739 442ms 0ms 10 10,602 627ms 0ms 11 10,260 601ms 0ms 12 10,729 617ms 0ms 13 8,260 466ms 0ms 14 6,111 344ms 0ms 15 8,039 601ms 0ms 16 6,735 428ms 0ms 17 7,882 584ms 0ms 18 6,012 398ms 0ms 19 4,484 277ms 0ms 20 3,662 183ms 0ms 21 2,654 120ms 0ms 22 1,771 82ms 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 (50);
Date: 2024-11-30 18:31:29 Duration: 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 (28, 52, 15);
Date: 2024-11-30 12:34:25 Duration: 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 (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, 113, 114);
Date: 2024-11-30 14:58:33 Duration: 0ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 445ms 4s223ms 3s299ms 339 18m38s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null and ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 30 09 5 18s674ms 3s734ms 10 25 1m20s 3s232ms 11 11 24s918ms 2s265ms 12 13 49s445ms 3s803ms 13 6 20s335ms 3s389ms 14 50 2m49s 3s389ms 15 59 3m29s 3s553ms 16 51 2m53s 3s401ms 17 38 1m58s 3s130ms 18 24 1m19s 3s311ms 19 12 38s998ms 3s249ms 20 20 55s110ms 2s755ms 21 17 53s888ms 3s169ms 22 8 25s408ms 3s176ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (19)))))))) AND ("policy_number"."name"::text ilike '%9%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-30 12:00:35 Duration: 4s223ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3))))))) 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 (3)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (3))))))))) 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 (3)))))))) AND ("policy_number"."name"::text ilike '%8%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-30 15:49:13 Duration: 4s147ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14))))))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14)))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14)))) AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14))))))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL AND ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (14)))))))) AND ("policy_number"."name"::text ilike '%853204%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-30 10:17:03 Duration: 4s121ms
2 0ms 4s416ms 1s165ms 624 12m7s select "policy_number".id from "policy_number" where ((("policy_number"."active" = true) and (((((("policy_number"."package_id" = ?) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null))))) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null)))) and ("policy_number"."name"::text ilike ?)) order by "policy_number"."id" limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 30 06 19 15s212ms 800ms 07 98 1m19s 810ms 09 4 3s255ms 813ms 12 4 1s653ms 413ms 13 20 41s12ms 2s50ms 14 10 8s763ms 876ms 16 10 29s932ms 2s993ms 19 132 2m50s 1s290ms 20 292 5m41s 1s168ms 21 35 36s499ms 1s42ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (78)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8932%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-30 20:23:40 Duration: 4s416ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%81174%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-30 13:03:08 Duration: 4s341ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((("policy_number"."active" = true) AND (((((("policy_number"."package_id" = 2) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (32)))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL))))) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL)))) AND ("policy_number"."name"::text ilike '%8117458%')) ORDER BY "policy_number"."id" LIMIT 8;
Date: 2024-11-30 13:03:10 Duration: 4s332ms
3 207ms 1s390ms 945ms 10,892 2h51m39s 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 #3
Day Hour Count Duration Avg duration Nov 30 00 46 43s525ms 946ms 01 260 4m5s 943ms 02 168 2m40s 956ms 03 286 4m34s 958ms 09 12 11s836ms 986ms 10 55 58s229ms 1s58ms 11 19 22s100ms 1s163ms 12 49 49s613ms 1s12ms 13 85 1m26s 1s16ms 14 231 3m52s 1s6ms 15 403 6m41s 996ms 16 740 12m12s 989ms 17 1,755 29m10s 997ms 18 1,965 30m20s 926ms 19 1,658 24m32s 888ms 20 1,311 20m 915ms 21 1,442 22m38s 942ms 22 407 6m17s 928ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9159364')) 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 (51))))))) 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 (51)))))) 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 (51)))))) 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 (51))))))))) ORDER BY "policy_number"."id";
Date: 2024-11-30 17:22:01 Duration: 1s390ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9057835')) 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 (13))))))) 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 (13)))))) 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 (13)))))) 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 (13))))))))) ORDER BY "policy_number"."id";
Date: 2024-11-30 11:45:57 Duration: 1s324ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9057551')) 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 (13))))))) 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 (13)))))) 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 (13)))))) 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 (13))))))))) ORDER BY "policy_number"."id";
Date: 2024-11-30 11:46:00 Duration: 1s309ms
4 310ms 1s37ms 363ms 40,418 4h5m11s 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 Nov 30 00 88 32s641ms 370ms 01 147 56s107ms 381ms 02 126 48s662ms 386ms 03 101 39s352ms 389ms 04 103 37s352ms 362ms 05 71 27s469ms 386ms 06 170 1m 353ms 07 275 1m32s 336ms 08 1,208 6m54s 342ms 09 3,826 22m16s 349ms 10 3,742 22m58s 368ms 11 2,975 18m40s 376ms 12 3,816 23m43s 372ms 13 3,543 21m23s 362ms 14 2,507 14m53s 356ms 15 2,980 17m53s 360ms 16 2,682 15m56s 356ms 17 3,352 20m42s 370ms 18 2,873 17m50s 372ms 19 2,605 15m53s 366ms 20 1,402 8m30s 363ms 21 1,106 6m39s 361ms 22 720 4m21s 362ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3076871)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 17:21:51 Duration: 1s37ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3091845, 3088812, 3080428, 3072403, 3064493, 3055457, 3053742, 3038514)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 12:43:31 Duration: 593ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (3128398, 3128394, 3128389, 3128387, 3128381, 3128376, 3128370, 3128366, 3128363, 3128358, 3128354, 3128350, 3128344, 3128339, 3128335, 3128333, 3128329, 3128326, 3128322, 3128320, 3128317, 3128314, 3128311, 3128308, 3128305, 3128301, 3128300, 3128297)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 19:56:50 Duration: 591ms
5 310ms 580ms 361ms 208,882 20h57m36s 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 #5
Day Hour Count Duration Avg duration Nov 30 00 1,824 10m11s 335ms 01 6,006 34m51s 348ms 02 4,559 25m40s 337ms 03 5,713 32m16s 338ms 04 2,396 13m33s 339ms 05 2,984 16m48s 337ms 06 2,278 12m33s 330ms 07 1,412 7m51s 334ms 08 4,109 23m2s 336ms 09 10,413 59m39s 343ms 10 16,516 1h38m9s 356ms 11 18,962 1h54m14s 361ms 12 17,217 1h43m35s 360ms 13 12,645 1h14m12s 352ms 14 8,587 50m23s 352ms 15 10,321 1h1m8s 355ms 16 9,989 59m47s 359ms 17 15,125 1h35m7s 377ms 18 16,010 1h42m7s 382ms 19 15,458 1h38m38s 382ms 20 10,643 1h5m49s 371ms 21 9,685 1h53s 377ms 22 6,030 37m1s 368ms -
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3124069)) AND (("shipping_track"."id" not in (25498703, 25498703)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 18:53:42 Duration: 580ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3124068)) AND (("shipping_track"."id" not in (25498702, 25498702)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 18:53:42 Duration: 579ms
-
SELECT "shipping_track".id FROM "shipping_track" WHERE (("shipping_track"."shipping_id" in (3120976)) AND (("shipping_track"."id" not in (25486062, 25486062)) OR "shipping_track"."id" IS NULL)) ORDER BY "shipping_track"."id";
Date: 2024-11-30 18:11:17 Duration: 564ms
6 219ms 414ms 288ms 22,877 1h50m9s 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 #6
Day Hour Count Duration Avg duration Nov 30 08 510 2m20s 275ms 09 1,532 7m13s 282ms 10 2,670 13m10s 296ms 11 3,114 15m38s 301ms 12 2,192 10m50s 296ms 13 2,097 10m6s 288ms 14 2,828 13m37s 289ms 15 4,129 19m49s 287ms 16 1,907 9m3s 284ms 17 714 3m17s 275ms 18 751 3m14s 258ms 19 433 1m49s 252ms -
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" = '9094862')))) ORDER BY "collection_policy"."id";
Date: 2024-11-30 11:45:59 Duration: 414ms
-
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" = '8946317')))) ORDER BY "collection_policy"."id";
Date: 2024-11-30 14:58:40 Duration: 410ms
-
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" = '9079358')))) ORDER BY "collection_policy"."id";
Date: 2024-11-30 11:45:57 Duration: 391ms
7 236ms 373ms 285ms 2,336 11m6s 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 #7
Day Hour Count Duration Avg duration Nov 30 08 56 15s718ms 280ms 09 248 1m9s 280ms 10 325 1m35s 293ms 11 157 45s301ms 288ms 12 160 46s480ms 290ms 13 128 37s298ms 291ms 14 152 43s524ms 286ms 15 665 3m9s 285ms 16 106 30s164ms 284ms 17 339 1m32s 274ms -
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" = '8561654') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2024-11-30 16:56:45 Duration: 373ms
-
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" = '8773495') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2024-11-30 12:26:37 Duration: 369ms
-
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" = '8773666') AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))))) ORDER BY "collection_policy"."id";
Date: 2024-11-30 12:26:38 Duration: 364ms
8 196ms 398ms 271ms 15,346 1h9m33s select "policy_number".id from "policy_number" where ((((((("policy_number"."active" = true) and ("policy_number"."name" = ?)) and ("policy_number"."package_id" = ?)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."active" = true)))) and ("policy_number"."done" is null or "policy_number"."done" = false)) and ("policy_number"."damaged" is null or "policy_number"."damaged" = false)) and (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) or (("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."delegates_id" is not null)) and ("policy_number"."notebook_id" in ( select "notebook".id from "notebook" where "notebook"."deliver_date" is not null))))) order by "policy_number"."id";Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 30 00 109 29s777ms 273ms 01 1,316 6m2s 275ms 02 364 1m40s 275ms 03 459 2m7s 277ms 04 317 1m26s 272ms 05 309 1m23s 269ms 07 32 8s825ms 275ms 08 17 4s341ms 255ms 09 105 30s656ms 291ms 10 69 19s405ms 281ms 11 53 15s549ms 293ms 12 82 24s260ms 295ms 13 97 28s874ms 297ms 14 111 33s188ms 298ms 15 124 37s815ms 304ms 16 1,121 5m25s 290ms 17 954 4m30s 283ms 18 2,177 9m53s 272ms 19 2,892 12m58s 269ms 20 1,512 6m43s 266ms 21 1,949 8m32s 263ms 22 1,177 4m56s 251ms -
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9102298')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-11-30 17:15:55 Duration: 398ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9012299')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-11-30 17:15:39 Duration: 390ms
-
SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9154431')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false)) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false)) AND (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id";
Date: 2024-11-30 19:40:57 Duration: 389ms
9 16ms 757ms 235ms 2,576 10m7s select count(*) from ( select from "cash_policy" left join "policy_number" AS "cash_policy__policy_id" on ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") where (("cash_policy"."active" = true) and (("cash_policy"."state" != ?) or "cash_policy"."state" is null)) and ((("cash_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("cash_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("cash_policy__policy_id"."notebook_id" in ( select "notebook".id from "notebook" where ("notebook"."office_id" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))))) limit ?) t;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 30 00 2 40ms 20ms 01 4 1s429ms 357ms 04 2 827ms 413ms 06 1 162ms 162ms 07 4 476ms 119ms 08 49 7s207ms 147ms 09 137 31s989ms 233ms 10 247 53s458ms 216ms 11 252 1m4s 255ms 12 328 1m25s 259ms 13 304 1m20s 263ms 14 283 1m6s 234ms 15 406 1m16s 187ms 16 207 47s682ms 230ms 17 118 31s541ms 267ms 18 85 26s172ms 307ms 19 54 13s516ms 250ms 20 56 11s772ms 210ms 21 28 7s54ms 251ms 22 9 1s595ms 177ms -
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-11-30 18:50:54 Duration: 757ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-11-30 18:50:54 Duration: 753ms
-
SELECT COUNT(*) FROM ( SELECT FROM "cash_policy" LEFT JOIN "policy_number" AS "cash_policy__policy_id" ON ("cash_policy"."policy_id" = "cash_policy__policy_id"."id") WHERE (("cash_policy"."active" = true) AND (("cash_policy"."state" != 'cancel') OR "cash_policy"."state" IS NULL)) AND ((("cash_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71)))) OR ("cash_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (71))))) OR ("cash_policy__policy_id"."notebook_id" in ( SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))))) LIMIT 10001) t;
Date: 2024-11-30 18:50:54 Duration: 669ms
10 98ms 817ms 231ms 51,851 3h19m42s 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 #10
Day Hour Count Duration Avg duration Nov 30 00 308 57s896ms 187ms 01 3,124 10m8s 194ms 02 1,034 3m59s 231ms 03 1,438 5m47s 241ms 04 634 2m29s 235ms 05 612 2m19s 227ms 07 62 13s711ms 221ms 08 12 2s121ms 176ms 09 232 46s339ms 199ms 10 239 55s464ms 232ms 11 139 31s308ms 225ms 12 242 57s229ms 236ms 13 353 1m20s 227ms 14 677 2m40s 237ms 15 1,050 3m47s 216ms 16 3,638 14m12s 234ms 17 5,366 21m7s 236ms 18 8,180 31m37s 231ms 19 9,034 37m42s 250ms 20 5,601 21m32s 230ms 21 6,731 26m1s 231ms 22 3,145 10m32s 201ms -
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'مصطفي')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-11-30 18:49:56 Duration: 817ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'ابراهيم')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-11-30 18:49:56 Duration: 817ms
-
SELECT "urgent_customer".id FROM "urgent_customer" WHERE (("urgent_customer"."active" = true) AND ("urgent_customer"."name" = 'احمد')) ORDER BY "urgent_customer"."id" LIMIT 1;
Date: 2024-11-30 21:17:08 Duration: 808ms
11 160ms 272ms 203ms 2,257 7m38s 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 #11
Day Hour Count Duration Avg duration Nov 30 04 326 1m4s 197ms 05 261 51s678ms 198ms 08 80 16s220ms 202ms 09 169 34s626ms 204ms 10 130 27s355ms 210ms 11 273 57s861ms 211ms 12 160 33s665ms 210ms 13 106 21s594ms 203ms 14 154 33s508ms 217ms 15 114 22s926ms 201ms 16 221 45s279ms 204ms 17 258 48s310ms 187ms 19 5 861ms 172ms -
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" = '8822982')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 14:58:40 Duration: 272ms
-
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" = '8471465')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 14:58:41 Duration: 272ms
-
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" = '8438140')) AND ((((("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."last_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."id" in (39, 13, 115, 75, 28, 123, 27, 64, 78, 102, 76, 16, 48, 73, 65, 22, 126, 24, 110, 19, 119, 32, 6, 3, 80, 4, 35, 5, 8, 7, 1, 38, 121, 9, 127, 113, 44, 10, 2, 36, 42, 114, 71, 17, 14, 74, 41, 40, 52, 111, 53, 29, 85, 60, 49, 70, 61, 46, 11, 77, 26, 62, 51, 55, 30, 67, 66, 79, 68, 95, 128, 83, 112))))) OR ("shipping_policy"."to_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) OR ("shipping_policy"."from_office" in ( SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 14:58:40 Duration: 262ms
12 159ms 302ms 201ms 88,286 4h56m40s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 30 00 840 2m45s 197ms 01 1,423 4m41s 197ms 02 1,554 5m7s 197ms 03 1,726 5m43s 198ms 04 613 2m1s 197ms 05 1,179 3m55s 199ms 06 659 2m9s 197ms 07 458 1m30s 197ms 08 2,386 7m59s 200ms 09 4,933 16m50s 204ms 10 8,295 28m52s 208ms 11 8,392 29m46s 212ms 12 5,704 20m20s 213ms 13 6,592 22m42s 206ms 14 8,496 29m23s 207ms 15 9,346 32m18s 207ms 16 5,757 19m35s 204ms 17 14,183 43m53s 185ms 18 3,940 11m49s 180ms 19 1,450 4m11s 173ms 20 109 18s670ms 171ms 21 244 41s610ms 170ms 22 7 1s202ms 171ms -
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" = '8693102')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 11:45:57 Duration: 302ms
-
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" = '8831707')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 13:28:51 Duration: 301ms
-
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" = '9079196')) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 11:45:59 Duration: 297ms
13 161ms 265ms 201ms 8,210 27m30s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and (("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) or ((((("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."last_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."id" in (...))))) or ("shipping_policy"."to_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true)))) or ("shipping_policy"."from_office" in ( select "urgent_office".id from "urgent_office" where ("urgent_office"."client_office" = true))))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 30 00 20 3s958ms 197ms 01 51 10s110ms 198ms 02 141 27s808ms 197ms 03 68 13s366ms 196ms 05 82 16s247ms 198ms 06 472 1m33s 197ms 07 458 1m30s 197ms 08 1,121 3m44s 200ms 09 1,271 4m17s 202ms 10 431 1m28s 206ms 11 679 2m23s 210ms 12 512 1m48s 212ms 13 1,185 4m4s 206ms 14 604 2m2s 202ms 16 172 34s896ms 202ms 17 128 23s934ms 186ms 18 406 1m16s 187ms 19 49 8s475ms 172ms 20 110 18s901ms 171ms 21 243 41s414ms 170ms 22 7 1s208ms 172ms -
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" = '9018112')) 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: 2024-11-30 12:20:23 Duration: 265ms
-
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" = '9160762')) 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: 2024-11-30 12:32:22 Duration: 264ms
-
SELECT "shipping_policy".id FROM "shipping_policy" LEFT JOIN "policy_number" AS "shipping_policy__policy_id" ON ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") WHERE (("shipping_policy"."active" = true) AND ("shipping_policy__policy_id"."name" = '9019537')) 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: 2024-11-30 12:20:24 Duration: 262ms
14 178ms 221ms 198ms 6,149 20m18s select "shipping_policy".id from "shipping_policy" left join "policy_number" AS "shipping_policy__policy_id" on ("shipping_policy"."policy_id" = "shipping_policy__policy_id"."id") where (("shipping_policy"."active" = true) and ("shipping_policy__policy_id"."name" = ?)) and ("shipping_policy"."last_warehouse" in ( select "urgent_warehouse".id from "urgent_warehouse" where ("urgent_warehouse"."id" in (...)))) order by "shipping_policy"."id" desc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 30 00 820 2m41s 197ms 01 1,302 4m17s 197ms 02 1,362 4m29s 198ms 03 1,493 4m56s 198ms 04 235 46s547ms 198ms 05 750 2m29s 199ms 06 187 36s913ms 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" = '9178758')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 36, 37, 40, 41, 42, 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: 2024-11-30 03:01:45 Duration: 221ms
-
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" = '8936553')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 01:20:31 Duration: 219ms
-
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" = '8412319')) AND ("shipping_policy"."last_warehouse" in ( SELECT "urgent_warehouse".id FROM "urgent_warehouse" WHERE ("urgent_warehouse"."id" in (11, 12, 14, 15, 16, 17, 18, 28, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 112, 113, 114)))) ORDER BY "shipping_policy"."id" DESC;
Date: 2024-11-30 05:29:52 Duration: 218ms
15 111ms 193ms 138ms 2,726 6m18s select name from shipping_policy order by create_date desc limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 30 00 120 15s855ms 132ms 01 120 15s753ms 131ms 02 120 15s777ms 131ms 03 120 15s799ms 131ms 04 120 15s820ms 131ms 05 120 15s805ms 131ms 06 120 15s832ms 131ms 07 120 15s828ms 131ms 08 120 15s938ms 132ms 09 120 16s319ms 135ms 10 120 16s893ms 140ms 11 120 17s1ms 141ms 12 120 16s893ms 140ms 13 120 16s584ms 138ms 14 120 15s763ms 131ms 15 120 15s670ms 130ms 16 120 15s352ms 127ms 17 116 17s601ms 151ms 18 120 18s885ms 157ms 19 120 18s685ms 155ms 20 120 18s496ms 154ms 21 120 18s380ms 153ms 22 90 13s707ms 152ms -
select name from shipping_policy order by create_date desc limit 10;
Date: 2024-11-30 17:36:02 Duration: 193ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2024-11-30 17:36:01 Duration: 189ms
-
select name from shipping_policy order by create_date desc limit 10;
Date: 2024-11-30 17:22:02 Duration: 187ms
16 120ms 203ms 138ms 5,915 13m38s select "res_partner".id from "res_partner" where (("res_partner"."active" = true) and ("res_partner"."office_id" = ?)) and ((("res_partner"."partner_share" is null or "res_partner"."partner_share" = false) or (("res_partner"."company_id" in (...)) or "res_partner"."company_id" is null)) and ((("res_partner"."type" != ?) or "res_partner"."type" is null) or "res_partner"."type" is null)) order by "res_partner"."display_name" asc, "res_partner"."id" desc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 30 00 16 2s75ms 129ms 01 30 3s911ms 130ms 08 65 8s601ms 132ms 09 199 27s60ms 135ms 10 809 1m53s 139ms 11 1,252 2m55s 140ms 12 1,201 2m49s 141ms 13 826 1m52s 136ms 14 526 1m11s 136ms 15 254 34s367ms 135ms 16 240 32s25ms 133ms 17 169 23s605ms 139ms 18 81 10s968ms 135ms 19 64 8s928ms 139ms 20 62 8s261ms 133ms 21 56 7s341ms 131ms 22 65 8s480ms 130ms -
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 80)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-11-30 10:26:13 Duration: 203ms
-
SELECT "res_partner".id FROM "res_partner" WHERE (("res_partner"."active" = true) AND ("res_partner"."office_id" = 11)) AND ((("res_partner"."partner_share" IS NULL or "res_partner"."partner_share" = false) OR (("res_partner"."company_id" in (1)) OR "res_partner"."company_id" IS NULL)) AND ((("res_partner"."type" != 'private') OR "res_partner"."type" IS NULL) OR "res_partner"."type" IS NULL)) ORDER BY "res_partner"."display_name" ASC, "res_partner"."id" DESC;
Date: 2024-11-30 12:43:31 Duration: 195ms
-
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: 2024-11-30 12:43:32 Duration: 189ms
17 67ms 124ms 81ms 18,355 25m1s select "cash_track".id from "cash_track" where (("cash_track"."cash_policy_id" in (...)) and (("cash_track"."id" not in (...)) or "cash_track"."id" is null)) order by "cash_track"."id";Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 30 00 1 77ms 77ms 06 10 828ms 82ms 07 46 3s782ms 82ms 08 283 23s170ms 81ms 09 1,209 1m39s 82ms 10 2,181 3m1s 83ms 11 1,496 2m3s 82ms 12 2,203 3m2s 82ms 13 1,834 2m29s 81ms 14 1,560 2m7s 81ms 15 2,633 3m31s 80ms 16 1,836 2m27s 80ms 17 1,059 1m28s 84ms 18 750 1m1s 81ms 19 593 48s890ms 82ms 20 347 27s634ms 79ms 21 248 19s841ms 80ms 22 66 5s370ms 81ms -
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7736758)) AND (("cash_track"."id" not in (5118537)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-11-30 18:16:31 Duration: 124ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7663398)) AND (("cash_track"."id" not in (4591731, 4612751, 4617641, 5095470, 5095470)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-11-30 10:47:10 Duration: 116ms
-
SELECT "cash_track".id FROM "cash_track" WHERE (("cash_track"."cash_policy_id" in (7726360)) AND (("cash_track"."id" not in (5041254, 5045532, 5049018, 5114889, 5114889)) OR "cash_track"."id" IS NULL)) ORDER BY "cash_track"."id";
Date: 2024-11-30 17:22:30 Duration: 115ms
18 32ms 84ms 41ms 51,014 35m31s select "collection_policy".id from "collection_policy" where (("collection_policy"."shipping_id" = ?) and ("collection_policy"."state" = ?)) order by "collection_policy"."id";Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 30 00 2 81ms 40ms 06 3 126ms 42ms 07 5 213ms 42ms 08 704 28s848ms 40ms 09 3,701 2m30s 40ms 10 5,810 4m3s 41ms 11 7,256 5m5s 42ms 12 4,714 3m21s 42ms 13 4,663 3m14s 41ms 14 5,453 3m46s 41ms 15 6,730 4m43s 42ms 16 4,578 3m8s 41ms 17 2,990 2m5s 41ms 18 1,702 1m11s 42ms 19 2,013 1m23s 41ms 20 480 19s236ms 40ms 21 130 5s285ms 40ms 22 80 3s185ms 39ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 3010470) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-11-30 12:32:54 Duration: 84ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2977304) AND ("collection_policy"."state" = 'confirm')) ORDER BY "collection_policy"."id";
Date: 2024-11-30 17:44:15 Duration: 84ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE (("collection_policy"."shipping_id" = 2906571) AND ("collection_policy"."state" = 'draft')) ORDER BY "collection_policy"."id";
Date: 2024-11-30 17:18:51 Duration: 79ms
19 29ms 63ms 37ms 22,680 13m59s select "collection_policy".id from "collection_policy" where ("collection_policy"."shipping_id" = ?) order by "collection_policy"."id";Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 30 08 450 15s792ms 35ms 09 1,389 49s90ms 35ms 10 2,815 1m46s 37ms 11 3,054 1m55s 37ms 12 2,140 1m20s 37ms 13 2,135 1m19s 37ms 14 2,965 1m49s 36ms 15 3,478 2m9s 37ms 16 1,942 1m10s 36ms 17 1,097 39s153ms 35ms 18 782 27s654ms 35ms 19 433 15s592ms 36ms -
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2552129) ORDER BY "collection_policy"."id";
Date: 2024-11-30 10:17:38 Duration: 63ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2893404) ORDER BY "collection_policy"."id";
Date: 2024-11-30 10:47:24 Duration: 61ms
-
SELECT "collection_policy".id FROM "collection_policy" WHERE ("collection_policy"."shipping_id" = 2934949) ORDER BY "collection_policy"."id";
Date: 2024-11-30 10:45:35 Duration: 53ms
20 26ms 105ms 35ms 139,120 1h21m22s 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 Nov 30 00 862 29s84ms 33ms 01 2,280 1m16s 33ms 02 1,574 53s286ms 33ms 03 1,819 1m1s 33ms 04 692 23s287ms 33ms 05 629 21s807ms 34ms 06 1,161 38s252ms 32ms 07 488 16s380ms 33ms 08 2,519 1m26s 34ms 09 6,892 4m1s 35ms 10 12,451 7m28s 36ms 11 15,481 9m24s 36ms 12 14,888 9m1s 36ms 13 10,641 6m17s 35ms 14 7,289 4m17s 35ms 15 7,855 4m39s 35ms 16 7,570 4m24s 34ms 17 7,566 4m25s 35ms 18 9,173 5m15s 34ms 19 9,530 5m24s 34ms 20 7,487 4m11s 33ms 21 6,033 3m21s 33ms 22 4,240 2m21s 33ms -
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3109853)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-30 13:28:51 Duration: 105ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (3076871)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-30 17:21:52 Duration: 75ms
-
SELECT "shipping_policy_items".id FROM "shipping_policy_items" WHERE ("shipping_policy_items"."shipping_policy_id" in (2709468)) ORDER BY "shipping_policy_items"."id" DESC;
Date: 2024-11-30 18:15:55 Duration: 72ms
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
- 14,977,895 Log entries
Events distribution
Key values
- 0 PANIC entries
- 176 FATAL entries
- 60 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 110 Max number of times the same event was reported
- 236 Total events found
Rank Times reported Error 1 110 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #1
Day Hour Count Nov 30 17 110 - FATAL: terminating connection due to administrator command
- FATAL: terminating connection due to administrator command
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '9160939')) 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 (51))))))) 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 (51)))))) 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 (51)))))) 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 (51))))))))) ORDER BY "policy_number"."id"
Date: 2024-11-30 17:20:01
Statement: SELECT "shipping_track".id FROM "shipping_track" WHERE ("shipping_track"."shipping_id" in (2975915)) ORDER BY "shipping_track"."id"
Date: 2024-11-30 17:20:01
2 42 ERROR: could not serialize access due to concurrent update
Times Reported Most Frequent Error / Event #2
Day Hour Count Nov 30 00 1 01 1 02 1 03 2 09 4 10 3 11 3 12 3 13 3 14 3 15 4 16 1 17 8 18 4 19 1 - ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
- ERROR: could not serialize access due to concurrent update
Statement: update shipping_policy set count_search=2 where id=3103846
Date: 2024-11-30 00:47:00
Statement: update shipping_policy set count_search=4 where id=3102831
Date: 2024-11-30 01:20:03
Statement: update shipping_policy set count_search=2 where id=3111231
Date: 2024-11-30 02:42:58
3 24 FATAL: the database system is shutting down
Times Reported Most Frequent Error / Event #3
Day Hour Count Nov 30 17 24 4 15 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #4
Day Hour Count Nov 30 00 3 10 6 11 1 13 3 14 1 18 1 5 12 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #5
Day Hour Count Nov 30 08 3 10 3 18 3 20 3 - FATAL: password authentication failed for user "postgres"
Detail: User "postgres" has no password assigned. Connection matched file "/var/lib/pgsql/16/data/pg_hba.conf" line 123: "host all all all scram-sha-256"
Date: 2024-11-30 08:32:37
6 7 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Nov 30 09 1 11 1 13 1 14 1 15 1 17 2 - ERROR: syntax error at or near ")" at character 300
- ERROR: syntax error at or near ")" at character 300
- ERROR: syntax error at or near ")" at character 163
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(3101149,), 0)
Date: 2024-11-30 09:40:59
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(3049937,), 0)
Date: 2024-11-30 11:21:52
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 ('9076618',)
Date: 2024-11-30 13:52:56
7 5 ERROR: null value in column "..." of relation "..." violates not-null constraint
Times Reported Most Frequent Error / Event #7
Day Hour Count Nov 30 11 1 13 1 14 1 15 1 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 (5404148, null, 822, 822, null, 01002136726, null, null, t, 2024-11-30 10:20:00.895228, 2024-11-30 10:20:00.895228, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-11-30 10:20:00.895228', 822, '01002136726', '2024-11-30 10:20:00.895228', 822) RETURNING "id"Date: 2024-11-30 11:20:00
Detail: Failing row contains (5404170, null, 822, 822, null, 01281610436, null, null, t, 2024-11-30 12:09:30.773712, 2024-11-30 12:09:30.773712, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-11-30 12:09:30.773712', 822, '01281610436', '2024-11-30 12:09:30.773712', 822) RETURNING "id"Date: 2024-11-30 13:09:30
Detail: Failing row contains (5404210, null, 822, 822, null, فلامنجو, null, null, t, 2024-11-30 13:47:57.779701, 2024-11-30 13:47:57.779701, null, null).
Statement: INSERT INTO "urgent_customer" ("active", "create_date", "create_uid", "phone", "write_date", "write_uid") VALUES (true, '2024-11-30 13:47:57.779701', 822, 'فلامنجو', '2024-11-30 13:47:57.779701', 822) RETURNING "id"Date: 2024-11-30 14:47:57
8 4 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #8
Day Hour Count Nov 30 17 4 - FATAL: terminating background worker "parallel worker" due to administrator command
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8787223')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false )) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false )) AND (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id"
Date: 2024-11-30 17:20:01
9 3 ERROR: deadlock detected
Times Reported Most Frequent Error / Event #9
Day Hour Count Nov 30 11 1 14 1 17 1 - ERROR: deadlock detected
- ERROR: deadlock detected
- ERROR: deadlock detected
Detail: Process 228347 waits for ShareLock on transaction 547287; blocked by process 839039. Process 839039 waits for ShareLock on transaction 547283; blocked by process 228347. Process 228347: update shipping_policy set count_search=3 where id=2806620 Process 839039: UPDATE "shipping_policy" SET "state_collection" = 'confirm', "write_date" = '2024-11-30 10:17:03.066948', "write_uid" = 1080 WHERE id IN (3043107, 3034288, 3033346, 3033328, 3033326, 3033323, 3033281, 3029555, 3027251, 3021478, 3019767, 3019726, 3019434, 3014863, 3013333, 3012272, 3011398, 3010594, 3007639, 3007316, 3007227, 3007128, 3006672, 3006631, 3004321, 3003170, 3001094, 2987306, 2985760, 2985396, 2971824, 2966295, 2832416, 2806620, 2479885)
Context: while updating tuple (64856,30) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=3 where id=2806620Date: 2024-11-30 11:17:09
Detail: Process 678921 waits for ShareLock on transaction 562579; blocked by process 342531. Process 342531 waits for ShareLock on transaction 562513; blocked by process 678921. Process 678921: update shipping_policy set count_search=4 where id=2572269 Process 342531: update shipping_policy set d_date = '2024-11-30' where id=3049798
Context: while updating tuple (39935,36) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=4 where id=2572269Date: 2024-11-30 14:51:43
Detail: Process 3748 waits for ShareLock on transaction 573905; blocked by process 3638. Process 3638 waits for ShareLock on transaction 573936; blocked by process 3748. Process 3748: update shipping_policy set count_search=4 where id=3048602 Process 3638: UPDATE "shipping_policy" SET "archive_date" = '2024-11-30', "state" = 'archive', "write_date" = '2024-11-30 16:40:10.772366', "write_uid" = 1077 WHERE id IN (3059207, 3057379, 3057335, 3057292, 3057140, 3056825, 3056822, 3056810, 3056557, 3056438, 3056169, 3056068, 3055769, 3054850, 3054804, 3054769, 3054467, 3053771, 3053539, 3053174, 3053160, 3052061, 3051519, 3051304, 3050551, 3050509, 3050494, 3050454, 3050384, 3049434, 3049415, 3048602, 3047770, 3047647, 3046822, 3046422, 3045898, 3045366, 3044382, 3043259, 3042083, 3041977, 3041462, 3041429, 3040806, 3040564, 3040554, 3040116, 3039754, 3039620, 3039434, 3039075, 3038635, 3038472, 3038420, 3037775, 3037496, 3036366, 3035781, 3032203, 3030084, 3027406, 3024954, 3024567, 3022788, 3022229, 3014262, 3012109, 3010487, 3009961, 3009112, 3008456, 3007164, 3007044, 3005320, 3005107, 3004402, 3003518, 2999360, 2997468, 2992674, 2982603, 2979000, 2976433, 2975376, 2966282, 2954094, 2934445, 2922608, 2857273, 2822052, 2784853, 2784735, 2723643, 2634258, 2632539, 2
Context: while updating tuple (4949,26) in relation "shipping_policy"
Hint: See server log for query details.
Statement: update shipping_policy set count_search=4 where id=3048602Date: 2024-11-30 17:41:41
10 3 FATAL: the database system is starting up
Times Reported Most Frequent Error / Event #10
Day Hour Count Nov 30 17 3 11 2 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #11
Day Hour Count Nov 30 07 1 14 1 12 2 FATAL: unsupported frontend protocol 0.0: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #12
Day Hour Count Nov 30 07 1 14 1 13 2 FATAL: unsupported frontend protocol 255.255: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #13
Day Hour Count Nov 30 07 1 14 1 14 1 FATAL: unsupported frontend protocol 65363.19778: server supports 3.0 to 3.0
Times Reported Most Frequent Error / Event #14
Day Hour Count Nov 30 12 1 15 1 ERROR: could not serialize access due to concurrent delete
Times Reported Most Frequent Error / Event #15
Day Hour Count Nov 30 11 1 - ERROR: could not serialize access due to concurrent delete
Statement: DELETE FROM "delegate_track" WHERE id IN (95745)
Date: 2024-11-30 11:07:24
16 1 FATAL: terminating autovacuum process due to administrator command
Times Reported Most Frequent Error / Event #16
Day Hour Count Nov 30 17 1 17 1 ERROR: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #17
Day Hour Count Nov 30 17 1 - ERROR: terminating background worker "parallel worker" due to administrator command
Context: parallel worker
Statement: SELECT "policy_number".id FROM "policy_number" WHERE ((((((("policy_number"."active" = true) AND ("policy_number"."name" = '8787223')) AND ("policy_number"."package_id" = 2)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."active" = true)))) AND ("policy_number"."done" IS NULL or "policy_number"."done" = false )) AND ("policy_number"."damaged" IS NULL or "policy_number"."damaged" = false )) AND (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE ("notebook"."office_id" in (SELECT "urgent_office".id FROM "urgent_office" WHERE ("urgent_office"."client_office" = true))))) OR (("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."delegates_id" IS NOT NULL)) AND ("policy_number"."notebook_id" in (SELECT "notebook".id FROM "notebook" WHERE "notebook"."deliver_date" IS NOT NULL))))) ORDER BY "policy_number"."id"Date: 2024-11-30 17:20:01
18 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #18
Day Hour Count Nov 30 17 1