-
Global information
- Generated on Tue Dec 18 00:00:26 2018
- Log file: /var/log/postgresql/postgresql-9.6-main.log.1
- Parsed 13,098,039 log entries in 24s
- Log start from 2018-12-17 00:00:00 to 2018-12-17 23:59:59
-
Overview
Global Stats
- 2,259 Number of unique normalized queries
- 3,998,954 Number of queries
- 13m35s Total query duration
- 2018-12-17 00:00:00 First query
- 2018-12-17 23:59:59 Last query
- 11,269 queries/s at 2018-12-17 06:11:39 Query peak
- 8 Number of events
- 3 Number of unique normalized events
- 4 Max number of times the same event was reported
- 0 Number of cancellation
- 482 Total number of automatic vacuums
- 625 Total number of automatic analyzes
- 4 Number temporary file
- 10.46 MiB Max size of temporary file
- 9.58 MiB Average size of temporary file
- 2,035 Total number of sessions
- 3 sessions at 2018-12-17 07:14:02 Session peak
- 10d15h56m59s Total duration of sessions
- 7m32s Average duration of sessions
- 1,965 Average queries per session
- 400ms Average queries duration per session
- 2,035 Total number of connections
- 7 connections/s at 2018-12-17 13:26:32 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 11,269 queries/s Query Peak
- 2018-12-17 06:11:39 Date
SELECT Traffic
Key values
- 2,183 queries/s Query Peak
- 2018-12-17 07:20:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 11,061 queries/s Query Peak
- 2018-12-17 06:11:38 Date
Queries duration
Key values
- 13m35s Total query duration
Prepared queries ratio
Key values
- 2.43 Ratio of bind vs prepare
- 132.21 % 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) Dec 17 00 104,039 0ms 19ms 0ms 71ms 267ms 1s732ms 01 94,091 0ms 14ms 0ms 61ms 124ms 188ms 02 94,228 0ms 17ms 0ms 71ms 102ms 172ms 03 94,203 0ms 15ms 0ms 75ms 91ms 185ms 04 93,837 0ms 25ms 0ms 68ms 87ms 200ms 05 93,996 0ms 16ms 0ms 67ms 84ms 179ms 06 332,973 0ms 1s811ms 0ms 4s753ms 6s31ms 7s18ms 07 379,765 0ms 1s919ms 0ms 4s363ms 5s773ms 6s585ms 08 220,020 0ms 177ms 0ms 1s523ms 1s756ms 2s209ms 09 212,902 0ms 2s153ms 0ms 1s311ms 1s839ms 2s612ms 10 256,000 0ms 168ms 0ms 2s56ms 2s187ms 3s891ms 11 287,939 0ms 151ms 0ms 2s702ms 3s453ms 3s621ms 12 213,452 0ms 3s938ms 0ms 2s423ms 2s827ms 8s5ms 13 275,992 0ms 1s334ms 0ms 3s184ms 3s942ms 5s405ms 14 205,705 0ms 206ms 0ms 2s107ms 2s822ms 3s166ms 15 188,001 0ms 7s853ms 0ms 2s311ms 2s900ms 24s433ms 16 123,947 0ms 176ms 0ms 1s23ms 1s948ms 2s639ms 17 156,381 0ms 296ms 0ms 1s484ms 2s322ms 3s616ms 18 105,532 0ms 29ms 0ms 94ms 117ms 564ms 19 94,642 0ms 25ms 0ms 75ms 100ms 449ms 20 96,540 0ms 54ms 0ms 86ms 200ms 802ms 21 93,040 0ms 33ms 0ms 75ms 113ms 520ms 22 92,358 0ms 20ms 0ms 63ms 158ms 462ms 23 89,371 0ms 27ms 0ms 69ms 208ms 402ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 17 00 38,819 0 0ms 33ms 38ms 357ms 01 32,579 0 0ms 31ms 37ms 125ms 02 32,633 0 0ms 35ms 41ms 121ms 03 32,622 0 0ms 34ms 43ms 129ms 04 32,522 0 0ms 32ms 37ms 140ms 05 32,544 0 0ms 30ms 37ms 139ms 06 136,604 0 0ms 989ms 1s874ms 2s850ms 07 171,748 0 0ms 1s683ms 2s85ms 2s912ms 08 104,344 0 0ms 552ms 868ms 1s418ms 09 103,896 0 0ms 862ms 1s34ms 2s231ms 10 130,157 0 0ms 1s285ms 1s663ms 2s740ms 11 156,411 0 0ms 1s898ms 2s339ms 3s122ms 12 108,374 0 0ms 1s358ms 1s985ms 2s561ms 13 162,446 0 0ms 2s190ms 2s798ms 3s982ms 14 109,961 0 0ms 1s236ms 1s819ms 2s700ms 15 97,611 0 0ms 1s358ms 2s99ms 2s774ms 16 54,225 0 0ms 136ms 935ms 2s302ms 17 78,467 0 0ms 773ms 1s280ms 2s817ms 18 36,333 0 0ms 35ms 41ms 149ms 19 32,853 0 0ms 32ms 37ms 169ms 20 35,051 0 0ms 33ms 46ms 192ms 21 30,876 0 0ms 33ms 38ms 57ms 22 29,225 0 0ms 34ms 38ms 51ms 23 28,281 0 0ms 31ms 38ms 44ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 17 00 283 990 83 0 0ms 7ms 9ms 15ms 01 168 615 82 0 0ms 1ms 7ms 14ms 02 156 612 82 0 0ms 1ms 6ms 11ms 03 152 611 82 0 0ms 1ms 8ms 10ms 04 88 581 81 0 0ms 1ms 7ms 10ms 05 92 586 81 0 0ms 1ms 8ms 9ms 06 70,293 24,236 464 0 0ms 565ms 1s505ms 2s775ms 07 70,993 24,583 583 0 0ms 629ms 1s364ms 2s957ms 08 16,124 8,117 387 0 0ms 281ms 392ms 496ms 09 12,444 6,900 376 0 0ms 185ms 255ms 325ms 10 19,697 9,250 422 0 0ms 301ms 353ms 499ms 11 20,842 9,534 428 0 0ms 248ms 340ms 427ms 12 11,564 6,644 360 0 0ms 133ms 217ms 324ms 13 13,729 9,008 383 0 0ms 193ms 237ms 350ms 14 8,665 6,141 285 0 0ms 128ms 159ms 235ms 15 7,556 4,530 310 0 2ms 121ms 170ms 307ms 16 2,000 1,678 172 0 0ms 19ms 45ms 148ms 17 4,219 2,860 220 0 0ms 72ms 120ms 156ms 18 386 2,190 122 0 0ms 11ms 14ms 20ms 19 161 654 126 0 0ms 1ms 8ms 14ms 20 1,621 1,057 153 0 0ms 1ms 9ms 87ms 21 876 795 107 0 0ms 1ms 8ms 54ms 22 2,272 1,131 111 0 0ms 1ms 8ms 102ms 23 1,988 1,034 106 0 0ms 1ms 8ms 106ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Dec 17 00 59,659 104,003 1.74 90.11% 01 55,009 94,055 1.71 95.23% 02 55,226 94,192 1.71 95.48% 03 55,133 94,167 1.71 95.35% 04 55,066 93,801 1.70 95.71% 05 54,791 93,960 1.71 95.06% 06 94,401 332,937 3.53 33.40% 07 100,080 378,244 3.78 30.60% 08 82,399 219,035 2.66 47.28% 09 80,812 212,866 2.63 48.15% 10 86,991 255,964 2.94 41.62% 11 90,662 287,903 3.18 37.83% 12 80,478 213,416 2.65 47.71% 13 78,650 275,929 3.51 34.06% 14 75,500 205,669 2.72 46.38% 15 76,546 187,929 2.46 52.42% 16 61,321 123,860 2.02 71.24% 17 66,914 155,114 2.32 57.26% 18 60,242 105,496 1.75 90.26% 19 55,386 94,606 1.71 95.08% 20 54,695 96,504 1.76 88.98% 21 55,270 93,004 1.68 97.19% 22 55,735 92,322 1.66 98.42% 23 53,603 89,335 1.67 98.07% Day Hour Count Average / Second Dec 17 00 103 0.03/s 01 95 0.03/s 02 96 0.03/s 03 94 0.03/s 04 98 0.03/s 05 88 0.02/s 06 82 0.02/s 07 82 0.02/s 08 65 0.02/s 09 68 0.02/s 10 68 0.02/s 11 88 0.02/s 12 78 0.02/s 13 65 0.02/s 14 69 0.02/s 15 111 0.03/s 16 84 0.02/s 17 85 0.02/s 18 82 0.02/s 19 80 0.02/s 20 89 0.02/s 21 85 0.02/s 22 102 0.03/s 23 78 0.02/s Day Hour Count Average Duration Dec 17 00 103 5m41s 01 95 6m30s 02 96 6m18s 03 94 6m16s 04 98 6m13s 05 88 6m6s 06 82 7m53s 07 82 7m36s 08 65 9m17s 09 65 9m22s 10 71 8m40s 11 85 7m47s 12 78 8m33s 13 68 12m34s 14 65 8m9s 15 115 8m42s 16 84 7m41s 17 85 8m40s 18 82 7m28s 19 80 7m13s 20 89 6m55s 21 85 7m6s 22 102 5m55s 23 78 7m36s -
Connections
Established Connections
Key values
- 7 connections Connection Peak
- 2018-12-17 13:26:32 Date
Connections per database
Key values
- pharmisight Main Database
- 2,035 connections Total
Connections per user
Key values
- symmetricds Main User
- 2,035 connections Total
-
Sessions
Simultaneous sessions
Key values
- 3 sessions Session Peak
- 2018-12-17 07:14:02 Date
Histogram of session times
Key values
- 1,375 60000-600000ms duration
Sessions per database
Key values
- pharmisight Main Database
- 2,035 sessions Total
Sessions per user
Key values
- symmetricds Main User
- 2,035 sessions Total
Sessions per host
Key values
- 10.10.10.1 Main Host
- 2,035 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 3,047 buffers Checkpoint Peak
- 2018-12-17 07:25:39 Date
- 149.994 seconds Highest write time
- 0.060 seconds Sync time
Checkpoints Wal files
Key values
- 4 files Wal files usage Peak
- 2018-12-17 06:15:36 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 Dec 17 00 1,042 104.425s 0.015s 104.485s 01 742 74.446s 0.031s 74.524s 02 630 63.209s 0.015s 63.341s 03 737 73.933s 0.012s 73.985s 04 629 63.096s 0.017s 63.154s 05 668 67.024s 0.016s 67.08s 06 12,945 1,106.691s 0.048s 1,106.798s 07 15,198 1,303.48s 0.057s 1,303.587s 08 7,675 768.572s 0.028s 768.642s 09 5,552 561.287s 0.035s 561.366s 10 6,631 663.787s 0.029s 663.857s 11 8,216 824.634s 0.092s 824.763s 12 5,514 555.98s 0.036s 556.057s 13 8,029 767.182s 0.02s 767.246s 14 6,249 625.001s 0.029s 625.072s 15 4,076 408.65s 0.026s 408.717s 16 1,426 142.964s 0.017s 143.026s 17 2,635 263.971s 0.019s 264.029s 18 2,006 200.839s 0.018s 200.897s 19 659 66.112s 0.016s 66.182s 20 834 83.681s 0.013s 83.735s 21 625 62.589s 0.014s 62.642s 22 957 95.995s 0.012s 96.043s 23 809 81.054s 0.016s 81.114s Day Hour Added Removed Recycled Synced files Longest sync Average sync Dec 17 00 0 0 1 370 0.002s 0s 01 0 0 0 359 0.012s 0s 02 0 0 0 359 0.002s 0s 03 0 0 0 360 0.001s 0s 04 0 0 0 350 0.002s 0s 05 0 0 0 344 0.002s 0s 06 0 2 10 1,407 0.008s 0s 07 0 3 8 1,475 0.002s 0s 08 0 2 1 1,215 0.002s 0s 09 0 0 3 1,127 0.003s 0s 10 0 0 2 1,188 0.001s 0s 11 0 0 4 1,344 0.038s 0s 12 0 0 2 1,271 0.002s 0s 13 0 0 3 1,238 0.002s 0s 14 0 0 2 1,190 0.002s 0s 15 0 0 2 1,206 0.002s 0s 16 0 0 1 598 0.002s 0s 17 0 0 0 878 0.002s 0s 18 0 0 1 393 0.004s 0s 19 0 0 0 359 0.002s 0s 20 0 0 1 316 0.002s 0s 21 0 0 0 265 0.003s 0s 22 0 0 0 277 0.001s 0s 23 0 0 1 269 0.002s 0s Day Hour Count Avg time (sec) Dec 17 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 Dec 17 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
- 18.69 MiB Temp Files size Peak
- 2018-12-17 07:16:35 Date
Number of temporary files
Key values
- 2 per second Temp Files Peak
- 2018-12-17 07:16:35 Date
Temporary Files Activity
Day Hour Count Total size Average size Dec 17 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 1 10.46 MiB 10.46 MiB 07 3 27.87 MiB 9.29 MiB 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 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0.95 sec Highest CPU-cost vacuum
Table public.sym_outgoing_batch
Database pharmisight - 2018-12-17 10:39:33 Date
- 11.80 sec Highest CPU-cost analyze
Table public.eps_header
Database pharmisight - 2018-12-17 13:28:48 Date
Analyzes per table
Key values
- public.sym_node_communication (202) Main table analyzed (database pharmisight)
- 625 analyzes Total
Table Number of analyzes pharmisight.public.sym_node_communication 202 pharmisight.public.sym_data_gap 114 pharmisight.public.sym_sequence 110 pharmisight.public.sym_outgoing_batch 100 pharmisight.public.sym_node_channel_ctl 24 pharmisight.public.sym_incoming_batch 21 pharmisight.public.sym_data_event 17 pharmisight.public.sym_data 16 pharmisight.public.sym_lock 11 pharmisight.public.sym_node_host 5 pharmisight.public.item_codes 2 pharmisight.public.patients 1 pharmisight.public.eps_header 1 pharmisight.public.flow_report_summary_months 1 Total 625 Vacuums per table
Key values
- public.sym_node_communication (200) Main table vacuumed on database pharmisight
- 482 vacuums Total
Table Number of vacuums Index scans pharmisight.public.sym_node_communication 200 0 pharmisight.public.sym_sequence 111 0 pharmisight.public.sym_data_gap 60 60 pharmisight.public.sym_outgoing_batch 52 50 pharmisight.public.sym_node_channel_ctl 24 0 pharmisight.public.sym_lock 11 0 pharmisight.public.sym_incoming_batch 8 8 pharmisight.pg_catalog.pg_statistic 7 7 pharmisight.public.sym_node_host 5 0 pharmisight.pg_toast.pg_toast_2619 3 3 pharmisight.public.item_codes 1 1 Total 482 129 Tuples removed per table
Key values
- public.sym_node_communication (11194) Main table with removed tuples on database pharmisight
- 28319 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_node_communication 200 0 11194 0 pharmisight.public.sym_sequence 111 0 6189 0 pharmisight.public.sym_data_gap 60 60 3199 1 pharmisight.pg_catalog.pg_statistic 7 7 1981 0 pharmisight.public.sym_outgoing_batch 52 50 1811 2 pharmisight.public.sym_node_channel_ctl 24 0 1279 0 pharmisight.public.sym_incoming_batch 8 8 1249 0 pharmisight.public.sym_lock 11 0 572 0 pharmisight.public.item_codes 1 1 353 0 pharmisight.public.sym_node_host 5 0 260 0 pharmisight.pg_toast.pg_toast_2619 3 3 232 0 Total 482 129 28,319 3 Pages removed per table
Key values
- public.sym_outgoing_batch (2) Main table with removed pages on database pharmisight
- 3 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_outgoing_batch 52 50 1811 2 pharmisight.public.sym_data_gap 60 60 3199 1 pharmisight.pg_toast.pg_toast_2619 3 3 232 0 pharmisight.public.sym_node_communication 200 0 11194 0 pharmisight.public.sym_sequence 111 0 6189 0 pharmisight.public.sym_incoming_batch 8 8 1249 0 pharmisight.pg_catalog.pg_statistic 7 7 1981 0 pharmisight.public.sym_lock 11 0 572 0 pharmisight.public.sym_node_host 5 0 260 0 pharmisight.public.sym_node_channel_ctl 24 0 1279 0 pharmisight.public.item_codes 1 1 353 0 Total 482 129 28,319 3 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Dec 17 00 11 13 01 12 14 02 10 11 03 11 12 04 9 12 05 12 10 06 44 67 07 40 59 08 35 48 09 33 43 10 33 47 11 36 47 12 29 39 13 30 36 14 23 35 15 23 26 16 13 18 17 18 21 18 12 15 19 12 11 20 8 10 21 10 10 22 11 11 23 7 10 - 0.95 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ExclusiveLock Main Lock Type
- 7 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 7 28s931ms 1s810ms 7s847ms 4s133ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, 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, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
Date: 2018-12-17 06:21:07 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver
Queries that waited the most
Rank Wait time Query 1 7s847ms 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, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-12-17 15:12:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
2 5s567ms 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, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-12-17 15:12:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
3 4s818ms 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, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-12-17 15:12:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
4 3s937ms 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, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-12-17 12:39:50 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
5 3s117ms 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, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-12-17 15:12:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
6 1s831ms 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, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-12-17 12:39:50 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
7 1s810ms 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, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-12-17 06:21:07 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Queries
Queries by type
Key values
- 1,808,582 Total read queries
- 1,212,666 Total write queries
Queries by database
Key values
- pharmisight Main database
- 3,998,954 Requests
- 13m35s (pharmisight)
- Main time consuming database
Queries by user
Key values
- symmetricds Main user
- 2,926,761 Requests
User Request type Count Duration pharmisight Total 1,163,108 11m33s DELETE 88 1s756ms INSERT 40,385 44s295ms OTHERS 2,613 81ms SELECT 974,073 7m39s TCL 82,610 9s971ms UPDATE 63,339 2m57s symmetricds Total 2,926,761 1m59s DDL 1 0ms DELETE 5,586 4s995ms INSERT 226,072 14s599ms OTHERS 1,011,356 17s206ms SELECT 864,185 40s743ms TCL 757,985 28s979ms UPDATE 61,576 13s139ms tony Total 900 4s582ms SELECT 900 4s582ms Duration by user
Key values
- 11m33s (pharmisight) Main time consuming user
User Request type Count Duration pharmisight Total 1,163,108 11m33s DELETE 88 1s756ms INSERT 40,385 44s295ms OTHERS 2,613 81ms SELECT 974,073 7m39s TCL 82,610 9s971ms UPDATE 63,339 2m57s symmetricds Total 2,926,761 1m59s DDL 1 0ms DELETE 5,586 4s995ms INSERT 226,072 14s599ms OTHERS 1,011,356 17s206ms SELECT 864,185 40s743ms TCL 757,985 28s979ms UPDATE 61,576 13s139ms tony Total 900 4s582ms SELECT 900 4s582ms Queries by host
Key values
- 10.10.10.1 Main host
- 4,089,869 Requests
- 13m33s (10.10.10.1)
- Main time consuming host
Queries by application
Key values
- PostgreSQL JDBC Driver Main application
- 3,992,570 Requests
- 13m30s (PostgreSQL JDBC Driver)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2018-12-17 11:18:38 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 3,908,403 0-1ms duration
Slowest individual queries
Rank Duration Query 1 7s853ms UPDATE FLOW_REPORTS SET routeNumber = '9241884', roundDeliveryDate = '2018-12-22', distributionPoint = 'D Leeds', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 15:17:45', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-12-17 11:31:35.135', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 10:30:47.494', UPDATED = '2018-12-17 15:12:36.151', note = NULL WHERE FLOW_REPORT_ID = '200473062';[ Date: 2018-12-17 15:12:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 5s588ms UPDATE FLOW_REPORTS SET routeNumber = '9241884', roundDeliveryDate = '2018-12-22', distributionPoint = 'D Leeds', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 15:17:45', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-12-17 11:31:35.135', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 10:30:47.494', UPDATED = '2018-12-17 15:12:36.151', note = NULL WHERE FLOW_REPORT_ID = '200473062';[ Date: 2018-12-17 15:12:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 4s827ms UPDATE FLOW_REPORTS SET routeNumber = '9241884', roundDeliveryDate = '2018-12-22', distributionPoint = 'D Leeds', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 15:17:45', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-12-17 11:31:35.135', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 10:30:47.494', UPDATED = '2018-12-17 15:12:36.151', note = NULL WHERE FLOW_REPORT_ID = '200473062';[ Date: 2018-12-17 15:12:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 3s938ms UPDATE FLOW_REPORTS SET routeNumber = '9241697', roundDeliveryDate = '2018-12-18', distributionPoint = 'Redditch', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2018-12-17 12:39:34.523', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 03:18:58', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2018-12-17 10:52:30.322', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 17:00:08.913', UPDATED = '2018-12-17 12:39:34.534', note = NULL WHERE FLOW_REPORT_ID = '200472862';[ Date: 2018-12-17 12:39:50 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 3s130ms UPDATE FLOW_REPORTS SET routeNumber = '9241884', roundDeliveryDate = '2018-12-22', distributionPoint = 'D Leeds', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 15:17:45', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-12-17 11:31:35.135', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 10:30:47.494', UPDATED = '2018-12-17 15:12:36.151', note = NULL WHERE FLOW_REPORT_ID = '200473062';[ Date: 2018-12-17 15:12:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 2s153ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.status <> 'Quarantine' AND (this_.patientAlert = '1' OR this_.itemAlert = '1') AND (this_.ageCheck <> '10608' OR (this_.patientAlert <> '0' OR this_.itemAlert <> '0') OR this_.status = 'Mismatch' OR this_.rxStatus = '2' OR (this_.overAverageQtyMax <> '0')) ORDER BY this_.routeNumber ASC, this_.lastName ASC, this_.partCode ASC LIMIT '1000';[ Date: 2018-12-17 09:09:25 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 1s919ms UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '54341360';[ Date: 2018-12-17 07:18:51 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 1s837ms UPDATE FLOW_REPORTS SET routeNumber = '9241697', roundDeliveryDate = '2018-12-18', distributionPoint = 'Redditch', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2018-12-17 12:39:34.523', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 03:18:58', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2018-12-17 10:52:30.322', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 17:00:08.913', UPDATED = '2018-12-17 12:39:34.534', note = NULL WHERE FLOW_REPORT_ID = '200472862';[ Date: 2018-12-17 12:39:50 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 1s811ms UPDATE FLOW_REPORTS SET routeNumber = '9241705', roundDeliveryDate = '2018-12-18', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-12-17 06:14:25.388', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 12:00:47.562', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200472942';[ Date: 2018-12-17 06:21:07 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 1s334ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2018-12-01' AND '2018-12-31';[ Date: 2018-12-17 13:29:41 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 1s47ms UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '105777720';[ Date: 2018-12-17 06:03:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 908ms UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '126953440';[ Date: 2018-12-17 06:13:59 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 658ms UPDATE ORDER_ROUNDS SET routeNumber = '9241656', uploadedByUserId = '4061', uploadedByUserName = 'Beverley Mitchell', updatedBy = NULL, updatedByUserName = NULL, orderRoundNote = NULL, firstCheckOut = NULL, allOrdersScannedOK = NULL, STATUS = 'Open', reopenedTimes = '0', lastReopenById = NULL, lastDoneCheckIn = NULL, lastDoneById = NULL, lastDoneByUserName = NULL, missingLabels = NULL, roundDeliveryDate = '2018-12-18', trolley = NULL, stack = NULL, picktime = NULL, uploadUpdated = NULL, patientAlert = NULL, mismatches = NULL, rxStatus = NULL, distributionPoint = 'C Irlam', audited = NULL, auditedBy = NULL, auditStatus = NULL, uploadFinished = NULL, lastRxCompleted = NULL, lastRxCompletedBy = NULL, orderRoundNoteReadBy = NULL, routeOrderLinesQty = '1424', dlxPickedLinesQty = '1424', flowReport = '200472642', CREATED = '2018-12-17 06:08:19.771', createdBy = NULL, UPDATED = NULL, note = NULL WHERE ORDER_ROUND_ID = '200508722';[ Date: 2018-12-17 06:14:28 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 461ms UPDATE FLOW_REPORTS SET routeNumber = '9241709', roundDeliveryDate = '2018-12-18', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 07:14:36', failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-12-17 06:14:25.924', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 12:00:29.354', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200472982';[ Date: 2018-12-17 06:21:33 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 365ms UPDATE FLOW_REPORTS SET routeNumber = '9241709', roundDeliveryDate = '2018-12-18', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 07:14:36', failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-12-17 06:14:25.924', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 12:00:29.354', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200472982';[ Date: 2018-12-17 06:21:32 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 344ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '212144812';[ Date: 2018-12-17 13:15:50 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 319ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '212132422';[ Date: 2018-12-17 13:02:59 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 312ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '212139962';[ Date: 2018-12-17 13:05:50 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 308ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '29032070' AND this_.partCode = '40694' AND this_.deliveryDate > '2018-05-19';[ Date: 2018-12-17 07:52:44 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 304ms 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.created BETWEEN '2018-12-01 00:00:00' AND '2018-12-31 00:00:00') AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2018-12-17 13:29:46 - 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 1m30s 130,649 0ms 46ms 0ms SELECT orderlines0_.order_round_id AS order_r80_28_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 17 06 6,625 5s182ms 0ms 07 10,074 7s849ms 0ms 08 2,614 1s997ms 0ms 09 6,193 4s615ms 0ms 10 8,535 6s90ms 0ms 11 17,246 11s965ms 0ms 12 11,722 8s333ms 0ms 13 24,788 16s486ms 0ms 14 15,703 10s509ms 0ms 15 13,152 8s382ms 0ms 16 4,701 3s15ms 0ms 17 9,074 5s828ms 0ms 20 222 183ms 0ms [ User: pharmisight - Total duration: 1m30s - Times executed: 130649 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m30s - Times executed: 130649 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200509062' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200509062' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200508762' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-12-17 10:21:33 Duration: 46ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 09:29:27 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:44:00 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 59s409ms 1,561 21ms 83ms 38ms SELECT count (*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> '';Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 17 06 26 1s95ms 42ms 07 108 4s133ms 38ms 08 60 2s402ms 40ms 09 130 5s428ms 41ms 10 148 5s740ms 38ms 11 325 12s696ms 39ms 12 147 5s746ms 39ms 13 312 11s359ms 36ms 14 117 4s197ms 35ms 15 102 3s745ms 36ms 16 26 828ms 31ms 17 60 2s35ms 33ms [ User: pharmisight - Total duration: 59s409ms - Times executed: 1561 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 59s409ms - Times executed: 1561 ]
-
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-12-17 11:39:31 Duration: 83ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 09:08:45 Duration: 82ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:51:32 Duration: 73ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 44s967ms 385 60ms 154ms 116ms 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 Dec 17 06 59 7s348ms 124ms 07 96 10s207ms 106ms 08 26 3s252ms 125ms 09 15 1s974ms 131ms 10 92 11s235ms 122ms 11 80 8s837ms 110ms 12 2 275ms 137ms 13 10 1s171ms 117ms 16 4 523ms 130ms 17 1 141ms 141ms [ User: pharmisight - Total duration: 44s967ms - Times executed: 385 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 44s967ms - Times executed: 385 ]
-
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 = '201252122' 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 = '201255372' 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 = '201252692' ORDER BY epscheckli0_.description ASC;
Date: 2018-12-17 06:58:17 Duration: 154ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:44:21 Duration: 151ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 09:53:20 Duration: 145ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 38s916ms 146,875 0ms 9ms 0ms SELECT orders0_.order_round_id AS order_r42_28_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 17 06 7,522 2s318ms 0ms 07 11,100 3s375ms 0ms 08 4,947 1s619ms 0ms 09 7,655 2s222ms 0ms 10 10,357 2s796ms 0ms 11 19,486 5s151ms 0ms 12 12,887 3s446ms 0ms 13 28,158 7s151ms 0ms 14 16,619 4s149ms 0ms 15 13,628 3s222ms 0ms 16 4,819 1s149ms 0ms 17 9,537 2s266ms 0ms 20 160 47ms 0ms [ User: pharmisight - Total duration: 38s916ms - Times executed: 146875 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 38s916ms - Times executed: 146875 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200508912' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200508632' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200508632' ORDER BY orders0_.order_id ASC;
Date: 2018-12-17 16:06:22 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:16:50 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:19:00 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 35s970ms 408,158 0ms 102ms 0ms COMMIT;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 17 00 13,014 488ms 0ms 01 12,160 287ms 0ms 02 12,179 293ms 0ms 03 12,178 301ms 0ms 04 12,132 284ms 0ms 05 12,167 292ms 0ms 06 25,524 3s641ms 0ms 07 29,580 4s577ms 0ms 08 22,645 3s115ms 0ms 09 22,104 2s688ms 0ms 10 24,733 3s367ms 0ms 11 26,216 3s755ms 0ms 12 20,877 2s604ms 0ms 13 22,675 2s603ms 0ms 14 18,865 1s859ms 0ms 15 18,009 1s728ms 0ms 16 13,995 672ms 0ms 17 15,550 1s164ms 0ms 18 13,855 772ms 0ms 19 12,230 306ms 0ms 20 11,794 304ms 0ms 21 12,106 289ms 0ms 22 11,946 288ms 0ms 23 11,624 279ms 0ms [ User: symmetricds - Total duration: 26s361ms - Times executed: 366878 ]
[ User: pharmisight - Total duration: 9s609ms - Times executed: 41280 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 35s926ms - Times executed: 408113 ]
[ Application: [unknown] - Total duration: 44ms - Times executed: 45 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-12-17 11:40:35 Duration: 102ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:20:14 Duration: 42ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:51:37 Duration: 36ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 27s338ms 726 22ms 84ms 37ms SELECT this_.order_round_id AS order_ro1_28_1_, this_.routenumber AS routenum2_28_1_, this_.uploadedbyuserid AS uploaded3_28_1_, this_.uploadedbyusername AS uploaded4_28_1_, this_.updatedby AS updatedb5_28_1_, this_.updatedbyusername AS updatedb6_28_1_, this_.orderroundnote AS orderrou7_28_1_, this_.firstcheckout AS firstche8_28_1_, this_.allordersscannedok AS allorder9_28_1_, this_.status AS status10_28_1_, this_.reopenedtimes AS reopene11_28_1_, this_.lastreopenbyid AS lastreo12_28_1_, this_.lastdonecheckin AS lastdon13_28_1_, this_.lastdonebyid AS lastdon14_28_1_, this_.lastdonebyusername AS lastdon15_28_1_, this_.missinglabels AS missing16_28_1_, this_.rounddeliverydate AS roundde17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadupdated AS uploadu21_28_1_, this_.patientalert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxstatus AS rxstatu24_28_1_, this_.distributionpoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedby AS audited27_28_1_, this_.auditstatus AS auditst28_28_1_, this_.uploadfinished AS uploadf29_28_1_, this_.lastrxcompleted AS lastrxc30_28_1_, this_.lastrxcompletedby AS lastrxc31_28_1_, this_.orderroundnotereadby AS orderro32_28_1_, this_.routeorderlinesqty AS routeor33_28_1_, this_.dlxpickedlinesqty AS dlxpick34_28_1_, this_.flowreport AS flowrep35_28_1_, this_.created AS created36_28_1_, this_.createdby AS created37_28_1_, this_.updated AS updated38_28_1_, this_.note AS note39_28_1_, f1_.flow_report_id AS flow_rep1_9_0_, f1_.routenumber AS routenum2_9_0_, f1_.rounddeliverydate AS rounddel3_9_0_, f1_.distributionpoint AS distribu4_9_0_, f1_.fullypicked AS fullypic5_9_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, f1_.causeofdelay AS causeofd7_9_0_, f1_.pharmacy100checktime AS pharmacy8_9_0_, f1_.linesheldback AS lineshel9_9_0_, f1_.packtime100 AS packtim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickdatetime AS pickdat13_9_0_, f1_.failedtargetpicktime AS failedt14_9_0_, f1_.actualpaperworkcompletetime AS actualp15_9_0_, f1_.changedpickdatetime AS changed16_9_0_, f1_.manuallychangedpicktime AS manuall17_9_0_, f1_.created AS created18_9_0_, f1_.updated AS updated19_9_0_, f1_.note AS note20_9_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 #6
Day Hour Count Duration Avg duration Dec 17 06 66 2s519ms 38ms 07 50 1s966ms 39ms 08 14 593ms 42ms 09 34 1s288ms 37ms 10 42 1s625ms 38ms 11 88 3s512ms 39ms 12 67 2s495ms 37ms 13 131 4s982ms 38ms 14 93 3s440ms 36ms 15 70 2s434ms 34ms 16 25 835ms 33ms 17 46 1s641ms 35ms [ User: pharmisight - Total duration: 27s338ms - Times executed: 726 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 27s338ms - Times executed: 726 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_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-12-17 00:00:00' AND this_.CREATED < '2018-12-17 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_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-12-17 00:00:00' AND this_.CREATED < '2018-12-17 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_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-12-17 00:00:00' AND this_.CREATED < '2018-12-17 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-12-17 11:33:06 Duration: 84ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:21:53 Duration: 76ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:18:14 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 22s840ms 2,064 0ms 31ms 11ms 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 #7
Day Hour Count Duration Avg duration Dec 17 06 185 2s9ms 10ms 07 225 2s190ms 9ms 08 430 4s820ms 11ms 09 140 1s516ms 10ms 10 261 2s921ms 11ms 11 247 2s615ms 10ms 12 101 1s199ms 11ms 13 123 1s251ms 10ms 14 156 1s827ms 11ms 15 84 1s64ms 12ms 16 17 210ms 12ms 17 95 1s213ms 12ms [ User: pharmisight - Total duration: 22s840ms - Times executed: 2064 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 22s840ms - Times executed: 2064 ]
-
UPDATE ORDER_LINES SET routeNumber = '9241696', sapOrderNumber = '8284592', orderNumber = '5004926207', answerOrderNumber = NULL, partCode = '42675', partDescription = 'Nutrison Energy MF 1000ml', patientName = 'Ramakrishan Ramabhadran', firstName = 'Ramakrishan', middleName = NULL, lastName = 'Ramabhadran', patientDateOfBirth = '1952-05-30', patientPostcode = 'CR2 7BB', patientPostcodePrefix = 'CR', 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-12-18', customer = 'Julia Kent', sapCustomerId = '685186863', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200436992', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001402', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Emma Sims', patientAlert = NULL, itemAlert = NULL, checkerId = '200001362', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User', lastRegUpdateUserName = 'mala.bhinda@nutricia.connections', lastRegUpdateDate = '2018-08-15 13:07:44', sapPlannedShipDate = '2018-12-17', sapPlannedDeliveryDate = '2018-12-18', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'katrina.halahan@nutricia.connections', regLineCreatedDate = '2018-04-16 15:11:57', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 06:05:48.757', UPDATED = NULL, rxCheckBy = '4062', note = 'Maria Giaquinto', item = '32965083', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216637462';
-
UPDATE ORDER_LINES SET routeNumber = '9241680', sapOrderNumber = '8284671', orderNumber = '5004926683', answerOrderNumber = NULL, partCode = '79754', partDescription = 'Fortisip Compact Strawberry 125ml', patientName = 'Ernest West', firstName = 'Ernest', middleName = NULL, lastName = 'West', patientDateOfBirth = '1956-05-31', patientPostcode = 'LL65 1PR', patientPostcodePrefix = 'LL', orderQty = '84', allocQty = '84', shipQty = NULL, adjustedQty = '60', scannedQty = '60', assignedQty = '0', checkedQty = '60', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOuter', reason = NULL, deliveryDate = '2018-12-18', customer = 'Nikita Jones', sapCustomerId = '685053906', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '102577', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001402', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Ernest West', patientAlert = NULL, itemAlert = NULL, checkerId = '4058', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'rebecca.james@nutricia.connections', lastRegUpdateDate = '2018-11-13 13:22:01', sapPlannedShipDate = '2018-12-17', sapPlannedDeliveryDate = '2018-12-18', requestedSAPQuantity = '84', orderQuantity = '84', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 16:25:14', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 06:05:48.274', UPDATED = NULL, rxCheckBy = '4061', note = 'Beverley Mitchell', item = '3549', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216635362';
-
UPDATE ORDER_LINES SET routeNumber = '9241594', sapOrderNumber = '8284826', orderNumber = '5004918999', answerOrderNumber = NULL, partCode = '83964', partDescription = 'Nutrini Low Energy MF 200ml', patientName = 'Erin Henderson', firstName = 'Erin', middleName = NULL, lastName = 'Henderson', patientDateOfBirth = '2011-01-10', patientPostcode = 'EH49 6LA', patientPostcodePrefix = 'EH', orderQty = '106', allocQty = '106', shipQty = NULL, adjustedQty = '82', scannedQty = '82', assignedQty = '0', checkedQty = '82', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-12-19', customer = 'Tracie Boulton', sapCustomerId = '685059483', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '722422', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001212', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Tracie Boulton', patientAlert = NULL, itemAlert = NULL, checkerId = '4058', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'sue.hudd@nutricia.connections', lastRegUpdateDate = '2018-04-10 13:16:43', sapPlannedShipDate = '2018-12-18', sapPlannedDeliveryDate = '2018-12-19', requestedSAPQuantity = '106', orderQuantity = '106', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 15:43:04', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 06:03:33.309', UPDATED = NULL, rxCheckBy = '4061', note = 'Beverley Mitchell', item = '32965573', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216620112';
Date: 2018-12-17 12:16:48 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 08:41:09 Duration: 30ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:31:34 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 21s601ms 144 0ms 7s853ms 150ms UPDATE flow_reports SET routenumber = '', rounddeliverydate = '', distributionpoint = '', fullypicked = '', outbaseroutescorrectlygrouped = '', causeofdelay = NULL, pharmacy100checktime = NULL, linesheldback = '', packtime100 = NULL, replenish = NULL, COMMENT = NULL, pickdatetime = '', failedtargetpicktime = '', actualpaperworkcompletetime = '', changedpickdatetime = '', manuallychangedpicktime = '', created = '', updated = '', note = NULL WHERE flow_report_id = '';Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 17 06 3 1ms 0ms 07 5 4ms 0ms 08 13 14ms 1ms 09 17 26ms 1ms 10 26 33ms 1ms 11 14 11ms 0ms 12 11 21ms 1ms 13 18 19ms 1ms 14 9 20ms 2ms 15 20 21s425ms 1s71ms 16 2 2ms 1ms 17 6 20ms 3ms [ User: pharmisight - Total duration: 21s601ms - Times executed: 144 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 21s601ms - Times executed: 144 ]
-
UPDATE FLOW_REPORTS SET routeNumber = '9241884', roundDeliveryDate = '2018-12-22', distributionPoint = 'D Leeds', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 15:17:45', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-12-17 11:31:35.135', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 10:30:47.494', UPDATED = '2018-12-17 15:12:36.151', note = NULL WHERE FLOW_REPORT_ID = '200473062';
-
UPDATE FLOW_REPORTS SET routeNumber = '9241884', roundDeliveryDate = '2018-12-22', distributionPoint = 'D Leeds', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 15:17:45', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-12-17 11:31:35.135', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 10:30:47.494', UPDATED = '2018-12-17 15:12:36.151', note = NULL WHERE FLOW_REPORT_ID = '200473062';
-
UPDATE FLOW_REPORTS SET routeNumber = '9241884', roundDeliveryDate = '2018-12-22', distributionPoint = 'D Leeds', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 15:17:45', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-12-17 11:31:35.135', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 10:30:47.494', UPDATED = '2018-12-17 15:12:36.151', note = NULL WHERE FLOW_REPORT_ID = '200473062';
Date: 2018-12-17 15:12:56 Duration: 7s853ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 15:12:56 Duration: 5s588ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 15:12:56 Duration: 4s827ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 20s382ms 1,561 5ms 88ms 13ms 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 #9
Day Hour Count Duration Avg duration Dec 17 06 26 297ms 11ms 07 108 1s330ms 12ms 08 60 735ms 12ms 09 130 1s766ms 13ms 10 148 1s835ms 12ms 11 325 4s291ms 13ms 12 147 2s10ms 13ms 13 312 4s71ms 13ms 14 117 1s509ms 12ms 15 102 1s345ms 13ms 16 26 304ms 11ms 17 60 883ms 14ms [ User: pharmisight - Total duration: 20s382ms - Times executed: 1561 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s382ms - Times executed: 1561 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-12-18' 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-12-18' 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-12-18' 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-12-17 17:08:15 Duration: 88ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 17:27:39 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:39:31 Duration: 34ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 18s563ms 2,070 0ms 32ms 8ms 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 Dec 17 06 733 6s222ms 8ms 07 1,114 10s19ms 8ms 08 184 1s960ms 10ms 09 4 47ms 11ms 12 4 30ms 7ms 13 21 190ms 9ms 15 8 68ms 8ms 17 2 22ms 11ms [ User: pharmisight - Total duration: 18s563ms - Times executed: 2070 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s563ms - Times executed: 2070 ]
-
UPDATE ORDER_LINES SET routeNumber = '9241908', sapOrderNumber = '8283090', orderNumber = '5004921898', answerOrderNumber = NULL, partCode = '79749', partDescription = 'Fortisip Compact Vanilla 125ml ', patientName = 'Gordon Hastings', firstName = 'Gordon', middleName = NULL, lastName = 'Hastings', patientDateOfBirth = '1967-03-12', patientPostcode = 'DG11 2HZ', patientPostcodePrefix = 'DG', orderQty = '8', allocQty = '8', shipQty = NULL, adjustedQty = NULL, scannedQty = NULL, assignedQty = NULL, checkedQty = NULL, backOrderQty = NULL, cancelQty = NULL, reducedQty = NULL, STATUS = 'ScannableOuter', reason = NULL, deliveryDate = '2018-12-22', customer = 'Tracie Boulton', sapCustomerId = '685060208', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '92609380', 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 = 'Lauren Rutter', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS System Administrator', lastRegUpdateUserName = 'louise.reys@nutricia.connections', lastRegUpdateDate = '2018-04-24 13:33:39', sapPlannedShipDate = '2018-12-21', sapPlannedDeliveryDate = '2018-12-22', requestedSAPQuantity = '8', orderQuantity = '8', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 16:24:58', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 07:12:15.809', UPDATED = NULL, rxCheckBy = '4061', note = 'Beverley Mitchell', item = '3409', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216655442';
-
UPDATE ORDER_LINES SET routeNumber = '9241648', sapOrderNumber = '8284375', orderNumber = '5004918146', answerOrderNumber = NULL, partCode = '79749', partDescription = 'Fortisip Compact Vanilla 125ml ', patientName = 'Finley Stockton', firstName = 'Finley', middleName = NULL, lastName = 'Stockton', patientDateOfBirth = '2006-02-07', patientPostcode = 'HU4 6QP', patientPostcodePrefix = 'HU', orderQty = '56', allocQty = '56', shipQty = NULL, adjustedQty = NULL, scannedQty = NULL, assignedQty = NULL, checkedQty = NULL, backOrderQty = NULL, cancelQty = NULL, reducedQty = NULL, STATUS = 'ScannableOuter', reason = NULL, deliveryDate = '2018-12-18', customer = 'Megan Hayward', sapCustomerId = '685050940', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '249804', 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 = 'Loretta Taylor', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'brenda.melville@nutricia.connections', lastRegUpdateDate = '2018-06-26 12:42:08', sapPlannedShipDate = '2018-12-17', sapPlannedDeliveryDate = '2018-12-18', requestedSAPQuantity = '56', orderQuantity = '56', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'caroline.playfair@nutricia.connections', regLineCreatedDate = '2017-12-20 15:27:04', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 06:05:48.639', UPDATED = NULL, rxCheckBy = '4061', note = 'Beverley Mitchell', item = '3409', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216638122';
-
UPDATE ORDER_LINES SET routeNumber = '9241713', sapOrderNumber = '8278841', orderNumber = '5004916910', answerOrderNumber = NULL, partCode = '40834', partDescription = 'Nutrison Soya MF 1500ml', patientName = 'Barbara Weston', firstName = 'Barbara', middleName = NULL, lastName = 'Weston', patientDateOfBirth = '1954-03-07', patientPostcode = 'PA34 4RJ', patientPostcodePrefix = 'PA', 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-12-18', customer = 'Tracie Boulton', sapCustomerId = '685053219', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '259230', 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 = 'George Houston', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User', lastRegUpdateUserName = 'lynda.henderson@nutricia.connections', lastRegUpdateDate = '2018-09-11 14:46:03', sapPlannedShipDate = '2018-12-17', sapPlannedDeliveryDate = '2018-12-18', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 17:30:08', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 06:05:48.234', UPDATED = NULL, rxCheckBy = '4062', note = 'Maria Giaquinto', item = '1441', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216627912';
Date: 2018-12-17 07:41:34 Duration: 32ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:46:47 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:26:34 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 17s714ms 6,244 1ms 12ms 2ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 17 06 104 262ms 2ms 07 432 1s158ms 2ms 08 240 575ms 2ms 09 520 1s389ms 2ms 10 592 1s471ms 2ms 11 1,300 3s875ms 2ms 12 588 1s816ms 3ms 13 1,248 3s671ms 2ms 14 468 1s352ms 2ms 15 408 1s212ms 2ms 16 104 268ms 2ms 17 240 658ms 2ms [ User: pharmisight - Total duration: 17s714ms - Times executed: 6244 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s714ms - Times executed: 6244 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-12-18' AND this_.rxStatus = '4';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-12-18' AND this_.rxStatus = '1';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-12-18' AND this_.rxStatus = '5';
Date: 2018-12-17 13:04:55 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:48:07 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 14:52:52 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 16s546ms 974,218 0ms 8ms 0ms SHOW TRANSACTION ISOLATION LEVEL;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 17 00 37,651 660ms 0ms 01 36,161 631ms 0ms 02 36,219 640ms 0ms 03 36,216 644ms 0ms 04 36,129 631ms 0ms 05 36,207 650ms 0ms 06 50,188 765ms 0ms 07 52,554 777ms 0ms 08 45,647 786ms 0ms 09 44,965 744ms 0ms 10 46,896 781ms 0ms 11 48,142 766ms 0ms 12 44,623 748ms 0ms 13 44,965 731ms 0ms 14 42,809 713ms 0ms 15 41,773 701ms 0ms 16 37,731 662ms 0ms 17 39,366 685ms 0ms 18 38,651 681ms 0ms 19 36,252 644ms 0ms 20 34,916 624ms 0ms 21 36,028 635ms 0ms 22 35,547 623ms 0ms 23 34,582 612ms 0ms [ User: symmetricds - Total duration: 16s517ms - Times executed: 973393 ]
[ User: pharmisight - Total duration: 29ms - Times executed: 825 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s546ms - Times executed: 974212 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 6 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2018-12-17 10:33:38 Duration: 8ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 15:47:45 Duration: 8ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:46:59 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 15s535ms 847 12ms 47ms 18ms SELECT this_.flow_report_id AS flow_rep1_9_0_, this_.routenumber AS routenum2_9_0_, this_.rounddeliverydate AS rounddel3_9_0_, this_.distributionpoint AS distribu4_9_0_, this_.fullypicked AS fullypic5_9_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, this_.causeofdelay AS causeofd7_9_0_, this_.pharmacy100checktime AS pharmacy8_9_0_, this_.linesheldback AS lineshel9_9_0_, this_.packtime100 AS packtim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickdatetime AS pickdat13_9_0_, this_.failedtargetpicktime AS failedt14_9_0_, this_.actualpaperworkcompletetime AS actualp15_9_0_, this_.changedpickdatetime AS changed16_9_0_, this_.manuallychangedpicktime AS manuall17_9_0_, this_.created AS created18_9_0_, this_.updated AS updated19_9_0_, this_.note AS note20_9_0_ FROM flow_reports this_ WHERE this_.created > '' AND this_.created < '' ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 17 06 134 3s7ms 22ms 07 87 1s901ms 21ms 08 14 308ms 22ms 09 33 617ms 18ms 10 43 770ms 17ms 11 89 1s612ms 18ms 12 70 1s248ms 17ms 13 136 2s196ms 16ms 14 93 1s473ms 15ms 15 72 1s140ms 15ms 16 27 441ms 16ms 17 49 815ms 16ms [ User: pharmisight - Total duration: 15s535ms - Times executed: 847 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s535ms - Times executed: 847 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-12-17 00:00:00' AND this_.CREATED < '2018-12-17 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-12-17 00:00:00' AND this_.CREATED < '2018-12-17 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-12-17 00:00:00' AND this_.CREATED < '2018-12-17 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-12-17 08:11:04 Duration: 47ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:21:54 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:19:07 Duration: 36ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 15s449ms 3,718 2ms 181ms 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 #14
Day Hour Count Duration Avg duration Dec 17 06 1,997 8s854ms 4ms 07 1,701 6s428ms 3ms 12 6 52ms 8ms 15 12 102ms 8ms 17 2 11ms 5ms [ User: pharmisight - Total duration: 15s449ms - Times executed: 3718 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s449ms - Times executed: 3718 ]
-
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 ('9241708', '8280194', '5004919652', NULL, '66675', 'Nutrison 800 Complete MF1000ml', 'Muhammed Safeer', 'Muhammed', NULL, 'Safeer', '2007-10-21', 'B65 0RL', 'B', '28', '28', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-12-18', 'Sarah Carter', '685061532', 'Pharmacy (CURO)', NULL, NULL, '325809', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Mary Wallington', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinators', 'saloua.ragbi@external.nutricia.connections', '2018-11-20 10:39:48', '2018-12-17', '2018-12-18', '28', '28', 'PMS HCP User Login', 'claire.harriss@nutricia.connections', '2018-11-19 13:53:58', NULL, NULL, NULL, NULL, '2018-12-17 06:05:48.864', NULL, NULL, NULL, '3617', NULL, NULL, '216621512');
-
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 ('9241649', '8287970', '5004911511', NULL, '88666', 'Juvela LP Pizza Bases (2 x 180g)', 'Summer Calvert', 'Summer', NULL, 'Calvert', '2005-07-11', 'WF1 4RG', 'WF', '4', '4', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-12-18', 'Sophie Price', '685049119', 'Pharmacy (CURO)', NULL, NULL, '318872', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Aarron Brownbill', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinators', 'heidi.griffiths@nutricia.connections', '2016-11-16 15:38:11', '2018-12-17', '2018-12-18', '4', '4', 'CURO PMS Data Migration', 'data.migration@nutricia.com', '2016-05-10 17:10:15', NULL, NULL, NULL, NULL, '2018-12-17 06:05:48.748', NULL, NULL, NULL, '3152', NULL, NULL, '216632482');
-
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 ('9241916', '8283013', '5004921826', NULL, '41116', 'Fortijuce Forest Fruits 200ml ', 'Simon Hole', 'Simon', NULL, 'Hole', '1986-05-20', 'DY9 0LF', 'DY', '2', '2', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-12-22', 'Gill Feltham', '685060240', 'Pharmacy (CURO)', NULL, NULL, '27480600', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Rebecca Hole', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'daisy.comley@nutricia.connections', '2018-10-10 10:32:42', '2018-12-21', '2018-12-22', '2', '2', 'CURO PMS Data Migration', 'data.migration@nutricia.com', '2016-05-10 16:57:12', NULL, NULL, NULL, NULL, '2018-12-17 07:12:15.761', NULL, NULL, NULL, '3501', NULL, NULL, '216657112');
Date: 2018-12-17 06:05:49 Duration: 181ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:08:06 Duration: 113ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:15:20 Duration: 104ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 15s403ms 649 12ms 48ms 23ms SELECT alerts0_.alert_confirmation_id AS alert_c10_1_0_, alerts0_.alert_id AS alert_id1_0_0_, alerts0_.alert_id AS alert_id1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientnote AS patientn3_0_1_, alerts0_.itemnote AS itemnote4_0_1_, alerts0_.confirmedchecker AS confirme5_0_1_, alerts0_.confirmedcheckerby AS confirme6_0_1_, alerts0_.isconfirmedbybarcode AS isconfir7_0_1_, alerts0_.confirmedpharmacist AS confirme8_0_1_, alerts0_.confirmedpharmacistby AS confirme9_0_1_ FROM alerts alerts0_ WHERE alerts0_.alert_confirmation_id = '' ORDER BY alerts0_.created ASC;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 17 06 11 305ms 27ms 07 22 546ms 24ms 08 73 1s726ms 23ms 09 82 1s946ms 23ms 10 118 2s817ms 23ms 11 124 2s880ms 23ms 12 70 1s674ms 23ms 13 53 1s139ms 21ms 14 22 547ms 24ms 15 43 1s33ms 24ms 16 18 433ms 24ms 17 13 351ms 27ms [ User: pharmisight - Total duration: 15s403ms - Times executed: 649 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s403ms - Times executed: 649 ]
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = '200623492' ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = '200622512' ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = '200623362' ORDER BY alerts0_.created ASC;
Date: 2018-12-17 11:10:22 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:27:04 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:32:19 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 14s17ms 5,100 0ms 19ms 2ms 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 Dec 17 06 1,818 3s241ms 1ms 07 1,881 4s69ms 2ms 08 333 1s480ms 4ms 09 118 567ms 4ms 10 201 956ms 4ms 11 216 984ms 4ms 12 134 644ms 4ms 13 148 632ms 4ms 14 97 535ms 5ms 15 96 509ms 5ms 16 10 67ms 6ms 17 48 329ms 6ms [ User: pharmisight - Total duration: 14s17ms - Times executed: 5100 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s17ms - Times executed: 5100 ]
-
UPDATE ORDERS SET sapOrderNumber = '8283450', answerOrderNumber = NULL, orderNumber = '5004922190', routeNumber = '9241886', billToType = NULL, patientName = 'Elliot Hunneysett', firstName = 'Elliot', middleName = NULL, lastName = 'Hunneysett', patientDateOfBirth = '2013-03-22', patientPostcode = 'DN37 0ES', customer = NULL, sapCustomerId = '685082756', STATUS = 'Checked', patientId = '80967400', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-12-22', rxStatus = '1', createUser = 'Katy Green', subOrderType = 'Standard', sapContractId = '650105956', salesforceOrderNumber = '11243086', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '6533833286', individualLabelling = 'f', orderId = 'a4r1p000006B0OiAAK', clusterLead = 'Isabella Carosi', clusterGroup = 'NORTH LINCOLNSHIRE & GOOLE NHSFT', accountId = '696696', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-12-17 07:12:15.879', UPDATED = NULL, note = NULL WHERE ORDER_ID = '209512242';
-
UPDATE ORDERS SET sapOrderNumber = '8284935', answerOrderNumber = NULL, orderNumber = '5004920622', routeNumber = '9241679', billToType = NULL, patientName = 'Billy Slater', firstName = 'Billy', middleName = NULL, lastName = 'Slater', patientDateOfBirth = '2016-08-09', patientPostcode = 'PE21 7PS', customer = NULL, sapCustomerId = '685190081', STATUS = 'Uploaded', patientId = '200424122', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-12-18', rxStatus = '1', createUser = 'Zoe Johnson', subOrderType = 'Standard', sapContractId = '650134795', salesforceOrderNumber = '11226138', patientType = 'NHMS', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '7156608258', individualLabelling = 'f', orderId = 'a4r1p000006AeOlAAK', clusterLead = 'Sophie Price', clusterGroup = 'NHMS NOTTINGHAM HEALTHCARE NHS TRST', accountId = '140681', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-12-17 06:05:48.454', UPDATED = NULL, note = NULL WHERE ORDER_ID = '209497252';
-
UPDATE ORDERS SET sapOrderNumber = '8283606', answerOrderNumber = NULL, orderNumber = '5004924937', routeNumber = '9241697', billToType = NULL, patientName = 'Dominic Damato', firstName = 'Dominic', middleName = NULL, lastName = 'Damato', patientDateOfBirth = '1997-06-10', patientPostcode = 'LE11 1HT', customer = NULL, sapCustomerId = '685070893', STATUS = 'Checked', patientId = '614624', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-12-18', rxStatus = '1', createUser = 'Nikita Jones', subOrderType = 'Standard', sapContractId = '650105858', salesforceOrderNumber = '11230330', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '6017684388', individualLabelling = 'f', orderId = 'a4r1p000006Ajq1AAC', clusterLead = 'Jack Pady', clusterGroup = 'LEICESTERSHIRE PARTNERSHIP NHS', accountId = '87328', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-12-17 06:05:48.841', UPDATED = NULL, note = NULL WHERE ORDER_ID = '209504362';
Date: 2018-12-17 16:04:05 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:31:34 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 12:30:35 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 13s938ms 97,324 0ms 37ms 0ms SELECT orderlines0_.order_id AS order_i79_22_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_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 Dec 17 06 7,357 804ms 0ms 07 11,615 1s249ms 0ms 08 13,377 1s527ms 0ms 09 8,777 1s323ms 0ms 10 13,353 2s748ms 0ms 11 11,826 2s516ms 0ms 12 6,367 749ms 0ms 13 9,507 1s418ms 0ms 14 6,335 651ms 0ms 15 4,061 452ms 0ms 16 1,440 151ms 0ms 17 3,309 344ms 0ms [ User: pharmisight - Total duration: 13s938ms - Times executed: 97324 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s938ms - Times executed: 97324 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208169272' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '205968092' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208066102' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-12-17 11:55:02 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 13:07:28 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 13:02:27 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 13s41ms 16,974 0ms 17ms 0ms UPDATE order_line_activities SET order_line_id = '' WHERE order_line_activity_id = '';Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 17 06 866 734ms 0ms 07 1,252 947ms 0ms 08 1,993 1s633ms 0ms 09 1,524 1s121ms 0ms 10 2,583 2s 0ms 11 2,845 2s56ms 0ms 12 1,638 1s212ms 0ms 13 1,680 1s144ms 0ms 14 984 800ms 0ms 15 927 794ms 0ms 16 187 155ms 0ms 17 495 439ms 0ms [ User: pharmisight - Total duration: 13s41ms - Times executed: 16974 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s41ms - Times executed: 16974 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '216630072' WHERE ORDER_LINE_ACTIVITY_ID = '298508972';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '216634582' WHERE ORDER_LINE_ACTIVITY_ID = '298466522';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '216636762' WHERE ORDER_LINE_ACTIVITY_ID = '298517852';
Date: 2018-12-17 11:30:18 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 09:37:47 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:52:12 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 10s430ms 208,231 0ms 4ms 0ms INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('', '', '', current_timestamp);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 17 00 66 7ms 0ms 01 74 6ms 0ms 02 68 6ms 0ms 03 66 5ms 0ms 04 36 3ms 0ms 05 38 4ms 0ms 06 58,906 2s545ms 0ms 07 59,112 2s381ms 0ms 08 12,538 779ms 0ms 09 9,290 556ms 0ms 10 15,112 914ms 0ms 11 15,876 950ms 0ms 12 8,478 517ms 0ms 13 9,542 556ms 0ms 14 5,558 344ms 0ms 15 5,542 355ms 0ms 16 1,298 77ms 0ms 17 3,156 202ms 0ms 18 40 4ms 0ms 19 58 5ms 0ms 20 827 51ms 0ms 21 432 22ms 0ms 22 1,130 66ms 0ms 23 988 63ms 0ms [ User: symmetricds - Total duration: 10s430ms - Times executed: 208231 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s430ms - Times executed: 208231 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('93689682', '8335457', 'redditch_bankstreet', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('93715774', '8337625', 'redditch_bankstreet', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('93691219', '8335464', 'redditch_cloud', current_timestamp);
Date: 2018-12-17 07:19:22 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:47:30 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:19:53 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 8s822ms 819 1ms 31ms 10ms 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 Dec 17 06 8 88ms 11ms 07 37 365ms 9ms 08 71 793ms 11ms 09 129 1s391ms 10ms 10 172 1s892ms 11ms 11 44 488ms 11ms 12 150 1s569ms 10ms 13 142 1s461ms 10ms 14 1 11ms 11ms 15 58 691ms 11ms 16 1 11ms 11ms 17 6 57ms 9ms [ User: pharmisight - Total duration: 8s822ms - Times executed: 819 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s822ms - Times executed: 819 ]
-
UPDATE ORDER_LINES SET routeNumber = '9241883', sapOrderNumber = '8283455', orderNumber = '5004922195', answerOrderNumber = NULL, partCode = '79786', partDescription = 'Fortisip Compact Forest Fruits 125ml', patientName = 'Hayden Nicholson', firstName = 'Hayden', middleName = NULL, lastName = 'Nicholson', patientDateOfBirth = '1934-02-16', patientPostcode = 'TS8 9EJ', patientPostcodePrefix = 'TS', orderQty = '56', allocQty = '56', shipQty = NULL, adjustedQty = '48', scannedQty = '48', assignedQty = '0', checkedQty = '48', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOuter', reason = NULL, deliveryDate = '2018-12-22', customer = 'Rebecca Gruncell', sapCustomerId = '685179424', billToType = 'GP Surgery', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200378212', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = NULL, isPaperworkProblem = NULL, paperworkResolution = NULL, pickerId = '43421260', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Jennifer Webb', patientAlert = NULL, itemAlert = NULL, checkerId = '200001362', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '4', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'brenda.melville@nutricia.connections', lastRegUpdateDate = '2018-08-10 12:31:54', sapPlannedShipDate = '2018-12-21', sapPlannedDeliveryDate = '2018-12-22', requestedSAPQuantity = '56', orderQuantity = '56', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'lesley.allan@nutricia.connections', regLineCreatedDate = '2017-12-29 11:47:25', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 07:12:15.878', UPDATED = NULL, rxCheckBy = NULL, note = NULL, item = '3437', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216657632';
-
UPDATE ORDER_LINES SET routeNumber = '9241883', sapOrderNumber = '8283906', orderNumber = '5004922359', answerOrderNumber = NULL, partCode = '79749', partDescription = 'Fortisip Compact Vanilla 125ml ', patientName = 'Edward Nisbet', firstName = 'Edward', middleName = NULL, lastName = 'Nisbet', patientDateOfBirth = '1949-02-18', patientPostcode = 'TS6 9RH', patientPostcodePrefix = 'TS', orderQty = '60', allocQty = '60', shipQty = NULL, adjustedQty = '60', scannedQty = '60', assignedQty = '0', checkedQty = '60', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-12-22', customer = 'Rebecca Gruncell', sapCustomerId = '685207022', billToType = 'GP Surgery', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200486062', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = NULL, isPaperworkProblem = NULL, paperworkResolution = NULL, pickerId = '43421260', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Jennifer Webb', patientAlert = NULL, itemAlert = NULL, checkerId = '200001362', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '4', lastRegUpdateUserType = 'PMS Coordinators', lastRegUpdateUserName = 'kelly.james@nutricia.connections', lastRegUpdateDate = '2018-10-02 15:25:39', sapPlannedShipDate = '2018-12-21', sapPlannedDeliveryDate = '2018-12-22', requestedSAPQuantity = '60', orderQuantity = '60', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'lesley.allan@nutricia.connections', regLineCreatedDate = '2018-09-28 09:23:27', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 07:12:15.902', UPDATED = NULL, rxCheckBy = NULL, note = NULL, item = '3409', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216657472';
-
UPDATE ORDER_LINES SET routeNumber = '9241647', sapOrderNumber = '8284705', orderNumber = '5004915630', answerOrderNumber = NULL, partCode = '40963', partDescription = 'Nutrison Energy 1500ml', patientName = 'Eileen Worton', firstName = 'Eileen', middleName = NULL, lastName = 'Worton', patientDateOfBirth = '1954-07-21', patientPostcode = 'TS10 5LH', patientPostcodePrefix = 'TS', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '22', scannedQty = '22', assignedQty = '0', checkedQty = '22', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-12-18', customer = 'Rebecca Gruncell', sapCustomerId = '685183248', billToType = 'GP Surgery', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200394292', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = NULL, isPaperworkProblem = NULL, paperworkResolution = NULL, pickerId = '200001392', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Gill Feltham', patientAlert = NULL, itemAlert = NULL, checkerId = '4061', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '4', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'rebecca.james@nutricia.connections', lastRegUpdateDate = '2018-12-11 19:26:18', sapPlannedShipDate = '2018-12-17', sapPlannedDeliveryDate = '2018-12-18', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'lesley.allan@nutricia.connections', regLineCreatedDate = '2018-11-08 11:29:16', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 06:05:48.42', UPDATED = NULL, rxCheckBy = NULL, note = NULL, item = '3162', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216625532';
Date: 2018-12-17 15:12:02 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 15:11:18 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:19:06 Duration: 28ms 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 974,218 16s546ms 0ms 8ms 0ms SHOW TRANSACTION ISOLATION LEVEL;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 17 00 37,651 660ms 0ms 01 36,161 631ms 0ms 02 36,219 640ms 0ms 03 36,216 644ms 0ms 04 36,129 631ms 0ms 05 36,207 650ms 0ms 06 50,188 765ms 0ms 07 52,554 777ms 0ms 08 45,647 786ms 0ms 09 44,965 744ms 0ms 10 46,896 781ms 0ms 11 48,142 766ms 0ms 12 44,623 748ms 0ms 13 44,965 731ms 0ms 14 42,809 713ms 0ms 15 41,773 701ms 0ms 16 37,731 662ms 0ms 17 39,366 685ms 0ms 18 38,651 681ms 0ms 19 36,252 644ms 0ms 20 34,916 624ms 0ms 21 36,028 635ms 0ms 22 35,547 623ms 0ms 23 34,582 612ms 0ms [ User: symmetricds - Total duration: 16s517ms - Times executed: 973393 ]
[ User: pharmisight - Total duration: 29ms - Times executed: 825 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s546ms - Times executed: 974212 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 6 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2018-12-17 10:33:38 Duration: 8ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 15:47:45 Duration: 8ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:46:59 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 471,201 5s762ms 0ms 2ms 0ms SELECT 0;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 17 00 17,297 217ms 0ms 01 15,969 204ms 0ms 02 15,993 202ms 0ms 03 15,995 203ms 0ms 04 15,936 204ms 0ms 05 15,977 204ms 0ms 06 27,826 302ms 0ms 07 29,340 308ms 0ms 08 23,624 298ms 0ms 09 23,161 275ms 0ms 10 24,527 291ms 0ms 11 25,245 295ms 0ms 12 22,824 275ms 0ms 13 22,937 269ms 0ms 14 21,267 257ms 0ms 15 20,622 247ms 0ms 16 17,357 216ms 0ms 17 18,737 239ms 0ms 18 17,710 227ms 0ms 19 16,088 206ms 0ms 20 15,604 202ms 0ms 21 15,956 206ms 0ms 22 15,774 204ms 0ms 23 15,435 199ms 0ms [ User: symmetricds - Total duration: 5s762ms - Times executed: 471201 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s762ms - Times executed: 471201 ]
-
SELECT 1;
-
SELECT 1;
-
SELECT 1;
Date: 2018-12-17 22:05:54 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 08:15:35 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:31:32 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 408,176 2s622ms 0ms 2ms 0ms BEGIN;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 17 00 13,015 83ms 0ms 01 12,160 77ms 0ms 02 12,179 79ms 0ms 03 12,178 79ms 0ms 04 12,132 76ms 0ms 05 12,167 78ms 0ms 06 25,524 157ms 0ms 07 29,582 185ms 0ms 08 22,648 153ms 0ms 09 22,105 144ms 0ms 10 24,733 162ms 0ms 11 26,214 168ms 0ms 12 20,878 133ms 0ms 13 22,678 146ms 0ms 14 18,865 117ms 0ms 15 18,012 113ms 0ms 16 14,000 90ms 0ms 17 15,551 99ms 0ms 18 13,855 90ms 0ms 19 12,230 78ms 0ms 20 11,794 77ms 0ms 21 12,106 77ms 0ms 22 11,946 75ms 0ms 23 11,624 74ms 0ms [ User: symmetricds - Total duration: 2s261ms - Times executed: 366877 ]
[ User: pharmisight - Total duration: 361ms - Times executed: 41299 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s621ms - Times executed: 408113 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 63 ]
-
BEGIN;
-
BEGIN;
-
BEGIN;
Date: 2018-12-17 08:02:34 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:44:34 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 18:52:50 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 408,158 35s970ms 0ms 102ms 0ms COMMIT;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 17 00 13,014 488ms 0ms 01 12,160 287ms 0ms 02 12,179 293ms 0ms 03 12,178 301ms 0ms 04 12,132 284ms 0ms 05 12,167 292ms 0ms 06 25,524 3s641ms 0ms 07 29,580 4s577ms 0ms 08 22,645 3s115ms 0ms 09 22,104 2s688ms 0ms 10 24,733 3s367ms 0ms 11 26,216 3s755ms 0ms 12 20,877 2s604ms 0ms 13 22,675 2s603ms 0ms 14 18,865 1s859ms 0ms 15 18,009 1s728ms 0ms 16 13,995 672ms 0ms 17 15,550 1s164ms 0ms 18 13,855 772ms 0ms 19 12,230 306ms 0ms 20 11,794 304ms 0ms 21 12,106 289ms 0ms 22 11,946 288ms 0ms 23 11,624 279ms 0ms [ User: symmetricds - Total duration: 26s361ms - Times executed: 366878 ]
[ User: pharmisight - Total duration: 9s609ms - Times executed: 41280 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 35s926ms - Times executed: 408113 ]
[ Application: [unknown] - Total duration: 44ms - Times executed: 45 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-12-17 11:40:35 Duration: 102ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:20:14 Duration: 42ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:51:37 Duration: 36ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 208,231 10s430ms 0ms 4ms 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 Dec 17 00 66 7ms 0ms 01 74 6ms 0ms 02 68 6ms 0ms 03 66 5ms 0ms 04 36 3ms 0ms 05 38 4ms 0ms 06 58,906 2s545ms 0ms 07 59,112 2s381ms 0ms 08 12,538 779ms 0ms 09 9,290 556ms 0ms 10 15,112 914ms 0ms 11 15,876 950ms 0ms 12 8,478 517ms 0ms 13 9,542 556ms 0ms 14 5,558 344ms 0ms 15 5,542 355ms 0ms 16 1,298 77ms 0ms 17 3,156 202ms 0ms 18 40 4ms 0ms 19 58 5ms 0ms 20 827 51ms 0ms 21 432 22ms 0ms 22 1,130 66ms 0ms 23 988 63ms 0ms [ User: symmetricds - Total duration: 10s430ms - Times executed: 208231 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s430ms - Times executed: 208231 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('93689682', '8335457', 'redditch_bankstreet', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('93715774', '8337625', 'redditch_bankstreet', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('93691219', '8335464', 'redditch_cloud', current_timestamp);
Date: 2018-12-17 07:19:22 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:47:30 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:19:53 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 146,875 38s916ms 0ms 9ms 0ms SELECT orders0_.order_round_id AS order_r42_28_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 17 06 7,522 2s318ms 0ms 07 11,100 3s375ms 0ms 08 4,947 1s619ms 0ms 09 7,655 2s222ms 0ms 10 10,357 2s796ms 0ms 11 19,486 5s151ms 0ms 12 12,887 3s446ms 0ms 13 28,158 7s151ms 0ms 14 16,619 4s149ms 0ms 15 13,628 3s222ms 0ms 16 4,819 1s149ms 0ms 17 9,537 2s266ms 0ms 20 160 47ms 0ms [ User: pharmisight - Total duration: 38s916ms - Times executed: 146875 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 38s916ms - Times executed: 146875 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200508912' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200508632' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200508632' ORDER BY orders0_.order_id ASC;
Date: 2018-12-17 16:06:22 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:16:50 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:19:00 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 130,649 1m30s 0ms 46ms 0ms SELECT orderlines0_.order_round_id AS order_r80_28_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 17 06 6,625 5s182ms 0ms 07 10,074 7s849ms 0ms 08 2,614 1s997ms 0ms 09 6,193 4s615ms 0ms 10 8,535 6s90ms 0ms 11 17,246 11s965ms 0ms 12 11,722 8s333ms 0ms 13 24,788 16s486ms 0ms 14 15,703 10s509ms 0ms 15 13,152 8s382ms 0ms 16 4,701 3s15ms 0ms 17 9,074 5s828ms 0ms 20 222 183ms 0ms [ User: pharmisight - Total duration: 1m30s - Times executed: 130649 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m30s - Times executed: 130649 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200509062' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200509062' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200508762' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-12-17 10:21:33 Duration: 46ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 09:29:27 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:44:00 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 97,324 13s938ms 0ms 37ms 0ms SELECT orderlines0_.order_id AS order_i79_22_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 17 06 7,357 804ms 0ms 07 11,615 1s249ms 0ms 08 13,377 1s527ms 0ms 09 8,777 1s323ms 0ms 10 13,353 2s748ms 0ms 11 11,826 2s516ms 0ms 12 6,367 749ms 0ms 13 9,507 1s418ms 0ms 14 6,335 651ms 0ms 15 4,061 452ms 0ms 16 1,440 151ms 0ms 17 3,309 344ms 0ms [ User: pharmisight - Total duration: 13s938ms - Times executed: 97324 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s938ms - Times executed: 97324 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208169272' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '205968092' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208066102' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-12-17 11:55:02 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 13:07:28 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 13:02:27 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 80,601 3s707ms 0ms 1ms 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 #9
Day Hour Count Duration Avg duration Dec 17 06 4,275 202ms 0ms 07 7,880 327ms 0ms 08 12,187 567ms 0ms 09 7,828 362ms 0ms 10 11,550 544ms 0ms 11 9,814 459ms 0ms 12 5,751 272ms 0ms 13 8,371 367ms 0ms 14 5,918 272ms 0ms 15 3,735 176ms 0ms 16 1,305 58ms 0ms 17 1,987 93ms 0ms [ User: pharmisight - Total duration: 3s707ms - Times executed: 80601 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s707ms - Times executed: 80601 ]
-
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 = '5004923790';
-
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 = '5004917891';
-
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 = '5004923650';
Date: 2018-12-17 10:35:39 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 13:42:55 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:54:36 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 77,075 3s459ms 0ms 1ms 0ms SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = '' ORDER BY start_id ASC;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 17 00 3,204 147ms 0ms 01 3,213 148ms 0ms 02 3,222 143ms 0ms 03 3,222 147ms 0ms 04 3,213 146ms 0ms 05 3,222 148ms 0ms 06 3,195 147ms 0ms 07 3,185 145ms 0ms 08 3,204 144ms 0ms 09 3,213 141ms 0ms 10 3,204 139ms 0ms 11 3,204 138ms 0ms 12 3,204 139ms 0ms 13 3,204 137ms 0ms 14 3,213 139ms 0ms 15 3,213 141ms 0ms 16 3,213 143ms 0ms 17 3,213 141ms 0ms 18 3,222 146ms 0ms 19 3,213 147ms 0ms 20 3,222 144ms 0ms 21 3,222 144ms 0ms 22 3,213 146ms 0ms 23 3,222 146ms 0ms [ User: symmetricds - Total duration: 3s459ms - Times executed: 77075 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s459ms - Times executed: 77075 ]
-
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-12-17 03:34:18 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 08:35:15 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 16:38:36 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 75,614 3s815ms 0ms 6ms 0ms SELECT * FROM order_rounds r WHERE r.flowreport = '';Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 17 06 5,776 319ms 0ms 07 8,263 443ms 0ms 08 1,358 76ms 0ms 09 3,270 175ms 0ms 10 4,171 217ms 0ms 11 8,633 437ms 0ms 12 6,800 344ms 0ms 13 13,328 663ms 0ms 14 9,114 439ms 0ms 15 7,111 327ms 0ms 16 2,698 130ms 0ms 17 4,932 232ms 0ms 20 160 8ms 0ms [ User: pharmisight - Total duration: 3s815ms - Times executed: 75614 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s815ms - Times executed: 75614 ]
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200472892';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200472642';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200472822';
Date: 2018-12-17 11:40:53 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:19:07 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:24:11 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 67,943 2s282ms 0ms 3ms 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 #12
Day Hour Count Duration Avg duration Dec 17 00 2,848 62ms 0ms 01 2,856 63ms 0ms 02 2,864 62ms 0ms 03 2,864 63ms 0ms 04 2,856 62ms 0ms 05 2,864 63ms 0ms 06 2,538 172ms 0ms 07 2,564 184ms 0ms 08 2,849 150ms 0ms 09 2,842 110ms 0ms 10 2,853 145ms 0ms 11 2,852 155ms 0ms 12 2,843 113ms 0ms 13 2,850 117ms 0ms 14 2,857 95ms 0ms 15 2,850 92ms 0ms 16 2,856 72ms 0ms 17 2,858 81ms 0ms 18 2,864 66ms 0ms 19 2,856 67ms 0ms 20 2,866 69ms 0ms 21 2,865 67ms 0ms 22 2,860 69ms 0ms 23 2,868 69ms 0ms [ User: symmetricds - Total duration: 2s282ms - Times executed: 67943 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s282ms - Times executed: 67943 ]
-
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 '93639967' AND '143639966')) 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 '93688524' AND '143688523')) 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 '93641800' AND '143641799')) ORDER BY d.data_id ASC;
Date: 2018-12-17 06:03:46 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:18:51 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:05:58 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 56,216 1s109ms 0ms 1ms 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 #13
Day Hour Count Duration Avg duration Dec 17 00 2,400 47ms 0ms 01 2,400 48ms 0ms 02 2,400 48ms 0ms 03 2,400 53ms 0ms 04 2,400 47ms 0ms 05 2,400 48ms 0ms 06 2,040 34ms 0ms 07 2,088 37ms 0ms 08 2,400 46ms 0ms 09 2,400 43ms 0ms 10 2,400 43ms 0ms 11 2,400 42ms 0ms 12 2,400 43ms 0ms 13 2,400 46ms 0ms 14 2,400 47ms 0ms 15 2,400 44ms 0ms 16 2,400 46ms 0ms 17 2,392 49ms 0ms 18 2,400 55ms 0ms 19 2,400 50ms 0ms 20 2,112 44ms 0ms 21 2,400 49ms 0ms 22 2,304 45ms 0ms 23 2,080 44ms 0ms [ User: symmetricds - Total duration: 1s109ms - Times executed: 56216 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s109ms - Times executed: 56216 ]
-
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 = 'pharmisight';
-
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 = 'config';
-
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';
Date: 2018-12-17 03:11:27 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 17:22:47 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 18:29:49 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 51,532 3s22ms 0ms 1ms 0ms SELECT itembarcod0_.item_id AS item_id12_15_0_, itembarcod0_.item_barcode_id AS item_bar1_16_0_, itembarcod0_.item_barcode_id AS item_bar1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hassiblings AS hassibli4_16_1_, itembarcod0_.itembarcodetype AS itembarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdby AS createdb8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedby AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.item_id AS item_id12_16_1_ FROM item_barcodes itembarcod0_ WHERE itembarcod0_.item_id = '' ORDER BY itembarcod0_.barcode ASC;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 17 00 2,640 129ms 0ms 01 1,760 85ms 0ms 02 1,760 74ms 0ms 03 1,760 88ms 0ms 04 1,760 103ms 0ms 05 1,760 101ms 0ms 06 2,267 141ms 0ms 07 2,713 144ms 0ms 08 3,189 210ms 0ms 09 2,870 183ms 0ms 10 4,302 271ms 0ms 11 3,452 217ms 0ms 12 2,646 170ms 0ms 13 2,775 168ms 0ms 14 2,278 146ms 0ms 15 3,424 210ms 0ms 16 1,884 111ms 0ms 17 2,132 135ms 0ms 18 1,760 99ms 0ms 19 1,760 99ms 0ms 20 1,760 79ms 0ms 21 880 50ms 0ms [ User: pharmisight - Total duration: 3s22ms - Times executed: 51532 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s22ms - Times executed: 51532 ]
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '2932' ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '3241' ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '33074081' ORDER BY itembarcod0_.barcode ASC;
Date: 2018-12-17 14:00:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:00:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:00:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 45,792 2s457ms 0ms 8ms 0ms SELECT itemcodes0_.item_id AS item_id11_15_0_, itemcodes0_.item_code_id AS item_cod1_18_0_, itemcodes0_.item_code_id AS item_cod1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemcodetype AS itemcode3_18_1_, itemcodes0_.isprimary AS isprimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdby AS createdb7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedby AS updatedb9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.item_id AS item_id11_18_1_ FROM item_codes itemcodes0_ WHERE itemcodes0_.item_id = '' ORDER BY itemcodes0_.code ASC;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 17 00 2,976 144ms 0ms 01 1,984 93ms 0ms 02 1,984 81ms 0ms 03 1,984 97ms 0ms 04 1,984 113ms 0ms 05 1,984 112ms 0ms 06 2,039 113ms 0ms 07 2,075 91ms 0ms 08 2,017 113ms 0ms 09 2,062 119ms 0ms 10 2,555 131ms 0ms 11 2,085 128ms 0ms 12 1,997 114ms 0ms 13 2,047 113ms 0ms 14 2,000 117ms 0ms 15 3,080 179ms 0ms 16 1,999 116ms 0ms 17 1,996 113ms 0ms 18 1,984 110ms 0ms 19 1,984 110ms 0ms 20 1,984 87ms 0ms 21 992 55ms 0ms [ User: pharmisight - Total duration: 2s457ms - Times executed: 45792 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s457ms - Times executed: 45792 ]
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '33074351' ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '2285' ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '52' ORDER BY itemcodes0_.code ASC;
Date: 2018-12-17 11:00:00 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 17:00:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 16:00:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 36,026 863ms 0ms 0ms 0ms SELECT nextval ('');Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 17 06 9,750 201ms 0ms 07 9,739 203ms 0ms 08 2,335 68ms 0ms 09 1,710 48ms 0ms 10 2,876 78ms 0ms 11 3,127 80ms 0ms 12 1,723 46ms 0ms 13 1,807 46ms 0ms 14 1,040 30ms 0ms 15 1,026 32ms 0ms 16 202 6ms 0ms 17 630 18ms 0ms 20 61 1ms 0ms [ User: pharmisight - Total duration: 863ms - Times executed: 36026 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 863ms - Times executed: 36026 ]
-
SELECT nextval ('rx_line_activities_sequence');
-
SELECT nextval ('order_line_activities_sequence');
-
SELECT nextval ('tablet_logs_sequence');
Date: 2018-12-17 14:35:54 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 09:36:17 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:34:39 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 29,802 5s856ms 0ms 5ms 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 Dec 17 00 50 9ms 0ms 01 42 8ms 0ms 02 42 8ms 0ms 03 42 7ms 0ms 04 32 5ms 0ms 05 34 6ms 0ms 06 3,176 592ms 0ms 07 3,570 632ms 0ms 08 2,942 611ms 0ms 09 2,760 569ms 0ms 10 3,264 649ms 0ms 11 3,332 656ms 0ms 12 2,512 502ms 0ms 13 2,536 480ms 0ms 14 1,754 351ms 0ms 15 1,754 360ms 0ms 16 548 107ms 0ms 17 1,102 232ms 0ms 18 42 9ms 0ms 19 62 13ms 0ms 20 68 13ms 0ms 21 46 8ms 0ms 22 46 9ms 0ms 23 46 8ms 0ms [ User: symmetricds - Total duration: 5s856ms - Times executed: 29802 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s856ms - Times executed: 29802 ]
-
UPDATE sym_outgoing_batch SET STATUS = 'SE', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '4683', extract_count = '1', sent_count = '1', 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 = '27', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '10', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-12-17 09:48:37.509' WHERE batch_id = '8337033' AND node_id = '2';
-
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 = '17', reload_event_count = '0', insert_event_count = '5', update_event_count = '12', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '13', 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-12-17 10:35:39.211' WHERE batch_id = '8337486' AND node_id = '0';
-
UPDATE sym_outgoing_batch SET STATUS = 'SE', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '19322', extract_count = '1', sent_count = '1', load_count = '0', data_event_count = '40', reload_event_count = '0', insert_event_count = '15', update_event_count = '25', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '41', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '15', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-12-17 11:41:39.984' WHERE batch_id = '8338215' AND node_id = '0';
Date: 2018-12-17 09:48:37 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:35:39 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:41:39 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 22,334 977ms 0ms 2ms 0ms SELECT flowreport0_.flow_report_id AS flow_rep1_9_0_, flowreport0_.routenumber AS routenum2_9_0_, flowreport0_.rounddeliverydate AS rounddel3_9_0_, flowreport0_.distributionpoint AS distribu4_9_0_, flowreport0_.fullypicked AS fullypic5_9_0_, flowreport0_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, flowreport0_.causeofdelay AS causeofd7_9_0_, flowreport0_.pharmacy100checktime AS pharmacy8_9_0_, flowreport0_.linesheldback AS lineshel9_9_0_, flowreport0_.packtime100 AS packtim10_9_0_, flowreport0_.replenish AS repleni11_9_0_, flowreport0_.comment AS comment12_9_0_, flowreport0_.pickdatetime AS pickdat13_9_0_, flowreport0_.failedtargetpicktime AS failedt14_9_0_, flowreport0_.actualpaperworkcompletetime AS actualp15_9_0_, flowreport0_.changedpickdatetime AS changed16_9_0_, flowreport0_.manuallychangedpicktime AS manuall17_9_0_, flowreport0_.created AS created18_9_0_, flowreport0_.updated AS updated19_9_0_, flowreport0_.note AS note20_9_0_ FROM flow_reports flowreport0_ WHERE flowreport0_.flow_report_id = '';Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 17 06 586 25ms 0ms 07 1,096 48ms 0ms 08 2,086 92ms 0ms 09 1,388 62ms 0ms 10 1,561 60ms 0ms 11 4,072 180ms 0ms 12 2,024 89ms 0ms 13 5,455 242ms 0ms 14 1,673 73ms 0ms 15 1,130 49ms 0ms 16 372 14ms 0ms 17 858 35ms 0ms 20 33 1ms 0ms [ User: pharmisight - Total duration: 977ms - Times executed: 22334 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 977ms - Times executed: 22334 ]
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, flowreport0_.routeNumber AS routeNum2_9_0_, flowreport0_.roundDeliveryDate AS roundDel3_9_0_, flowreport0_.distributionPoint AS distribu4_9_0_, flowreport0_.fullyPicked AS fullyPic5_9_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, flowreport0_.causeOfDelay AS causeOfD7_9_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_9_0_, flowreport0_.linesHeldBack AS linesHel9_9_0_, flowreport0_.packTime100 AS packTim10_9_0_, flowreport0_.replenish AS repleni11_9_0_, flowreport0_.comment AS comment12_9_0_, flowreport0_.pickDateTime AS pickDat13_9_0_, flowreport0_.failedTargetPickTime AS failedT14_9_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_9_0_, flowreport0_.changedPickDateTime AS changed16_9_0_, flowreport0_.manuallyChangedPickTime AS manuall17_9_0_, flowreport0_.CREATED AS CREATED18_9_0_, flowreport0_.UPDATED AS UPDATED19_9_0_, flowreport0_.note AS note20_9_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = '200473402';
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, flowreport0_.routeNumber AS routeNum2_9_0_, flowreport0_.roundDeliveryDate AS roundDel3_9_0_, flowreport0_.distributionPoint AS distribu4_9_0_, flowreport0_.fullyPicked AS fullyPic5_9_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, flowreport0_.causeOfDelay AS causeOfD7_9_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_9_0_, flowreport0_.linesHeldBack AS linesHel9_9_0_, flowreport0_.packTime100 AS packTim10_9_0_, flowreport0_.replenish AS repleni11_9_0_, flowreport0_.comment AS comment12_9_0_, flowreport0_.pickDateTime AS pickDat13_9_0_, flowreport0_.failedTargetPickTime AS failedT14_9_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_9_0_, flowreport0_.changedPickDateTime AS changed16_9_0_, flowreport0_.manuallyChangedPickTime AS manuall17_9_0_, flowreport0_.CREATED AS CREATED18_9_0_, flowreport0_.UPDATED AS UPDATED19_9_0_, flowreport0_.note AS note20_9_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = '200472542';
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, flowreport0_.routeNumber AS routeNum2_9_0_, flowreport0_.roundDeliveryDate AS roundDel3_9_0_, flowreport0_.distributionPoint AS distribu4_9_0_, flowreport0_.fullyPicked AS fullyPic5_9_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, flowreport0_.causeOfDelay AS causeOfD7_9_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_9_0_, flowreport0_.linesHeldBack AS linesHel9_9_0_, flowreport0_.packTime100 AS packTim10_9_0_, flowreport0_.replenish AS repleni11_9_0_, flowreport0_.comment AS comment12_9_0_, flowreport0_.pickDateTime AS pickDat13_9_0_, flowreport0_.failedTargetPickTime AS failedT14_9_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_9_0_, flowreport0_.changedPickDateTime AS changed16_9_0_, flowreport0_.manuallyChangedPickTime AS manuall17_9_0_, flowreport0_.CREATED AS CREATED18_9_0_, flowreport0_.UPDATED AS UPDATED19_9_0_, flowreport0_.note AS note20_9_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = '200472992';
Date: 2018-12-17 13:42:06 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 13:06:17 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 17:08:10 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 22,148 1s789ms 0ms 16ms 0ms SELECT orderlinea0_.order_line_id AS order_l16_24_0_, orderlinea0_.order_line_activity_id AS order_li1_25_0_, orderlinea0_.order_line_activity_id AS order_li1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedqty AS scannedq4_25_1_, orderlinea0_.assignedqty AS assigned5_25_1_, orderlinea0_.backorderqty AS backorde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodedate AS barcoded8_25_1_, orderlinea0_.barcodebatch AS barcodeb9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelqty AS cancelq11_25_1_, orderlinea0_.reducedqty AS reduced12_25_1_, orderlinea0_.mispickitemcode AS mispick13_25_1_, orderlinea0_.created AS created14_25_1_, orderlinea0_.missinglabels AS missing15_25_1_ FROM order_line_activities orderlinea0_ WHERE orderlinea0_.order_line_id = '' ORDER BY orderlinea0_.created ASC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 17 06 976 74ms 0ms 07 1,574 147ms 0ms 08 2,484 165ms 0ms 09 2,283 191ms 0ms 10 3,694 358ms 0ms 11 3,189 315ms 0ms 12 1,754 108ms 0ms 13 2,744 213ms 0ms 14 1,319 79ms 0ms 15 1,046 62ms 0ms 16 322 31ms 0ms 17 763 42ms 0ms [ User: pharmisight - Total duration: 1s789ms - Times executed: 22148 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s789ms - Times executed: 22148 ]
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '214363082' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '215563112' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '211876772' ORDER BY orderlinea0_.CREATED ASC;
Date: 2018-12-17 13:06:36 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 09:30:08 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:47:24 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 21,921 1s118ms 0ms 11ms 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 = '' AND this_.partcode = '';Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 17 06 989 53ms 0ms 07 1,831 88ms 0ms 08 2,833 146ms 0ms 09 2,217 122ms 0ms 10 4,038 207ms 0ms 11 3,216 157ms 0ms 12 1,755 89ms 0ms 13 1,934 93ms 0ms 14 1,007 50ms 0ms 15 1,146 59ms 0ms 16 232 12ms 0ms 17 723 37ms 0ms [ User: pharmisight - Total duration: 1s118ms - Times executed: 21921 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s118ms - Times executed: 21921 ]
-
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 = '5004923391' AND this_.partCode = '53494';
-
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 = '5004924973' AND this_.partCode = '50984';
-
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 = '5004911500' AND this_.partCode = '132035';
Date: 2018-12-17 09:36:14 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 13:19:07 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:24:10 Duration: 0ms 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 0ms 7s853ms 150ms 144 21s601ms UPDATE flow_reports SET routenumber = '', rounddeliverydate = '', distributionpoint = '', fullypicked = '', outbaseroutescorrectlygrouped = '', causeofdelay = NULL, pharmacy100checktime = NULL, linesheldback = '', packtime100 = NULL, replenish = NULL, COMMENT = NULL, pickdatetime = '', failedtargetpicktime = '', actualpaperworkcompletetime = '', changedpickdatetime = '', manuallychangedpicktime = '', created = '', updated = '', note = NULL WHERE flow_report_id = '';Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 17 06 3 1ms 0ms 07 5 4ms 0ms 08 13 14ms 1ms 09 17 26ms 1ms 10 26 33ms 1ms 11 14 11ms 0ms 12 11 21ms 1ms 13 18 19ms 1ms 14 9 20ms 2ms 15 20 21s425ms 1s71ms 16 2 2ms 1ms 17 6 20ms 3ms [ User: pharmisight - Total duration: 21s601ms - Times executed: 144 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 21s601ms - Times executed: 144 ]
-
UPDATE FLOW_REPORTS SET routeNumber = '9241884', roundDeliveryDate = '2018-12-22', distributionPoint = 'D Leeds', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 15:17:45', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-12-17 11:31:35.135', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 10:30:47.494', UPDATED = '2018-12-17 15:12:36.151', note = NULL WHERE FLOW_REPORT_ID = '200473062';
-
UPDATE FLOW_REPORTS SET routeNumber = '9241884', roundDeliveryDate = '2018-12-22', distributionPoint = 'D Leeds', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 15:17:45', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-12-17 11:31:35.135', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 10:30:47.494', UPDATED = '2018-12-17 15:12:36.151', note = NULL WHERE FLOW_REPORT_ID = '200473062';
-
UPDATE FLOW_REPORTS SET routeNumber = '9241884', roundDeliveryDate = '2018-12-22', distributionPoint = 'D Leeds', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-12-17 15:17:45', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-12-17 11:31:35.135', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-12-17 10:30:47.494', UPDATED = '2018-12-17 15:12:36.151', note = NULL WHERE FLOW_REPORT_ID = '200473062';
Date: 2018-12-17 15:12:56 Duration: 7s853ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 15:12:56 Duration: 5s588ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 15:12:56 Duration: 4s827ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 60ms 154ms 116ms 385 44s967ms 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 #2
Day Hour Count Duration Avg duration Dec 17 06 59 7s348ms 124ms 07 96 10s207ms 106ms 08 26 3s252ms 125ms 09 15 1s974ms 131ms 10 92 11s235ms 122ms 11 80 8s837ms 110ms 12 2 275ms 137ms 13 10 1s171ms 117ms 16 4 523ms 130ms 17 1 141ms 141ms [ User: pharmisight - Total duration: 44s967ms - Times executed: 385 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 44s967ms - Times executed: 385 ]
-
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 = '201252122' 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 = '201255372' 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 = '201252692' ORDER BY epscheckli0_.description ASC;
Date: 2018-12-17 06:58:17 Duration: 154ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:44:21 Duration: 151ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 09:53:20 Duration: 145ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 21ms 83ms 38ms 1,561 59s409ms SELECT count (*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> '';Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 17 06 26 1s95ms 42ms 07 108 4s133ms 38ms 08 60 2s402ms 40ms 09 130 5s428ms 41ms 10 148 5s740ms 38ms 11 325 12s696ms 39ms 12 147 5s746ms 39ms 13 312 11s359ms 36ms 14 117 4s197ms 35ms 15 102 3s745ms 36ms 16 26 828ms 31ms 17 60 2s35ms 33ms [ User: pharmisight - Total duration: 59s409ms - Times executed: 1561 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 59s409ms - Times executed: 1561 ]
-
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-12-17 11:39:31 Duration: 83ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 09:08:45 Duration: 82ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:51:32 Duration: 73ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 22ms 84ms 37ms 726 27s338ms SELECT this_.order_round_id AS order_ro1_28_1_, this_.routenumber AS routenum2_28_1_, this_.uploadedbyuserid AS uploaded3_28_1_, this_.uploadedbyusername AS uploaded4_28_1_, this_.updatedby AS updatedb5_28_1_, this_.updatedbyusername AS updatedb6_28_1_, this_.orderroundnote AS orderrou7_28_1_, this_.firstcheckout AS firstche8_28_1_, this_.allordersscannedok AS allorder9_28_1_, this_.status AS status10_28_1_, this_.reopenedtimes AS reopene11_28_1_, this_.lastreopenbyid AS lastreo12_28_1_, this_.lastdonecheckin AS lastdon13_28_1_, this_.lastdonebyid AS lastdon14_28_1_, this_.lastdonebyusername AS lastdon15_28_1_, this_.missinglabels AS missing16_28_1_, this_.rounddeliverydate AS roundde17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadupdated AS uploadu21_28_1_, this_.patientalert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxstatus AS rxstatu24_28_1_, this_.distributionpoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedby AS audited27_28_1_, this_.auditstatus AS auditst28_28_1_, this_.uploadfinished AS uploadf29_28_1_, this_.lastrxcompleted AS lastrxc30_28_1_, this_.lastrxcompletedby AS lastrxc31_28_1_, this_.orderroundnotereadby AS orderro32_28_1_, this_.routeorderlinesqty AS routeor33_28_1_, this_.dlxpickedlinesqty AS dlxpick34_28_1_, this_.flowreport AS flowrep35_28_1_, this_.created AS created36_28_1_, this_.createdby AS created37_28_1_, this_.updated AS updated38_28_1_, this_.note AS note39_28_1_, f1_.flow_report_id AS flow_rep1_9_0_, f1_.routenumber AS routenum2_9_0_, f1_.rounddeliverydate AS rounddel3_9_0_, f1_.distributionpoint AS distribu4_9_0_, f1_.fullypicked AS fullypic5_9_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, f1_.causeofdelay AS causeofd7_9_0_, f1_.pharmacy100checktime AS pharmacy8_9_0_, f1_.linesheldback AS lineshel9_9_0_, f1_.packtime100 AS packtim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickdatetime AS pickdat13_9_0_, f1_.failedtargetpicktime AS failedt14_9_0_, f1_.actualpaperworkcompletetime AS actualp15_9_0_, f1_.changedpickdatetime AS changed16_9_0_, f1_.manuallychangedpicktime AS manuall17_9_0_, f1_.created AS created18_9_0_, f1_.updated AS updated19_9_0_, f1_.note AS note20_9_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 #4
Day Hour Count Duration Avg duration Dec 17 06 66 2s519ms 38ms 07 50 1s966ms 39ms 08 14 593ms 42ms 09 34 1s288ms 37ms 10 42 1s625ms 38ms 11 88 3s512ms 39ms 12 67 2s495ms 37ms 13 131 4s982ms 38ms 14 93 3s440ms 36ms 15 70 2s434ms 34ms 16 25 835ms 33ms 17 46 1s641ms 35ms [ User: pharmisight - Total duration: 27s338ms - Times executed: 726 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 27s338ms - Times executed: 726 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_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-12-17 00:00:00' AND this_.CREATED < '2018-12-17 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_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-12-17 00:00:00' AND this_.CREATED < '2018-12-17 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_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-12-17 00:00:00' AND this_.CREATED < '2018-12-17 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-12-17 11:33:06 Duration: 84ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:21:53 Duration: 76ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:18:14 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 12ms 48ms 23ms 649 15s403ms SELECT alerts0_.alert_confirmation_id AS alert_c10_1_0_, alerts0_.alert_id AS alert_id1_0_0_, alerts0_.alert_id AS alert_id1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientnote AS patientn3_0_1_, alerts0_.itemnote AS itemnote4_0_1_, alerts0_.confirmedchecker AS confirme5_0_1_, alerts0_.confirmedcheckerby AS confirme6_0_1_, alerts0_.isconfirmedbybarcode AS isconfir7_0_1_, alerts0_.confirmedpharmacist AS confirme8_0_1_, alerts0_.confirmedpharmacistby AS confirme9_0_1_ FROM alerts alerts0_ WHERE alerts0_.alert_confirmation_id = '' ORDER BY alerts0_.created ASC;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 17 06 11 305ms 27ms 07 22 546ms 24ms 08 73 1s726ms 23ms 09 82 1s946ms 23ms 10 118 2s817ms 23ms 11 124 2s880ms 23ms 12 70 1s674ms 23ms 13 53 1s139ms 21ms 14 22 547ms 24ms 15 43 1s33ms 24ms 16 18 433ms 24ms 17 13 351ms 27ms [ User: pharmisight - Total duration: 15s403ms - Times executed: 649 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s403ms - Times executed: 649 ]
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = '200623492' ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = '200622512' ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = '200623362' ORDER BY alerts0_.created ASC;
Date: 2018-12-17 11:10:22 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:27:04 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:32:19 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 12ms 47ms 18ms 847 15s535ms SELECT this_.flow_report_id AS flow_rep1_9_0_, this_.routenumber AS routenum2_9_0_, this_.rounddeliverydate AS rounddel3_9_0_, this_.distributionpoint AS distribu4_9_0_, this_.fullypicked AS fullypic5_9_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, this_.causeofdelay AS causeofd7_9_0_, this_.pharmacy100checktime AS pharmacy8_9_0_, this_.linesheldback AS lineshel9_9_0_, this_.packtime100 AS packtim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickdatetime AS pickdat13_9_0_, this_.failedtargetpicktime AS failedt14_9_0_, this_.actualpaperworkcompletetime AS actualp15_9_0_, this_.changedpickdatetime AS changed16_9_0_, this_.manuallychangedpicktime AS manuall17_9_0_, this_.created AS created18_9_0_, this_.updated AS updated19_9_0_, this_.note AS note20_9_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 Dec 17 06 134 3s7ms 22ms 07 87 1s901ms 21ms 08 14 308ms 22ms 09 33 617ms 18ms 10 43 770ms 17ms 11 89 1s612ms 18ms 12 70 1s248ms 17ms 13 136 2s196ms 16ms 14 93 1s473ms 15ms 15 72 1s140ms 15ms 16 27 441ms 16ms 17 49 815ms 16ms [ User: pharmisight - Total duration: 15s535ms - Times executed: 847 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s535ms - Times executed: 847 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-12-17 00:00:00' AND this_.CREATED < '2018-12-17 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-12-17 00:00:00' AND this_.CREATED < '2018-12-17 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-12-17 00:00:00' AND this_.CREATED < '2018-12-17 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-12-17 08:11:04 Duration: 47ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:21:54 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:19:07 Duration: 36ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 5ms 88ms 13ms 1,561 20s382ms 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 Dec 17 06 26 297ms 11ms 07 108 1s330ms 12ms 08 60 735ms 12ms 09 130 1s766ms 13ms 10 148 1s835ms 12ms 11 325 4s291ms 13ms 12 147 2s10ms 13ms 13 312 4s71ms 13ms 14 117 1s509ms 12ms 15 102 1s345ms 13ms 16 26 304ms 11ms 17 60 883ms 14ms [ User: pharmisight - Total duration: 20s382ms - Times executed: 1561 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s382ms - Times executed: 1561 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-12-18' 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-12-18' 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-12-18' 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-12-17 17:08:15 Duration: 88ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 17:27:39 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:39:31 Duration: 34ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 0ms 31ms 11ms 2,064 22s840ms 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 Dec 17 06 185 2s9ms 10ms 07 225 2s190ms 9ms 08 430 4s820ms 11ms 09 140 1s516ms 10ms 10 261 2s921ms 11ms 11 247 2s615ms 10ms 12 101 1s199ms 11ms 13 123 1s251ms 10ms 14 156 1s827ms 11ms 15 84 1s64ms 12ms 16 17 210ms 12ms 17 95 1s213ms 12ms [ User: pharmisight - Total duration: 22s840ms - Times executed: 2064 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 22s840ms - Times executed: 2064 ]
-
UPDATE ORDER_LINES SET routeNumber = '9241696', sapOrderNumber = '8284592', orderNumber = '5004926207', answerOrderNumber = NULL, partCode = '42675', partDescription = 'Nutrison Energy MF 1000ml', patientName = 'Ramakrishan Ramabhadran', firstName = 'Ramakrishan', middleName = NULL, lastName = 'Ramabhadran', patientDateOfBirth = '1952-05-30', patientPostcode = 'CR2 7BB', patientPostcodePrefix = 'CR', 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-12-18', customer = 'Julia Kent', sapCustomerId = '685186863', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200436992', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001402', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Emma Sims', patientAlert = NULL, itemAlert = NULL, checkerId = '200001362', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User', lastRegUpdateUserName = 'mala.bhinda@nutricia.connections', lastRegUpdateDate = '2018-08-15 13:07:44', sapPlannedShipDate = '2018-12-17', sapPlannedDeliveryDate = '2018-12-18', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'katrina.halahan@nutricia.connections', regLineCreatedDate = '2018-04-16 15:11:57', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 06:05:48.757', UPDATED = NULL, rxCheckBy = '4062', note = 'Maria Giaquinto', item = '32965083', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216637462';
-
UPDATE ORDER_LINES SET routeNumber = '9241680', sapOrderNumber = '8284671', orderNumber = '5004926683', answerOrderNumber = NULL, partCode = '79754', partDescription = 'Fortisip Compact Strawberry 125ml', patientName = 'Ernest West', firstName = 'Ernest', middleName = NULL, lastName = 'West', patientDateOfBirth = '1956-05-31', patientPostcode = 'LL65 1PR', patientPostcodePrefix = 'LL', orderQty = '84', allocQty = '84', shipQty = NULL, adjustedQty = '60', scannedQty = '60', assignedQty = '0', checkedQty = '60', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOuter', reason = NULL, deliveryDate = '2018-12-18', customer = 'Nikita Jones', sapCustomerId = '685053906', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '102577', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001402', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Ernest West', patientAlert = NULL, itemAlert = NULL, checkerId = '4058', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'rebecca.james@nutricia.connections', lastRegUpdateDate = '2018-11-13 13:22:01', sapPlannedShipDate = '2018-12-17', sapPlannedDeliveryDate = '2018-12-18', requestedSAPQuantity = '84', orderQuantity = '84', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 16:25:14', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 06:05:48.274', UPDATED = NULL, rxCheckBy = '4061', note = 'Beverley Mitchell', item = '3549', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216635362';
-
UPDATE ORDER_LINES SET routeNumber = '9241594', sapOrderNumber = '8284826', orderNumber = '5004918999', answerOrderNumber = NULL, partCode = '83964', partDescription = 'Nutrini Low Energy MF 200ml', patientName = 'Erin Henderson', firstName = 'Erin', middleName = NULL, lastName = 'Henderson', patientDateOfBirth = '2011-01-10', patientPostcode = 'EH49 6LA', patientPostcodePrefix = 'EH', orderQty = '106', allocQty = '106', shipQty = NULL, adjustedQty = '82', scannedQty = '82', assignedQty = '0', checkedQty = '82', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-12-19', customer = 'Tracie Boulton', sapCustomerId = '685059483', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '722422', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001212', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Tracie Boulton', patientAlert = NULL, itemAlert = NULL, checkerId = '4058', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'sue.hudd@nutricia.connections', lastRegUpdateDate = '2018-04-10 13:16:43', sapPlannedShipDate = '2018-12-18', sapPlannedDeliveryDate = '2018-12-19', requestedSAPQuantity = '106', orderQuantity = '106', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 15:43:04', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 06:03:33.309', UPDATED = NULL, rxCheckBy = '4061', note = 'Beverley Mitchell', item = '32965573', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216620112';
Date: 2018-12-17 12:16:48 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 08:41:09 Duration: 30ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:31:34 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 1ms 31ms 10ms 819 8s822ms 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 Dec 17 06 8 88ms 11ms 07 37 365ms 9ms 08 71 793ms 11ms 09 129 1s391ms 10ms 10 172 1s892ms 11ms 11 44 488ms 11ms 12 150 1s569ms 10ms 13 142 1s461ms 10ms 14 1 11ms 11ms 15 58 691ms 11ms 16 1 11ms 11ms 17 6 57ms 9ms [ User: pharmisight - Total duration: 8s822ms - Times executed: 819 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s822ms - Times executed: 819 ]
-
UPDATE ORDER_LINES SET routeNumber = '9241883', sapOrderNumber = '8283455', orderNumber = '5004922195', answerOrderNumber = NULL, partCode = '79786', partDescription = 'Fortisip Compact Forest Fruits 125ml', patientName = 'Hayden Nicholson', firstName = 'Hayden', middleName = NULL, lastName = 'Nicholson', patientDateOfBirth = '1934-02-16', patientPostcode = 'TS8 9EJ', patientPostcodePrefix = 'TS', orderQty = '56', allocQty = '56', shipQty = NULL, adjustedQty = '48', scannedQty = '48', assignedQty = '0', checkedQty = '48', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOuter', reason = NULL, deliveryDate = '2018-12-22', customer = 'Rebecca Gruncell', sapCustomerId = '685179424', billToType = 'GP Surgery', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200378212', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = NULL, isPaperworkProblem = NULL, paperworkResolution = NULL, pickerId = '43421260', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Jennifer Webb', patientAlert = NULL, itemAlert = NULL, checkerId = '200001362', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '4', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'brenda.melville@nutricia.connections', lastRegUpdateDate = '2018-08-10 12:31:54', sapPlannedShipDate = '2018-12-21', sapPlannedDeliveryDate = '2018-12-22', requestedSAPQuantity = '56', orderQuantity = '56', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'lesley.allan@nutricia.connections', regLineCreatedDate = '2017-12-29 11:47:25', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 07:12:15.878', UPDATED = NULL, rxCheckBy = NULL, note = NULL, item = '3437', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216657632';
-
UPDATE ORDER_LINES SET routeNumber = '9241883', sapOrderNumber = '8283906', orderNumber = '5004922359', answerOrderNumber = NULL, partCode = '79749', partDescription = 'Fortisip Compact Vanilla 125ml ', patientName = 'Edward Nisbet', firstName = 'Edward', middleName = NULL, lastName = 'Nisbet', patientDateOfBirth = '1949-02-18', patientPostcode = 'TS6 9RH', patientPostcodePrefix = 'TS', orderQty = '60', allocQty = '60', shipQty = NULL, adjustedQty = '60', scannedQty = '60', assignedQty = '0', checkedQty = '60', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-12-22', customer = 'Rebecca Gruncell', sapCustomerId = '685207022', billToType = 'GP Surgery', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200486062', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = NULL, isPaperworkProblem = NULL, paperworkResolution = NULL, pickerId = '43421260', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Jennifer Webb', patientAlert = NULL, itemAlert = NULL, checkerId = '200001362', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '4', lastRegUpdateUserType = 'PMS Coordinators', lastRegUpdateUserName = 'kelly.james@nutricia.connections', lastRegUpdateDate = '2018-10-02 15:25:39', sapPlannedShipDate = '2018-12-21', sapPlannedDeliveryDate = '2018-12-22', requestedSAPQuantity = '60', orderQuantity = '60', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'lesley.allan@nutricia.connections', regLineCreatedDate = '2018-09-28 09:23:27', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 07:12:15.902', UPDATED = NULL, rxCheckBy = NULL, note = NULL, item = '3409', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216657472';
-
UPDATE ORDER_LINES SET routeNumber = '9241647', sapOrderNumber = '8284705', orderNumber = '5004915630', answerOrderNumber = NULL, partCode = '40963', partDescription = 'Nutrison Energy 1500ml', patientName = 'Eileen Worton', firstName = 'Eileen', middleName = NULL, lastName = 'Worton', patientDateOfBirth = '1954-07-21', patientPostcode = 'TS10 5LH', patientPostcodePrefix = 'TS', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '22', scannedQty = '22', assignedQty = '0', checkedQty = '22', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-12-18', customer = 'Rebecca Gruncell', sapCustomerId = '685183248', billToType = 'GP Surgery', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200394292', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = NULL, isPaperworkProblem = NULL, paperworkResolution = NULL, pickerId = '200001392', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Gill Feltham', patientAlert = NULL, itemAlert = NULL, checkerId = '4061', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '4', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'rebecca.james@nutricia.connections', lastRegUpdateDate = '2018-12-11 19:26:18', sapPlannedShipDate = '2018-12-17', sapPlannedDeliveryDate = '2018-12-18', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'lesley.allan@nutricia.connections', regLineCreatedDate = '2018-11-08 11:29:16', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 06:05:48.42', UPDATED = NULL, rxCheckBy = NULL, note = NULL, item = '3162', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216625532';
Date: 2018-12-17 15:12:02 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 15:11:18 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:19:06 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 0ms 32ms 8ms 2,070 18s563ms 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 Dec 17 06 733 6s222ms 8ms 07 1,114 10s19ms 8ms 08 184 1s960ms 10ms 09 4 47ms 11ms 12 4 30ms 7ms 13 21 190ms 9ms 15 8 68ms 8ms 17 2 22ms 11ms [ User: pharmisight - Total duration: 18s563ms - Times executed: 2070 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s563ms - Times executed: 2070 ]
-
UPDATE ORDER_LINES SET routeNumber = '9241908', sapOrderNumber = '8283090', orderNumber = '5004921898', answerOrderNumber = NULL, partCode = '79749', partDescription = 'Fortisip Compact Vanilla 125ml ', patientName = 'Gordon Hastings', firstName = 'Gordon', middleName = NULL, lastName = 'Hastings', patientDateOfBirth = '1967-03-12', patientPostcode = 'DG11 2HZ', patientPostcodePrefix = 'DG', orderQty = '8', allocQty = '8', shipQty = NULL, adjustedQty = NULL, scannedQty = NULL, assignedQty = NULL, checkedQty = NULL, backOrderQty = NULL, cancelQty = NULL, reducedQty = NULL, STATUS = 'ScannableOuter', reason = NULL, deliveryDate = '2018-12-22', customer = 'Tracie Boulton', sapCustomerId = '685060208', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '92609380', 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 = 'Lauren Rutter', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS System Administrator', lastRegUpdateUserName = 'louise.reys@nutricia.connections', lastRegUpdateDate = '2018-04-24 13:33:39', sapPlannedShipDate = '2018-12-21', sapPlannedDeliveryDate = '2018-12-22', requestedSAPQuantity = '8', orderQuantity = '8', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 16:24:58', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 07:12:15.809', UPDATED = NULL, rxCheckBy = '4061', note = 'Beverley Mitchell', item = '3409', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216655442';
-
UPDATE ORDER_LINES SET routeNumber = '9241648', sapOrderNumber = '8284375', orderNumber = '5004918146', answerOrderNumber = NULL, partCode = '79749', partDescription = 'Fortisip Compact Vanilla 125ml ', patientName = 'Finley Stockton', firstName = 'Finley', middleName = NULL, lastName = 'Stockton', patientDateOfBirth = '2006-02-07', patientPostcode = 'HU4 6QP', patientPostcodePrefix = 'HU', orderQty = '56', allocQty = '56', shipQty = NULL, adjustedQty = NULL, scannedQty = NULL, assignedQty = NULL, checkedQty = NULL, backOrderQty = NULL, cancelQty = NULL, reducedQty = NULL, STATUS = 'ScannableOuter', reason = NULL, deliveryDate = '2018-12-18', customer = 'Megan Hayward', sapCustomerId = '685050940', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '249804', 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 = 'Loretta Taylor', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'brenda.melville@nutricia.connections', lastRegUpdateDate = '2018-06-26 12:42:08', sapPlannedShipDate = '2018-12-17', sapPlannedDeliveryDate = '2018-12-18', requestedSAPQuantity = '56', orderQuantity = '56', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'caroline.playfair@nutricia.connections', regLineCreatedDate = '2017-12-20 15:27:04', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 06:05:48.639', UPDATED = NULL, rxCheckBy = '4061', note = 'Beverley Mitchell', item = '3409', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216638122';
-
UPDATE ORDER_LINES SET routeNumber = '9241713', sapOrderNumber = '8278841', orderNumber = '5004916910', answerOrderNumber = NULL, partCode = '40834', partDescription = 'Nutrison Soya MF 1500ml', patientName = 'Barbara Weston', firstName = 'Barbara', middleName = NULL, lastName = 'Weston', patientDateOfBirth = '1954-03-07', patientPostcode = 'PA34 4RJ', patientPostcodePrefix = 'PA', 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-12-18', customer = 'Tracie Boulton', sapCustomerId = '685053219', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '259230', 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 = 'George Houston', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User', lastRegUpdateUserName = 'lynda.henderson@nutricia.connections', lastRegUpdateDate = '2018-09-11 14:46:03', sapPlannedShipDate = '2018-12-17', sapPlannedDeliveryDate = '2018-12-18', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 17:30:08', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-12-17 06:05:48.234', UPDATED = NULL, rxCheckBy = '4062', note = 'Maria Giaquinto', item = '1441', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '216627912';
Date: 2018-12-17 07:41:34 Duration: 32ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:46:47 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:26:34 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 2ms 181ms 4ms 3,718 15s449ms 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 #11
Day Hour Count Duration Avg duration Dec 17 06 1,997 8s854ms 4ms 07 1,701 6s428ms 3ms 12 6 52ms 8ms 15 12 102ms 8ms 17 2 11ms 5ms [ User: pharmisight - Total duration: 15s449ms - Times executed: 3718 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s449ms - Times executed: 3718 ]
-
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 ('9241708', '8280194', '5004919652', NULL, '66675', 'Nutrison 800 Complete MF1000ml', 'Muhammed Safeer', 'Muhammed', NULL, 'Safeer', '2007-10-21', 'B65 0RL', 'B', '28', '28', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-12-18', 'Sarah Carter', '685061532', 'Pharmacy (CURO)', NULL, NULL, '325809', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Mary Wallington', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinators', 'saloua.ragbi@external.nutricia.connections', '2018-11-20 10:39:48', '2018-12-17', '2018-12-18', '28', '28', 'PMS HCP User Login', 'claire.harriss@nutricia.connections', '2018-11-19 13:53:58', NULL, NULL, NULL, NULL, '2018-12-17 06:05:48.864', NULL, NULL, NULL, '3617', NULL, NULL, '216621512');
-
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 ('9241649', '8287970', '5004911511', NULL, '88666', 'Juvela LP Pizza Bases (2 x 180g)', 'Summer Calvert', 'Summer', NULL, 'Calvert', '2005-07-11', 'WF1 4RG', 'WF', '4', '4', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-12-18', 'Sophie Price', '685049119', 'Pharmacy (CURO)', NULL, NULL, '318872', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Aarron Brownbill', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinators', 'heidi.griffiths@nutricia.connections', '2016-11-16 15:38:11', '2018-12-17', '2018-12-18', '4', '4', 'CURO PMS Data Migration', 'data.migration@nutricia.com', '2016-05-10 17:10:15', NULL, NULL, NULL, NULL, '2018-12-17 06:05:48.748', NULL, NULL, NULL, '3152', NULL, NULL, '216632482');
-
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 ('9241916', '8283013', '5004921826', NULL, '41116', 'Fortijuce Forest Fruits 200ml ', 'Simon Hole', 'Simon', NULL, 'Hole', '1986-05-20', 'DY9 0LF', 'DY', '2', '2', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-12-22', 'Gill Feltham', '685060240', 'Pharmacy (CURO)', NULL, NULL, '27480600', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Rebecca Hole', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'daisy.comley@nutricia.connections', '2018-10-10 10:32:42', '2018-12-21', '2018-12-22', '2', '2', 'CURO PMS Data Migration', 'data.migration@nutricia.com', '2016-05-10 16:57:12', NULL, NULL, NULL, NULL, '2018-12-17 07:12:15.761', NULL, NULL, NULL, '3501', NULL, NULL, '216657112');
Date: 2018-12-17 06:05:49 Duration: 181ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:08:06 Duration: 113ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:15:20 Duration: 104ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 1ms 12ms 2ms 6,244 17s714ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 17 06 104 262ms 2ms 07 432 1s158ms 2ms 08 240 575ms 2ms 09 520 1s389ms 2ms 10 592 1s471ms 2ms 11 1,300 3s875ms 2ms 12 588 1s816ms 3ms 13 1,248 3s671ms 2ms 14 468 1s352ms 2ms 15 408 1s212ms 2ms 16 104 268ms 2ms 17 240 658ms 2ms [ User: pharmisight - Total duration: 17s714ms - Times executed: 6244 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s714ms - Times executed: 6244 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-12-18' AND this_.rxStatus = '4';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-12-18' AND this_.rxStatus = '1';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-12-18' AND this_.rxStatus = '5';
Date: 2018-12-17 13:04:55 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:48:07 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 14:52:52 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 0ms 19ms 2ms 5,100 14s17ms 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 #13
Day Hour Count Duration Avg duration Dec 17 06 1,818 3s241ms 1ms 07 1,881 4s69ms 2ms 08 333 1s480ms 4ms 09 118 567ms 4ms 10 201 956ms 4ms 11 216 984ms 4ms 12 134 644ms 4ms 13 148 632ms 4ms 14 97 535ms 5ms 15 96 509ms 5ms 16 10 67ms 6ms 17 48 329ms 6ms [ User: pharmisight - Total duration: 14s17ms - Times executed: 5100 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s17ms - Times executed: 5100 ]
-
UPDATE ORDERS SET sapOrderNumber = '8283450', answerOrderNumber = NULL, orderNumber = '5004922190', routeNumber = '9241886', billToType = NULL, patientName = 'Elliot Hunneysett', firstName = 'Elliot', middleName = NULL, lastName = 'Hunneysett', patientDateOfBirth = '2013-03-22', patientPostcode = 'DN37 0ES', customer = NULL, sapCustomerId = '685082756', STATUS = 'Checked', patientId = '80967400', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-12-22', rxStatus = '1', createUser = 'Katy Green', subOrderType = 'Standard', sapContractId = '650105956', salesforceOrderNumber = '11243086', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '6533833286', individualLabelling = 'f', orderId = 'a4r1p000006B0OiAAK', clusterLead = 'Isabella Carosi', clusterGroup = 'NORTH LINCOLNSHIRE & GOOLE NHSFT', accountId = '696696', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-12-17 07:12:15.879', UPDATED = NULL, note = NULL WHERE ORDER_ID = '209512242';
-
UPDATE ORDERS SET sapOrderNumber = '8284935', answerOrderNumber = NULL, orderNumber = '5004920622', routeNumber = '9241679', billToType = NULL, patientName = 'Billy Slater', firstName = 'Billy', middleName = NULL, lastName = 'Slater', patientDateOfBirth = '2016-08-09', patientPostcode = 'PE21 7PS', customer = NULL, sapCustomerId = '685190081', STATUS = 'Uploaded', patientId = '200424122', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-12-18', rxStatus = '1', createUser = 'Zoe Johnson', subOrderType = 'Standard', sapContractId = '650134795', salesforceOrderNumber = '11226138', patientType = 'NHMS', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '7156608258', individualLabelling = 'f', orderId = 'a4r1p000006AeOlAAK', clusterLead = 'Sophie Price', clusterGroup = 'NHMS NOTTINGHAM HEALTHCARE NHS TRST', accountId = '140681', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-12-17 06:05:48.454', UPDATED = NULL, note = NULL WHERE ORDER_ID = '209497252';
-
UPDATE ORDERS SET sapOrderNumber = '8283606', answerOrderNumber = NULL, orderNumber = '5004924937', routeNumber = '9241697', billToType = NULL, patientName = 'Dominic Damato', firstName = 'Dominic', middleName = NULL, lastName = 'Damato', patientDateOfBirth = '1997-06-10', patientPostcode = 'LE11 1HT', customer = NULL, sapCustomerId = '685070893', STATUS = 'Checked', patientId = '614624', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-12-18', rxStatus = '1', createUser = 'Nikita Jones', subOrderType = 'Standard', sapContractId = '650105858', salesforceOrderNumber = '11230330', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '6017684388', individualLabelling = 'f', orderId = 'a4r1p000006Ajq1AAC', clusterLead = 'Jack Pady', clusterGroup = 'LEICESTERSHIRE PARTNERSHIP NHS', accountId = '87328', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-12-17 06:05:48.841', UPDATED = NULL, note = NULL WHERE ORDER_ID = '209504362';
Date: 2018-12-17 16:04:05 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:31:34 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 12:30:35 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 0ms 17ms 0ms 16,974 13s41ms UPDATE order_line_activities SET order_line_id = '' WHERE order_line_activity_id = '';Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 17 06 866 734ms 0ms 07 1,252 947ms 0ms 08 1,993 1s633ms 0ms 09 1,524 1s121ms 0ms 10 2,583 2s 0ms 11 2,845 2s56ms 0ms 12 1,638 1s212ms 0ms 13 1,680 1s144ms 0ms 14 984 800ms 0ms 15 927 794ms 0ms 16 187 155ms 0ms 17 495 439ms 0ms [ User: pharmisight - Total duration: 13s41ms - Times executed: 16974 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s41ms - Times executed: 16974 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '216630072' WHERE ORDER_LINE_ACTIVITY_ID = '298508972';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '216634582' WHERE ORDER_LINE_ACTIVITY_ID = '298466522';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '216636762' WHERE ORDER_LINE_ACTIVITY_ID = '298517852';
Date: 2018-12-17 11:30:18 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 09:37:47 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:52:12 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 0ms 46ms 0ms 130,649 1m30s SELECT orderlines0_.order_round_id AS order_r80_28_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_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 Dec 17 06 6,625 5s182ms 0ms 07 10,074 7s849ms 0ms 08 2,614 1s997ms 0ms 09 6,193 4s615ms 0ms 10 8,535 6s90ms 0ms 11 17,246 11s965ms 0ms 12 11,722 8s333ms 0ms 13 24,788 16s486ms 0ms 14 15,703 10s509ms 0ms 15 13,152 8s382ms 0ms 16 4,701 3s15ms 0ms 17 9,074 5s828ms 0ms 20 222 183ms 0ms [ User: pharmisight - Total duration: 1m30s - Times executed: 130649 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m30s - Times executed: 130649 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200509062' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200509062' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200508762' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-12-17 10:21:33 Duration: 46ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 09:29:27 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:44:00 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 0ms 9ms 0ms 146,875 38s916ms SELECT orders0_.order_round_id AS order_r42_28_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 17 06 7,522 2s318ms 0ms 07 11,100 3s375ms 0ms 08 4,947 1s619ms 0ms 09 7,655 2s222ms 0ms 10 10,357 2s796ms 0ms 11 19,486 5s151ms 0ms 12 12,887 3s446ms 0ms 13 28,158 7s151ms 0ms 14 16,619 4s149ms 0ms 15 13,628 3s222ms 0ms 16 4,819 1s149ms 0ms 17 9,537 2s266ms 0ms 20 160 47ms 0ms [ User: pharmisight - Total duration: 38s916ms - Times executed: 146875 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 38s916ms - Times executed: 146875 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200508912' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200508632' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200508632' ORDER BY orders0_.order_id ASC;
Date: 2018-12-17 16:06:22 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 06:16:50 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:19:00 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 0ms 5ms 0ms 29,802 5s856ms 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 Dec 17 00 50 9ms 0ms 01 42 8ms 0ms 02 42 8ms 0ms 03 42 7ms 0ms 04 32 5ms 0ms 05 34 6ms 0ms 06 3,176 592ms 0ms 07 3,570 632ms 0ms 08 2,942 611ms 0ms 09 2,760 569ms 0ms 10 3,264 649ms 0ms 11 3,332 656ms 0ms 12 2,512 502ms 0ms 13 2,536 480ms 0ms 14 1,754 351ms 0ms 15 1,754 360ms 0ms 16 548 107ms 0ms 17 1,102 232ms 0ms 18 42 9ms 0ms 19 62 13ms 0ms 20 68 13ms 0ms 21 46 8ms 0ms 22 46 9ms 0ms 23 46 8ms 0ms [ User: symmetricds - Total duration: 5s856ms - Times executed: 29802 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s856ms - Times executed: 29802 ]
-
UPDATE sym_outgoing_batch SET STATUS = 'SE', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '4683', extract_count = '1', sent_count = '1', 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 = '27', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '10', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-12-17 09:48:37.509' WHERE batch_id = '8337033' AND node_id = '2';
-
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 = '17', reload_event_count = '0', insert_event_count = '5', update_event_count = '12', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '13', 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-12-17 10:35:39.211' WHERE batch_id = '8337486' AND node_id = '0';
-
UPDATE sym_outgoing_batch SET STATUS = 'SE', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '19322', extract_count = '1', sent_count = '1', load_count = '0', data_event_count = '40', reload_event_count = '0', insert_event_count = '15', update_event_count = '25', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '41', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '15', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-12-17 11:41:39.984' WHERE batch_id = '8338215' AND node_id = '0';
Date: 2018-12-17 09:48:37 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:35:39 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 11:41:39 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 37ms 0ms 97,324 13s938ms SELECT orderlines0_.order_id AS order_i79_22_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 17 06 7,357 804ms 0ms 07 11,615 1s249ms 0ms 08 13,377 1s527ms 0ms 09 8,777 1s323ms 0ms 10 13,353 2s748ms 0ms 11 11,826 2s516ms 0ms 12 6,367 749ms 0ms 13 9,507 1s418ms 0ms 14 6,335 651ms 0ms 15 4,061 452ms 0ms 16 1,440 151ms 0ms 17 3,309 344ms 0ms [ User: pharmisight - Total duration: 13s938ms - Times executed: 97324 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s938ms - Times executed: 97324 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208169272' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '205968092' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208066102' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-12-17 11:55:02 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 13:07:28 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 13:02:27 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 102ms 0ms 408,158 35s970ms COMMIT;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 17 00 13,014 488ms 0ms 01 12,160 287ms 0ms 02 12,179 293ms 0ms 03 12,178 301ms 0ms 04 12,132 284ms 0ms 05 12,167 292ms 0ms 06 25,524 3s641ms 0ms 07 29,580 4s577ms 0ms 08 22,645 3s115ms 0ms 09 22,104 2s688ms 0ms 10 24,733 3s367ms 0ms 11 26,216 3s755ms 0ms 12 20,877 2s604ms 0ms 13 22,675 2s603ms 0ms 14 18,865 1s859ms 0ms 15 18,009 1s728ms 0ms 16 13,995 672ms 0ms 17 15,550 1s164ms 0ms 18 13,855 772ms 0ms 19 12,230 306ms 0ms 20 11,794 304ms 0ms 21 12,106 289ms 0ms 22 11,946 288ms 0ms 23 11,624 279ms 0ms [ User: symmetricds - Total duration: 26s361ms - Times executed: 366878 ]
[ User: pharmisight - Total duration: 9s609ms - Times executed: 41280 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 35s926ms - Times executed: 408113 ]
[ Application: [unknown] - Total duration: 44ms - Times executed: 45 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-12-17 11:40:35 Duration: 102ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:20:14 Duration: 42ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 07:51:37 Duration: 36ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 0ms 16ms 0ms 22,148 1s789ms SELECT orderlinea0_.order_line_id AS order_l16_24_0_, orderlinea0_.order_line_activity_id AS order_li1_25_0_, orderlinea0_.order_line_activity_id AS order_li1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedqty AS scannedq4_25_1_, orderlinea0_.assignedqty AS assigned5_25_1_, orderlinea0_.backorderqty AS backorde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodedate AS barcoded8_25_1_, orderlinea0_.barcodebatch AS barcodeb9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelqty AS cancelq11_25_1_, orderlinea0_.reducedqty AS reduced12_25_1_, orderlinea0_.mispickitemcode AS mispick13_25_1_, orderlinea0_.created AS created14_25_1_, orderlinea0_.missinglabels AS missing15_25_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 Dec 17 06 976 74ms 0ms 07 1,574 147ms 0ms 08 2,484 165ms 0ms 09 2,283 191ms 0ms 10 3,694 358ms 0ms 11 3,189 315ms 0ms 12 1,754 108ms 0ms 13 2,744 213ms 0ms 14 1,319 79ms 0ms 15 1,046 62ms 0ms 16 322 31ms 0ms 17 763 42ms 0ms [ User: pharmisight - Total duration: 1s789ms - Times executed: 22148 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s789ms - Times executed: 22148 ]
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '214363082' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '215563112' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '211876772' ORDER BY orderlinea0_.CREATED ASC;
Date: 2018-12-17 13:06:36 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 09:30:08 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-12-17 10:47:24 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
-
Events
Log levels
Key values
- 12,941,520 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 8 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 4 Max number of times the same event was reported
- 8 Total events found
Rank Times reported Error 1 4 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Dec 17 12 1 15 3 - LOG: process 17192 still waiting for ExclusiveLock on tuple (1278,94) of relation 142522 of database 16389 after 1000.100 ms
- LOG: process 17193 still waiting for ExclusiveLock on tuple (1278,94) of relation 142522 of database 16389 after 1000.119 ms
- LOG: process 17079 still waiting for ExclusiveLock on tuple (1278,94) of relation 142522 of database 16389 after 1000.115 ms
Detail: Process holding the lock: 17202. Wait queue: 17192, 17193.
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, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-12-17 15:12:52 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 17202. Wait queue: 17192, 17193.
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, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-12-17 15:12:53 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 17202. Wait queue: 17192, 17193, 17079.
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, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-12-17 15:12:54 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
2 3 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #2
Day Hour Count Dec 17 06 1 12 1 15 1 - LOG: process 17202 still waiting for ShareLock on transaction 30165355 after 1000.119 ms
- LOG: process 13236 still waiting for ShareLock on transaction 30153141 after 1000.166 ms
- LOG: process 4540 still waiting for ShareLock on transaction 30111219 after 1000.156 ms
Detail: Process holding the lock: 17080. Wait queue: 17202.
Context: while updating tuple (1278,94) 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, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-12-17 15:12:50 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 13235. Wait queue: 13236.
Context: while updating tuple (1272,109) 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, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-12-17 12:39:47 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 4903. Wait queue: 4540.
Context: while updating tuple (1272,93) 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, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-12-17 06:21:06 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
3 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #3
Day Hour Count Dec 17 00 1 - ERROR: relation "gp_id" does not exist at character 20
Statement: select gpname from gp_id
Date: 2018-12-17 00:00:10 Database: pharmisight Application: PostgreSQL JDBC Driver User: symmetricds Remote: 10.10.10.1 Code: