-
Global information
- Generated on Tue Feb 26 00:00:26 2019
- Log file: /var/log/postgresql/postgresql-11-main.log.1
- Parsed 8,038,000 log entries in 24s
- Log start from 2019-02-25 00:00:00 to 2019-02-25 23:59:51
-
Overview
Global Stats
- 2,091 Number of unique normalized queries
- 2,446,523 Number of queries
- 11m31s Total query duration
- 2019-02-25 00:00:00 First query
- 2019-02-25 23:59:51 Last query
- 11,865 queries/s at 2019-02-25 06:11:02 Query peak
- 17 Number of events
- 2 Number of unique normalized events
- 15 Max number of times the same event was reported
- 0 Number of cancellation
- 120 Total number of automatic vacuums
- 245 Total number of automatic analyzes
- 3 Number temporary file
- 9.93 MiB Max size of temporary file
- 9.86 MiB Average size of temporary file
- 1,823 Total number of sessions
- 3 sessions at 2019-02-25 14:30:58 Session peak
- 10d8h25m50s Total duration of sessions
- 8m10s Average duration of sessions
- 1,342 Average queries per session
- 379ms Average queries duration per session
- 1,823 Total number of connections
- 7 connections/s at 2019-02-25 14:30:59 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 11,865 queries/s Query Peak
- 2019-02-25 06:11:02 Date
SELECT Traffic
Key values
- 1,798 queries/s Query Peak
- 2019-02-25 13:40:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 11,642 queries/s Query Peak
- 2019-02-25 06:11:02 Date
Queries duration
Key values
- 11m31s Total query duration
Prepared queries ratio
Key values
- 2.49 Ratio of bind vs prepare
- 133.33 % 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) Feb 25 00 47,495 0ms 20ms 0ms 46ms 58ms 765ms 01 45,238 0ms 18ms 0ms 50ms 62ms 137ms 02 45,149 0ms 13ms 0ms 44ms 52ms 114ms 03 45,288 0ms 13ms 0ms 45ms 61ms 155ms 04 45,395 0ms 16ms 0ms 42ms 61ms 166ms 05 45,039 0ms 13ms 0ms 48ms 58ms 133ms 06 293,823 0ms 3m6s 0ms 6s638ms 10s163ms 3m12s 07 246,455 0ms 635ms 0ms 891ms 968ms 1s325ms 08 197,621 0ms 183ms 0ms 1s271ms 1s633ms 2s266ms 09 159,204 0ms 565ms 0ms 1s268ms 1s651ms 2s6ms 10 165,244 0ms 211ms 0ms 1s534ms 1s684ms 1s815ms 11 122,226 0ms 1s384ms 0ms 1s366ms 1s663ms 3s707ms 12 193,189 0ms 184ms 0ms 2s287ms 2s564ms 3s433ms 13 149,880 0ms 4s84ms 0ms 1s881ms 2s399ms 10s889ms 14 121,716 0ms 186ms 0ms 1s646ms 1s933ms 2s351ms 15 125,145 0ms 4s354ms 0ms 1s736ms 2s163ms 9s261ms 16 64,262 0ms 64ms 0ms 774ms 1s437ms 2s812ms 17 51,017 0ms 62ms 0ms 97ms 289ms 380ms 18 51,038 0ms 59ms 0ms 70ms 80ms 411ms 19 44,808 0ms 55ms 0ms 54ms 57ms 290ms 20 47,280 0ms 68ms 0ms 53ms 160ms 549ms 21 45,018 0ms 55ms 0ms 43ms 57ms 262ms 22 47,130 0ms 55ms 0ms 44ms 255ms 373ms 23 47,863 0ms 57ms 0ms 45ms 264ms 390ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 25 00 16,551 0 0ms 22ms 28ms 392ms 01 14,777 0 0ms 20ms 30ms 69ms 02 14,772 0 0ms 19ms 28ms 39ms 03 14,811 0 0ms 22ms 28ms 54ms 04 14,882 0 0ms 19ms 28ms 52ms 05 14,704 0 0ms 22ms 31ms 38ms 06 118,206 0 0ms 1s116ms 3s109ms 4s992ms 07 107,931 0 0ms 471ms 600ms 646ms 08 94,672 0 0ms 792ms 989ms 1s543ms 09 79,503 0 0ms 623ms 1s108ms 1s561ms 10 87,634 0 0ms 948ms 1s387ms 1s574ms 11 65,329 0 0ms 888ms 1s290ms 1s695ms 12 117,865 0 0ms 1s234ms 2s47ms 2s883ms 13 85,138 0 0ms 975ms 1s729ms 2s512ms 14 58,238 0 0ms 694ms 1s515ms 1s796ms 15 64,449 0 0ms 1s45ms 1s441ms 1s806ms 16 26,944 0 0ms 32ms 370ms 1s929ms 17 19,840 0 0ms 29ms 57ms 229ms 18 17,703 0 0ms 19ms 35ms 130ms 19 14,715 0 0ms 20ms 34ms 99ms 20 17,168 0 0ms 27ms 37ms 151ms 21 14,669 0 0ms 19ms 29ms 90ms 22 15,134 0 0ms 20ms 31ms 119ms 23 15,347 0 0ms 22ms 28ms 111ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 25 00 112 88 83 0 0ms 1ms 6ms 9ms 01 118 69 83 0 0ms 1ms 6ms 8ms 02 107 64 81 0 0ms 1ms 6ms 7ms 03 116 75 83 0 0ms 1ms 7ms 8ms 04 131 88 83 0 0ms 1ms 6ms 10ms 05 96 60 82 0 0ms 1ms 4ms 7ms 06 64,859 20,056 378 0 2ms 241ms 1s68ms 3s153ms 07 17,929 7,990 404 0 0ms 122ms 150ms 237ms 08 19,575 7,196 421 0 0ms 118ms 138ms 172ms 09 13,884 5,466 363 0 0ms 84ms 101ms 156ms 10 13,532 5,127 332 0 0ms 82ms 117ms 172ms 11 6,486 2,763 253 0 0ms 47ms 54ms 117ms 12 13,330 5,032 313 0 0ms 69ms 98ms 155ms 13 9,357 5,175 267 0 0ms 61ms 90ms 204ms 14 9,424 4,668 275 0 0ms 61ms 92ms 168ms 15 6,401 3,033 302 0 1ms 54ms 73ms 215ms 16 1,960 1,855 128 0 0ms 7ms 26ms 199ms 17 688 205 109 0 0ms 1ms 6ms 65ms 18 325 1,085 107 0 0ms 7ms 10ms 27ms 19 106 69 108 0 0ms 1ms 3ms 7ms 20 130 98 135 0 0ms 1ms 2ms 7ms 21 256 104 110 0 0ms 1ms 5ms 12ms 22 1,484 423 107 0 0ms 1ms 7ms 67ms 23 1,822 514 110 0 0ms 1ms 7ms 72ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Feb 25 00 29,725 47,459 1.60 104.51% 01 28,590 45,202 1.58 108.25% 02 28,501 45,113 1.58 108.13% 03 28,709 45,252 1.58 108.51% 04 28,593 45,359 1.59 107.61% 05 28,526 45,003 1.58 108.63% 06 78,986 293,787 3.72 32.28% 07 96,919 243,834 2.52 52.54% 08 65,465 197,585 3.02 41.33% 09 53,641 159,127 2.97 42.28% 10 51,413 165,208 3.21 38.20% 11 44,006 122,190 2.78 45.90% 12 49,474 193,139 3.90 30.28% 13 44,753 149,844 3.35 36.50% 14 47,091 121,664 2.58 49.72% 15 46,221 125,109 2.71 47.33% 16 32,239 64,212 1.99 72.51% 17 28,849 50,981 1.77 89.50% 18 30,114 49,816 1.65 93.84% 19 28,461 44,772 1.57 108.60% 20 28,064 47,244 1.68 97.62% 21 27,850 44,982 1.62 105.55% 22 28,015 47,094 1.68 98.45% 23 28,093 47,827 1.70 96.42% Day Hour Count Average / Second Feb 25 00 89 0.02/s 01 87 0.02/s 02 86 0.02/s 03 89 0.02/s 04 87 0.02/s 05 88 0.02/s 06 81 0.02/s 07 86 0.02/s 08 64 0.02/s 09 65 0.02/s 10 57 0.02/s 11 57 0.02/s 12 61 0.02/s 13 58 0.02/s 14 82 0.02/s 15 69 0.02/s 16 69 0.02/s 17 79 0.02/s 18 79 0.02/s 19 79 0.02/s 20 81 0.02/s 21 78 0.02/s 22 78 0.02/s 23 74 0.02/s Day Hour Count Average Duration Feb 25 00 89 6m45s 01 87 6m53s 02 86 6m51s 03 89 6m48s 04 87 6m51s 05 88 6m51s 06 81 7m25s 07 86 6m46s 08 64 9m19s 09 65 9m21s 10 54 10m10s 11 57 10m40s 12 59 9m41s 13 63 13m34s 14 82 8m46s 15 69 9m57s 16 69 9m19s 17 79 8m26s 18 79 7m19s 19 79 7m54s 20 81 6m56s 21 78 8m5s 22 78 7m43s 23 74 8m22s -
Connections
Established Connections
Key values
- 7 connections Connection Peak
- 2019-02-25 14:30:59 Date
Connections per database
Key values
- pharmisight Main Database
- 1,823 connections Total
Connections per user
Key values
- pharmisight Main User
- 1,823 connections Total
-
Sessions
Simultaneous sessions
Key values
- 3 sessions Session Peak
- 2019-02-25 14:30:58 Date
Histogram of session times
Key values
- 1,133 60000-600000ms duration
Sessions per database
Key values
- pharmisight Main Database
- 1,823 sessions Total
Sessions per user
Key values
- pharmisight Main User
- 1,823 sessions Total
Sessions per host
Key values
- 10.10.10.1 Main Host
- 1,823 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 2,112 buffers Checkpoint Peak
- 2019-02-25 06:18:22 Date
- 149.941 seconds Highest write time
- 0.016 seconds Sync time
Checkpoints Wal files
Key values
- 3 files Wal files usage Peak
- 2019-02-25 06:13:22 Date
Checkpoints distance
Key values
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Feb 25 00 574 57.591s 0.018s 57.673s 01 697 69.9s 0.017s 69.976s 02 578 57.996s 0.026s 58.085s 03 665 66.725s 0.017s 66.805s 04 572 57.39s 0.02s 57.481s 05 491 49.264s 0.015s 49.34s 06 11,117 1,010.418s 0.051s 1,010.55s 07 8,553 872.368s 0.04s 872.47s 08 7,622 783.564s 0.042s 783.669s 09 5,966 597.913s 0.043s 598.02s 10 5,319 534.398s 0.027s 534.49s 11 3,335 333.933s 0.026s 334.025s 12 5,939 594.611s 0.03s 594.719s 13 5,397 541.269s 0.037s 541.365s 14 5,052 506.273s 0.02s 506.359s 15 3,685 369.04s 0.024s 369.129s 16 2,560 237.737s 0.016s 237.845s 17 660 66.224s 0.013s 66.297s 18 1,307 131.13s 0.012s 131.201s 19 530 53.195s 0.011s 53.273s 20 395 39.647s 0.016s 39.722s 21 423 42.444s 0.013s 42.503s 22 761 76.365s 0.01s 76.422s 23 679 68.133s 0.022s 68.221s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 25 00 0 0 0 307 0.002s 0s 01 0 0 0 271 0.003s 0s 02 0 0 0 287 0.008s 0s 03 0 0 0 329 0.002s 0s 04 0 0 0 280 0.008s 0s 05 0 0 1 293 0.002s 0s 06 0 1 8 1,290 0.002s 0s 07 0 0 4 1,181 0.002s 0s 08 0 0 4 1,275 0.001s 0s 09 0 0 2 1,167 0.004s 0s 10 0 0 2 1,069 0.002s 0s 11 0 0 1 970 0.002s 0s 12 0 0 3 1,184 0.002s 0s 13 0 0 2 1,149 0.002s 0s 14 0 0 2 1,117 0.002s 0s 15 0 0 1 1,012 0.002s 0s 16 0 0 1 419 0.002s 0.001s 17 0 0 0 261 0.002s 0s 18 0 0 1 251 0.002s 0s 19 0 0 0 205 0.002s 0s 20 0 0 0 232 0.005s 0s 21 0 0 0 223 0.002s 0s 22 0 0 0 260 0.002s 0s 23 0 0 0 237 0.014s 0s Day Hour Count Avg time (sec) Feb 25 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 Feb 25 00 149.27 kB 370.82 kB 01 212.55 kB 616.55 kB 02 160.08 kB 362.42 kB 03 190.67 kB 421.25 kB 04 168.42 kB 410.33 kB 05 140.00 kB 296.92 kB 06 15,068.70 kB 34,206.80 kB 07 5,119.00 kB 16,820.17 kB 08 4,666.42 kB 8,334.67 kB 09 3,400.55 kB 5,847.55 kB 10 3,050.17 kB 4,522.50 kB 11 1,668.67 kB 3,230.67 kB 12 3,078.33 kB 4,250.25 kB 13 3,268.91 kB 5,205.45 kB 14 2,591.92 kB 3,704.42 kB 15 1,896.50 kB 3,468.42 kB 16 1,114.00 kB 4,366.09 kB 17 271.73 kB 2,481.09 kB 18 726.10 kB 1,261.60 kB 19 284.44 kB 844.44 kB 20 158.20 kB 613.20 kB 21 214.11 kB 349.00 kB 22 425.22 kB 880.78 kB 23 403.33 kB 992.78 kB -
Temporary Files
Size of temporary files
Key values
- 19.78 MiB Temp Files size Peak
- 2019-02-25 06:12:05 Date
Number of temporary files
Key values
- 2 per second Temp Files Peak
- 2019-02-25 06:12:05 Date
Temporary Files Activity
Day Hour Count Total size Average size Feb 25 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 3 29.57 MiB 9.86 MiB 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Analyzes per table
Key values
- public.sym_data_gap (91) Main table analyzed (database pharmisight)
- 245 analyzes Total
Table Number of analyzes pharmisight.public.sym_data_gap 91 pharmisight.public.sym_outgoing_batch 79 pharmisight.public.sym_incoming_batch 21 pharmisight.public.sym_data 19 pharmisight.public.sym_data_event 16 pharmisight.public.sym_sequence 10 pharmisight.public.sym_node_host 5 pharmisight.public.item_codes 3 pharmisight.public.users 1 Total 245 Vacuums per table
Key values
- public.sym_data_gap (48) Main table vacuumed on database pharmisight
- 120 vacuums Total
Table Number of vacuums Index scans pharmisight.public.sym_data_gap 48 48 pharmisight.public.sym_outgoing_batch 36 36 pharmisight.public.sym_sequence 10 0 pharmisight.public.sym_incoming_batch 8 8 pharmisight.pg_catalog.pg_statistic 7 7 pharmisight.public.sym_node_host 5 0 pharmisight.pg_toast.pg_toast_2619 3 3 pharmisight.public.item_codes 1 1 pharmisight.public.sym_data 1 1 pharmisight.public.sym_data_event 1 1 Total 120 105 Tuples removed per table
Key values
- public.sym_data_gap (2578) Main table with removed tuples on database pharmisight
- 9039 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_data_gap 48 48 2578 0 pharmisight.pg_catalog.pg_statistic 7 7 2221 0 pharmisight.public.sym_outgoing_batch 36 36 1383 0 pharmisight.public.sym_incoming_batch 8 8 1230 0 pharmisight.public.sym_sequence 10 0 511 0 pharmisight.public.item_codes 1 1 277 0 pharmisight.public.sym_node_host 5 0 261 0 pharmisight.public.sym_data_event 1 1 259 0 pharmisight.pg_toast.pg_toast_2619 3 3 208 3 pharmisight.public.sym_data 1 1 111 0 Total 120 105 9,039 3 Pages removed per table
Key values
- pg_toast.pg_toast_2619 (3) Main table with removed pages on database pharmisight
- 3 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.pg_toast.pg_toast_2619 3 3 208 3 pharmisight.public.sym_sequence 10 0 511 0 pharmisight.public.sym_node_host 5 0 261 0 pharmisight.public.sym_incoming_batch 8 8 1230 0 pharmisight.public.sym_data_gap 48 48 2578 0 pharmisight.public.item_codes 1 1 277 0 pharmisight.public.sym_data 1 1 111 0 pharmisight.pg_catalog.pg_statistic 7 7 2221 0 pharmisight.public.sym_outgoing_batch 36 36 1383 0 pharmisight.public.sym_data_event 1 1 259 0 Total 120 105 9,039 3 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Feb 25 00 1 3 01 3 4 02 1 2 03 2 5 04 3 2 05 0 3 06 15 39 07 13 32 08 16 28 09 11 21 10 10 20 11 5 13 12 10 18 13 6 13 14 9 14 15 4 10 16 2 6 17 2 1 18 4 4 19 1 1 20 0 2 21 1 1 22 1 3 23 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 17 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 3m6s 3m6s 3m6s 3m6s UPDATE patients SET patientname = ?, patientdateofbirth = ?, patientpostcode = ?, customer = ?, sapcustomerid = ?, status = ?, firstname = ?, middlename = ?, lastname = ?, ispatientalert = ?, caloriesday = ?, isdirectbill = ?, ismetabolic = ?, isdiabetic = ?, individuallabelling = ?, nhsnumber = ?, created = ?, createdby = ?, updated = ?, updatedby = ?, note = ?, historylog = ? WHERE patient_id = ?;-
UPDATE PATIENTS SET patientName = $1, patientDateOfBirth = $2, patientPostcode = $3, customer = $4, sapCustomerId = $5, status = $6, firstName = $7, middleName = $8, lastName = $9, isPatientAlert = $10, caloriesDay = $11, isDirectBill = $12, isMetabolic = $13, isDiabetic = $14, individualLabelling = $15, NHSnumber = $16, created = $17, createdBy = $18, updated = $19, updatedBy = $20, note = $21, historyLog = $22 WHERE PATIENT_ID = $23;
-
UPDATE PATIENTS SET patientName = $1, patientDateOfBirth = $2, patientPostcode = $3, customer = $4, sapCustomerId = $5, status = $6, firstName = $7, middleName = $8, lastName = $9, isPatientAlert = $10, caloriesDay = $11, isDirectBill = $12, isMetabolic = $13, isDiabetic = $14, individualLabelling = $15, NHSnumber = $16, created = $17, createdBy = $18, updated = $19, updatedBy = $20, note = $21, historyLog = $22 WHERE PATIENT_ID = $23;
-
UPDATE PATIENTS SET patientName = $1, patientDateOfBirth = $2, patientPostcode = $3, customer = $4, sapCustomerId = $5, status = $6, firstName = $7, middleName = $8, lastName = $9, isPatientAlert = $10, caloriesDay = $11, isDirectBill = $12, isMetabolic = $13, isDiabetic = $14, individualLabelling = $15, NHSnumber = $16, created = $17, createdBy = $18, updated = $19, updatedBy = $20, note = $21, historyLog = $22 WHERE PATIENT_ID = $23;
Date: 2019-02-25 06:10:52 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:13:59 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:07:40 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 16 29s985ms 1s106ms 3s683ms 1s874ms 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;
-
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;
-
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: 2019-02-25 15:48:15 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:06:12 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:06:10 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Queries that waited the most
Rank Wait time Query 1 3m6s UPDATE PATIENTS SET patientName = $1, patientDateOfBirth = $2, patientPostcode = $3, customer = $4, sapCustomerId = $5, status = $6, firstName = $7, middleName = $8, lastName = $9, isPatientAlert = $10, caloriesDay = $11, isDirectBill = $12, isMetabolic = $13, isDiabetic = $14, individualLabelling = $15, NHSnumber = $16, created = $17, createdBy = $18, updated = $19, updatedBy = $20, note = $21, historyLog = $22 WHERE PATIENT_ID = $23;[ Date: 2019-02-25 06:10:52 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
2 3s683ms 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: 2019-02-25 13:06:10 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
3 2s375ms 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: 2019-02-25 15:48:15 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
4 2s292ms 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: 2019-02-25 15:48:13 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
5 2s183ms 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: 2019-02-25 13:06:12 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
6 2s142ms 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: 2019-02-25 06:23:03 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
7 2s42ms 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: 2019-02-25 06:23:23 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
8 1s980ms 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: 2019-02-25 15:18:48 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
9 1s965ms 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: 2019-02-25 15:48:13 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
10 1s900ms 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: 2019-02-25 13:06:10 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
11 1s594ms 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: 2019-02-25 06:23:21 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
12 1s543ms 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: 2019-02-25 15:48:15 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
13 1s442ms 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: 2019-02-25 06:23:06 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
14 1s284ms 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: 2019-02-25 06:23:45 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
15 1s226ms 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: 2019-02-25 06:22:29 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
16 1s218ms 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: 2019-02-25 06:23:01 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
17 1s106ms 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: 2019-02-25 06:22:14 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Queries
Queries by type
Key values
- 1,110,982 Total read queries
- 720,457 Total write queries
Queries by database
Key values
- pharmisight Main database
- 2,446,523 Requests
- 11m31s (pharmisight)
- Main time consuming database
Queries by user
Key values
- symmetricds Main user
- 1,677,866 Requests
User Request type Count Duration pharmisight Total 812,796 9m58s DELETE 63 122ms INSERT 28,876 20s556ms OTHERS 2,631 93ms SELECT 677,273 5m10s TCL 63,416 8s92ms UPDATE 40,537 4m20s symmetricds Total 1,677,866 1m34s DELETE 4,723 3s308ms INSERT 153,463 10s500ms OTHERS 631,183 9s472ms SELECT 447,536 40s731ms TCL 410,121 21s5ms UPDATE 30,840 9s388ms tony Total 900 242ms SELECT 900 242ms Duration by user
Key values
- 9m58s (pharmisight) Main time consuming user
User Request type Count Duration pharmisight Total 812,796 9m58s DELETE 63 122ms INSERT 28,876 20s556ms OTHERS 2,631 93ms SELECT 677,273 5m10s TCL 63,416 8s92ms UPDATE 40,537 4m20s symmetricds Total 1,677,866 1m34s DELETE 4,723 3s308ms INSERT 153,463 10s500ms OTHERS 631,183 9s472ms SELECT 447,536 40s731ms TCL 410,121 21s5ms UPDATE 30,840 9s388ms tony Total 900 242ms SELECT 900 242ms Queries by host
Key values
- 10.10.10.1 Main host
- 2,490,662 Requests
- 11m33s (10.10.10.1)
- Main time consuming host
Queries by application
Key values
- PostgreSQL JDBC Driver Main application
- 2,440,274 Requests
- 11m31s (PostgreSQL JDBC Driver)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2019-02-25 09:04:04 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 2,395,393 0-1ms duration
Slowest individual queries
Rank Duration Query 1 3m6s UPDATE PATIENTS SET patientName = $1, patientDateOfBirth = $2, patientPostcode = $3, customer = $4, sapCustomerId = $5, status = $6, firstName = $7, middleName = $8, lastName = $9, isPatientAlert = $10, caloriesDay = $11, isDirectBill = $12, isMetabolic = $13, isDiabetic = $14, individualLabelling = $15, NHSnumber = $16, created = $17, createdBy = $18, updated = $19, updatedBy = $20, note = $21, historyLog = $22 WHERE PATIENT_ID = $23;[ Date: 2019-02-25 06:10:52 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 4s354ms 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: 2019-02-25 15:48:15 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 4s84ms 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: 2019-02-25 13:06:12 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 3s684ms 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: 2019-02-25 13:06:10 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 2s761ms SELECT this_.ORDER_ID AS ORDER_ID1_22_0_, this_.sapOrderNumber AS sapOrder2_22_0_, this_.answerOrderNumber AS answerOr3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.routeNumber AS routeNum5_22_0_, this_.billToType AS billToTy6_22_0_, this_.patientName AS patientN7_22_0_, this_.firstName AS firstNam8_22_0_, this_.middleName AS middleNa9_22_0_, this_.lastName AS lastNam10_22_0_, this_.patientDateOfBirth AS patient11_22_0_, this_.patientPostcode AS patient12_22_0_, this_.customer AS custome13_22_0_, this_.sapCustomerId AS sapCust14_22_0_, this_.status AS status15_22_0_, this_.patientId AS patient16_22_0_, this_.isNotWithinAge AS isNotWi17_22_0_, this_.expired AS expired18_22_0_, this_.paperwork AS paperwo19_22_0_, this_.deliveryBarcode AS deliver20_22_0_, this_.deliveryDate AS deliver21_22_0_, this_.rxStatus AS rxStatu22_22_0_, this_.createUser AS createU23_22_0_, this_.subOrderType AS subOrde24_22_0_, this_.sapContractId AS sapCont25_22_0_, this_.salesforceOrderNumber AS salesfo26_22_0_, this_.patientType AS patient27_22_0_, this_.orderType AS orderTy28_22_0_, this_.orderStatus AS orderSt29_22_0_, this_.NHSnumber AS NHSnumb30_22_0_, this_.individualLabelling AS individ31_22_0_, this_.orderId AS orderId32_22_0_, this_.clusterLead AS cluster33_22_0_, this_.clusterGroup AS cluster34_22_0_, this_.accountId AS account35_22_0_, this_.reduction AS reducti36_22_0_, this_.reductionBy AS reducti37_22_0_, this_.alertConfirmation AS alertCo38_22_0_, this_.CREATED AS CREATED39_22_0_, this_.UPDATED AS UPDATED40_22_0_, this_.note AS note41_22_0_ FROM ORDERS this_ WHERE this_.sapOrderNumber = $1 ORDER BY this_.CREATED DESC;[ Date: 2019-02-25 06:10:55 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 2s293ms 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: 2019-02-25 15:48:13 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 2s289ms 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: 2019-02-25 06:23:23 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 2s143ms 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: 2019-02-25 06:23:03 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 1s981ms 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: 2019-02-25 15:18:48 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 1s885ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN $1 AND $2;[ Date: 2019-02-25 06:08:10 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 1s821ms COMMIT;[ Date: 2019-02-25 06:15:05 - Database: pharmisight - User: symmetricds - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 1s595ms 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: 2019-02-25 06:23:21 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 1s545ms 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: 2019-02-25 15:48:15 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 1s443ms 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: 2019-02-25 06:23:06 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 1s384ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN $1 AND $2;[ Date: 2019-02-25 11:03:48 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 1s285ms 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: 2019-02-25 06:23:45 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 1s251ms 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, e.router_id FROM sym_data d INNER JOIN sym_data_event e ON d.data_id = e.data_id INNER JOIN sym_outgoing_batch o ON o.batch_id = e.batch_id WHERE o.batch_id = $1 AND o.node_id = $2 ORDER BY d.data_id ASC;[ Date: 2019-02-25 06:12:05 - Database: pharmisight - User: symmetricds - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 1s227ms 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: 2019-02-25 06:22:29 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 1s219ms 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: 2019-02-25 06:23:01 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 1s118ms 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, e.router_id FROM sym_data d INNER JOIN sym_data_event e ON d.data_id = e.data_id INNER JOIN sym_outgoing_batch o ON o.batch_id = e.batch_id WHERE o.batch_id = $1 AND o.node_id = $2 ORDER BY d.data_id ASC;[ Date: 2019-02-25 06:12:05 - Database: pharmisight - User: symmetricds - 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 3m6s 166 0ms 3m6s 1s125ms UPDATE patients SET patientname = ?, patientdateofbirth = ?, patientpostcode = ?, customer = ?, sapcustomerid = ?, status = ?, firstname = ?, middlename = ?, lastname = ?, ispatientalert = ?, caloriesday = ?, isdirectbill = ?, ismetabolic = ?, isdiabetic = ?, individuallabelling = ?, nhsnumber = ?, created = ?, createdby = ?, updated = ?, updatedby = ?, note = ?, historylog = ? WHERE patient_id = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 25 06 165 3m6s 1s131ms 08 1 5ms 5ms [ User: pharmisight - Total duration: 3m6s - Times executed: 166 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3m6s - Times executed: 166 ]
-
UPDATE PATIENTS SET patientName = $1, patientDateOfBirth = $2, patientPostcode = $3, customer = $4, sapCustomerId = $5, status = $6, firstName = $7, middleName = $8, lastName = $9, isPatientAlert = $10, caloriesDay = $11, isDirectBill = $12, isMetabolic = $13, isDiabetic = $14, individualLabelling = $15, NHSnumber = $16, created = $17, createdBy = $18, updated = $19, updatedBy = $20, note = $21, historyLog = $22 WHERE PATIENT_ID = $23;
-
UPDATE PATIENTS SET patientName = $1, patientDateOfBirth = $2, patientPostcode = $3, customer = $4, sapCustomerId = $5, status = $6, firstName = $7, middleName = $8, lastName = $9, isPatientAlert = $10, caloriesDay = $11, isDirectBill = $12, isMetabolic = $13, isDiabetic = $14, individualLabelling = $15, NHSnumber = $16, created = $17, createdBy = $18, updated = $19, updatedBy = $20, note = $21, historyLog = $22 WHERE PATIENT_ID = $23;
-
UPDATE PATIENTS SET patientName = $1, patientDateOfBirth = $2, patientPostcode = $3, customer = $4, sapCustomerId = $5, status = $6, firstName = $7, middleName = $8, lastName = $9, isPatientAlert = $10, caloriesDay = $11, isDirectBill = $12, isMetabolic = $13, isDiabetic = $14, individualLabelling = $15, NHSnumber = $16, created = $17, createdBy = $18, updated = $19, updatedBy = $20, note = $21, historyLog = $22 WHERE PATIENT_ID = $23;
Date: 2019-02-25 06:10:52 Duration: 3m6s Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:13:59 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:07:40 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 50s298ms 1,594 16ms 87ms 31ms SELECT count(*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 25 06 64 2s115ms 33ms 07 68 2s355ms 34ms 08 212 7s129ms 33ms 09 102 3s383ms 33ms 10 233 7s206ms 30ms 11 139 4s368ms 31ms 12 175 4s675ms 26ms 13 152 4s431ms 29ms 14 140 4s356ms 31ms 15 253 8s518ms 33ms 16 56 1s758ms 31ms [ User: pharmisight - Total duration: 50s298ms - Times executed: 1594 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 50s298ms - Times executed: 1594 ]
-
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: 2019-02-25 15:14:59 Duration: 87ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:37:37 Duration: 69ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:15:05 Duration: 67ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 39s770ms 62,422 0ms 14ms 0ms SELECT orderlines0_.order_round_id AS order_r80_28_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = ? ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 25 06 6,510 4s669ms 0ms 07 76 79ms 1ms 08 1,461 1s165ms 0ms 09 3,393 2s680ms 0ms 10 5,096 3s371ms 0ms 11 6,679 4s291ms 0ms 12 16,612 9s493ms 0ms 13 10,173 6s382ms 0ms 14 4,426 2s707ms 0ms 15 5,352 3s198ms 0ms 16 2,473 1s593ms 0ms 17 1 1ms 1ms 20 170 134ms 0ms [ User: pharmisight - Total duration: 39s770ms - Times executed: 62422 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 39s770ms - Times executed: 62422 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-02-25 20:32:00 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:09:58 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 12:59:22 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 32s194ms 702 0ms 4s354ms 45ms 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 = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 25 06 134 13s507ms 100ms 07 27 66ms 2ms 08 77 96ms 1ms 09 48 55ms 1ms 10 59 81ms 1ms 11 41 63ms 1ms 12 73 75ms 1ms 13 60 7s823ms 130ms 14 45 71ms 1ms 15 106 10s294ms 97ms 16 32 59ms 1ms [ User: pharmisight - Total duration: 32s194ms - Times executed: 702 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 32s194ms - Times executed: 702 ]
-
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;
-
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;
-
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: 2019-02-25 15:48:15 Duration: 4s354ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:06:12 Duration: 4s84ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:06:10 Duration: 3s684ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 27s412ms 231,087 0ms 1s821ms 0ms COMMIT;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 25 00 5,803 187ms 0ms 01 5,682 187ms 0ms 02 5,667 169ms 0ms 03 5,686 173ms 0ms 04 5,693 175ms 0ms 05 5,659 179ms 0ms 06 20,585 4s407ms 0ms 07 25,109 4s405ms 0ms 08 18,260 3s132ms 0ms 09 13,831 2s325ms 0ms 10 13,975 2s86ms 0ms 11 10,522 1s368ms 0ms 12 13,423 2s5ms 0ms 13 11,338 1s518ms 0ms 14 11,046 1s546ms 0ms 15 11,734 1s516ms 0ms 16 6,784 423ms 0ms 17 5,695 189ms 0ms 18 6,432 514ms 0ms 19 5,605 156ms 0ms 20 5,609 172ms 0ms 21 5,623 159ms 0ms 22 5,654 214ms 0ms 23 5,672 195ms 0ms [ User: symmetricds - Total duration: 19s609ms - Times executed: 199406 ]
[ User: pharmisight - Total duration: 7s802ms - Times executed: 31681 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 27s376ms - Times executed: 231046 ]
[ Application: [unknown] - Total duration: 35ms - Times executed: 41 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-02-25 06:15:05 Duration: 1s821ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 07:45:04 Duration: 635ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:21:02 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 20s532ms 1,594 2ms 55ms 12ms SELECT * FROM order_lines WHERE (deliverydate = ? AND status <> ?) AND ((agecheck = ? OR agecheck = ? OR agecheck = ?) 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 #6
Day Hour Count Duration Avg duration Feb 25 06 64 667ms 10ms 07 68 823ms 12ms 08 212 2s798ms 13ms 09 102 1s368ms 13ms 10 233 2s883ms 12ms 11 139 1s839ms 13ms 12 175 1s976ms 11ms 13 152 1s799ms 11ms 14 140 1s999ms 14ms 15 253 3s624ms 14ms 16 56 750ms 13ms [ User: pharmisight - Total duration: 20s532ms - Times executed: 1594 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s532ms - Times executed: 1594 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 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 = $1 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 = $1 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: 2019-02-25 12:10:53 Duration: 55ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 14:31:13 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 12:52:17 Duration: 44ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 20s71ms 6,376 0ms 15ms 3ms SELECT count(*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = ? AND this_.rxstatus = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 25 06 256 657ms 2ms 07 272 806ms 2ms 08 848 2s693ms 3ms 09 408 1s302ms 3ms 10 932 2s826ms 3ms 11 556 1s768ms 3ms 12 700 1s901ms 2ms 13 608 1s843ms 3ms 14 560 1s849ms 3ms 15 1,012 3s669ms 3ms 16 224 750ms 3ms [ User: pharmisight - Total duration: 20s71ms - Times executed: 6376 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s71ms - Times executed: 6376 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
Date: 2019-02-25 12:44:14 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 14:11:48 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:07:54 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 18s193ms 74,975 0ms 9ms 0ms SELECT orders0_.order_round_id AS order_r42_28_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.order_round_id = ? ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 25 06 7,416 2s36ms 0ms 07 1,502 576ms 0ms 08 3,264 968ms 0ms 09 4,718 1s410ms 0ms 10 6,755 1s709ms 0ms 11 7,981 1s934ms 0ms 12 17,945 3s818ms 0ms 13 11,932 2s739ms 0ms 14 4,906 1s104ms 0ms 15 5,923 1s285ms 0ms 16 2,463 569ms 0ms 17 56 12ms 0ms 20 114 26ms 0ms [ User: pharmisight - Total duration: 18s193ms - Times executed: 74975 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s193ms - Times executed: 74975 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
Date: 2019-02-25 13:07:56 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 15:18:42 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:12:47 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 15s585ms 603 15ms 63ms 25ms SELECT this_.order_round_id AS order_ro1_28_1_, this_.routenumber AS routenum2_28_1_, this_.uploadedbyuserid AS uploaded3_28_1_, this_.uploadedbyusername AS uploaded4_28_1_, this_.updatedby AS updatedb5_28_1_, this_.updatedbyusername AS updatedb6_28_1_, this_.orderroundnote AS orderrou7_28_1_, this_.firstcheckout AS firstche8_28_1_, this_.allordersscannedok AS allorder9_28_1_, this_.status AS status10_28_1_, this_.reopenedtimes AS reopene11_28_1_, this_.lastreopenbyid AS lastreo12_28_1_, this_.lastdonecheckin AS lastdon13_28_1_, this_.lastdonebyid AS lastdon14_28_1_, this_.lastdonebyusername AS lastdon15_28_1_, this_.missinglabels AS missing16_28_1_, this_.rounddeliverydate AS roundde17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadupdated AS uploadu21_28_1_, this_.patientalert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxstatus AS rxstatu24_28_1_, this_.distributionpoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedby AS audited27_28_1_, this_.auditstatus AS auditst28_28_1_, this_.uploadfinished AS uploadf29_28_1_, this_.lastrxcompleted AS lastrxc30_28_1_, this_.lastrxcompletedby AS lastrxc31_28_1_, this_.orderroundnotereadby AS orderro32_28_1_, this_.routeorderlinesqty AS routeor33_28_1_, this_.dlxpickedlinesqty AS dlxpick34_28_1_, this_.flowreport AS flowrep35_28_1_, this_.created AS created36_28_1_, this_.createdby AS created37_28_1_, this_.updated AS updated38_28_1_, this_.note AS note39_28_1_, f1_.flow_report_id AS flow_rep1_9_0_, f1_.routenumber AS routenum2_9_0_, f1_.rounddeliverydate AS rounddel3_9_0_, f1_.distributionpoint AS distribu4_9_0_, f1_.fullypicked AS fullypic5_9_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, f1_.causeofdelay AS causeofd7_9_0_, f1_.pharmacy100checktime AS pharmacy8_9_0_, f1_.linesheldback AS lineshel9_9_0_, f1_.packtime100 AS packtim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickdatetime AS pickdat13_9_0_, f1_.failedtargetpicktime AS failedt14_9_0_, f1_.actualpaperworkcompletetime AS actualp15_9_0_, f1_.changedpickdatetime AS changed16_9_0_, f1_.manuallychangedpicktime AS manuall17_9_0_, f1_.created AS created18_9_0_, f1_.updated AS updated19_9_0_, f1_.note AS note20_9_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> ? AND this_.created > ? AND this_.created < ? ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 25 06 64 1s673ms 26ms 08 12 336ms 28ms 09 32 940ms 29ms 10 50 1s257ms 25ms 11 65 1s783ms 27ms 12 160 3s779ms 23ms 13 100 2s572ms 25ms 14 48 1s381ms 28ms 15 50 1s265ms 25ms 16 22 594ms 27ms [ User: pharmisight - Total duration: 15s585ms - Times executed: 603 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s585ms - Times executed: 603 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-02-25 09:22:34 Duration: 63ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 12:39:18 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 14:17:00 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 15s548ms 7,146 0ms 35ms 2ms UPDATE order_lines SET 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 = ? WHERE order_line_id = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 25 06 2,818 3s902ms 1ms 07 1,138 2s894ms 2ms 08 992 2s433ms 2ms 09 568 1s538ms 2ms 10 466 1s273ms 2ms 11 172 615ms 3ms 12 387 921ms 2ms 13 203 519ms 2ms 14 199 770ms 3ms 15 174 585ms 3ms 16 8 70ms 8ms 17 21 22ms 1ms [ User: pharmisight - Total duration: 15s548ms - Times executed: 7146 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s548ms - Times executed: 7146 ]
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
Date: 2019-02-25 07:27:06 Duration: 35ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:52:46 Duration: 25ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 14:26:37 Duration: 22ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 12s604ms 704 12ms 39ms 17ms SELECT this_.flow_report_id AS flow_rep1_9_0_, this_.routenumber AS routenum2_9_0_, this_.rounddeliverydate AS rounddel3_9_0_, this_.distributionpoint AS distribu4_9_0_, this_.fullypicked AS fullypic5_9_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, this_.causeofdelay AS causeofd7_9_0_, this_.pharmacy100checktime AS pharmacy8_9_0_, this_.linesheldback AS lineshel9_9_0_, this_.packtime100 AS packtim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickdatetime AS pickdat13_9_0_, this_.failedtargetpicktime AS failedt14_9_0_, this_.actualpaperworkcompletetime AS actualp15_9_0_, this_.changedpickdatetime AS changed16_9_0_, this_.manuallychangedpicktime AS manuall17_9_0_, this_.created AS created18_9_0_, this_.updated AS updated19_9_0_, this_.note AS note20_9_0_ FROM flow_reports this_ WHERE this_.created > ? AND this_.created < ? ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 25 06 130 2s586ms 19ms 08 15 354ms 23ms 09 37 821ms 22ms 10 59 1s101ms 18ms 11 69 1s269ms 18ms 12 168 2s701ms 16ms 13 104 1s686ms 16ms 14 48 750ms 15ms 15 52 892ms 17ms 16 22 441ms 20ms [ User: pharmisight - Total duration: 12s604ms - Times executed: 704 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s604ms - Times executed: 704 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-02-25 10:24:08 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:37:20 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 11:47:56 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 11s904ms 1,911 0ms 179ms 6ms SELECT this_.order_line_id AS order_li1_24_0_, this_.routenumber AS routenum2_24_0_, this_.sapordernumber AS saporder3_24_0_, this_.ordernumber AS ordernum4_24_0_, this_.answerordernumber AS answeror5_24_0_, this_.partcode AS partcode6_24_0_, this_.partdescription AS partdesc7_24_0_, this_.patientname AS patientn8_24_0_, this_.firstname AS firstnam9_24_0_, this_.middlename AS middlen10_24_0_, this_.lastname AS lastnam11_24_0_, this_.patientdateofbirth AS patient12_24_0_, this_.patientpostcode AS patient13_24_0_, this_.patientpostcodeprefix AS patient14_24_0_, this_.orderqty AS orderqt15_24_0_, this_.allocqty AS allocqt16_24_0_, this_.shipqty AS shipqty17_24_0_, this_.adjustedqty AS adjuste18_24_0_, this_.scannedqty AS scanned19_24_0_, this_.assignedqty AS assigne20_24_0_, this_.checkedqty AS checked21_24_0_, this_.backorderqty AS backord22_24_0_, this_.cancelqty AS cancelq23_24_0_, this_.reducedqty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliverydate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapcustomerid AS sapcust29_24_0_, this_.billtotype AS billtot30_24_0_, this_.barcodedate AS barcode31_24_0_, this_.barcodebatch AS barcode32_24_0_, this_.patientid AS patient33_24_0_, this_.isadded AS isadded34_24_0_, this_.isnotwithinage AS isnotwi35_24_0_, this_.isunderage AS isunder36_24_0_, this_.agecheck AS agechec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.ispaperworkproblem AS ispaper40_24_0_, this_.paperworkresolution AS paperwo41_24_0_, this_.pickerid AS pickeri42_24_0_, this_.specialcare AS special43_24_0_, this_.paperworkenquirystarted AS paperwo44_24_0_, this_.paperworkenquiryfinished AS paperwo45_24_0_, this_.paperworkenquiryresponse AS paperwo46_24_0_, this_.isnewproduct AS isnewpr47_24_0_, this_.extraprocedure AS extrapr48_24_0_, this_.overaverageqtymax AS overave49_24_0_, this_.overaverageqtyresolution AS overave50_24_0_, this_.createuser AS createu51_24_0_, this_.patientalert AS patient52_24_0_, this_.itemalert AS itemale53_24_0_, this_.checkerid AS checker54_24_0_, this_.reductionsummary AS reducti55_24_0_, this_.ismetabolic AS ismetab56_24_0_, this_.rxstatus AS rxstatu57_24_0_, this_.lastregupdateusertype AS lastreg58_24_0_, this_.lastregupdateusername AS lastreg59_24_0_, this_.lastregupdatedate AS lastreg60_24_0_, this_.sapplannedshipdate AS sapplan61_24_0_, this_.sapplanneddeliverydate AS sapplan62_24_0_, this_.requestedsapquantity AS request63_24_0_, this_.orderquantity AS orderqu64_24_0_, this_.reglinecreatedusertype AS regline65_24_0_, this_.reglinecreatedusername AS regline66_24_0_, this_.reglinecreateddate AS regline67_24_0_, this_.audited AS audited68_24_0_, this_.ismetabolicpatient AS ismetab69_24_0_, this_.addedcase AS addedca70_24_0_, this_.ordertype AS orderty71_24_0_, this_.created AS created72_24_0_, this_.updated AS updated73_24_0_, this_.rxcheckby AS rxcheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertconfirmation AS alertco77_24_0_, this_.homewardaction AS homewar78_24_0_ FROM order_lines this_ WHERE this_.patientid = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 25 06 1,883 11s766ms 6ms 07 4 4ms 1ms 08 11 42ms 3ms 09 2 0ms 0ms 10 6 11ms 1ms 11 1 8ms 8ms 13 3 70ms 23ms 15 1 0ms 0ms [ User: pharmisight - Total duration: 11s904ms - Times executed: 1911 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s904ms - Times executed: 1911 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
Date: 2019-02-25 06:10:55 Duration: 179ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:12:00 Duration: 115ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:12:35 Duration: 110ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 10s650ms 99,514 0ms 11ms 0ms SELECT orderlines0_.order_id AS order_i79_22_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = ? ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 25 06 6,778 549ms 0ms 07 17,227 1s623ms 0ms 08 12,483 1s828ms 0ms 09 11,927 1s248ms 0ms 10 11,367 1s790ms 0ms 11 5,962 555ms 0ms 12 13,116 1s151ms 0ms 13 7,834 668ms 0ms 14 5,493 557ms 0ms 15 5,515 520ms 0ms 16 639 58ms 0ms 17 1,173 96ms 0ms [ User: pharmisight - Total duration: 10s650ms - Times executed: 99514 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s650ms - Times executed: 99514 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
Date: 2019-02-25 08:39:44 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:21:08 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:21:08 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 9s599ms 178 28ms 74ms 53ms 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 #14
Day Hour Count Duration Avg duration Feb 25 06 25 1s423ms 56ms 07 45 2s489ms 55ms 08 63 3s119ms 49ms 09 10 562ms 56ms 10 34 1s944ms 57ms 13 1 60ms 60ms [ User: pharmisight - Total duration: 9s599ms - Times executed: 178 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s599ms - Times executed: 178 ]
-
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 = $1 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 = $1 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 = $1 ORDER BY epscheckli0_.description ASC;
Date: 2019-02-25 08:27:16 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:36:36 Duration: 73ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:36:38 Duration: 69ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 9s428ms 17,167 0ms 2ms 0ms SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 25 00 717 393ms 0ms 01 716 401ms 0ms 02 718 407ms 0ms 03 716 404ms 0ms 04 716 393ms 0ms 05 718 404ms 0ms 06 708 356ms 0ms 07 710 381ms 0ms 08 712 377ms 0ms 09 714 381ms 0ms 10 714 381ms 0ms 11 716 391ms 0ms 12 714 379ms 0ms 13 716 382ms 0ms 14 714 387ms 0ms 15 716 389ms 0ms 16 716 402ms 0ms 17 716 411ms 0ms 18 718 407ms 0ms 19 716 408ms 0ms 20 716 399ms 0ms 21 718 395ms 0ms 22 716 398ms 0ms 23 716 392ms 0ms [ User: symmetricds - Total duration: 9s428ms - Times executed: 17167 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s428ms - Times executed: 17167 ]
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
Date: 2019-02-25 12:49:05 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 12:49:05 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 10:24:13 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 8s754ms 13,684 0ms 30ms 0ms 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 Feb 25 06 749 541ms 0ms 07 1,740 1s169ms 0ms 08 2,549 1s610ms 0ms 09 1,846 1s162ms 0ms 10 1,630 1s10ms 0ms 11 759 512ms 0ms 12 1,549 900ms 0ms 13 1,030 572ms 0ms 14 1,009 681ms 0ms 15 789 524ms 0ms 16 34 66ms 1ms [ User: pharmisight - Total duration: 8s754ms - Times executed: 13684 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s754ms - Times executed: 13684 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
Date: 2019-02-25 16:38:30 Duration: 30ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:13:55 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 09:57:19 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 8s689ms 574,622 0ms 9ms 0ms SHOW TRANSACTION ISOLATION level;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 25 00 18,123 279ms 0ms 01 17,901 276ms 0ms 02 17,873 280ms 0ms 03 17,901 282ms 0ms 04 17,891 276ms 0ms 05 17,857 278ms 0ms 06 47,162 626ms 0ms 07 57,265 827ms 0ms 08 35,852 541ms 0ms 09 29,230 443ms 0ms 10 27,868 426ms 0ms 11 24,249 371ms 0ms 12 27,214 393ms 0ms 13 25,021 370ms 0ms 14 24,781 380ms 0ms 15 25,129 394ms 0ms 16 18,755 290ms 0ms 17 17,867 283ms 0ms 18 18,053 280ms 0ms 19 17,705 277ms 0ms 20 17,623 276ms 0ms 21 17,731 269ms 0ms 22 17,761 281ms 0ms 23 17,810 278ms 0ms [ User: symmetricds - Total duration: 8s656ms - Times executed: 573792 ]
[ User: pharmisight - Total duration: 33ms - Times executed: 830 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s689ms - Times executed: 574616 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 6 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2019-02-25 08:04:19 Duration: 9ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 15:22:09 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 17:07:10 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 8s534ms 1,241 0ms 172ms 6ms SELECT orders0_.patient_id AS patient43_33_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.patient_id = ? ORDER BY orders0_.created DESC;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 25 06 1,159 8s437ms 7ms 07 10 8ms 0ms 08 27 18ms 0ms 09 8 5ms 0ms 10 21 18ms 0ms 11 1 0ms 0ms 13 4 13ms 3ms 14 10 30ms 3ms 15 1 0ms 0ms [ User: pharmisight - Total duration: 8s534ms - Times executed: 1241 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s534ms - Times executed: 1241 ]
-
SELECT orders0_.PATIENT_ID AS PATIENT43_33_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = $1 ORDER BY orders0_.CREATED DESC;
-
SELECT orders0_.PATIENT_ID AS PATIENT43_33_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = $1 ORDER BY orders0_.CREATED DESC;
-
SELECT orders0_.PATIENT_ID AS PATIENT43_33_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = $1 ORDER BY orders0_.CREATED DESC;
Date: 2019-02-25 06:05:20 Duration: 172ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:06:34 Duration: 167ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:06:15 Duration: 116ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 8s337ms 13,684 0ms 10ms 0ms INSERT INTO order_line_activities (status, reason, scannedqty, assignedqty, backorderqty, barcode, barcodedate, barcodebatch, expiration, cancelqty, reducedqty, mispickitemcode, created, missinglabels, order_line_activity_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 25 06 749 486ms 0ms 07 1,740 1s134ms 0ms 08 2,549 1s532ms 0ms 09 1,846 1s93ms 0ms 10 1,630 975ms 0ms 11 759 512ms 0ms 12 1,549 855ms 0ms 13 1,030 558ms 0ms 14 1,009 651ms 0ms 15 789 510ms 0ms 16 34 28ms 0ms [ User: pharmisight - Total duration: 8s337ms - Times executed: 13684 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s337ms - Times executed: 13684 ]
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
Date: 2019-02-25 07:11:46 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 11:07:52 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 10:18:41 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 7s675ms 343 11ms 56ms 22ms SELECT alerts0_.alert_confirmation_id AS alert_c10_1_0_, alerts0_.alert_id AS alert_id1_0_0_, alerts0_.alert_id AS alert_id1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientnote AS patientn3_0_1_, alerts0_.itemnote AS itemnote4_0_1_, alerts0_.confirmedchecker AS confirme5_0_1_, alerts0_.confirmedcheckerby AS confirme6_0_1_, alerts0_.isconfirmedbybarcode AS isconfir7_0_1_, alerts0_.confirmedpharmacist AS confirme8_0_1_, alerts0_.confirmedpharmacistby AS confirme9_0_1_ FROM alerts alerts0_ WHERE alerts0_.alert_confirmation_id = ? ORDER BY alerts0_.created ASC;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 25 06 14 320ms 22ms 07 81 1s884ms 23ms 08 71 1s492ms 21ms 09 46 1s43ms 22ms 10 29 593ms 20ms 11 18 437ms 24ms 12 48 1s22ms 21ms 13 7 171ms 24ms 14 17 403ms 23ms 15 12 306ms 25ms [ User: pharmisight - Total duration: 7s675ms - Times executed: 343 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s675ms - Times executed: 343 ]
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
Date: 2019-02-25 15:24:10 Duration: 56ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 07:57:03 Duration: 42ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 11:35:05 Duration: 40ms 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 574,622 8s689ms 0ms 9ms 0ms SHOW TRANSACTION ISOLATION level;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 25 00 18,123 279ms 0ms 01 17,901 276ms 0ms 02 17,873 280ms 0ms 03 17,901 282ms 0ms 04 17,891 276ms 0ms 05 17,857 278ms 0ms 06 47,162 626ms 0ms 07 57,265 827ms 0ms 08 35,852 541ms 0ms 09 29,230 443ms 0ms 10 27,868 426ms 0ms 11 24,249 371ms 0ms 12 27,214 393ms 0ms 13 25,021 370ms 0ms 14 24,781 380ms 0ms 15 25,129 394ms 0ms 16 18,755 290ms 0ms 17 17,867 283ms 0ms 18 18,053 280ms 0ms 19 17,705 277ms 0ms 20 17,623 276ms 0ms 21 17,731 269ms 0ms 22 17,761 281ms 0ms 23 17,810 278ms 0ms [ User: symmetricds - Total duration: 8s656ms - Times executed: 573792 ]
[ User: pharmisight - Total duration: 33ms - Times executed: 830 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s689ms - Times executed: 574616 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 6 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2019-02-25 08:04:19 Duration: 9ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 15:22:09 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 17:07:10 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 231,102 1s481ms 0ms 2ms 0ms BEGIN;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 25 00 5,804 35ms 0ms 01 5,682 34ms 0ms 02 5,667 35ms 0ms 03 5,686 34ms 0ms 04 5,693 34ms 0ms 05 5,659 35ms 0ms 06 20,583 122ms 0ms 07 25,111 159ms 0ms 08 18,260 123ms 0ms 09 13,834 91ms 0ms 10 13,975 95ms 0ms 11 10,522 72ms 0ms 12 13,426 86ms 0ms 13 11,337 73ms 0ms 14 11,049 74ms 0ms 15 11,734 78ms 0ms 16 6,787 43ms 0ms 17 5,695 34ms 0ms 18 6,435 38ms 0ms 19 5,605 35ms 0ms 20 5,609 35ms 0ms 21 5,623 35ms 0ms 22 5,654 35ms 0ms 23 5,672 34ms 0ms [ User: symmetricds - Total duration: 1s195ms - Times executed: 199405 ]
[ User: pharmisight - Total duration: 286ms - Times executed: 31697 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s480ms - Times executed: 231043 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 59 ]
-
BEGIN;
-
BEGIN;
-
BEGIN;
Date: 2019-02-25 11:02:07 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 10:10:06 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 19:16:33 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 231,087 27s412ms 0ms 1s821ms 0ms COMMIT;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 25 00 5,803 187ms 0ms 01 5,682 187ms 0ms 02 5,667 169ms 0ms 03 5,686 173ms 0ms 04 5,693 175ms 0ms 05 5,659 179ms 0ms 06 20,585 4s407ms 0ms 07 25,109 4s405ms 0ms 08 18,260 3s132ms 0ms 09 13,831 2s325ms 0ms 10 13,975 2s86ms 0ms 11 10,522 1s368ms 0ms 12 13,423 2s5ms 0ms 13 11,338 1s518ms 0ms 14 11,046 1s546ms 0ms 15 11,734 1s516ms 0ms 16 6,784 423ms 0ms 17 5,695 189ms 0ms 18 6,432 514ms 0ms 19 5,605 156ms 0ms 20 5,609 172ms 0ms 21 5,623 159ms 0ms 22 5,654 214ms 0ms 23 5,672 195ms 0ms [ User: symmetricds - Total duration: 19s609ms - Times executed: 199406 ]
[ User: pharmisight - Total duration: 7s802ms - Times executed: 31681 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 27s376ms - Times executed: 231046 ]
[ Application: [unknown] - Total duration: 35ms - Times executed: 41 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-02-25 06:15:05 Duration: 1s821ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 07:45:04 Duration: 635ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:21:02 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 229,603 2s366ms 0ms 5ms 0ms SELECT ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 25 00 6,945 72ms 0ms 01 6,499 69ms 0ms 02 6,481 69ms 0ms 03 6,504 70ms 0ms 04 6,518 68ms 0ms 05 6,474 71ms 0ms 06 18,273 161ms 0ms 07 23,616 224ms 0ms 08 15,539 154ms 0ms 09 13,003 131ms 0ms 10 12,203 124ms 0ms 11 10,162 107ms 0ms 12 12,020 118ms 0ms 13 10,674 109ms 0ms 14 10,653 114ms 0ms 15 10,735 112ms 0ms 16 7,148 77ms 0ms 17 6,527 70ms 0ms 18 7,273 80ms 0ms 19 6,447 69ms 0ms 20 6,427 71ms 0ms 21 6,467 68ms 0ms 22 6,494 71ms 0ms 23 6,521 76ms 0ms [ User: symmetricds - Total duration: 2s366ms - Times executed: 229603 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s366ms - Times executed: 229603 ]
-
SELECT 1;
-
SELECT 1;
-
SELECT 1;
Date: 2019-02-25 23:07:15 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:19:08 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 11:52:07 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 137,801 6s913ms 0ms 3ms 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 Feb 25 00 40 4ms 0ms 01 50 5ms 0ms 02 44 4ms 0ms 03 46 6ms 0ms 04 52 5ms 0ms 05 38 4ms 0ms 06 54,130 2s32ms 0ms 07 13,868 786ms 0ms 08 15,072 877ms 0ms 09 10,370 598ms 0ms 10 9,896 590ms 0ms 11 4,562 275ms 0ms 12 9,274 519ms 0ms 13 6,478 370ms 0ms 14 6,254 371ms 0ms 15 4,738 283ms 0ms 16 522 31ms 0ms 17 515 32ms 0ms 18 36 3ms 0ms 19 36 3ms 0ms 20 38 3ms 0ms 21 118 8ms 0ms 22 728 40ms 0ms 23 896 51ms 0ms [ User: symmetricds - Total duration: 6s913ms - Times executed: 137801 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s913ms - Times executed: 137801 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
Date: 2019-02-25 08:21:51 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 09:33:50 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:11:03 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 99,514 10s650ms 0ms 11ms 0ms SELECT orderlines0_.order_id AS order_i79_22_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = ? ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 25 06 6,778 549ms 0ms 07 17,227 1s623ms 0ms 08 12,483 1s828ms 0ms 09 11,927 1s248ms 0ms 10 11,367 1s790ms 0ms 11 5,962 555ms 0ms 12 13,116 1s151ms 0ms 13 7,834 668ms 0ms 14 5,493 557ms 0ms 15 5,515 520ms 0ms 16 639 58ms 0ms 17 1,173 96ms 0ms [ User: pharmisight - Total duration: 10s650ms - Times executed: 99514 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s650ms - Times executed: 99514 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
Date: 2019-02-25 08:39:44 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:21:08 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:21:08 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 87,972 3s567ms 0ms 1ms 0ms SELECT this_.dlx_barcode AS dlx_barc1_3_0_, this_.ordernumber AS ordernum2_3_0_, this_.pickdatetime AS pickdate3_3_0_, this_.picker AS picker4_3_0_, this_.created AS created5_3_0_, this_.partcode AS partcode6_3_0_, this_.orderqty AS orderqty7_3_0_ FROM dlx_barcodes this_ WHERE this_.ordernumber = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 25 06 3,106 127ms 0ms 07 15,658 638ms 0ms 08 10,897 481ms 0ms 09 11,053 456ms 0ms 10 10,460 415ms 0ms 11 5,732 218ms 0ms 12 12,584 466ms 0ms 13 7,500 279ms 0ms 14 5,229 227ms 0ms 15 5,178 231ms 0ms 16 575 25ms 0ms [ User: pharmisight - Total duration: 3s567ms - Times executed: 87972 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s567ms - Times executed: 87972 ]
-
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 = $1;
-
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 = $1;
-
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 = $1;
Date: 2019-02-25 08:12:06 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 07:46:38 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 07:15:43 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 74,975 18s193ms 0ms 9ms 0ms SELECT orders0_.order_round_id AS order_r42_28_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.order_round_id = ? ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 25 06 7,416 2s36ms 0ms 07 1,502 576ms 0ms 08 3,264 968ms 0ms 09 4,718 1s410ms 0ms 10 6,755 1s709ms 0ms 11 7,981 1s934ms 0ms 12 17,945 3s818ms 0ms 13 11,932 2s739ms 0ms 14 4,906 1s104ms 0ms 15 5,923 1s285ms 0ms 16 2,463 569ms 0ms 17 56 12ms 0ms 20 114 26ms 0ms [ User: pharmisight - Total duration: 18s193ms - Times executed: 74975 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s193ms - Times executed: 74975 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
Date: 2019-02-25 13:07:56 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 15:18:42 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:12:47 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 62,422 39s770ms 0ms 14ms 0ms SELECT orderlines0_.order_round_id AS order_r80_28_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = ? ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 25 06 6,510 4s669ms 0ms 07 76 79ms 1ms 08 1,461 1s165ms 0ms 09 3,393 2s680ms 0ms 10 5,096 3s371ms 0ms 11 6,679 4s291ms 0ms 12 16,612 9s493ms 0ms 13 10,173 6s382ms 0ms 14 4,426 2s707ms 0ms 15 5,352 3s198ms 0ms 16 2,473 1s593ms 0ms 17 1 1ms 1ms 20 170 134ms 0ms [ User: pharmisight - Total duration: 39s770ms - Times executed: 62422 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 39s770ms - Times executed: 62422 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-02-25 20:32:00 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:09:58 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 12:59:22 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 37,161 1s744ms 0ms 1ms 0ms SELECT * FROM order_rounds r WHERE r.flowreport = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 25 06 5,436 283ms 0ms 08 800 45ms 0ms 09 1,998 113ms 0ms 10 3,186 154ms 0ms 11 3,783 178ms 0ms 12 9,240 399ms 0ms 13 5,724 260ms 0ms 14 2,688 115ms 0ms 15 2,938 131ms 0ms 16 1,254 56ms 0ms 20 114 5ms 0ms [ User: pharmisight - Total duration: 1s744ms - Times executed: 37161 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s744ms - Times executed: 37161 ]
-
SELECT * FROM order_rounds r WHERE r.flowreport = $1;
-
SELECT * FROM order_rounds r WHERE r.flowreport = $1;
-
SELECT * FROM order_rounds r WHERE r.flowreport = $1;
Date: 2019-02-25 15:48:08 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:26:45 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 11:56:41 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 31,001 1s672ms 0ms 1ms 0ms SELECT itembarcod0_.item_id AS item_id12_15_0_, itembarcod0_.item_barcode_id AS item_bar1_16_0_, itembarcod0_.item_barcode_id AS item_bar1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hassiblings AS hassibli4_16_1_, itembarcod0_.itembarcodetype AS itembarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdby AS createdb8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedby AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.item_id AS item_id12_16_1_ FROM item_barcodes itembarcod0_ WHERE itembarcod0_.item_id = ? ORDER BY itembarcod0_.barcode ASC;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 25 00 888 32ms 0ms 01 888 36ms 0ms 02 888 37ms 0ms 03 888 42ms 0ms 04 888 45ms 0ms 05 888 38ms 0ms 06 1,271 74ms 0ms 07 2,267 140ms 0ms 08 2,976 181ms 0ms 09 1,932 118ms 0ms 10 1,805 116ms 0ms 11 1,302 75ms 0ms 12 1,859 106ms 0ms 13 2,409 109ms 0ms 14 1,396 81ms 0ms 15 1,338 76ms 0ms 16 902 45ms 0ms 17 888 44ms 0ms 18 888 43ms 0ms 19 888 44ms 0ms 20 888 44ms 0ms 21 888 44ms 0ms 22 888 44ms 0ms 23 888 45ms 0ms [ User: pharmisight - Total duration: 1s672ms - Times executed: 31001 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s672ms - Times executed: 31001 ]
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = $1 ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = $1 ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = $1 ORDER BY itembarcod0_.barcode ASC;
Date: 2019-02-25 06:40:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 10:40:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 02:40:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 26,368 1s242ms 0ms 2ms 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;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 25 00 1,058 51ms 0ms 01 1,050 50ms 0ms 02 1,050 49ms 0ms 03 1,050 50ms 0ms 04 1,052 51ms 0ms 05 1,050 50ms 0ms 06 1,061 45ms 0ms 07 1,079 47ms 0ms 08 1,170 51ms 0ms 09 1,184 54ms 0ms 10 1,155 54ms 0ms 11 1,149 52ms 0ms 12 1,248 56ms 0ms 13 1,180 54ms 0ms 14 1,212 54ms 0ms 15 1,151 53ms 0ms 16 1,087 51ms 0ms 17 1,044 49ms 0ms 18 1,112 53ms 0ms 19 1,036 50ms 0ms 20 1,038 48ms 0ms 21 1,048 48ms 0ms 22 1,052 50ms 0ms 23 1,052 56ms 0ms [ User: symmetricds - Total duration: 1s242ms - Times executed: 26368 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s242ms - Times executed: 26368 ]
-
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;
-
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;
-
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;
Date: 2019-02-25 23:12:15 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 23:54:16 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 04:31:02 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 25,480 1s241ms 0ms 4ms 0ms SELECT itemcodes0_.item_id AS item_id11_15_0_, itemcodes0_.item_code_id AS item_cod1_18_0_, itemcodes0_.item_code_id AS item_cod1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemcodetype AS itemcode3_18_1_, itemcodes0_.isprimary AS isprimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdby AS createdb7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedby AS updatedb9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.item_id AS item_id11_18_1_ FROM item_codes itemcodes0_ WHERE itemcodes0_.item_id = ? ORDER BY itemcodes0_.code ASC;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 25 00 1,003 36ms 0ms 01 1,003 40ms 0ms 02 1,003 38ms 0ms 03 1,003 47ms 0ms 04 1,003 50ms 0ms 05 1,003 42ms 0ms 06 1,068 54ms 0ms 07 1,023 52ms 0ms 08 1,101 56ms 0ms 09 1,067 57ms 0ms 10 1,087 66ms 0ms 11 1,006 52ms 0ms 12 1,020 52ms 0ms 13 2,039 88ms 0ms 14 1,022 52ms 0ms 15 1,005 50ms 0ms 16 1,003 49ms 0ms 17 1,003 50ms 0ms 18 1,003 49ms 0ms 19 1,003 50ms 0ms 20 1,003 50ms 0ms 21 1,003 49ms 0ms 22 1,003 50ms 0ms 23 1,003 51ms 0ms [ User: pharmisight - Total duration: 1s241ms - Times executed: 25480 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s241ms - Times executed: 25480 ]
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = $1 ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = $1 ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = $1 ORDER BY itemcodes0_.code ASC;
Date: 2019-02-25 13:30:34 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 09:08:14 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 10:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 24,262 605ms 0ms 0ms 0ms SELECT DISTINCT (data_id) FROM sym_data_event WHERE data_id >= ? AND data_id <= ? ORDER BY data_id ASC;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 25 00 358 8ms 0ms 01 358 8ms 0ms 02 359 8ms 0ms 03 358 8ms 0ms 04 358 8ms 0ms 05 359 8ms 0ms 06 6,771 175ms 0ms 07 8,165 203ms 0ms 08 1,808 44ms 0ms 09 357 8ms 0ms 10 357 8ms 0ms 11 358 8ms 0ms 12 357 8ms 0ms 13 358 8ms 0ms 14 357 8ms 0ms 15 358 8ms 0ms 16 358 8ms 0ms 17 358 8ms 0ms 18 359 8ms 0ms 19 358 8ms 0ms 20 358 8ms 0ms 21 359 8ms 0ms 22 358 8ms 0ms 23 358 8ms 0ms [ User: symmetricds - Total duration: 605ms - Times executed: 24262 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 605ms - Times executed: 24262 ]
-
SELECT DISTINCT (data_id) FROM sym_data_event WHERE data_id >= $1 AND data_id <= $2 ORDER BY data_id ASC;
-
SELECT DISTINCT (data_id) FROM sym_data_event WHERE data_id >= $1 AND data_id <= $2 ORDER BY data_id ASC;
-
SELECT DISTINCT (data_id) FROM sym_data_event WHERE data_id >= $1 AND data_id <= $2 ORDER BY data_id ASC;
Date: 2019-02-25 06:05:38 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:07:59 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:06:09 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 23,977 529ms 0ms 0ms 0ms SELECT nextval(?);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 25 06 9,411 165ms 0ms 07 2,349 63ms 0ms 08 2,860 71ms 0ms 09 1,949 45ms 0ms 10 1,789 43ms 0ms 11 811 21ms 0ms 12 1,608 34ms 0ms 13 1,089 25ms 0ms 14 1,044 27ms 0ms 15 874 24ms 0ms 16 54 2ms 0ms 17 109 2ms 0ms 20 30 0ms 0ms [ User: pharmisight - Total duration: 529ms - Times executed: 23977 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 529ms - Times executed: 23977 ]
-
SELECT nextval('order_round_pickers_sequence');
-
SELECT nextval('order_line_activities_sequence');
-
SELECT nextval('homeward_actions_sequence');
Date: 2019-02-25 10:15:23 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 10:37:51 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 15:57:33 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 23,660 964ms 0ms 1ms 0ms SELECT flowreport0_.flow_report_id AS flow_rep1_9_0_, flowreport0_.routenumber AS routenum2_9_0_, flowreport0_.rounddeliverydate AS rounddel3_9_0_, flowreport0_.distributionpoint AS distribu4_9_0_, flowreport0_.fullypicked AS fullypic5_9_0_, flowreport0_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, flowreport0_.causeofdelay AS causeofd7_9_0_, flowreport0_.pharmacy100checktime AS pharmacy8_9_0_, flowreport0_.linesheldback AS lineshel9_9_0_, flowreport0_.packtime100 AS packtim10_9_0_, flowreport0_.replenish AS repleni11_9_0_, flowreport0_.comment AS comment12_9_0_, flowreport0_.pickdatetime AS pickdat13_9_0_, flowreport0_.failedtargetpicktime AS failedt14_9_0_, flowreport0_.actualpaperworkcompletetime AS actualp15_9_0_, flowreport0_.changedpickdatetime AS changed16_9_0_, flowreport0_.manuallychangedpicktime AS manuall17_9_0_, flowreport0_.created AS created18_9_0_, flowreport0_.updated AS updated19_9_0_, flowreport0_.note AS note20_9_0_ FROM flow_reports flowreport0_ WHERE flowreport0_.flow_report_id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 25 06 735 29ms 0ms 07 1,349 57ms 0ms 08 3,477 149ms 0ms 09 2,014 86ms 0ms 10 3,457 139ms 0ms 11 2,434 95ms 0ms 12 2,538 89ms 0ms 13 2,709 103ms 0ms 14 1,586 65ms 0ms 15 2,753 121ms 0ms 16 608 26ms 0ms [ User: pharmisight - Total duration: 964ms - Times executed: 23660 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 964ms - Times executed: 23660 ]
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, flowreport0_.routeNumber AS routeNum2_9_0_, flowreport0_.roundDeliveryDate AS roundDel3_9_0_, flowreport0_.distributionPoint AS distribu4_9_0_, flowreport0_.fullyPicked AS fullyPic5_9_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, flowreport0_.causeOfDelay AS causeOfD7_9_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_9_0_, flowreport0_.linesHeldBack AS linesHel9_9_0_, flowreport0_.packTime100 AS packTim10_9_0_, flowreport0_.replenish AS repleni11_9_0_, flowreport0_.comment AS comment12_9_0_, flowreport0_.pickDateTime AS pickDat13_9_0_, flowreport0_.failedTargetPickTime AS failedT14_9_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_9_0_, flowreport0_.changedPickDateTime AS changed16_9_0_, flowreport0_.manuallyChangedPickTime AS manuall17_9_0_, flowreport0_.CREATED AS CREATED18_9_0_, flowreport0_.UPDATED AS UPDATED19_9_0_, flowreport0_.note AS note20_9_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = $1;
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, flowreport0_.routeNumber AS routeNum2_9_0_, flowreport0_.roundDeliveryDate AS roundDel3_9_0_, flowreport0_.distributionPoint AS distribu4_9_0_, flowreport0_.fullyPicked AS fullyPic5_9_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, flowreport0_.causeOfDelay AS causeOfD7_9_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_9_0_, flowreport0_.linesHeldBack AS linesHel9_9_0_, flowreport0_.packTime100 AS packTim10_9_0_, flowreport0_.replenish AS repleni11_9_0_, flowreport0_.comment AS comment12_9_0_, flowreport0_.pickDateTime AS pickDat13_9_0_, flowreport0_.failedTargetPickTime AS failedT14_9_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_9_0_, flowreport0_.changedPickDateTime AS changed16_9_0_, flowreport0_.manuallyChangedPickTime AS manuall17_9_0_, flowreport0_.CREATED AS CREATED18_9_0_, flowreport0_.UPDATED AS UPDATED19_9_0_, flowreport0_.note AS note20_9_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = $1;
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, flowreport0_.routeNumber AS routeNum2_9_0_, flowreport0_.roundDeliveryDate AS roundDel3_9_0_, flowreport0_.distributionPoint AS distribu4_9_0_, flowreport0_.fullyPicked AS fullyPic5_9_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, flowreport0_.causeOfDelay AS causeOfD7_9_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_9_0_, flowreport0_.linesHeldBack AS linesHel9_9_0_, flowreport0_.packTime100 AS packTim10_9_0_, flowreport0_.replenish AS repleni11_9_0_, flowreport0_.comment AS comment12_9_0_, flowreport0_.pickDateTime AS pickDat13_9_0_, flowreport0_.failedTargetPickTime AS failedT14_9_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_9_0_, flowreport0_.changedPickDateTime AS changed16_9_0_, flowreport0_.manuallyChangedPickTime AS manuall17_9_0_, flowreport0_.CREATED AS CREATED18_9_0_, flowreport0_.UPDATED AS UPDATED19_9_0_, flowreport0_.note AS note20_9_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = $1;
Date: 2019-02-25 15:15:17 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 10:09:25 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:29:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 22,020 1s94ms 0ms 1ms 0ms SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 25 00 724 36ms 0ms 01 724 36ms 0ms 02 724 36ms 0ms 03 724 36ms 0ms 04 726 36ms 0ms 05 724 36ms 0ms 06 990 44ms 0ms 07 1,628 79ms 0ms 08 1,348 67ms 0ms 09 1,274 60ms 0ms 10 1,206 59ms 0ms 11 1,034 52ms 0ms 12 1,150 53ms 0ms 13 1,068 51ms 0ms 14 1,052 52ms 0ms 15 1,092 53ms 0ms 16 764 38ms 0ms 17 726 37ms 0ms 18 722 37ms 0ms 19 720 36ms 0ms 20 722 37ms 0ms 21 724 36ms 0ms 22 726 37ms 0ms 23 728 37ms 0ms [ User: symmetricds - Total duration: 1s94ms - Times executed: 22020 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s94ms - Times executed: 22020 ]
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = $1;
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = $1;
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = $1;
Date: 2019-02-25 11:40:07 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 10:21:06 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 07:26:04 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 18,925 4s907ms 0ms 4ms 0ms UPDATE sym_outgoing_batch SET status = ?, load_id = ?, extract_job_flag = ?, load_flag = ?, error_flag = ?, byte_count = ?, extract_count = ?, sent_count = ?, load_count = ?, data_row_count = ?, reload_row_count = ?, data_insert_row_count = ?, data_update_row_count = ?, data_delete_row_count = ?, other_row_count = ?, ignore_count = ?, router_millis = ?, network_millis = ?, filter_millis = ?, load_millis = ?, extract_millis = ?, extract_start_time = ?, transfer_start_time = ?, load_start_time = ?, sql_state = ?, sql_code = ?, sql_message = ?, failed_data_id = ?, last_update_hostname = ?, last_update_time = current_timestamp, summary = ?, load_row_count = ?, load_insert_row_count = ?, load_update_row_count = ?, load_delete_row_count = ?, fallback_insert_count = ?, fallback_update_count = ?, ignore_row_count = ?, missing_delete_count = ?, skip_count = ?, extract_row_count = ?, extract_insert_row_count = ?, extract_update_row_count = ?, extract_delete_row_count = ?, transform_extract_millis = ?, transform_load_millis = ? WHERE batch_id = ? AND node_id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 25 00 41 8ms 0ms 01 40 10ms 0ms 02 33 8ms 0ms 03 42 11ms 0ms 04 51 11ms 0ms 05 32 7ms 0ms 06 1,354 309ms 0ms 07 3,356 858ms 0ms 08 2,437 639ms 0ms 09 2,148 561ms 0ms 10 1,900 504ms 0ms 11 1,232 335ms 0ms 12 1,686 419ms 0ms 13 1,349 348ms 0ms 14 1,311 363ms 0ms 15 1,442 382ms 0ms 16 194 51ms 0ms 17 47 12ms 0ms 18 28 6ms 0ms 19 28 7ms 0ms 20 36 8ms 0ms 21 36 8ms 0ms 22 48 15ms 0ms 23 54 13ms 0ms [ User: symmetricds - Total duration: 4s907ms - Times executed: 18925 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 4s907ms - Times executed: 18925 ]
-
UPDATE sym_outgoing_batch SET status = $1, load_id = $2, extract_job_flag = $3, load_flag = $4, error_flag = $5, byte_count = $6, extract_count = $7, sent_count = $8, load_count = $9, data_row_count = $10, reload_row_count = $11, data_insert_row_count = $12, data_update_row_count = $13, data_delete_row_count = $14, other_row_count = $15, ignore_count = $16, router_millis = $17, network_millis = $18, filter_millis = $19, load_millis = $20, extract_millis = $21, extract_start_time = $22, transfer_start_time = $23, load_start_time = $24, sql_state = $25, sql_code = $26, sql_message = $27, failed_data_id = $28, last_update_hostname = $29, last_update_time = current_timestamp, summary = $30, load_row_count = $31, load_insert_row_count = $32, load_update_row_count = $33, load_delete_row_count = $34, fallback_insert_count = $35, fallback_update_count = $36, ignore_row_count = $37, missing_delete_count = $38, skip_count = $39, extract_row_count = $40, extract_insert_row_count = $41, extract_update_row_count = $42, extract_delete_row_count = $43, transform_extract_millis = $44, transform_load_millis = $45 WHERE batch_id = $46 AND node_id = $47;
-
UPDATE sym_outgoing_batch SET status = $1, load_id = $2, extract_job_flag = $3, load_flag = $4, error_flag = $5, byte_count = $6, extract_count = $7, sent_count = $8, load_count = $9, data_row_count = $10, reload_row_count = $11, data_insert_row_count = $12, data_update_row_count = $13, data_delete_row_count = $14, other_row_count = $15, ignore_count = $16, router_millis = $17, network_millis = $18, filter_millis = $19, load_millis = $20, extract_millis = $21, extract_start_time = $22, transfer_start_time = $23, load_start_time = $24, sql_state = $25, sql_code = $26, sql_message = $27, failed_data_id = $28, last_update_hostname = $29, last_update_time = current_timestamp, summary = $30, load_row_count = $31, load_insert_row_count = $32, load_update_row_count = $33, load_delete_row_count = $34, fallback_insert_count = $35, fallback_update_count = $36, ignore_row_count = $37, missing_delete_count = $38, skip_count = $39, extract_row_count = $40, extract_insert_row_count = $41, extract_update_row_count = $42, extract_delete_row_count = $43, transform_extract_millis = $44, transform_load_millis = $45 WHERE batch_id = $46 AND node_id = $47;
-
UPDATE sym_outgoing_batch SET status = $1, load_id = $2, extract_job_flag = $3, load_flag = $4, error_flag = $5, byte_count = $6, extract_count = $7, sent_count = $8, load_count = $9, data_row_count = $10, reload_row_count = $11, data_insert_row_count = $12, data_update_row_count = $13, data_delete_row_count = $14, other_row_count = $15, ignore_count = $16, router_millis = $17, network_millis = $18, filter_millis = $19, load_millis = $20, extract_millis = $21, extract_start_time = $22, transfer_start_time = $23, load_start_time = $24, sql_state = $25, sql_code = $26, sql_message = $27, failed_data_id = $28, last_update_hostname = $29, last_update_time = current_timestamp, summary = $30, load_row_count = $31, load_insert_row_count = $32, load_update_row_count = $33, load_delete_row_count = $34, fallback_insert_count = $35, fallback_update_count = $36, ignore_row_count = $37, missing_delete_count = $38, skip_count = $39, extract_row_count = $40, extract_insert_row_count = $41, extract_update_row_count = $42, extract_delete_row_count = $43, transform_extract_millis = $44, transform_load_millis = $45 WHERE batch_id = $46 AND node_id = $47;
Date: 2019-02-25 09:37:06 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 11:57:07 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 14:54:09 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 18,699 264ms 0ms 0ms 0ms SET session characteristics AS TRANSACTION ISOLATION level read UNCOMMITTED;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 25 00 388 6ms 0ms 01 388 6ms 0ms 02 385 6ms 0ms 03 388 6ms 0ms 04 392 6ms 0ms 05 385 6ms 0ms 06 929 12ms 0ms 07 2,283 30ms 0ms 08 1,639 21ms 0ms 09 1,494 19ms 0ms 10 1,355 18ms 0ms 11 1,005 13ms 0ms 12 1,243 16ms 0ms 13 1,079 14ms 0ms 14 1,046 14ms 0ms 15 1,125 15ms 0ms 16 465 7ms 0ms 17 392 6ms 0ms 18 381 6ms 0ms 19 381 6ms 0ms 20 386 6ms 0ms 21 385 6ms 0ms 22 389 6ms 0ms 23 396 6ms 0ms [ User: symmetricds - Total duration: 264ms - Times executed: 18699 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 264ms - Times executed: 18699 ]
-
SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
-
SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
-
SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
Date: 2019-02-25 13:18:08 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 07:20:05 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 10:22:06 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 18,699 217ms 0ms 0ms 0ms SET session characteristics AS TRANSACTION ISOLATION level read COMMITTED;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 25 00 388 4ms 0ms 01 388 4ms 0ms 02 385 4ms 0ms 03 388 4ms 0ms 04 392 4ms 0ms 05 385 4ms 0ms 06 926 10ms 0ms 07 2,283 26ms 0ms 08 1,642 19ms 0ms 09 1,491 17ms 0ms 10 1,356 15ms 0ms 11 1,007 11ms 0ms 12 1,243 14ms 0ms 13 1,076 12ms 0ms 14 1,047 12ms 0ms 15 1,124 13ms 0ms 16 468 5ms 0ms 17 392 4ms 0ms 18 381 4ms 0ms 19 380 4ms 0ms 20 384 4ms 0ms 21 385 4ms 0ms 22 392 4ms 0ms 23 396 4ms 0ms [ User: symmetricds - Total duration: 217ms - Times executed: 18699 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 217ms - Times executed: 18699 ]
-
SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ COMMITTED;
-
SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ COMMITTED;
-
SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ COMMITTED;
Date: 2019-02-25 15:23:09 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:18:08 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 14:48:09 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 0ms 3m6s 1s125ms 166 3m6s UPDATE patients SET patientname = ?, patientdateofbirth = ?, patientpostcode = ?, customer = ?, sapcustomerid = ?, status = ?, firstname = ?, middlename = ?, lastname = ?, ispatientalert = ?, caloriesday = ?, isdirectbill = ?, ismetabolic = ?, isdiabetic = ?, individuallabelling = ?, nhsnumber = ?, created = ?, createdby = ?, updated = ?, updatedby = ?, note = ?, historylog = ? WHERE patient_id = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 25 06 165 3m6s 1s131ms 08 1 5ms 5ms [ User: pharmisight - Total duration: 3m6s - Times executed: 166 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3m6s - Times executed: 166 ]
-
UPDATE PATIENTS SET patientName = $1, patientDateOfBirth = $2, patientPostcode = $3, customer = $4, sapCustomerId = $5, status = $6, firstName = $7, middleName = $8, lastName = $9, isPatientAlert = $10, caloriesDay = $11, isDirectBill = $12, isMetabolic = $13, isDiabetic = $14, individualLabelling = $15, NHSnumber = $16, created = $17, createdBy = $18, updated = $19, updatedBy = $20, note = $21, historyLog = $22 WHERE PATIENT_ID = $23;
-
UPDATE PATIENTS SET patientName = $1, patientDateOfBirth = $2, patientPostcode = $3, customer = $4, sapCustomerId = $5, status = $6, firstName = $7, middleName = $8, lastName = $9, isPatientAlert = $10, caloriesDay = $11, isDirectBill = $12, isMetabolic = $13, isDiabetic = $14, individualLabelling = $15, NHSnumber = $16, created = $17, createdBy = $18, updated = $19, updatedBy = $20, note = $21, historyLog = $22 WHERE PATIENT_ID = $23;
-
UPDATE PATIENTS SET patientName = $1, patientDateOfBirth = $2, patientPostcode = $3, customer = $4, sapCustomerId = $5, status = $6, firstName = $7, middleName = $8, lastName = $9, isPatientAlert = $10, caloriesDay = $11, isDirectBill = $12, isMetabolic = $13, isDiabetic = $14, individualLabelling = $15, NHSnumber = $16, created = $17, createdBy = $18, updated = $19, updatedBy = $20, note = $21, historyLog = $22 WHERE PATIENT_ID = $23;
Date: 2019-02-25 06:10:52 Duration: 3m6s Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:13:59 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:07:40 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 28ms 74ms 53ms 178 9s599ms SELECT epscheckli0_.eps_check_id AS eps_chec9_5_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_1_, epscheckli0_.orderlineid AS orderlin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.issnomedmismatch AS issnomed6_6_1_, epscheckli0_.isorderqtymismatch AS isorderq7_6_1_, epscheckli0_.ishit AS ishit8_6_1_ FROM eps_check_lines epscheckli0_ WHERE epscheckli0_.eps_check_id = ? ORDER BY epscheckli0_.description ASC;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 25 06 25 1s423ms 56ms 07 45 2s489ms 55ms 08 63 3s119ms 49ms 09 10 562ms 56ms 10 34 1s944ms 57ms 13 1 60ms 60ms [ User: pharmisight - Total duration: 9s599ms - Times executed: 178 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s599ms - Times executed: 178 ]
-
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 = $1 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 = $1 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 = $1 ORDER BY epscheckli0_.description ASC;
Date: 2019-02-25 08:27:16 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:36:36 Duration: 73ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:36:38 Duration: 69ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 0ms 4s354ms 45ms 702 32s194ms 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 = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 25 06 134 13s507ms 100ms 07 27 66ms 2ms 08 77 96ms 1ms 09 48 55ms 1ms 10 59 81ms 1ms 11 41 63ms 1ms 12 73 75ms 1ms 13 60 7s823ms 130ms 14 45 71ms 1ms 15 106 10s294ms 97ms 16 32 59ms 1ms [ User: pharmisight - Total duration: 32s194ms - Times executed: 702 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 32s194ms - Times executed: 702 ]
-
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;
-
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;
-
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: 2019-02-25 15:48:15 Duration: 4s354ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:06:12 Duration: 4s84ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:06:10 Duration: 3s684ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 16ms 87ms 31ms 1,594 50s298ms SELECT count(*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 25 06 64 2s115ms 33ms 07 68 2s355ms 34ms 08 212 7s129ms 33ms 09 102 3s383ms 33ms 10 233 7s206ms 30ms 11 139 4s368ms 31ms 12 175 4s675ms 26ms 13 152 4s431ms 29ms 14 140 4s356ms 31ms 15 253 8s518ms 33ms 16 56 1s758ms 31ms [ User: pharmisight - Total duration: 50s298ms - Times executed: 1594 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 50s298ms - Times executed: 1594 ]
-
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: 2019-02-25 15:14:59 Duration: 87ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:37:37 Duration: 69ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:15:05 Duration: 67ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 15ms 63ms 25ms 603 15s585ms SELECT this_.order_round_id AS order_ro1_28_1_, this_.routenumber AS routenum2_28_1_, this_.uploadedbyuserid AS uploaded3_28_1_, this_.uploadedbyusername AS uploaded4_28_1_, this_.updatedby AS updatedb5_28_1_, this_.updatedbyusername AS updatedb6_28_1_, this_.orderroundnote AS orderrou7_28_1_, this_.firstcheckout AS firstche8_28_1_, this_.allordersscannedok AS allorder9_28_1_, this_.status AS status10_28_1_, this_.reopenedtimes AS reopene11_28_1_, this_.lastreopenbyid AS lastreo12_28_1_, this_.lastdonecheckin AS lastdon13_28_1_, this_.lastdonebyid AS lastdon14_28_1_, this_.lastdonebyusername AS lastdon15_28_1_, this_.missinglabels AS missing16_28_1_, this_.rounddeliverydate AS roundde17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadupdated AS uploadu21_28_1_, this_.patientalert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxstatus AS rxstatu24_28_1_, this_.distributionpoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedby AS audited27_28_1_, this_.auditstatus AS auditst28_28_1_, this_.uploadfinished AS uploadf29_28_1_, this_.lastrxcompleted AS lastrxc30_28_1_, this_.lastrxcompletedby AS lastrxc31_28_1_, this_.orderroundnotereadby AS orderro32_28_1_, this_.routeorderlinesqty AS routeor33_28_1_, this_.dlxpickedlinesqty AS dlxpick34_28_1_, this_.flowreport AS flowrep35_28_1_, this_.created AS created36_28_1_, this_.createdby AS created37_28_1_, this_.updated AS updated38_28_1_, this_.note AS note39_28_1_, f1_.flow_report_id AS flow_rep1_9_0_, f1_.routenumber AS routenum2_9_0_, f1_.rounddeliverydate AS rounddel3_9_0_, f1_.distributionpoint AS distribu4_9_0_, f1_.fullypicked AS fullypic5_9_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, f1_.causeofdelay AS causeofd7_9_0_, f1_.pharmacy100checktime AS pharmacy8_9_0_, f1_.linesheldback AS lineshel9_9_0_, f1_.packtime100 AS packtim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickdatetime AS pickdat13_9_0_, f1_.failedtargetpicktime AS failedt14_9_0_, f1_.actualpaperworkcompletetime AS actualp15_9_0_, f1_.changedpickdatetime AS changed16_9_0_, f1_.manuallychangedpicktime AS manuall17_9_0_, f1_.created AS created18_9_0_, f1_.updated AS updated19_9_0_, f1_.note AS note20_9_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> ? AND this_.created > ? AND this_.created < ? ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 25 06 64 1s673ms 26ms 08 12 336ms 28ms 09 32 940ms 29ms 10 50 1s257ms 25ms 11 65 1s783ms 27ms 12 160 3s779ms 23ms 13 100 2s572ms 25ms 14 48 1s381ms 28ms 15 50 1s265ms 25ms 16 22 594ms 27ms [ User: pharmisight - Total duration: 15s585ms - Times executed: 603 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s585ms - Times executed: 603 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-02-25 09:22:34 Duration: 63ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 12:39:18 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 14:17:00 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 11ms 56ms 22ms 343 7s675ms SELECT alerts0_.alert_confirmation_id AS alert_c10_1_0_, alerts0_.alert_id AS alert_id1_0_0_, alerts0_.alert_id AS alert_id1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientnote AS patientn3_0_1_, alerts0_.itemnote AS itemnote4_0_1_, alerts0_.confirmedchecker AS confirme5_0_1_, alerts0_.confirmedcheckerby AS confirme6_0_1_, alerts0_.isconfirmedbybarcode AS isconfir7_0_1_, alerts0_.confirmedpharmacist AS confirme8_0_1_, alerts0_.confirmedpharmacistby AS confirme9_0_1_ FROM alerts alerts0_ WHERE alerts0_.alert_confirmation_id = ? ORDER BY alerts0_.created ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 25 06 14 320ms 22ms 07 81 1s884ms 23ms 08 71 1s492ms 21ms 09 46 1s43ms 22ms 10 29 593ms 20ms 11 18 437ms 24ms 12 48 1s22ms 21ms 13 7 171ms 24ms 14 17 403ms 23ms 15 12 306ms 25ms [ User: pharmisight - Total duration: 7s675ms - Times executed: 343 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s675ms - Times executed: 343 ]
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
Date: 2019-02-25 15:24:10 Duration: 56ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 07:57:03 Duration: 42ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 11:35:05 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 12ms 39ms 17ms 704 12s604ms SELECT this_.flow_report_id AS flow_rep1_9_0_, this_.routenumber AS routenum2_9_0_, this_.rounddeliverydate AS rounddel3_9_0_, this_.distributionpoint AS distribu4_9_0_, this_.fullypicked AS fullypic5_9_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, this_.causeofdelay AS causeofd7_9_0_, this_.pharmacy100checktime AS pharmacy8_9_0_, this_.linesheldback AS lineshel9_9_0_, this_.packtime100 AS packtim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickdatetime AS pickdat13_9_0_, this_.failedtargetpicktime AS failedt14_9_0_, this_.actualpaperworkcompletetime AS actualp15_9_0_, this_.changedpickdatetime AS changed16_9_0_, this_.manuallychangedpicktime AS manuall17_9_0_, this_.created AS created18_9_0_, this_.updated AS updated19_9_0_, this_.note AS note20_9_0_ FROM flow_reports this_ WHERE this_.created > ? AND this_.created < ? ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 25 06 130 2s586ms 19ms 08 15 354ms 23ms 09 37 821ms 22ms 10 59 1s101ms 18ms 11 69 1s269ms 18ms 12 168 2s701ms 16ms 13 104 1s686ms 16ms 14 48 750ms 15ms 15 52 892ms 17ms 16 22 441ms 20ms [ User: pharmisight - Total duration: 12s604ms - Times executed: 704 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s604ms - Times executed: 704 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-02-25 10:24:08 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:37:20 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 11:47:56 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 2ms 55ms 12ms 1,594 20s532ms SELECT * FROM order_lines WHERE (deliverydate = ? AND status <> ?) AND ((agecheck = ? OR agecheck = ? OR agecheck = ?) 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 Feb 25 06 64 667ms 10ms 07 68 823ms 12ms 08 212 2s798ms 13ms 09 102 1s368ms 13ms 10 233 2s883ms 12ms 11 139 1s839ms 13ms 12 175 1s976ms 11ms 13 152 1s799ms 11ms 14 140 1s999ms 14ms 15 253 3s624ms 14ms 16 56 750ms 13ms [ User: pharmisight - Total duration: 20s532ms - Times executed: 1594 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s532ms - Times executed: 1594 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 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 = $1 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 = $1 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: 2019-02-25 12:10:53 Duration: 55ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 14:31:13 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 12:52:17 Duration: 44ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 0ms 172ms 6ms 1,241 8s534ms SELECT orders0_.patient_id AS patient43_33_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.patient_id = ? ORDER BY orders0_.created DESC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 25 06 1,159 8s437ms 7ms 07 10 8ms 0ms 08 27 18ms 0ms 09 8 5ms 0ms 10 21 18ms 0ms 11 1 0ms 0ms 13 4 13ms 3ms 14 10 30ms 3ms 15 1 0ms 0ms [ User: pharmisight - Total duration: 8s534ms - Times executed: 1241 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s534ms - Times executed: 1241 ]
-
SELECT orders0_.PATIENT_ID AS PATIENT43_33_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = $1 ORDER BY orders0_.CREATED DESC;
-
SELECT orders0_.PATIENT_ID AS PATIENT43_33_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = $1 ORDER BY orders0_.CREATED DESC;
-
SELECT orders0_.PATIENT_ID AS PATIENT43_33_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = $1 ORDER BY orders0_.CREATED DESC;
Date: 2019-02-25 06:05:20 Duration: 172ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:06:34 Duration: 167ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:06:15 Duration: 116ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 0ms 179ms 6ms 1,911 11s904ms SELECT this_.order_line_id AS order_li1_24_0_, this_.routenumber AS routenum2_24_0_, this_.sapordernumber AS saporder3_24_0_, this_.ordernumber AS ordernum4_24_0_, this_.answerordernumber AS answeror5_24_0_, this_.partcode AS partcode6_24_0_, this_.partdescription AS partdesc7_24_0_, this_.patientname AS patientn8_24_0_, this_.firstname AS firstnam9_24_0_, this_.middlename AS middlen10_24_0_, this_.lastname AS lastnam11_24_0_, this_.patientdateofbirth AS patient12_24_0_, this_.patientpostcode AS patient13_24_0_, this_.patientpostcodeprefix AS patient14_24_0_, this_.orderqty AS orderqt15_24_0_, this_.allocqty AS allocqt16_24_0_, this_.shipqty AS shipqty17_24_0_, this_.adjustedqty AS adjuste18_24_0_, this_.scannedqty AS scanned19_24_0_, this_.assignedqty AS assigne20_24_0_, this_.checkedqty AS checked21_24_0_, this_.backorderqty AS backord22_24_0_, this_.cancelqty AS cancelq23_24_0_, this_.reducedqty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliverydate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapcustomerid AS sapcust29_24_0_, this_.billtotype AS billtot30_24_0_, this_.barcodedate AS barcode31_24_0_, this_.barcodebatch AS barcode32_24_0_, this_.patientid AS patient33_24_0_, this_.isadded AS isadded34_24_0_, this_.isnotwithinage AS isnotwi35_24_0_, this_.isunderage AS isunder36_24_0_, this_.agecheck AS agechec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.ispaperworkproblem AS ispaper40_24_0_, this_.paperworkresolution AS paperwo41_24_0_, this_.pickerid AS pickeri42_24_0_, this_.specialcare AS special43_24_0_, this_.paperworkenquirystarted AS paperwo44_24_0_, this_.paperworkenquiryfinished AS paperwo45_24_0_, this_.paperworkenquiryresponse AS paperwo46_24_0_, this_.isnewproduct AS isnewpr47_24_0_, this_.extraprocedure AS extrapr48_24_0_, this_.overaverageqtymax AS overave49_24_0_, this_.overaverageqtyresolution AS overave50_24_0_, this_.createuser AS createu51_24_0_, this_.patientalert AS patient52_24_0_, this_.itemalert AS itemale53_24_0_, this_.checkerid AS checker54_24_0_, this_.reductionsummary AS reducti55_24_0_, this_.ismetabolic AS ismetab56_24_0_, this_.rxstatus AS rxstatu57_24_0_, this_.lastregupdateusertype AS lastreg58_24_0_, this_.lastregupdateusername AS lastreg59_24_0_, this_.lastregupdatedate AS lastreg60_24_0_, this_.sapplannedshipdate AS sapplan61_24_0_, this_.sapplanneddeliverydate AS sapplan62_24_0_, this_.requestedsapquantity AS request63_24_0_, this_.orderquantity AS orderqu64_24_0_, this_.reglinecreatedusertype AS regline65_24_0_, this_.reglinecreatedusername AS regline66_24_0_, this_.reglinecreateddate AS regline67_24_0_, this_.audited AS audited68_24_0_, this_.ismetabolicpatient AS ismetab69_24_0_, this_.addedcase AS addedca70_24_0_, this_.ordertype AS orderty71_24_0_, this_.created AS created72_24_0_, this_.updated AS updated73_24_0_, this_.rxcheckby AS rxcheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertconfirmation AS alertco77_24_0_, this_.homewardaction AS homewar78_24_0_ FROM order_lines this_ WHERE this_.patientid = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 25 06 1,883 11s766ms 6ms 07 4 4ms 1ms 08 11 42ms 3ms 09 2 0ms 0ms 10 6 11ms 1ms 11 1 8ms 8ms 13 3 70ms 23ms 15 1 0ms 0ms [ User: pharmisight - Total duration: 11s904ms - Times executed: 1911 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s904ms - Times executed: 1911 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
Date: 2019-02-25 06:10:55 Duration: 179ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:12:00 Duration: 115ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:12:35 Duration: 110ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 0ms 15ms 3ms 6,376 20s71ms SELECT count(*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = ? AND this_.rxstatus = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 25 06 256 657ms 2ms 07 272 806ms 2ms 08 848 2s693ms 3ms 09 408 1s302ms 3ms 10 932 2s826ms 3ms 11 556 1s768ms 3ms 12 700 1s901ms 2ms 13 608 1s843ms 3ms 14 560 1s849ms 3ms 15 1,012 3s669ms 3ms 16 224 750ms 3ms [ User: pharmisight - Total duration: 20s71ms - Times executed: 6376 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s71ms - Times executed: 6376 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
Date: 2019-02-25 12:44:14 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 14:11:48 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:07:54 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 0ms 35ms 2ms 7,146 15s548ms UPDATE order_lines SET 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 = ? WHERE order_line_id = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 25 06 2,818 3s902ms 1ms 07 1,138 2s894ms 2ms 08 992 2s433ms 2ms 09 568 1s538ms 2ms 10 466 1s273ms 2ms 11 172 615ms 3ms 12 387 921ms 2ms 13 203 519ms 2ms 14 199 770ms 3ms 15 174 585ms 3ms 16 8 70ms 8ms 17 21 22ms 1ms [ User: pharmisight - Total duration: 15s548ms - Times executed: 7146 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s548ms - Times executed: 7146 ]
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
Date: 2019-02-25 07:27:06 Duration: 35ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:52:46 Duration: 25ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 14:26:37 Duration: 22ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 0ms 30ms 0ms 13,684 8s754ms UPDATE order_line_activities SET order_line_id = ? WHERE order_line_activity_id = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 25 06 749 541ms 0ms 07 1,740 1s169ms 0ms 08 2,549 1s610ms 0ms 09 1,846 1s162ms 0ms 10 1,630 1s10ms 0ms 11 759 512ms 0ms 12 1,549 900ms 0ms 13 1,030 572ms 0ms 14 1,009 681ms 0ms 15 789 524ms 0ms 16 34 66ms 1ms [ User: pharmisight - Total duration: 8s754ms - Times executed: 13684 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s754ms - Times executed: 13684 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
Date: 2019-02-25 16:38:30 Duration: 30ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:13:55 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 09:57:19 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 0ms 14ms 0ms 62,422 39s770ms SELECT orderlines0_.order_round_id AS order_r80_28_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = ? ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 25 06 6,510 4s669ms 0ms 07 76 79ms 1ms 08 1,461 1s165ms 0ms 09 3,393 2s680ms 0ms 10 5,096 3s371ms 0ms 11 6,679 4s291ms 0ms 12 16,612 9s493ms 0ms 13 10,173 6s382ms 0ms 14 4,426 2s707ms 0ms 15 5,352 3s198ms 0ms 16 2,473 1s593ms 0ms 17 1 1ms 1ms 20 170 134ms 0ms [ User: pharmisight - Total duration: 39s770ms - Times executed: 62422 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 39s770ms - Times executed: 62422 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-02-25 20:32:00 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 13:09:58 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 12:59:22 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 0ms 10ms 0ms 13,684 8s337ms INSERT INTO order_line_activities (status, reason, scannedqty, assignedqty, backorderqty, barcode, barcodedate, barcodebatch, expiration, cancelqty, reducedqty, mispickitemcode, created, missinglabels, order_line_activity_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 25 06 749 486ms 0ms 07 1,740 1s134ms 0ms 08 2,549 1s532ms 0ms 09 1,846 1s93ms 0ms 10 1,630 975ms 0ms 11 759 512ms 0ms 12 1,549 855ms 0ms 13 1,030 558ms 0ms 14 1,009 651ms 0ms 15 789 510ms 0ms 16 34 28ms 0ms [ User: pharmisight - Total duration: 8s337ms - Times executed: 13684 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s337ms - Times executed: 13684 ]
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
Date: 2019-02-25 07:11:46 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 11:07:52 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 10:18:41 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 0ms 2ms 0ms 17,167 9s428ms SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 25 00 717 393ms 0ms 01 716 401ms 0ms 02 718 407ms 0ms 03 716 404ms 0ms 04 716 393ms 0ms 05 718 404ms 0ms 06 708 356ms 0ms 07 710 381ms 0ms 08 712 377ms 0ms 09 714 381ms 0ms 10 714 381ms 0ms 11 716 391ms 0ms 12 714 379ms 0ms 13 716 382ms 0ms 14 714 387ms 0ms 15 716 389ms 0ms 16 716 402ms 0ms 17 716 411ms 0ms 18 718 407ms 0ms 19 716 408ms 0ms 20 716 399ms 0ms 21 718 395ms 0ms 22 716 398ms 0ms 23 716 392ms 0ms [ User: symmetricds - Total duration: 9s428ms - Times executed: 17167 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s428ms - Times executed: 17167 ]
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
Date: 2019-02-25 12:49:05 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 12:49:05 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 10:24:13 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 0ms 4ms 0ms 18,925 4s907ms UPDATE sym_outgoing_batch SET status = ?, load_id = ?, extract_job_flag = ?, load_flag = ?, error_flag = ?, byte_count = ?, extract_count = ?, sent_count = ?, load_count = ?, data_row_count = ?, reload_row_count = ?, data_insert_row_count = ?, data_update_row_count = ?, data_delete_row_count = ?, other_row_count = ?, ignore_count = ?, router_millis = ?, network_millis = ?, filter_millis = ?, load_millis = ?, extract_millis = ?, extract_start_time = ?, transfer_start_time = ?, load_start_time = ?, sql_state = ?, sql_code = ?, sql_message = ?, failed_data_id = ?, last_update_hostname = ?, last_update_time = current_timestamp, summary = ?, load_row_count = ?, load_insert_row_count = ?, load_update_row_count = ?, load_delete_row_count = ?, fallback_insert_count = ?, fallback_update_count = ?, ignore_row_count = ?, missing_delete_count = ?, skip_count = ?, extract_row_count = ?, extract_insert_row_count = ?, extract_update_row_count = ?, extract_delete_row_count = ?, transform_extract_millis = ?, transform_load_millis = ? WHERE batch_id = ? AND node_id = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 25 00 41 8ms 0ms 01 40 10ms 0ms 02 33 8ms 0ms 03 42 11ms 0ms 04 51 11ms 0ms 05 32 7ms 0ms 06 1,354 309ms 0ms 07 3,356 858ms 0ms 08 2,437 639ms 0ms 09 2,148 561ms 0ms 10 1,900 504ms 0ms 11 1,232 335ms 0ms 12 1,686 419ms 0ms 13 1,349 348ms 0ms 14 1,311 363ms 0ms 15 1,442 382ms 0ms 16 194 51ms 0ms 17 47 12ms 0ms 18 28 6ms 0ms 19 28 7ms 0ms 20 36 8ms 0ms 21 36 8ms 0ms 22 48 15ms 0ms 23 54 13ms 0ms [ User: symmetricds - Total duration: 4s907ms - Times executed: 18925 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 4s907ms - Times executed: 18925 ]
-
UPDATE sym_outgoing_batch SET status = $1, load_id = $2, extract_job_flag = $3, load_flag = $4, error_flag = $5, byte_count = $6, extract_count = $7, sent_count = $8, load_count = $9, data_row_count = $10, reload_row_count = $11, data_insert_row_count = $12, data_update_row_count = $13, data_delete_row_count = $14, other_row_count = $15, ignore_count = $16, router_millis = $17, network_millis = $18, filter_millis = $19, load_millis = $20, extract_millis = $21, extract_start_time = $22, transfer_start_time = $23, load_start_time = $24, sql_state = $25, sql_code = $26, sql_message = $27, failed_data_id = $28, last_update_hostname = $29, last_update_time = current_timestamp, summary = $30, load_row_count = $31, load_insert_row_count = $32, load_update_row_count = $33, load_delete_row_count = $34, fallback_insert_count = $35, fallback_update_count = $36, ignore_row_count = $37, missing_delete_count = $38, skip_count = $39, extract_row_count = $40, extract_insert_row_count = $41, extract_update_row_count = $42, extract_delete_row_count = $43, transform_extract_millis = $44, transform_load_millis = $45 WHERE batch_id = $46 AND node_id = $47;
-
UPDATE sym_outgoing_batch SET status = $1, load_id = $2, extract_job_flag = $3, load_flag = $4, error_flag = $5, byte_count = $6, extract_count = $7, sent_count = $8, load_count = $9, data_row_count = $10, reload_row_count = $11, data_insert_row_count = $12, data_update_row_count = $13, data_delete_row_count = $14, other_row_count = $15, ignore_count = $16, router_millis = $17, network_millis = $18, filter_millis = $19, load_millis = $20, extract_millis = $21, extract_start_time = $22, transfer_start_time = $23, load_start_time = $24, sql_state = $25, sql_code = $26, sql_message = $27, failed_data_id = $28, last_update_hostname = $29, last_update_time = current_timestamp, summary = $30, load_row_count = $31, load_insert_row_count = $32, load_update_row_count = $33, load_delete_row_count = $34, fallback_insert_count = $35, fallback_update_count = $36, ignore_row_count = $37, missing_delete_count = $38, skip_count = $39, extract_row_count = $40, extract_insert_row_count = $41, extract_update_row_count = $42, extract_delete_row_count = $43, transform_extract_millis = $44, transform_load_millis = $45 WHERE batch_id = $46 AND node_id = $47;
-
UPDATE sym_outgoing_batch SET status = $1, load_id = $2, extract_job_flag = $3, load_flag = $4, error_flag = $5, byte_count = $6, extract_count = $7, sent_count = $8, load_count = $9, data_row_count = $10, reload_row_count = $11, data_insert_row_count = $12, data_update_row_count = $13, data_delete_row_count = $14, other_row_count = $15, ignore_count = $16, router_millis = $17, network_millis = $18, filter_millis = $19, load_millis = $20, extract_millis = $21, extract_start_time = $22, transfer_start_time = $23, load_start_time = $24, sql_state = $25, sql_code = $26, sql_message = $27, failed_data_id = $28, last_update_hostname = $29, last_update_time = current_timestamp, summary = $30, load_row_count = $31, load_insert_row_count = $32, load_update_row_count = $33, load_delete_row_count = $34, fallback_insert_count = $35, fallback_update_count = $36, ignore_row_count = $37, missing_delete_count = $38, skip_count = $39, extract_row_count = $40, extract_insert_row_count = $41, extract_update_row_count = $42, extract_delete_row_count = $43, transform_extract_millis = $44, transform_load_millis = $45 WHERE batch_id = $46 AND node_id = $47;
Date: 2019-02-25 09:37:06 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 11:57:07 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 14:54:09 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 9ms 0ms 74,975 18s193ms SELECT orders0_.order_round_id AS order_r42_28_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.order_round_id = ? ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Feb 25 06 7,416 2s36ms 0ms 07 1,502 576ms 0ms 08 3,264 968ms 0ms 09 4,718 1s410ms 0ms 10 6,755 1s709ms 0ms 11 7,981 1s934ms 0ms 12 17,945 3s818ms 0ms 13 11,932 2s739ms 0ms 14 4,906 1s104ms 0ms 15 5,923 1s285ms 0ms 16 2,463 569ms 0ms 17 56 12ms 0ms 20 114 26ms 0ms [ User: pharmisight - Total duration: 18s193ms - Times executed: 74975 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s193ms - Times executed: 74975 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
Date: 2019-02-25 13:07:56 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 15:18:42 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:12:47 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 1s821ms 0ms 231,087 27s412ms COMMIT;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Feb 25 00 5,803 187ms 0ms 01 5,682 187ms 0ms 02 5,667 169ms 0ms 03 5,686 173ms 0ms 04 5,693 175ms 0ms 05 5,659 179ms 0ms 06 20,585 4s407ms 0ms 07 25,109 4s405ms 0ms 08 18,260 3s132ms 0ms 09 13,831 2s325ms 0ms 10 13,975 2s86ms 0ms 11 10,522 1s368ms 0ms 12 13,423 2s5ms 0ms 13 11,338 1s518ms 0ms 14 11,046 1s546ms 0ms 15 11,734 1s516ms 0ms 16 6,784 423ms 0ms 17 5,695 189ms 0ms 18 6,432 514ms 0ms 19 5,605 156ms 0ms 20 5,609 172ms 0ms 21 5,623 159ms 0ms 22 5,654 214ms 0ms 23 5,672 195ms 0ms [ User: symmetricds - Total duration: 19s609ms - Times executed: 199406 ]
[ User: pharmisight - Total duration: 7s802ms - Times executed: 31681 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 27s376ms - Times executed: 231046 ]
[ Application: [unknown] - Total duration: 35ms - Times executed: 41 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-02-25 06:15:05 Duration: 1s821ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 07:45:04 Duration: 635ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 06:21:02 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 0ms 11ms 0ms 99,514 10s650ms SELECT orderlines0_.order_id AS order_i79_22_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = ? ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 25 06 6,778 549ms 0ms 07 17,227 1s623ms 0ms 08 12,483 1s828ms 0ms 09 11,927 1s248ms 0ms 10 11,367 1s790ms 0ms 11 5,962 555ms 0ms 12 13,116 1s151ms 0ms 13 7,834 668ms 0ms 14 5,493 557ms 0ms 15 5,515 520ms 0ms 16 639 58ms 0ms 17 1,173 96ms 0ms [ User: pharmisight - Total duration: 10s650ms - Times executed: 99514 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s650ms - Times executed: 99514 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
Date: 2019-02-25 08:39:44 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:21:08 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-02-25 08:21:08 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
-
Events
Log levels
Key values
- 7,950,523 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 17 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 15 Max number of times the same event was reported
- 17 Total events found
Rank Times reported Error 1 15 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 25 06 9 13 2 15 4 - ERROR: process 13897 still waiting for ShareLock on transaction 39663793 after 1000.104 ms
- ERROR: process 13636 still waiting for ShareLock on transaction 39663804 after 1000.170 ms
- ERROR: process 13517 still waiting for ShareLock on transaction 39662954 after 1000.166 ms
Detail: Process holding the lock: 13636. Wait queue: 13897.
Context: while updating tuple (1035,20) 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: 2019-02-25 06:22:14 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 13897. Wait queue: 13636.
Context: while updating tuple (1039,9) 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: 2019-02-25 06:22:29 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 13511. Wait queue: 13517.
Context: while updating tuple (1408,97) in relation "patients"
Statement: update PATIENTS set patientName=$1, patientDateOfBirth=$2, patientPostcode=$3, customer=$4, sapCustomerId=$5, status=$6, firstName=$7, middleName=$8, lastName=$9, isPatientAlert=$10, caloriesDay=$11, isDirectBill=$12, isMetabolic=$13, isDiabetic=$14, individualLabelling=$15, NHSnumber=$16, created=$17, createdBy=$18, updated=$19, updatedBy=$20, note=$21, historyLog=$22 where PATIENT_ID=$23Date: 2019-02-25 06:07:47 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
2 2 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 25 13 1 15 1 - ERROR: process 23508 still waiting for ExclusiveLock on tuple (1037,19) of relation 142522 of database 16401 after 1000.133 ms
- ERROR: process 28338 still waiting for ExclusiveLock on tuple (1039,27) of relation 142522 of database 16401 after 1000.105 ms
Detail: Process holding the lock: 23000. Wait queue: 23508.
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: 2019-02-25 13:06:09 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 28454. Wait queue: 28338.
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: 2019-02-25 15:48:12 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code: