-
Global information
- Generated on Tue May 1 00:00:43 2018
- Log file: /var/log/postgresql/postgresql-9.6-main.log.1
- Parsed 11,613,336 log entries in 41s
- Log start from 2018-04-30 00:00:00 to 2018-04-30 23:59:59
-
Overview
Global Stats
- 1,215 Number of unique normalized queries
- 3,651,144 Number of queries
- 14m5s Total query duration
- 2018-04-30 00:00:00 First query
- 2018-04-30 23:59:59 Last query
- 11,148 queries/s at 2018-04-30 06:03:54 Query peak
- 30 Number of events
- 8 Number of unique normalized events
- 18 Max number of times the same event was reported
- 0 Number of cancellation
- 470 Total number of automatic vacuums
- 621 Total number of automatic analyzes
- 3 Number temporary file
- 16.62 MiB Max size of temporary file
- 11.60 MiB Average size of temporary file
- 1,279 Total number of sessions
- 1 sessions at 2018-04-30 10:04:32 Session peak
- 10d6h46m26s Total duration of sessions
- 11m34s Average duration of sessions
- 2,854 Average queries per session
- 661ms Average queries duration per session
- 1,279 Total number of connections
- 6 connections/s at 2018-04-30 06:14:36 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 11,148 queries/s Query Peak
- 2018-04-30 06:03:54 Date
SELECT Traffic
Key values
- 2,064 queries/s Query Peak
- 2018-04-30 11:20:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 11,035 queries/s Query Peak
- 2018-04-30 06:03:54 Date
Queries duration
Key values
- 14m5s Total query duration
Prepared queries ratio
Key values
- 2.34 Ratio of bind vs prepare
- 135.47 % Ratio between prepared and "usual" statements
General Activity
Day Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 30 00 102,496 0ms 18ms 0ms 65ms 163ms 1s706ms 01 95,679 0ms 15ms 0ms 54ms 152ms 307ms 02 94,531 0ms 14ms 0ms 52ms 62ms 289ms 03 95,697 0ms 13ms 0ms 50ms 246ms 299ms 04 95,689 0ms 28ms 0ms 51ms 132ms 342ms 05 106,977 0ms 79ms 0ms 72ms 330ms 7s278ms 06 324,407 0ms 1s362ms 0ms 4s49ms 4s601ms 8s769ms 07 302,715 0ms 313ms 0ms 3s167ms 4s457ms 7s647ms 08 240,324 0ms 196ms 0ms 3s77ms 3s334ms 4s123ms 09 189,701 0ms 198ms 0ms 2s576ms 2s696ms 3s325ms 10 222,393 0ms 229ms 0ms 3s240ms 3s528ms 6s77ms 11 243,621 0ms 1s886ms 0ms 3s263ms 3s507ms 4s264ms 12 195,590 0ms 217ms 0ms 2s288ms 4s4ms 4s357ms 13 231,417 0ms 250ms 0ms 3s266ms 4s30ms 4s696ms 14 196,473 0ms 225ms 0ms 3s218ms 4s257ms 5s620ms 15 107,184 0ms 2s869ms 0ms 2s63ms 2s217ms 3s602ms 16 127,006 0ms 211ms 0ms 989ms 1s125ms 2s874ms 17 114,372 0ms 206ms 0ms 786ms 1s131ms 1s481ms 18 92,682 0ms 26ms 0ms 53ms 163ms 313ms 19 93,665 0ms 21ms 0ms 56ms 134ms 497ms 20 94,227 0ms 40ms 0ms 66ms 188ms 823ms 21 93,350 0ms 18ms 0ms 61ms 200ms 468ms 22 95,385 0ms 16ms 0ms 75ms 348ms 412ms 23 95,563 0ms 18ms 0ms 59ms 407ms 446ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 30 00 36,131 0 0ms 18ms 25ms 171ms 01 32,881 0 0ms 18ms 27ms 169ms 02 32,584 0 0ms 20ms 23ms 160ms 03 32,752 0 0ms 16ms 21ms 152ms 04 32,760 0 0ms 18ms 23ms 155ms 05 36,961 0 0ms 22ms 33ms 525ms 06 148,174 0 0ms 1s952ms 2s697ms 4s307ms 07 131,100 0 0ms 945ms 1s485ms 2s199ms 08 120,825 0 0ms 1s369ms 2s409ms 3s256ms 09 87,942 0 0ms 1s606ms 2s231ms 2s743ms 10 111,114 0 0ms 1s726ms 3s15ms 3s491ms 11 122,815 0 0ms 1s818ms 2s849ms 3s733ms 12 88,311 0 0ms 1s521ms 1s931ms 3s393ms 13 118,585 0 0ms 1s606ms 2s851ms 3s752ms 14 95,447 0 0ms 2s272ms 2s985ms 4s388ms 15 42,903 0 0ms 1s302ms 2s26ms 2s266ms 16 49,682 0 0ms 279ms 574ms 993ms 17 43,059 0 0ms 307ms 680ms 1s156ms 18 30,827 0 0ms 22ms 29ms 48ms 19 31,085 0 0ms 20ms 29ms 47ms 20 32,810 0 0ms 23ms 30ms 253ms 21 30,879 0 0ms 20ms 27ms 44ms 22 31,361 0 0ms 21ms 30ms 54ms 23 31,289 0 0ms 18ms 26ms 49ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 30 00 938 1,352 86 0 0ms 7ms 11ms 27ms 01 1,015 856 84 0 0ms 2ms 8ms 46ms 02 444 698 82 0 0ms 1ms 8ms 14ms 03 1,224 905 82 0 0ms 2ms 5ms 37ms 04 1,120 881 84 0 0ms 1ms 8ms 45ms 05 4,641 4,149 86 0 0ms 2ms 9ms 1s54ms 06 60,784 19,055 394 0 0ms 526ms 789ms 2s288ms 07 55,429 19,574 460 0 0ms 401ms 821ms 2s436ms 08 16,632 8,214 387 0 0ms 255ms 354ms 533ms 09 11,164 5,928 316 0 0ms 196ms 258ms 339ms 10 14,421 7,272 372 0 0ms 220ms 303ms 512ms 11 17,484 8,488 398 0 0ms 266ms 373ms 552ms 12 13,244 7,165 306 0 0ms 238ms 337ms 603ms 13 14,381 7,589 371 0 0ms 199ms 295ms 482ms 14 7,861 5,310 321 0 0ms 183ms 311ms 398ms 15 848 1,322 138 0 1ms 16ms 62ms 202ms 16 3,172 3,335 219 0 1ms 101ms 194ms 409ms 17 1,818 1,946 192 0 0ms 37ms 120ms 206ms 18 143 636 113 0 0ms 1ms 8ms 24ms 19 648 789 121 0 0ms 1ms 8ms 63ms 20 826 835 120 0 0ms 1ms 8ms 89ms 21 840 803 112 0 0ms 2ms 7ms 90ms 22 2,008 1,100 118 0 0ms 2ms 10ms 202ms 23 2,252 1,161 119 0 0ms 1ms 9ms 185ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Apr 30 00 58,110 102,496 1.76 89.77% 01 55,418 95,679 1.73 93.44% 02 54,610 94,531 1.73 93.80% 03 54,320 95,697 1.76 91.44% 04 54,339 95,689 1.76 91.59% 05 55,783 106,977 1.92 79.15% 06 80,598 323,039 4.01 29.05% 07 85,025 302,715 3.56 33.37% 08 80,393 239,384 2.98 41.31% 09 75,815 189,701 2.50 51.64% 10 78,980 222,393 2.82 44.34% 11 80,488 243,621 3.03 40.76% 12 76,496 195,590 2.56 50.48% 13 77,320 231,399 2.99 41.41% 14 75,543 196,473 2.60 49.47% 15 57,947 107,178 1.85 81.32% 16 66,147 126,984 1.92 75.76% 17 62,615 114,372 1.83 82.51% 18 54,739 92,667 1.69 97.37% 19 54,966 93,665 1.70 96.12% 20 54,188 94,227 1.74 92.54% 21 54,844 93,350 1.70 96.19% 22 55,532 95,385 1.72 94.10% 23 55,556 95,563 1.72 93.81% Day Hour Count Average / Second Apr 30 00 43 0.01/s 01 51 0.01/s 02 47 0.01/s 03 38 0.01/s 04 38 0.01/s 05 45 0.01/s 06 31 0.01/s 07 44 0.01/s 08 47 0.01/s 09 55 0.02/s 10 53 0.01/s 11 42 0.01/s 12 42 0.01/s 13 36 0.01/s 14 40 0.01/s 15 73 0.02/s 16 64 0.02/s 17 59 0.02/s 18 72 0.02/s 19 70 0.02/s 20 72 0.02/s 21 73 0.02/s 22 72 0.02/s 23 72 0.02/s Day Hour Count Average Duration Apr 30 00 43 13m2s 01 51 12m20s 02 47 13m16s 03 38 11m53s 04 38 18m38s 05 45 13m21s 06 31 17m58s 07 44 16m16s 08 46 11m38s 09 56 12m41s 10 53 9m32s 11 42 16m56s 12 39 16m48s 13 36 20m18s 14 43 14m30s 15 73 9m28s 16 64 9m12s 17 59 9m37s 18 72 8m55s 19 70 8m37s 20 72 7m36s 21 73 8m37s 22 72 8m41s 23 72 8m6s -
Connections
Established Connections
Key values
- 6 connections Connection Peak
- 2018-04-30 06:14:36 Date
Connections per database
Key values
- pharmisight Main Database
- 1,279 connections Total
Connections per user
Key values
- pharmisight Main User
- 1,279 connections Total
-
Sessions
Simultaneous sessions
Key values
- 1 sessions Session Peak
- 2018-04-30 10:04:32 Date
Histogram of session times
Key values
- 847 60000-600000ms duration
Sessions per database
Key values
- pharmisight Main Database
- 1,279 sessions Total
Sessions per user
Key values
- pharmisight Main User
- 1,279 sessions Total
Sessions per host
Key values
- 10.10.10.1 Main Host
- 1,279 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 3,127 buffers Checkpoint Peak
- 2018-04-30 07:26:33 Date
- 149.926 seconds Highest write time
- 0.124 seconds Sync time
Checkpoints Wal files
Key values
- 4 files Wal files usage Peak
- 2018-04-30 06:11:32 Date
Checkpoints distance
Key values
Checkpoint mean distance and estimate (5 minutes period)
NO DATASET
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Apr 30 00 2,296 230.051s 0.015s 230.11s 01 875 87.793s 0.013s 87.851s 02 684 68.643s 0.013s 68.698s 03 865 86.782s 0.022s 86.848s 04 722 72.457s 0.012s 72.506s 05 649 65.111s 0.013s 65.161s 06 11,291 968.637s 0.068s 968.76s 07 13,890 1,091.838s 0.145s 1,092.064s 08 6,734 684.847s 0.032s 684.92s 09 4,720 473.126s 0.032s 473.211s 10 5,826 583.023s 0.032s 583.102s 11 7,088 724.097s 0.059s 724.2s 12 6,730 675.609s 0.023s 675.677s 13 6,408 641.894s 0.045s 642.008s 14 4,874 488.338s 0.051s 488.433s 15 1,502 128.15s 0.138s 128.34s 16 3,224 322.657s 0.026s 322.73s 17 1,734 173.963s 0.015s 174.018s 18 658 66.01s 0.015s 66.082s 19 842 84.476s 0.138s 84.656s 20 697 69.836s 0.022s 69.9s 21 694 69.624s 0.014s 69.679s 22 855 85.771s 0.011s 85.828s 23 868 86.98s 0.024s 87.044s Day Hour Added Removed Recycled Synced files Longest sync Average sync Apr 30 00 0 0 0 407 0.002s 0s 01 0 0 1 391 0.001s 0s 02 0 0 0 360 0.002s 0s 03 0 0 0 357 0.008s 0s 04 0 0 0 351 0.002s 0s 05 0 0 0 282 0.002s 0s 06 0 1 8 1,242 0.003s 0s 07 0 2 7 1,344 0.026s 0s 08 0 1 2 1,105 0.002s 0s 09 0 0 2 931 0.002s 0s 10 0 0 2 1,033 0.005s 0s 11 0 0 3 1,192 0.006s 0s 12 0 0 3 1,081 0.001s 0s 13 0 0 3 1,196 0.008s 0s 14 0 0 2 1,099 0.029s 0s 15 0 0 0 644 0.084s 0.003s 16 0 0 2 974 0.009s 0s 17 0 0 0 851 0.003s 0s 18 0 0 0 363 0.002s 0s 19 0 0 1 381 0.102s 0.003s 20 0 0 0 326 0.011s 0s 21 0 0 0 304 0.002s 0s 22 0 0 0 298 0.002s 0s 23 0 0 1 298 0.008s 0s Day Hour Count Avg time (sec) Apr 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 23 0 0s Day Hour Mean distance Mean estimate Apr 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 23 0 0 -
Temporary Files
Size of temporary files
Key values
- 16.62 MiB Temp Files size Peak
- 2018-04-30 15:14:32 Date
Number of temporary files
Key values
- 1 per second Temp Files Peak
- 2018-04-30 06:03:53 Date
Temporary Files Activity
Day Hour Count Total size Average size Apr 30 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 1 9.76 MiB 9.76 MiB 07 1 8.43 MiB 8.43 MiB 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 1 16.62 MiB 16.62 MiB 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 1 16.62 MiB 16.62 MiB 16.62 MiB 16.62 MiB COMMIT;-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-04-30 16:00:00 Duration: 60ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 04:20:01 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 12:49:37 Duration: 27ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Queries generating the largest temporary files
Rank Size Query 1 16.62 MiB COMMIT;[ Date: 2018-04-30 15:14:32 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0.88 sec Highest CPU-cost vacuum
Table public.sym_outgoing_batch
Database pharmisight - 2018-04-30 16:47:50 Date
- 6.69 sec Highest CPU-cost analyze
Table public.sym_data
Database pharmisight - 2018-04-30 11:51:36 Date
Analyzes per table
Key values
- public.sym_node_communication (206) Main table analyzed (database pharmisight)
- 621 analyzes Total
Table Number of analyzes pharmisight.public.sym_node_communication 206 pharmisight.public.sym_outgoing_batch 105 pharmisight.public.sym_data_gap 103 pharmisight.public.sym_sequence 102 pharmisight.public.sym_node_channel_ctl 25 pharmisight.public.sym_data 21 pharmisight.public.sym_data_event 21 pharmisight.public.sym_incoming_batch 16 pharmisight.public.sym_lock 11 pharmisight.public.sym_node_host 5 pharmisight.public.item_codes 2 pharmisight.public.order_rounds 1 pharmisight.public.patients 1 pharmisight.public.users 1 pharmisight.public.eps_header 1 Total 621 Vacuums per table
Key values
- public.sym_node_communication (205) Main table vacuumed on database pharmisight
- 470 vacuums Total
Table Number of vacuums Index scans pharmisight.public.sym_node_communication 205 0 pharmisight.public.sym_sequence 102 0 pharmisight.public.sym_data_gap 54 54 pharmisight.public.sym_outgoing_batch 53 53 pharmisight.public.sym_node_channel_ctl 25 0 pharmisight.public.sym_lock 11 0 pharmisight.public.sym_incoming_batch 6 6 pharmisight.public.sym_node_host 5 0 pharmisight.pg_catalog.pg_statistic 4 4 pharmisight.pg_toast.pg_toast_2619 4 4 pharmisight.public.item_codes 1 1 Total 470 122 Tuples removed per table
Key values
- public.sym_node_communication (11360) Main table with removed tuples on database pharmisight
- 26332 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_node_communication 205 0 11360 0 pharmisight.public.sym_sequence 102 0 5680 0 pharmisight.public.sym_data_gap 54 54 2832 0 pharmisight.public.sym_outgoing_batch 53 53 1615 0 pharmisight.public.sym_node_channel_ctl 25 0 1339 0 pharmisight.pg_catalog.pg_statistic 4 4 1062 0 pharmisight.public.sym_incoming_batch 6 6 931 0 pharmisight.public.sym_lock 11 0 572 0 pharmisight.public.item_codes 1 1 371 0 pharmisight.pg_toast.pg_toast_2619 4 4 310 0 pharmisight.public.sym_node_host 5 0 260 0 Total 470 122 26,332 0 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database
- 0 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_lock 11 0 572 0 pharmisight.public.sym_node_channel_ctl 25 0 1339 0 pharmisight.public.sym_incoming_batch 6 6 931 0 pharmisight.public.sym_sequence 102 0 5680 0 pharmisight.public.sym_data_gap 54 54 2832 0 pharmisight.public.sym_node_host 5 0 260 0 pharmisight.pg_catalog.pg_statistic 4 4 1062 0 pharmisight.public.item_codes 1 1 371 0 pharmisight.pg_toast.pg_toast_2619 4 4 310 0 pharmisight.public.sym_outgoing_batch 53 53 1615 0 pharmisight.public.sym_node_communication 205 0 11360 0 Total 470 122 26,332 0 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Apr 30 00 12 21 01 12 14 02 11 13 03 11 14 04 10 14 05 13 15 06 43 67 07 37 57 08 36 48 09 28 39 10 30 42 11 33 46 12 27 32 13 29 42 14 28 33 15 11 17 16 20 21 17 16 21 18 11 10 19 10 12 20 11 11 21 11 10 22 9 11 23 11 11 - 0.88 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 1 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 1s361ms 1s361ms 1s361ms 1s361ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, created = ?, updated = ?, note = ? WHERE flow_report_id = ?;-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, CREATED = $16, UPDATED = $17, note = $18 WHERE FLOW_REPORT_ID = $19;
Date: 2018-04-30 06:14:36 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver
Queries that waited the most
Rank Wait time Query 1 1s361ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, CREATED = $16, UPDATED = $17, note = $18 WHERE FLOW_REPORT_ID = $19;[ Date: 2018-04-30 06:14:36 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Queries
Queries by type
Key values
- 1,552,277 Total read queries
- 1,141,086 Total write queries
Queries by database
Key values
- pharmisight Main database
- 3,651,138 Requests
- 14m5s (pharmisight)
- Main time consuming database
Queries by user
Key values
- symmetricds Main user
- 2,777,425 Requests
User Request type Count Duration pharmisight Total 918,377 12m12s DELETE 39 1s130ms INSERT 36,124 43s835ms OTHERS 2,038 66ms SELECT 744,939 9m2s TCL 81,245 8s505ms UPDATE 53,992 2m16s postgres Total 6 214ms SELECT 6 214ms symmetricds Total 2,777,425 1m54s DDL 2 93ms DELETE 5,075 5s9ms INSERT 197,691 13s199ms OTHERS 973,452 17s444ms SELECT 821,483 38s462ms TCL 723,944 27s500ms UPDATE 55,778 12s526ms Duration by user
Key values
- 12m12s (pharmisight) Main time consuming user
User Request type Count Duration pharmisight Total 918,377 12m12s DELETE 39 1s130ms INSERT 36,124 43s835ms OTHERS 2,038 66ms SELECT 744,939 9m2s TCL 81,245 8s505ms UPDATE 53,992 2m16s postgres Total 6 214ms SELECT 6 214ms symmetricds Total 2,777,425 1m54s DDL 2 93ms DELETE 5,075 5s9ms INSERT 197,691 13s199ms OTHERS 973,452 17s444ms SELECT 821,483 38s462ms TCL 723,944 27s500ms UPDATE 55,778 12s526ms Queries by host
Key values
- 10.10.10.1 Main host
- 3,695,802 Requests
- 14m6s (10.10.10.1)
- Main time consuming host
Queries by application
Key values
- PostgreSQL JDBC Driver Main application
- 3,647,507 Requests
- 14m5s (PostgreSQL JDBC Driver)
- Main time consuming application
Application Request type Count Duration PostgreSQL JDBC Driver Total 3,647,507 14m5s DDL 2 93ms DELETE 5,081 6s135ms INSERT 233,303 56s911ms OTHERS 956,503 17s160ms SELECT 1,550,050 9m40s TCL 793,205 35s793ms UPDATE 109,363 2m28s [unknown] Total 3,631 418ms INSERT 34 16ms OTHERS 1,278 29ms SELECT 2,221 346ms TCL 98 25ms psql Total 6 214ms SELECT 6 214ms Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2018-04-30 06:49:32 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 3,546,146 0-1ms duration
Slowest individual queries
Rank Duration Query 1 2s869ms SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.salesforceOrderNumber = '8886755';[ Date: 2018-04-30 15:54:16 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 1s886ms SELECT this_.DLX_BARCODE AS DLX_BARC1_3_0_, this_.orderNumber AS orderNum2_3_0_, this_.pickDateTime AS pickDate3_3_0_, this_.picker AS picker4_3_0_, this_.CREATED AS CREATED5_3_0_, this_.partCode AS partCode6_3_0_, this_.orderQty AS orderQty7_3_0_ FROM DLX_BARCODES this_ ORDER BY this_.picker ASC, this_.orderNumber ASC, this_.CREATED DESC LIMIT '28';[ Date: 2018-04-30 11:06:35 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 1s362ms UPDATE FLOW_REPORTS SET routeNumber = '8884434', roundDeliveryDate = '2018-05-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-04-30 06:06:26.098', changedPickDateTime = 'f', CREATED = '2018-04-30 12:00:45.118', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200381502';[ Date: 2018-04-30 06:14:36 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 1s90ms UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '10723710';[ Date: 2018-04-30 06:05:33 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 1s81ms SELECT count (*) AS y0_ FROM DLX_BARCODES this_;[ Date: 2018-04-30 11:06:33 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 738ms UPDATE FLOW_REPORTS SET routeNumber = '8884434', roundDeliveryDate = '2018-05-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-04-30 06:06:26.098', changedPickDateTime = 'f', CREATED = '2018-04-30 12:00:45.118', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200381502';[ Date: 2018-04-30 06:14:36 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 641ms SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14' OFFSET '87010';[ Date: 2018-04-30 15:14:32 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 417ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '14622';[ Date: 2018-04-30 15:51:23 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 359ms SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';[ Date: 2018-04-30 15:43:28 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 313ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '209078552';[ Date: 2018-04-30 07:39:29 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 297ms SELECT orders0_.PATIENT_ID AS PATIENT43_31_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = '14622' ORDER BY orders0_.CREATED DESC;[ Date: 2018-04-30 15:51:20 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 296ms SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '8884203%' ORDER BY this_.routeNumber ASC;[ Date: 2018-04-30 15:43:40 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 258ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '209078532';[ Date: 2018-04-30 07:39:50 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 255ms SELECT _lines.routeNumber, _lines.deliveryDate, _lines.orderNumber, _lines.patientName, _lines.partDescription, _lines.orderQty, _lines.order_line_id, _checks.created AS check_created, _checks.newRxCheck AS check_checked, _checkers.firstName AS checker_firstName, _checkers.lastName AS checker_lastName, _audits.created AS audit_created, _audits.newRxCheck AS audit_checked, _auditors.firstName AS auditor_firstName, _auditors.lastName AS auditor_lastName, _audits.rx_line_activity_id, _checks.auditedbyrxlineactivity, _checks.auditedaserror FROM rx_line_activities AS _audits INNER JOIN rx_line_activities AS _checks ON (_audits.rx_line_activity_id = _checks.auditedbyrxlineactivity) LEFT OUTER JOIN order_lines AS _lines ON (_audits.order_line_id = _lines.order_line_id) LEFT OUTER JOIN users AS _auditors ON (_audits.newrxcheckby = _auditors.user_id) LEFT OUTER JOIN users AS _checkers ON (_checks.newrxcheckby = _checkers.user_id) WHERE _checks.newRxCheckBy = '4058' AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2018-04-30 11:42:21 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 250ms SELECT _lines.routeNumber, _lines.deliveryDate, _lines.orderNumber, _lines.patientName, _lines.partDescription, _lines.orderQty, _lines.order_line_id, _checks.created AS check_created, _checks.newRxCheck AS check_checked, _checkers.firstName AS checker_firstName, _checkers.lastName AS checker_lastName, _audits.created AS audit_created, _audits.newRxCheck AS audit_checked, _auditors.firstName AS auditor_firstName, _auditors.lastName AS auditor_lastName, _audits.rx_line_activity_id, _checks.auditedbyrxlineactivity, _checks.auditedaserror FROM rx_line_activities AS _audits INNER JOIN rx_line_activities AS _checks ON (_audits.rx_line_activity_id = _checks.auditedbyrxlineactivity) LEFT OUTER JOIN order_lines AS _lines ON (_audits.order_line_id = _lines.order_line_id) LEFT OUTER JOIN users AS _auditors ON (_audits.newrxcheckby = _auditors.user_id) LEFT OUTER JOIN users AS _checkers ON (_checks.newrxcheckby = _checkers.user_id) WHERE _checks.newRxCheckBy = '4058' AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2018-04-30 13:25:26 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 249ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '209078542';[ Date: 2018-04-30 07:40:29 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 246ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '209078632';[ Date: 2018-04-30 07:41:00 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 238ms SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14' OFFSET '70';[ Date: 2018-04-30 15:15:24 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 237ms SELECT _lines.routeNumber, _lines.deliveryDate, _lines.orderNumber, _lines.patientName, _lines.partDescription, _lines.orderQty, _lines.order_line_id, _checks.created AS check_created, _checks.newRxCheck AS check_checked, _checkers.firstName AS checker_firstName, _checkers.lastName AS checker_lastName, _audits.created AS audit_created, _audits.newRxCheck AS audit_checked, _auditors.firstName AS auditor_firstName, _auditors.lastName AS auditor_lastName, _audits.rx_line_activity_id, _checks.auditedbyrxlineactivity, _checks.auditedaserror FROM rx_line_activities AS _audits INNER JOIN rx_line_activities AS _checks ON (_audits.rx_line_activity_id = _checks.auditedbyrxlineactivity) LEFT OUTER JOIN order_lines AS _lines ON (_audits.order_line_id = _lines.order_line_id) LEFT OUTER JOIN users AS _auditors ON (_audits.newrxcheckby = _auditors.user_id) LEFT OUTER JOIN users AS _checkers ON (_checks.newrxcheckby = _checkers.user_id) WHERE _checks.newRxCheckBy = '4058' AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2018-04-30 11:49:33 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 231ms SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14' OFFSET '140';[ Date: 2018-04-30 15:02:04 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
Time consuming queries
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1m49s 2,783 18ms 359ms 39ms SELECT count (*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> '';Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 30 06 189 7s383ms 39ms 07 198 7s681ms 38ms 08 357 13s868ms 38ms 09 316 12s736ms 40ms 10 193 7s373ms 38ms 11 307 11s869ms 38ms 12 220 8s696ms 39ms 13 447 17s462ms 39ms 14 469 19s31ms 40ms 15 31 1s580ms 50ms 16 35 1s368ms 39ms 17 21 800ms 38ms [ User: pharmisight - Total duration: 1m49s - Times executed: 2783 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m49s - Times executed: 2783 ]
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
Date: 2018-04-30 15:43:28 Duration: 359ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 14:59:54 Duration: 76ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:09:40 Duration: 76ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 47s432ms 237 97ms 641ms 200ms SELECT this_.order_round_id AS order_ro1_26_0_, this_.routenumber AS routenum2_26_0_, this_.uploadedbyuserid AS uploaded3_26_0_, this_.uploadedbyusername AS uploaded4_26_0_, this_.updatedby AS updatedb5_26_0_, this_.updatedbyusername AS updatedb6_26_0_, this_.orderroundnote AS orderrou7_26_0_, this_.firstcheckout AS firstche8_26_0_, this_.allordersscannedok AS allorder9_26_0_, this_.status AS status10_26_0_, this_.reopenedtimes AS reopene11_26_0_, this_.lastreopenbyid AS lastreo12_26_0_, this_.lastdonecheckin AS lastdon13_26_0_, this_.lastdonebyid AS lastdon14_26_0_, this_.lastdonebyusername AS lastdon15_26_0_, this_.missinglabels AS missing16_26_0_, this_.rounddeliverydate AS roundde17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadupdated AS uploadu21_26_0_, this_.patientalert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxstatus AS rxstatu24_26_0_, this_.distributionpoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedby AS audited27_26_0_, this_.auditstatus AS auditst28_26_0_, this_.uploadfinished AS uploadf29_26_0_, this_.lastrxcompleted AS lastrxc30_26_0_, this_.lastrxcompletedby AS lastrxc31_26_0_, this_.orderroundnotereadby AS orderro32_26_0_, this_.routeorderlinesqty AS routeor33_26_0_, this_.dlxpickedlinesqty AS dlxpick34_26_0_, this_.flowreport AS flowrep35_26_0_, this_.created AS created36_26_0_, this_.createdby AS created37_26_0_, this_.updated AS updated38_26_0_, this_.note AS note39_26_0_ FROM order_rounds this_ ORDER BY this_.rounddeliverydate DESC, this_.routenumber ASC LIMIT '' OFFSET '';Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 30 10 71 14s225ms 200ms 11 33 6s670ms 202ms 12 31 5s994ms 193ms 13 7 1s451ms 207ms 14 27 5s97ms 188ms 15 66 13s585ms 205ms 16 2 407ms 203ms [ User: pharmisight - Total duration: 47s432ms - Times executed: 237 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 47s432ms - Times executed: 237 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14' OFFSET '87010';
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14' OFFSET '70';
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14' OFFSET '140';
Date: 2018-04-30 15:14:32 Duration: 641ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:15:24 Duration: 238ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:02:04 Duration: 231ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 46s373ms 48,797 0ms 40ms 0ms SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 30 05 1 0ms 0ms 06 15,220 11s922ms 0ms 07 142 252ms 1ms 08 197 335ms 1ms 09 2,240 2s356ms 1ms 10 6,734 6s859ms 1ms 11 6,027 6s88ms 1ms 12 4,282 4s102ms 0ms 13 5,069 4s913ms 0ms 14 5,013 5s262ms 1ms 15 1,132 1s318ms 1ms 16 1,405 1s386ms 0ms 17 1,227 1s314ms 1ms 20 108 257ms 2ms [ User: pharmisight - Total duration: 46s373ms - Times executed: 48797 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 46s373ms - Times executed: 48797 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200415802' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200417492' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200416522' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-04-30 20:00:30 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:43:04 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 20:00:30 Duration: 25ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 43s609ms 2,781 0ms 216ms 15ms SELECT * FROM order_lines WHERE (deliverydate = '' AND STATUS <> '') AND ((agecheck = 0 OR agecheck = 0 OR agecheck = 0) OR (STATUS = '') OR (paperwork IS NOT NULL AND paperwork <> '' AND paperwork <> '' AND paperwork <> '' AND paperwork <> '') OR (paperworkresolution IS NOT NULL) OR (overaverageqtymax IS NOT NULL));Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 30 06 189 2s915ms 15ms 07 198 2s986ms 15ms 08 357 5s481ms 15ms 09 316 5s48ms 15ms 10 193 2s778ms 14ms 11 307 4s546ms 14ms 12 220 3s459ms 15ms 13 445 7s85ms 15ms 14 469 7s648ms 16ms 15 31 757ms 24ms 16 35 563ms 16ms 17 21 336ms 16ms [ User: pharmisight - Total duration: 43s609ms - Times executed: 2781 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 43s609ms - Times executed: 2781 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-05-01' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-05-01' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-04-30' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
Date: 2018-04-30 15:43:27 Duration: 216ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 12:43:57 Duration: 53ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 06:41:29 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 41s354ms 11,132 0ms 19ms 3ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 30 06 756 2s749ms 3ms 07 792 2s849ms 3ms 08 1,428 5s162ms 3ms 09 1,264 4s806ms 3ms 10 772 2s500ms 3ms 11 1,228 4s179ms 3ms 12 880 3s272ms 3ms 13 1,788 6s922ms 3ms 14 1,876 7s618ms 4ms 15 124 479ms 3ms 16 140 505ms 3ms 17 84 305ms 3ms [ User: pharmisight - Total duration: 41s354ms - Times executed: 11132 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 41s354ms - Times executed: 11132 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-04-30' AND this_.rxStatus = '2';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-05-01' AND this_.rxStatus = '1';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-05-01' AND this_.rxStatus = '5';
Date: 2018-04-30 06:47:45 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 14:19:59 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 13:28:28 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 33s211ms 396,637 0ms 60ms 0ms COMMIT;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 30 00 13,112 562ms 0ms 01 12,236 317ms 0ms 02 12,204 319ms 0ms 03 12,222 375ms 0ms 04 12,243 343ms 0ms 05 12,319 361ms 0ms 06 24,531 3s301ms 0ms 07 24,111 3s252ms 0ms 08 24,278 3s235ms 0ms 09 20,739 2s306ms 0ms 10 22,466 2s729ms 0ms 11 24,132 3s466ms 0ms 12 21,260 2s524ms 0ms 13 22,886 2s723ms 0ms 14 21,885 2s413ms 0ms 15 13,022 627ms 0ms 16 15,449 1s406ms 0ms 17 14,437 923ms 0ms 18 12,248 322ms 0ms 19 12,269 369ms 0ms 20 11,984 325ms 0ms 21 12,192 339ms 0ms 22 12,212 328ms 0ms 23 12,200 337ms 0ms [ User: symmetricds - Total duration: 25s73ms - Times executed: 356033 ]
[ User: pharmisight - Total duration: 8s137ms - Times executed: 40604 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 33s186ms - Times executed: 396603 ]
[ Application: [unknown] - Total duration: 24ms - Times executed: 34 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-04-30 16:00:00 Duration: 60ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 04:20:01 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 12:49:37 Duration: 27ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 24s166ms 64,479 0ms 27ms 0ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 30 05 3 0ms 0ms 06 15,778 5s73ms 0ms 07 1,506 701ms 0ms 08 1,865 855ms 0ms 09 4,208 1s716ms 0ms 10 8,311 3s273ms 0ms 11 8,450 3s253ms 0ms 12 5,073 1s837ms 0ms 13 8,424 3s176ms 0ms 14 5,543 2s148ms 0ms 15 1,194 519ms 0ms 16 2,137 820ms 0ms 17 1,928 764ms 0ms 20 59 22ms 0ms [ User: pharmisight - Total duration: 24s166ms - Times executed: 64479 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 24s166ms - Times executed: 64479 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200416862' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200416842' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200417202' ORDER BY orders0_.order_id ASC;
Date: 2018-04-30 15:43:46 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:52:55 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 06:44:44 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 22s117ms 116 96ms 211ms 190ms SELECT this_.order_round_id AS order_ro1_26_0_, this_.routenumber AS routenum2_26_0_, this_.uploadedbyuserid AS uploaded3_26_0_, this_.uploadedbyusername AS uploaded4_26_0_, this_.updatedby AS updatedb5_26_0_, this_.updatedbyusername AS updatedb6_26_0_, this_.orderroundnote AS orderrou7_26_0_, this_.firstcheckout AS firstche8_26_0_, this_.allordersscannedok AS allorder9_26_0_, this_.status AS status10_26_0_, this_.reopenedtimes AS reopene11_26_0_, this_.lastreopenbyid AS lastreo12_26_0_, this_.lastdonecheckin AS lastdon13_26_0_, this_.lastdonebyid AS lastdon14_26_0_, this_.lastdonebyusername AS lastdon15_26_0_, this_.missinglabels AS missing16_26_0_, this_.rounddeliverydate AS roundde17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadupdated AS uploadu21_26_0_, this_.patientalert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxstatus AS rxstatu24_26_0_, this_.distributionpoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedby AS audited27_26_0_, this_.auditstatus AS auditst28_26_0_, this_.uploadfinished AS uploadf29_26_0_, this_.lastrxcompleted AS lastrxc30_26_0_, this_.lastrxcompletedby AS lastrxc31_26_0_, this_.orderroundnotereadby AS orderro32_26_0_, this_.routeorderlinesqty AS routeor33_26_0_, this_.dlxpickedlinesqty AS dlxpick34_26_0_, this_.flowreport AS flowrep35_26_0_, this_.created AS created36_26_0_, this_.createdby AS created37_26_0_, this_.updated AS updated38_26_0_, this_.note AS note39_26_0_ FROM order_rounds this_ ORDER BY this_.rounddeliverydate DESC, this_.routenumber ASC LIMIT '';Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 30 08 1 196ms 196ms 09 7 1s309ms 187ms 10 25 4s780ms 191ms 11 12 2s291ms 190ms 12 19 3s553ms 187ms 13 2 390ms 195ms 14 9 1s662ms 184ms 15 28 5s437ms 194ms 16 4 763ms 190ms 17 9 1s730ms 192ms [ User: pharmisight - Total duration: 22s117ms - Times executed: 116 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 22s117ms - Times executed: 116 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14';
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14';
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14';
Date: 2018-04-30 15:44:19 Duration: 211ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 12:41:45 Duration: 208ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 10:27:13 Duration: 207ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 21s138ms 1,629 1ms 76ms 12ms UPDATE order_lines SET routenumber = '', sapordernumber = '', ordernumber = '', answerordernumber = NULL, partcode = '', partdescription = '', patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', patientpostcodeprefix = '', orderqty = '', allocqty = '', shipqty = NULL, adjustedqty = '', scannedqty = '', assignedqty = '', checkedqty = '', backorderqty = '', cancelqty = '', reducedqty = '', STATUS = '', reason = NULL, deliverydate = '', customer = '', sapcustomerid = '', billtotype = '', barcodedate = NULL, barcodebatch = NULL, patientid = '', isadded = NULL, isnotwithinage = NULL, isunderage = '', agecheck = '', expired = NULL, paperwork = '', ispaperworkproblem = '', paperworkresolution = NULL, pickerid = '', specialcare = '', paperworkenquirystarted = NULL, paperworkenquiryfinished = NULL, paperworkenquiryresponse = NULL, isnewproduct = NULL, extraprocedure = NULL, overaverageqtymax = NULL, overaverageqtyresolution = NULL, createuser = '', patientalert = NULL, itemalert = NULL, checkerid = '', reductionsummary = NULL, ismetabolic = NULL, rxstatus = '', lastregupdateusertype = '', lastregupdateusername = '', lastregupdatedate = '', sapplannedshipdate = '', sapplanneddeliverydate = '', requestedsapquantity = '', orderquantity = '', reglinecreatedusertype = '', reglinecreatedusername = '', reglinecreateddate = '', audited = NULL, ismetabolicpatient = NULL, addedcase = NULL, ordertype = NULL, created = '', updated = NULL, rxcheckby = '', note = '', item = '', alertconfirmation = NULL, homewardaction = NULL WHERE order_line_id = '';Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 30 06 197 2s480ms 12ms 07 177 2s92ms 11ms 08 285 3s550ms 12ms 09 116 1s507ms 12ms 10 135 1s656ms 12ms 11 329 4s165ms 12ms 12 157 1s906ms 12ms 13 135 1s674ms 12ms 14 44 551ms 12ms 16 38 1s159ms 30ms 17 16 392ms 24ms [ User: pharmisight - Total duration: 21s138ms - Times executed: 1629 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 21s138ms - Times executed: 1629 ]
-
UPDATE ORDER_LINES SET routeNumber = '8884435', sapOrderNumber = '7461696', orderNumber = '5003892392', answerOrderNumber = NULL, partCode = '40963', partDescription = 'Nutrison Energy 1500ml', patientName = 'David Burley', firstName = 'David', middleName = NULL, lastName = 'Burley', patientDateOfBirth = '1958-04-05', patientPostcode = 'WV10 9NH', patientPostcodePrefix = 'WV', orderQty = '14', allocQty = '14', shipQty = NULL, adjustedQty = '14', scannedQty = '14', assignedQty = '0', checkedQty = '14', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-05-01', customer = 'Michael Phiri-Thorne', sapCustomerId = '685056663', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '183897', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'eRx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '43421260', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Michael Phiri-Thorne', patientAlert = NULL, itemAlert = NULL, checkerId = '4057', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User', lastRegUpdateUserName = 'vincent.li@nutricia.connections', lastRegUpdateDate = '2018-04-27 08:53:24', sapPlannedShipDate = '2018-04-30', sapPlannedDeliveryDate = '2018-05-01', requestedSAPQuantity = '14', orderQuantity = '14', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 16:55:55', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 05:59:20.476', UPDATED = NULL, rxCheckBy = '100', note = 'EP auto check', item = '3162', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213341862';
-
UPDATE ORDER_LINES SET routeNumber = '8884775', sapOrderNumber = '7462917', orderNumber = '5003896194', answerOrderNumber = NULL, partCode = '40832', partDescription = 'Nutrison Sterile Water 1000ml', patientName = 'Jennifer Ellis', firstName = 'Jennifer', middleName = NULL, lastName = 'Ellis', patientDateOfBirth = '1968-06-23', patientPostcode = 'GU7 3RR', patientPostcodePrefix = 'GU', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '28', scannedQty = '28', assignedQty = '0', checkedQty = '28', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-05-05', customer = 'Simon Church', sapCustomerId = '685145405', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200143390', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200000962', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Clare Sturgess', patientAlert = NULL, itemAlert = NULL, checkerId = '4057', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'vicki.brock@nutricia.connections', lastRegUpdateDate = '2017-12-14 14:02:14', sapPlannedShipDate = '2018-05-04', sapPlannedDeliveryDate = '2018-05-05', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS Coordinators', regLineCreatedUserName = 'jennifer.webb@nutricia.connections', regLineCreatedDate = '2016-07-21 11:43:03', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 07:22:03.19', UPDATED = NULL, rxCheckBy = '4065', note = 'James Kydd', item = '3354', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213367152';
-
UPDATE ORDER_LINES SET routeNumber = '8884777', sapOrderNumber = '7461837', orderNumber = '5003900578', answerOrderNumber = NULL, partCode = '79749', partDescription = 'Fortisip Compact Vanilla 125ml ', patientName = 'Jacqueline Haigh', firstName = 'Jacqueline', middleName = NULL, lastName = 'Haigh', patientDateOfBirth = '1949-01-01', patientPostcode = 'SO16 4LE', patientPostcodePrefix = 'SO', orderQty = '112', allocQty = '112', shipQty = NULL, adjustedQty = '112', scannedQty = '112', assignedQty = '0', checkedQty = '112', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-05-05', customer = 'Tracie Boulton', sapCustomerId = '685134468', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200070090', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200000962', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Apriyanti Pertiwi', patientAlert = NULL, itemAlert = NULL, checkerId = '4057', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User', lastRegUpdateUserName = 'lisa.cartlidge@nutricia.connections', lastRegUpdateDate = '2018-04-06 09:10:44', sapPlannedShipDate = '2018-05-04', sapPlannedDeliveryDate = '2018-05-05', requestedSAPQuantity = '112', orderQuantity = '112', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'nadine.hodgson@nutricia.connections', regLineCreatedDate = '2017-04-20 09:39:55', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 07:22:03.157', UPDATED = NULL, rxCheckBy = '4065', note = 'James Kydd', item = '3409', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213364052';
Date: 2018-04-30 16:29:57 Duration: 76ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:43:19 Duration: 51ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 17:07:51 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 19s84ms 1,922 0ms 36ms 9ms UPDATE order_lines SET routenumber = '', sapordernumber = '', ordernumber = '', answerordernumber = NULL, partcode = '', partdescription = '', patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', patientpostcodeprefix = '', orderqty = '', allocqty = '', shipqty = NULL, adjustedqty = NULL, scannedqty = NULL, assignedqty = NULL, checkedqty = NULL, backorderqty = NULL, cancelqty = NULL, reducedqty = NULL, STATUS = '', reason = NULL, deliverydate = '', customer = '', sapcustomerid = '', billtotype = '', barcodedate = NULL, barcodebatch = NULL, patientid = '', isadded = NULL, isnotwithinage = NULL, isunderage = '', agecheck = '', expired = NULL, paperwork = '', ispaperworkproblem = '', paperworkresolution = NULL, pickerid = NULL, specialcare = '', paperworkenquirystarted = NULL, paperworkenquiryfinished = NULL, paperworkenquiryresponse = NULL, isnewproduct = NULL, extraprocedure = NULL, overaverageqtymax = NULL, overaverageqtyresolution = NULL, createuser = '', patientalert = NULL, itemalert = NULL, checkerid = NULL, reductionsummary = NULL, ismetabolic = NULL, rxstatus = '', lastregupdateusertype = '', lastregupdateusername = '', lastregupdatedate = '', sapplannedshipdate = '', sapplanneddeliverydate = '', requestedsapquantity = '', orderquantity = '', reglinecreatedusertype = '', reglinecreatedusername = '', reglinecreateddate = '', audited = NULL, ismetabolicpatient = NULL, addedcase = NULL, ordertype = NULL, created = '', updated = NULL, rxcheckby = '', note = '', item = '', alertconfirmation = NULL, homewardaction = NULL WHERE order_line_id = '';Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 30 06 676 6s92ms 9ms 07 430 3s125ms 7ms 08 87 1s61ms 12ms 10 48 588ms 12ms 11 127 1s581ms 12ms 12 187 2s291ms 12ms 13 57 706ms 12ms 14 309 3s607ms 11ms 17 1 30ms 30ms [ User: pharmisight - Total duration: 19s84ms - Times executed: 1922 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 19s84ms - Times executed: 1922 ]
-
UPDATE ORDER_LINES SET routeNumber = '8884415', sapOrderNumber = '7463033', orderNumber = '5003897550', answerOrderNumber = NULL, partCode = '41243', partDescription = 'Calogen Neutral 500ml ', patientName = 'Terence Goddard', firstName = 'Terence', middleName = NULL, lastName = 'Goddard', patientDateOfBirth = '1942-04-10', patientPostcode = 'PE15 0TX', patientPostcodePrefix = 'PE', orderQty = '4', allocQty = '4', shipQty = NULL, adjustedQty = NULL, scannedQty = NULL, assignedQty = NULL, checkedQty = NULL, backOrderQty = NULL, cancelQty = NULL, reducedQty = NULL, STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-05-01', customer = 'Caroline Burden', sapCustomerId = '685065198', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '35689720', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = NULL, specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Brenda Melville', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS System Administrator', lastRegUpdateUserName = 'louise.reys@nutricia.connections', lastRegUpdateDate = '2017-09-03 09:56:15', sapPlannedShipDate = '2018-04-30', sapPlannedDeliveryDate = '2018-05-01', requestedSAPQuantity = '4', orderQuantity = '4', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'rachael.williams@nutricia.connections', regLineCreatedDate = '2017-05-04 15:10:27', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 05:59:20.42', UPDATED = NULL, rxCheckBy = '4062', note = 'Maria Giaquinto', item = '25', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213354232';
-
UPDATE ORDER_LINES SET routeNumber = '8884763', sapOrderNumber = '7462447', orderNumber = '5003901222', answerOrderNumber = NULL, partCode = '88543', partDescription = 'Two-Cal 1000ml', patientName = 'Phoebe Horrobin', firstName = 'Phoebe', middleName = NULL, lastName = 'Horrobin', patientDateOfBirth = '2007-07-17', patientPostcode = 'WA5 3RX', patientPostcodePrefix = 'WA', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = NULL, scannedQty = NULL, assignedQty = NULL, checkedQty = NULL, backOrderQty = NULL, cancelQty = NULL, reducedQty = NULL, STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-05-05', customer = 'Brenda Melville', sapCustomerId = '685138103', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200089430', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = NULL, specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Sarah Carter', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'natalie.mcclurg@nutricia.connections', lastRegUpdateDate = '2017-06-19 08:14:35', sapPlannedShipDate = '2018-05-04', sapPlannedDeliveryDate = '2018-05-05', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 17:08:26', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 07:22:03.085', UPDATED = NULL, rxCheckBy = '4065', note = 'James Kydd', item = '3070', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213362002';
-
UPDATE ORDER_LINES SET routeNumber = '8884330', sapOrderNumber = '7463330', orderNumber = '5003905243', answerOrderNumber = NULL, partCode = '71954', partDescription = 'Calogen Extra Shot Strawberry (6 x 40ml)', patientName = 'John Falconer', firstName = 'John', middleName = NULL, lastName = 'Falconer', patientDateOfBirth = '1952-04-26', patientPostcode = 'HU18 1NQ', patientPostcodePrefix = 'HU', orderQty = '14', allocQty = '14', shipQty = NULL, adjustedQty = NULL, scannedQty = NULL, assignedQty = NULL, checkedQty = NULL, backOrderQty = NULL, cancelQty = NULL, reducedQty = NULL, STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-05-01', customer = 'Gill Feltham', sapCustomerId = '685138952', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200197420', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = NULL, specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Jack Pady', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User Login', lastRegUpdateUserName = 'abigail.marwood@nutricia.connections', lastRegUpdateDate = '2018-04-20 09:21:07', sapPlannedShipDate = '2018-04-30', sapPlannedDeliveryDate = '2018-05-01', requestedSAPQuantity = '14', orderQuantity = '14', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'julie.schreiber@nutricia.connections', regLineCreatedDate = '2017-01-26 11:15:26', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 05:59:20.39', UPDATED = NULL, rxCheckBy = '4058', note = 'Mandy Jenkins', item = '29', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213353652';
Date: 2018-04-30 07:14:54 Duration: 36ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 11:21:13 Duration: 35ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 07:03:47 Duration: 30ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 18s179ms 3,690 0ms 44ms 4ms SELECT this_.order_id AS order_id1_20_0_, this_.sapordernumber AS saporder2_20_0_, this_.answerordernumber AS answeror3_20_0_, this_.ordernumber AS ordernum4_20_0_, this_.routenumber AS routenum5_20_0_, this_.billtotype AS billtoty6_20_0_, this_.patientname AS patientn7_20_0_, this_.firstname AS firstnam8_20_0_, this_.middlename AS middlena9_20_0_, this_.lastname AS lastnam10_20_0_, this_.patientdateofbirth AS patient11_20_0_, this_.patientpostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapcustomerid AS sapcust14_20_0_, this_.status AS status15_20_0_, this_.patientid AS patient16_20_0_, this_.isnotwithinage AS isnotwi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliverybarcode AS deliver20_20_0_, this_.deliverydate AS deliver21_20_0_, this_.rxstatus AS rxstatu22_20_0_, this_.createuser AS createu23_20_0_, this_.subordertype AS suborde24_20_0_, this_.sapcontractid AS sapcont25_20_0_, this_.salesforceordernumber AS salesfo26_20_0_, this_.patienttype AS patient27_20_0_, this_.ordertype AS orderty28_20_0_, this_.orderstatus AS orderst29_20_0_, this_.nhsnumber AS nhsnumb30_20_0_, this_.individuallabelling AS individ31_20_0_, this_.orderid AS orderid32_20_0_, this_.clusterlead AS cluster33_20_0_, this_.clustergroup AS cluster34_20_0_, this_.accountid AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionby AS reducti37_20_0_, this_.alertconfirmation AS alertco38_20_0_, this_.created AS created39_20_0_, this_.updated AS updated40_20_0_, this_.note AS note41_20_0_ FROM orders this_ WHERE this_.status = '' AND this_.deliverydate = '' ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 30 06 306 1s431ms 4ms 07 207 1s9ms 4ms 08 297 1s431ms 4ms 09 237 1s193ms 5ms 10 225 1s79ms 4ms 11 369 1s778ms 4ms 12 261 1s250ms 4ms 13 714 3s622ms 5ms 14 1,005 5s 4ms 15 63 311ms 4ms 16 6 70ms 11ms [ User: pharmisight - Total duration: 18s179ms - Times executed: 3690 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s179ms - Times executed: 3690 ]
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-05-01' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-04-30' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-04-30' ORDER BY this_.deliveryDate ASC;
Date: 2018-04-30 13:50:48 Duration: 44ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 14:19:26 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 09:09:31 Duration: 32ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 17s114ms 955,240 0ms 5ms 0ms SHOW TRANSACTION ISOLATION LEVEL;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 30 00 37,678 687ms 0ms 01 36,268 641ms 0ms 02 36,220 664ms 0ms 03 36,216 668ms 0ms 04 36,282 672ms 0ms 05 36,411 668ms 0ms 06 46,872 772ms 0ms 07 47,842 784ms 0ms 08 45,609 814ms 0ms 09 42,764 751ms 0ms 10 44,176 769ms 0ms 11 46,086 802ms 0ms 12 43,963 770ms 0ms 13 44,643 812ms 0ms 14 43,686 758ms 0ms 15 35,792 644ms 0ms 16 39,567 710ms 0ms 17 38,364 693ms 0ms 18 36,319 675ms 0ms 19 36,343 677ms 0ms 20 35,524 657ms 0ms 21 36,187 666ms 0ms 22 36,230 673ms 0ms 23 36,198 674ms 0ms [ User: symmetricds - Total duration: 17s89ms - Times executed: 954571 ]
[ User: pharmisight - Total duration: 25ms - Times executed: 669 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s114ms - Times executed: 955235 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 5 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2018-04-30 23:26:18 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 13:16:07 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 09:38:32 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 15s755ms 3,535 2ms 39ms 4ms INSERT INTO order_lines (routenumber, sapordernumber, ordernumber, answerordernumber, partcode, partdescription, patientname, firstname, middlename, lastname, patientdateofbirth, patientpostcode, patientpostcodeprefix, orderqty, allocqty, shipqty, adjustedqty, scannedqty, assignedqty, checkedqty, backorderqty, cancelqty, reducedqty, STATUS, reason, deliverydate, customer, sapcustomerid, billtotype, barcodedate, barcodebatch, patientid, isadded, isnotwithinage, isunderage, agecheck, expired, paperwork, ispaperworkproblem, paperworkresolution, pickerid, specialcare, paperworkenquirystarted, paperworkenquiryfinished, paperworkenquiryresponse, isnewproduct, extraprocedure, overaverageqtymax, overaverageqtyresolution, createuser, patientalert, itemalert, checkerid, reductionsummary, ismetabolic, rxstatus, lastregupdateusertype, lastregupdateusername, lastregupdatedate, sapplannedshipdate, sapplanneddeliverydate, requestedsapquantity, orderquantity, reglinecreatedusertype, reglinecreatedusername, reglinecreateddate, audited, ismetabolicpatient, addedcase, ordertype, created, updated, rxcheckby, note, item, alertconfirmation, homewardaction, order_line_id) VALUES ('', '', '', NULL, '', '', '', '', NULL, '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, '', '', '', '', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, '', NULL, NULL, '');Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 30 05 688 3s833ms 5ms 06 1,250 4s793ms 3ms 07 1,583 6s888ms 4ms 12 5 48ms 9ms 15 6 84ms 14ms 17 3 106ms 35ms [ User: pharmisight - Total duration: 15s755ms - Times executed: 3535 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s755ms - Times executed: 3535 ]
-
INSERT INTO ORDER_LINES (routeNumber, sapOrderNumber, orderNumber, answerOrderNumber, partCode, partDescription, patientName, firstName, middleName, lastName, patientDateOfBirth, patientPostcode, patientPostcodePrefix, orderQty, allocQty, shipQty, adjustedQty, scannedQty, assignedQty, checkedQty, backOrderQty, cancelQty, reducedQty, STATUS, reason, deliveryDate, customer, sapCustomerId, billToType, barcodeDate, barcodeBatch, patientId, isAdded, isNotWithinAge, isUnderAge, ageCheck, expired, paperwork, isPaperworkProblem, paperworkResolution, pickerId, specialCare, paperworkEnquiryStarted, paperworkEnquiryFinished, paperworkEnquiryResponse, isNewProduct, extraProcedure, overAverageQtyMax, overAverageQtyResolution, createUser, patientAlert, itemAlert, checkerId, reductionSummary, isMetabolic, rxStatus, lastRegUpdateUserType, lastRegUpdateUserName, lastRegUpdateDate, sapPlannedShipDate, sapPlannedDeliveryDate, requestedSAPQuantity, orderQuantity, regLineCreatedUserType, regLineCreatedUserName, regLineCreatedDate, audited, isMetabolicPatient, addedCase, orderType, CREATED, UPDATED, rxCheckBy, note, item, alertConfirmation, homewardAction, ORDER_LINE_ID) VALUES ('8886772', '7472042', '5003912428', NULL, '74827', 'Infatrini Bottle 200ml', 'Adam Saunders', 'Adam', NULL, 'Saunders', '2017-05-22', 'GL52 8JQ', 'GL', '20', '20', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-05-01', 'Jennifer Edmonds', '685172025', 'Hospital_vod', NULL, NULL, '200379942', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Rachel Smart', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'rachel.smart@nutricia.connections', '2018-04-30 12:44:42', '2018-05-01', '2018-05-01', '20', '20', 'PMS HCP User Login', 'claire.harriss@nutricia.connections', '2017-10-17 12:47:11', NULL, NULL, NULL, NULL, '2018-04-30 17:33:04.358', NULL, NULL, NULL, '32965111', NULL, NULL, '213376992');
-
INSERT INTO ORDER_LINES (routeNumber, sapOrderNumber, orderNumber, answerOrderNumber, partCode, partDescription, patientName, firstName, middleName, lastName, patientDateOfBirth, patientPostcode, patientPostcodePrefix, orderQty, allocQty, shipQty, adjustedQty, scannedQty, assignedQty, checkedQty, backOrderQty, cancelQty, reducedQty, STATUS, reason, deliveryDate, customer, sapCustomerId, billToType, barcodeDate, barcodeBatch, patientId, isAdded, isNotWithinAge, isUnderAge, ageCheck, expired, paperwork, isPaperworkProblem, paperworkResolution, pickerId, specialCare, paperworkEnquiryStarted, paperworkEnquiryFinished, paperworkEnquiryResponse, isNewProduct, extraProcedure, overAverageQtyMax, overAverageQtyResolution, createUser, patientAlert, itemAlert, checkerId, reductionSummary, isMetabolic, rxStatus, lastRegUpdateUserType, lastRegUpdateUserName, lastRegUpdateDate, sapPlannedShipDate, sapPlannedDeliveryDate, requestedSAPQuantity, orderQuantity, regLineCreatedUserType, regLineCreatedUserName, regLineCreatedDate, audited, isMetabolicPatient, addedCase, orderType, CREATED, UPDATED, rxCheckBy, note, item, alertConfirmation, homewardAction, ORDER_LINE_ID) VALUES ('8886915', '7472259', '5003914414', NULL, '64191', 'Fresubin 2kcal Fibre Lemon 200ml ', 'George Pearson', 'George', NULL, 'Pearson', '1948-01-14', 'JE3 8JS', 'JE', '14', '14', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-05-01', 'Matthew Clement', '685182262', 'Pharmacy (CURO)', NULL, NULL, '200393252', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Sarah Carter', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'laura.doughty@nutricia.connections', '2018-03-09 09:19:21', '2018-04-30', '2018-05-01', '14', '14', 'PMS HCP User', 'simona.worrall@nutricia.connections', '2018-02-21 10:40:26', NULL, NULL, NULL, NULL, '2018-04-30 17:33:51.703', NULL, NULL, NULL, '2921', NULL, NULL, '213377002');
-
INSERT INTO ORDER_LINES (routeNumber, sapOrderNumber, orderNumber, answerOrderNumber, partCode, partDescription, patientName, firstName, middleName, lastName, patientDateOfBirth, patientPostcode, patientPostcodePrefix, orderQty, allocQty, shipQty, adjustedQty, scannedQty, assignedQty, checkedQty, backOrderQty, cancelQty, reducedQty, STATUS, reason, deliveryDate, customer, sapCustomerId, billToType, barcodeDate, barcodeBatch, patientId, isAdded, isNotWithinAge, isUnderAge, ageCheck, expired, paperwork, isPaperworkProblem, paperworkResolution, pickerId, specialCare, paperworkEnquiryStarted, paperworkEnquiryFinished, paperworkEnquiryResponse, isNewProduct, extraProcedure, overAverageQtyMax, overAverageQtyResolution, createUser, patientAlert, itemAlert, checkerId, reductionSummary, isMetabolic, rxStatus, lastRegUpdateUserType, lastRegUpdateUserName, lastRegUpdateDate, sapPlannedShipDate, sapPlannedDeliveryDate, requestedSAPQuantity, orderQuantity, regLineCreatedUserType, regLineCreatedUserName, regLineCreatedDate, audited, isMetabolicPatient, addedCase, orderType, CREATED, UPDATED, rxCheckBy, note, item, alertConfirmation, homewardAction, ORDER_LINE_ID) VALUES ('8886466', '7467102', '5003909776', NULL, '64433', 'Juvela LP Sliced Loaf 400g', 'Shafia Bham', 'Shafia', NULL, 'Bham', '1984-10-21', 'N16 6PS', 'N', '12', '12', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-05-01', 'Sophie Price', '685056488', 'Pharmacy (CURO)', NULL, NULL, '14622', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Richard Barkwill', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinators', 'heidi.griffiths@nutricia.connections', '2017-03-20 16:46:44', '2018-05-01', '2018-05-01', '12', '12', 'CURO PMS Data Migration', 'data.migration@nutricia.com', '2016-05-10 18:07:53', NULL, NULL, NULL, NULL, '2018-04-30 15:51:20.429', NULL, NULL, NULL, '3127', NULL, NULL, '213376972');
Date: 2018-04-30 17:33:04 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 17:33:51 Duration: 36ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:51:21 Duration: 33ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 15s380ms 410 20ms 75ms 37ms SELECT this_.order_round_id AS order_ro1_26_1_, this_.routenumber AS routenum2_26_1_, this_.uploadedbyuserid AS uploaded3_26_1_, this_.uploadedbyusername AS uploaded4_26_1_, this_.updatedby AS updatedb5_26_1_, this_.updatedbyusername AS updatedb6_26_1_, this_.orderroundnote AS orderrou7_26_1_, this_.firstcheckout AS firstche8_26_1_, this_.allordersscannedok AS allorder9_26_1_, this_.status AS status10_26_1_, this_.reopenedtimes AS reopene11_26_1_, this_.lastreopenbyid AS lastreo12_26_1_, this_.lastdonecheckin AS lastdon13_26_1_, this_.lastdonebyid AS lastdon14_26_1_, this_.lastdonebyusername AS lastdon15_26_1_, this_.missinglabels AS missing16_26_1_, this_.rounddeliverydate AS roundde17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadupdated AS uploadu21_26_1_, this_.patientalert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxstatus AS rxstatu24_26_1_, this_.distributionpoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedby AS audited27_26_1_, this_.auditstatus AS auditst28_26_1_, this_.uploadfinished AS uploadf29_26_1_, this_.lastrxcompleted AS lastrxc30_26_1_, this_.lastrxcompletedby AS lastrxc31_26_1_, this_.orderroundnotereadby AS orderro32_26_1_, this_.routeorderlinesqty AS routeor33_26_1_, this_.dlxpickedlinesqty AS dlxpick34_26_1_, this_.flowreport AS flowrep35_26_1_, this_.created AS created36_26_1_, this_.createdby AS created37_26_1_, this_.updated AS updated38_26_1_, this_.note AS note39_26_1_, f1_.flow_report_id AS flow_rep1_7_0_, f1_.routenumber AS routenum2_7_0_, f1_.rounddeliverydate AS rounddel3_7_0_, f1_.distributionpoint AS distribu4_7_0_, f1_.fullypicked AS fullypic5_7_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, f1_.causeofdelay AS causeofd7_7_0_, f1_.pharmacy100checktime AS pharmacy8_7_0_, f1_.linesheldback AS lineshel9_7_0_, f1_.packtime100 AS packtim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickdatetime AS pickdat13_7_0_, f1_.failedtargetpicktime AS failedt14_7_0_, f1_.actualpaperworkcompletetime AS actualp15_7_0_, f1_.changedpickdatetime AS changed16_7_0_, f1_.created AS created17_7_0_, f1_.updated AS updated18_7_0_, f1_.note AS note19_7_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> '' AND this_.created > '' AND this_.created < '' ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 30 06 177 5s911ms 33ms 09 16 690ms 43ms 10 54 2s264ms 41ms 11 42 1s722ms 41ms 12 31 1s194ms 38ms 13 42 1s624ms 38ms 14 25 1s23ms 40ms 15 6 249ms 41ms 16 9 358ms 39ms 17 8 341ms 42ms [ User: pharmisight - Total duration: 15s380ms - Times executed: 410 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s380ms - Times executed: 410 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.CREATED AS CREATED17_7_0_, f1_.UPDATED AS UPDATED18_7_0_, f1_.note AS note19_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-04-30 00:00:00' AND this_.CREATED < '2018-04-30 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.CREATED AS CREATED17_7_0_, f1_.UPDATED AS UPDATED18_7_0_, f1_.note AS note19_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-04-30 00:00:00' AND this_.CREATED < '2018-04-30 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.CREATED AS CREATED17_7_0_, f1_.UPDATED AS UPDATED18_7_0_, f1_.note AS note19_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-04-30 00:00:00' AND this_.CREATED < '2018-04-30 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-04-30 06:07:12 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 10:18:23 Duration: 70ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 06:12:54 Duration: 69ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 14s450ms 247 28ms 104ms 58ms SELECT epscheckli0_.eps_check_id AS eps_chec9_5_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_1_, epscheckli0_.orderlineid AS orderlin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.issnomedmismatch AS issnomed6_6_1_, epscheckli0_.isorderqtymismatch AS isorderq7_6_1_, epscheckli0_.ishit AS ishit8_6_1_ FROM eps_check_lines epscheckli0_ WHERE epscheckli0_.eps_check_id = '' ORDER BY epscheckli0_.description ASC;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 30 06 56 3s142ms 56ms 07 51 2s992ms 58ms 08 42 2s428ms 57ms 09 11 683ms 62ms 10 19 1s149ms 60ms 11 11 687ms 62ms 12 26 1s514ms 58ms 14 31 1s853ms 59ms [ User: pharmisight - Total duration: 14s450ms - Times executed: 247 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s450ms - Times executed: 247 ]
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = '200643922' ORDER BY epscheckli0_.description ASC;
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = '200641362' ORDER BY epscheckli0_.description ASC;
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = '200644232' ORDER BY epscheckli0_.description ASC;
Date: 2018-04-30 14:12:04 Duration: 104ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 08:34:14 Duration: 104ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 12:25:26 Duration: 98ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 14s445ms 4,563 0ms 63ms 3ms UPDATE orders SET sapordernumber = '', answerordernumber = NULL, ordernumber = '', routenumber = '', billtotype = NULL, patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', customer = NULL, sapcustomerid = '', STATUS = '', patientid = '', isnotwithinage = NULL, expired = NULL, paperwork = NULL, deliverybarcode = NULL, deliverydate = '', rxstatus = '', createuser = '', subordertype = '', sapcontractid = '', salesforceordernumber = '', patienttype = '', ordertype = '', orderstatus = '', nhsnumber = '', individuallabelling = '', orderid = '', clusterlead = '', clustergroup = '', accountid = '', reduction = NULL, reductionby = NULL, alertconfirmation = NULL, created = '', updated = NULL, note = NULL WHERE order_id = '';Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 30 05 72 30ms 0ms 06 1,545 3s9ms 1ms 07 1,294 2s443ms 1ms 08 231 1s158ms 5ms 09 121 627ms 5ms 10 206 984ms 4ms 11 306 1s494ms 4ms 12 269 1s254ms 4ms 13 201 1s46ms 5ms 14 252 1s124ms 4ms 15 10 60ms 6ms 16 36 835ms 23ms 17 20 377ms 18ms [ User: pharmisight - Total duration: 14s445ms - Times executed: 4563 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s445ms - Times executed: 4563 ]
-
UPDATE ORDERS SET sapOrderNumber = '7461485', answerOrderNumber = NULL, orderNumber = '5003900300', routeNumber = '8884775', billToType = NULL, patientName = 'Alexander Marsh', firstName = 'Alexander', middleName = NULL, lastName = 'Marsh', patientDateOfBirth = '2013-07-16', patientPostcode = 'KT11 2RA', customer = NULL, sapCustomerId = '685114319', STATUS = 'Checked', patientId = '116150180', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-05-05', rxStatus = '1', createUser = 'Clare Sturgess', subOrderType = 'Standard', sapContractId = '650134760', salesforceOrderNumber = '10923013', patientType = 'NHMS', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '7122473716', individualLabelling = 'f', orderId = 'a4r1p000005rkdjAAA', clusterLead = 'Sophie Price', clusterGroup = 'NHMS GREAT ORMOND STREET HOSPITAL', accountId = '822279', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-04-30 07:22:03.056', UPDATED = NULL, note = NULL WHERE ORDER_ID = '207610852';
-
UPDATE ORDERS SET sapOrderNumber = '7472050', answerOrderNumber = NULL, orderNumber = '5003912429', routeNumber = '8886755', billToType = NULL, patientName = 'Louise Harris', firstName = 'Louise', middleName = NULL, lastName = 'Harris', patientDateOfBirth = '2005-07-25', patientPostcode = 'B62 8TJ', customer = NULL, sapCustomerId = '685073792', STATUS = 'Checked', patientId = '673401', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-04-30', rxStatus = '1', createUser = 'Richard Barkwill', subOrderType = 'Other', sapContractId = '650134745', salesforceOrderNumber = '10962048', patientType = 'NHMS', orderType = 'Ad Hoc', orderStatus = 'Confirmed', NHSnumber = '6510668564', individualLabelling = 'f', orderId = 'a4r1p000005sYnyAAE', clusterLead = 'Sophie Price', clusterGroup = 'NHMS BIRMINGHAM CHILDRENS HOSPITAL', accountId = '64812', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-04-30 15:38:53.309', UPDATED = NULL, note = NULL WHERE ORDER_ID = '207616202';
-
UPDATE ORDERS SET sapOrderNumber = '7461808', answerOrderNumber = NULL, orderNumber = '5003900549', routeNumber = '8884775', billToType = NULL, patientName = 'Ted Wilson', firstName = 'Ted', middleName = NULL, lastName = 'Wilson', patientDateOfBirth = '2011-04-25', patientPostcode = 'RH14 9TD', customer = NULL, sapCustomerId = '685156525', STATUS = 'Checked', patientId = '200200090', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-05-05', rxStatus = '1', createUser = 'Simon Church', subOrderType = 'Standard', sapContractId = '650105946', salesforceOrderNumber = '10926442', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '7094784724', individualLabelling = 'f', orderId = 'a4r1p000005rp24AAA', clusterLead = 'Simon Church', clusterGroup = 'CHICHESTER', accountId = '35795', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-04-30 07:22:03.136', UPDATED = NULL, note = NULL WHERE ORDER_ID = '207610892';
Date: 2018-04-30 16:34:25 Duration: 63ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:04:57 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:45:11 Duration: 35ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 11s733ms 100,716 0ms 14ms 0ms SELECT orderlines0_.order_id AS order_i79_20_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 30 05 94 6ms 0ms 06 6,788 732ms 0ms 07 16,763 1s862ms 0ms 08 19,962 2s355ms 0ms 09 6,907 814ms 0ms 10 9,184 1s62ms 0ms 11 13,747 1s582ms 0ms 12 6,259 734ms 0ms 13 11,898 1s393ms 0ms 14 4,334 552ms 0ms 15 333 51ms 0ms 16 2,917 390ms 0ms 17 1,530 195ms 0ms [ User: pharmisight - Total duration: 11s733ms - Times executed: 100716 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s733ms - Times executed: 100716 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207595802' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207613342' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207603112' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-04-30 15:43:47 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 17:16:49 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:06:07 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 11s655ms 508 12ms 107ms 22ms SELECT this_.flow_report_id AS flow_rep1_7_0_, this_.routenumber AS routenum2_7_0_, this_.rounddeliverydate AS rounddel3_7_0_, this_.distributionpoint AS distribu4_7_0_, this_.fullypicked AS fullypic5_7_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, this_.causeofdelay AS causeofd7_7_0_, this_.pharmacy100checktime AS pharmacy8_7_0_, this_.linesheldback AS lineshel9_7_0_, this_.packtime100 AS packtim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickdatetime AS pickdat13_7_0_, this_.failedtargetpicktime AS failedt14_7_0_, this_.actualpaperworkcompletetime AS actualp15_7_0_, this_.changedpickdatetime AS changed16_7_0_, this_.created AS created17_7_0_, this_.updated AS updated18_7_0_, this_.note AS note19_7_0_ FROM flow_reports this_ WHERE this_.created > '' AND this_.created < '' ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 30 06 248 5s234ms 21ms 09 16 442ms 27ms 10 54 1s341ms 24ms 11 40 951ms 23ms 12 32 744ms 23ms 13 41 948ms 23ms 14 47 1s145ms 24ms 15 10 349ms 34ms 16 11 274ms 24ms 17 9 223ms 24ms [ User: pharmisight - Total duration: 11s655ms - Times executed: 508 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s655ms - Times executed: 508 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.CREATED AS CREATED17_7_0_, this_.UPDATED AS UPDATED18_7_0_, this_.note AS note19_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-04-30 00:00:00' AND this_.CREATED < '2018-04-30 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.CREATED AS CREATED17_7_0_, this_.UPDATED AS UPDATED18_7_0_, this_.note AS note19_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-04-30 00:00:00' AND this_.CREATED < '2018-04-30 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.CREATED AS CREATED17_7_0_, this_.UPDATED AS UPDATED18_7_0_, this_.note AS note19_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-04-30 00:00:00' AND this_.CREATED < '2018-04-30 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-04-30 15:52:55 Duration: 107ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 10:43:50 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 06:12:24 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 11s520ms 14,018 0ms 8ms 0ms UPDATE order_line_activities SET order_line_id = '' WHERE order_line_activity_id = '';Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 30 06 926 815ms 0ms 07 1,337 1s105ms 0ms 08 2,036 1s667ms 0ms 09 1,419 1s145ms 0ms 10 1,850 1s432ms 0ms 11 2,304 1s847ms 0ms 12 1,214 987ms 0ms 13 1,908 1s531ms 0ms 14 485 413ms 0ms 15 15 16ms 1ms 16 338 365ms 1ms 17 186 191ms 1ms [ User: pharmisight - Total duration: 11s520ms - Times executed: 14018 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s520ms - Times executed: 14018 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '213341862' WHERE ORDER_LINE_ACTIVITY_ID = '277290352';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '213352512' WHERE ORDER_LINE_ACTIVITY_ID = '277251042';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '213356582' WHERE ORDER_LINE_ACTIVITY_ID = '277254082';
Date: 2018-04-30 16:10:28 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 11:51:39 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 12:33:38 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 10s549ms 826 1ms 62ms 12ms UPDATE order_lines SET routenumber = '', sapordernumber = '', ordernumber = '', answerordernumber = NULL, partcode = '', partdescription = '', patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', patientpostcodeprefix = '', orderqty = '', allocqty = '', shipqty = NULL, adjustedqty = '', scannedqty = '', assignedqty = '', checkedqty = '', backorderqty = '', cancelqty = '', reducedqty = '', STATUS = '', reason = NULL, deliverydate = '', customer = '', sapcustomerid = '', billtotype = '', barcodedate = NULL, barcodebatch = NULL, patientid = '', isadded = NULL, isnotwithinage = NULL, isunderage = '', agecheck = '', expired = NULL, paperwork = NULL, ispaperworkproblem = NULL, paperworkresolution = NULL, pickerid = '', specialcare = '', paperworkenquirystarted = NULL, paperworkenquiryfinished = NULL, paperworkenquiryresponse = NULL, isnewproduct = NULL, extraprocedure = NULL, overaverageqtymax = NULL, overaverageqtyresolution = NULL, createuser = '', patientalert = NULL, itemalert = NULL, checkerid = '', reductionsummary = NULL, ismetabolic = NULL, rxstatus = '', lastregupdateusertype = '', lastregupdateusername = '', lastregupdatedate = '', sapplannedshipdate = '', sapplanneddeliverydate = '', requestedsapquantity = '', orderquantity = '', reglinecreatedusertype = '', reglinecreatedusername = '', reglinecreateddate = '', audited = NULL, ismetabolicpatient = NULL, addedcase = NULL, ordertype = NULL, created = '', updated = NULL, rxcheckby = NULL, note = NULL, item = '', alertconfirmation = NULL, homewardaction = NULL WHERE order_line_id = '';Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 30 06 19 215ms 11ms 07 33 355ms 10ms 08 100 1s196ms 11ms 09 126 1s534ms 12ms 10 181 2s200ms 12ms 11 85 1s58ms 12ms 12 72 883ms 12ms 13 183 2s389ms 13ms 14 6 112ms 18ms 16 12 388ms 32ms 17 9 217ms 24ms [ User: pharmisight - Total duration: 10s549ms - Times executed: 826 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s549ms - Times executed: 826 ]
-
UPDATE ORDER_LINES SET routeNumber = '8884777', sapOrderNumber = '7462472', orderNumber = '5003901247', answerOrderNumber = NULL, partCode = '77093', partDescription = 'Fortisip Compact Fibre Starter Pack (4 x 125ml)', patientName = 'Alexander Webster', firstName = 'Alexander', middleName = NULL, lastName = 'Webster', patientDateOfBirth = '1935-09-28', patientPostcode = 'GU15 3EP', patientPostcodePrefix = 'GU', orderQty = '14', allocQty = '14', shipQty = NULL, adjustedQty = '12', scannedQty = '12', assignedQty = '0', checkedQty = '12', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-05-05', customer = 'Simon Church', sapCustomerId = '685160073', billToType = 'GP Surgery', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200215360', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = NULL, isPaperworkProblem = NULL, paperworkResolution = NULL, pickerId = '200000962', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Simon Church', patientAlert = NULL, itemAlert = NULL, checkerId = '4057', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '4', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'laura.doughty@nutricia.connections', lastRegUpdateDate = '2018-03-26 16:50:20', sapPlannedShipDate = '2018-05-04', sapPlannedDeliveryDate = '2018-05-05', requestedSAPQuantity = '14', orderQuantity = '14', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'rebekah.palmer@nutricia.connections', regLineCreatedDate = '2017-10-05 15:09:02', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 07:22:03.183', UPDATED = NULL, rxCheckBy = NULL, note = NULL, item = '32964832', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213363972';
-
UPDATE ORDER_LINES SET routeNumber = '8884438', sapOrderNumber = '7463893', orderNumber = '5003890857', answerOrderNumber = NULL, partCode = '50135', partDescription = 'Fortisip Compact Fibre Vanilla125ml ', patientName = 'William McCrossan', firstName = 'William', middleName = NULL, lastName = 'McCrossan', patientDateOfBirth = '1933-06-18', patientPostcode = 'BS4 2QN', patientPostcodePrefix = 'BS', orderQty = '84', allocQty = '84', shipQty = NULL, adjustedQty = '84', scannedQty = '84', assignedQty = '0', checkedQty = '84', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-05-01', customer = 'Jennifer Edmonds', sapCustomerId = '685180323', billToType = 'Organization_vod', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200381732', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = NULL, isPaperworkProblem = NULL, paperworkResolution = NULL, pickerId = '200000050', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Jennifer Edmonds', patientAlert = NULL, itemAlert = NULL, checkerId = '4057', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '4', lastRegUpdateUserType = 'PMS HCP User', lastRegUpdateUserName = 'marguerite.barrett@nutricia.connections', lastRegUpdateDate = '2018-03-22 13:27:14', sapPlannedShipDate = '2018-04-30', sapPlannedDeliveryDate = '2018-05-01', requestedSAPQuantity = '84', orderQuantity = '84', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'marguerite.barrett@nutricia.connections', regLineCreatedDate = '2018-01-18 14:33:59', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 05:59:20.35', UPDATED = NULL, rxCheckBy = NULL, note = NULL, item = '3364', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213351152';
-
UPDATE ORDER_LINES SET routeNumber = '8884777', sapOrderNumber = '7462472', orderNumber = '5003901247', answerOrderNumber = NULL, partCode = '100444', partDescription = 'Fortisip 2kcal Vanilla 200ml ', patientName = 'Alexander Webster', firstName = 'Alexander', middleName = NULL, lastName = 'Webster', patientDateOfBirth = '1935-09-28', patientPostcode = 'GU15 3EP', patientPostcodePrefix = 'GU', orderQty = '56', allocQty = '56', shipQty = NULL, adjustedQty = '56', scannedQty = '56', assignedQty = '0', checkedQty = '56', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-05-05', customer = 'Simon Church', sapCustomerId = '685160073', billToType = 'GP Surgery', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200215360', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = NULL, isPaperworkProblem = NULL, paperworkResolution = NULL, pickerId = '200000962', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Simon Church', patientAlert = NULL, itemAlert = NULL, checkerId = '4057', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '4', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'laura.doughty@nutricia.connections', lastRegUpdateDate = '2018-03-26 16:50:20', sapPlannedShipDate = '2018-05-04', sapPlannedDeliveryDate = '2018-05-05', requestedSAPQuantity = '56', orderQuantity = '56', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'simone.kent@nutricia.connections', regLineCreatedDate = '2017-01-27 12:35:18', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 07:22:03.183', UPDATED = NULL, rxCheckBy = NULL, note = NULL, item = '33074082', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213364012';
Date: 2018-04-30 16:50:40 Duration: 62ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:19:19 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:51:02 Duration: 42ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 955,240 17s114ms 0ms 5ms 0ms SHOW TRANSACTION ISOLATION LEVEL;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 30 00 37,678 687ms 0ms 01 36,268 641ms 0ms 02 36,220 664ms 0ms 03 36,216 668ms 0ms 04 36,282 672ms 0ms 05 36,411 668ms 0ms 06 46,872 772ms 0ms 07 47,842 784ms 0ms 08 45,609 814ms 0ms 09 42,764 751ms 0ms 10 44,176 769ms 0ms 11 46,086 802ms 0ms 12 43,963 770ms 0ms 13 44,643 812ms 0ms 14 43,686 758ms 0ms 15 35,792 644ms 0ms 16 39,567 710ms 0ms 17 38,364 693ms 0ms 18 36,319 675ms 0ms 19 36,343 677ms 0ms 20 35,524 657ms 0ms 21 36,187 666ms 0ms 22 36,230 673ms 0ms 23 36,198 674ms 0ms [ User: symmetricds - Total duration: 17s89ms - Times executed: 954571 ]
[ User: pharmisight - Total duration: 25ms - Times executed: 669 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s114ms - Times executed: 955235 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 5 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2018-04-30 23:26:18 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 13:16:07 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 09:38:32 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 456,553 5s456ms 0ms 7ms 0ms SELECT 0;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 30 00 17,282 209ms 0ms 01 16,061 189ms 0ms 02 16,021 194ms 0ms 03 16,034 194ms 0ms 04 16,061 194ms 0ms 05 16,146 193ms 0ms 06 24,542 263ms 0ms 07 25,761 278ms 0ms 08 23,688 276ms 0ms 09 21,613 253ms 0ms 10 22,776 264ms 0ms 11 23,974 275ms 0ms 12 22,055 254ms 0ms 13 22,985 273ms 0ms 14 22,073 254ms 0ms 15 16,480 198ms 0ms 16 18,886 237ms 0ms 17 17,936 231ms 0ms 18 16,094 208ms 0ms 19 16,132 204ms 0ms 20 15,804 201ms 0ms 21 16,032 199ms 0ms 22 16,066 204ms 0ms 23 16,051 200ms 0ms [ User: symmetricds - Total duration: 5s456ms - Times executed: 456553 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s456ms - Times executed: 456553 ]
-
SELECT 1;
-
SELECT 1;
-
SELECT 1;
Date: 2018-04-30 17:52:40 Duration: 7ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 18:30:11 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 00:14:18 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 396,650 2s607ms 0ms 0ms 0ms BEGIN;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 30 00 13,112 85ms 0ms 01 12,237 79ms 0ms 02 12,205 79ms 0ms 03 12,220 79ms 0ms 04 12,243 80ms 0ms 05 12,320 79ms 0ms 06 24,533 159ms 0ms 07 24,111 155ms 0ms 08 24,283 168ms 0ms 09 20,738 139ms 0ms 10 22,466 153ms 0ms 11 24,134 162ms 0ms 12 21,257 143ms 0ms 13 22,888 157ms 0ms 14 21,883 148ms 0ms 15 13,023 84ms 0ms 16 15,452 97ms 0ms 17 14,438 91ms 0ms 18 12,250 78ms 0ms 19 12,270 78ms 0ms 20 11,984 76ms 0ms 21 12,191 74ms 0ms 22 12,212 75ms 0ms 23 12,200 78ms 0ms [ User: symmetricds - Total duration: 2s241ms - Times executed: 356033 ]
[ User: pharmisight - Total duration: 366ms - Times executed: 40617 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s606ms - Times executed: 396601 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 49 ]
-
BEGIN;
-
BEGIN;
-
BEGIN;
Date: 2018-04-30 05:09:25 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 11:56:35 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 00:09:18 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 396,637 33s211ms 0ms 60ms 0ms COMMIT;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 30 00 13,112 562ms 0ms 01 12,236 317ms 0ms 02 12,204 319ms 0ms 03 12,222 375ms 0ms 04 12,243 343ms 0ms 05 12,319 361ms 0ms 06 24,531 3s301ms 0ms 07 24,111 3s252ms 0ms 08 24,278 3s235ms 0ms 09 20,739 2s306ms 0ms 10 22,466 2s729ms 0ms 11 24,132 3s466ms 0ms 12 21,260 2s524ms 0ms 13 22,886 2s723ms 0ms 14 21,885 2s413ms 0ms 15 13,022 627ms 0ms 16 15,449 1s406ms 0ms 17 14,437 923ms 0ms 18 12,248 322ms 0ms 19 12,269 369ms 0ms 20 11,984 325ms 0ms 21 12,192 339ms 0ms 22 12,212 328ms 0ms 23 12,200 337ms 0ms [ User: symmetricds - Total duration: 25s73ms - Times executed: 356033 ]
[ User: pharmisight - Total duration: 8s137ms - Times executed: 40604 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 33s186ms - Times executed: 396603 ]
[ Application: [unknown] - Total duration: 24ms - Times executed: 34 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-04-30 16:00:00 Duration: 60ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 04:20:01 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 12:49:37 Duration: 27ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 180,789 9s970ms 0ms 22ms 0ms INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('', '', '', current_timestamp);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 30 00 360 26ms 0ms 01 494 30ms 0ms 02 210 12ms 0ms 03 598 39ms 0ms 04 546 32ms 0ms 05 2,340 144ms 0ms 06 52,502 2s292ms 0ms 07 46,034 2s302ms 0ms 08 12,502 816ms 0ms 09 8,196 542ms 0ms 10 10,752 685ms 0ms 11 13,436 866ms 0ms 12 9,234 573ms 0ms 13 10,710 701ms 0ms 14 5,740 381ms 0ms 15 525 86ms 0ms 16 2,036 152ms 0ms 17 1,284 90ms 0ms 18 58 5ms 0ms 19 300 24ms 0ms 20 416 19ms 0ms 21 410 17ms 0ms 22 992 60ms 0ms 23 1,114 67ms 0ms [ User: symmetricds - Total duration: 9s970ms - Times executed: 180789 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s970ms - Times executed: 180789 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('82542238', '7462867', 'sym_nd_hst_rddtch_2_wrndn', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('82542234', '7462862', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('82483837', '7458515', 'redditch_cloud', current_timestamp);
Date: 2018-04-30 15:54:45 Duration: 22ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:51:43 Duration: 17ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 07:00:03 Duration: 12ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 100,716 11s733ms 0ms 14ms 0ms SELECT orderlines0_.order_id AS order_i79_20_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 30 05 94 6ms 0ms 06 6,788 732ms 0ms 07 16,763 1s862ms 0ms 08 19,962 2s355ms 0ms 09 6,907 814ms 0ms 10 9,184 1s62ms 0ms 11 13,747 1s582ms 0ms 12 6,259 734ms 0ms 13 11,898 1s393ms 0ms 14 4,334 552ms 0ms 15 333 51ms 0ms 16 2,917 390ms 0ms 17 1,530 195ms 0ms [ User: pharmisight - Total duration: 11s733ms - Times executed: 100716 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s733ms - Times executed: 100716 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207595802' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207613342' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207603112' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-04-30 15:43:47 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 17:16:49 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:06:07 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 89,669 4s317ms 0ms 10ms 0ms SELECT this_.dlx_barcode AS dlx_barc1_3_0_, this_.ordernumber AS ordernum2_3_0_, this_.pickdatetime AS pickdate3_3_0_, this_.picker AS picker4_3_0_, this_.created AS created5_3_0_, this_.partcode AS partcode6_3_0_, this_.orderqty AS orderqty7_3_0_ FROM dlx_barcodes this_ WHERE this_.ordernumber = '';Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 30 06 4,218 196ms 0ms 07 14,716 618ms 0ms 08 18,905 880ms 0ms 09 6,298 318ms 0ms 10 8,437 419ms 0ms 11 12,530 606ms 0ms 12 5,440 264ms 0ms 13 11,064 538ms 0ms 14 3,610 173ms 0ms 15 313 24ms 0ms 16 2,684 200ms 0ms 17 1,454 76ms 0ms [ User: pharmisight - Total duration: 4s317ms - Times executed: 89669 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 4s317ms - Times executed: 89669 ]
-
SELECT this_.DLX_BARCODE AS DLX_BARC1_3_0_, this_.orderNumber AS orderNum2_3_0_, this_.pickDateTime AS pickDate3_3_0_, this_.picker AS picker4_3_0_, this_.CREATED AS CREATED5_3_0_, this_.partCode AS partCode6_3_0_, this_.orderQty AS orderQty7_3_0_ FROM DLX_BARCODES this_ WHERE this_.orderNumber = '5003897028';
-
SELECT this_.DLX_BARCODE AS DLX_BARC1_3_0_, this_.orderNumber AS orderNum2_3_0_, this_.pickDateTime AS pickDate3_3_0_, this_.picker AS picker4_3_0_, this_.CREATED AS CREATED5_3_0_, this_.partCode AS partCode6_3_0_, this_.orderQty AS orderQty7_3_0_ FROM DLX_BARCODES this_ WHERE this_.orderNumber = '5003897192';
-
SELECT this_.DLX_BARCODE AS DLX_BARC1_3_0_, this_.orderNumber AS orderNum2_3_0_, this_.pickDateTime AS pickDate3_3_0_, this_.picker AS picker4_3_0_, this_.CREATED AS CREATED5_3_0_, this_.partCode AS partCode6_3_0_, this_.orderQty AS orderQty7_3_0_ FROM DLX_BARCODES this_ WHERE this_.orderNumber = '5003892234';
Date: 2018-04-30 16:04:30 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:43:48 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:06:07 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 76,950 3s526ms 0ms 4ms 0ms SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = '' ORDER BY start_id ASC;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 30 00 3,204 149ms 0ms 01 3,222 150ms 0ms 02 3,222 144ms 0ms 03 3,213 146ms 0ms 04 3,222 150ms 0ms 05 3,222 147ms 0ms 06 3,195 145ms 0ms 07 3,204 148ms 0ms 08 3,204 147ms 0ms 09 3,204 149ms 0ms 10 3,213 149ms 0ms 11 3,204 146ms 0ms 12 3,213 148ms 0ms 13 3,204 149ms 0ms 14 3,213 145ms 0ms 15 3,051 141ms 0ms 16 3,213 144ms 0ms 17 3,213 147ms 0ms 18 3,222 144ms 0ms 19 3,222 147ms 0ms 20 3,213 149ms 0ms 21 3,222 144ms 0ms 22 3,222 144ms 0ms 23 3,213 144ms 0ms [ User: symmetricds - Total duration: 3s526ms - Times executed: 76950 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s526ms - Times executed: 76950 ]
-
SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = 'GP' ORDER BY start_id ASC;
-
SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = 'GP' ORDER BY start_id ASC;
-
SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = 'GP' ORDER BY start_id ASC;
Date: 2018-04-30 06:41:12 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:42:07 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 00:50:19 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 68,126 2s299ms 0ms 4ms 0ms SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = '' AND ((d.data_id BETWEEN '' AND '')) ORDER BY d.data_id ASC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 30 00 2,848 66ms 0ms 01 2,864 65ms 0ms 02 2,864 63ms 0ms 03 2,858 64ms 0ms 04 2,865 64ms 0ms 05 2,874 91ms 0ms 06 2,721 202ms 0ms 07 2,651 156ms 0ms 08 2,852 151ms 0ms 09 2,852 125ms 0ms 10 2,861 142ms 0ms 11 2,851 138ms 0ms 12 2,859 116ms 0ms 13 2,850 124ms 0ms 14 2,856 102ms 0ms 15 2,712 66ms 0ms 16 2,856 76ms 0ms 17 2,856 74ms 0ms 18 2,864 66ms 0ms 19 2,864 67ms 0ms 20 2,856 66ms 0ms 21 2,865 66ms 0ms 22 2,867 68ms 0ms 23 2,860 69ms 0ms [ User: symmetricds - Total duration: 2s299ms - Times executed: 68126 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s299ms - Times executed: 68126 ]
-
SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = 'pharmisight' AND ((d.data_id BETWEEN '82456405' AND '132456404')) ORDER BY d.data_id ASC;
-
SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = 'pharmisight' AND ((d.data_id BETWEEN '82457503' AND '132457502')) ORDER BY d.data_id ASC;
-
SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = 'pharmisight' AND ((d.data_id BETWEEN '82457503' AND '132457502')) ORDER BY d.data_id ASC;
Date: 2018-04-30 05:58:37 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 06:00:09 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 05:59:59 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 64,479 24s166ms 0ms 27ms 0ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 30 05 3 0ms 0ms 06 15,778 5s73ms 0ms 07 1,506 701ms 0ms 08 1,865 855ms 0ms 09 4,208 1s716ms 0ms 10 8,311 3s273ms 0ms 11 8,450 3s253ms 0ms 12 5,073 1s837ms 0ms 13 8,424 3s176ms 0ms 14 5,543 2s148ms 0ms 15 1,194 519ms 0ms 16 2,137 820ms 0ms 17 1,928 764ms 0ms 20 59 22ms 0ms [ User: pharmisight - Total duration: 24s166ms - Times executed: 64479 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 24s166ms - Times executed: 64479 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200416862' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200416842' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200417202' ORDER BY orders0_.order_id ASC;
Date: 2018-04-30 15:43:46 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:52:55 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 06:44:44 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 56,904 1s217ms 0ms 2ms 0ms SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = '' AND channel_id = '';Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 30 00 2,400 55ms 0ms 01 2,400 49ms 0ms 02 2,400 55ms 0ms 03 2,400 56ms 0ms 04 2,400 53ms 0ms 05 2,400 52ms 0ms 06 2,176 44ms 0ms 07 2,192 44ms 0ms 08 2,400 50ms 0ms 09 2,400 47ms 0ms 10 2,400 47ms 0ms 11 2,400 48ms 0ms 12 2,400 49ms 0ms 13 2,400 53ms 0ms 14 2,400 51ms 0ms 15 2,280 47ms 0ms 16 2,400 47ms 0ms 17 2,400 51ms 0ms 18 2,400 52ms 0ms 19 2,400 50ms 0ms 20 2,256 50ms 0ms 21 2,400 51ms 0ms 22 2,400 53ms 0ms 23 2,400 51ms 0ms [ User: symmetricds - Total duration: 1s217ms - Times executed: 56904 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s217ms - Times executed: 56904 ]
-
SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = 'redditch' AND channel_id = 'dynamic';
-
SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = 'redditch' AND channel_id = 'filesync_reload';
-
SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = 'redditch' AND channel_id = 'default';
Date: 2018-04-30 03:38:23 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 00:07:18 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 07:40:29 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 48,797 46s373ms 0ms 40ms 0ms SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 30 05 1 0ms 0ms 06 15,220 11s922ms 0ms 07 142 252ms 1ms 08 197 335ms 1ms 09 2,240 2s356ms 1ms 10 6,734 6s859ms 1ms 11 6,027 6s88ms 1ms 12 4,282 4s102ms 0ms 13 5,069 4s913ms 0ms 14 5,013 5s262ms 1ms 15 1,132 1s318ms 1ms 16 1,405 1s386ms 0ms 17 1,227 1s314ms 1ms 20 108 257ms 2ms [ User: pharmisight - Total duration: 46s373ms - Times executed: 48797 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 46s373ms - Times executed: 48797 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200415802' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200417492' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200416522' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-04-30 20:00:30 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:43:04 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 20:00:30 Duration: 25ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 45,248 2s811ms 0ms 12ms 0ms SELECT itembarcod0_.item_id AS item_id12_13_0_, itembarcod0_.item_barcode_id AS item_bar1_14_0_, itembarcod0_.item_barcode_id AS item_bar1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hassiblings AS hassibli4_14_1_, itembarcod0_.itembarcodetype AS itembarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdby AS createdb8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedby AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.item_id AS item_id12_14_1_ FROM item_barcodes itembarcod0_ WHERE itembarcod0_.item_id = '' ORDER BY itembarcod0_.barcode ASC;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 30 00 1,744 100ms 0ms 01 1,744 104ms 0ms 02 1,744 102ms 0ms 03 1,744 100ms 0ms 04 1,744 104ms 0ms 05 1,744 103ms 0ms 06 2,283 130ms 0ms 07 2,947 189ms 0ms 08 3,191 215ms 0ms 09 2,679 178ms 0ms 10 2,770 180ms 0ms 11 3,206 208ms 0ms 12 2,514 157ms 0ms 13 3,219 212ms 0ms 14 2,111 132ms 0ms 15 2,625 170ms 0ms 16 1,065 64ms 0ms 17 942 56ms 0ms 18 872 47ms 0ms 19 872 52ms 0ms 20 872 48ms 0ms 21 872 49ms 0ms 22 872 50ms 0ms 23 872 49ms 0ms [ User: pharmisight - Total duration: 2s811ms - Times executed: 45248 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s811ms - Times executed: 45248 ]
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '2904' ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '33016204' ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '2' ORDER BY itembarcod0_.barcode ASC;
Date: 2018-04-30 11:46:28 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:42:13 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:42:13 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 40,849 2s375ms 0ms 18ms 0ms SELECT itemcodes0_.item_id AS item_id11_13_0_, itemcodes0_.item_code_id AS item_cod1_16_0_, itemcodes0_.item_code_id AS item_cod1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemcodetype AS itemcode3_16_1_, itemcodes0_.isprimary AS isprimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdby AS createdb7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedby AS updatedb9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.item_id AS item_id11_16_1_ FROM item_codes itemcodes0_ WHERE itemcodes0_.item_id = '' ORDER BY itemcodes0_.code ASC;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 30 00 1,956 111ms 0ms 01 1,956 114ms 0ms 02 1,956 113ms 0ms 03 1,956 110ms 0ms 04 1,956 116ms 0ms 05 1,956 115ms 0ms 06 1,992 99ms 0ms 07 2,140 125ms 0ms 08 1,984 119ms 0ms 09 1,969 118ms 0ms 10 2,059 120ms 0ms 11 1,967 91ms 0ms 12 1,969 109ms 0ms 13 2,302 135ms 0ms 14 1,966 118ms 0ms 15 2,935 213ms 0ms 16 982 54ms 0ms 17 980 55ms 0ms 18 978 52ms 0ms 19 978 58ms 0ms 20 978 53ms 0ms 21 978 54ms 0ms 22 978 56ms 0ms 23 978 54ms 0ms [ User: pharmisight - Total duration: 2s375ms - Times executed: 40849 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s375ms - Times executed: 40849 ]
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_13_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemCodeType AS itemCode3_16_1_, itemcodes0_.isPrimary AS isPrimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdBy AS createdB7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedBy AS updatedB9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_16_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '1' ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_13_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemCodeType AS itemCode3_16_1_, itemcodes0_.isPrimary AS isPrimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdBy AS createdB7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedBy AS updatedB9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_16_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '3592' ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_13_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemCodeType AS itemCode3_16_1_, itemcodes0_.isPrimary AS isPrimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdBy AS createdB7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedBy AS updatedB9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_16_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '33074331' ORDER BY itemcodes0_.code ASC;
Date: 2018-04-30 15:42:13 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:42:15 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:42:13 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 32,059 1s536ms 0ms 13ms 0ms SELECT flowreport0_.flow_report_id AS flow_rep1_7_0_, flowreport0_.routenumber AS routenum2_7_0_, flowreport0_.rounddeliverydate AS rounddel3_7_0_, flowreport0_.distributionpoint AS distribu4_7_0_, flowreport0_.fullypicked AS fullypic5_7_0_, flowreport0_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, flowreport0_.causeofdelay AS causeofd7_7_0_, flowreport0_.pharmacy100checktime AS pharmacy8_7_0_, flowreport0_.linesheldback AS lineshel9_7_0_, flowreport0_.packtime100 AS packtim10_7_0_, flowreport0_.replenish AS repleni11_7_0_, flowreport0_.comment AS comment12_7_0_, flowreport0_.pickdatetime AS pickdat13_7_0_, flowreport0_.failedtargetpicktime AS failedt14_7_0_, flowreport0_.actualpaperworkcompletetime AS actualp15_7_0_, flowreport0_.changedpickdatetime AS changed16_7_0_, flowreport0_.created AS created17_7_0_, flowreport0_.updated AS updated18_7_0_, flowreport0_.note AS note19_7_0_ FROM flow_reports flowreport0_ WHERE flowreport0_.flow_report_id = '';Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 30 06 1,722 79ms 0ms 07 2,199 98ms 0ms 08 3,894 183ms 0ms 09 4,245 205ms 0ms 10 2,636 122ms 0ms 11 3,913 180ms 0ms 12 2,328 107ms 0ms 13 5,914 284ms 0ms 14 4,150 205ms 0ms 15 276 27ms 0ms 16 469 25ms 0ms 17 307 15ms 0ms 20 6 0ms 0ms [ User: pharmisight - Total duration: 1s536ms - Times executed: 32059 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s536ms - Times executed: 32059 ]
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, flowreport0_.routeNumber AS routeNum2_7_0_, flowreport0_.roundDeliveryDate AS roundDel3_7_0_, flowreport0_.distributionPoint AS distribu4_7_0_, flowreport0_.fullyPicked AS fullyPic5_7_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, flowreport0_.causeOfDelay AS causeOfD7_7_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_7_0_, flowreport0_.linesHeldBack AS linesHel9_7_0_, flowreport0_.packTime100 AS packTim10_7_0_, flowreport0_.replenish AS repleni11_7_0_, flowreport0_.comment AS comment12_7_0_, flowreport0_.pickDateTime AS pickDat13_7_0_, flowreport0_.failedTargetPickTime AS failedT14_7_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_7_0_, flowreport0_.changedPickDateTime AS changed16_7_0_, flowreport0_.CREATED AS CREATED17_7_0_, flowreport0_.UPDATED AS UPDATED18_7_0_, flowreport0_.note AS note19_7_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = '200381502';
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, flowreport0_.routeNumber AS routeNum2_7_0_, flowreport0_.roundDeliveryDate AS roundDel3_7_0_, flowreport0_.distributionPoint AS distribu4_7_0_, flowreport0_.fullyPicked AS fullyPic5_7_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, flowreport0_.causeOfDelay AS causeOfD7_7_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_7_0_, flowreport0_.linesHeldBack AS linesHel9_7_0_, flowreport0_.packTime100 AS packTim10_7_0_, flowreport0_.replenish AS repleni11_7_0_, flowreport0_.comment AS comment12_7_0_, flowreport0_.pickDateTime AS pickDat13_7_0_, flowreport0_.failedTargetPickTime AS failedT14_7_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_7_0_, flowreport0_.changedPickDateTime AS changed16_7_0_, flowreport0_.CREATED AS CREATED17_7_0_, flowreport0_.UPDATED AS UPDATED18_7_0_, flowreport0_.note AS note19_7_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = '200381402';
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, flowreport0_.routeNumber AS routeNum2_7_0_, flowreport0_.roundDeliveryDate AS roundDel3_7_0_, flowreport0_.distributionPoint AS distribu4_7_0_, flowreport0_.fullyPicked AS fullyPic5_7_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, flowreport0_.causeOfDelay AS causeOfD7_7_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_7_0_, flowreport0_.linesHeldBack AS linesHel9_7_0_, flowreport0_.packTime100 AS packTim10_7_0_, flowreport0_.replenish AS repleni11_7_0_, flowreport0_.comment AS comment12_7_0_, flowreport0_.pickDateTime AS pickDat13_7_0_, flowreport0_.failedTargetPickTime AS failedT14_7_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_7_0_, flowreport0_.changedPickDateTime AS changed16_7_0_, flowreport0_.CREATED AS CREATED17_7_0_, flowreport0_.UPDATED AS UPDATED18_7_0_, flowreport0_.note AS note19_7_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = '200381422';
Date: 2018-04-30 15:43:28 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 13:26:51 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 13:15:46 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 30,438 799ms 0ms 6ms 0ms SELECT nextval ('');Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 30 05 2,125 43ms 0ms 06 6,976 139ms 0ms 07 7,759 162ms 0ms 08 2,284 63ms 0ms 09 1,507 42ms 0ms 10 1,990 55ms 0ms 11 2,582 72ms 0ms 12 1,557 46ms 0ms 13 2,052 57ms 0ms 14 913 29ms 0ms 15 65 32ms 0ms 16 378 25ms 0ms 17 232 22ms 0ms 20 18 6ms 0ms [ User: pharmisight - Total duration: 799ms - Times executed: 30438 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 799ms - Times executed: 30438 ]
-
SELECT nextval ('order_line_prescriptions_sequence');
-
SELECT nextval ('order_round_activities_sequence');
-
SELECT nextval ('patient_history_sequence');
Date: 2018-04-30 15:51:20 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:04:33 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 17:33:53 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 27,165 5s677ms 0ms 21ms 0ms UPDATE sym_outgoing_batch SET STATUS = '', load_id = '', extract_job_flag = '', load_flag = '', error_flag = '', byte_count = '', extract_count = '', sent_count = '', load_count = '', data_event_count = '', reload_event_count = '', insert_event_count = '', update_event_count = '', delete_event_count = '', other_event_count = '', ignore_count = '', router_millis = '', network_millis = '', filter_millis = '', load_millis = '', extract_millis = '', sql_state = NULL, sql_code = '', sql_message = NULL, failed_data_id = '', last_update_hostname = '', last_update_time = '' WHERE batch_id = '' AND node_id = '';Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 30 00 60 11ms 0ms 01 62 12ms 0ms 02 52 10ms 0ms 03 62 11ms 0ms 04 62 11ms 0ms 05 79 15ms 0ms 06 3,121 621ms 0ms 07 3,100 621ms 0ms 08 2,990 646ms 0ms 09 2,250 471ms 0ms 10 2,698 565ms 0ms 11 3,070 626ms 0ms 12 2,072 417ms 0ms 13 2,702 577ms 0ms 14 2,220 456ms 0ms 15 310 96ms 0ms 16 1,086 271ms 0ms 17 788 155ms 0ms 18 62 12ms 0ms 19 72 13ms 0ms 20 68 13ms 0ms 21 59 12ms 0ms 22 60 11ms 0ms 23 60 11ms 0ms [ User: symmetricds - Total duration: 5s677ms - Times executed: 27165 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s677ms - Times executed: 27165 ]
-
UPDATE sym_outgoing_batch SET STATUS = 'NE', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '0', extract_count = '0', sent_count = '0', load_count = '0', data_event_count = '5', reload_event_count = '0', insert_event_count = '1', update_event_count = '4', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '20', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '0', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-04-30 16:13:23.913' WHERE batch_id = '7462927' AND node_id = '0';
-
UPDATE sym_outgoing_batch SET STATUS = 'QY', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '0', extract_count = '1', sent_count = '0', load_count = '0', data_event_count = '3', reload_event_count = '0', insert_event_count = '1', update_event_count = '2', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '26', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '0', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-04-30 15:57:08.144' WHERE batch_id = '7462872' AND node_id = '2';
-
UPDATE sym_outgoing_batch SET STATUS = 'NE', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '0', extract_count = '0', sent_count = '0', load_count = '0', data_event_count = '4', reload_event_count = '0', insert_event_count = '1', update_event_count = '3', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '15', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '0', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-04-30 16:34:03.041' WHERE batch_id = '7462975' AND node_id = '0';
Date: 2018-04-30 16:13:24 Duration: 21ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:57:08 Duration: 17ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:34:03 Duration: 14ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 24,244 1s408ms 0ms 9ms 0ms SELECT * FROM order_rounds r WHERE r.flowreport = '';Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 30 06 9,826 506ms 0ms 09 768 49ms 0ms 10 2,592 168ms 0ms 11 2,448 142ms 0ms 12 1,662 99ms 0ms 13 2,046 124ms 0ms 14 2,940 189ms 0ms 15 844 61ms 0ms 16 575 35ms 0ms 17 490 29ms 0ms 20 53 2ms 0ms [ User: pharmisight - Total duration: 1s408ms - Times executed: 24244 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s408ms - Times executed: 24244 ]
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200381222';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200381102';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200381192';
Date: 2018-04-30 10:56:16 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:52:55 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 06:12:57 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 23,421 1s170ms 0ms 8ms 0ms SELECT orderround0_.order_round_id AS order_ro6_26_0_, orderround0_.order_round_picker_id AS order_ro1_29_0_, orderround0_.order_round_picker_id AS order_ro1_29_1_, orderround0_.pickerid AS pickerid2_29_1_, orderround0_.pickedorderlinescount AS pickedor3_29_1_, orderround0_.errors AS errors4_29_1_, orderround0_.errornote AS errornot5_29_1_ FROM order_round_pickers orderround0_ WHERE orderround0_.order_round_id = '' ORDER BY orderround0_.pickerid ASC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 30 06 1,453 69ms 0ms 07 1,336 65ms 0ms 08 2,977 144ms 0ms 09 2,947 147ms 0ms 10 1,520 72ms 0ms 11 2,454 116ms 0ms 12 1,879 91ms 0ms 13 3,780 187ms 0ms 14 4,135 207ms 0ms 15 293 19ms 0ms 16 355 18ms 0ms 17 239 12ms 0ms 19 53 17ms 0ms [ User: pharmisight - Total duration: 1s170ms - Times executed: 23421 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s170ms - Times executed: 23421 ]
-
SELECT orderround0_.ORDER_ROUND_ID AS ORDER_RO6_26_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_29_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_29_1_, orderround0_.pickerId AS pickerId2_29_1_, orderround0_.pickedOrderLinesCount AS pickedOr3_29_1_, orderround0_.errors AS errors4_29_1_, orderround0_.errorNote AS errorNot5_29_1_ FROM ORDER_ROUND_PICKERS orderround0_ WHERE orderround0_.ORDER_ROUND_ID = '200415822' ORDER BY orderround0_.pickerId ASC;
-
SELECT orderround0_.ORDER_ROUND_ID AS ORDER_RO6_26_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_29_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_29_1_, orderround0_.pickerId AS pickerId2_29_1_, orderround0_.pickedOrderLinesCount AS pickedOr3_29_1_, orderround0_.errors AS errors4_29_1_, orderround0_.errorNote AS errorNot5_29_1_ FROM ORDER_ROUND_PICKERS orderround0_ WHERE orderround0_.ORDER_ROUND_ID = '200416662' ORDER BY orderround0_.pickerId ASC;
-
SELECT orderround0_.ORDER_ROUND_ID AS ORDER_RO6_26_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_29_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_29_1_, orderround0_.pickerId AS pickerId2_29_1_, orderround0_.pickedOrderLinesCount AS pickedOr3_29_1_, orderround0_.errors AS errors4_29_1_, orderround0_.errorNote AS errorNot5_29_1_ FROM ORDER_ROUND_PICKERS orderround0_ WHERE orderround0_.ORDER_ROUND_ID = '200416962' ORDER BY orderround0_.pickerId ASC;
Date: 2018-04-30 19:57:10 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 19:57:10 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:43:28 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 18,263 1s397ms 0ms 21ms 0ms SELECT orderlinea0_.order_line_id AS order_l16_22_0_, orderlinea0_.order_line_activity_id AS order_li1_23_0_, orderlinea0_.order_line_activity_id AS order_li1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedqty AS scannedq4_23_1_, orderlinea0_.assignedqty AS assigned5_23_1_, orderlinea0_.backorderqty AS backorde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodedate AS barcoded8_23_1_, orderlinea0_.barcodebatch AS barcodeb9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelqty AS cancelq11_23_1_, orderlinea0_.reducedqty AS reduced12_23_1_, orderlinea0_.mispickitemcode AS mispick13_23_1_, orderlinea0_.created AS created14_23_1_, orderlinea0_.missinglabels AS missing15_23_1_ FROM order_line_activities orderlinea0_ WHERE orderlinea0_.order_line_id = '' ORDER BY orderlinea0_.created ASC;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 30 06 1,016 70ms 0ms 07 1,986 151ms 0ms 08 2,409 173ms 0ms 09 2,017 143ms 0ms 10 2,111 152ms 0ms 11 3,184 217ms 0ms 12 1,166 78ms 0ms 13 2,704 186ms 0ms 14 534 35ms 0ms 15 13 22ms 1ms 16 789 146ms 0ms 17 334 19ms 0ms [ User: pharmisight - Total duration: 1s397ms - Times executed: 18263 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s397ms - Times executed: 18263 ]
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_22_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedQty AS scannedQ4_23_1_, orderlinea0_.assignedQty AS assigned5_23_1_, orderlinea0_.backOrderQty AS backOrde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodeDate AS barcodeD8_23_1_, orderlinea0_.barcodeBatch AS barcodeB9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelQty AS cancelQ11_23_1_, orderlinea0_.reducedQty AS reduced12_23_1_, orderlinea0_.misPickItemCode AS misPick13_23_1_, orderlinea0_.CREATED AS CREATED14_23_1_, orderlinea0_.missingLabels AS missing15_23_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '211760602' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_22_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedQty AS scannedQ4_23_1_, orderlinea0_.assignedQty AS assigned5_23_1_, orderlinea0_.backOrderQty AS backOrde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodeDate AS barcodeD8_23_1_, orderlinea0_.barcodeBatch AS barcodeB9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelQty AS cancelQ11_23_1_, orderlinea0_.reducedQty AS reduced12_23_1_, orderlinea0_.misPickItemCode AS misPick13_23_1_, orderlinea0_.CREATED AS CREATED14_23_1_, orderlinea0_.missingLabels AS missing15_23_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '213341172' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_22_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedQty AS scannedQ4_23_1_, orderlinea0_.assignedQty AS assigned5_23_1_, orderlinea0_.backOrderQty AS backOrde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodeDate AS barcodeD8_23_1_, orderlinea0_.barcodeBatch AS barcodeB9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelQty AS cancelQ11_23_1_, orderlinea0_.reducedQty AS reduced12_23_1_, orderlinea0_.misPickItemCode AS misPick13_23_1_, orderlinea0_.CREATED AS CREATED14_23_1_, orderlinea0_.missingLabels AS missing15_23_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '213347502' ORDER BY orderlinea0_.CREATED ASC;
Date: 2018-04-30 07:12:00 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:43:47 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:04:33 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 97ms 641ms 200ms 237 47s432ms SELECT this_.order_round_id AS order_ro1_26_0_, this_.routenumber AS routenum2_26_0_, this_.uploadedbyuserid AS uploaded3_26_0_, this_.uploadedbyusername AS uploaded4_26_0_, this_.updatedby AS updatedb5_26_0_, this_.updatedbyusername AS updatedb6_26_0_, this_.orderroundnote AS orderrou7_26_0_, this_.firstcheckout AS firstche8_26_0_, this_.allordersscannedok AS allorder9_26_0_, this_.status AS status10_26_0_, this_.reopenedtimes AS reopene11_26_0_, this_.lastreopenbyid AS lastreo12_26_0_, this_.lastdonecheckin AS lastdon13_26_0_, this_.lastdonebyid AS lastdon14_26_0_, this_.lastdonebyusername AS lastdon15_26_0_, this_.missinglabels AS missing16_26_0_, this_.rounddeliverydate AS roundde17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadupdated AS uploadu21_26_0_, this_.patientalert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxstatus AS rxstatu24_26_0_, this_.distributionpoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedby AS audited27_26_0_, this_.auditstatus AS auditst28_26_0_, this_.uploadfinished AS uploadf29_26_0_, this_.lastrxcompleted AS lastrxc30_26_0_, this_.lastrxcompletedby AS lastrxc31_26_0_, this_.orderroundnotereadby AS orderro32_26_0_, this_.routeorderlinesqty AS routeor33_26_0_, this_.dlxpickedlinesqty AS dlxpick34_26_0_, this_.flowreport AS flowrep35_26_0_, this_.created AS created36_26_0_, this_.createdby AS created37_26_0_, this_.updated AS updated38_26_0_, this_.note AS note39_26_0_ FROM order_rounds this_ ORDER BY this_.rounddeliverydate DESC, this_.routenumber ASC LIMIT '' OFFSET '';Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 30 10 71 14s225ms 200ms 11 33 6s670ms 202ms 12 31 5s994ms 193ms 13 7 1s451ms 207ms 14 27 5s97ms 188ms 15 66 13s585ms 205ms 16 2 407ms 203ms [ User: pharmisight - Total duration: 47s432ms - Times executed: 237 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 47s432ms - Times executed: 237 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14' OFFSET '87010';
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14' OFFSET '70';
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14' OFFSET '140';
Date: 2018-04-30 15:14:32 Duration: 641ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:15:24 Duration: 238ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:02:04 Duration: 231ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 96ms 211ms 190ms 116 22s117ms SELECT this_.order_round_id AS order_ro1_26_0_, this_.routenumber AS routenum2_26_0_, this_.uploadedbyuserid AS uploaded3_26_0_, this_.uploadedbyusername AS uploaded4_26_0_, this_.updatedby AS updatedb5_26_0_, this_.updatedbyusername AS updatedb6_26_0_, this_.orderroundnote AS orderrou7_26_0_, this_.firstcheckout AS firstche8_26_0_, this_.allordersscannedok AS allorder9_26_0_, this_.status AS status10_26_0_, this_.reopenedtimes AS reopene11_26_0_, this_.lastreopenbyid AS lastreo12_26_0_, this_.lastdonecheckin AS lastdon13_26_0_, this_.lastdonebyid AS lastdon14_26_0_, this_.lastdonebyusername AS lastdon15_26_0_, this_.missinglabels AS missing16_26_0_, this_.rounddeliverydate AS roundde17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadupdated AS uploadu21_26_0_, this_.patientalert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxstatus AS rxstatu24_26_0_, this_.distributionpoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedby AS audited27_26_0_, this_.auditstatus AS auditst28_26_0_, this_.uploadfinished AS uploadf29_26_0_, this_.lastrxcompleted AS lastrxc30_26_0_, this_.lastrxcompletedby AS lastrxc31_26_0_, this_.orderroundnotereadby AS orderro32_26_0_, this_.routeorderlinesqty AS routeor33_26_0_, this_.dlxpickedlinesqty AS dlxpick34_26_0_, this_.flowreport AS flowrep35_26_0_, this_.created AS created36_26_0_, this_.createdby AS created37_26_0_, this_.updated AS updated38_26_0_, this_.note AS note39_26_0_ FROM order_rounds this_ ORDER BY this_.rounddeliverydate DESC, this_.routenumber ASC LIMIT '';Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 30 08 1 196ms 196ms 09 7 1s309ms 187ms 10 25 4s780ms 191ms 11 12 2s291ms 190ms 12 19 3s553ms 187ms 13 2 390ms 195ms 14 9 1s662ms 184ms 15 28 5s437ms 194ms 16 4 763ms 190ms 17 9 1s730ms 192ms [ User: pharmisight - Total duration: 22s117ms - Times executed: 116 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 22s117ms - Times executed: 116 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14';
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14';
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '14';
Date: 2018-04-30 15:44:19 Duration: 211ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 12:41:45 Duration: 208ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 10:27:13 Duration: 207ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 28ms 104ms 58ms 247 14s450ms SELECT epscheckli0_.eps_check_id AS eps_chec9_5_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_1_, epscheckli0_.orderlineid AS orderlin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.issnomedmismatch AS issnomed6_6_1_, epscheckli0_.isorderqtymismatch AS isorderq7_6_1_, epscheckli0_.ishit AS ishit8_6_1_ FROM eps_check_lines epscheckli0_ WHERE epscheckli0_.eps_check_id = '' ORDER BY epscheckli0_.description ASC;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 30 06 56 3s142ms 56ms 07 51 2s992ms 58ms 08 42 2s428ms 57ms 09 11 683ms 62ms 10 19 1s149ms 60ms 11 11 687ms 62ms 12 26 1s514ms 58ms 14 31 1s853ms 59ms [ User: pharmisight - Total duration: 14s450ms - Times executed: 247 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s450ms - Times executed: 247 ]
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = '200643922' ORDER BY epscheckli0_.description ASC;
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = '200641362' ORDER BY epscheckli0_.description ASC;
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = '200644232' ORDER BY epscheckli0_.description ASC;
Date: 2018-04-30 14:12:04 Duration: 104ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 08:34:14 Duration: 104ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 12:25:26 Duration: 98ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 18ms 359ms 39ms 2,783 1m49s SELECT count (*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> '';Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 30 06 189 7s383ms 39ms 07 198 7s681ms 38ms 08 357 13s868ms 38ms 09 316 12s736ms 40ms 10 193 7s373ms 38ms 11 307 11s869ms 38ms 12 220 8s696ms 39ms 13 447 17s462ms 39ms 14 469 19s31ms 40ms 15 31 1s580ms 50ms 16 35 1s368ms 39ms 17 21 800ms 38ms [ User: pharmisight - Total duration: 1m49s - Times executed: 2783 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m49s - Times executed: 2783 ]
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
Date: 2018-04-30 15:43:28 Duration: 359ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 14:59:54 Duration: 76ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:09:40 Duration: 76ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 20ms 75ms 37ms 410 15s380ms SELECT this_.order_round_id AS order_ro1_26_1_, this_.routenumber AS routenum2_26_1_, this_.uploadedbyuserid AS uploaded3_26_1_, this_.uploadedbyusername AS uploaded4_26_1_, this_.updatedby AS updatedb5_26_1_, this_.updatedbyusername AS updatedb6_26_1_, this_.orderroundnote AS orderrou7_26_1_, this_.firstcheckout AS firstche8_26_1_, this_.allordersscannedok AS allorder9_26_1_, this_.status AS status10_26_1_, this_.reopenedtimes AS reopene11_26_1_, this_.lastreopenbyid AS lastreo12_26_1_, this_.lastdonecheckin AS lastdon13_26_1_, this_.lastdonebyid AS lastdon14_26_1_, this_.lastdonebyusername AS lastdon15_26_1_, this_.missinglabels AS missing16_26_1_, this_.rounddeliverydate AS roundde17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadupdated AS uploadu21_26_1_, this_.patientalert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxstatus AS rxstatu24_26_1_, this_.distributionpoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedby AS audited27_26_1_, this_.auditstatus AS auditst28_26_1_, this_.uploadfinished AS uploadf29_26_1_, this_.lastrxcompleted AS lastrxc30_26_1_, this_.lastrxcompletedby AS lastrxc31_26_1_, this_.orderroundnotereadby AS orderro32_26_1_, this_.routeorderlinesqty AS routeor33_26_1_, this_.dlxpickedlinesqty AS dlxpick34_26_1_, this_.flowreport AS flowrep35_26_1_, this_.created AS created36_26_1_, this_.createdby AS created37_26_1_, this_.updated AS updated38_26_1_, this_.note AS note39_26_1_, f1_.flow_report_id AS flow_rep1_7_0_, f1_.routenumber AS routenum2_7_0_, f1_.rounddeliverydate AS rounddel3_7_0_, f1_.distributionpoint AS distribu4_7_0_, f1_.fullypicked AS fullypic5_7_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, f1_.causeofdelay AS causeofd7_7_0_, f1_.pharmacy100checktime AS pharmacy8_7_0_, f1_.linesheldback AS lineshel9_7_0_, f1_.packtime100 AS packtim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickdatetime AS pickdat13_7_0_, f1_.failedtargetpicktime AS failedt14_7_0_, f1_.actualpaperworkcompletetime AS actualp15_7_0_, f1_.changedpickdatetime AS changed16_7_0_, f1_.created AS created17_7_0_, f1_.updated AS updated18_7_0_, f1_.note AS note19_7_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> '' AND this_.created > '' AND this_.created < '' ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 30 06 177 5s911ms 33ms 09 16 690ms 43ms 10 54 2s264ms 41ms 11 42 1s722ms 41ms 12 31 1s194ms 38ms 13 42 1s624ms 38ms 14 25 1s23ms 40ms 15 6 249ms 41ms 16 9 358ms 39ms 17 8 341ms 42ms [ User: pharmisight - Total duration: 15s380ms - Times executed: 410 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s380ms - Times executed: 410 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.CREATED AS CREATED17_7_0_, f1_.UPDATED AS UPDATED18_7_0_, f1_.note AS note19_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-04-30 00:00:00' AND this_.CREATED < '2018-04-30 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.CREATED AS CREATED17_7_0_, f1_.UPDATED AS UPDATED18_7_0_, f1_.note AS note19_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-04-30 00:00:00' AND this_.CREATED < '2018-04-30 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.CREATED AS CREATED17_7_0_, f1_.UPDATED AS UPDATED18_7_0_, f1_.note AS note19_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-04-30 00:00:00' AND this_.CREATED < '2018-04-30 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-04-30 06:07:12 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 10:18:23 Duration: 70ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 06:12:54 Duration: 69ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 12ms 107ms 22ms 508 11s655ms SELECT this_.flow_report_id AS flow_rep1_7_0_, this_.routenumber AS routenum2_7_0_, this_.rounddeliverydate AS rounddel3_7_0_, this_.distributionpoint AS distribu4_7_0_, this_.fullypicked AS fullypic5_7_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, this_.causeofdelay AS causeofd7_7_0_, this_.pharmacy100checktime AS pharmacy8_7_0_, this_.linesheldback AS lineshel9_7_0_, this_.packtime100 AS packtim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickdatetime AS pickdat13_7_0_, this_.failedtargetpicktime AS failedt14_7_0_, this_.actualpaperworkcompletetime AS actualp15_7_0_, this_.changedpickdatetime AS changed16_7_0_, this_.created AS created17_7_0_, this_.updated AS updated18_7_0_, this_.note AS note19_7_0_ FROM flow_reports this_ WHERE this_.created > '' AND this_.created < '' ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 30 06 248 5s234ms 21ms 09 16 442ms 27ms 10 54 1s341ms 24ms 11 40 951ms 23ms 12 32 744ms 23ms 13 41 948ms 23ms 14 47 1s145ms 24ms 15 10 349ms 34ms 16 11 274ms 24ms 17 9 223ms 24ms [ User: pharmisight - Total duration: 11s655ms - Times executed: 508 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s655ms - Times executed: 508 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.CREATED AS CREATED17_7_0_, this_.UPDATED AS UPDATED18_7_0_, this_.note AS note19_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-04-30 00:00:00' AND this_.CREATED < '2018-04-30 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.CREATED AS CREATED17_7_0_, this_.UPDATED AS UPDATED18_7_0_, this_.note AS note19_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-04-30 00:00:00' AND this_.CREATED < '2018-04-30 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.CREATED AS CREATED17_7_0_, this_.UPDATED AS UPDATED18_7_0_, this_.note AS note19_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-04-30 00:00:00' AND this_.CREATED < '2018-04-30 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-04-30 15:52:55 Duration: 107ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 10:43:50 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 06:12:24 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 0ms 216ms 15ms 2,781 43s609ms SELECT * FROM order_lines WHERE (deliverydate = '' AND STATUS <> '') AND ((agecheck = 0 OR agecheck = 0 OR agecheck = 0) OR (STATUS = '') OR (paperwork IS NOT NULL AND paperwork <> '' AND paperwork <> '' AND paperwork <> '' AND paperwork <> '') OR (paperworkresolution IS NOT NULL) OR (overaverageqtymax IS NOT NULL));Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 30 06 189 2s915ms 15ms 07 198 2s986ms 15ms 08 357 5s481ms 15ms 09 316 5s48ms 15ms 10 193 2s778ms 14ms 11 307 4s546ms 14ms 12 220 3s459ms 15ms 13 445 7s85ms 15ms 14 469 7s648ms 16ms 15 31 757ms 24ms 16 35 563ms 16ms 17 21 336ms 16ms [ User: pharmisight - Total duration: 43s609ms - Times executed: 2781 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 43s609ms - Times executed: 2781 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-05-01' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-05-01' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-04-30' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
Date: 2018-04-30 15:43:27 Duration: 216ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 12:43:57 Duration: 53ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 06:41:29 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 1ms 76ms 12ms 1,629 21s138ms UPDATE order_lines SET routenumber = '', sapordernumber = '', ordernumber = '', answerordernumber = NULL, partcode = '', partdescription = '', patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', patientpostcodeprefix = '', orderqty = '', allocqty = '', shipqty = NULL, adjustedqty = '', scannedqty = '', assignedqty = '', checkedqty = '', backorderqty = '', cancelqty = '', reducedqty = '', STATUS = '', reason = NULL, deliverydate = '', customer = '', sapcustomerid = '', billtotype = '', barcodedate = NULL, barcodebatch = NULL, patientid = '', isadded = NULL, isnotwithinage = NULL, isunderage = '', agecheck = '', expired = NULL, paperwork = '', ispaperworkproblem = '', paperworkresolution = NULL, pickerid = '', specialcare = '', paperworkenquirystarted = NULL, paperworkenquiryfinished = NULL, paperworkenquiryresponse = NULL, isnewproduct = NULL, extraprocedure = NULL, overaverageqtymax = NULL, overaverageqtyresolution = NULL, createuser = '', patientalert = NULL, itemalert = NULL, checkerid = '', reductionsummary = NULL, ismetabolic = NULL, rxstatus = '', lastregupdateusertype = '', lastregupdateusername = '', lastregupdatedate = '', sapplannedshipdate = '', sapplanneddeliverydate = '', requestedsapquantity = '', orderquantity = '', reglinecreatedusertype = '', reglinecreatedusername = '', reglinecreateddate = '', audited = NULL, ismetabolicpatient = NULL, addedcase = NULL, ordertype = NULL, created = '', updated = NULL, rxcheckby = '', note = '', item = '', alertconfirmation = NULL, homewardaction = NULL WHERE order_line_id = '';Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 30 06 197 2s480ms 12ms 07 177 2s92ms 11ms 08 285 3s550ms 12ms 09 116 1s507ms 12ms 10 135 1s656ms 12ms 11 329 4s165ms 12ms 12 157 1s906ms 12ms 13 135 1s674ms 12ms 14 44 551ms 12ms 16 38 1s159ms 30ms 17 16 392ms 24ms [ User: pharmisight - Total duration: 21s138ms - Times executed: 1629 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 21s138ms - Times executed: 1629 ]
-
UPDATE ORDER_LINES SET routeNumber = '8884435', sapOrderNumber = '7461696', orderNumber = '5003892392', answerOrderNumber = NULL, partCode = '40963', partDescription = 'Nutrison Energy 1500ml', patientName = 'David Burley', firstName = 'David', middleName = NULL, lastName = 'Burley', patientDateOfBirth = '1958-04-05', patientPostcode = 'WV10 9NH', patientPostcodePrefix = 'WV', orderQty = '14', allocQty = '14', shipQty = NULL, adjustedQty = '14', scannedQty = '14', assignedQty = '0', checkedQty = '14', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-05-01', customer = 'Michael Phiri-Thorne', sapCustomerId = '685056663', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '183897', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'eRx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '43421260', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Michael Phiri-Thorne', patientAlert = NULL, itemAlert = NULL, checkerId = '4057', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User', lastRegUpdateUserName = 'vincent.li@nutricia.connections', lastRegUpdateDate = '2018-04-27 08:53:24', sapPlannedShipDate = '2018-04-30', sapPlannedDeliveryDate = '2018-05-01', requestedSAPQuantity = '14', orderQuantity = '14', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 16:55:55', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 05:59:20.476', UPDATED = NULL, rxCheckBy = '100', note = 'EP auto check', item = '3162', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213341862';
-
UPDATE ORDER_LINES SET routeNumber = '8884775', sapOrderNumber = '7462917', orderNumber = '5003896194', answerOrderNumber = NULL, partCode = '40832', partDescription = 'Nutrison Sterile Water 1000ml', patientName = 'Jennifer Ellis', firstName = 'Jennifer', middleName = NULL, lastName = 'Ellis', patientDateOfBirth = '1968-06-23', patientPostcode = 'GU7 3RR', patientPostcodePrefix = 'GU', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '28', scannedQty = '28', assignedQty = '0', checkedQty = '28', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-05-05', customer = 'Simon Church', sapCustomerId = '685145405', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200143390', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200000962', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Clare Sturgess', patientAlert = NULL, itemAlert = NULL, checkerId = '4057', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'vicki.brock@nutricia.connections', lastRegUpdateDate = '2017-12-14 14:02:14', sapPlannedShipDate = '2018-05-04', sapPlannedDeliveryDate = '2018-05-05', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS Coordinators', regLineCreatedUserName = 'jennifer.webb@nutricia.connections', regLineCreatedDate = '2016-07-21 11:43:03', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 07:22:03.19', UPDATED = NULL, rxCheckBy = '4065', note = 'James Kydd', item = '3354', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213367152';
-
UPDATE ORDER_LINES SET routeNumber = '8884777', sapOrderNumber = '7461837', orderNumber = '5003900578', answerOrderNumber = NULL, partCode = '79749', partDescription = 'Fortisip Compact Vanilla 125ml ', patientName = 'Jacqueline Haigh', firstName = 'Jacqueline', middleName = NULL, lastName = 'Haigh', patientDateOfBirth = '1949-01-01', patientPostcode = 'SO16 4LE', patientPostcodePrefix = 'SO', orderQty = '112', allocQty = '112', shipQty = NULL, adjustedQty = '112', scannedQty = '112', assignedQty = '0', checkedQty = '112', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-05-05', customer = 'Tracie Boulton', sapCustomerId = '685134468', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200070090', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200000962', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Apriyanti Pertiwi', patientAlert = NULL, itemAlert = NULL, checkerId = '4057', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User', lastRegUpdateUserName = 'lisa.cartlidge@nutricia.connections', lastRegUpdateDate = '2018-04-06 09:10:44', sapPlannedShipDate = '2018-05-04', sapPlannedDeliveryDate = '2018-05-05', requestedSAPQuantity = '112', orderQuantity = '112', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'nadine.hodgson@nutricia.connections', regLineCreatedDate = '2017-04-20 09:39:55', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 07:22:03.157', UPDATED = NULL, rxCheckBy = '4065', note = 'James Kydd', item = '3409', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213364052';
Date: 2018-04-30 16:29:57 Duration: 76ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:43:19 Duration: 51ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 17:07:51 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 1ms 62ms 12ms 826 10s549ms UPDATE order_lines SET routenumber = '', sapordernumber = '', ordernumber = '', answerordernumber = NULL, partcode = '', partdescription = '', patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', patientpostcodeprefix = '', orderqty = '', allocqty = '', shipqty = NULL, adjustedqty = '', scannedqty = '', assignedqty = '', checkedqty = '', backorderqty = '', cancelqty = '', reducedqty = '', STATUS = '', reason = NULL, deliverydate = '', customer = '', sapcustomerid = '', billtotype = '', barcodedate = NULL, barcodebatch = NULL, patientid = '', isadded = NULL, isnotwithinage = NULL, isunderage = '', agecheck = '', expired = NULL, paperwork = NULL, ispaperworkproblem = NULL, paperworkresolution = NULL, pickerid = '', specialcare = '', paperworkenquirystarted = NULL, paperworkenquiryfinished = NULL, paperworkenquiryresponse = NULL, isnewproduct = NULL, extraprocedure = NULL, overaverageqtymax = NULL, overaverageqtyresolution = NULL, createuser = '', patientalert = NULL, itemalert = NULL, checkerid = '', reductionsummary = NULL, ismetabolic = NULL, rxstatus = '', lastregupdateusertype = '', lastregupdateusername = '', lastregupdatedate = '', sapplannedshipdate = '', sapplanneddeliverydate = '', requestedsapquantity = '', orderquantity = '', reglinecreatedusertype = '', reglinecreatedusername = '', reglinecreateddate = '', audited = NULL, ismetabolicpatient = NULL, addedcase = NULL, ordertype = NULL, created = '', updated = NULL, rxcheckby = NULL, note = NULL, item = '', alertconfirmation = NULL, homewardaction = NULL WHERE order_line_id = '';Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 30 06 19 215ms 11ms 07 33 355ms 10ms 08 100 1s196ms 11ms 09 126 1s534ms 12ms 10 181 2s200ms 12ms 11 85 1s58ms 12ms 12 72 883ms 12ms 13 183 2s389ms 13ms 14 6 112ms 18ms 16 12 388ms 32ms 17 9 217ms 24ms [ User: pharmisight - Total duration: 10s549ms - Times executed: 826 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s549ms - Times executed: 826 ]
-
UPDATE ORDER_LINES SET routeNumber = '8884777', sapOrderNumber = '7462472', orderNumber = '5003901247', answerOrderNumber = NULL, partCode = '77093', partDescription = 'Fortisip Compact Fibre Starter Pack (4 x 125ml)', patientName = 'Alexander Webster', firstName = 'Alexander', middleName = NULL, lastName = 'Webster', patientDateOfBirth = '1935-09-28', patientPostcode = 'GU15 3EP', patientPostcodePrefix = 'GU', orderQty = '14', allocQty = '14', shipQty = NULL, adjustedQty = '12', scannedQty = '12', assignedQty = '0', checkedQty = '12', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-05-05', customer = 'Simon Church', sapCustomerId = '685160073', billToType = 'GP Surgery', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200215360', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = NULL, isPaperworkProblem = NULL, paperworkResolution = NULL, pickerId = '200000962', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Simon Church', patientAlert = NULL, itemAlert = NULL, checkerId = '4057', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '4', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'laura.doughty@nutricia.connections', lastRegUpdateDate = '2018-03-26 16:50:20', sapPlannedShipDate = '2018-05-04', sapPlannedDeliveryDate = '2018-05-05', requestedSAPQuantity = '14', orderQuantity = '14', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'rebekah.palmer@nutricia.connections', regLineCreatedDate = '2017-10-05 15:09:02', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 07:22:03.183', UPDATED = NULL, rxCheckBy = NULL, note = NULL, item = '32964832', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213363972';
-
UPDATE ORDER_LINES SET routeNumber = '8884438', sapOrderNumber = '7463893', orderNumber = '5003890857', answerOrderNumber = NULL, partCode = '50135', partDescription = 'Fortisip Compact Fibre Vanilla125ml ', patientName = 'William McCrossan', firstName = 'William', middleName = NULL, lastName = 'McCrossan', patientDateOfBirth = '1933-06-18', patientPostcode = 'BS4 2QN', patientPostcodePrefix = 'BS', orderQty = '84', allocQty = '84', shipQty = NULL, adjustedQty = '84', scannedQty = '84', assignedQty = '0', checkedQty = '84', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-05-01', customer = 'Jennifer Edmonds', sapCustomerId = '685180323', billToType = 'Organization_vod', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200381732', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = NULL, isPaperworkProblem = NULL, paperworkResolution = NULL, pickerId = '200000050', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Jennifer Edmonds', patientAlert = NULL, itemAlert = NULL, checkerId = '4057', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '4', lastRegUpdateUserType = 'PMS HCP User', lastRegUpdateUserName = 'marguerite.barrett@nutricia.connections', lastRegUpdateDate = '2018-03-22 13:27:14', sapPlannedShipDate = '2018-04-30', sapPlannedDeliveryDate = '2018-05-01', requestedSAPQuantity = '84', orderQuantity = '84', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'marguerite.barrett@nutricia.connections', regLineCreatedDate = '2018-01-18 14:33:59', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 05:59:20.35', UPDATED = NULL, rxCheckBy = NULL, note = NULL, item = '3364', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213351152';
-
UPDATE ORDER_LINES SET routeNumber = '8884777', sapOrderNumber = '7462472', orderNumber = '5003901247', answerOrderNumber = NULL, partCode = '100444', partDescription = 'Fortisip 2kcal Vanilla 200ml ', patientName = 'Alexander Webster', firstName = 'Alexander', middleName = NULL, lastName = 'Webster', patientDateOfBirth = '1935-09-28', patientPostcode = 'GU15 3EP', patientPostcodePrefix = 'GU', orderQty = '56', allocQty = '56', shipQty = NULL, adjustedQty = '56', scannedQty = '56', assignedQty = '0', checkedQty = '56', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-05-05', customer = 'Simon Church', sapCustomerId = '685160073', billToType = 'GP Surgery', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200215360', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = NULL, isPaperworkProblem = NULL, paperworkResolution = NULL, pickerId = '200000962', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Simon Church', patientAlert = NULL, itemAlert = NULL, checkerId = '4057', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '4', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'laura.doughty@nutricia.connections', lastRegUpdateDate = '2018-03-26 16:50:20', sapPlannedShipDate = '2018-05-04', sapPlannedDeliveryDate = '2018-05-05', requestedSAPQuantity = '56', orderQuantity = '56', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'simone.kent@nutricia.connections', regLineCreatedDate = '2017-01-27 12:35:18', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 07:22:03.183', UPDATED = NULL, rxCheckBy = NULL, note = NULL, item = '33074082', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213364012';
Date: 2018-04-30 16:50:40 Duration: 62ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:19:19 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:51:02 Duration: 42ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 0ms 36ms 9ms 1,922 19s84ms UPDATE order_lines SET routenumber = '', sapordernumber = '', ordernumber = '', answerordernumber = NULL, partcode = '', partdescription = '', patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', patientpostcodeprefix = '', orderqty = '', allocqty = '', shipqty = NULL, adjustedqty = NULL, scannedqty = NULL, assignedqty = NULL, checkedqty = NULL, backorderqty = NULL, cancelqty = NULL, reducedqty = NULL, STATUS = '', reason = NULL, deliverydate = '', customer = '', sapcustomerid = '', billtotype = '', barcodedate = NULL, barcodebatch = NULL, patientid = '', isadded = NULL, isnotwithinage = NULL, isunderage = '', agecheck = '', expired = NULL, paperwork = '', ispaperworkproblem = '', paperworkresolution = NULL, pickerid = NULL, specialcare = '', paperworkenquirystarted = NULL, paperworkenquiryfinished = NULL, paperworkenquiryresponse = NULL, isnewproduct = NULL, extraprocedure = NULL, overaverageqtymax = NULL, overaverageqtyresolution = NULL, createuser = '', patientalert = NULL, itemalert = NULL, checkerid = NULL, reductionsummary = NULL, ismetabolic = NULL, rxstatus = '', lastregupdateusertype = '', lastregupdateusername = '', lastregupdatedate = '', sapplannedshipdate = '', sapplanneddeliverydate = '', requestedsapquantity = '', orderquantity = '', reglinecreatedusertype = '', reglinecreatedusername = '', reglinecreateddate = '', audited = NULL, ismetabolicpatient = NULL, addedcase = NULL, ordertype = NULL, created = '', updated = NULL, rxcheckby = '', note = '', item = '', alertconfirmation = NULL, homewardaction = NULL WHERE order_line_id = '';Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 30 06 676 6s92ms 9ms 07 430 3s125ms 7ms 08 87 1s61ms 12ms 10 48 588ms 12ms 11 127 1s581ms 12ms 12 187 2s291ms 12ms 13 57 706ms 12ms 14 309 3s607ms 11ms 17 1 30ms 30ms [ User: pharmisight - Total duration: 19s84ms - Times executed: 1922 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 19s84ms - Times executed: 1922 ]
-
UPDATE ORDER_LINES SET routeNumber = '8884415', sapOrderNumber = '7463033', orderNumber = '5003897550', answerOrderNumber = NULL, partCode = '41243', partDescription = 'Calogen Neutral 500ml ', patientName = 'Terence Goddard', firstName = 'Terence', middleName = NULL, lastName = 'Goddard', patientDateOfBirth = '1942-04-10', patientPostcode = 'PE15 0TX', patientPostcodePrefix = 'PE', orderQty = '4', allocQty = '4', shipQty = NULL, adjustedQty = NULL, scannedQty = NULL, assignedQty = NULL, checkedQty = NULL, backOrderQty = NULL, cancelQty = NULL, reducedQty = NULL, STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-05-01', customer = 'Caroline Burden', sapCustomerId = '685065198', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '35689720', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = NULL, specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Brenda Melville', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS System Administrator', lastRegUpdateUserName = 'louise.reys@nutricia.connections', lastRegUpdateDate = '2017-09-03 09:56:15', sapPlannedShipDate = '2018-04-30', sapPlannedDeliveryDate = '2018-05-01', requestedSAPQuantity = '4', orderQuantity = '4', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'rachael.williams@nutricia.connections', regLineCreatedDate = '2017-05-04 15:10:27', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 05:59:20.42', UPDATED = NULL, rxCheckBy = '4062', note = 'Maria Giaquinto', item = '25', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213354232';
-
UPDATE ORDER_LINES SET routeNumber = '8884763', sapOrderNumber = '7462447', orderNumber = '5003901222', answerOrderNumber = NULL, partCode = '88543', partDescription = 'Two-Cal 1000ml', patientName = 'Phoebe Horrobin', firstName = 'Phoebe', middleName = NULL, lastName = 'Horrobin', patientDateOfBirth = '2007-07-17', patientPostcode = 'WA5 3RX', patientPostcodePrefix = 'WA', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = NULL, scannedQty = NULL, assignedQty = NULL, checkedQty = NULL, backOrderQty = NULL, cancelQty = NULL, reducedQty = NULL, STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-05-05', customer = 'Brenda Melville', sapCustomerId = '685138103', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200089430', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = NULL, specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Sarah Carter', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'natalie.mcclurg@nutricia.connections', lastRegUpdateDate = '2017-06-19 08:14:35', sapPlannedShipDate = '2018-05-04', sapPlannedDeliveryDate = '2018-05-05', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 17:08:26', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 07:22:03.085', UPDATED = NULL, rxCheckBy = '4065', note = 'James Kydd', item = '3070', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213362002';
-
UPDATE ORDER_LINES SET routeNumber = '8884330', sapOrderNumber = '7463330', orderNumber = '5003905243', answerOrderNumber = NULL, partCode = '71954', partDescription = 'Calogen Extra Shot Strawberry (6 x 40ml)', patientName = 'John Falconer', firstName = 'John', middleName = NULL, lastName = 'Falconer', patientDateOfBirth = '1952-04-26', patientPostcode = 'HU18 1NQ', patientPostcodePrefix = 'HU', orderQty = '14', allocQty = '14', shipQty = NULL, adjustedQty = NULL, scannedQty = NULL, assignedQty = NULL, checkedQty = NULL, backOrderQty = NULL, cancelQty = NULL, reducedQty = NULL, STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-05-01', customer = 'Gill Feltham', sapCustomerId = '685138952', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200197420', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = NULL, specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Jack Pady', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User Login', lastRegUpdateUserName = 'abigail.marwood@nutricia.connections', lastRegUpdateDate = '2018-04-20 09:21:07', sapPlannedShipDate = '2018-04-30', sapPlannedDeliveryDate = '2018-05-01', requestedSAPQuantity = '14', orderQuantity = '14', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'julie.schreiber@nutricia.connections', regLineCreatedDate = '2017-01-26 11:15:26', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-04-30 05:59:20.39', UPDATED = NULL, rxCheckBy = '4058', note = 'Mandy Jenkins', item = '29', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '213353652';
Date: 2018-04-30 07:14:54 Duration: 36ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 11:21:13 Duration: 35ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 07:03:47 Duration: 30ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 0ms 44ms 4ms 3,690 18s179ms SELECT this_.order_id AS order_id1_20_0_, this_.sapordernumber AS saporder2_20_0_, this_.answerordernumber AS answeror3_20_0_, this_.ordernumber AS ordernum4_20_0_, this_.routenumber AS routenum5_20_0_, this_.billtotype AS billtoty6_20_0_, this_.patientname AS patientn7_20_0_, this_.firstname AS firstnam8_20_0_, this_.middlename AS middlena9_20_0_, this_.lastname AS lastnam10_20_0_, this_.patientdateofbirth AS patient11_20_0_, this_.patientpostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapcustomerid AS sapcust14_20_0_, this_.status AS status15_20_0_, this_.patientid AS patient16_20_0_, this_.isnotwithinage AS isnotwi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliverybarcode AS deliver20_20_0_, this_.deliverydate AS deliver21_20_0_, this_.rxstatus AS rxstatu22_20_0_, this_.createuser AS createu23_20_0_, this_.subordertype AS suborde24_20_0_, this_.sapcontractid AS sapcont25_20_0_, this_.salesforceordernumber AS salesfo26_20_0_, this_.patienttype AS patient27_20_0_, this_.ordertype AS orderty28_20_0_, this_.orderstatus AS orderst29_20_0_, this_.nhsnumber AS nhsnumb30_20_0_, this_.individuallabelling AS individ31_20_0_, this_.orderid AS orderid32_20_0_, this_.clusterlead AS cluster33_20_0_, this_.clustergroup AS cluster34_20_0_, this_.accountid AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionby AS reducti37_20_0_, this_.alertconfirmation AS alertco38_20_0_, this_.created AS created39_20_0_, this_.updated AS updated40_20_0_, this_.note AS note41_20_0_ FROM orders this_ WHERE this_.status = '' AND this_.deliverydate = '' ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 30 06 306 1s431ms 4ms 07 207 1s9ms 4ms 08 297 1s431ms 4ms 09 237 1s193ms 5ms 10 225 1s79ms 4ms 11 369 1s778ms 4ms 12 261 1s250ms 4ms 13 714 3s622ms 5ms 14 1,005 5s 4ms 15 63 311ms 4ms 16 6 70ms 11ms [ User: pharmisight - Total duration: 18s179ms - Times executed: 3690 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s179ms - Times executed: 3690 ]
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-05-01' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-04-30' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-04-30' ORDER BY this_.deliveryDate ASC;
Date: 2018-04-30 13:50:48 Duration: 44ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 14:19:26 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 09:09:31 Duration: 32ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 2ms 39ms 4ms 3,535 15s755ms INSERT INTO order_lines (routenumber, sapordernumber, ordernumber, answerordernumber, partcode, partdescription, patientname, firstname, middlename, lastname, patientdateofbirth, patientpostcode, patientpostcodeprefix, orderqty, allocqty, shipqty, adjustedqty, scannedqty, assignedqty, checkedqty, backorderqty, cancelqty, reducedqty, STATUS, reason, deliverydate, customer, sapcustomerid, billtotype, barcodedate, barcodebatch, patientid, isadded, isnotwithinage, isunderage, agecheck, expired, paperwork, ispaperworkproblem, paperworkresolution, pickerid, specialcare, paperworkenquirystarted, paperworkenquiryfinished, paperworkenquiryresponse, isnewproduct, extraprocedure, overaverageqtymax, overaverageqtyresolution, createuser, patientalert, itemalert, checkerid, reductionsummary, ismetabolic, rxstatus, lastregupdateusertype, lastregupdateusername, lastregupdatedate, sapplannedshipdate, sapplanneddeliverydate, requestedsapquantity, orderquantity, reglinecreatedusertype, reglinecreatedusername, reglinecreateddate, audited, ismetabolicpatient, addedcase, ordertype, created, updated, rxcheckby, note, item, alertconfirmation, homewardaction, order_line_id) VALUES ('', '', '', NULL, '', '', '', '', NULL, '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, '', '', '', '', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, '', NULL, NULL, '');Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 30 05 688 3s833ms 5ms 06 1,250 4s793ms 3ms 07 1,583 6s888ms 4ms 12 5 48ms 9ms 15 6 84ms 14ms 17 3 106ms 35ms [ User: pharmisight - Total duration: 15s755ms - Times executed: 3535 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s755ms - Times executed: 3535 ]
-
INSERT INTO ORDER_LINES (routeNumber, sapOrderNumber, orderNumber, answerOrderNumber, partCode, partDescription, patientName, firstName, middleName, lastName, patientDateOfBirth, patientPostcode, patientPostcodePrefix, orderQty, allocQty, shipQty, adjustedQty, scannedQty, assignedQty, checkedQty, backOrderQty, cancelQty, reducedQty, STATUS, reason, deliveryDate, customer, sapCustomerId, billToType, barcodeDate, barcodeBatch, patientId, isAdded, isNotWithinAge, isUnderAge, ageCheck, expired, paperwork, isPaperworkProblem, paperworkResolution, pickerId, specialCare, paperworkEnquiryStarted, paperworkEnquiryFinished, paperworkEnquiryResponse, isNewProduct, extraProcedure, overAverageQtyMax, overAverageQtyResolution, createUser, patientAlert, itemAlert, checkerId, reductionSummary, isMetabolic, rxStatus, lastRegUpdateUserType, lastRegUpdateUserName, lastRegUpdateDate, sapPlannedShipDate, sapPlannedDeliveryDate, requestedSAPQuantity, orderQuantity, regLineCreatedUserType, regLineCreatedUserName, regLineCreatedDate, audited, isMetabolicPatient, addedCase, orderType, CREATED, UPDATED, rxCheckBy, note, item, alertConfirmation, homewardAction, ORDER_LINE_ID) VALUES ('8886772', '7472042', '5003912428', NULL, '74827', 'Infatrini Bottle 200ml', 'Adam Saunders', 'Adam', NULL, 'Saunders', '2017-05-22', 'GL52 8JQ', 'GL', '20', '20', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-05-01', 'Jennifer Edmonds', '685172025', 'Hospital_vod', NULL, NULL, '200379942', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Rachel Smart', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'rachel.smart@nutricia.connections', '2018-04-30 12:44:42', '2018-05-01', '2018-05-01', '20', '20', 'PMS HCP User Login', 'claire.harriss@nutricia.connections', '2017-10-17 12:47:11', NULL, NULL, NULL, NULL, '2018-04-30 17:33:04.358', NULL, NULL, NULL, '32965111', NULL, NULL, '213376992');
-
INSERT INTO ORDER_LINES (routeNumber, sapOrderNumber, orderNumber, answerOrderNumber, partCode, partDescription, patientName, firstName, middleName, lastName, patientDateOfBirth, patientPostcode, patientPostcodePrefix, orderQty, allocQty, shipQty, adjustedQty, scannedQty, assignedQty, checkedQty, backOrderQty, cancelQty, reducedQty, STATUS, reason, deliveryDate, customer, sapCustomerId, billToType, barcodeDate, barcodeBatch, patientId, isAdded, isNotWithinAge, isUnderAge, ageCheck, expired, paperwork, isPaperworkProblem, paperworkResolution, pickerId, specialCare, paperworkEnquiryStarted, paperworkEnquiryFinished, paperworkEnquiryResponse, isNewProduct, extraProcedure, overAverageQtyMax, overAverageQtyResolution, createUser, patientAlert, itemAlert, checkerId, reductionSummary, isMetabolic, rxStatus, lastRegUpdateUserType, lastRegUpdateUserName, lastRegUpdateDate, sapPlannedShipDate, sapPlannedDeliveryDate, requestedSAPQuantity, orderQuantity, regLineCreatedUserType, regLineCreatedUserName, regLineCreatedDate, audited, isMetabolicPatient, addedCase, orderType, CREATED, UPDATED, rxCheckBy, note, item, alertConfirmation, homewardAction, ORDER_LINE_ID) VALUES ('8886915', '7472259', '5003914414', NULL, '64191', 'Fresubin 2kcal Fibre Lemon 200ml ', 'George Pearson', 'George', NULL, 'Pearson', '1948-01-14', 'JE3 8JS', 'JE', '14', '14', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-05-01', 'Matthew Clement', '685182262', 'Pharmacy (CURO)', NULL, NULL, '200393252', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Sarah Carter', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'laura.doughty@nutricia.connections', '2018-03-09 09:19:21', '2018-04-30', '2018-05-01', '14', '14', 'PMS HCP User', 'simona.worrall@nutricia.connections', '2018-02-21 10:40:26', NULL, NULL, NULL, NULL, '2018-04-30 17:33:51.703', NULL, NULL, NULL, '2921', NULL, NULL, '213377002');
-
INSERT INTO ORDER_LINES (routeNumber, sapOrderNumber, orderNumber, answerOrderNumber, partCode, partDescription, patientName, firstName, middleName, lastName, patientDateOfBirth, patientPostcode, patientPostcodePrefix, orderQty, allocQty, shipQty, adjustedQty, scannedQty, assignedQty, checkedQty, backOrderQty, cancelQty, reducedQty, STATUS, reason, deliveryDate, customer, sapCustomerId, billToType, barcodeDate, barcodeBatch, patientId, isAdded, isNotWithinAge, isUnderAge, ageCheck, expired, paperwork, isPaperworkProblem, paperworkResolution, pickerId, specialCare, paperworkEnquiryStarted, paperworkEnquiryFinished, paperworkEnquiryResponse, isNewProduct, extraProcedure, overAverageQtyMax, overAverageQtyResolution, createUser, patientAlert, itemAlert, checkerId, reductionSummary, isMetabolic, rxStatus, lastRegUpdateUserType, lastRegUpdateUserName, lastRegUpdateDate, sapPlannedShipDate, sapPlannedDeliveryDate, requestedSAPQuantity, orderQuantity, regLineCreatedUserType, regLineCreatedUserName, regLineCreatedDate, audited, isMetabolicPatient, addedCase, orderType, CREATED, UPDATED, rxCheckBy, note, item, alertConfirmation, homewardAction, ORDER_LINE_ID) VALUES ('8886466', '7467102', '5003909776', NULL, '64433', 'Juvela LP Sliced Loaf 400g', 'Shafia Bham', 'Shafia', NULL, 'Bham', '1984-10-21', 'N16 6PS', 'N', '12', '12', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-05-01', 'Sophie Price', '685056488', 'Pharmacy (CURO)', NULL, NULL, '14622', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Richard Barkwill', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinators', 'heidi.griffiths@nutricia.connections', '2017-03-20 16:46:44', '2018-05-01', '2018-05-01', '12', '12', 'CURO PMS Data Migration', 'data.migration@nutricia.com', '2016-05-10 18:07:53', NULL, NULL, NULL, NULL, '2018-04-30 15:51:20.429', NULL, NULL, NULL, '3127', NULL, NULL, '213376972');
Date: 2018-04-30 17:33:04 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 17:33:51 Duration: 36ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:51:21 Duration: 33ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 0ms 19ms 3ms 11,132 41s354ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 30 06 756 2s749ms 3ms 07 792 2s849ms 3ms 08 1,428 5s162ms 3ms 09 1,264 4s806ms 3ms 10 772 2s500ms 3ms 11 1,228 4s179ms 3ms 12 880 3s272ms 3ms 13 1,788 6s922ms 3ms 14 1,876 7s618ms 4ms 15 124 479ms 3ms 16 140 505ms 3ms 17 84 305ms 3ms [ User: pharmisight - Total duration: 41s354ms - Times executed: 11132 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 41s354ms - Times executed: 11132 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-04-30' AND this_.rxStatus = '2';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-05-01' AND this_.rxStatus = '1';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-05-01' AND this_.rxStatus = '5';
Date: 2018-04-30 06:47:45 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 14:19:59 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 13:28:28 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 0ms 63ms 3ms 4,563 14s445ms UPDATE orders SET sapordernumber = '', answerordernumber = NULL, ordernumber = '', routenumber = '', billtotype = NULL, patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', customer = NULL, sapcustomerid = '', STATUS = '', patientid = '', isnotwithinage = NULL, expired = NULL, paperwork = NULL, deliverybarcode = NULL, deliverydate = '', rxstatus = '', createuser = '', subordertype = '', sapcontractid = '', salesforceordernumber = '', patienttype = '', ordertype = '', orderstatus = '', nhsnumber = '', individuallabelling = '', orderid = '', clusterlead = '', clustergroup = '', accountid = '', reduction = NULL, reductionby = NULL, alertconfirmation = NULL, created = '', updated = NULL, note = NULL WHERE order_id = '';Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 30 05 72 30ms 0ms 06 1,545 3s9ms 1ms 07 1,294 2s443ms 1ms 08 231 1s158ms 5ms 09 121 627ms 5ms 10 206 984ms 4ms 11 306 1s494ms 4ms 12 269 1s254ms 4ms 13 201 1s46ms 5ms 14 252 1s124ms 4ms 15 10 60ms 6ms 16 36 835ms 23ms 17 20 377ms 18ms [ User: pharmisight - Total duration: 14s445ms - Times executed: 4563 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s445ms - Times executed: 4563 ]
-
UPDATE ORDERS SET sapOrderNumber = '7461485', answerOrderNumber = NULL, orderNumber = '5003900300', routeNumber = '8884775', billToType = NULL, patientName = 'Alexander Marsh', firstName = 'Alexander', middleName = NULL, lastName = 'Marsh', patientDateOfBirth = '2013-07-16', patientPostcode = 'KT11 2RA', customer = NULL, sapCustomerId = '685114319', STATUS = 'Checked', patientId = '116150180', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-05-05', rxStatus = '1', createUser = 'Clare Sturgess', subOrderType = 'Standard', sapContractId = '650134760', salesforceOrderNumber = '10923013', patientType = 'NHMS', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '7122473716', individualLabelling = 'f', orderId = 'a4r1p000005rkdjAAA', clusterLead = 'Sophie Price', clusterGroup = 'NHMS GREAT ORMOND STREET HOSPITAL', accountId = '822279', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-04-30 07:22:03.056', UPDATED = NULL, note = NULL WHERE ORDER_ID = '207610852';
-
UPDATE ORDERS SET sapOrderNumber = '7472050', answerOrderNumber = NULL, orderNumber = '5003912429', routeNumber = '8886755', billToType = NULL, patientName = 'Louise Harris', firstName = 'Louise', middleName = NULL, lastName = 'Harris', patientDateOfBirth = '2005-07-25', patientPostcode = 'B62 8TJ', customer = NULL, sapCustomerId = '685073792', STATUS = 'Checked', patientId = '673401', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-04-30', rxStatus = '1', createUser = 'Richard Barkwill', subOrderType = 'Other', sapContractId = '650134745', salesforceOrderNumber = '10962048', patientType = 'NHMS', orderType = 'Ad Hoc', orderStatus = 'Confirmed', NHSnumber = '6510668564', individualLabelling = 'f', orderId = 'a4r1p000005sYnyAAE', clusterLead = 'Sophie Price', clusterGroup = 'NHMS BIRMINGHAM CHILDRENS HOSPITAL', accountId = '64812', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-04-30 15:38:53.309', UPDATED = NULL, note = NULL WHERE ORDER_ID = '207616202';
-
UPDATE ORDERS SET sapOrderNumber = '7461808', answerOrderNumber = NULL, orderNumber = '5003900549', routeNumber = '8884775', billToType = NULL, patientName = 'Ted Wilson', firstName = 'Ted', middleName = NULL, lastName = 'Wilson', patientDateOfBirth = '2011-04-25', patientPostcode = 'RH14 9TD', customer = NULL, sapCustomerId = '685156525', STATUS = 'Checked', patientId = '200200090', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-05-05', rxStatus = '1', createUser = 'Simon Church', subOrderType = 'Standard', sapContractId = '650105946', salesforceOrderNumber = '10926442', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '7094784724', individualLabelling = 'f', orderId = 'a4r1p000005rp24AAA', clusterLead = 'Simon Church', clusterGroup = 'CHICHESTER', accountId = '35795', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-04-30 07:22:03.136', UPDATED = NULL, note = NULL WHERE ORDER_ID = '207610892';
Date: 2018-04-30 16:34:25 Duration: 63ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:04:57 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:45:11 Duration: 35ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 0ms 40ms 0ms 48,797 46s373ms SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 30 05 1 0ms 0ms 06 15,220 11s922ms 0ms 07 142 252ms 1ms 08 197 335ms 1ms 09 2,240 2s356ms 1ms 10 6,734 6s859ms 1ms 11 6,027 6s88ms 1ms 12 4,282 4s102ms 0ms 13 5,069 4s913ms 0ms 14 5,013 5s262ms 1ms 15 1,132 1s318ms 1ms 16 1,405 1s386ms 0ms 17 1,227 1s314ms 1ms 20 108 257ms 2ms [ User: pharmisight - Total duration: 46s373ms - Times executed: 48797 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 46s373ms - Times executed: 48797 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200415802' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200417492' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200416522' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-04-30 20:00:30 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:43:04 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 20:00:30 Duration: 25ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 0ms 8ms 0ms 14,018 11s520ms UPDATE order_line_activities SET order_line_id = '' WHERE order_line_activity_id = '';Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 30 06 926 815ms 0ms 07 1,337 1s105ms 0ms 08 2,036 1s667ms 0ms 09 1,419 1s145ms 0ms 10 1,850 1s432ms 0ms 11 2,304 1s847ms 0ms 12 1,214 987ms 0ms 13 1,908 1s531ms 0ms 14 485 413ms 0ms 15 15 16ms 1ms 16 338 365ms 1ms 17 186 191ms 1ms [ User: pharmisight - Total duration: 11s520ms - Times executed: 14018 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s520ms - Times executed: 14018 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '213341862' WHERE ORDER_LINE_ACTIVITY_ID = '277290352';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '213352512' WHERE ORDER_LINE_ACTIVITY_ID = '277251042';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '213356582' WHERE ORDER_LINE_ACTIVITY_ID = '277254082';
Date: 2018-04-30 16:10:28 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 11:51:39 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 12:33:38 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 0ms 27ms 0ms 64,479 24s166ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 30 05 3 0ms 0ms 06 15,778 5s73ms 0ms 07 1,506 701ms 0ms 08 1,865 855ms 0ms 09 4,208 1s716ms 0ms 10 8,311 3s273ms 0ms 11 8,450 3s253ms 0ms 12 5,073 1s837ms 0ms 13 8,424 3s176ms 0ms 14 5,543 2s148ms 0ms 15 1,194 519ms 0ms 16 2,137 820ms 0ms 17 1,928 764ms 0ms 20 59 22ms 0ms [ User: pharmisight - Total duration: 24s166ms - Times executed: 64479 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 24s166ms - Times executed: 64479 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200416862' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200416842' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200417202' ORDER BY orders0_.order_id ASC;
Date: 2018-04-30 15:43:46 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:52:55 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 06:44:44 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 21ms 0ms 27,165 5s677ms UPDATE sym_outgoing_batch SET STATUS = '', load_id = '', extract_job_flag = '', load_flag = '', error_flag = '', byte_count = '', extract_count = '', sent_count = '', load_count = '', data_event_count = '', reload_event_count = '', insert_event_count = '', update_event_count = '', delete_event_count = '', other_event_count = '', ignore_count = '', router_millis = '', network_millis = '', filter_millis = '', load_millis = '', extract_millis = '', sql_state = NULL, sql_code = '', sql_message = NULL, failed_data_id = '', last_update_hostname = '', last_update_time = '' WHERE batch_id = '' AND node_id = '';Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 30 00 60 11ms 0ms 01 62 12ms 0ms 02 52 10ms 0ms 03 62 11ms 0ms 04 62 11ms 0ms 05 79 15ms 0ms 06 3,121 621ms 0ms 07 3,100 621ms 0ms 08 2,990 646ms 0ms 09 2,250 471ms 0ms 10 2,698 565ms 0ms 11 3,070 626ms 0ms 12 2,072 417ms 0ms 13 2,702 577ms 0ms 14 2,220 456ms 0ms 15 310 96ms 0ms 16 1,086 271ms 0ms 17 788 155ms 0ms 18 62 12ms 0ms 19 72 13ms 0ms 20 68 13ms 0ms 21 59 12ms 0ms 22 60 11ms 0ms 23 60 11ms 0ms [ User: symmetricds - Total duration: 5s677ms - Times executed: 27165 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s677ms - Times executed: 27165 ]
-
UPDATE sym_outgoing_batch SET STATUS = 'NE', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '0', extract_count = '0', sent_count = '0', load_count = '0', data_event_count = '5', reload_event_count = '0', insert_event_count = '1', update_event_count = '4', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '20', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '0', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-04-30 16:13:23.913' WHERE batch_id = '7462927' AND node_id = '0';
-
UPDATE sym_outgoing_batch SET STATUS = 'QY', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '0', extract_count = '1', sent_count = '0', load_count = '0', data_event_count = '3', reload_event_count = '0', insert_event_count = '1', update_event_count = '2', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '26', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '0', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-04-30 15:57:08.144' WHERE batch_id = '7462872' AND node_id = '2';
-
UPDATE sym_outgoing_batch SET STATUS = 'NE', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '0', extract_count = '0', sent_count = '0', load_count = '0', data_event_count = '4', reload_event_count = '0', insert_event_count = '1', update_event_count = '3', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '15', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '0', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-04-30 16:34:03.041' WHERE batch_id = '7462975' AND node_id = '0';
Date: 2018-04-30 16:13:24 Duration: 21ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 15:57:08 Duration: 17ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:34:03 Duration: 14ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 14ms 0ms 100,716 11s733ms SELECT orderlines0_.order_id AS order_i79_20_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 30 05 94 6ms 0ms 06 6,788 732ms 0ms 07 16,763 1s862ms 0ms 08 19,962 2s355ms 0ms 09 6,907 814ms 0ms 10 9,184 1s62ms 0ms 11 13,747 1s582ms 0ms 12 6,259 734ms 0ms 13 11,898 1s393ms 0ms 14 4,334 552ms 0ms 15 333 51ms 0ms 16 2,917 390ms 0ms 17 1,530 195ms 0ms [ User: pharmisight - Total duration: 11s733ms - Times executed: 100716 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s733ms - Times executed: 100716 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207595802' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207613342' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207603112' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-04-30 15:43:47 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 17:16:49 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 16:06:07 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 0ms 60ms 0ms 396,637 33s211ms COMMIT;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 30 00 13,112 562ms 0ms 01 12,236 317ms 0ms 02 12,204 319ms 0ms 03 12,222 375ms 0ms 04 12,243 343ms 0ms 05 12,319 361ms 0ms 06 24,531 3s301ms 0ms 07 24,111 3s252ms 0ms 08 24,278 3s235ms 0ms 09 20,739 2s306ms 0ms 10 22,466 2s729ms 0ms 11 24,132 3s466ms 0ms 12 21,260 2s524ms 0ms 13 22,886 2s723ms 0ms 14 21,885 2s413ms 0ms 15 13,022 627ms 0ms 16 15,449 1s406ms 0ms 17 14,437 923ms 0ms 18 12,248 322ms 0ms 19 12,269 369ms 0ms 20 11,984 325ms 0ms 21 12,192 339ms 0ms 22 12,212 328ms 0ms 23 12,200 337ms 0ms [ User: symmetricds - Total duration: 25s73ms - Times executed: 356033 ]
[ User: pharmisight - Total duration: 8s137ms - Times executed: 40604 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 33s186ms - Times executed: 396603 ]
[ Application: [unknown] - Total duration: 24ms - Times executed: 34 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-04-30 16:00:00 Duration: 60ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 04:20:01 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-04-30 12:49:37 Duration: 27ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
-
Events
Log levels
Key values
- 11,594,075 Log entries
Events distribution
Key values
- 0 PANIC entries
- 25 FATAL entries
- 5 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 18 Max number of times the same event was reported
- 30 Total events found
Rank Times reported Error 1 18 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 30 15 18 - FATAL: terminating connection due to administrator command
Date: 2018-04-30 15:37:26 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
2 2 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL on
Times Reported Most Frequent Error / Event #2
Day Hour Count Apr 30 23 2 - FATAL: no pg_hba.conf entry for host "66.240.236.119", user "postgres", database "template0", SSL on
- FATAL: no pg_hba.conf entry for host "66.240.236.119", user "postgres", database "-h", SSL on
Date: 2018-04-30 23:57:24 Database: template0 Application: [unknown] User: postgres Remote: 66.240.236.119 Code:
Date: 2018-04-30 23:57:28 Database: -h Application: [unknown] User: postgres Remote: 66.240.236.119 Code:
3 2 FATAL: unsupported frontend protocol 65363.19778: server supports 1.0 to 3.0
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 30 22 1 23 1 - FATAL: unsupported frontend protocol 65363.19778: server supports 1.0 to 3.0
Date: 2018-04-30 23:57:27 Database: [unknown] Application: [unknown] User: [unknown] Remote: 66.240.236.119 Code:
4 2 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 30 15 2 - LOG: database system was shut down at 2018-04-30 15:37:26 BST
- LOG: database system was shut down at 2018-04-30 15:39:45 BST
Date: 2018-04-30 15:38:09
Date: 2018-04-30 15:41:17
5 2 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL off
Times Reported Most Frequent Error / Event #5
Day Hour Count Apr 30 23 2 - FATAL: no pg_hba.conf entry for host "66.240.236.119", user "postgres", database "template0", SSL off
- FATAL: no pg_hba.conf entry for host "66.240.236.119", user "postgres", database "-h", SSL off
Date: 2018-04-30 23:57:25 Database: template0 Application: [unknown] User: postgres Remote: 66.240.236.119 Code:
Date: 2018-04-30 23:57:29 Database: -h Application: [unknown] User: postgres Remote: 66.240.236.119 Code:
6 2 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #6
Day Hour Count Apr 30 00 1 15 1 - ERROR: relation "gp_id" does not exist at character 20
Statement: select gpname from gp_id
Date: 2018-04-30 15:41:53 Database: pharmisight Application: PostgreSQL JDBC Driver User: symmetricds Remote: 10.10.10.1 Code:
7 1 FATAL: unsupported frontend protocol 27265.28208: server supports 1.0 to 3.0
Times Reported Most Frequent Error / Event #7
Day Hour Count Apr 30 22 1 - FATAL: unsupported frontend protocol 27265.28208: server supports 1.0 to 3.0
Date: 2018-04-30 22:46:53 Database: [unknown] Application: [unknown] User: [unknown] Remote: 208.100.26.232 Code:
8 1 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #8
Day Hour Count Apr 30 06 1 - LOG: process 14699 still waiting for ShareLock on transaction 19070214 after 1000.096 ms
Detail: Process holding the lock: 14675. Wait queue: 14699.
Context: while updating tuple (1208,111) in relation "flow_reports"
Statement: update FLOW_REPORTS set routeNumber=$1, roundDeliveryDate=$2, distributionPoint=$3, fullyPicked=$4, outbaseRoutesCorrectlyGrouped=$5, causeOfDelay=$6, pharmacy100CheckTime=$7, linesHeldBack=$8, packTime100=$9, replenish=$10, comment=$11, pickDateTime=$12, failedTargetPickTime=$13, actualPaperworkCompleteTime=$14, changedPickDateTime=$15, CREATED=$16, UPDATED=$17, note=$18 where FLOW_REPORT_ID=$19Date: 2018-04-30 06:14:35 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code: