-
Global information
- Generated on Sat Jul 14 00:00:45 2018
- Log file: /var/log/postgresql/postgresql-9.6-main.log.1
- Parsed 12,013,753 log entries in 42s
- Log start from 2018-07-13 00:00:00 to 2018-07-13 23:59:59
-
Overview
Global Stats
- 929 Number of unique normalized queries
- 3,738,297 Number of queries
- 17m41s Total query duration
- 2018-07-13 00:00:00 First query
- 2018-07-13 23:59:59 Last query
- 8,807 queries/s at 2018-07-13 06:03:40 Query peak
- 6 Number of events
- 3 Number of unique normalized events
- 4 Max number of times the same event was reported
- 0 Number of cancellation
- 449 Total number of automatic vacuums
- 559 Total number of automatic analyzes
- 3 Number temporary file
- 10.20 MiB Max size of temporary file
- 10.09 MiB Average size of temporary file
- 1,735 Total number of sessions
- 3 sessions at 2018-07-13 15:28:11 Session peak
- 11d6h35m18s Total duration of sessions
- 9m21s Average duration of sessions
- 2,154 Average queries per session
- 612ms Average queries duration per session
- 1,735 Total number of connections
- 13 connections/s at 2018-07-13 13:02:45 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 8,807 queries/s Query Peak
- 2018-07-13 06:03:40 Date
SELECT Traffic
Key values
- 1,726 queries/s Query Peak
- 2018-07-13 06:20:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 8,750 queries/s Query Peak
- 2018-07-13 06:03:40 Date
Queries duration
Key values
- 17m41s Total query duration
Prepared queries ratio
Key values
- 2.34 Ratio of bind vs prepare
- 134.39 % 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) Jul 13 00 107,609 0ms 41ms 0ms 89ms 181ms 1s923ms 01 95,883 0ms 27ms 0ms 64ms 203ms 428ms 02 96,497 0ms 25ms 0ms 56ms 155ms 525ms 03 95,603 0ms 23ms 0ms 60ms 119ms 411ms 04 96,124 0ms 27ms 0ms 72ms 209ms 480ms 05 120,296 0ms 69ms 0ms 236ms 5s959ms 10s977ms 06 321,831 0ms 5s842ms 0ms 6s777ms 7s430ms 18s39ms 07 223,879 0ms 153ms 0ms 1s431ms 2s171ms 2s497ms 08 248,966 0ms 97ms 0ms 3s523ms 3s995ms 5s49ms 09 235,020 0ms 106ms 0ms 4s533ms 5s424ms 6s239ms 10 245,613 0ms 313ms 0ms 4s630ms 5s578ms 7s745ms 11 182,922 0ms 948ms 0ms 3s405ms 4s391ms 5s96ms 12 177,378 0ms 202ms 0ms 3s207ms 3s633ms 4s508ms 13 201,535 0ms 3s511ms 0ms 4s170ms 4s364ms 5s334ms 14 237,731 0ms 173ms 0ms 5s320ms 6s801ms 10s754ms 15 178,961 0ms 172ms 0ms 4s310ms 6s6ms 6s622ms 16 118,835 0ms 52ms 0ms 2s212ms 3s663ms 7s247ms 17 169,467 0ms 307ms 0ms 3s479ms 3s958ms 7s518ms 18 105,797 0ms 66ms 0ms 281ms 2s455ms 2s891ms 19 94,054 0ms 15ms 0ms 53ms 91ms 378ms 20 96,817 0ms 17ms 0ms 83ms 207ms 805ms 21 94,999 0ms 15ms 0ms 66ms 133ms 396ms 22 96,551 0ms 18ms 0ms 59ms 275ms 461ms 23 95,929 0ms 34ms 0ms 69ms 219ms 516ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 13 00 37,675 0 0ms 31ms 43ms 171ms 01 33,021 0 0ms 27ms 32ms 175ms 02 33,053 0 0ms 33ms 34ms 162ms 03 32,938 0 0ms 32ms 36ms 168ms 04 33,070 0 0ms 31ms 35ms 146ms 05 42,469 0 0ms 32ms 159ms 1s581ms 06 155,454 0 0ms 2s615ms 5s56ms 6s180ms 07 119,304 0 0ms 619ms 1s232ms 1s929ms 08 126,520 0 0ms 2s468ms 2s962ms 4s110ms 09 116,230 0 0ms 2s931ms 4s7ms 5s448ms 10 133,345 0 0ms 2s592ms 3s978ms 5s425ms 11 86,082 0 0ms 1s893ms 2s975ms 4s290ms 12 78,859 0 0ms 1s950ms 3s54ms 3s834ms 13 97,942 0 0ms 2s11ms 3s927ms 4s901ms 14 132,685 0 0ms 2s621ms 4s699ms 9s111ms 15 96,988 0 0ms 2s837ms 4s187ms 5s939ms 16 52,418 0 0ms 35ms 2s83ms 5s808ms 17 83,366 0 0ms 2s56ms 3s247ms 5s108ms 18 42,064 0 0ms 35ms 253ms 2s554ms 19 32,662 0 0ms 28ms 33ms 164ms 20 35,493 0 0ms 31ms 44ms 175ms 21 32,787 0 0ms 31ms 35ms 171ms 22 33,152 0 0ms 32ms 36ms 170ms 23 32,884 0 0ms 33ms 36ms 163ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 13 00 1,770 2,221 109 0 0ms 12ms 16ms 79ms 01 1,008 853 110 0 0ms 2ms 8ms 72ms 02 1,511 978 110 0 0ms 2ms 8ms 103ms 03 940 836 110 0 0ms 2ms 9ms 36ms 04 1,018 922 110 0 0ms 3ms 12ms 61ms 05 8,093 7,680 120 0 1ms 8ms 36ms 2s879ms 06 56,689 15,128 462 0 0ms 416ms 869ms 2s574ms 07 11,274 6,650 386 0 0ms 172ms 240ms 378ms 08 14,396 8,206 414 0 0ms 328ms 388ms 523ms 09 13,707 7,541 390 0 0ms 286ms 362ms 482ms 10 13,633 7,118 376 0 0ms 204ms 240ms 411ms 11 9,625 5,449 316 0 0ms 152ms 208ms 283ms 12 9,363 6,027 272 0 0ms 119ms 164ms 279ms 13 11,253 6,060 335 0 0ms 161ms 202ms 277ms 14 11,746 6,192 347 0 0ms 161ms 216ms 299ms 15 3,693 2,955 225 0 0ms 63ms 85ms 132ms 16 819 1,107 135 0 0ms 9ms 26ms 95ms 17 4,489 3,456 251 0 0ms 89ms 126ms 258ms 18 319 866 125 0 0ms 5ms 9ms 54ms 19 122 616 108 0 0ms 1ms 8ms 10ms 20 750 816 153 0 0ms 1ms 9ms 35ms 21 734 777 106 0 0ms 1ms 9ms 49ms 22 1,755 1,034 107 0 0ms 1ms 9ms 118ms 23 1,721 1,014 106 0 0ms 1ms 9ms 114ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 13 00 61,817 107,573 1.74 89.59% 01 55,889 95,847 1.71 93.97% 02 55,688 96,461 1.73 92.62% 03 55,569 95,567 1.72 93.76% 04 55,817 96,088 1.72 93.55% 05 57,774 120,260 2.08 69.18% 06 86,869 320,276 3.69 31.62% 07 78,689 223,843 2.84 43.89% 08 82,883 248,930 3.00 41.10% 09 82,474 234,984 2.85 43.68% 10 80,142 245,577 3.06 39.96% 11 75,544 182,871 2.42 53.85% 12 76,936 177,342 2.31 57.47% 13 75,766 201,438 2.66 47.94% 14 80,874 237,657 2.94 41.65% 15 69,607 177,732 2.55 50.10% 16 57,901 118,785 2.05 70.84% 17 70,840 169,400 2.39 55.05% 18 56,879 105,725 1.86 82.30% 19 54,859 94,018 1.71 94.87% 20 55,139 96,781 1.76 90.12% 21 55,234 94,963 1.72 94.01% 22 55,594 96,515 1.74 92.09% 23 55,307 95,893 1.73 92.30% Day Hour Count Average / Second Jul 13 00 88 0.02/s 01 75 0.02/s 02 64 0.02/s 03 70 0.02/s 04 69 0.02/s 05 75 0.02/s 06 68 0.02/s 07 68 0.02/s 08 65 0.02/s 09 66 0.02/s 10 69 0.02/s 11 78 0.02/s 12 72 0.02/s 13 77 0.02/s 14 88 0.02/s 15 88 0.02/s 16 61 0.02/s 17 74 0.02/s 18 78 0.02/s 19 65 0.02/s 20 79 0.02/s 21 67 0.02/s 22 66 0.02/s 23 65 0.02/s Day Hour Count Average Duration Jul 13 00 88 7m7s 01 75 7m47s 02 64 9m23s 03 70 8m55s 04 69 8m32s 05 72 8m8s 06 71 9m34s 07 65 10m13s 08 63 10m28s 09 70 12m59s 10 69 9m37s 11 79 11m36s 12 60 9m47s 13 89 9m49s 14 88 10m30s 15 82 9m18s 16 67 10m24s 17 74 7m8s 18 78 9m44s 19 65 9m5s 20 79 7m54s 21 67 8m52s 22 66 8m54s 23 65 9m8s -
Connections
Established Connections
Key values
- 13 connections Connection Peak
- 2018-07-13 13:02:45 Date
Connections per database
Key values
- pharmisight Main Database
- 1,735 connections Total
Connections per user
Key values
- symmetricds Main User
- 1,735 connections Total
-
Sessions
Simultaneous sessions
Key values
- 3 sessions Session Peak
- 2018-07-13 15:28:11 Date
Histogram of session times
Key values
- 943 60000-600000ms duration
Sessions per database
Key values
- pharmisight Main Database
- 1,735 sessions Total
Sessions per user
Key values
- symmetricds Main User
- 1,735 sessions Total
Sessions per host
Key values
- 10.10.10.1 Main Host
- 1,735 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 8,995 buffers Checkpoint Peak
- 2018-07-13 07:04:52 Date
- 149.964 seconds Highest write time
- 0.028 seconds Sync time
Checkpoints Wal files
Key values
- 3 files Wal files usage Peak
- 2018-07-13 06:09:51 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 Jul 13 00 2,015 201.851s 0.016s 201.912s 01 1,290 129.421s 0.023s 129.485s 02 1,137 113.862s 0.015s 113.921s 03 1,020 102.13s 0.023s 102.208s 04 1,177 118.096s 0.014s 118.148s 05 2,416 228.95s 0.039s 229.035s 06 10,857 932.966s 0.044s 933.062s 07 14,038 655.497s 0.021s 655.572s 08 8,515 852.617s 0.028s 852.685s 09 7,728 775.786s 0.034s 775.87s 10 8,157 718.667s 0.022s 718.731s 11 5,376 538.428s 0.029s 538.5s 12 5,507 550.989s 0.017s 551.049s 13 5,927 596.538s 0.028s 596.608s 14 7,697 642.401s 0.022s 642.462s 15 2,968 297.172s 0.018s 297.233s 16 1,641 164.137s 0.015s 164.194s 17 3,454 346.075s 0.018s 346.131s 18 986 98.912s 0.014s 98.975s 19 598 59.891s 0.014s 59.946s 20 800 80.258s 0.015s 80.314s 21 674 67.628s 0.011s 67.68s 22 997 99.92s 0.016s 99.979s 23 857 85.981s 0.016s 86.035s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 13 00 0 0 1 426 0.003s 0s 01 0 0 0 419 0.008s 0s 02 0 0 1 419 0.002s 0s 03 0 0 0 414 0.008s 0s 04 0 0 0 426 0.002s 0s 05 0 0 1 487 0.002s 0s 06 0 1 9 1,198 0.008s 0s 07 0 1 4 1,078 0.002s 0s 08 0 1 2 1,227 0.002s 0s 09 0 0 4 1,257 0.013s 0s 10 0 0 3 1,272 0.001s 0s 11 0 0 2 1,078 0.008s 0s 12 0 0 2 1,161 0.002s 0s 13 0 0 3 1,130 0.008s 0s 14 0 0 2 1,138 0.002s 0s 15 0 0 2 1,031 0.002s 0s 16 0 0 0 562 0.001s 0s 17 0 0 1 1,010 0.002s 0s 18 0 0 1 388 0.002s 0s 19 0 0 0 294 0.002s 0s 20 0 0 0 363 0.002s 0s 21 0 0 0 312 0.002s 0s 22 0 0 1 329 0.002s 0s 23 0 0 0 334 0.002s 0s Day Hour Count Avg time (sec) Jul 13 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 Jul 13 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
- 10.20 MiB Temp Files size Peak
- 2018-07-13 06:04:36 Date
Number of temporary files
Key values
- 1 per second Temp Files Peak
- 2018-07-13 06:04:36 Date
Temporary Files Activity
Day Hour Count Total size Average size Jul 13 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 3 30.26 MiB 10.09 MiB 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 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 13.60 sec Highest CPU-cost vacuum
Table public.sym_data
Database pharmisight - 2018-07-13 07:01:04 Date
- 7.49 sec Highest CPU-cost analyze
Table public.sym_data
Database pharmisight - 2018-07-13 06:29:57 Date
Analyzes per table
Key values
- public.sym_node_communication (206) Main table analyzed (database pharmisight)
- 559 analyzes Total
Table Number of analyzes pharmisight.public.sym_node_communication 206 pharmisight.public.sym_data_gap 104 pharmisight.public.sym_sequence 103 pharmisight.public.sym_outgoing_batch 54 pharmisight.public.sym_node_channel_ctl 27 pharmisight.public.sym_incoming_batch 15 pharmisight.public.sym_data_event 13 pharmisight.public.sym_data 13 pharmisight.public.sym_lock 12 pharmisight.public.sym_node_host 5 pharmisight.public.item_codes 3 pharmisight.public.stats_checker_months 1 pharmisight.public.flow_report_summary_delays 1 pharmisight.public.tablets 1 pharmisight.public.eps_check_lines 1 Total 559 Vacuums per table
Key values
- public.sym_node_communication (204) Main table vacuumed on database pharmisight
- 449 vacuums Total
Table Number of vacuums Index scans pharmisight.public.sym_node_communication 204 0 pharmisight.public.sym_sequence 104 0 pharmisight.public.sym_data_gap 54 54 pharmisight.public.sym_node_channel_ctl 26 0 pharmisight.public.sym_outgoing_batch 26 26 pharmisight.public.sym_lock 11 0 pharmisight.public.sym_incoming_batch 6 6 pharmisight.public.sym_node_host 5 0 pharmisight.pg_catalog.pg_statistic 4 4 pharmisight.public.sym_data 3 3 pharmisight.public.sym_data_event 3 3 pharmisight.pg_toast.pg_toast_2619 3 3 Total 449 99 Tuples removed per table
Key values
- public.sym_data_event (11669) Main table with removed tuples on database pharmisight
- 46810 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_data_event 3 3 11669 0 pharmisight.public.sym_node_communication 204 0 11394 0 pharmisight.public.sym_outgoing_batch 26 26 6104 0 pharmisight.public.sym_sequence 104 0 5712 0 pharmisight.public.sym_data 3 3 4124 0 pharmisight.public.sym_data_gap 54 54 2796 0 pharmisight.public.sym_incoming_batch 6 6 1406 0 pharmisight.public.sym_node_channel_ctl 26 0 1393 0 pharmisight.pg_catalog.pg_statistic 4 4 1166 0 pharmisight.public.sym_lock 11 0 572 0 pharmisight.public.sym_node_host 5 0 260 0 pharmisight.pg_toast.pg_toast_2619 3 3 214 0 Total 449 99 46,810 0 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database
- 0 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_node_host 5 0 260 0 pharmisight.public.sym_node_channel_ctl 26 0 1393 0 pharmisight.public.sym_lock 11 0 572 0 pharmisight.pg_catalog.pg_statistic 4 4 1166 0 pharmisight.public.sym_incoming_batch 6 6 1406 0 pharmisight.public.sym_data 3 3 4124 0 pharmisight.public.sym_node_communication 204 0 11394 0 pharmisight.public.sym_sequence 104 0 5712 0 pharmisight.public.sym_data_gap 54 54 2796 0 pharmisight.public.sym_data_event 3 3 11669 0 pharmisight.public.sym_outgoing_batch 26 26 6104 0 pharmisight.pg_toast.pg_toast_2619 3 3 214 0 Total 449 99 46,810 0 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Jul 13 00 13 17 01 10 9 02 11 12 03 10 11 04 9 11 05 14 14 06 30 43 07 33 40 08 34 42 09 31 42 10 31 39 11 25 35 12 25 32 13 27 38 14 31 35 15 20 27 16 12 14 17 21 26 18 12 12 19 11 12 20 11 14 21 8 12 22 11 11 23 9 11 - 13.60 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 5 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 5 14s242ms 1s24ms 4s45ms 2s848ms 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-07-13 06:14:22 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver
Queries that waited the most
Rank Wait time Query 1 4s45ms 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-07-13 06:15:16 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
2 3s331ms 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-07-13 06:14:26 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
3 3s238ms 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-07-13 06:14:30 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
4 2s602ms 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-07-13 06:14:26 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
5 1s24ms 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-07-13 06:14:22 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Queries
Queries by type
Key values
- 1,700,461 Total read queries
- 1,078,506 Total write queries
Queries by database
Key values
- pharmisight Main database
- 3,738,297 Requests
- 17m41s (pharmisight)
- Main time consuming database
Queries by user
Key values
- symmetricds Main user
- 2,784,728 Requests
User Request type Count Duration pharmisight Total 1,047,269 15m45s DELETE 70 976ms INSERT 29,141 39s816ms OTHERS 2,017 73ms SELECT 892,795 12m56s TCL 84,425 8s1ms UPDATE 38,821 2m symmetricds Total 2,784,728 1m54s DDL 1 1ms DELETE 5,284 6s546ms INSERT 153,234 10s845ms OTHERS 993,506 17s768ms SELECT 837,667 39s420ms TCL 738,226 27s305ms UPDATE 56,810 12s423ms tony Total 900 4s585ms SELECT 900 4s585ms Duration by user
Key values
- 15m45s (pharmisight) Main time consuming user
User Request type Count Duration pharmisight Total 1,047,269 15m45s DELETE 70 976ms INSERT 29,141 39s816ms OTHERS 2,017 73ms SELECT 892,795 12m56s TCL 84,425 8s1ms UPDATE 38,821 2m symmetricds Total 2,784,728 1m54s DDL 1 1ms DELETE 5,284 6s546ms INSERT 153,234 10s845ms OTHERS 993,506 17s768ms SELECT 837,667 39s420ms TCL 738,226 27s305ms UPDATE 56,810 12s423ms tony Total 900 4s585ms SELECT 900 4s585ms Queries by host
Key values
- 10.10.10.1 Main host
- 3,831,997 Requests
- 17m40s (10.10.10.1)
- Main time consuming host
Queries by application
Key values
- PostgreSQL JDBC Driver Main application
- 3,733,087 Requests
- 17m37s (PostgreSQL JDBC Driver)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2018-07-13 13:31:38 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 3,587,032 0-1ms duration
Slowest individual queries
Rank Duration Query 1 5s842ms UPDATE FLOW_REPORTS SET routeNumber = '9004138', roundDeliveryDate = '2018-07-16', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-13 06:08:19.908', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-13 12:00:27.75', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200410922';[ Date: 2018-07-13 06:14:30 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 4s47ms UPDATE FLOW_REPORTS SET routeNumber = '9004143', roundDeliveryDate = '2018-07-16', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-13 06:08:19.948', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-13 12:00:37.313', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200410982';[ Date: 2018-07-13 06:15:16 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 3s511ms SELECT orderlinea0_.ORDER_LINE_HISTORY_ID AS ORDER_L17_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedQty AS scannedQ4_23_1_, orderlinea0_.assignedQty AS assigned5_23_1_, orderlinea0_.backOrderQty AS backOrde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodeDate AS barcodeD8_23_1_, orderlinea0_.barcodeBatch AS barcodeB9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelQty AS cancelQ11_23_1_, orderlinea0_.reducedQty AS reduced12_23_1_, orderlinea0_.misPickItemCode AS misPick13_23_1_, orderlinea0_.CREATED AS CREATED14_23_1_, orderlinea0_.missingLabels AS missing15_23_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_HISTORY_ID = '200001682' ORDER BY orderlinea0_.CREATED ASC;[ Date: 2018-07-13 13:06:12 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 3s333ms UPDATE FLOW_REPORTS SET routeNumber = '9004138', roundDeliveryDate = '2018-07-16', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-13 06:08:19.908', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-13 12:00:27.75', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200410922';[ Date: 2018-07-13 06:14:26 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 1s26ms UPDATE FLOW_REPORTS SET routeNumber = '9004137', roundDeliveryDate = '2018-07-16', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-13 06:08:18.203', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-13 12:00:07.627', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200410912';[ Date: 2018-07-13 06:14:22 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 948ms SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.salesforceOrderNumber = '11009711';[ Date: 2018-07-13 11:28:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 943ms SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.salesforceOrderNumber = '10957087';[ Date: 2018-07-13 11:30:42 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 930ms SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.salesforceOrderNumber = '10957087';[ Date: 2018-07-13 11:36:35 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 850ms SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.salesforceOrderNumber = '10826137';[ Date: 2018-07-13 11:37:15 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 761ms SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.salesforceOrderNumber = '10826137';[ Date: 2018-07-13 11:37:21 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 474ms COMMIT;[ Date: 2018-07-13 06:15:05 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 313ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '210067742';[ Date: 2018-07-13 10:28:23 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 307ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '210067362';[ Date: 2018-07-13 17:54:37 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 284ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '210068092';[ Date: 2018-07-13 10:28:34 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 211ms SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ WHERE this_.status = 'Done' ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '20';[ Date: 2018-07-13 10:29:17 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 211ms SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ WHERE this_.status = 'Done' ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '20';[ Date: 2018-07-13 10:27:48 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 210ms SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ WHERE this_.status = 'Done' ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '20';[ Date: 2018-07-13 10:29:19 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 202ms SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '19';[ Date: 2018-07-13 12:28:12 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 202ms SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '21';[ Date: 2018-07-13 10:22:49 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 201ms SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '19';[ Date: 2018-07-13 17:17:13 - 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 3m25s 5,094 19ms 75ms 40ms SELECT count (*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> '';Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 13 06 232 8s695ms 37ms 07 113 4s361ms 38ms 08 686 27s779ms 40ms 09 794 31s664ms 39ms 10 489 19s734ms 40ms 11 239 10s48ms 42ms 12 304 12s327ms 40ms 13 552 22s554ms 40ms 14 558 22s413ms 40ms 15 489 20s58ms 41ms 16 146 5s977ms 40ms 17 447 18s246ms 40ms 18 45 1s711ms 38ms [ User: pharmisight - Total duration: 3m25s - Times executed: 5094 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3m25s - Times executed: 5094 ]
-
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-07-13 13:40:45 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:43:41 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 17:31:29 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 1m17s 20,376 0ms 22ms 3ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 13 06 928 3s25ms 3ms 07 452 1s495ms 3ms 08 2,744 9s529ms 3ms 09 3,176 11s572ms 3ms 10 1,956 7s435ms 3ms 11 956 3s832ms 4ms 12 1,216 4s715ms 3ms 13 2,208 8s820ms 3ms 14 2,232 8s862ms 3ms 15 1,956 7s964ms 4ms 16 584 2s440ms 4ms 17 1,788 7s269ms 4ms 18 180 678ms 3ms [ User: pharmisight - Total duration: 1m17s - Times executed: 20376 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m17s - Times executed: 20376 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-16' AND this_.rxStatus = '5';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-13' AND this_.rxStatus = '1';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-16' AND this_.rxStatus = '2';
Date: 2018-07-13 13:42:24 Duration: 22ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 09:44:05 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:31:10 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 1m12s 5,095 3ms 49ms 14ms 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 #3
Day Hour Count Duration Avg duration Jul 13 06 232 2s935ms 12ms 07 113 1s471ms 13ms 08 686 9s178ms 13ms 09 795 10s770ms 13ms 10 489 6s904ms 14ms 11 239 3s599ms 15ms 12 304 4s428ms 14ms 13 552 8s227ms 14ms 14 558 7s974ms 14ms 15 489 7s285ms 14ms 16 146 2s232ms 15ms 17 447 6s621ms 14ms 18 45 616ms 13ms [ User: pharmisight - Total duration: 1m12s - Times executed: 5095 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m12s - Times executed: 5095 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-16' 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-07-16' 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-07-16' 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-07-13 15:23:56 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 13:51:31 Duration: 47ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:56:42 Duration: 41ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 1m2s 58,361 0ms 15ms 1ms SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 13 05 418 451ms 1ms 06 17,698 16s630ms 0ms 07 95 133ms 1ms 08 993 1s166ms 1ms 09 118 123ms 1ms 10 7,005 7s938ms 1ms 11 3,849 4s501ms 1ms 12 1,087 1s221ms 1ms 13 547 631ms 1ms 14 9,667 10s606ms 1ms 15 7,776 8s798ms 1ms 16 3,182 3s620ms 1ms 17 3,535 3s898ms 1ms 18 2,111 2s262ms 1ms 20 280 184ms 0ms [ User: pharmisight - Total duration: 1m2s - Times executed: 58361 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m2s - Times executed: 58361 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200446462' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200446462' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200445232' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-07-13 14:39:46 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:09:30 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:36:23 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 58s23ms 12,201 0ms 92ms 4ms SELECT this_.order_id AS order_id1_20_0_, this_.sapordernumber AS saporder2_20_0_, this_.answerordernumber AS answeror3_20_0_, this_.ordernumber AS ordernum4_20_0_, this_.routenumber AS routenum5_20_0_, this_.billtotype AS billtoty6_20_0_, this_.patientname AS patientn7_20_0_, this_.firstname AS firstnam8_20_0_, this_.middlename AS middlena9_20_0_, this_.lastname AS lastnam10_20_0_, this_.patientdateofbirth AS patient11_20_0_, this_.patientpostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapcustomerid AS sapcust14_20_0_, this_.status AS status15_20_0_, this_.patientid AS patient16_20_0_, this_.isnotwithinage AS isnotwi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliverybarcode AS deliver20_20_0_, this_.deliverydate AS deliver21_20_0_, this_.rxstatus AS rxstatu22_20_0_, this_.createuser AS createu23_20_0_, this_.subordertype AS suborde24_20_0_, this_.sapcontractid AS sapcont25_20_0_, this_.salesforceordernumber AS salesfo26_20_0_, this_.patienttype AS patient27_20_0_, this_.ordertype AS orderty28_20_0_, this_.orderstatus AS orderst29_20_0_, this_.nhsnumber AS nhsnumb30_20_0_, this_.individuallabelling AS individ31_20_0_, this_.orderid AS orderid32_20_0_, this_.clusterlead AS cluster33_20_0_, this_.clustergroup AS cluster34_20_0_, this_.accountid AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionby AS reducti37_20_0_, this_.alertconfirmation AS alertco38_20_0_, this_.created AS created39_20_0_, this_.updated AS updated40_20_0_, this_.note AS note41_20_0_ FROM orders this_ WHERE this_.status = '' AND this_.deliverydate = '' ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 13 06 525 2s318ms 4ms 07 252 1s146ms 4ms 08 1,566 7s411ms 4ms 09 1,641 7s546ms 4ms 10 1,005 4s813ms 4ms 11 624 3s250ms 5ms 12 810 3s931ms 4ms 13 1,470 7s79ms 4ms 14 1,485 7s65ms 4ms 15 1,302 6s212ms 4ms 16 387 1s864ms 4ms 17 1,035 4s920ms 4ms 18 99 464ms 4ms [ User: pharmisight - Total duration: 58s23ms - Times executed: 12201 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 58s23ms - Times executed: 12201 ]
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-16' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-13' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-13' ORDER BY this_.deliveryDate ASC;
Date: 2018-07-13 11:02:46 Duration: 92ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 11:22:52 Duration: 57ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:08:23 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 32s395ms 399,119 0ms 474ms 0ms COMMIT;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 13 00 13,613 675ms 0ms 01 12,242 341ms 0ms 02 12,236 332ms 0ms 03 12,222 309ms 0ms 04 12,274 342ms 0ms 05 12,573 450ms 0ms 06 23,484 3s702ms 0ms 07 20,843 2s561ms 0ms 08 26,055 3s516ms 0ms 09 25,473 3s233ms 0ms 10 23,053 2s703ms 0ms 11 19,403 2s72ms 0ms 12 19,670 2s158ms 0ms 13 21,216 2s206ms 0ms 14 21,597 2s424ms 0ms 15 17,537 1s291ms 0ms 16 13,627 542ms 0ms 17 18,563 1s562ms 0ms 18 12,862 450ms 0ms 19 12,159 303ms 0ms 20 11,985 295ms 0ms 21 12,176 293ms 0ms 22 12,159 314ms 0ms 23 12,097 309ms 0ms [ User: symmetricds - Total duration: 24s756ms - Times executed: 356943 ]
[ User: pharmisight - Total duration: 7s639ms - Times executed: 42176 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 32s382ms - Times executed: 399081 ]
[ Application: [unknown] - Total duration: 12ms - Times executed: 38 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-07-13 06:15:05 Duration: 474ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:07:26 Duration: 62ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 08:10:06 Duration: 20ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 26s951ms 671 20ms 74ms 40ms SELECT this_.order_round_id AS order_ro1_26_1_, this_.routenumber AS routenum2_26_1_, this_.uploadedbyuserid AS uploaded3_26_1_, this_.uploadedbyusername AS uploaded4_26_1_, this_.updatedby AS updatedb5_26_1_, this_.updatedbyusername AS updatedb6_26_1_, this_.orderroundnote AS orderrou7_26_1_, this_.firstcheckout AS firstche8_26_1_, this_.allordersscannedok AS allorder9_26_1_, this_.status AS status10_26_1_, this_.reopenedtimes AS reopene11_26_1_, this_.lastreopenbyid AS lastreo12_26_1_, this_.lastdonecheckin AS lastdon13_26_1_, this_.lastdonebyid AS lastdon14_26_1_, this_.lastdonebyusername AS lastdon15_26_1_, this_.missinglabels AS missing16_26_1_, this_.rounddeliverydate AS roundde17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadupdated AS uploadu21_26_1_, this_.patientalert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxstatus AS rxstatu24_26_1_, this_.distributionpoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedby AS audited27_26_1_, this_.auditstatus AS auditst28_26_1_, this_.uploadfinished AS uploadf29_26_1_, this_.lastrxcompleted AS lastrxc30_26_1_, this_.lastrxcompletedby AS lastrxc31_26_1_, this_.orderroundnotereadby AS orderro32_26_1_, this_.routeorderlinesqty AS routeor33_26_1_, this_.dlxpickedlinesqty AS dlxpick34_26_1_, this_.flowreport AS flowrep35_26_1_, this_.created AS created36_26_1_, this_.createdby AS created37_26_1_, this_.updated AS updated38_26_1_, this_.note AS note39_26_1_, f1_.flow_report_id AS flow_rep1_7_0_, f1_.routenumber AS routenum2_7_0_, f1_.rounddeliverydate AS rounddel3_7_0_, f1_.distributionpoint AS distribu4_7_0_, f1_.fullypicked AS fullypic5_7_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, f1_.causeofdelay AS causeofd7_7_0_, f1_.pharmacy100checktime AS pharmacy8_7_0_, f1_.linesheldback AS lineshel9_7_0_, f1_.packtime100 AS packtim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickdatetime AS pickdat13_7_0_, f1_.failedtargetpicktime AS failedt14_7_0_, f1_.actualpaperworkcompletetime AS actualp15_7_0_, f1_.changedpickdatetime AS changed16_7_0_, f1_.manuallychangedpicktime AS manuall17_7_0_, f1_.created AS created18_7_0_, f1_.updated AS updated19_7_0_, f1_.note AS note20_7_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> '' AND this_.created > '' AND this_.created < '' ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 13 05 18 770ms 42ms 06 242 8s589ms 35ms 07 1 47ms 47ms 08 9 384ms 42ms 10 71 3s41ms 42ms 11 38 1s704ms 44ms 12 9 385ms 42ms 13 4 167ms 41ms 14 109 4s575ms 41ms 15 90 3s836ms 42ms 16 36 1s527ms 42ms 17 29 1s290ms 44ms 18 15 630ms 42ms [ User: pharmisight - Total duration: 26s951ms - Times executed: 671 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s951ms - Times executed: 671 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-13 00:00:00' AND this_.CREATED < '2018-07-13 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-13 00:00:00' AND this_.CREATED < '2018-07-13 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-13 00:00:00' AND this_.CREATED < '2018-07-13 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-13 06:01:42 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 17:08:22 Duration: 70ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:41:28 Duration: 65ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 26s872ms 66,822 0ms 12ms 0ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 13 05 423 187ms 0ms 06 18,236 6s849ms 0ms 07 774 614ms 0ms 08 1,463 748ms 0ms 09 988 405ms 0ms 10 8,500 3s595ms 0ms 11 4,592 1s913ms 0ms 12 1,741 692ms 0ms 13 1,512 579ms 0ms 14 10,540 4s163ms 0ms 15 8,306 3s321ms 0ms 16 3,295 1s330ms 0ms 17 4,139 1s617ms 0ms 18 2,088 803ms 0ms 20 225 49ms 0ms [ User: pharmisight - Total duration: 26s872ms - Times executed: 66822 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s872ms - Times executed: 66822 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200446372' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200445782' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200446602' ORDER BY orders0_.order_id ASC;
Date: 2018-07-13 10:51:42 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:11:01 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 14:20:02 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 25s992ms 16,260 0ms 16ms 1ms SELECT count (*) AS y0_ FROM orders this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 13 06 700 1s40ms 1ms 07 336 504ms 1ms 08 2,088 3s295ms 1ms 09 2,184 3s378ms 1ms 10 1,340 2s113ms 1ms 11 832 1s344ms 1ms 12 1,080 1s731ms 1ms 13 1,960 3s196ms 1ms 14 1,980 3s203ms 1ms 15 1,736 2s850ms 1ms 16 516 855ms 1ms 17 1,380 2s273ms 1ms 18 128 205ms 1ms [ User: pharmisight - Total duration: 25s992ms - Times executed: 16260 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 25s992ms - Times executed: 16260 ]
-
SELECT count (*) AS y0_ FROM ORDERS this_ WHERE this_.deliveryDate = '2018-07-13' AND this_.rxStatus = '3';
-
SELECT count (*) AS y0_ FROM ORDERS this_ WHERE this_.deliveryDate = '2018-07-13' AND this_.rxStatus = '4';
-
SELECT count (*) AS y0_ FROM ORDERS this_ WHERE this_.deliveryDate = '2018-07-13' AND this_.rxStatus = '2';
Date: 2018-07-13 12:35:48 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:08:26 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 08:30:00 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 18s736ms 5,094 0ms 17ms 3ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus IS NULL;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 13 06 232 734ms 3ms 07 113 371ms 3ms 08 686 2s330ms 3ms 09 794 2s798ms 3ms 10 489 1s794ms 3ms 11 239 915ms 3ms 12 304 1s142ms 3ms 13 552 2s96ms 3ms 14 558 2s140ms 3ms 15 489 1s925ms 3ms 16 146 590ms 4ms 17 447 1s736ms 3ms 18 45 159ms 3ms [ User: pharmisight - Total duration: 18s736ms - Times executed: 5094 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s736ms - Times executed: 5094 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-12' AND this_.rxStatus IS NULL;
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-16' AND this_.rxStatus IS NULL;
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-16' AND this_.rxStatus IS NULL;
Date: 2018-07-13 08:04:31 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 14:17:20 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 08:42:58 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 17s92ms 956,444 0ms 9ms 0ms SHOW TRANSACTION ISOLATION LEVEL;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 13 00 38,456 681ms 0ms 01 36,281 655ms 0ms 02 36,269 658ms 0ms 03 36,219 649ms 0ms 04 36,342 659ms 0ms 05 36,661 674ms 0ms 06 47,015 805ms 0ms 07 44,467 764ms 0ms 08 47,213 832ms 0ms 09 46,096 810ms 0ms 10 44,920 783ms 0ms 11 42,508 746ms 0ms 12 43,397 801ms 0ms 13 43,378 763ms 0ms 14 43,410 756ms 0ms 15 39,870 722ms 0ms 16 36,999 667ms 0ms 17 40,650 715ms 0ms 18 36,556 656ms 0ms 19 36,122 671ms 0ms 20 35,501 629ms 0ms 21 36,133 656ms 0ms 22 36,077 667ms 0ms 23 35,904 662ms 0ms [ User: symmetricds - Total duration: 17s61ms - Times executed: 955798 ]
[ User: pharmisight - Total duration: 31ms - Times executed: 646 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s92ms - Times executed: 956436 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 8 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2018-07-13 15:34:16 Duration: 9ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 17:16:50 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:42:35 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 16s117ms 1,253 0ms 53ms 12ms UPDATE order_lines SET routenumber = '', sapordernumber = '', ordernumber = '', answerordernumber = NULL, partcode = '', partdescription = '', patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', patientpostcodeprefix = '', orderqty = '', allocqty = '', shipqty = NULL, adjustedqty = '', scannedqty = '', assignedqty = '', checkedqty = '', backorderqty = '', cancelqty = '', reducedqty = '', STATUS = '', reason = NULL, deliverydate = '', customer = '', sapcustomerid = '', billtotype = '', barcodedate = NULL, barcodebatch = NULL, patientid = '', isadded = NULL, isnotwithinage = NULL, isunderage = '', agecheck = '', expired = NULL, paperwork = '', ispaperworkproblem = '', paperworkresolution = NULL, pickerid = '', specialcare = '', paperworkenquirystarted = NULL, paperworkenquiryfinished = NULL, paperworkenquiryresponse = NULL, isnewproduct = NULL, extraprocedure = NULL, overaverageqtymax = NULL, overaverageqtyresolution = NULL, createuser = '', patientalert = NULL, itemalert = NULL, checkerid = '', reductionsummary = NULL, ismetabolic = NULL, rxstatus = '', lastregupdateusertype = '', lastregupdateusername = '', lastregupdatedate = '', sapplannedshipdate = '', sapplanneddeliverydate = '', requestedsapquantity = '', orderquantity = '', reglinecreatedusertype = '', reglinecreatedusername = '', reglinecreateddate = '', audited = NULL, ismetabolicpatient = NULL, addedcase = NULL, ordertype = NULL, created = '', updated = NULL, rxcheckby = '', note = '', item = '', alertconfirmation = NULL, homewardaction = NULL WHERE order_line_id = '';Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 13 06 134 1s655ms 12ms 07 156 1s999ms 12ms 08 98 1s243ms 12ms 09 126 1s562ms 12ms 10 199 2s423ms 12ms 11 184 2s326ms 12ms 12 68 938ms 13ms 13 122 1s571ms 12ms 14 71 990ms 13ms 15 29 452ms 15ms 16 2 42ms 21ms 17 64 911ms 14ms [ User: pharmisight - Total duration: 16s117ms - Times executed: 1253 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s117ms - Times executed: 1253 ]
-
UPDATE ORDER_LINES SET routeNumber = '9004117', sapOrderNumber = '7735103', orderNumber = '5004228497', answerOrderNumber = NULL, partCode = '64289', partDescription = 'Fresubin 2kcal Fibre Vanilla 200ml ', patientName = 'Nicola Mccabe', firstName = 'Nicola', middleName = NULL, lastName = 'Mccabe', patientDateOfBirth = '1966-12-03', patientPostcode = 'SA14 8RY', patientPostcodePrefix = 'SA', orderQty = '56', allocQty = '56', shipQty = NULL, adjustedQty = '48', scannedQty = '48', assignedQty = '0', checkedQty = '48', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-07-16', customer = 'Stuart Quigley', sapCustomerId = '685175230', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200364270', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001222', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Michael Phiri-Thorne', patientAlert = NULL, itemAlert = NULL, checkerId = '200000520', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'rebecca.james@nutricia.connections', lastRegUpdateDate = '2018-07-07 09:11:31', sapPlannedShipDate = '2018-07-13', sapPlannedDeliveryDate = '2018-07-16', requestedSAPQuantity = '56', orderQuantity = '56', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'rachel.lewis@nutricia.connections', regLineCreatedDate = '2017-08-16 14:30:32', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-13 05:57:04.811', UPDATED = NULL, rxCheckBy = '4061', note = 'Beverley Mitchell', item = '3535', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214422582';
-
UPDATE ORDER_LINES SET routeNumber = '9003842', sapOrderNumber = '7735764', orderNumber = '5004233122', answerOrderNumber = NULL, partCode = '64330', partDescription = 'Optifiber 250g', patientName = 'Ibraheem Asghar', firstName = 'Ibraheem', middleName = NULL, lastName = 'Asghar', patientDateOfBirth = '2009-03-07', patientPostcode = 'BD21 2RT', patientPostcodePrefix = 'BD', orderQty = '2', allocQty = '2', shipQty = NULL, adjustedQty = '2', scannedQty = '2', assignedQty = '0', checkedQty = '2', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-07-16', customer = 'Brenda Melville', sapCustomerId = '685060796', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '34675', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'eRx Failed', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001302', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Johnathan Baysting', patientAlert = NULL, itemAlert = NULL, checkerId = '4061', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'ryan.white@nutricia.connections', lastRegUpdateDate = '2018-07-07 11:11:50', sapPlannedShipDate = '2018-07-13', sapPlannedDeliveryDate = '2018-07-16', requestedSAPQuantity = '2', orderQuantity = '2', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'jenny.clark@nutricia.connections', regLineCreatedDate = '2018-04-17 13:30:55', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-13 05:57:04.739', UPDATED = NULL, rxCheckBy = '4', note = 'Neville Bosworth', item = '2752', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214423602';
-
UPDATE ORDER_LINES SET routeNumber = '9004141', sapOrderNumber = '7736374', orderNumber = '5004231696', answerOrderNumber = NULL, partCode = '42675', partDescription = 'Nutrison Energy MF 1000ml', patientName = 'Foster Jones', firstName = 'Foster', middleName = NULL, lastName = 'Jones', patientDateOfBirth = '1940-12-11', patientPostcode = 'B21 0HP', patientPostcodePrefix = 'B', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '16', scannedQty = '16', assignedQty = '0', checkedQty = '16', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-07-16', customer = 'Johnathan Baysting', sapCustomerId = '685179889', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200380212', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'REG OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '43421260', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Petra Tabaczynska', patientAlert = NULL, itemAlert = NULL, checkerId = '15364', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS System Administrator', lastRegUpdateUserName = 'louise.reys@nutricia.connections', lastRegUpdateDate = '2018-04-24 13:50:02', sapPlannedShipDate = '2018-07-13', sapPlannedDeliveryDate = '2018-07-16', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'sinead.walsh@nutricia.connections', regLineCreatedDate = '2018-01-19 14:35:43', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-13 05:57:04.848', UPDATED = NULL, rxCheckBy = '200001312', note = 'Karen Hunt', item = '32965083', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214432652';
Date: 2018-07-13 07:34:20 Duration: 53ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 09:12:25 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 17:10:41 Duration: 30ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 14s582ms 564 12ms 49ms 25ms SELECT this_.flow_report_id AS flow_rep1_7_0_, this_.routenumber AS routenum2_7_0_, this_.rounddeliverydate AS rounddel3_7_0_, this_.distributionpoint AS distribu4_7_0_, this_.fullypicked AS fullypic5_7_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, this_.causeofdelay AS causeofd7_7_0_, this_.pharmacy100checktime AS pharmacy8_7_0_, this_.linesheldback AS lineshel9_7_0_, this_.packtime100 AS packtim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickdatetime AS pickdat13_7_0_, this_.failedtargetpicktime AS failedt14_7_0_, this_.actualpaperworkcompletetime AS actualp15_7_0_, this_.changedpickdatetime AS changed16_7_0_, this_.manuallychangedpicktime AS manuall17_7_0_, this_.created AS created18_7_0_, this_.updated AS updated19_7_0_, this_.note AS note20_7_0_ FROM flow_reports this_ WHERE this_.created > '' AND this_.created < '' ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 13 05 22 606ms 27ms 06 272 6s261ms 23ms 07 1 43ms 43ms 08 6 183ms 30ms 10 50 1s445ms 28ms 11 31 907ms 29ms 12 13 382ms 29ms 13 2 71ms 35ms 14 55 1s522ms 27ms 15 45 1s267ms 28ms 16 18 508ms 28ms 17 29 839ms 28ms 18 20 543ms 27ms [ User: pharmisight - Total duration: 14s582ms - Times executed: 564 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s582ms - Times executed: 564 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-13 00:00:00' AND this_.CREATED < '2018-07-13 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-13 00:00:00' AND this_.CREATED < '2018-07-13 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-13 00:00:00' AND this_.CREATED < '2018-07-13 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-13 17:08:25 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 11:29:36 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:31:14 Duration: 47ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 14s531ms 44 0ms 5s842ms 330ms UPDATE flow_reports SET routenumber = '', rounddeliverydate = '', distributionpoint = '', fullypicked = '', outbaseroutescorrectlygrouped = '', causeofdelay = NULL, pharmacy100checktime = NULL, linesheldback = '', packtime100 = NULL, replenish = NULL, COMMENT = NULL, pickdatetime = NULL, failedtargetpicktime = NULL, actualpaperworkcompletetime = '', changedpickdatetime = '', manuallychangedpicktime = '', created = '', updated = NULL, note = NULL WHERE flow_report_id = '';Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 13 06 38 14s514ms 381ms 12 2 3ms 1ms 17 4 13ms 3ms [ User: pharmisight - Total duration: 14s531ms - Times executed: 44 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s531ms - Times executed: 44 ]
-
UPDATE FLOW_REPORTS SET routeNumber = '9004138', roundDeliveryDate = '2018-07-16', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-13 06:08:19.908', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-13 12:00:27.75', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200410922';
-
UPDATE FLOW_REPORTS SET routeNumber = '9004143', roundDeliveryDate = '2018-07-16', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-13 06:08:19.948', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-13 12:00:37.313', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200410982';
-
UPDATE FLOW_REPORTS SET routeNumber = '9004138', roundDeliveryDate = '2018-07-16', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-13 06:08:19.908', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-13 12:00:27.75', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200410922';
Date: 2018-07-13 06:14:30 Duration: 5s842ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:15:16 Duration: 4s47ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:14:26 Duration: 3s333ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 14s245ms 2,012 3ms 32ms 7ms 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 #15
Day Hour Count Duration Avg duration Jul 13 05 1,400 10s311ms 7ms 06 594 3s738ms 6ms 10 2 29ms 14ms 12 10 95ms 9ms 15 1 14ms 14ms 17 5 55ms 11ms [ User: pharmisight - Total duration: 14s245ms - Times executed: 2012 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s245ms - Times executed: 2012 ]
-
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 ('9004133', '7735311', '5004229310', NULL, '88547', 'Vital 1.5kcal 200ml', 'Oliver Rossiter', 'Oliver', NULL, 'Rossiter', '2006-07-20', 'GL14 1QN', 'GL', '84', '84', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-07-16', 'Jennifer Edmonds', '685062720', 'Hospital_vod', NULL, NULL, '682308', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Apriyanti Pertiwi', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS System Administrator', 'lyndsay.mizen@nutricia.connections', '2018-05-08 13:28:21', '2018-07-13', '2018-07-16', '84', '84', 'PMS HCP User', 'sarah.pidgeon@nutricia.connections', '2018-01-17 11:02:31', NULL, NULL, NULL, NULL, '2018-07-13 05:57:04.786', NULL, NULL, NULL, '3639', NULL, NULL, '214427612');
-
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 ('9004117', '7734694', '5004230251', NULL, '63384', 'Resource 2.0 Fibre Vanilla 200ml ', 'Jack Wright', 'Jack', NULL, 'Wright', '2000-02-25', 'CV35 0JS', 'CV', '5', '5', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOuter', NULL, '2018-07-16', 'Michael Phiri-Thorne', '685050558', 'Organization_vod', NULL, NULL, '298162', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Michael Phiri-Thorne', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS System Administrator', 'lyndsay.mizen@nutricia.connections', '2018-05-15 14:19:26', '2018-07-13', '2018-07-16', '5', '5', 'PMS HCP User', 'bernadette.devonald@nutricia.connections', '2018-04-18 13:03:11', NULL, NULL, NULL, NULL, '2018-07-13 05:57:04.87', NULL, NULL, NULL, '3426', NULL, NULL, '214421912');
-
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 ('9003838', '7735159', '5004228268', NULL, '49135', 'Pepdite - AA Module 100g', 'Sehr Kauser', 'Sehr', NULL, 'Kauser', '2006-03-16', 'S11 9FE', 'S', '6', '6', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-07-16', 'Sophie Price', '685050908', 'Pharmacy (CURO)', NULL, NULL, '351701', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Gillian Payne', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinators', 'gillian.payne@nutricia.connections', '2017-01-19 15:26:33', '2018-07-13', '2018-07-16', '6', '6', 'CURO PMS Data Migration', 'data.migration@nutricia.com', '2016-05-10 16:39:54', NULL, NULL, NULL, NULL, '2018-07-13 05:57:04.897', NULL, NULL, NULL, '2905', NULL, NULL, '214428282');
Date: 2018-07-13 05:59:08 Duration: 32ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 05:57:43 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 05:59:26 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 14s107ms 116,549 0ms 77ms 0ms SELECT orderlines0_.order_id AS order_i79_20_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 13 05 178 20ms 0ms 06 6,244 730ms 0ms 07 29,409 3s568ms 0ms 08 14,607 1s808ms 0ms 09 8,240 1s41ms 0ms 10 14,909 1s795ms 0ms 11 6,936 811ms 0ms 12 5,269 675ms 0ms 13 9,248 1s95ms 0ms 14 11,178 1s356ms 0ms 15 5,101 609ms 0ms 16 944 110ms 0ms 17 4,031 460ms 0ms 18 255 25ms 0ms [ User: pharmisight - Total duration: 14s107ms - Times executed: 116549 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s107ms - Times executed: 116549 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207977942' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207985912' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208219292' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-07-13 07:42:39 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 07:39:28 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 07:57:41 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 14s71ms 5,094 1ms 21ms 2ms SELECT count (*) AS col_0_0_ FROM order_lines orderline0_ WHERE orderline0_.status <> '' AND orderline0_.deliverydate = '';Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 13 06 232 576ms 2ms 07 113 287ms 2ms 08 686 1s775ms 2ms 09 794 2s107ms 2ms 10 489 1s385ms 2ms 11 239 683ms 2ms 12 304 853ms 2ms 13 552 1s559ms 2ms 14 558 1s574ms 2ms 15 489 1s426ms 2ms 16 146 449ms 3ms 17 447 1s279ms 2ms 18 45 113ms 2ms [ User: pharmisight - Total duration: 14s71ms - Times executed: 5094 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s71ms - Times executed: 5094 ]
-
SELECT count (*) AS col_0_0_ FROM ORDER_LINES orderline0_ WHERE orderline0_.status <> 'Quarantine' AND orderline0_.deliveryDate = '2018-07-16';
-
SELECT count (*) AS col_0_0_ FROM ORDER_LINES orderline0_ WHERE orderline0_.status <> 'Quarantine' AND orderline0_.deliveryDate = '2018-07-13';
-
SELECT count (*) AS col_0_0_ FROM ORDER_LINES orderline0_ WHERE orderline0_.status <> 'Quarantine' AND orderline0_.deliveryDate = '2018-07-13';
Date: 2018-07-13 09:06:59 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:06:17 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:35:34 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 13s48ms 583 10ms 49ms 22ms 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 #18
Day Hour Count Duration Avg duration Jul 13 06 13 292ms 22ms 07 101 2s234ms 22ms 08 125 2s858ms 22ms 09 81 1s782ms 22ms 10 82 1s810ms 22ms 11 46 1s64ms 23ms 12 32 715ms 22ms 13 33 713ms 21ms 14 50 1s114ms 22ms 15 11 259ms 23ms 16 2 47ms 23ms 17 6 142ms 23ms 18 1 12ms 12ms [ User: pharmisight - Total duration: 13s48ms - Times executed: 583 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s48ms - Times executed: 583 ]
-
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 = '200504772' 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 = '200504722' 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 = '200504242' ORDER BY alerts0_.created ASC;
Date: 2018-07-13 08:46:25 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 08:56:01 Duration: 42ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:46:41 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 12s957ms 144 45ms 106ms 89ms 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 #19
Day Hour Count Duration Avg duration Jul 13 06 15 1s427ms 95ms 07 29 2s619ms 90ms 08 45 4s18ms 89ms 09 34 2s934ms 86ms 12 21 1s958ms 93ms [ User: pharmisight - Total duration: 12s957ms - Times executed: 144 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s957ms - Times executed: 144 ]
-
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 = '200845882' 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 = '200846392' 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 = '200749452' ORDER BY epscheckli0_.description ASC;
Date: 2018-07-13 09:37:17 Duration: 106ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:24:19 Duration: 103ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 12:30:56 Duration: 101ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 11s311ms 3,131 0ms 23ms 3ms UPDATE orders SET sapordernumber = '', answerordernumber = NULL, ordernumber = '', routenumber = '', billtotype = NULL, patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', customer = NULL, sapcustomerid = '', STATUS = '', patientid = '', isnotwithinage = NULL, expired = NULL, paperwork = NULL, deliverybarcode = NULL, deliverydate = '', rxstatus = '', createuser = '', subordertype = '', sapcontractid = '', salesforceordernumber = '', patienttype = '', ordertype = '', orderstatus = '', nhsnumber = '', individuallabelling = '', orderid = '', clusterlead = '', clustergroup = '', accountid = '', reduction = NULL, reductionby = NULL, alertconfirmation = NULL, created = '', updated = NULL, note = NULL WHERE order_id = '';Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 13 05 93 111ms 1ms 06 1,417 2s659ms 1ms 07 187 1s6ms 5ms 08 398 1s885ms 4ms 09 299 1s414ms 4ms 10 165 848ms 5ms 11 106 614ms 5ms 12 92 575ms 6ms 13 132 687ms 5ms 14 140 834ms 5ms 15 33 259ms 7ms 16 6 54ms 9ms 17 63 361ms 5ms [ User: pharmisight - Total duration: 11s311ms - Times executed: 3131 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s311ms - Times executed: 3131 ]
-
UPDATE ORDERS SET sapOrderNumber = '7735451', answerOrderNumber = NULL, orderNumber = '5004228896', routeNumber = '9003782', billToType = NULL, patientName = 'Beth Fargher', firstName = 'Beth', middleName = NULL, lastName = 'Fargher', patientDateOfBirth = '2003-08-21', patientPostcode = 'G52 4HR', customer = NULL, sapCustomerId = '685055805', STATUS = 'Checked', patientId = '93430', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-17', rxStatus = '1', createUser = 'Isabella Carosi', subOrderType = 'Standard', sapContractId = '650134232', salesforceOrderNumber = '11019429', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '2108035761', individualLabelling = 'f', orderId = 'a4r1p0000066L2dAAE', clusterLead = 'Samra Chergui', clusterGroup = 'NHS GGC PAEDIATRICS', accountId = '154968', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-13 05:56:41.567', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208215972';
-
UPDATE ORDERS SET sapOrderNumber = '7735017', answerOrderNumber = NULL, orderNumber = '5004231166', routeNumber = '9004116', billToType = NULL, patientName = 'James Ewens', firstName = 'James', middleName = NULL, lastName = 'Ewens', patientDateOfBirth = '1947-01-10', patientPostcode = 'HD5 9XU', customer = NULL, sapCustomerId = '685190135', STATUS = 'Checked', patientId = '200437222', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-16', rxStatus = '1', createUser = 'Sarah Carter', subOrderType = 'Standard', sapContractId = '650105919', salesforceOrderNumber = '11020022', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '4980266983', individualLabelling = 'f', orderId = 'a4r1p0000066LoDAAU', clusterLead = 'Gill Feltham', clusterGroup = 'CALDERDALE & HUDDERSFIELD NHSFT', accountId = '131845', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-13 05:57:04.821', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208217702';
-
UPDATE ORDERS SET sapOrderNumber = '7735219', answerOrderNumber = NULL, orderNumber = '5004231366', routeNumber = '9003780', billToType = NULL, patientName = 'Melanie Pender', firstName = 'Melanie', middleName = NULL, lastName = 'Pender', patientDateOfBirth = '1984-09-19', patientPostcode = 'EH16 6NS', customer = NULL, sapCustomerId = '685056661', STATUS = 'Uploaded', patientId = '57755', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-17', rxStatus = '1', createUser = 'Tracie Boulton', subOrderType = 'Standard', sapContractId = '650105973', salesforceOrderNumber = '11021076', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '1009841161', individualLabelling = 'f', orderId = 'a4r1p0000066NAZAA2', clusterLead = 'Samra Chergui', clusterGroup = 'NHS LOTHIAN', accountId = '147844', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-13 05:56:41.574', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208215922';
Date: 2018-07-13 06:54:06 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 07:30:44 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:02:54 Duration: 17ms 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 956,444 17s92ms 0ms 9ms 0ms SHOW TRANSACTION ISOLATION LEVEL;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 13 00 38,456 681ms 0ms 01 36,281 655ms 0ms 02 36,269 658ms 0ms 03 36,219 649ms 0ms 04 36,342 659ms 0ms 05 36,661 674ms 0ms 06 47,015 805ms 0ms 07 44,467 764ms 0ms 08 47,213 832ms 0ms 09 46,096 810ms 0ms 10 44,920 783ms 0ms 11 42,508 746ms 0ms 12 43,397 801ms 0ms 13 43,378 763ms 0ms 14 43,410 756ms 0ms 15 39,870 722ms 0ms 16 36,999 667ms 0ms 17 40,650 715ms 0ms 18 36,556 656ms 0ms 19 36,122 671ms 0ms 20 35,501 629ms 0ms 21 36,133 656ms 0ms 22 36,077 667ms 0ms 23 35,904 662ms 0ms [ User: symmetricds - Total duration: 17s61ms - Times executed: 955798 ]
[ User: pharmisight - Total duration: 31ms - Times executed: 646 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s92ms - Times executed: 956436 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 8 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2018-07-13 15:34:16 Duration: 9ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 17:16:50 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:42:35 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 457,312 5s530ms 0ms 3ms 0ms SELECT 0;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 13 00 17,804 211ms 0ms 01 16,092 197ms 0ms 02 16,086 197ms 0ms 03 16,058 193ms 0ms 04 16,123 201ms 0ms 05 16,434 201ms 0ms 06 25,197 293ms 0ms 07 23,041 273ms 0ms 08 24,530 292ms 0ms 09 23,828 283ms 0ms 10 23,105 273ms 0ms 11 21,412 266ms 0ms 12 21,737 264ms 0ms 13 22,019 264ms 0ms 14 22,073 261ms 0ms 15 19,143 227ms 0ms 16 16,715 205ms 0ms 17 19,776 240ms 0ms 18 16,409 196ms 0ms 19 15,985 199ms 0ms 20 15,809 190ms 0ms 21 16,015 197ms 0ms 22 15,991 196ms 0ms 23 15,930 200ms 0ms [ User: symmetricds - Total duration: 5s530ms - Times executed: 457312 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s530ms - Times executed: 457312 ]
-
SELECT 1;
-
SELECT 1;
-
SELECT 1;
Date: 2018-07-13 17:17:50 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 19:54:54 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 11:21:42 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 399,149 2s517ms 0ms 1ms 0ms BEGIN;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 13 00 13,612 82ms 0ms 01 12,242 75ms 0ms 02 12,236 74ms 0ms 03 12,222 75ms 0ms 04 12,274 75ms 0ms 05 12,574 78ms 0ms 06 23,485 147ms 0ms 07 20,843 131ms 0ms 08 26,056 172ms 0ms 09 25,475 167ms 0ms 10 23,054 149ms 0ms 11 19,405 121ms 0ms 12 19,670 125ms 0ms 13 21,219 137ms 0ms 14 21,600 137ms 0ms 15 17,539 110ms 0ms 16 13,630 86ms 0ms 17 18,566 119ms 0ms 18 12,871 79ms 0ms 19 12,159 74ms 0ms 20 11,985 72ms 0ms 21 12,176 73ms 0ms 22 12,159 74ms 0ms 23 12,097 74ms 0ms [ User: symmetricds - Total duration: 2s162ms - Times executed: 356942 ]
[ User: pharmisight - Total duration: 354ms - Times executed: 42207 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s516ms - Times executed: 399087 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 62 ]
-
BEGIN;
-
BEGIN;
-
BEGIN;
Date: 2018-07-13 07:01:36 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 05:04:33 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 07:42:37 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 399,119 32s395ms 0ms 474ms 0ms COMMIT;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 13 00 13,613 675ms 0ms 01 12,242 341ms 0ms 02 12,236 332ms 0ms 03 12,222 309ms 0ms 04 12,274 342ms 0ms 05 12,573 450ms 0ms 06 23,484 3s702ms 0ms 07 20,843 2s561ms 0ms 08 26,055 3s516ms 0ms 09 25,473 3s233ms 0ms 10 23,053 2s703ms 0ms 11 19,403 2s72ms 0ms 12 19,670 2s158ms 0ms 13 21,216 2s206ms 0ms 14 21,597 2s424ms 0ms 15 17,537 1s291ms 0ms 16 13,627 542ms 0ms 17 18,563 1s562ms 0ms 18 12,862 450ms 0ms 19 12,159 303ms 0ms 20 11,985 295ms 0ms 21 12,176 293ms 0ms 22 12,159 314ms 0ms 23 12,097 309ms 0ms [ User: symmetricds - Total duration: 24s756ms - Times executed: 356943 ]
[ User: pharmisight - Total duration: 7s639ms - Times executed: 42176 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 32s382ms - Times executed: 399081 ]
[ Application: [unknown] - Total duration: 12ms - Times executed: 38 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-07-13 06:15:05 Duration: 474ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:07:26 Duration: 62ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 08:10:06 Duration: 20ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 135,841 8s302ms 0ms 8ms 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 Jul 13 00 764 40ms 0ms 01 490 34ms 0ms 02 742 46ms 0ms 03 456 30ms 0ms 04 480 33ms 0ms 05 3,330 212ms 0ms 06 50,498 2s621ms 0ms 07 8,200 528ms 0ms 08 10,842 722ms 0ms 09 10,364 688ms 0ms 10 10,180 670ms 0ms 11 7,026 470ms 0ms 12 6,314 399ms 0ms 13 8,154 557ms 0ms 14 8,854 603ms 0ms 15 2,610 179ms 0ms 16 512 38ms 0ms 17 3,356 243ms 0ms 18 188 14ms 0ms 19 42 6ms 0ms 20 361 24ms 0ms 21 358 25ms 0ms 22 868 56ms 0ms 23 852 53ms 0ms [ User: symmetricds - Total duration: 8s302ms - Times executed: 135841 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s302ms - Times executed: 135841 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('86151915', '7745243', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('86100961', '7740748', 'redditch_bankstreet', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('86115266', '7740879', 'redditch_cloud', current_timestamp);
Date: 2018-07-13 14:30:24 Duration: 8ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:03:39 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:14:42 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 116,549 14s107ms 0ms 77ms 0ms SELECT orderlines0_.order_id AS order_i79_20_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 13 05 178 20ms 0ms 06 6,244 730ms 0ms 07 29,409 3s568ms 0ms 08 14,607 1s808ms 0ms 09 8,240 1s41ms 0ms 10 14,909 1s795ms 0ms 11 6,936 811ms 0ms 12 5,269 675ms 0ms 13 9,248 1s95ms 0ms 14 11,178 1s356ms 0ms 15 5,101 609ms 0ms 16 944 110ms 0ms 17 4,031 460ms 0ms 18 255 25ms 0ms [ User: pharmisight - Total duration: 14s107ms - Times executed: 116549 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s107ms - Times executed: 116549 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207977942' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207985912' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208219292' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-07-13 07:42:39 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 07:39:28 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 07:57:41 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 106,887 5s121ms 0ms 16ms 0ms SELECT this_.dlx_barcode AS dlx_barc1_3_0_, this_.ordernumber AS ordernum2_3_0_, this_.pickdatetime AS pickdate3_3_0_, this_.picker AS picker4_3_0_, this_.created AS created5_3_0_, this_.partcode AS partcode6_3_0_, this_.orderqty AS orderqty7_3_0_ FROM dlx_barcodes this_ WHERE this_.ordernumber = '';Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 13 06 4,057 193ms 0ms 07 28,837 1s292ms 0ms 08 13,268 607ms 0ms 09 7,221 353ms 0ms 10 14,075 697ms 0ms 11 6,501 333ms 0ms 12 4,920 255ms 0ms 13 8,789 449ms 0ms 14 9,530 460ms 0ms 15 4,897 240ms 0ms 16 894 44ms 0ms 17 3,688 182ms 0ms 18 210 10ms 0ms [ User: pharmisight - Total duration: 5s121ms - Times executed: 106887 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s121ms - Times executed: 106887 ]
-
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 = '5003993738';
-
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 = '5004233653';
-
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 = '5004227438';
Date: 2018-07-13 11:30:49 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 13:33:41 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:23:29 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 77,102 3s594ms 0ms 0ms 0ms SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = '' ORDER BY start_id ASC;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 13 00 3,195 147ms 0ms 01 3,222 151ms 0ms 02 3,222 153ms 0ms 03 3,213 146ms 0ms 04 3,222 149ms 0ms 05 3,213 151ms 0ms 06 3,204 154ms 0ms 07 3,204 148ms 0ms 08 3,204 149ms 0ms 09 3,203 148ms 0ms 10 3,213 148ms 0ms 11 3,204 148ms 0ms 12 3,213 150ms 0ms 13 3,213 148ms 0ms 14 3,213 148ms 0ms 15 3,213 148ms 0ms 16 3,213 147ms 0ms 17 3,213 150ms 0ms 18 3,213 152ms 0ms 19 3,213 150ms 0ms 20 3,222 148ms 0ms 21 3,222 148ms 0ms 22 3,213 150ms 0ms 23 3,222 151ms 0ms [ User: symmetricds - Total duration: 3s594ms - Times executed: 77102 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s594ms - Times executed: 77102 ]
-
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-07-13 15:23:31 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:26:17 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 18:43:52 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 68,221 2s141ms 0ms 5ms 0ms SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = '' AND ((d.data_id BETWEEN '' AND '')) ORDER BY d.data_id ASC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 13 00 2,842 67ms 0ms 01 2,865 67ms 0ms 02 2,866 68ms 0ms 03 2,857 67ms 0ms 04 2,865 67ms 0ms 05 2,757 93ms 0ms 06 2,592 149ms 0ms 07 2,850 109ms 0ms 08 2,852 129ms 0ms 09 2,852 122ms 0ms 10 2,859 119ms 0ms 11 2,850 108ms 0ms 12 2,862 100ms 0ms 13 2,859 113ms 0ms 14 2,859 117ms 0ms 15 2,856 82ms 0ms 16 2,856 68ms 0ms 17 2,856 86ms 0ms 18 2,856 67ms 0ms 19 2,856 65ms 0ms 20 2,865 66ms 0ms 21 2,864 66ms 0ms 22 2,858 67ms 0ms 23 2,867 67ms 0ms [ User: symmetricds - Total duration: 2s141ms - Times executed: 68221 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s141ms - Times executed: 68221 ]
-
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 '86113443' AND '136113442')) 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 '86092045' AND '136092044')) 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 '86093433' AND '136093432')) ORDER BY d.data_id ASC;
Date: 2018-07-13 06:07:36 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 05:56:56 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 05:57:18 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 66,822 26s872ms 0ms 12ms 0ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 13 05 423 187ms 0ms 06 18,236 6s849ms 0ms 07 774 614ms 0ms 08 1,463 748ms 0ms 09 988 405ms 0ms 10 8,500 3s595ms 0ms 11 4,592 1s913ms 0ms 12 1,741 692ms 0ms 13 1,512 579ms 0ms 14 10,540 4s163ms 0ms 15 8,306 3s321ms 0ms 16 3,295 1s330ms 0ms 17 4,139 1s617ms 0ms 18 2,088 803ms 0ms 20 225 49ms 0ms [ User: pharmisight - Total duration: 26s872ms - Times executed: 66822 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s872ms - Times executed: 66822 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200446372' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200445782' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200446602' ORDER BY orders0_.order_id ASC;
Date: 2018-07-13 10:51:42 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:11:01 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 14:20:02 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 58,361 1m2s 0ms 15ms 1ms SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 13 05 418 451ms 1ms 06 17,698 16s630ms 0ms 07 95 133ms 1ms 08 993 1s166ms 1ms 09 118 123ms 1ms 10 7,005 7s938ms 1ms 11 3,849 4s501ms 1ms 12 1,087 1s221ms 1ms 13 547 631ms 1ms 14 9,667 10s606ms 1ms 15 7,776 8s798ms 1ms 16 3,182 3s620ms 1ms 17 3,535 3s898ms 1ms 18 2,111 2s262ms 1ms 20 280 184ms 0ms [ User: pharmisight - Total duration: 1m2s - Times executed: 58361 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m2s - Times executed: 58361 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200446462' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200446462' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200445232' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-07-13 14:39:46 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:09:30 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:36:23 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 57,217 1s178ms 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 #12
Day Hour Count Duration Avg duration Jul 13 00 2,434 47ms 0ms 01 2,400 48ms 0ms 02 2,400 50ms 0ms 03 2,400 49ms 0ms 04 2,400 51ms 0ms 05 2,384 50ms 0ms 06 2,191 43ms 0ms 07 2,400 46ms 0ms 08 2,400 49ms 0ms 09 2,400 48ms 0ms 10 2,400 49ms 0ms 11 2,400 49ms 0ms 12 2,400 49ms 0ms 13 2,400 50ms 0ms 14 2,392 49ms 0ms 15 2,400 48ms 0ms 16 2,400 52ms 0ms 17 2,400 46ms 0ms 18 2,400 48ms 0ms 19 2,400 48ms 0ms 20 2,256 42ms 0ms 21 2,400 54ms 0ms 22 2,400 51ms 0ms 23 2,360 51ms 0ms [ User: symmetricds - Total duration: 1s178ms - Times executed: 57217 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s178ms - Times executed: 57217 ]
-
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 = 'heartbeat';
-
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 = 'reload';
-
SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = 'redditch' AND channel_id = 'pharmisight';
Date: 2018-07-13 14:17:46 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 21:41:57 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 16:44:49 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 50,465 3s139ms 0ms 1ms 0ms SELECT itembarcod0_.item_id AS item_id12_13_0_, itembarcod0_.item_barcode_id AS item_bar1_14_0_, itembarcod0_.item_barcode_id AS item_bar1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hassiblings AS hassibli4_14_1_, itembarcod0_.itembarcodetype AS itembarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdby AS createdb8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedby AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.item_id AS item_id12_14_1_ FROM item_barcodes itembarcod0_ WHERE itembarcod0_.item_id = '' ORDER BY itembarcod0_.barcode ASC;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 13 00 1,752 99ms 0ms 01 1,752 105ms 0ms 02 1,752 101ms 0ms 03 1,752 102ms 0ms 04 1,752 105ms 0ms 05 1,752 103ms 0ms 06 2,125 135ms 0ms 07 2,692 173ms 0ms 08 2,689 175ms 0ms 09 2,829 187ms 0ms 10 2,952 195ms 0ms 11 2,509 163ms 0ms 12 2,387 157ms 0ms 13 2,558 169ms 0ms 14 2,928 191ms 0ms 15 1,958 119ms 0ms 16 1,780 106ms 0ms 17 2,030 125ms 0ms 18 1,756 103ms 0ms 19 1,752 103ms 0ms 20 1,752 103ms 0ms 21 1,752 103ms 0ms 22 1,752 103ms 0ms 23 1,752 102ms 0ms [ User: pharmisight - Total duration: 3s139ms - Times executed: 50465 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s139ms - Times executed: 50465 ]
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '3001' ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '33073025' ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '3204' ORDER BY itembarcod0_.barcode ASC;
Date: 2018-07-13 09:00:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 01:00:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 12:00:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 49,201 2s569ms 0ms 4ms 0ms SELECT flowreport0_.flow_report_id AS flow_rep1_7_0_, flowreport0_.routenumber AS routenum2_7_0_, flowreport0_.rounddeliverydate AS rounddel3_7_0_, flowreport0_.distributionpoint AS distribu4_7_0_, flowreport0_.fullypicked AS fullypic5_7_0_, flowreport0_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, flowreport0_.causeofdelay AS causeofd7_7_0_, flowreport0_.pharmacy100checktime AS pharmacy8_7_0_, flowreport0_.linesheldback AS lineshel9_7_0_, flowreport0_.packtime100 AS packtim10_7_0_, flowreport0_.replenish AS repleni11_7_0_, flowreport0_.comment AS comment12_7_0_, flowreport0_.pickdatetime AS pickdat13_7_0_, flowreport0_.failedtargetpicktime AS failedt14_7_0_, flowreport0_.actualpaperworkcompletetime AS actualp15_7_0_, flowreport0_.changedpickdatetime AS changed16_7_0_, flowreport0_.manuallychangedpicktime AS manuall17_7_0_, flowreport0_.created AS created18_7_0_, flowreport0_.updated AS updated19_7_0_, flowreport0_.note AS note20_7_0_ FROM flow_reports flowreport0_ WHERE flowreport0_.flow_report_id = '';Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 13 06 1,982 99ms 0ms 07 1,217 60ms 0ms 08 5,395 285ms 0ms 09 7,471 380ms 0ms 10 5,712 294ms 0ms 11 2,540 135ms 0ms 12 3,162 162ms 0ms 13 5,555 290ms 0ms 14 5,237 266ms 0ms 15 4,319 235ms 0ms 16 1,470 83ms 0ms 17 4,762 256ms 0ms 18 364 17ms 0ms 20 15 0ms 0ms [ User: pharmisight - Total duration: 2s569ms - Times executed: 49201 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s569ms - Times executed: 49201 ]
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, flowreport0_.routeNumber AS routeNum2_7_0_, flowreport0_.roundDeliveryDate AS roundDel3_7_0_, flowreport0_.distributionPoint AS distribu4_7_0_, flowreport0_.fullyPicked AS fullyPic5_7_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, flowreport0_.causeOfDelay AS causeOfD7_7_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_7_0_, flowreport0_.linesHeldBack AS linesHel9_7_0_, flowreport0_.packTime100 AS packTim10_7_0_, flowreport0_.replenish AS repleni11_7_0_, flowreport0_.comment AS comment12_7_0_, flowreport0_.pickDateTime AS pickDat13_7_0_, flowreport0_.failedTargetPickTime AS failedT14_7_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_7_0_, flowreport0_.changedPickDateTime AS changed16_7_0_, flowreport0_.manuallyChangedPickTime AS manuall17_7_0_, flowreport0_.CREATED AS CREATED18_7_0_, flowreport0_.UPDATED AS UPDATED19_7_0_, flowreport0_.note AS note20_7_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = '200410792';
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, flowreport0_.routeNumber AS routeNum2_7_0_, flowreport0_.roundDeliveryDate AS roundDel3_7_0_, flowreport0_.distributionPoint AS distribu4_7_0_, flowreport0_.fullyPicked AS fullyPic5_7_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, flowreport0_.causeOfDelay AS causeOfD7_7_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_7_0_, flowreport0_.linesHeldBack AS linesHel9_7_0_, flowreport0_.packTime100 AS packTim10_7_0_, flowreport0_.replenish AS repleni11_7_0_, flowreport0_.comment AS comment12_7_0_, flowreport0_.pickDateTime AS pickDat13_7_0_, flowreport0_.failedTargetPickTime AS failedT14_7_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_7_0_, flowreport0_.changedPickDateTime AS changed16_7_0_, flowreport0_.manuallyChangedPickTime AS manuall17_7_0_, flowreport0_.CREATED AS CREATED18_7_0_, flowreport0_.UPDATED AS UPDATED19_7_0_, flowreport0_.note AS note20_7_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = '200410442';
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, flowreport0_.routeNumber AS routeNum2_7_0_, flowreport0_.roundDeliveryDate AS roundDel3_7_0_, flowreport0_.distributionPoint AS distribu4_7_0_, flowreport0_.fullyPicked AS fullyPic5_7_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, flowreport0_.causeOfDelay AS causeOfD7_7_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_7_0_, flowreport0_.linesHeldBack AS linesHel9_7_0_, flowreport0_.packTime100 AS packTim10_7_0_, flowreport0_.replenish AS repleni11_7_0_, flowreport0_.comment AS comment12_7_0_, flowreport0_.pickDateTime AS pickDat13_7_0_, flowreport0_.failedTargetPickTime AS failedT14_7_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_7_0_, flowreport0_.changedPickDateTime AS changed16_7_0_, flowreport0_.manuallyChangedPickTime AS manuall17_7_0_, flowreport0_.CREATED AS CREATED18_7_0_, flowreport0_.UPDATED AS UPDATED19_7_0_, flowreport0_.note AS note20_7_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = '200410772';
Date: 2018-07-13 16:08:23 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 08:22:05 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:25:35 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 47,711 2s801ms 0ms 6ms 0ms SELECT itemcodes0_.item_id AS item_id11_13_0_, itemcodes0_.item_code_id AS item_cod1_16_0_, itemcodes0_.item_code_id AS item_cod1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemcodetype AS itemcode3_16_1_, itemcodes0_.isprimary AS isprimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdby AS createdb7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedby AS updatedb9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.item_id AS item_id11_16_1_ FROM item_codes itemcodes0_ WHERE itemcodes0_.item_id = '' ORDER BY itemcodes0_.code ASC;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 13 00 1,968 110ms 0ms 01 1,968 117ms 0ms 02 1,968 112ms 0ms 03 1,968 114ms 0ms 04 1,968 116ms 0ms 05 1,968 114ms 0ms 06 2,021 124ms 0ms 07 2,096 133ms 0ms 08 2,029 119ms 0ms 09 2,017 119ms 0ms 10 1,981 114ms 0ms 11 1,992 117ms 0ms 12 2,075 129ms 0ms 13 1,985 115ms 0ms 14 1,984 116ms 0ms 15 1,968 114ms 0ms 16 1,973 115ms 0ms 17 1,974 114ms 0ms 18 1,968 114ms 0ms 19 1,968 113ms 0ms 20 1,968 114ms 0ms 21 1,968 113ms 0ms 22 1,968 114ms 0ms 23 1,968 112ms 0ms [ User: pharmisight - Total duration: 2s801ms - Times executed: 47711 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s801ms - Times executed: 47711 ]
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_13_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemCodeType AS itemCode3_16_1_, itemcodes0_.isPrimary AS isPrimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdBy AS createdB7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedBy AS updatedB9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_16_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '33074226' ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_13_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemCodeType AS itemCode3_16_1_, itemcodes0_.isPrimary AS isPrimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdBy AS createdB7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedBy AS updatedB9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_16_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '33074235' ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_13_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemCodeType AS itemCode3_16_1_, itemcodes0_.isPrimary AS isPrimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdBy AS createdB7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedBy AS updatedB9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_16_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '3244' ORDER BY itemcodes0_.code ASC;
Date: 2018-07-13 07:00:00 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 07:00:00 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:00:00 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 43,260 2s185ms 0ms 10ms 0ms SELECT orderround0_.order_round_id AS order_ro6_26_0_, orderround0_.order_round_picker_id AS order_ro1_29_0_, orderround0_.order_round_picker_id AS order_ro1_29_1_, orderround0_.pickerid AS pickerid2_29_1_, orderround0_.pickedorderlinescount AS pickedor3_29_1_, orderround0_.errors AS errors4_29_1_, orderround0_.errornote AS errornot5_29_1_ FROM order_round_pickers orderround0_ WHERE orderround0_.order_round_id = '' ORDER BY orderround0_.pickerid ASC;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 13 05 1 0ms 0ms 06 1,648 76ms 0ms 07 893 40ms 0ms 08 5,110 248ms 0ms 09 6,817 332ms 0ms 10 4,639 224ms 0ms 11 2,076 117ms 0ms 12 2,671 134ms 0ms 13 4,802 246ms 0ms 14 4,646 235ms 0ms 15 3,890 205ms 0ms 16 1,366 72ms 0ms 17 4,266 229ms 0ms 18 382 19ms 0ms 19 53 2ms 0ms [ User: pharmisight - Total duration: 2s185ms - Times executed: 43260 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s185ms - Times executed: 43260 ]
-
SELECT orderround0_.ORDER_ROUND_ID AS ORDER_RO6_26_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_29_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_29_1_, orderround0_.pickerId AS pickerId2_29_1_, orderround0_.pickedOrderLinesCount AS pickedOr3_29_1_, orderround0_.errors AS errors4_29_1_, orderround0_.errorNote AS errorNot5_29_1_ FROM ORDER_ROUND_PICKERS orderround0_ WHERE orderround0_.ORDER_ROUND_ID = '200425602' ORDER BY orderround0_.pickerId ASC;
-
SELECT orderround0_.ORDER_ROUND_ID AS ORDER_RO6_26_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_29_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_29_1_, orderround0_.pickerId AS pickerId2_29_1_, orderround0_.pickedOrderLinesCount AS pickedOr3_29_1_, orderround0_.errors AS errors4_29_1_, orderround0_.errorNote AS errorNot5_29_1_ FROM ORDER_ROUND_PICKERS orderround0_ WHERE orderround0_.ORDER_ROUND_ID = '200446462' ORDER BY orderround0_.pickerId ASC;
-
SELECT orderround0_.ORDER_ROUND_ID AS ORDER_RO6_26_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_29_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_29_1_, orderround0_.pickerId AS pickerId2_29_1_, orderround0_.pickedOrderLinesCount AS pickedOr3_29_1_, orderround0_.errors AS errors4_29_1_, orderround0_.errorNote AS errorNot5_29_1_ FROM ORDER_ROUND_PICKERS orderround0_ WHERE orderround0_.ORDER_ROUND_ID = '200446452' ORDER BY orderround0_.pickerId ASC;
Date: 2018-07-13 11:31:16 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 09:44:04 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 12:33:34 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 33,395 2s17ms 0ms 2ms 0ms SELECT * FROM order_rounds r WHERE r.flowreport = '';Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 13 05 315 19ms 0ms 06 9,562 518ms 0ms 07 49 3ms 0ms 08 444 27ms 0ms 10 3,607 229ms 0ms 11 2,153 139ms 0ms 12 783 49ms 0ms 13 210 13ms 0ms 14 5,723 354ms 0ms 15 4,725 297ms 0ms 16 1,890 121ms 0ms 17 2,251 145ms 0ms 18 1,458 89ms 0ms 20 225 8ms 0ms [ User: pharmisight - Total duration: 2s17ms - Times executed: 33395 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s17ms - Times executed: 33395 ]
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200410532';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200410532';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200410612';
Date: 2018-07-13 06:04:43 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:50:50 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:23:32 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 27,309 5s702ms 0ms 4ms 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 #18
Day Hour Count Duration Avg duration Jul 13 00 62 12ms 0ms 01 62 12ms 0ms 02 62 14ms 0ms 03 62 11ms 0ms 04 62 11ms 0ms 05 132 27ms 0ms 06 2,988 616ms 0ms 07 2,809 584ms 0ms 08 3,182 671ms 0ms 09 2,968 612ms 0ms 10 2,716 570ms 0ms 11 2,178 448ms 0ms 12 1,734 373ms 0ms 13 2,370 499ms 0ms 14 2,404 502ms 0ms 15 1,230 258ms 0ms 16 302 66ms 0ms 17 1,492 313ms 0ms 18 210 42ms 0ms 19 42 8ms 0ms 20 68 12ms 0ms 21 58 10ms 0ms 22 58 11ms 0ms 23 58 11ms 0ms [ User: symmetricds - Total duration: 5s702ms - Times executed: 27309 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s702ms - Times executed: 27309 ]
-
UPDATE sym_outgoing_batch SET STATUS = 'LD', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '2070', extract_count = '1', sent_count = '1', load_count = '1', data_event_count = '3', reload_event_count = '0', insert_event_count = '1', update_event_count = '2', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '10', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '17', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-13 16:09:49.227' WHERE batch_id = '7745741' 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 = '5472', extract_count = '1', sent_count = '1', load_count = '0', data_event_count = '15', reload_event_count = '0', insert_event_count = '7', update_event_count = '8', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '33', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '17', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-13 15:15:48.001' WHERE batch_id = '7745522' AND node_id = '2';
-
UPDATE sym_outgoing_batch SET STATUS = 'LD', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '6823', extract_count = '1', sent_count = '1', load_count = '1', data_event_count = '25', reload_event_count = '0', insert_event_count = '12', update_event_count = '13', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '35', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '9', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-13 13:02:44.973' WHERE batch_id = '7744508' AND node_id = '2';
Date: 2018-07-13 16:09:49 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:15:47 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 13:02:44 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 22,757 648ms 0ms 0ms 0ms SELECT nextval ('');Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 13 05 4,232 107ms 0ms 06 4,763 119ms 0ms 07 1,482 43ms 0ms 08 1,744 56ms 0ms 09 1,817 55ms 0ms 10 1,922 56ms 0ms 11 1,309 37ms 0ms 12 1,044 34ms 0ms 13 1,459 42ms 0ms 14 1,752 50ms 0ms 15 457 16ms 0ms 16 66 3ms 0ms 17 630 23ms 0ms 18 18 0ms 0ms 20 62 1ms 0ms [ User: pharmisight - Total duration: 648ms - Times executed: 22757 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 648ms - Times executed: 22757 ]
-
SELECT nextval ('rx_line_activities_sequence');
-
SELECT nextval ('order_round_pickers_sequence');
-
SELECT nextval ('order_round_pickers_sequence');
Date: 2018-07-13 17:12:04 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:18:56 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:43:37 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 20,376 1m17s 0ms 22ms 3ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 13 06 928 3s25ms 3ms 07 452 1s495ms 3ms 08 2,744 9s529ms 3ms 09 3,176 11s572ms 3ms 10 1,956 7s435ms 3ms 11 956 3s832ms 4ms 12 1,216 4s715ms 3ms 13 2,208 8s820ms 3ms 14 2,232 8s862ms 3ms 15 1,956 7s964ms 4ms 16 584 2s440ms 4ms 17 1,788 7s269ms 4ms 18 180 678ms 3ms [ User: pharmisight - Total duration: 1m17s - Times executed: 20376 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m17s - Times executed: 20376 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-16' AND this_.rxStatus = '5';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-13' AND this_.rxStatus = '1';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-16' AND this_.rxStatus = '2';
Date: 2018-07-13 13:42:24 Duration: 22ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 09:44:05 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:31:10 Duration: 19ms 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 5s842ms 330ms 44 14s531ms UPDATE flow_reports SET routenumber = '', rounddeliverydate = '', distributionpoint = '', fullypicked = '', outbaseroutescorrectlygrouped = '', causeofdelay = NULL, pharmacy100checktime = NULL, linesheldback = '', packtime100 = NULL, replenish = NULL, COMMENT = NULL, pickdatetime = NULL, failedtargetpicktime = NULL, actualpaperworkcompletetime = '', changedpickdatetime = '', manuallychangedpicktime = '', created = '', updated = NULL, note = NULL WHERE flow_report_id = '';Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 13 06 38 14s514ms 381ms 12 2 3ms 1ms 17 4 13ms 3ms [ User: pharmisight - Total duration: 14s531ms - Times executed: 44 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s531ms - Times executed: 44 ]
-
UPDATE FLOW_REPORTS SET routeNumber = '9004138', roundDeliveryDate = '2018-07-16', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-13 06:08:19.908', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-13 12:00:27.75', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200410922';
-
UPDATE FLOW_REPORTS SET routeNumber = '9004143', roundDeliveryDate = '2018-07-16', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-13 06:08:19.948', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-13 12:00:37.313', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200410982';
-
UPDATE FLOW_REPORTS SET routeNumber = '9004138', roundDeliveryDate = '2018-07-16', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-13 06:08:19.908', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-13 12:00:27.75', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200410922';
Date: 2018-07-13 06:14:30 Duration: 5s842ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:15:16 Duration: 4s47ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:14:26 Duration: 3s333ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 45ms 106ms 89ms 144 12s957ms 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 Jul 13 06 15 1s427ms 95ms 07 29 2s619ms 90ms 08 45 4s18ms 89ms 09 34 2s934ms 86ms 12 21 1s958ms 93ms [ User: pharmisight - Total duration: 12s957ms - Times executed: 144 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s957ms - Times executed: 144 ]
-
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 = '200845882' 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 = '200846392' 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 = '200749452' ORDER BY epscheckli0_.description ASC;
Date: 2018-07-13 09:37:17 Duration: 106ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:24:19 Duration: 103ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 12:30:56 Duration: 101ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 19ms 75ms 40ms 5,094 3m25s 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 Jul 13 06 232 8s695ms 37ms 07 113 4s361ms 38ms 08 686 27s779ms 40ms 09 794 31s664ms 39ms 10 489 19s734ms 40ms 11 239 10s48ms 42ms 12 304 12s327ms 40ms 13 552 22s554ms 40ms 14 558 22s413ms 40ms 15 489 20s58ms 41ms 16 146 5s977ms 40ms 17 447 18s246ms 40ms 18 45 1s711ms 38ms [ User: pharmisight - Total duration: 3m25s - Times executed: 5094 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3m25s - Times executed: 5094 ]
-
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-07-13 13:40:45 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:43:41 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 17:31:29 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 20ms 74ms 40ms 671 26s951ms SELECT this_.order_round_id AS order_ro1_26_1_, this_.routenumber AS routenum2_26_1_, this_.uploadedbyuserid AS uploaded3_26_1_, this_.uploadedbyusername AS uploaded4_26_1_, this_.updatedby AS updatedb5_26_1_, this_.updatedbyusername AS updatedb6_26_1_, this_.orderroundnote AS orderrou7_26_1_, this_.firstcheckout AS firstche8_26_1_, this_.allordersscannedok AS allorder9_26_1_, this_.status AS status10_26_1_, this_.reopenedtimes AS reopene11_26_1_, this_.lastreopenbyid AS lastreo12_26_1_, this_.lastdonecheckin AS lastdon13_26_1_, this_.lastdonebyid AS lastdon14_26_1_, this_.lastdonebyusername AS lastdon15_26_1_, this_.missinglabels AS missing16_26_1_, this_.rounddeliverydate AS roundde17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadupdated AS uploadu21_26_1_, this_.patientalert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxstatus AS rxstatu24_26_1_, this_.distributionpoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedby AS audited27_26_1_, this_.auditstatus AS auditst28_26_1_, this_.uploadfinished AS uploadf29_26_1_, this_.lastrxcompleted AS lastrxc30_26_1_, this_.lastrxcompletedby AS lastrxc31_26_1_, this_.orderroundnotereadby AS orderro32_26_1_, this_.routeorderlinesqty AS routeor33_26_1_, this_.dlxpickedlinesqty AS dlxpick34_26_1_, this_.flowreport AS flowrep35_26_1_, this_.created AS created36_26_1_, this_.createdby AS created37_26_1_, this_.updated AS updated38_26_1_, this_.note AS note39_26_1_, f1_.flow_report_id AS flow_rep1_7_0_, f1_.routenumber AS routenum2_7_0_, f1_.rounddeliverydate AS rounddel3_7_0_, f1_.distributionpoint AS distribu4_7_0_, f1_.fullypicked AS fullypic5_7_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, f1_.causeofdelay AS causeofd7_7_0_, f1_.pharmacy100checktime AS pharmacy8_7_0_, f1_.linesheldback AS lineshel9_7_0_, f1_.packtime100 AS packtim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickdatetime AS pickdat13_7_0_, f1_.failedtargetpicktime AS failedt14_7_0_, f1_.actualpaperworkcompletetime AS actualp15_7_0_, f1_.changedpickdatetime AS changed16_7_0_, f1_.manuallychangedpicktime AS manuall17_7_0_, f1_.created AS created18_7_0_, f1_.updated AS updated19_7_0_, f1_.note AS note20_7_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> '' AND this_.created > '' AND this_.created < '' ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 13 05 18 770ms 42ms 06 242 8s589ms 35ms 07 1 47ms 47ms 08 9 384ms 42ms 10 71 3s41ms 42ms 11 38 1s704ms 44ms 12 9 385ms 42ms 13 4 167ms 41ms 14 109 4s575ms 41ms 15 90 3s836ms 42ms 16 36 1s527ms 42ms 17 29 1s290ms 44ms 18 15 630ms 42ms [ User: pharmisight - Total duration: 26s951ms - Times executed: 671 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s951ms - Times executed: 671 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-13 00:00:00' AND this_.CREATED < '2018-07-13 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-13 00:00:00' AND this_.CREATED < '2018-07-13 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-13 00:00:00' AND this_.CREATED < '2018-07-13 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-13 06:01:42 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 17:08:22 Duration: 70ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:41:28 Duration: 65ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 12ms 49ms 25ms 564 14s582ms SELECT this_.flow_report_id AS flow_rep1_7_0_, this_.routenumber AS routenum2_7_0_, this_.rounddeliverydate AS rounddel3_7_0_, this_.distributionpoint AS distribu4_7_0_, this_.fullypicked AS fullypic5_7_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, this_.causeofdelay AS causeofd7_7_0_, this_.pharmacy100checktime AS pharmacy8_7_0_, this_.linesheldback AS lineshel9_7_0_, this_.packtime100 AS packtim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickdatetime AS pickdat13_7_0_, this_.failedtargetpicktime AS failedt14_7_0_, this_.actualpaperworkcompletetime AS actualp15_7_0_, this_.changedpickdatetime AS changed16_7_0_, this_.manuallychangedpicktime AS manuall17_7_0_, this_.created AS created18_7_0_, this_.updated AS updated19_7_0_, this_.note AS note20_7_0_ FROM flow_reports this_ WHERE this_.created > '' AND this_.created < '' ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 13 05 22 606ms 27ms 06 272 6s261ms 23ms 07 1 43ms 43ms 08 6 183ms 30ms 10 50 1s445ms 28ms 11 31 907ms 29ms 12 13 382ms 29ms 13 2 71ms 35ms 14 55 1s522ms 27ms 15 45 1s267ms 28ms 16 18 508ms 28ms 17 29 839ms 28ms 18 20 543ms 27ms [ User: pharmisight - Total duration: 14s582ms - Times executed: 564 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s582ms - Times executed: 564 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-13 00:00:00' AND this_.CREATED < '2018-07-13 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-13 00:00:00' AND this_.CREATED < '2018-07-13 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-13 00:00:00' AND this_.CREATED < '2018-07-13 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-13 17:08:25 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 11:29:36 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:31:14 Duration: 47ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 10ms 49ms 22ms 583 13s48ms 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 #6
Day Hour Count Duration Avg duration Jul 13 06 13 292ms 22ms 07 101 2s234ms 22ms 08 125 2s858ms 22ms 09 81 1s782ms 22ms 10 82 1s810ms 22ms 11 46 1s64ms 23ms 12 32 715ms 22ms 13 33 713ms 21ms 14 50 1s114ms 22ms 15 11 259ms 23ms 16 2 47ms 23ms 17 6 142ms 23ms 18 1 12ms 12ms [ User: pharmisight - Total duration: 13s48ms - Times executed: 583 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s48ms - Times executed: 583 ]
-
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 = '200504772' 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 = '200504722' 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 = '200504242' ORDER BY alerts0_.created ASC;
Date: 2018-07-13 08:46:25 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 08:56:01 Duration: 42ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:46:41 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 3ms 49ms 14ms 5,095 1m12s 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 Jul 13 06 232 2s935ms 12ms 07 113 1s471ms 13ms 08 686 9s178ms 13ms 09 795 10s770ms 13ms 10 489 6s904ms 14ms 11 239 3s599ms 15ms 12 304 4s428ms 14ms 13 552 8s227ms 14ms 14 558 7s974ms 14ms 15 489 7s285ms 14ms 16 146 2s232ms 15ms 17 447 6s621ms 14ms 18 45 616ms 13ms [ User: pharmisight - Total duration: 1m12s - Times executed: 5095 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m12s - Times executed: 5095 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-16' 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-07-16' 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-07-16' 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-07-13 15:23:56 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 13:51:31 Duration: 47ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:56:42 Duration: 41ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 0ms 53ms 12ms 1,253 16s117ms 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 Jul 13 06 134 1s655ms 12ms 07 156 1s999ms 12ms 08 98 1s243ms 12ms 09 126 1s562ms 12ms 10 199 2s423ms 12ms 11 184 2s326ms 12ms 12 68 938ms 13ms 13 122 1s571ms 12ms 14 71 990ms 13ms 15 29 452ms 15ms 16 2 42ms 21ms 17 64 911ms 14ms [ User: pharmisight - Total duration: 16s117ms - Times executed: 1253 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s117ms - Times executed: 1253 ]
-
UPDATE ORDER_LINES SET routeNumber = '9004117', sapOrderNumber = '7735103', orderNumber = '5004228497', answerOrderNumber = NULL, partCode = '64289', partDescription = 'Fresubin 2kcal Fibre Vanilla 200ml ', patientName = 'Nicola Mccabe', firstName = 'Nicola', middleName = NULL, lastName = 'Mccabe', patientDateOfBirth = '1966-12-03', patientPostcode = 'SA14 8RY', patientPostcodePrefix = 'SA', orderQty = '56', allocQty = '56', shipQty = NULL, adjustedQty = '48', scannedQty = '48', assignedQty = '0', checkedQty = '48', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-07-16', customer = 'Stuart Quigley', sapCustomerId = '685175230', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200364270', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001222', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Michael Phiri-Thorne', patientAlert = NULL, itemAlert = NULL, checkerId = '200000520', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'rebecca.james@nutricia.connections', lastRegUpdateDate = '2018-07-07 09:11:31', sapPlannedShipDate = '2018-07-13', sapPlannedDeliveryDate = '2018-07-16', requestedSAPQuantity = '56', orderQuantity = '56', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'rachel.lewis@nutricia.connections', regLineCreatedDate = '2017-08-16 14:30:32', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-13 05:57:04.811', UPDATED = NULL, rxCheckBy = '4061', note = 'Beverley Mitchell', item = '3535', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214422582';
-
UPDATE ORDER_LINES SET routeNumber = '9003842', sapOrderNumber = '7735764', orderNumber = '5004233122', answerOrderNumber = NULL, partCode = '64330', partDescription = 'Optifiber 250g', patientName = 'Ibraheem Asghar', firstName = 'Ibraheem', middleName = NULL, lastName = 'Asghar', patientDateOfBirth = '2009-03-07', patientPostcode = 'BD21 2RT', patientPostcodePrefix = 'BD', orderQty = '2', allocQty = '2', shipQty = NULL, adjustedQty = '2', scannedQty = '2', assignedQty = '0', checkedQty = '2', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-07-16', customer = 'Brenda Melville', sapCustomerId = '685060796', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '34675', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'eRx Failed', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001302', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Johnathan Baysting', patientAlert = NULL, itemAlert = NULL, checkerId = '4061', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'ryan.white@nutricia.connections', lastRegUpdateDate = '2018-07-07 11:11:50', sapPlannedShipDate = '2018-07-13', sapPlannedDeliveryDate = '2018-07-16', requestedSAPQuantity = '2', orderQuantity = '2', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'jenny.clark@nutricia.connections', regLineCreatedDate = '2018-04-17 13:30:55', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-13 05:57:04.739', UPDATED = NULL, rxCheckBy = '4', note = 'Neville Bosworth', item = '2752', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214423602';
-
UPDATE ORDER_LINES SET routeNumber = '9004141', sapOrderNumber = '7736374', orderNumber = '5004231696', answerOrderNumber = NULL, partCode = '42675', partDescription = 'Nutrison Energy MF 1000ml', patientName = 'Foster Jones', firstName = 'Foster', middleName = NULL, lastName = 'Jones', patientDateOfBirth = '1940-12-11', patientPostcode = 'B21 0HP', patientPostcodePrefix = 'B', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '16', scannedQty = '16', assignedQty = '0', checkedQty = '16', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-07-16', customer = 'Johnathan Baysting', sapCustomerId = '685179889', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200380212', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'REG OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '43421260', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Petra Tabaczynska', patientAlert = NULL, itemAlert = NULL, checkerId = '15364', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS System Administrator', lastRegUpdateUserName = 'louise.reys@nutricia.connections', lastRegUpdateDate = '2018-04-24 13:50:02', sapPlannedShipDate = '2018-07-13', sapPlannedDeliveryDate = '2018-07-16', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'sinead.walsh@nutricia.connections', regLineCreatedDate = '2018-01-19 14:35:43', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-13 05:57:04.848', UPDATED = NULL, rxCheckBy = '200001312', note = 'Karen Hunt', item = '32965083', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214432652';
Date: 2018-07-13 07:34:20 Duration: 53ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 09:12:25 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 17:10:41 Duration: 30ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 3ms 32ms 7ms 2,012 14s245ms 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 #9
Day Hour Count Duration Avg duration Jul 13 05 1,400 10s311ms 7ms 06 594 3s738ms 6ms 10 2 29ms 14ms 12 10 95ms 9ms 15 1 14ms 14ms 17 5 55ms 11ms [ User: pharmisight - Total duration: 14s245ms - Times executed: 2012 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s245ms - Times executed: 2012 ]
-
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 ('9004133', '7735311', '5004229310', NULL, '88547', 'Vital 1.5kcal 200ml', 'Oliver Rossiter', 'Oliver', NULL, 'Rossiter', '2006-07-20', 'GL14 1QN', 'GL', '84', '84', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-07-16', 'Jennifer Edmonds', '685062720', 'Hospital_vod', NULL, NULL, '682308', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Apriyanti Pertiwi', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS System Administrator', 'lyndsay.mizen@nutricia.connections', '2018-05-08 13:28:21', '2018-07-13', '2018-07-16', '84', '84', 'PMS HCP User', 'sarah.pidgeon@nutricia.connections', '2018-01-17 11:02:31', NULL, NULL, NULL, NULL, '2018-07-13 05:57:04.786', NULL, NULL, NULL, '3639', NULL, NULL, '214427612');
-
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 ('9004117', '7734694', '5004230251', NULL, '63384', 'Resource 2.0 Fibre Vanilla 200ml ', 'Jack Wright', 'Jack', NULL, 'Wright', '2000-02-25', 'CV35 0JS', 'CV', '5', '5', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOuter', NULL, '2018-07-16', 'Michael Phiri-Thorne', '685050558', 'Organization_vod', NULL, NULL, '298162', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Michael Phiri-Thorne', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS System Administrator', 'lyndsay.mizen@nutricia.connections', '2018-05-15 14:19:26', '2018-07-13', '2018-07-16', '5', '5', 'PMS HCP User', 'bernadette.devonald@nutricia.connections', '2018-04-18 13:03:11', NULL, NULL, NULL, NULL, '2018-07-13 05:57:04.87', NULL, NULL, NULL, '3426', NULL, NULL, '214421912');
-
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 ('9003838', '7735159', '5004228268', NULL, '49135', 'Pepdite - AA Module 100g', 'Sehr Kauser', 'Sehr', NULL, 'Kauser', '2006-03-16', 'S11 9FE', 'S', '6', '6', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-07-16', 'Sophie Price', '685050908', 'Pharmacy (CURO)', NULL, NULL, '351701', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Gillian Payne', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinators', 'gillian.payne@nutricia.connections', '2017-01-19 15:26:33', '2018-07-13', '2018-07-16', '6', '6', 'CURO PMS Data Migration', 'data.migration@nutricia.com', '2016-05-10 16:39:54', NULL, NULL, NULL, NULL, '2018-07-13 05:57:04.897', NULL, NULL, NULL, '2905', NULL, NULL, '214428282');
Date: 2018-07-13 05:59:08 Duration: 32ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 05:57:43 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 05:59:26 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 0ms 92ms 4ms 12,201 58s23ms SELECT this_.order_id AS order_id1_20_0_, this_.sapordernumber AS saporder2_20_0_, this_.answerordernumber AS answeror3_20_0_, this_.ordernumber AS ordernum4_20_0_, this_.routenumber AS routenum5_20_0_, this_.billtotype AS billtoty6_20_0_, this_.patientname AS patientn7_20_0_, this_.firstname AS firstnam8_20_0_, this_.middlename AS middlena9_20_0_, this_.lastname AS lastnam10_20_0_, this_.patientdateofbirth AS patient11_20_0_, this_.patientpostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapcustomerid AS sapcust14_20_0_, this_.status AS status15_20_0_, this_.patientid AS patient16_20_0_, this_.isnotwithinage AS isnotwi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliverybarcode AS deliver20_20_0_, this_.deliverydate AS deliver21_20_0_, this_.rxstatus AS rxstatu22_20_0_, this_.createuser AS createu23_20_0_, this_.subordertype AS suborde24_20_0_, this_.sapcontractid AS sapcont25_20_0_, this_.salesforceordernumber AS salesfo26_20_0_, this_.patienttype AS patient27_20_0_, this_.ordertype AS orderty28_20_0_, this_.orderstatus AS orderst29_20_0_, this_.nhsnumber AS nhsnumb30_20_0_, this_.individuallabelling AS individ31_20_0_, this_.orderid AS orderid32_20_0_, this_.clusterlead AS cluster33_20_0_, this_.clustergroup AS cluster34_20_0_, this_.accountid AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionby AS reducti37_20_0_, this_.alertconfirmation AS alertco38_20_0_, this_.created AS created39_20_0_, this_.updated AS updated40_20_0_, this_.note AS note41_20_0_ FROM orders this_ WHERE this_.status = '' AND this_.deliverydate = '' ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 13 06 525 2s318ms 4ms 07 252 1s146ms 4ms 08 1,566 7s411ms 4ms 09 1,641 7s546ms 4ms 10 1,005 4s813ms 4ms 11 624 3s250ms 5ms 12 810 3s931ms 4ms 13 1,470 7s79ms 4ms 14 1,485 7s65ms 4ms 15 1,302 6s212ms 4ms 16 387 1s864ms 4ms 17 1,035 4s920ms 4ms 18 99 464ms 4ms [ User: pharmisight - Total duration: 58s23ms - Times executed: 12201 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 58s23ms - Times executed: 12201 ]
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-16' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-13' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-13' ORDER BY this_.deliveryDate ASC;
Date: 2018-07-13 11:02:46 Duration: 92ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 11:22:52 Duration: 57ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:08:23 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 0ms 22ms 3ms 20,376 1m17s 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 Jul 13 06 928 3s25ms 3ms 07 452 1s495ms 3ms 08 2,744 9s529ms 3ms 09 3,176 11s572ms 3ms 10 1,956 7s435ms 3ms 11 956 3s832ms 4ms 12 1,216 4s715ms 3ms 13 2,208 8s820ms 3ms 14 2,232 8s862ms 3ms 15 1,956 7s964ms 4ms 16 584 2s440ms 4ms 17 1,788 7s269ms 4ms 18 180 678ms 3ms [ User: pharmisight - Total duration: 1m17s - Times executed: 20376 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m17s - Times executed: 20376 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-16' AND this_.rxStatus = '5';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-13' AND this_.rxStatus = '1';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-16' AND this_.rxStatus = '2';
Date: 2018-07-13 13:42:24 Duration: 22ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 09:44:05 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:31:10 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 0ms 17ms 3ms 5,094 18s736ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus IS NULL;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 13 06 232 734ms 3ms 07 113 371ms 3ms 08 686 2s330ms 3ms 09 794 2s798ms 3ms 10 489 1s794ms 3ms 11 239 915ms 3ms 12 304 1s142ms 3ms 13 552 2s96ms 3ms 14 558 2s140ms 3ms 15 489 1s925ms 3ms 16 146 590ms 4ms 17 447 1s736ms 3ms 18 45 159ms 3ms [ User: pharmisight - Total duration: 18s736ms - Times executed: 5094 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s736ms - Times executed: 5094 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-12' AND this_.rxStatus IS NULL;
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-16' AND this_.rxStatus IS NULL;
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-16' AND this_.rxStatus IS NULL;
Date: 2018-07-13 08:04:31 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 14:17:20 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 08:42:58 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 0ms 23ms 3ms 3,131 11s311ms 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 Jul 13 05 93 111ms 1ms 06 1,417 2s659ms 1ms 07 187 1s6ms 5ms 08 398 1s885ms 4ms 09 299 1s414ms 4ms 10 165 848ms 5ms 11 106 614ms 5ms 12 92 575ms 6ms 13 132 687ms 5ms 14 140 834ms 5ms 15 33 259ms 7ms 16 6 54ms 9ms 17 63 361ms 5ms [ User: pharmisight - Total duration: 11s311ms - Times executed: 3131 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s311ms - Times executed: 3131 ]
-
UPDATE ORDERS SET sapOrderNumber = '7735451', answerOrderNumber = NULL, orderNumber = '5004228896', routeNumber = '9003782', billToType = NULL, patientName = 'Beth Fargher', firstName = 'Beth', middleName = NULL, lastName = 'Fargher', patientDateOfBirth = '2003-08-21', patientPostcode = 'G52 4HR', customer = NULL, sapCustomerId = '685055805', STATUS = 'Checked', patientId = '93430', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-17', rxStatus = '1', createUser = 'Isabella Carosi', subOrderType = 'Standard', sapContractId = '650134232', salesforceOrderNumber = '11019429', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '2108035761', individualLabelling = 'f', orderId = 'a4r1p0000066L2dAAE', clusterLead = 'Samra Chergui', clusterGroup = 'NHS GGC PAEDIATRICS', accountId = '154968', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-13 05:56:41.567', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208215972';
-
UPDATE ORDERS SET sapOrderNumber = '7735017', answerOrderNumber = NULL, orderNumber = '5004231166', routeNumber = '9004116', billToType = NULL, patientName = 'James Ewens', firstName = 'James', middleName = NULL, lastName = 'Ewens', patientDateOfBirth = '1947-01-10', patientPostcode = 'HD5 9XU', customer = NULL, sapCustomerId = '685190135', STATUS = 'Checked', patientId = '200437222', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-16', rxStatus = '1', createUser = 'Sarah Carter', subOrderType = 'Standard', sapContractId = '650105919', salesforceOrderNumber = '11020022', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '4980266983', individualLabelling = 'f', orderId = 'a4r1p0000066LoDAAU', clusterLead = 'Gill Feltham', clusterGroup = 'CALDERDALE & HUDDERSFIELD NHSFT', accountId = '131845', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-13 05:57:04.821', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208217702';
-
UPDATE ORDERS SET sapOrderNumber = '7735219', answerOrderNumber = NULL, orderNumber = '5004231366', routeNumber = '9003780', billToType = NULL, patientName = 'Melanie Pender', firstName = 'Melanie', middleName = NULL, lastName = 'Pender', patientDateOfBirth = '1984-09-19', patientPostcode = 'EH16 6NS', customer = NULL, sapCustomerId = '685056661', STATUS = 'Uploaded', patientId = '57755', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-17', rxStatus = '1', createUser = 'Tracie Boulton', subOrderType = 'Standard', sapContractId = '650105973', salesforceOrderNumber = '11021076', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '1009841161', individualLabelling = 'f', orderId = 'a4r1p0000066NAZAA2', clusterLead = 'Samra Chergui', clusterGroup = 'NHS LOTHIAN', accountId = '147844', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-13 05:56:41.574', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208215922';
Date: 2018-07-13 06:54:06 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 07:30:44 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:02:54 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 1ms 21ms 2ms 5,094 14s71ms SELECT count (*) AS col_0_0_ FROM order_lines orderline0_ WHERE orderline0_.status <> '' AND orderline0_.deliverydate = '';Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 13 06 232 576ms 2ms 07 113 287ms 2ms 08 686 1s775ms 2ms 09 794 2s107ms 2ms 10 489 1s385ms 2ms 11 239 683ms 2ms 12 304 853ms 2ms 13 552 1s559ms 2ms 14 558 1s574ms 2ms 15 489 1s426ms 2ms 16 146 449ms 3ms 17 447 1s279ms 2ms 18 45 113ms 2ms [ User: pharmisight - Total duration: 14s71ms - Times executed: 5094 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s71ms - Times executed: 5094 ]
-
SELECT count (*) AS col_0_0_ FROM ORDER_LINES orderline0_ WHERE orderline0_.status <> 'Quarantine' AND orderline0_.deliveryDate = '2018-07-16';
-
SELECT count (*) AS col_0_0_ FROM ORDER_LINES orderline0_ WHERE orderline0_.status <> 'Quarantine' AND orderline0_.deliveryDate = '2018-07-13';
-
SELECT count (*) AS col_0_0_ FROM ORDER_LINES orderline0_ WHERE orderline0_.status <> 'Quarantine' AND orderline0_.deliveryDate = '2018-07-13';
Date: 2018-07-13 09:06:59 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:06:17 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:35:34 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 0ms 16ms 1ms 16,260 25s992ms SELECT count (*) AS y0_ FROM orders this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 13 06 700 1s40ms 1ms 07 336 504ms 1ms 08 2,088 3s295ms 1ms 09 2,184 3s378ms 1ms 10 1,340 2s113ms 1ms 11 832 1s344ms 1ms 12 1,080 1s731ms 1ms 13 1,960 3s196ms 1ms 14 1,980 3s203ms 1ms 15 1,736 2s850ms 1ms 16 516 855ms 1ms 17 1,380 2s273ms 1ms 18 128 205ms 1ms [ User: pharmisight - Total duration: 25s992ms - Times executed: 16260 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 25s992ms - Times executed: 16260 ]
-
SELECT count (*) AS y0_ FROM ORDERS this_ WHERE this_.deliveryDate = '2018-07-13' AND this_.rxStatus = '3';
-
SELECT count (*) AS y0_ FROM ORDERS this_ WHERE this_.deliveryDate = '2018-07-13' AND this_.rxStatus = '4';
-
SELECT count (*) AS y0_ FROM ORDERS this_ WHERE this_.deliveryDate = '2018-07-13' AND this_.rxStatus = '2';
Date: 2018-07-13 12:35:48 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 10:08:26 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 08:30:00 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 0ms 15ms 1ms 58,361 1m2s SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 13 05 418 451ms 1ms 06 17,698 16s630ms 0ms 07 95 133ms 1ms 08 993 1s166ms 1ms 09 118 123ms 1ms 10 7,005 7s938ms 1ms 11 3,849 4s501ms 1ms 12 1,087 1s221ms 1ms 13 547 631ms 1ms 14 9,667 10s606ms 1ms 15 7,776 8s798ms 1ms 16 3,182 3s620ms 1ms 17 3,535 3s898ms 1ms 18 2,111 2s262ms 1ms 20 280 184ms 0ms [ User: pharmisight - Total duration: 1m2s - Times executed: 58361 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m2s - Times executed: 58361 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200446462' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200446462' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200445232' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-07-13 14:39:46 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:09:30 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:36:23 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 0ms 12ms 0ms 66,822 26s872ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 13 05 423 187ms 0ms 06 18,236 6s849ms 0ms 07 774 614ms 0ms 08 1,463 748ms 0ms 09 988 405ms 0ms 10 8,500 3s595ms 0ms 11 4,592 1s913ms 0ms 12 1,741 692ms 0ms 13 1,512 579ms 0ms 14 10,540 4s163ms 0ms 15 8,306 3s321ms 0ms 16 3,295 1s330ms 0ms 17 4,139 1s617ms 0ms 18 2,088 803ms 0ms 20 225 49ms 0ms [ User: pharmisight - Total duration: 26s872ms - Times executed: 66822 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s872ms - Times executed: 66822 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200446372' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200445782' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200446602' ORDER BY orders0_.order_id ASC;
Date: 2018-07-13 10:51:42 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:11:01 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 14:20:02 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 4ms 0ms 27,309 5s702ms UPDATE sym_outgoing_batch SET STATUS = '', load_id = '', extract_job_flag = '', load_flag = '', error_flag = '', byte_count = '', extract_count = '', sent_count = '', load_count = '', data_event_count = '', reload_event_count = '', insert_event_count = '', update_event_count = '', delete_event_count = '', other_event_count = '', ignore_count = '', router_millis = '', network_millis = '', filter_millis = '', load_millis = '', extract_millis = '', sql_state = NULL, sql_code = '', sql_message = NULL, failed_data_id = '', last_update_hostname = '', last_update_time = '' WHERE batch_id = '' AND node_id = '';Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 13 00 62 12ms 0ms 01 62 12ms 0ms 02 62 14ms 0ms 03 62 11ms 0ms 04 62 11ms 0ms 05 132 27ms 0ms 06 2,988 616ms 0ms 07 2,809 584ms 0ms 08 3,182 671ms 0ms 09 2,968 612ms 0ms 10 2,716 570ms 0ms 11 2,178 448ms 0ms 12 1,734 373ms 0ms 13 2,370 499ms 0ms 14 2,404 502ms 0ms 15 1,230 258ms 0ms 16 302 66ms 0ms 17 1,492 313ms 0ms 18 210 42ms 0ms 19 42 8ms 0ms 20 68 12ms 0ms 21 58 10ms 0ms 22 58 11ms 0ms 23 58 11ms 0ms [ User: symmetricds - Total duration: 5s702ms - Times executed: 27309 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s702ms - Times executed: 27309 ]
-
UPDATE sym_outgoing_batch SET STATUS = 'LD', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '2070', extract_count = '1', sent_count = '1', load_count = '1', data_event_count = '3', reload_event_count = '0', insert_event_count = '1', update_event_count = '2', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '10', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '17', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-13 16:09:49.227' WHERE batch_id = '7745741' 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 = '5472', extract_count = '1', sent_count = '1', load_count = '0', data_event_count = '15', reload_event_count = '0', insert_event_count = '7', update_event_count = '8', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '33', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '17', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-13 15:15:48.001' WHERE batch_id = '7745522' AND node_id = '2';
-
UPDATE sym_outgoing_batch SET STATUS = 'LD', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '6823', extract_count = '1', sent_count = '1', load_count = '1', data_event_count = '25', reload_event_count = '0', insert_event_count = '12', update_event_count = '13', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '35', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '9', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-13 13:02:44.973' WHERE batch_id = '7744508' AND node_id = '2';
Date: 2018-07-13 16:09:49 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 15:15:47 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 13:02:44 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 77ms 0ms 116,549 14s107ms SELECT orderlines0_.order_id AS order_i79_20_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 13 05 178 20ms 0ms 06 6,244 730ms 0ms 07 29,409 3s568ms 0ms 08 14,607 1s808ms 0ms 09 8,240 1s41ms 0ms 10 14,909 1s795ms 0ms 11 6,936 811ms 0ms 12 5,269 675ms 0ms 13 9,248 1s95ms 0ms 14 11,178 1s356ms 0ms 15 5,101 609ms 0ms 16 944 110ms 0ms 17 4,031 460ms 0ms 18 255 25ms 0ms [ User: pharmisight - Total duration: 14s107ms - Times executed: 116549 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s107ms - Times executed: 116549 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207977942' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '207985912' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208219292' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-07-13 07:42:39 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 07:39:28 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 07:57:41 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 0ms 474ms 0ms 399,119 32s395ms COMMIT;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 13 00 13,613 675ms 0ms 01 12,242 341ms 0ms 02 12,236 332ms 0ms 03 12,222 309ms 0ms 04 12,274 342ms 0ms 05 12,573 450ms 0ms 06 23,484 3s702ms 0ms 07 20,843 2s561ms 0ms 08 26,055 3s516ms 0ms 09 25,473 3s233ms 0ms 10 23,053 2s703ms 0ms 11 19,403 2s72ms 0ms 12 19,670 2s158ms 0ms 13 21,216 2s206ms 0ms 14 21,597 2s424ms 0ms 15 17,537 1s291ms 0ms 16 13,627 542ms 0ms 17 18,563 1s562ms 0ms 18 12,862 450ms 0ms 19 12,159 303ms 0ms 20 11,985 295ms 0ms 21 12,176 293ms 0ms 22 12,159 314ms 0ms 23 12,097 309ms 0ms [ User: symmetricds - Total duration: 24s756ms - Times executed: 356943 ]
[ User: pharmisight - Total duration: 7s639ms - Times executed: 42176 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 32s382ms - Times executed: 399081 ]
[ Application: [unknown] - Total duration: 12ms - Times executed: 38 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-07-13 06:15:05 Duration: 474ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 06:07:26 Duration: 62ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-13 08:10:06 Duration: 20ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
-
Events
Log levels
Key values
- 11,955,019 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 6 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 4 Max number of times the same event was reported
- 6 Total events found
Rank Times reported Error 1 4 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 13 06 4 - LOG: process 29668 still waiting for ShareLock on transaction 22618195 after 1000.345 ms
- LOG: process 29781 still waiting for ShareLock on transaction 22618103 after 1000.118 ms
- LOG: process 30391 still waiting for ShareLock on transaction 22618104 after 1000.152 ms
Detail: Process holding the lock: 30390. Wait queue: 29668.
Context: while updating tuple (1357,33) 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-07-13 06:15:13 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 29668. Wait queue: 29781.
Context: while updating tuple (1357,15) 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-07-13 06:14:22 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 29781. Wait queue: 30391.
Context: while updating tuple (1354,113) 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-07-13 06:14:24 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
2 1 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 13 06 1 - LOG: process 30386 still waiting for ExclusiveLock on tuple (1354,113) of relation 142522 of database 16389 after 1000.124 ms
Detail: Process holding the lock: 30391. Wait queue: 30386.
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-07-13 06:14:25 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 Jul 13 00 1 - ERROR: relation "gp_id" does not exist at character 20
Statement: select gpname from gp_id
Date: 2018-07-13 00:00:13 Database: pharmisight Application: PostgreSQL JDBC Driver User: symmetricds Remote: 10.10.10.1 Code: