-
Global information
- Generated on Wed Aug 1 00:00:44 2018
- Log file: /var/log/postgresql/postgresql-9.6-main.log.1
- Parsed 11,504,080 log entries in 42s
- Log start from 2018-07-31 00:00:00 to 2018-07-31 23:59:53
-
Overview
Global Stats
- 1,064 Number of unique normalized queries
- 3,577,808 Number of queries
- 16m19s Total query duration
- 2018-07-31 00:00:00 First query
- 2018-07-31 23:59:53 Last query
- 8,176 queries/s at 2018-07-31 06:08:48 Query peak
- 16 Number of events
- 3 Number of unique normalized events
- 11 Max number of times the same event was reported
- 0 Number of cancellation
- 427 Total number of automatic vacuums
- 517 Total number of automatic analyzes
- 1 Number temporary file
- 9.32 MiB Max size of temporary file
- 9.32 MiB Average size of temporary file
- 1,698 Total number of sessions
- 3 sessions at 2018-07-31 08:18:38 Session peak
- 11d2h58m7s Total duration of sessions
- 9m26s Average duration of sessions
- 2,107 Average queries per session
- 576ms Average queries duration per session
- 1,698 Total number of connections
- 15 connections/s at 2018-07-31 10:57:40 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 8,176 queries/s Query Peak
- 2018-07-31 06:08:48 Date
SELECT Traffic
Key values
- 1,913 queries/s Query Peak
- 2018-07-31 07:40:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 8,103 queries/s Query Peak
- 2018-07-31 06:08:48 Date
Queries duration
Key values
- 16m19s Total query duration
Prepared queries ratio
Key values
- 2.30 Ratio of bind vs prepare
- 135.80 % 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 31 00 99,465 0ms 74ms 0ms 75ms 169ms 1s823ms 01 95,823 0ms 73ms 0ms 63ms 304ms 537ms 02 93,584 0ms 73ms 0ms 55ms 135ms 452ms 03 94,578 0ms 72ms 0ms 59ms 275ms 402ms 04 94,135 0ms 74ms 0ms 61ms 150ms 429ms 05 94,325 0ms 79ms 0ms 65ms 208ms 458ms 06 366,674 0ms 4s395ms 0ms 13s319ms 15s996ms 30s159ms 07 274,265 0ms 192ms 0ms 3s150ms 4s271ms 7s243ms 08 299,831 0ms 998ms 0ms 3s889ms 5s460ms 6s557ms 09 208,845 0ms 8s889ms 0ms 3s832ms 5s556ms 11s556ms 10 247,540 0ms 154ms 0ms 4s422ms 5s368ms 6s878ms 11 239,716 0ms 834ms 0ms 4s56ms 5s171ms 7s481ms 12 201,638 0ms 1s687ms 0ms 4s186ms 5s783ms 6s61ms 13 152,092 0ms 216ms 0ms 965ms 2s993ms 4s834ms 14 106,596 0ms 277ms 0ms 345ms 1s262ms 1s542ms 15 120,744 0ms 170ms 0ms 1s116ms 1s338ms 2s587ms 16 105,416 0ms 48ms 0ms 514ms 982ms 1s539ms 17 112,154 0ms 204ms 0ms 1s413ms 1s934ms 3s976ms 18 100,878 0ms 36ms 0ms 88ms 109ms 287ms 19 92,561 0ms 20ms 0ms 55ms 84ms 353ms 20 93,250 0ms 29ms 0ms 77ms 207ms 544ms 21 92,599 0ms 23ms 0ms 72ms 97ms 259ms 22 96,311 0ms 14ms 0ms 58ms 301ms 465ms 23 94,788 0ms 21ms 0ms 66ms 251ms 431ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 31 00 33,957 0 0ms 32ms 37ms 166ms 01 31,489 0 0ms 29ms 34ms 69ms 02 31,120 0 0ms 33ms 35ms 73ms 03 31,189 0 0ms 32ms 36ms 61ms 04 31,135 0 0ms 28ms 31ms 64ms 05 31,240 0 0ms 28ms 35ms 75ms 06 178,794 0 0ms 5s345ms 8s292ms 14s72ms 07 155,598 0 0ms 1s669ms 2s339ms 3s663ms 08 163,494 0 0ms 2s852ms 3s526ms 5s541ms 09 106,733 0 0ms 1s839ms 3s54ms 5s407ms 10 138,723 0 0ms 3s58ms 4s72ms 6s140ms 11 130,587 0 0ms 2s363ms 3s938ms 5s500ms 12 106,335 0 0ms 1s958ms 3s971ms 5s557ms 13 67,255 0 0ms 465ms 771ms 2s799ms 14 37,830 0 0ms 69ms 298ms 1s258ms 15 46,591 0 0ms 267ms 865ms 2s143ms 16 41,230 0 0ms 150ms 496ms 1s180ms 17 43,835 0 0ms 312ms 1s203ms 2s268ms 18 33,564 0 0ms 31ms 33ms 62ms 19 30,922 0 0ms 27ms 31ms 112ms 20 32,956 0 0ms 30ms 35ms 186ms 21 30,879 0 0ms 27ms 34ms 59ms 22 31,631 0 0ms 31ms 35ms 93ms 23 31,222 0 0ms 31ms 40ms 69ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 31 00 1,199 1,155 113 0 0ms 7ms 10ms 84ms 01 2,216 1,155 111 0 0ms 1ms 8ms 167ms 02 704 776 114 0 0ms 1ms 8ms 44ms 03 1,540 986 109 0 0ms 1ms 8ms 94ms 04 1,136 885 114 0 0ms 1ms 8ms 87ms 05 1,235 909 113 0 0ms 1ms 8ms 90ms 06 65,912 22,592 451 0 1ms 717ms 1s746ms 5s581ms 07 16,268 8,473 427 0 0ms 239ms 393ms 713ms 08 19,972 9,588 443 0 0ms 359ms 429ms 509ms 09 11,093 7,759 326 0 1ms 199ms 284ms 1s332ms 10 14,395 6,958 352 0 0ms 207ms 287ms 396ms 11 11,804 6,962 349 0 0ms 168ms 220ms 291ms 12 8,626 5,155 298 0 0ms 120ms 198ms 303ms 13 6,638 3,843 241 0 0ms 105ms 138ms 218ms 14 1,529 1,650 164 0 0ms 27ms 68ms 126ms 15 2,293 2,313 203 0 0ms 62ms 103ms 170ms 16 924 955 125 0 0ms 7ms 15ms 113ms 17 1,414 1,467 150 0 0ms 28ms 60ms 151ms 18 323 1,752 109 0 0ms 10ms 13ms 19ms 19 141 634 108 0 0ms 1ms 8ms 14ms 20 167 652 145 0 0ms 1ms 8ms 13ms 21 116 630 110 0 0ms 1ms 8ms 17ms 22 2,480 1,222 111 0 0ms 1ms 9ms 114ms 23 1,964 1,083 109 0 0ms 2ms 8ms 134ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 31 00 59,460 99,429 1.67 95.76% 01 56,011 95,787 1.71 94.22% 02 55,503 93,548 1.69 97.04% 03 55,727 94,542 1.70 95.65% 04 55,679 94,099 1.69 96.42% 05 55,909 94,289 1.69 96.46% 06 87,449 366,638 4.19 27.40% 07 81,320 272,874 3.36 35.64% 08 88,054 299,795 3.40 35.00% 09 74,354 208,809 2.81 44.80% 10 80,195 247,504 3.09 39.38% 11 81,138 239,680 2.95 41.70% 12 75,503 201,602 2.67 47.42% 13 67,956 152,056 2.24 60.83% 14 60,358 106,544 1.77 87.81% 15 64,304 120,708 1.88 78.78% 16 57,724 105,360 1.83 83.91% 17 61,537 111,000 1.80 82.56% 18 58,606 100,820 1.72 93.46% 19 55,224 92,525 1.68 98.22% 20 53,991 93,214 1.73 93.42% 21 55,015 92,563 1.68 97.86% 22 55,668 96,275 1.73 92.89% 23 55,538 94,752 1.71 94.65% Day Hour Count Average / Second Jul 31 00 88 0.02/s 01 66 0.02/s 02 68 0.02/s 03 66 0.02/s 04 70 0.02/s 05 72 0.02/s 06 70 0.02/s 07 56 0.02/s 08 73 0.02/s 09 75 0.02/s 10 104 0.03/s 11 63 0.02/s 12 99 0.03/s 13 68 0.02/s 14 58 0.02/s 15 78 0.02/s 16 61 0.02/s 17 68 0.02/s 18 65 0.02/s 19 70 0.02/s 20 67 0.02/s 21 62 0.02/s 22 65 0.02/s 23 66 0.02/s Day Hour Count Average Duration Jul 31 00 88 7m22s 01 66 8m50s 02 68 8m52s 03 66 8m55s 04 70 8m44s 05 72 9m3s 06 64 8m29s 07 62 11m49s 08 72 9m47s 09 75 11m2s 10 90 9m24s 11 78 11m5s 12 93 9m8s 13 74 9m49s 14 58 10m24s 15 78 9m37s 16 61 9m47s 17 68 9m48s 18 65 9m42s 19 70 8m17s 20 67 8m38s 21 62 9m59s 22 65 9m17s 23 66 9m2s -
Connections
Established Connections
Key values
- 15 connections Connection Peak
- 2018-07-31 10:57:40 Date
Connections per database
Key values
- pharmisight Main Database
- 1,698 connections Total
Connections per user
Key values
- symmetricds Main User
- 1,698 connections Total
-
Sessions
Simultaneous sessions
Key values
- 3 sessions Session Peak
- 2018-07-31 08:18:38 Date
Histogram of session times
Key values
- 859 60000-600000ms duration
Sessions per database
Key values
- pharmisight Main Database
- 1,698 sessions Total
Sessions per user
Key values
- symmetricds Main User
- 1,698 sessions Total
Sessions per host
Key values
- 10.10.10.1 Main Host
- 1,698 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 6,435 buffers Checkpoint Peak
- 2018-07-31 07:06:15 Date
- 150.088 seconds Highest write time
- 0.034 seconds Sync time
Checkpoints Wal files
Key values
- 4 files Wal files usage Peak
- 2018-07-31 06:16:14 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 31 00 1,130 113.361s 0.011s 113.414s 01 863 86.468s 0.015s 86.526s 02 607 60.891s 0.014s 60.948s 03 734 73.638s 0.014s 73.71s 04 765 76.731s 0.012s 76.783s 05 686 68.717s 0.016s 68.774s 06 11,545 1,008.839s 0.085s 1,008.98s 07 13,675 877.645s 0.036s 877.724s 08 8,854 874.284s 0.032s 874.369s 09 6,763 542.794s 0.019s 542.858s 10 6,388 639.717s 0.019s 639.782s 11 7,274 727.605s 0.02s 727.665s 12 7,583 572.194s 0.02s 572.275s 13 3,917 392.266s 0.027s 392.34s 14 1,588 159.312s 0.012s 159.364s 15 2,555 255.882s 0.014s 255.939s 16 1,332 133.514s 0.033s 133.59s 17 1,714 171.756s 0.019s 171.819s 18 2,011 201.155s 0.011s 201.208s 19 685 68.713s 0.019s 68.769s 20 583 58.383s 0.013s 58.438s 21 663 66.508s 0.016s 66.565s 22 925 92.802s 0.016s 92.857s 23 850 85.254s 0.014s 85.31s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 31 00 0 0 1 282 0.002s 0s 01 0 0 0 249 0.002s 0s 02 0 0 0 244 0.002s 0s 03 0 0 0 254 0.002s 0s 04 0 0 1 245 0.002s 0s 05 0 0 0 238 0.002s 0s 06 0 2 7 1,153 0.002s 0s 07 0 1 5 1,234 0.008s 0s 08 0 0 3 1,231 0.008s 0s 09 0 0 3 1,047 0.001s 0s 10 0 0 3 1,139 0.001s 0s 11 0 0 3 1,284 0.002s 0s 12 0 0 2 1,079 0.002s 0s 13 0 0 2 905 0.008s 0s 14 0 0 0 503 0.002s 0s 15 0 0 1 787 0.002s 0s 16 0 0 1 379 0.017s 0.004s 17 0 0 0 749 0.002s 0s 18 0 0 1 297 0.002s 0s 19 0 0 0 226 0.002s 0s 20 0 0 0 307 0.002s 0s 21 0 0 0 313 0.002s 0s 22 0 0 1 342 0.002s 0s 23 0 0 0 332 0.002s 0s Day Hour Count Avg time (sec) Jul 31 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 31 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
- 9.32 MiB Temp Files size Peak
- 2018-07-31 06:08:46 Date
Number of temporary files
Key values
- 1 per second Temp Files Peak
- 2018-07-31 06:08:46 Date
Temporary Files Activity
Day Hour Count Total size Average size Jul 31 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 1 9.32 MiB 9.32 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
- 14.57 sec Highest CPU-cost vacuum
Table public.sym_data
Database pharmisight - 2018-07-31 07:00:39 Date
- 7.56 sec Highest CPU-cost analyze
Table public.sym_data
Database pharmisight - 2018-07-31 06:39:32 Date
Analyzes per table
Key values
- public.sym_node_communication (207) Main table analyzed (database pharmisight)
- 517 analyzes Total
Table Number of analyzes pharmisight.public.sym_node_communication 207 pharmisight.public.sym_data_gap 90 pharmisight.public.sym_sequence 88 pharmisight.public.sym_outgoing_batch 47 pharmisight.public.sym_node_channel_ctl 22 pharmisight.public.sym_incoming_batch 15 pharmisight.public.sym_data 11 pharmisight.public.sym_data_event 11 pharmisight.public.sym_lock 11 pharmisight.public.sym_node_host 6 pharmisight.public.eps_claims 4 pharmisight.public.item_codes 2 pharmisight.public.tablets 1 pharmisight.public.users 1 pharmisight.public.flow_report_summary_delays 1 Total 517 Vacuums per table
Key values
- public.sym_node_communication (205) Main table vacuumed on database pharmisight
- 427 vacuums Total
Table Number of vacuums Index scans pharmisight.public.sym_node_communication 205 0 pharmisight.public.sym_sequence 88 0 pharmisight.public.sym_data_gap 47 47 pharmisight.public.sym_node_channel_ctl 23 0 pharmisight.public.sym_outgoing_batch 22 22 pharmisight.public.sym_lock 12 0 pharmisight.public.sym_node_host 6 0 pharmisight.public.sym_incoming_batch 6 6 pharmisight.pg_catalog.pg_statistic 5 5 pharmisight.public.eps_claims 4 4 pharmisight.public.sym_data 3 3 pharmisight.public.sym_data_event 3 3 pharmisight.pg_toast.pg_toast_2619 2 2 pharmisight.public.flow_report_summary_delays 1 1 Total 427 93 Tuples removed per table
Key values
- public.sym_node_communication (11424) Main table with removed tuples on database pharmisight
- 41036 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_node_communication 205 0 11424 0 pharmisight.public.sym_outgoing_batch 22 22 6766 0 pharmisight.public.sym_sequence 88 0 4793 0 pharmisight.public.sym_data_event 3 3 4367 0 pharmisight.public.sym_data 3 3 4294 0 pharmisight.public.sym_data_gap 47 47 2473 0 pharmisight.public.eps_claims 4 4 1976 0 pharmisight.pg_catalog.pg_statistic 5 5 1494 0 pharmisight.public.sym_node_channel_ctl 23 0 1226 0 pharmisight.public.sym_incoming_batch 6 6 1123 0 pharmisight.public.sym_lock 12 0 624 0 pharmisight.public.sym_node_host 6 0 312 0 pharmisight.pg_toast.pg_toast_2619 2 2 112 0 pharmisight.public.flow_report_summary_delays 1 1 52 0 Total 427 93 41,036 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_data 3 3 4294 0 pharmisight.public.sym_node_host 6 0 312 0 pharmisight.pg_toast.pg_toast_2619 2 2 112 0 pharmisight.public.sym_data_gap 47 47 2473 0 pharmisight.public.sym_sequence 88 0 4793 0 pharmisight.public.sym_data_event 3 3 4367 0 pharmisight.public.sym_lock 12 0 624 0 pharmisight.public.sym_outgoing_batch 22 22 6766 0 pharmisight.public.sym_node_communication 205 0 11424 0 pharmisight.public.flow_report_summary_delays 1 1 52 0 pharmisight.public.sym_incoming_batch 6 6 1123 0 pharmisight.public.eps_claims 4 4 1976 0 pharmisight.pg_catalog.pg_statistic 5 5 1494 0 pharmisight.public.sym_node_channel_ctl 23 0 1226 0 Total 427 93 41,036 0 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Jul 31 00 13 14 01 10 11 02 11 10 03 9 11 04 11 11 05 9 12 06 33 43 07 35 43 08 34 46 09 31 38 10 30 38 11 29 38 12 25 35 13 24 27 14 14 16 15 18 23 16 11 12 17 15 18 18 11 14 19 11 13 20 10 10 21 11 12 22 12 11 23 10 11 - 14.57 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 15 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 15 26s97ms 1s96ms 2s503ms 1s739ms 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-31 06:18:12 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver
Queries that waited the most
Rank Wait time Query 1 2s503ms 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-31 06:19:08 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
2 2s316ms 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-31 06:20:01 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
3 2s191ms 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-31 06:19:19 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
4 2s124ms 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-31 06:19:08 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
5 1s987ms 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-31 06:19:08 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
6 1s863ms 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-31 06:17:52 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
7 1s729ms 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-31 06:19:15 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
8 1s685ms 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-31 12:34:19 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
9 1s582ms 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-31 06:19:14 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
10 1s547ms 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-31 06:19:08 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
11 1s521ms 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-31 06:19:14 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
12 1s402ms 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-31 06:19:17 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
13 1s402ms 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-31 06:19:17 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
14 1s141ms 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-31 06:18:12 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
15 1s96ms 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-31 06:19:15 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Queries
Queries by type
Key values
- 1,598,309 Total read queries
- 1,033,712 Total write queries
Queries by database
Key values
- pharmisight Main database
- 3,577,808 Requests
- 16m19s (pharmisight)
- Main time consuming database
Queries by user
Key values
- symmetricds Main user
- 2,724,526 Requests
User Request type Count Duration pharmisight Total 947,572 14m28s DELETE 53 11s837ms INSERT 28,141 44s839ms OTHERS 1,990 66ms SELECT 809,140 11m11s TCL 70,855 7s121ms UPDATE 37,393 2m12s symmetricds Total 2,724,526 1m49s DDL 1 1ms DELETE 4,913 6s624ms INSERT 147,926 11s721ms OTHERS 980,170 17s801ms SELECT 819,412 37s660ms TCL 718,789 24s60ms UPDATE 53,315 11s848ms tony Total 900 4s579ms SELECT 900 4s579ms Duration by user
Key values
- 14m28s (pharmisight) Main time consuming user
User Request type Count Duration pharmisight Total 947,572 14m28s DELETE 53 11s837ms INSERT 28,141 44s839ms OTHERS 1,990 66ms SELECT 809,140 11m11s TCL 70,855 7s121ms UPDATE 37,393 2m12s symmetricds Total 2,724,526 1m49s DDL 1 1ms DELETE 4,913 6s624ms INSERT 147,926 11s721ms OTHERS 980,170 17s801ms SELECT 819,412 37s660ms TCL 718,789 24s60ms UPDATE 53,315 11s848ms tony Total 900 4s579ms SELECT 900 4s579ms Queries by host
Key values
- 10.10.10.1 Main host
- 3,672,098 Requests
- 16m18s (10.10.10.1)
- Main time consuming host
Queries by application
Key values
- PostgreSQL JDBC Driver Main application
- 3,573,008 Requests
- 16m14s (PostgreSQL JDBC Driver)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2018-07-31 06:13:10 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 3,453,072 0-1ms duration
Slowest individual queries
Rank Duration Query 1 8s889ms DELETE FROM ALERT_CONFIRMATIONS WHERE ALERT_CONFIRMATION_ID = '200515792';[ Date: 2018-07-31 09:29:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 4s395ms UPDATE FLOW_REPORTS SET routeNumber = '9031432', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:31.315', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:00.436', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417052';[ Date: 2018-07-31 06:19:19 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 3s253ms UPDATE FLOW_REPORTS SET routeNumber = '9031432', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:31.315', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:00.436', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417052';[ Date: 2018-07-31 06:19:15 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 2s505ms UPDATE FLOW_REPORTS SET routeNumber = '9031431', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:29.909', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:11.864', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417032';[ Date: 2018-07-31 06:19:08 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 2s500ms UPDATE FLOW_REPORTS SET routeNumber = '9031432', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:31.315', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:00.436', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417052';[ Date: 2018-07-31 06:19:17 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 2s318ms UPDATE FLOW_REPORTS SET routeNumber = '9031439', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:31.609', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:23.898', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417112';[ Date: 2018-07-31 06:20:01 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 2s129ms UPDATE FLOW_REPORTS SET routeNumber = '9031431', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:29.909', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:11.864', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417032';[ Date: 2018-07-31 06:19:08 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 2s9ms UPDATE FLOW_REPORTS SET routeNumber = '9031431', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:29.909', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:11.864', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417032';[ Date: 2018-07-31 06:19:08 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 1s865ms UPDATE FLOW_REPORTS SET routeNumber = '9031425', roundDeliveryDate = '2018-08-01', distributionPoint = 'F Loncol', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:30.998', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 11:30:35.756', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416972';[ Date: 2018-07-31 06:17:52 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 1s687ms UPDATE FLOW_REPORTS SET routeNumber = '9031417', roundDeliveryDate = '2018-08-01', distributionPoint = 'F Loncol', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2018-07-31 12:30:44.265', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-07-31 11:54:56', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-07-31 08:30:39.818', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 13:00:55.621', UPDATED = '2018-07-31 12:30:44.278', note = NULL WHERE FLOW_REPORT_ID = '200416892';[ Date: 2018-07-31 12:34:19 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 1s584ms UPDATE FLOW_REPORTS SET routeNumber = '9031432', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:31.315', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:00.436', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417052';[ Date: 2018-07-31 06:19:14 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 1s565ms UPDATE FLOW_REPORTS SET routeNumber = '9031431', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:29.909', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:11.864', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417032';[ Date: 2018-07-31 06:19:08 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 1s503ms DELETE FROM ALERT_CONFIRMATIONS WHERE ALERT_CONFIRMATION_ID = '200515802';[ Date: 2018-07-31 09:31:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 1s313ms DELETE FROM ALERT_CONFIRMATIONS WHERE ALERT_CONFIRMATION_ID = '200516082';[ Date: 2018-07-31 09:32:40 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 1s142ms UPDATE FLOW_REPORTS SET routeNumber = '9031427', roundDeliveryDate = '2018-08-01', distributionPoint = 'Ed Didcott', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:31.876', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 11:00:51.349', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416992';[ Date: 2018-07-31 06:18:12 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 998ms 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 = '5004289850';[ Date: 2018-07-31 08:53:37 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 953ms UPDATE FLOW_REPORTS SET routeNumber = '9031417', roundDeliveryDate = '2018-08-01', distributionPoint = 'F Loncol', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2018-07-31 12:30:44.265', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-07-31 11:54:56', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-07-31 08:30:39.818', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 13:00:55.621', UPDATED = '2018-07-31 12:30:44.278', note = NULL WHERE FLOW_REPORT_ID = '200416892';[ Date: 2018-07-31 12:34:19 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 937ms 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 = '11082406';[ Date: 2018-07-31 12:25:40 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 914ms 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 = '11078780';[ Date: 2018-07-31 08:53:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 866ms 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 = '11078766';[ Date: 2018-07-31 08:53:51 - 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 2m11s 3,297 19ms 88ms 39ms SELECT count (*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> '';Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 31 06 382 15s667ms 41ms 07 363 13s229ms 36ms 08 885 35s925ms 40ms 09 375 13s179ms 35ms 10 309 12s604ms 40ms 11 371 15s286ms 41ms 12 274 11s117ms 40ms 13 127 5s306ms 41ms 14 33 1s359ms 41ms 15 70 2s921ms 41ms 16 23 942ms 40ms 17 85 3s533ms 41ms [ User: pharmisight - Total duration: 2m11s - Times executed: 3297 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2m11s - Times executed: 3297 ]
-
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-31 08:17:39 Duration: 88ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:23:19 Duration: 79ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:23:32 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 1m22s 73,357 0ms 34ms 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 #2
Day Hour Count Duration Avg duration Jul 31 06 19,777 20s548ms 1ms 07 257 324ms 1ms 08 2,356 2s742ms 1ms 09 6,974 8s97ms 1ms 10 16,743 19s172ms 1ms 11 11,553 13s350ms 1ms 12 9,858 11s863ms 1ms 13 1,374 1s636ms 1ms 14 192 225ms 1ms 15 1,300 1s545ms 1ms 16 1,130 1s356ms 1ms 17 1,698 1s908ms 1ms 20 145 128ms 0ms [ User: pharmisight - Total duration: 1m22s - Times executed: 73357 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m22s - Times executed: 73357 ]
-
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 = '200452662' 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 = '200452662' 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 = '200452662' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-07-31 12:26:37 Duration: 34ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 09:20:49 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:46:10 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 1m5s 1,867 0ms 701ms 35ms SELECT this_.order_line_id AS order_li1_22_0_, this_.routenumber AS routenum2_22_0_, this_.sapordernumber AS saporder3_22_0_, this_.ordernumber AS ordernum4_22_0_, this_.answerordernumber AS answeror5_22_0_, this_.partcode AS partcode6_22_0_, this_.partdescription AS partdesc7_22_0_, this_.patientname AS patientn8_22_0_, this_.firstname AS firstnam9_22_0_, this_.middlename AS middlen10_22_0_, this_.lastname AS lastnam11_22_0_, this_.patientdateofbirth AS patient12_22_0_, this_.patientpostcode AS patient13_22_0_, this_.patientpostcodeprefix AS patient14_22_0_, this_.orderqty AS orderqt15_22_0_, this_.allocqty AS allocqt16_22_0_, this_.shipqty AS shipqty17_22_0_, this_.adjustedqty AS adjuste18_22_0_, this_.scannedqty AS scanned19_22_0_, this_.assignedqty AS assigne20_22_0_, this_.checkedqty AS checked21_22_0_, this_.backorderqty AS backord22_22_0_, this_.cancelqty AS cancelq23_22_0_, this_.reducedqty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliverydate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapcustomerid AS sapcust29_22_0_, this_.billtotype AS billtot30_22_0_, this_.barcodedate AS barcode31_22_0_, this_.barcodebatch AS barcode32_22_0_, this_.patientid AS patient33_22_0_, this_.isadded AS isadded34_22_0_, this_.isnotwithinage AS isnotwi35_22_0_, this_.isunderage AS isunder36_22_0_, this_.agecheck AS agechec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.ispaperworkproblem AS ispaper40_22_0_, this_.paperworkresolution AS paperwo41_22_0_, this_.pickerid AS pickeri42_22_0_, this_.specialcare AS special43_22_0_, this_.paperworkenquirystarted AS paperwo44_22_0_, this_.paperworkenquiryfinished AS paperwo45_22_0_, this_.paperworkenquiryresponse AS paperwo46_22_0_, this_.isnewproduct AS isnewpr47_22_0_, this_.extraprocedure AS extrapr48_22_0_, this_.overaverageqtymax AS overave49_22_0_, this_.overaverageqtyresolution AS overave50_22_0_, this_.createuser AS createu51_22_0_, this_.patientalert AS patient52_22_0_, this_.itemalert AS itemale53_22_0_, this_.checkerid AS checker54_22_0_, this_.reductionsummary AS reducti55_22_0_, this_.ismetabolic AS ismetab56_22_0_, this_.rxstatus AS rxstatu57_22_0_, this_.lastregupdateusertype AS lastreg58_22_0_, this_.lastregupdateusername AS lastreg59_22_0_, this_.lastregupdatedate AS lastreg60_22_0_, this_.sapplannedshipdate AS sapplan61_22_0_, this_.sapplanneddeliverydate AS sapplan62_22_0_, this_.requestedsapquantity AS request63_22_0_, this_.orderquantity AS orderqu64_22_0_, this_.reglinecreatedusertype AS regline65_22_0_, this_.reglinecreatedusername AS regline66_22_0_, this_.reglinecreateddate AS regline67_22_0_, this_.audited AS audited68_22_0_, this_.ismetabolicpatient AS ismetab69_22_0_, this_.addedcase AS addedca70_22_0_, this_.ordertype AS orderty71_22_0_, this_.created AS created72_22_0_, this_.updated AS updated73_22_0_, this_.rxcheckby AS rxcheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertconfirmation AS alertco77_22_0_, this_.homewardaction AS homewar78_22_0_ FROM order_lines this_ WHERE this_.patientid = '';Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 31 06 1,839 1m5s 35ms 07 9 15ms 1ms 08 4 8ms 2ms 13 4 14ms 3ms 15 3 1ms 0ms 17 8 10ms 1ms [ User: pharmisight - Total duration: 1m5s - Times executed: 1867 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m5s - Times executed: 1867 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '637015';
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '180163';
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '72978300';
Date: 2018-07-31 06:09:09 Duration: 701ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:11:11 Duration: 531ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:09:01 Duration: 526ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 47s710ms 13,188 1ms 18ms 3ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 31 06 1,528 5s582ms 3ms 07 1,452 4s752ms 3ms 08 3,540 12s921ms 3ms 09 1,500 4s741ms 3ms 10 1,236 4s687ms 3ms 11 1,484 5s732ms 3ms 12 1,096 4s96ms 3ms 13 508 1s945ms 3ms 14 132 505ms 3ms 15 280 1s78ms 3ms 16 92 348ms 3ms 17 340 1s318ms 3ms [ User: pharmisight - Total duration: 47s710ms - Times executed: 13188 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 47s710ms - Times executed: 13188 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus = '4';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus = '5';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus = '2';
Date: 2018-07-31 06:51:39 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:31:26 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 13:01:13 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 47s416ms 3,298 5ms 91ms 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 #5
Day Hour Count Duration Avg duration Jul 31 06 382 5s628ms 14ms 07 363 5s308ms 14ms 08 885 12s518ms 14ms 09 375 4s678ms 12ms 10 309 4s501ms 14ms 11 373 5s629ms 15ms 12 273 4s93ms 14ms 13 127 1s820ms 14ms 14 33 503ms 15ms 15 70 1s81ms 15ms 16 23 341ms 14ms 17 85 1s311ms 15ms [ User: pharmisight - Total duration: 47s416ms - Times executed: 3298 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 47s416ms - Times executed: 3298 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-08-01' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-08-01' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-31' 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-31 11:46:57 Duration: 91ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 12:01:41 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:13:24 Duration: 53ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 45s78ms 1,053 21ms 73ms 42ms 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 #6
Day Hour Count Duration Avg duration Jul 31 06 240 9s901ms 41ms 07 102 4s49ms 39ms 08 22 970ms 44ms 09 104 4s547ms 43ms 10 198 8s526ms 43ms 11 175 7s671ms 43ms 12 156 6s944ms 44ms 13 12 515ms 42ms 14 2 86ms 43ms 15 12 524ms 43ms 16 14 626ms 44ms 17 16 714ms 44ms [ User: pharmisight - Total duration: 45s78ms - Times executed: 1053 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 45s78ms - Times executed: 1053 ]
-
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-31 00:00:00' AND this_.CREATED < '2018-07-31 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-31 00:00:00' AND this_.CREATED < '2018-07-31 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-31 00:00:00' AND this_.CREATED < '2018-07-31 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-31 06:04:25 Duration: 73ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 12:58:25 Duration: 68ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:57:40 Duration: 67ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 35s107ms 81,755 0ms 17ms 0ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 31 06 20,471 8s517ms 0ms 07 1,174 867ms 0ms 08 4,207 1s952ms 0ms 09 8,166 3s544ms 0ms 10 18,066 7s626ms 0ms 11 12,845 5s385ms 0ms 12 10,437 4s539ms 0ms 13 1,705 737ms 0ms 14 228 96ms 0ms 15 1,358 573ms 0ms 16 1,136 492ms 0ms 17 1,867 751ms 0ms 20 95 22ms 0ms [ User: pharmisight - Total duration: 35s107ms - Times executed: 81755 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 35s107ms - Times executed: 81755 ]
-
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 = '200452792' 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 = '200452702' 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 = '200452692' ORDER BY orders0_.order_id ASC;
Date: 2018-07-31 06:18:31 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:23:19 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:23:19 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 28s229ms 382,572 0ms 192ms 0ms COMMIT;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 31 00 12,833 453ms 0ms 01 12,238 315ms 0ms 02 12,241 310ms 0ms 03 12,219 307ms 0ms 04 12,239 325ms 0ms 05 12,231 323ms 0ms 06 25,728 3s678ms 0ms 07 23,704 3s96ms 0ms 08 29,044 3s587ms 0ms 09 20,024 2s281ms 0ms 10 21,613 2s441ms 0ms 11 22,431 2s640ms 0ms 12 19,407 1s880ms 0ms 13 16,868 1s418ms 0ms 14 13,779 713ms 0ms 15 15,111 1s91ms 0ms 16 12,774 446ms 0ms 17 13,832 666ms 0ms 18 13,475 652ms 0ms 19 12,209 316ms 0ms 20 11,938 308ms 0ms 21 12,242 321ms 0ms 22 12,241 327ms 0ms 23 12,151 325ms 0ms [ User: symmetricds - Total duration: 21s424ms - Times executed: 347169 ]
[ User: pharmisight - Total duration: 6s805ms - Times executed: 35403 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28s178ms - Times executed: 382533 ]
[ Application: [unknown] - Total duration: 50ms - Times executed: 39 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-07-31 09:29:55 Duration: 192ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:08:50 Duration: 93ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 09:29:55 Duration: 78ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 26s807ms 967 13ms 55ms 27ms 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 #9
Day Hour Count Duration Avg duration Jul 31 06 291 7s677ms 26ms 07 2 70ms 35ms 08 26 773ms 29ms 09 95 2s700ms 28ms 10 167 4s738ms 28ms 11 158 4s367ms 27ms 12 158 4s468ms 28ms 13 17 495ms 29ms 15 12 340ms 28ms 16 17 487ms 28ms 17 24 687ms 28ms [ User: pharmisight - Total duration: 26s807ms - Times executed: 967 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s807ms - Times executed: 967 ]
-
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-31 00:00:00' AND this_.CREATED < '2018-07-31 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-31 00:00:00' AND this_.CREATED < '2018-07-31 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-31 00:00:00' AND this_.CREATED < '2018-07-31 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-31 10:41:00 Duration: 55ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:23:19 Duration: 55ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:20:00 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 26s117ms 72 0ms 4s395ms 362ms 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 #10
Day Hour Count Duration Avg duration Jul 31 06 63 26s61ms 413ms 12 1 1ms 1ms 13 2 3ms 1ms 17 6 50ms 8ms [ User: pharmisight - Total duration: 26s117ms - Times executed: 72 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s117ms - Times executed: 72 ]
-
UPDATE FLOW_REPORTS SET routeNumber = '9031432', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:31.315', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:00.436', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417052';
-
UPDATE FLOW_REPORTS SET routeNumber = '9031432', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:31.315', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:00.436', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417052';
-
UPDATE FLOW_REPORTS SET routeNumber = '9031431', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:29.909', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:11.864', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417032';
Date: 2018-07-31 06:19:19 Duration: 4s395ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:19:15 Duration: 3s253ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:19:08 Duration: 2s505ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 20s882ms 4,183 0ms 65ms 4ms SELECT this_.order_id AS order_id1_20_0_, this_.sapordernumber AS saporder2_20_0_, this_.answerordernumber AS answeror3_20_0_, this_.ordernumber AS ordernum4_20_0_, this_.routenumber AS routenum5_20_0_, this_.billtotype AS billtoty6_20_0_, this_.patientname AS patientn7_20_0_, this_.firstname AS firstnam8_20_0_, this_.middlename AS middlena9_20_0_, this_.lastname AS lastnam10_20_0_, this_.patientdateofbirth AS patient11_20_0_, this_.patientpostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapcustomerid AS sapcust14_20_0_, this_.status AS status15_20_0_, this_.patientid AS patient16_20_0_, this_.isnotwithinage AS isnotwi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliverybarcode AS deliver20_20_0_, this_.deliverydate AS deliver21_20_0_, this_.rxstatus AS rxstatu22_20_0_, this_.createuser AS createu23_20_0_, this_.subordertype AS suborde24_20_0_, this_.sapcontractid AS sapcont25_20_0_, this_.salesforceordernumber AS salesfo26_20_0_, this_.patienttype AS patient27_20_0_, this_.ordertype AS orderty28_20_0_, this_.orderstatus AS orderst29_20_0_, this_.nhsnumber AS nhsnumb30_20_0_, this_.individuallabelling AS individ31_20_0_, this_.orderid AS orderid32_20_0_, this_.clusterlead AS cluster33_20_0_, this_.clustergroup AS cluster34_20_0_, this_.accountid AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionby AS reducti37_20_0_, this_.alertconfirmation AS alertco38_20_0_, this_.created AS created39_20_0_, this_.updated AS updated40_20_0_, this_.note AS note41_20_0_ FROM orders this_ WHERE this_.status = '' AND this_.deliverydate = '' ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 31 06 561 2s908ms 5ms 07 258 1s288ms 4ms 08 870 4s413ms 5ms 09 345 1s756ms 5ms 10 462 2s333ms 5ms 11 711 3s378ms 4ms 12 445 2s204ms 4ms 13 219 1s41ms 4ms 14 66 343ms 5ms 15 111 541ms 4ms 16 18 89ms 4ms 17 117 582ms 4ms [ User: pharmisight - Total duration: 20s882ms - Times executed: 4183 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s882ms - Times executed: 4183 ]
-
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-31' 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-08-01' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-08-01' ORDER BY this_.deliveryDate ASC;
Date: 2018-07-31 08:51:55 Duration: 65ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 12:57:50 Duration: 64ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 11:43:43 Duration: 54ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 17s114ms 942,972 0ms 9ms 0ms SHOW TRANSACTION ISOLATION LEVEL;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 31 00 37,223 671ms 0ms 01 36,268 650ms 0ms 02 36,276 653ms 0ms 03 36,208 654ms 0ms 04 36,271 657ms 0ms 05 36,246 662ms 0ms 06 47,352 818ms 0ms 07 45,998 811ms 0ms 08 48,124 843ms 0ms 09 42,761 767ms 0ms 10 43,702 762ms 0ms 11 45,051 813ms 0ms 12 42,234 750ms 0ms 13 40,268 727ms 0ms 14 37,768 709ms 0ms 15 38,990 718ms 0ms 16 36,530 677ms 0ms 17 37,507 703ms 0ms 18 38,069 706ms 0ms 19 36,223 663ms 0ms 20 35,344 668ms 0ms 21 36,280 674ms 0ms 22 36,277 678ms 0ms 23 36,002 667ms 0ms [ User: symmetricds - Total duration: 17s90ms - Times executed: 942328 ]
[ User: pharmisight - Total duration: 24ms - Times executed: 644 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s114ms - Times executed: 942967 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 5 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2018-07-31 20:57:56 Duration: 9ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 18:25:52 Duration: 6ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 20:33:55 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 15s104ms 162 47ms 132ms 93ms 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 #13
Day Hour Count Duration Avg duration Jul 31 06 52 4s793ms 92ms 07 48 4s461ms 92ms 08 60 5s673ms 94ms 11 1 73ms 73ms 13 1 102ms 102ms [ User: pharmisight - Total duration: 15s104ms - Times executed: 162 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s104ms - Times executed: 162 ]
-
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 = '200891502' 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 = '200890642' 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 = '200893232' ORDER BY epscheckli0_.description ASC;
Date: 2018-07-31 08:33:38 Duration: 132ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 07:01:10 Duration: 129ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:22:26 Duration: 119ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 14s217ms 121,279 0ms 13ms 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 #14
Day Hour Count Duration Avg duration Jul 31 06 8,697 994ms 0ms 07 35,752 4s220ms 0ms 08 24,650 2s916ms 0ms 09 8,989 1s56ms 0ms 10 11,505 1s383ms 0ms 11 12,018 1s341ms 0ms 12 8,683 1s42ms 0ms 13 7,201 806ms 0ms 14 907 108ms 0ms 15 1,577 174ms 0ms 16 1,145 144ms 0ms 17 155 27ms 0ms [ User: pharmisight - Total duration: 14s217ms - Times executed: 121279 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s217ms - Times executed: 121279 ]
-
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 = '207648162' 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 = '207899032' 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 = '207951242' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-07-31 07:52:01 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 07:53:17 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 07:52:46 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 12s403ms 997 0ms 29ms 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 #15
Day Hour Count Duration Avg duration Jul 31 06 164 2s55ms 12ms 07 325 3s966ms 12ms 08 360 4s563ms 12ms 09 130 1s605ms 12ms 11 1 13ms 13ms 14 5 62ms 12ms 15 12 136ms 11ms [ User: pharmisight - Total duration: 12s403ms - Times executed: 997 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s403ms - Times executed: 997 ]
-
UPDATE ORDER_LINES SET routeNumber = '9031172', sapOrderNumber = '7797802', orderNumber = '5004306724', answerOrderNumber = NULL, partCode = '88543', partDescription = 'Two-Cal 1000ml', patientName = 'Lewis Ryan', firstName = 'Lewis', middleName = NULL, lastName = 'Ryan', patientDateOfBirth = '2001-02-22', patientPostcode = 'WA5 3HS', patientPostcodePrefix = 'WA', orderQty = '24', allocQty = '24', shipQty = NULL, adjustedQty = '24', scannedQty = '24', assignedQty = '0', checkedQty = '24', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-08-01', customer = 'Brenda Melville', sapCustomerId = '685050995', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '1559105', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'eRx Failed', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '73301161', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Brenda Melville', patientAlert = NULL, itemAlert = NULL, checkerId = '4060', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'ryan.white@nutricia.connections', lastRegUpdateDate = '2018-05-29 14:30:20', sapPlannedShipDate = '2018-07-31', sapPlannedDeliveryDate = '2018-08-01', requestedSAPQuantity = '24', orderQuantity = '24', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 17:08:26', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-31 06:04:08.18', UPDATED = NULL, rxCheckBy = '4060', note = 'Paul Gray-Scott', item = '3070', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214660912';
-
UPDATE ORDER_LINES SET routeNumber = '9031173', sapOrderNumber = '7796140', orderNumber = '5004302833', answerOrderNumber = NULL, partCode = '56871', partDescription = 'Protifar Powder 225g', patientName = 'Garry Heaton', firstName = 'Garry', middleName = NULL, lastName = 'Heaton', patientDateOfBirth = '1962-03-18', patientPostcode = 'BL8 3AS', patientPostcodePrefix = 'BL', orderQty = '5', allocQty = '5', shipQty = NULL, adjustedQty = '5', scannedQty = '5', assignedQty = '0', checkedQty = '5', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-08-01', customer = 'Brenda Melville', sapCustomerId = '685054609', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '35245560', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'eRx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001212', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Sarah Rushton', patientAlert = NULL, itemAlert = NULL, checkerId = '4060', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinators', lastRegUpdateUserName = 'rebecca.gruncell@nutricia.connections', lastRegUpdateDate = '2017-03-21 14:31:39', sapPlannedShipDate = '2018-07-31', sapPlannedDeliveryDate = '2018-08-01', requestedSAPQuantity = '5', orderQuantity = '5', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 16:08:39', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-31 06:04:08.094', UPDATED = NULL, rxCheckBy = '100', note = 'EP auto check', item = '3299', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214663932';
-
UPDATE ORDER_LINES SET routeNumber = '9031166', sapOrderNumber = '7796016', orderNumber = '5004305371', answerOrderNumber = NULL, partCode = '42675', partDescription = 'Nutrison Energy MF 1000ml', patientName = 'Amanda Sweeting', firstName = 'Amanda', middleName = NULL, lastName = 'Sweeting', patientDateOfBirth = '1959-03-28', patientPostcode = 'DN14 5TZ', patientPostcodePrefix = 'DN', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '28', scannedQty = '28', assignedQty = '0', checkedQty = '28', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-08-01', customer = 'Gill Feltham', sapCustomerId = '685182588', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200392102', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '73301161', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Brenda Melville', patientAlert = NULL, itemAlert = NULL, checkerId = '4062', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'beverley.smith@nutricia.connections', lastRegUpdateDate = '2018-06-12 10:03:35', sapPlannedShipDate = '2018-07-31', sapPlannedDeliveryDate = '2018-08-01', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'michelle.norton@nutricia.connections', regLineCreatedDate = '2018-04-04 15:16:39', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-31 06:04:08.166', UPDATED = NULL, rxCheckBy = '4060', note = 'Paul Gray-Scott', item = '32965083', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214663302';
Date: 2018-07-31 07:29:01 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:13:29 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:51:56 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 11s706ms 3 1s313ms 8s889ms 3s902ms DELETE FROM alert_confirmations WHERE alert_confirmation_id = '';Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 31 09 3 11s706ms 3s902ms [ User: pharmisight - Total duration: 11s706ms - Times executed: 3 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s706ms - Times executed: 3 ]
-
DELETE FROM ALERT_CONFIRMATIONS WHERE ALERT_CONFIRMATION_ID = '200515792';
-
DELETE FROM ALERT_CONFIRMATIONS WHERE ALERT_CONFIRMATION_ID = '200515802';
-
DELETE FROM ALERT_CONFIRMATIONS WHERE ALERT_CONFIRMATION_ID = '200516082';
Date: 2018-07-31 09:29:56 Duration: 8s889ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 09:31:56 Duration: 1s503ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 09:32:40 Duration: 1s313ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 11s479ms 3,297 1ms 15ms 3ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus IS NULL;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 31 06 382 1s345ms 3ms 07 363 1s150ms 3ms 08 885 3s118ms 3ms 09 375 1s139ms 3ms 10 309 1s126ms 3ms 11 371 1s375ms 3ms 12 274 985ms 3ms 13 127 464ms 3ms 14 33 119ms 3ms 15 70 255ms 3ms 16 23 82ms 3ms 17 85 314ms 3ms [ User: pharmisight - Total duration: 11s479ms - Times executed: 3297 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s479ms - Times executed: 3297 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus IS NULL;
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-08-01' AND this_.rxStatus IS NULL;
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus IS NULL;
Date: 2018-07-31 11:21:52 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:26:46 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:42:11 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 10s455ms 2,941 0ms 25ms 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 #18
Day Hour Count Duration Avg duration Jul 31 06 1,667 3s637ms 2ms 07 380 1s765ms 4ms 08 309 1s579ms 5ms 09 103 549ms 5ms 10 147 839ms 5ms 11 133 724ms 5ms 12 82 543ms 6ms 13 63 374ms 5ms 14 10 91ms 9ms 15 29 228ms 7ms 16 3 24ms 8ms 17 15 97ms 6ms [ User: pharmisight - Total duration: 10s455ms - Times executed: 2941 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s455ms - Times executed: 2941 ]
-
UPDATE ORDERS SET sapOrderNumber = '7789558', answerOrderNumber = NULL, orderNumber = '5004298673', routeNumber = '9031176', billToType = NULL, patientName = 'Mariya Abdullah', firstName = 'Mariya', middleName = NULL, lastName = 'Abdullah', patientDateOfBirth = '2017-08-23', patientPostcode = 'EH16 6DQ', customer = NULL, sapCustomerId = '685178434', STATUS = 'Checked', patientId = '200374722', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-08-01', rxStatus = '1', createUser = 'Laura Doughty', subOrderType = 'Standard', sapContractId = '650105973', salesforceOrderNumber = '11082799', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '2308178124', individualLabelling = 'f', orderId = 'a4r1p0000067ekRAAQ', clusterLead = 'Samra Chergui', clusterGroup = 'NHS LOTHIAN', accountId = '110251', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-31 06:04:08.311', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208353152';
-
UPDATE ORDERS SET sapOrderNumber = '7795593', answerOrderNumber = NULL, orderNumber = '5004299186', routeNumber = '9031431', billToType = NULL, patientName = 'Leah Stone', firstName = 'Leah', middleName = NULL, lastName = 'Stone', patientDateOfBirth = '2005-03-06', patientPostcode = 'BS4 4UA', customer = NULL, sapCustomerId = '685056808', STATUS = 'Checked', patientId = '74153', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-08-01', rxStatus = '4', createUser = 'Jennifer Edmonds', subOrderType = 'Change of Regimen', sapContractId = '650105940', salesforceOrderNumber = '11082120', patientType = 'Homeward', orderType = 'Ad Hoc', orderStatus = 'Confirmed', NHSnumber = '7027852497', individualLabelling = 'f', orderId = 'a4r1p0000067dsFAAQ', clusterLead = 'Jennifer Edmonds', clusterGroup = 'UNIVERSITY HOSPITALS BRISTOL NHSFT', accountId = '119264', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-31 06:04:08.308', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208353022';
-
UPDATE ORDERS SET sapOrderNumber = '7795516', answerOrderNumber = NULL, orderNumber = '5004299183', routeNumber = '9031440', billToType = NULL, patientName = 'Leyla Bibi', firstName = 'Leyla', middleName = NULL, lastName = 'Bibi', patientDateOfBirth = '2013-08-09', patientPostcode = 'B8 2UL', customer = NULL, sapCustomerId = '685129941', STATUS = 'Checked', patientId = '200051070', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-08-01', rxStatus = '1', createUser = 'Laura Doughty', subOrderType = 'Change of Regimen', sapContractId = '650105917', salesforceOrderNumber = '11081089', patientType = 'Homeward', orderType = 'Ad Hoc', orderStatus = 'Confirmed', NHSnumber = '6530882448', individualLabelling = 'f', orderId = 'a4r1p0000067cXpAAI', clusterLead = 'Johnathan Baysting', clusterGroup = 'BIRMINGHAM COMMUNITY HCARE NHST', accountId = '869134', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-31 06:04:08.307', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208356112';
Date: 2018-07-31 06:57:48 Duration: 25ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 12:36:27 Duration: 22ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 15:24:56 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 10s423ms 12,586 0ms 9ms 0ms UPDATE order_line_activities SET order_line_id = '' WHERE order_line_activity_id = '';Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 31 06 1,095 915ms 0ms 07 1,791 1s513ms 0ms 08 2,473 1s981ms 0ms 09 1,469 1s147ms 0ms 10 1,987 1s599ms 0ms 11 1,498 1s174ms 0ms 12 1,039 891ms 0ms 13 714 586ms 0ms 14 133 172ms 1ms 15 261 299ms 1ms 16 21 38ms 1ms 17 105 103ms 0ms [ User: pharmisight - Total duration: 10s423ms - Times executed: 12586 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s423ms - Times executed: 12586 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214664302' WHERE ORDER_LINE_ACTIVITY_ID = '285580942';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214651922' WHERE ORDER_LINE_ACTIVITY_ID = '285501562';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214652232' WHERE ORDER_LINE_ACTIVITY_ID = '285501622';
Date: 2018-07-31 10:42:35 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:18:49 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:19:45 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 9s601ms 1,017 6ms 89ms 9ms 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 #20
Day Hour Count Duration Avg duration Jul 31 06 997 9s391ms 9ms 13 6 66ms 11ms 15 4 51ms 12ms 17 10 91ms 9ms [ User: pharmisight - Total duration: 9s601ms - Times executed: 1017 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s601ms - Times executed: 1017 ]
-
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 ('9031415', '7796071', '5004300061', NULL, '132635', 'Nutrini Peptisorb 500ml', 'Mikaela Gatmaitan', 'Mikaela', NULL, 'Gatmaitan', '2011-03-21', 'PO19 6XN', 'PO', '30', '30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-08-01', 'Simon Church', '685079520', 'Pharmacy (CURO)', NULL, NULL, '110335310', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Michael Gatmaitan', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS System Administrator', 'lyndsay.mizen@nutricia.connections', '2018-05-08 13:26:04', '2018-07-31', '2018-08-01', '30', '30', 'PMS System Administrator', 'lyndsay.mizen@nutricia.connections', '2018-04-27 12:15:14', NULL, NULL, NULL, NULL, '2018-07-31 06:04:08.107', NULL, NULL, NULL, '3264', NULL, NULL, '214657712');
-
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 ('9031169', '7797006', '5004299430', NULL, '71951', 'Calogen Extra Shot Neutral (6 x 40ml)', 'Johnathon Chia', 'Johnathon', NULL, 'Chia', '1996-10-01', 'S35 3HY', 'S', '19', '19', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-08-01', 'Ryan White', '685152050', 'Pharmacy (CURO)', NULL, NULL, '200182550', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Jack Pady', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'beverley.smith@nutricia.connections', '2018-07-11 11:18:42', '2018-07-31', '2018-08-01', '19', '19', 'PMS HCP User Login', 'gary.simpson@nutricia.connections', '2018-07-09 10:54:21', NULL, NULL, NULL, NULL, '2018-07-31 06:04:08.267', NULL, NULL, NULL, '28', NULL, NULL, '214662932');
-
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 ('9031110', '7796178', '5004298432', NULL, '40821', 'Tentrini Energy MF Pack 500ml ', 'Bethany Philip', 'Bethany', NULL, 'Philip', '2010-05-23', 'EH22 2ET', 'EH', '56', '56', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-08-02', 'Samra Chergui', '685057448', 'Pharmacy (CURO)', NULL, NULL, '755411', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Margaret Conlin', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'samra.chergui@nutricia.connections', '2017-08-15 12:10:17', '2018-08-01', '2018-08-02', '56', '56', 'PMS HCP User', 'hannah.travis@nutricia.connections', '2017-08-14 10:40:58', NULL, NULL, NULL, NULL, '2018-07-31 06:03:29.474', NULL, NULL, NULL, '1382', NULL, NULL, '214652042');
Date: 2018-07-31 06:04:47 Duration: 89ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:05:59 Duration: 62ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:03:30 Duration: 38ms 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 942,972 17s114ms 0ms 9ms 0ms SHOW TRANSACTION ISOLATION LEVEL;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 31 00 37,223 671ms 0ms 01 36,268 650ms 0ms 02 36,276 653ms 0ms 03 36,208 654ms 0ms 04 36,271 657ms 0ms 05 36,246 662ms 0ms 06 47,352 818ms 0ms 07 45,998 811ms 0ms 08 48,124 843ms 0ms 09 42,761 767ms 0ms 10 43,702 762ms 0ms 11 45,051 813ms 0ms 12 42,234 750ms 0ms 13 40,268 727ms 0ms 14 37,768 709ms 0ms 15 38,990 718ms 0ms 16 36,530 677ms 0ms 17 37,507 703ms 0ms 18 38,069 706ms 0ms 19 36,223 663ms 0ms 20 35,344 668ms 0ms 21 36,280 674ms 0ms 22 36,277 678ms 0ms 23 36,002 667ms 0ms [ User: symmetricds - Total duration: 17s90ms - Times executed: 942328 ]
[ User: pharmisight - Total duration: 24ms - Times executed: 644 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s114ms - Times executed: 942967 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 5 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2018-07-31 20:57:56 Duration: 9ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 18:25:52 Duration: 6ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 20:33:55 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 445,834 5s547ms 0ms 2ms 0ms SELECT 0;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 31 00 17,008 209ms 0ms 01 16,090 199ms 0ms 02 16,093 198ms 0ms 03 16,055 207ms 0ms 04 16,089 199ms 0ms 05 16,082 199ms 0ms 06 24,728 297ms 0ms 07 24,206 289ms 0ms 08 25,207 306ms 0ms 09 21,454 262ms 0ms 10 22,320 271ms 0ms 11 23,170 286ms 0ms 12 21,107 262ms 0ms 13 19,532 242ms 0ms 14 17,437 227ms 0ms 15 18,460 229ms 0ms 16 16,370 207ms 0ms 17 17,149 216ms 0ms 18 17,325 215ms 0ms 19 16,053 203ms 0ms 20 15,735 200ms 0ms 21 16,096 205ms 0ms 22 16,090 205ms 0ms 23 15,978 200ms 0ms [ User: symmetricds - Total duration: 5s547ms - Times executed: 445834 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s547ms - Times executed: 445834 ]
-
SELECT 1;
-
SELECT 1;
-
SELECT 1;
Date: 2018-07-31 03:30:31 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 11:14:42 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:59:36 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 382,586 2s551ms 0ms 5ms 0ms BEGIN;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 31 00 12,832 81ms 0ms 01 12,238 78ms 0ms 02 12,241 83ms 0ms 03 12,219 79ms 0ms 04 12,239 77ms 0ms 05 12,231 78ms 0ms 06 25,729 175ms 0ms 07 23,707 163ms 0ms 08 29,044 202ms 0ms 09 20,023 134ms 0ms 10 21,613 144ms 0ms 11 22,430 152ms 0ms 12 19,409 132ms 0ms 13 16,867 112ms 0ms 14 13,782 91ms 0ms 15 15,111 98ms 0ms 16 12,778 84ms 0ms 17 13,835 92ms 0ms 18 13,478 86ms 0ms 19 12,208 79ms 0ms 20 11,938 79ms 0ms 21 12,242 81ms 0ms 22 12,243 79ms 0ms 23 12,149 79ms 0ms [ User: symmetricds - Total duration: 2s242ms - Times executed: 347167 ]
[ User: pharmisight - Total duration: 308ms - Times executed: 35419 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s550ms - Times executed: 382532 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 54 ]
-
BEGIN;
-
BEGIN;
-
BEGIN;
Date: 2018-07-31 02:20:29 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 20:48:55 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 21:40:57 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 382,572 28s229ms 0ms 192ms 0ms COMMIT;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 31 00 12,833 453ms 0ms 01 12,238 315ms 0ms 02 12,241 310ms 0ms 03 12,219 307ms 0ms 04 12,239 325ms 0ms 05 12,231 323ms 0ms 06 25,728 3s678ms 0ms 07 23,704 3s96ms 0ms 08 29,044 3s587ms 0ms 09 20,024 2s281ms 0ms 10 21,613 2s441ms 0ms 11 22,431 2s640ms 0ms 12 19,407 1s880ms 0ms 13 16,868 1s418ms 0ms 14 13,779 713ms 0ms 15 15,111 1s91ms 0ms 16 12,774 446ms 0ms 17 13,832 666ms 0ms 18 13,475 652ms 0ms 19 12,209 316ms 0ms 20 11,938 308ms 0ms 21 12,242 321ms 0ms 22 12,241 327ms 0ms 23 12,151 325ms 0ms [ User: symmetricds - Total duration: 21s424ms - Times executed: 347169 ]
[ User: pharmisight - Total duration: 6s805ms - Times executed: 35403 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28s178ms - Times executed: 382533 ]
[ Application: [unknown] - Total duration: 50ms - Times executed: 39 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-07-31 09:29:55 Duration: 192ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:08:50 Duration: 93ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 09:29:55 Duration: 78ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 131,045 8s167ms 0ms 2ms 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 31 00 540 29ms 0ms 01 1,094 75ms 0ms 02 338 17ms 0ms 03 756 45ms 0ms 04 554 39ms 0ms 05 604 34ms 0ms 06 55,242 3s185ms 0ms 07 12,216 779ms 0ms 08 15,454 1s5ms 0ms 09 8,182 525ms 0ms 10 10,684 703ms 0ms 11 8,086 531ms 0ms 12 6,058 412ms 0ms 13 4,600 311ms 0ms 14 966 72ms 0ms 15 1,626 116ms 0ms 16 670 48ms 0ms 17 1,000 73ms 0ms 18 42 5ms 0ms 19 50 6ms 0ms 20 45 5ms 0ms 21 44 6ms 0ms 22 1,226 74ms 0ms 23 968 60ms 0ms [ User: symmetricds - Total duration: 8s167ms - Times executed: 131045 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s167ms - Times executed: 131045 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('86907753', '7806054', 'redditch_bankstreet', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('86907752', '7806055', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('86935432', '7808490', 'redditch_cloud', current_timestamp);
Date: 2018-07-31 06:12:15 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:12:15 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:19:51 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 121,279 14s217ms 0ms 13ms 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 31 06 8,697 994ms 0ms 07 35,752 4s220ms 0ms 08 24,650 2s916ms 0ms 09 8,989 1s56ms 0ms 10 11,505 1s383ms 0ms 11 12,018 1s341ms 0ms 12 8,683 1s42ms 0ms 13 7,201 806ms 0ms 14 907 108ms 0ms 15 1,577 174ms 0ms 16 1,145 144ms 0ms 17 155 27ms 0ms [ User: pharmisight - Total duration: 14s217ms - Times executed: 121279 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s217ms - Times executed: 121279 ]
-
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 = '207648162' 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 = '207899032' 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 = '207951242' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-07-31 07:52:01 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 07:53:17 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 07:52:46 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 112,118 5s235ms 0ms 2ms 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 31 06 5,920 281ms 0ms 07 34,668 1s620ms 0ms 08 23,171 1s108ms 0ms 09 8,542 424ms 0ms 10 10,740 533ms 0ms 11 11,450 506ms 0ms 12 8,329 354ms 0ms 13 6,913 284ms 0ms 14 846 46ms 0ms 15 1,399 69ms 0ms 16 30 1ms 0ms 17 110 3ms 0ms [ User: pharmisight - Total duration: 5s235ms - Times executed: 112118 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s235ms - Times executed: 112118 ]
-
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 = '5004295035';
-
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 = '5004304089';
-
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 = '5004293099';
Date: 2018-07-31 06:16:41 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 09:35:17 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 11:01:53 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 81,755 35s107ms 0ms 17ms 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 31 06 20,471 8s517ms 0ms 07 1,174 867ms 0ms 08 4,207 1s952ms 0ms 09 8,166 3s544ms 0ms 10 18,066 7s626ms 0ms 11 12,845 5s385ms 0ms 12 10,437 4s539ms 0ms 13 1,705 737ms 0ms 14 228 96ms 0ms 15 1,358 573ms 0ms 16 1,136 492ms 0ms 17 1,867 751ms 0ms 20 95 22ms 0ms [ User: pharmisight - Total duration: 35s107ms - Times executed: 81755 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 35s107ms - Times executed: 81755 ]
-
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 = '200452792' 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 = '200452702' 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 = '200452692' ORDER BY orders0_.order_id ASC;
Date: 2018-07-31 06:18:31 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:23:19 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:23:19 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 77,126 3s526ms 0ms 1ms 0ms SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = '' ORDER BY start_id ASC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 31 00 3,195 145ms 0ms 01 3,222 148ms 0ms 02 3,222 148ms 0ms 03 3,213 144ms 0ms 04 3,222 147ms 0ms 05 3,222 149ms 0ms 06 3,195 149ms 0ms 07 3,204 145ms 0ms 08 3,201 145ms 0ms 09 3,204 147ms 0ms 10 3,213 145ms 0ms 11 3,212 146ms 0ms 12 3,204 145ms 0ms 13 3,213 145ms 0ms 14 3,222 147ms 0ms 15 3,213 145ms 0ms 16 3,222 150ms 0ms 17 3,213 147ms 0ms 18 3,222 144ms 0ms 19 3,222 146ms 0ms 20 3,213 147ms 0ms 21 3,222 148ms 0ms 22 3,222 145ms 0ms 23 3,213 146ms 0ms [ User: symmetricds - Total duration: 3s526ms - Times executed: 77126 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s526ms - Times executed: 77126 ]
-
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-31 16:31:16 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 11:04:28 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:06:22 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 73,357 1m22s 0ms 34ms 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 #10
Day Hour Count Duration Avg duration Jul 31 06 19,777 20s548ms 1ms 07 257 324ms 1ms 08 2,356 2s742ms 1ms 09 6,974 8s97ms 1ms 10 16,743 19s172ms 1ms 11 11,553 13s350ms 1ms 12 9,858 11s863ms 1ms 13 1,374 1s636ms 1ms 14 192 225ms 1ms 15 1,300 1s545ms 1ms 16 1,130 1s356ms 1ms 17 1,698 1s908ms 1ms 20 145 128ms 0ms [ User: pharmisight - Total duration: 1m22s - Times executed: 73357 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m22s - Times executed: 73357 ]
-
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 = '200452662' 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 = '200452662' 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 = '200452662' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-07-31 12:26:37 Duration: 34ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 09:20:49 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:46:10 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 68,035 2s145ms 0ms 1ms 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 #11
Day Hour Count Duration Avg duration Jul 31 00 2,841 69ms 0ms 01 2,867 71ms 0ms 02 2,865 68ms 0ms 03 2,858 69ms 0ms 04 2,864 70ms 0ms 05 2,866 69ms 0ms 06 2,561 199ms 0ms 07 2,571 120ms 0ms 08 2,850 153ms 0ms 09 2,851 112ms 0ms 10 2,861 123ms 0ms 11 2,851 108ms 0ms 12 2,852 100ms 0ms 13 2,860 90ms 0ms 14 2,864 74ms 0ms 15 2,856 76ms 0ms 16 2,866 71ms 0ms 17 2,856 74ms 0ms 18 2,864 68ms 0ms 19 2,864 68ms 0ms 20 2,856 68ms 0ms 21 2,864 68ms 0ms 22 2,868 72ms 0ms 23 2,859 71ms 0ms [ User: symmetricds - Total duration: 2s145ms - Times executed: 68035 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s145ms - Times executed: 68035 ]
-
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 '86890446' AND '136890445')) 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 '86951046' AND '136951045')) 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 '86890679' AND '136890678')) ORDER BY d.data_id ASC;
Date: 2018-07-31 06:04:01 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 17:10:02 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:04:31 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 57,144 1s169ms 0ms 4ms 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 31 00 2,400 49ms 0ms 01 2,400 47ms 0ms 02 2,400 51ms 0ms 03 2,400 50ms 0ms 04 2,400 50ms 0ms 05 2,400 47ms 0ms 06 2,176 42ms 0ms 07 2,400 48ms 0ms 08 2,400 48ms 0ms 09 2,400 49ms 0ms 10 2,400 44ms 0ms 11 2,400 47ms 0ms 12 2,400 48ms 0ms 13 2,400 48ms 0ms 14 2,400 52ms 0ms 15 2,400 50ms 0ms 16 2,392 52ms 0ms 17 2,400 52ms 0ms 18 2,400 47ms 0ms 19 2,400 49ms 0ms 20 2,216 44ms 0ms 21 2,400 48ms 0ms 22 2,400 50ms 0ms 23 2,360 48ms 0ms [ User: symmetricds - Total duration: 1s169ms - Times executed: 57144 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s169ms - Times executed: 57144 ]
-
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 = 'default';
-
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';
Date: 2018-07-31 16:47:50 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 02:10:29 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 00:05:26 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 45,711 2s796ms 0ms 3ms 0ms SELECT * FROM order_rounds r WHERE r.flowreport = '';Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 31 06 11,573 669ms 0ms 07 90 5ms 0ms 08 1,170 72ms 0ms 09 4,770 299ms 0ms 10 8,955 541ms 0ms 11 7,912 491ms 0ms 12 7,380 471ms 0ms 13 822 52ms 0ms 14 92 5ms 0ms 15 793 50ms 0ms 16 846 53ms 0ms 17 1,213 78ms 0ms 20 95 3ms 0ms [ User: pharmisight - Total duration: 2s796ms - Times executed: 45711 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s796ms - Times executed: 45711 ]
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200416872';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200417052';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200416742';
Date: 2018-07-31 10:41:11 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:29:05 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 12:49:08 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 30,588 1s561ms 0ms 7ms 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 31 06 2,918 149ms 0ms 07 2,266 115ms 0ms 08 8,573 429ms 0ms 09 3,150 157ms 0ms 10 3,874 199ms 0ms 11 4,151 207ms 0ms 12 2,451 133ms 0ms 13 1,285 67ms 0ms 14 261 13ms 0ms 15 589 31ms 0ms 16 151 7ms 0ms 17 918 47ms 0ms 20 1 0ms 0ms [ User: pharmisight - Total duration: 1s561ms - Times executed: 30588 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s561ms - Times executed: 30588 ]
-
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 = '200416922';
-
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 = '200416632';
-
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 = '200416882';
Date: 2018-07-31 12:18:10 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 07:04:43 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:29:02 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 29,750 1s901ms 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 #15
Day Hour Count Duration Avg duration Jul 31 00 877 50ms 0ms 01 877 51ms 0ms 02 877 50ms 0ms 03 877 50ms 0ms 04 877 51ms 0ms 05 877 56ms 0ms 06 1,444 96ms 0ms 07 2,064 146ms 0ms 08 2,560 186ms 0ms 09 1,843 125ms 0ms 10 2,177 154ms 0ms 11 1,717 117ms 0ms 12 1,508 101ms 0ms 13 2,068 127ms 0ms 14 981 60ms 0ms 15 1,068 66ms 0ms 16 889 51ms 0ms 17 907 53ms 0ms 18 877 49ms 0ms 19 877 51ms 0ms 20 877 50ms 0ms 21 877 49ms 0ms 22 877 50ms 0ms 23 877 50ms 0ms [ User: pharmisight - Total duration: 1s901ms - Times executed: 29750 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s901ms - Times executed: 29750 ]
-
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 = '32965111' 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 = '2904' ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '3044' ORDER BY itembarcod0_.barcode ASC;
Date: 2018-07-31 08:40:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:31:22 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 19:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 24,941 1s262ms 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 31 06 2,584 128ms 0ms 07 1,709 87ms 0ms 08 7,140 359ms 0ms 09 2,220 110ms 0ms 10 2,914 158ms 0ms 11 3,231 158ms 0ms 12 2,127 108ms 0ms 13 1,184 59ms 0ms 14 243 11ms 0ms 15 578 28ms 0ms 16 195 10ms 0ms 17 767 38ms 0ms 19 49 2ms 0ms [ User: pharmisight - Total duration: 1s262ms - Times executed: 24941 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s262ms - Times executed: 24941 ]
-
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 = '200452432' 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 = '200449942' 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 = '200452392' ORDER BY orderround0_.pickerId ASC;
Date: 2018-07-31 10:25:28 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:48:07 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:45:35 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 24,940 1s442ms 0ms 0ms 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 #17
Day Hour Count Duration Avg duration Jul 31 00 986 55ms 0ms 01 986 56ms 0ms 02 986 56ms 0ms 03 986 55ms 0ms 04 986 56ms 0ms 05 986 61ms 0ms 06 1,089 63ms 0ms 07 1,050 62ms 0ms 08 1,031 61ms 0ms 09 999 57ms 0ms 10 1,000 63ms 0ms 11 998 58ms 0ms 12 993 57ms 0ms 13 1,980 113ms 0ms 14 988 56ms 0ms 15 988 56ms 0ms 16 989 56ms 0ms 17 991 56ms 0ms 18 988 55ms 0ms 19 988 56ms 0ms 20 988 55ms 0ms 21 988 55ms 0ms 22 988 56ms 0ms 23 988 56ms 0ms [ User: pharmisight - Total duration: 1s442ms - Times executed: 24940 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s442ms - Times executed: 24940 ]
-
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 = '3464' 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 = '56' 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 = '54' ORDER BY itemcodes0_.code ASC;
Date: 2018-07-31 23:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 22:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 22:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 23,171 4s774ms 0ms 3ms 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 31 00 62 11ms 0ms 01 62 11ms 0ms 02 62 12ms 0ms 03 62 11ms 0ms 04 62 11ms 0ms 05 61 11ms 0ms 06 3,048 622ms 0ms 07 3,196 651ms 0ms 08 3,433 707ms 0ms 09 2,137 443ms 0ms 10 2,495 503ms 0ms 11 2,502 515ms 0ms 12 1,990 414ms 0ms 13 1,420 299ms 0ms 14 594 124ms 0ms 15 990 218ms 0ms 16 172 36ms 0ms 17 462 95ms 0ms 18 62 11ms 0ms 19 52 11ms 0ms 20 61 12ms 0ms 21 62 11ms 0ms 22 62 12ms 0ms 23 62 11ms 0ms [ User: symmetricds - Total duration: 4s774ms - Times executed: 23171 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 4s774ms - Times executed: 23171 ]
-
UPDATE sym_outgoing_batch SET STATUS = 'LD', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '8054', extract_count = '1', sent_count = '1', load_count = '1', data_event_count = '10', reload_event_count = '0', insert_event_count = '3', update_event_count = '7', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '50', 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-31 08:46:39.013' WHERE batch_id = '7807809' AND node_id = '2';
-
UPDATE sym_outgoing_batch SET STATUS = 'SE', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '9491', extract_count = '1', sent_count = '1', load_count = '0', data_event_count = '16', reload_event_count = '0', insert_event_count = '6', update_event_count = '10', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '21', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '27', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-31 10:42:41.709' WHERE batch_id = '7808710' AND node_id = '0';
-
UPDATE sym_outgoing_batch SET STATUS = 'OK', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '12196', extract_count = '1', sent_count = '1', load_count = '1', data_event_count = '18', reload_event_count = '0', insert_event_count = '5', update_event_count = '13', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '28', network_millis = '2', filter_millis = '1', load_millis = '33', extract_millis = '13', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-31 08:39:39.29' WHERE batch_id = '7807724' AND node_id = '0';
Date: 2018-07-31 08:46:39 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:42:41 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:39:39 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 22,054 614ms 0ms 0ms 0ms SELECT nextval ('');Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 31 06 9,293 248ms 0ms 07 2,094 59ms 0ms 08 2,921 82ms 0ms 09 1,532 42ms 0ms 10 2,041 55ms 0ms 11 1,565 43ms 0ms 12 1,078 30ms 0ms 13 767 22ms 0ms 14 138 5ms 0ms 15 289 11ms 0ms 16 130 4ms 0ms 17 166 7ms 0ms 20 40 0ms 0ms [ User: pharmisight - Total duration: 614ms - Times executed: 22054 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 614ms - Times executed: 22054 ]
-
SELECT nextval ('order_rounds_sequence');
-
SELECT nextval ('order_line_prescriptions_sequence');
-
SELECT nextval ('query_status_activities_sequence');
Date: 2018-07-31 06:03:29 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:07:44 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 17:06:17 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 16,148 776ms 0ms 1ms 0ms SELECT node_id, node_password, registration_enabled, registration_time, initial_load_enabled, initial_load_time, created_at_node_id, rev_initial_load_enabled, rev_initial_load_time, initial_load_id, initial_load_create_by, rev_initial_load_id, rev_initial_load_create_by FROM sym_node_security WHERE node_id = '';Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 31 00 684 34ms 0ms 01 672 32ms 0ms 02 672 32ms 0ms 03 671 32ms 0ms 04 672 31ms 0ms 05 671 32ms 0ms 06 641 29ms 0ms 07 668 30ms 0ms 08 672 30ms 0ms 09 679 32ms 0ms 10 672 31ms 0ms 11 706 33ms 0ms 12 680 32ms 0ms 13 671 31ms 0ms 14 673 33ms 0ms 15 673 32ms 0ms 16 672 32ms 0ms 17 671 32ms 0ms 18 700 34ms 0ms 19 671 32ms 0ms 20 647 31ms 0ms 21 672 33ms 0ms 22 672 33ms 0ms 23 666 31ms 0ms [ User: symmetricds - Total duration: 776ms - Times executed: 16148 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 776ms - Times executed: 16148 ]
-
SELECT node_id, node_password, registration_enabled, registration_time, initial_load_enabled, initial_load_time, created_at_node_id, rev_initial_load_enabled, rev_initial_load_time, initial_load_id, initial_load_create_by, rev_initial_load_id, rev_initial_load_create_by FROM sym_node_security WHERE node_id = '3';
-
SELECT node_id, node_password, registration_enabled, registration_time, initial_load_enabled, initial_load_time, created_at_node_id, rev_initial_load_enabled, rev_initial_load_time, initial_load_id, initial_load_create_by, rev_initial_load_id, rev_initial_load_create_by FROM sym_node_security WHERE node_id = '3';
-
SELECT node_id, node_password, registration_enabled, registration_time, initial_load_enabled, initial_load_time, created_at_node_id, rev_initial_load_enabled, rev_initial_load_time, initial_load_id, initial_load_create_by, rev_initial_load_id, rev_initial_load_create_by FROM sym_node_security WHERE node_id = '3';
Date: 2018-07-31 21:33:57 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 02:34:29 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 03:54:31 Duration: 0ms Database: pharmisight User: symmetricds 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 1s313ms 8s889ms 3s902ms 3 11s706ms DELETE FROM alert_confirmations WHERE alert_confirmation_id = '';Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 31 09 3 11s706ms 3s902ms [ User: pharmisight - Total duration: 11s706ms - Times executed: 3 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s706ms - Times executed: 3 ]
-
DELETE FROM ALERT_CONFIRMATIONS WHERE ALERT_CONFIRMATION_ID = '200515792';
-
DELETE FROM ALERT_CONFIRMATIONS WHERE ALERT_CONFIRMATION_ID = '200515802';
-
DELETE FROM ALERT_CONFIRMATIONS WHERE ALERT_CONFIRMATION_ID = '200516082';
Date: 2018-07-31 09:29:56 Duration: 8s889ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 09:31:56 Duration: 1s503ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 09:32:40 Duration: 1s313ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 0ms 4s395ms 362ms 72 26s117ms 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 #2
Day Hour Count Duration Avg duration Jul 31 06 63 26s61ms 413ms 12 1 1ms 1ms 13 2 3ms 1ms 17 6 50ms 8ms [ User: pharmisight - Total duration: 26s117ms - Times executed: 72 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s117ms - Times executed: 72 ]
-
UPDATE FLOW_REPORTS SET routeNumber = '9031432', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:31.315', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:00.436', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417052';
-
UPDATE FLOW_REPORTS SET routeNumber = '9031432', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:31.315', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:00.436', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417052';
-
UPDATE FLOW_REPORTS SET routeNumber = '9031431', roundDeliveryDate = '2018-08-01', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-31 06:13:29.909', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-31 12:00:11.864', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200417032';
Date: 2018-07-31 06:19:19 Duration: 4s395ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:19:15 Duration: 3s253ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:19:08 Duration: 2s505ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 47ms 132ms 93ms 162 15s104ms SELECT epscheckli0_.eps_check_id AS eps_chec9_5_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_1_, epscheckli0_.orderlineid AS orderlin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.issnomedmismatch AS issnomed6_6_1_, epscheckli0_.isorderqtymismatch AS isorderq7_6_1_, epscheckli0_.ishit AS ishit8_6_1_ FROM eps_check_lines epscheckli0_ WHERE epscheckli0_.eps_check_id = '' ORDER BY epscheckli0_.description ASC;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 31 06 52 4s793ms 92ms 07 48 4s461ms 92ms 08 60 5s673ms 94ms 11 1 73ms 73ms 13 1 102ms 102ms [ User: pharmisight - Total duration: 15s104ms - Times executed: 162 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s104ms - Times executed: 162 ]
-
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 = '200891502' 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 = '200890642' 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 = '200893232' ORDER BY epscheckli0_.description ASC;
Date: 2018-07-31 08:33:38 Duration: 132ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 07:01:10 Duration: 129ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:22:26 Duration: 119ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 21ms 73ms 42ms 1,053 45s78ms 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 31 06 240 9s901ms 41ms 07 102 4s49ms 39ms 08 22 970ms 44ms 09 104 4s547ms 43ms 10 198 8s526ms 43ms 11 175 7s671ms 43ms 12 156 6s944ms 44ms 13 12 515ms 42ms 14 2 86ms 43ms 15 12 524ms 43ms 16 14 626ms 44ms 17 16 714ms 44ms [ User: pharmisight - Total duration: 45s78ms - Times executed: 1053 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 45s78ms - Times executed: 1053 ]
-
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-31 00:00:00' AND this_.CREATED < '2018-07-31 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-31 00:00:00' AND this_.CREATED < '2018-07-31 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-31 00:00:00' AND this_.CREATED < '2018-07-31 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-31 06:04:25 Duration: 73ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 12:58:25 Duration: 68ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:57:40 Duration: 67ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 19ms 88ms 39ms 3,297 2m11s SELECT count (*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> '';Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 31 06 382 15s667ms 41ms 07 363 13s229ms 36ms 08 885 35s925ms 40ms 09 375 13s179ms 35ms 10 309 12s604ms 40ms 11 371 15s286ms 41ms 12 274 11s117ms 40ms 13 127 5s306ms 41ms 14 33 1s359ms 41ms 15 70 2s921ms 41ms 16 23 942ms 40ms 17 85 3s533ms 41ms [ User: pharmisight - Total duration: 2m11s - Times executed: 3297 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2m11s - Times executed: 3297 ]
-
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-31 08:17:39 Duration: 88ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:23:19 Duration: 79ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:23:32 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 0ms 701ms 35ms 1,867 1m5s SELECT this_.order_line_id AS order_li1_22_0_, this_.routenumber AS routenum2_22_0_, this_.sapordernumber AS saporder3_22_0_, this_.ordernumber AS ordernum4_22_0_, this_.answerordernumber AS answeror5_22_0_, this_.partcode AS partcode6_22_0_, this_.partdescription AS partdesc7_22_0_, this_.patientname AS patientn8_22_0_, this_.firstname AS firstnam9_22_0_, this_.middlename AS middlen10_22_0_, this_.lastname AS lastnam11_22_0_, this_.patientdateofbirth AS patient12_22_0_, this_.patientpostcode AS patient13_22_0_, this_.patientpostcodeprefix AS patient14_22_0_, this_.orderqty AS orderqt15_22_0_, this_.allocqty AS allocqt16_22_0_, this_.shipqty AS shipqty17_22_0_, this_.adjustedqty AS adjuste18_22_0_, this_.scannedqty AS scanned19_22_0_, this_.assignedqty AS assigne20_22_0_, this_.checkedqty AS checked21_22_0_, this_.backorderqty AS backord22_22_0_, this_.cancelqty AS cancelq23_22_0_, this_.reducedqty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliverydate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapcustomerid AS sapcust29_22_0_, this_.billtotype AS billtot30_22_0_, this_.barcodedate AS barcode31_22_0_, this_.barcodebatch AS barcode32_22_0_, this_.patientid AS patient33_22_0_, this_.isadded AS isadded34_22_0_, this_.isnotwithinage AS isnotwi35_22_0_, this_.isunderage AS isunder36_22_0_, this_.agecheck AS agechec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.ispaperworkproblem AS ispaper40_22_0_, this_.paperworkresolution AS paperwo41_22_0_, this_.pickerid AS pickeri42_22_0_, this_.specialcare AS special43_22_0_, this_.paperworkenquirystarted AS paperwo44_22_0_, this_.paperworkenquiryfinished AS paperwo45_22_0_, this_.paperworkenquiryresponse AS paperwo46_22_0_, this_.isnewproduct AS isnewpr47_22_0_, this_.extraprocedure AS extrapr48_22_0_, this_.overaverageqtymax AS overave49_22_0_, this_.overaverageqtyresolution AS overave50_22_0_, this_.createuser AS createu51_22_0_, this_.patientalert AS patient52_22_0_, this_.itemalert AS itemale53_22_0_, this_.checkerid AS checker54_22_0_, this_.reductionsummary AS reducti55_22_0_, this_.ismetabolic AS ismetab56_22_0_, this_.rxstatus AS rxstatu57_22_0_, this_.lastregupdateusertype AS lastreg58_22_0_, this_.lastregupdateusername AS lastreg59_22_0_, this_.lastregupdatedate AS lastreg60_22_0_, this_.sapplannedshipdate AS sapplan61_22_0_, this_.sapplanneddeliverydate AS sapplan62_22_0_, this_.requestedsapquantity AS request63_22_0_, this_.orderquantity AS orderqu64_22_0_, this_.reglinecreatedusertype AS regline65_22_0_, this_.reglinecreatedusername AS regline66_22_0_, this_.reglinecreateddate AS regline67_22_0_, this_.audited AS audited68_22_0_, this_.ismetabolicpatient AS ismetab69_22_0_, this_.addedcase AS addedca70_22_0_, this_.ordertype AS orderty71_22_0_, this_.created AS created72_22_0_, this_.updated AS updated73_22_0_, this_.rxcheckby AS rxcheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertconfirmation AS alertco77_22_0_, this_.homewardaction AS homewar78_22_0_ FROM order_lines this_ WHERE this_.patientid = '';Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 31 06 1,839 1m5s 35ms 07 9 15ms 1ms 08 4 8ms 2ms 13 4 14ms 3ms 15 3 1ms 0ms 17 8 10ms 1ms [ User: pharmisight - Total duration: 1m5s - Times executed: 1867 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m5s - Times executed: 1867 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '637015';
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '180163';
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '72978300';
Date: 2018-07-31 06:09:09 Duration: 701ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:11:11 Duration: 531ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:09:01 Duration: 526ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 13ms 55ms 27ms 967 26s807ms 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 #7
Day Hour Count Duration Avg duration Jul 31 06 291 7s677ms 26ms 07 2 70ms 35ms 08 26 773ms 29ms 09 95 2s700ms 28ms 10 167 4s738ms 28ms 11 158 4s367ms 27ms 12 158 4s468ms 28ms 13 17 495ms 29ms 15 12 340ms 28ms 16 17 487ms 28ms 17 24 687ms 28ms [ User: pharmisight - Total duration: 26s807ms - Times executed: 967 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s807ms - Times executed: 967 ]
-
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-31 00:00:00' AND this_.CREATED < '2018-07-31 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-31 00:00:00' AND this_.CREATED < '2018-07-31 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-31 00:00:00' AND this_.CREATED < '2018-07-31 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-31 10:41:00 Duration: 55ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:23:19 Duration: 55ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:20:00 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 5ms 91ms 14ms 3,298 47s416ms 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 #8
Day Hour Count Duration Avg duration Jul 31 06 382 5s628ms 14ms 07 363 5s308ms 14ms 08 885 12s518ms 14ms 09 375 4s678ms 12ms 10 309 4s501ms 14ms 11 373 5s629ms 15ms 12 273 4s93ms 14ms 13 127 1s820ms 14ms 14 33 503ms 15ms 15 70 1s81ms 15ms 16 23 341ms 14ms 17 85 1s311ms 15ms [ User: pharmisight - Total duration: 47s416ms - Times executed: 3298 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 47s416ms - Times executed: 3298 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-08-01' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-08-01' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-31' 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-31 11:46:57 Duration: 91ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 12:01:41 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:13:24 Duration: 53ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 0ms 29ms 12ms 997 12s403ms UPDATE order_lines SET routenumber = '', sapordernumber = '', ordernumber = '', answerordernumber = NULL, partcode = '', partdescription = '', patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', patientpostcodeprefix = '', orderqty = '', allocqty = '', shipqty = NULL, adjustedqty = '', scannedqty = '', assignedqty = '', checkedqty = '', backorderqty = '', cancelqty = '', reducedqty = '', STATUS = '', reason = NULL, deliverydate = '', customer = '', sapcustomerid = '', billtotype = '', barcodedate = NULL, barcodebatch = NULL, patientid = '', isadded = NULL, isnotwithinage = NULL, isunderage = '', agecheck = '', expired = NULL, paperwork = '', ispaperworkproblem = '', paperworkresolution = NULL, pickerid = '', specialcare = '', paperworkenquirystarted = NULL, paperworkenquiryfinished = NULL, paperworkenquiryresponse = NULL, isnewproduct = NULL, extraprocedure = NULL, overaverageqtymax = NULL, overaverageqtyresolution = NULL, createuser = '', patientalert = NULL, itemalert = NULL, checkerid = '', reductionsummary = NULL, ismetabolic = NULL, rxstatus = '', lastregupdateusertype = '', lastregupdateusername = '', lastregupdatedate = '', sapplannedshipdate = '', sapplanneddeliverydate = '', requestedsapquantity = '', orderquantity = '', reglinecreatedusertype = '', reglinecreatedusername = '', reglinecreateddate = '', audited = NULL, ismetabolicpatient = NULL, addedcase = NULL, ordertype = NULL, created = '', updated = NULL, rxcheckby = '', note = '', item = '', alertconfirmation = NULL, homewardaction = NULL WHERE order_line_id = '';Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 31 06 164 2s55ms 12ms 07 325 3s966ms 12ms 08 360 4s563ms 12ms 09 130 1s605ms 12ms 11 1 13ms 13ms 14 5 62ms 12ms 15 12 136ms 11ms [ User: pharmisight - Total duration: 12s403ms - Times executed: 997 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s403ms - Times executed: 997 ]
-
UPDATE ORDER_LINES SET routeNumber = '9031172', sapOrderNumber = '7797802', orderNumber = '5004306724', answerOrderNumber = NULL, partCode = '88543', partDescription = 'Two-Cal 1000ml', patientName = 'Lewis Ryan', firstName = 'Lewis', middleName = NULL, lastName = 'Ryan', patientDateOfBirth = '2001-02-22', patientPostcode = 'WA5 3HS', patientPostcodePrefix = 'WA', orderQty = '24', allocQty = '24', shipQty = NULL, adjustedQty = '24', scannedQty = '24', assignedQty = '0', checkedQty = '24', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-08-01', customer = 'Brenda Melville', sapCustomerId = '685050995', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '1559105', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'eRx Failed', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '73301161', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Brenda Melville', patientAlert = NULL, itemAlert = NULL, checkerId = '4060', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'ryan.white@nutricia.connections', lastRegUpdateDate = '2018-05-29 14:30:20', sapPlannedShipDate = '2018-07-31', sapPlannedDeliveryDate = '2018-08-01', requestedSAPQuantity = '24', orderQuantity = '24', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 17:08:26', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-31 06:04:08.18', UPDATED = NULL, rxCheckBy = '4060', note = 'Paul Gray-Scott', item = '3070', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214660912';
-
UPDATE ORDER_LINES SET routeNumber = '9031173', sapOrderNumber = '7796140', orderNumber = '5004302833', answerOrderNumber = NULL, partCode = '56871', partDescription = 'Protifar Powder 225g', patientName = 'Garry Heaton', firstName = 'Garry', middleName = NULL, lastName = 'Heaton', patientDateOfBirth = '1962-03-18', patientPostcode = 'BL8 3AS', patientPostcodePrefix = 'BL', orderQty = '5', allocQty = '5', shipQty = NULL, adjustedQty = '5', scannedQty = '5', assignedQty = '0', checkedQty = '5', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-08-01', customer = 'Brenda Melville', sapCustomerId = '685054609', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '35245560', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'eRx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001212', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Sarah Rushton', patientAlert = NULL, itemAlert = NULL, checkerId = '4060', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinators', lastRegUpdateUserName = 'rebecca.gruncell@nutricia.connections', lastRegUpdateDate = '2017-03-21 14:31:39', sapPlannedShipDate = '2018-07-31', sapPlannedDeliveryDate = '2018-08-01', requestedSAPQuantity = '5', orderQuantity = '5', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 16:08:39', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-31 06:04:08.094', UPDATED = NULL, rxCheckBy = '100', note = 'EP auto check', item = '3299', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214663932';
-
UPDATE ORDER_LINES SET routeNumber = '9031166', sapOrderNumber = '7796016', orderNumber = '5004305371', answerOrderNumber = NULL, partCode = '42675', partDescription = 'Nutrison Energy MF 1000ml', patientName = 'Amanda Sweeting', firstName = 'Amanda', middleName = NULL, lastName = 'Sweeting', patientDateOfBirth = '1959-03-28', patientPostcode = 'DN14 5TZ', patientPostcodePrefix = 'DN', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '28', scannedQty = '28', assignedQty = '0', checkedQty = '28', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-08-01', customer = 'Gill Feltham', sapCustomerId = '685182588', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200392102', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '73301161', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Brenda Melville', patientAlert = NULL, itemAlert = NULL, checkerId = '4062', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'beverley.smith@nutricia.connections', lastRegUpdateDate = '2018-06-12 10:03:35', sapPlannedShipDate = '2018-07-31', sapPlannedDeliveryDate = '2018-08-01', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'michelle.norton@nutricia.connections', regLineCreatedDate = '2018-04-04 15:16:39', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-31 06:04:08.166', UPDATED = NULL, rxCheckBy = '4060', note = 'Paul Gray-Scott', item = '32965083', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214663302';
Date: 2018-07-31 07:29:01 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:13:29 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:51:56 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 6ms 89ms 9ms 1,017 9s601ms 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 #10
Day Hour Count Duration Avg duration Jul 31 06 997 9s391ms 9ms 13 6 66ms 11ms 15 4 51ms 12ms 17 10 91ms 9ms [ User: pharmisight - Total duration: 9s601ms - Times executed: 1017 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s601ms - Times executed: 1017 ]
-
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 ('9031415', '7796071', '5004300061', NULL, '132635', 'Nutrini Peptisorb 500ml', 'Mikaela Gatmaitan', 'Mikaela', NULL, 'Gatmaitan', '2011-03-21', 'PO19 6XN', 'PO', '30', '30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-08-01', 'Simon Church', '685079520', 'Pharmacy (CURO)', NULL, NULL, '110335310', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Michael Gatmaitan', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS System Administrator', 'lyndsay.mizen@nutricia.connections', '2018-05-08 13:26:04', '2018-07-31', '2018-08-01', '30', '30', 'PMS System Administrator', 'lyndsay.mizen@nutricia.connections', '2018-04-27 12:15:14', NULL, NULL, NULL, NULL, '2018-07-31 06:04:08.107', NULL, NULL, NULL, '3264', NULL, NULL, '214657712');
-
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 ('9031169', '7797006', '5004299430', NULL, '71951', 'Calogen Extra Shot Neutral (6 x 40ml)', 'Johnathon Chia', 'Johnathon', NULL, 'Chia', '1996-10-01', 'S35 3HY', 'S', '19', '19', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-08-01', 'Ryan White', '685152050', 'Pharmacy (CURO)', NULL, NULL, '200182550', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Jack Pady', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'beverley.smith@nutricia.connections', '2018-07-11 11:18:42', '2018-07-31', '2018-08-01', '19', '19', 'PMS HCP User Login', 'gary.simpson@nutricia.connections', '2018-07-09 10:54:21', NULL, NULL, NULL, NULL, '2018-07-31 06:04:08.267', NULL, NULL, NULL, '28', NULL, NULL, '214662932');
-
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 ('9031110', '7796178', '5004298432', NULL, '40821', 'Tentrini Energy MF Pack 500ml ', 'Bethany Philip', 'Bethany', NULL, 'Philip', '2010-05-23', 'EH22 2ET', 'EH', '56', '56', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-08-02', 'Samra Chergui', '685057448', 'Pharmacy (CURO)', NULL, NULL, '755411', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Margaret Conlin', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'samra.chergui@nutricia.connections', '2017-08-15 12:10:17', '2018-08-01', '2018-08-02', '56', '56', 'PMS HCP User', 'hannah.travis@nutricia.connections', '2017-08-14 10:40:58', NULL, NULL, NULL, NULL, '2018-07-31 06:03:29.474', NULL, NULL, NULL, '1382', NULL, NULL, '214652042');
Date: 2018-07-31 06:04:47 Duration: 89ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:05:59 Duration: 62ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:03:30 Duration: 38ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 0ms 65ms 4ms 4,183 20s882ms SELECT this_.order_id AS order_id1_20_0_, this_.sapordernumber AS saporder2_20_0_, this_.answerordernumber AS answeror3_20_0_, this_.ordernumber AS ordernum4_20_0_, this_.routenumber AS routenum5_20_0_, this_.billtotype AS billtoty6_20_0_, this_.patientname AS patientn7_20_0_, this_.firstname AS firstnam8_20_0_, this_.middlename AS middlena9_20_0_, this_.lastname AS lastnam10_20_0_, this_.patientdateofbirth AS patient11_20_0_, this_.patientpostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapcustomerid AS sapcust14_20_0_, this_.status AS status15_20_0_, this_.patientid AS patient16_20_0_, this_.isnotwithinage AS isnotwi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliverybarcode AS deliver20_20_0_, this_.deliverydate AS deliver21_20_0_, this_.rxstatus AS rxstatu22_20_0_, this_.createuser AS createu23_20_0_, this_.subordertype AS suborde24_20_0_, this_.sapcontractid AS sapcont25_20_0_, this_.salesforceordernumber AS salesfo26_20_0_, this_.patienttype AS patient27_20_0_, this_.ordertype AS orderty28_20_0_, this_.orderstatus AS orderst29_20_0_, this_.nhsnumber AS nhsnumb30_20_0_, this_.individuallabelling AS individ31_20_0_, this_.orderid AS orderid32_20_0_, this_.clusterlead AS cluster33_20_0_, this_.clustergroup AS cluster34_20_0_, this_.accountid AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionby AS reducti37_20_0_, this_.alertconfirmation AS alertco38_20_0_, this_.created AS created39_20_0_, this_.updated AS updated40_20_0_, this_.note AS note41_20_0_ FROM orders this_ WHERE this_.status = '' AND this_.deliverydate = '' ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 31 06 561 2s908ms 5ms 07 258 1s288ms 4ms 08 870 4s413ms 5ms 09 345 1s756ms 5ms 10 462 2s333ms 5ms 11 711 3s378ms 4ms 12 445 2s204ms 4ms 13 219 1s41ms 4ms 14 66 343ms 5ms 15 111 541ms 4ms 16 18 89ms 4ms 17 117 582ms 4ms [ User: pharmisight - Total duration: 20s882ms - Times executed: 4183 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s882ms - Times executed: 4183 ]
-
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-31' 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-08-01' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-08-01' ORDER BY this_.deliveryDate ASC;
Date: 2018-07-31 08:51:55 Duration: 65ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 12:57:50 Duration: 64ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 11:43:43 Duration: 54ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 1ms 18ms 3ms 13,188 47s710ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 31 06 1,528 5s582ms 3ms 07 1,452 4s752ms 3ms 08 3,540 12s921ms 3ms 09 1,500 4s741ms 3ms 10 1,236 4s687ms 3ms 11 1,484 5s732ms 3ms 12 1,096 4s96ms 3ms 13 508 1s945ms 3ms 14 132 505ms 3ms 15 280 1s78ms 3ms 16 92 348ms 3ms 17 340 1s318ms 3ms [ User: pharmisight - Total duration: 47s710ms - Times executed: 13188 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 47s710ms - Times executed: 13188 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus = '4';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus = '5';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus = '2';
Date: 2018-07-31 06:51:39 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:31:26 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 13:01:13 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 0ms 25ms 3ms 2,941 10s455ms 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 31 06 1,667 3s637ms 2ms 07 380 1s765ms 4ms 08 309 1s579ms 5ms 09 103 549ms 5ms 10 147 839ms 5ms 11 133 724ms 5ms 12 82 543ms 6ms 13 63 374ms 5ms 14 10 91ms 9ms 15 29 228ms 7ms 16 3 24ms 8ms 17 15 97ms 6ms [ User: pharmisight - Total duration: 10s455ms - Times executed: 2941 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s455ms - Times executed: 2941 ]
-
UPDATE ORDERS SET sapOrderNumber = '7789558', answerOrderNumber = NULL, orderNumber = '5004298673', routeNumber = '9031176', billToType = NULL, patientName = 'Mariya Abdullah', firstName = 'Mariya', middleName = NULL, lastName = 'Abdullah', patientDateOfBirth = '2017-08-23', patientPostcode = 'EH16 6DQ', customer = NULL, sapCustomerId = '685178434', STATUS = 'Checked', patientId = '200374722', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-08-01', rxStatus = '1', createUser = 'Laura Doughty', subOrderType = 'Standard', sapContractId = '650105973', salesforceOrderNumber = '11082799', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '2308178124', individualLabelling = 'f', orderId = 'a4r1p0000067ekRAAQ', clusterLead = 'Samra Chergui', clusterGroup = 'NHS LOTHIAN', accountId = '110251', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-31 06:04:08.311', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208353152';
-
UPDATE ORDERS SET sapOrderNumber = '7795593', answerOrderNumber = NULL, orderNumber = '5004299186', routeNumber = '9031431', billToType = NULL, patientName = 'Leah Stone', firstName = 'Leah', middleName = NULL, lastName = 'Stone', patientDateOfBirth = '2005-03-06', patientPostcode = 'BS4 4UA', customer = NULL, sapCustomerId = '685056808', STATUS = 'Checked', patientId = '74153', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-08-01', rxStatus = '4', createUser = 'Jennifer Edmonds', subOrderType = 'Change of Regimen', sapContractId = '650105940', salesforceOrderNumber = '11082120', patientType = 'Homeward', orderType = 'Ad Hoc', orderStatus = 'Confirmed', NHSnumber = '7027852497', individualLabelling = 'f', orderId = 'a4r1p0000067dsFAAQ', clusterLead = 'Jennifer Edmonds', clusterGroup = 'UNIVERSITY HOSPITALS BRISTOL NHSFT', accountId = '119264', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-31 06:04:08.308', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208353022';
-
UPDATE ORDERS SET sapOrderNumber = '7795516', answerOrderNumber = NULL, orderNumber = '5004299183', routeNumber = '9031440', billToType = NULL, patientName = 'Leyla Bibi', firstName = 'Leyla', middleName = NULL, lastName = 'Bibi', patientDateOfBirth = '2013-08-09', patientPostcode = 'B8 2UL', customer = NULL, sapCustomerId = '685129941', STATUS = 'Checked', patientId = '200051070', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-08-01', rxStatus = '1', createUser = 'Laura Doughty', subOrderType = 'Change of Regimen', sapContractId = '650105917', salesforceOrderNumber = '11081089', patientType = 'Homeward', orderType = 'Ad Hoc', orderStatus = 'Confirmed', NHSnumber = '6530882448', individualLabelling = 'f', orderId = 'a4r1p0000067cXpAAI', clusterLead = 'Johnathan Baysting', clusterGroup = 'BIRMINGHAM COMMUNITY HCARE NHST', accountId = '869134', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-31 06:04:08.307', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208356112';
Date: 2018-07-31 06:57:48 Duration: 25ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 12:36:27 Duration: 22ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 15:24:56 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 1ms 15ms 3ms 3,297 11s479ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus IS NULL;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 31 06 382 1s345ms 3ms 07 363 1s150ms 3ms 08 885 3s118ms 3ms 09 375 1s139ms 3ms 10 309 1s126ms 3ms 11 371 1s375ms 3ms 12 274 985ms 3ms 13 127 464ms 3ms 14 33 119ms 3ms 15 70 255ms 3ms 16 23 82ms 3ms 17 85 314ms 3ms [ User: pharmisight - Total duration: 11s479ms - Times executed: 3297 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s479ms - Times executed: 3297 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus IS NULL;
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-08-01' AND this_.rxStatus IS NULL;
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus IS NULL;
Date: 2018-07-31 11:21:52 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:26:46 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:42:11 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 0ms 34ms 1ms 73,357 1m22s SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 31 06 19,777 20s548ms 1ms 07 257 324ms 1ms 08 2,356 2s742ms 1ms 09 6,974 8s97ms 1ms 10 16,743 19s172ms 1ms 11 11,553 13s350ms 1ms 12 9,858 11s863ms 1ms 13 1,374 1s636ms 1ms 14 192 225ms 1ms 15 1,300 1s545ms 1ms 16 1,130 1s356ms 1ms 17 1,698 1s908ms 1ms 20 145 128ms 0ms [ User: pharmisight - Total duration: 1m22s - Times executed: 73357 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m22s - Times executed: 73357 ]
-
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 = '200452662' 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 = '200452662' 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 = '200452662' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-07-31 12:26:37 Duration: 34ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 09:20:49 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:46:10 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 0ms 9ms 0ms 12,586 10s423ms UPDATE order_line_activities SET order_line_id = '' WHERE order_line_activity_id = '';Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 31 06 1,095 915ms 0ms 07 1,791 1s513ms 0ms 08 2,473 1s981ms 0ms 09 1,469 1s147ms 0ms 10 1,987 1s599ms 0ms 11 1,498 1s174ms 0ms 12 1,039 891ms 0ms 13 714 586ms 0ms 14 133 172ms 1ms 15 261 299ms 1ms 16 21 38ms 1ms 17 105 103ms 0ms [ User: pharmisight - Total duration: 10s423ms - Times executed: 12586 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s423ms - Times executed: 12586 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214664302' WHERE ORDER_LINE_ACTIVITY_ID = '285580942';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214651922' WHERE ORDER_LINE_ACTIVITY_ID = '285501562';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214652232' WHERE ORDER_LINE_ACTIVITY_ID = '285501622';
Date: 2018-07-31 10:42:35 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:18:49 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:19:45 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 0ms 17ms 0ms 81,755 35s107ms 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 31 06 20,471 8s517ms 0ms 07 1,174 867ms 0ms 08 4,207 1s952ms 0ms 09 8,166 3s544ms 0ms 10 18,066 7s626ms 0ms 11 12,845 5s385ms 0ms 12 10,437 4s539ms 0ms 13 1,705 737ms 0ms 14 228 96ms 0ms 15 1,358 573ms 0ms 16 1,136 492ms 0ms 17 1,867 751ms 0ms 20 95 22ms 0ms [ User: pharmisight - Total duration: 35s107ms - Times executed: 81755 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 35s107ms - Times executed: 81755 ]
-
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 = '200452792' 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 = '200452702' 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 = '200452692' ORDER BY orders0_.order_id ASC;
Date: 2018-07-31 06:18:31 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:23:19 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:23:19 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 3ms 0ms 23,171 4s774ms 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 31 00 62 11ms 0ms 01 62 11ms 0ms 02 62 12ms 0ms 03 62 11ms 0ms 04 62 11ms 0ms 05 61 11ms 0ms 06 3,048 622ms 0ms 07 3,196 651ms 0ms 08 3,433 707ms 0ms 09 2,137 443ms 0ms 10 2,495 503ms 0ms 11 2,502 515ms 0ms 12 1,990 414ms 0ms 13 1,420 299ms 0ms 14 594 124ms 0ms 15 990 218ms 0ms 16 172 36ms 0ms 17 462 95ms 0ms 18 62 11ms 0ms 19 52 11ms 0ms 20 61 12ms 0ms 21 62 11ms 0ms 22 62 12ms 0ms 23 62 11ms 0ms [ User: symmetricds - Total duration: 4s774ms - Times executed: 23171 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 4s774ms - Times executed: 23171 ]
-
UPDATE sym_outgoing_batch SET STATUS = 'LD', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '8054', extract_count = '1', sent_count = '1', load_count = '1', data_event_count = '10', reload_event_count = '0', insert_event_count = '3', update_event_count = '7', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '50', 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-31 08:46:39.013' WHERE batch_id = '7807809' AND node_id = '2';
-
UPDATE sym_outgoing_batch SET STATUS = 'SE', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '9491', extract_count = '1', sent_count = '1', load_count = '0', data_event_count = '16', reload_event_count = '0', insert_event_count = '6', update_event_count = '10', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '21', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '27', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-31 10:42:41.709' WHERE batch_id = '7808710' AND node_id = '0';
-
UPDATE sym_outgoing_batch SET STATUS = 'OK', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '12196', extract_count = '1', sent_count = '1', load_count = '1', data_event_count = '18', reload_event_count = '0', insert_event_count = '5', update_event_count = '13', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '28', network_millis = '2', filter_millis = '1', load_millis = '33', extract_millis = '13', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-31 08:39:39.29' WHERE batch_id = '7807724' AND node_id = '0';
Date: 2018-07-31 08:46:39 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 10:42:41 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 08:39:39 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 13ms 0ms 121,279 14s217ms 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 31 06 8,697 994ms 0ms 07 35,752 4s220ms 0ms 08 24,650 2s916ms 0ms 09 8,989 1s56ms 0ms 10 11,505 1s383ms 0ms 11 12,018 1s341ms 0ms 12 8,683 1s42ms 0ms 13 7,201 806ms 0ms 14 907 108ms 0ms 15 1,577 174ms 0ms 16 1,145 144ms 0ms 17 155 27ms 0ms [ User: pharmisight - Total duration: 14s217ms - Times executed: 121279 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s217ms - Times executed: 121279 ]
-
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 = '207648162' 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 = '207899032' 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 = '207951242' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-07-31 07:52:01 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 07:53:17 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 07:52:46 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 0ms 192ms 0ms 382,572 28s229ms COMMIT;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 31 00 12,833 453ms 0ms 01 12,238 315ms 0ms 02 12,241 310ms 0ms 03 12,219 307ms 0ms 04 12,239 325ms 0ms 05 12,231 323ms 0ms 06 25,728 3s678ms 0ms 07 23,704 3s96ms 0ms 08 29,044 3s587ms 0ms 09 20,024 2s281ms 0ms 10 21,613 2s441ms 0ms 11 22,431 2s640ms 0ms 12 19,407 1s880ms 0ms 13 16,868 1s418ms 0ms 14 13,779 713ms 0ms 15 15,111 1s91ms 0ms 16 12,774 446ms 0ms 17 13,832 666ms 0ms 18 13,475 652ms 0ms 19 12,209 316ms 0ms 20 11,938 308ms 0ms 21 12,242 321ms 0ms 22 12,241 327ms 0ms 23 12,151 325ms 0ms [ User: symmetricds - Total duration: 21s424ms - Times executed: 347169 ]
[ User: pharmisight - Total duration: 6s805ms - Times executed: 35403 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28s178ms - Times executed: 382533 ]
[ Application: [unknown] - Total duration: 50ms - Times executed: 39 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-07-31 09:29:55 Duration: 192ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 06:08:50 Duration: 93ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-31 09:29:55 Duration: 78ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
-
Events
Log levels
Key values
- 11,405,285 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 16 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 11 Max number of times the same event was reported
- 16 Total events found
Rank Times reported Error 1 11 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 31 06 10 12 1 - LOG: process 24316 still waiting for ShareLock on transaction 23481327 after 1000.157 ms
- LOG: process 15521 still waiting for ShareLock on transaction 23445610 after 1000.098 ms
- LOG: process 15521 still waiting for ShareLock on transaction 23445637 after 1000.224 ms
Detail: Process holding the lock: 24442. Wait queue: 24316.
Context: while updating tuple (1375,46) 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-31 12:34:19 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 16132. Wait queue: 15521.
Context: while updating tuple (1374,93) in relation "flow_reports"
Statement: update FLOW_REPORTS set routeNumber=$1, roundDeliveryDate=$2, distributionPoint=$3, fullyPicked=$4, outbaseRoutesCorrectlyGrouped=$5, causeOfDelay=$6, pharmacy100CheckTime=$7, linesHeldBack=$8, packTime100=$9, replenish=$10, comment=$11, pickDateTime=$12, failedTargetPickTime=$13, actualPaperworkCompleteTime=$14, changedPickDateTime=$15, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-07-31 06:17:51 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 15522. Wait queue: 15521.
Context: while updating tuple (1374,48) 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-31 06:18:12 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
2 4 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 31 06 4 - LOG: process 15753 still waiting for ExclusiveLock on tuple (1374,85) of relation 142522 of database 16389 after 1000.142 ms
- LOG: process 15636 still waiting for ExclusiveLock on tuple (1374,85) of relation 142522 of database 16389 after 1000.146 ms
- LOG: process 16130 still waiting for ExclusiveLock on tuple (1374,85) of relation 142522 of database 16389 after 1000.173 ms
Detail: Process holding the lock: 15522. Wait queue: 15753, 15636, 16130.
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-31 06:19:07 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 15522. Wait queue: 15753, 15636, 16130.
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-31 06:19:07 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 15522. Wait queue: 15753, 15636, 16130.
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-31 06:19:08 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 31 00 1 - ERROR: relation "gp_id" does not exist at character 20
Statement: select gpname from gp_id
Date: 2018-07-31 00:00:12 Database: pharmisight Application: PostgreSQL JDBC Driver User: symmetricds Remote: 10.10.10.1 Code: