-
Global information
- Generated on Sat Aug 17 00:00:29 2019
- Log file: /var/log/postgresql/postgresql-11-main.log.1
- Parsed 8,424,731 log entries in 27s
- Log start from 2019-08-16 00:00:00 to 2019-08-16 23:59:59
-
Overview
Global Stats
- 1,696 Number of unique normalized queries
- 2,520,957 Number of queries
- 15m10s Total query duration
- 2019-08-16 00:00:00 First query
- 2019-08-16 23:59:59 Last query
- 10,556 queries/s at 2019-08-16 06:02:52 Query peak
- 3 Number of events
- 1 Number of unique normalized events
- 3 Max number of times the same event was reported
- 0 Number of cancellation
- 107 Total number of automatic vacuums
- 198 Total number of automatic analyzes
- 3 Number temporary file
- 9.85 MiB Max size of temporary file
- 9.77 MiB Average size of temporary file
- 1,918 Total number of sessions
- 3 sessions at 2019-08-16 12:24:58 Session peak
- 15d22h1m35s Total duration of sessions
- 11m57s Average duration of sessions
- 1,314 Average queries per session
- 474ms Average queries duration per session
- 1,915 Total number of connections
- 18 connections/s at 2019-08-16 00:30:29 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 10,556 queries/s Query Peak
- 2019-08-16 06:02:52 Date
SELECT Traffic
Key values
- 2,193 queries/s Query Peak
- 2019-08-16 12:20:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 10,475 queries/s Query Peak
- 2019-08-16 06:02:52 Date
Queries duration
Key values
- 15m10s Total query duration
Prepared queries ratio
Key values
- 2.65 Ratio of bind vs prepare
- 128.92 % 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) Aug 16 00 55,859 0ms 396ms 0ms 90ms 242ms 1s901ms 01 47,549 0ms 88ms 0ms 72ms 131ms 466ms 02 46,822 0ms 82ms 0ms 58ms 70ms 506ms 03 47,290 0ms 75ms 0ms 64ms 81ms 444ms 04 46,414 0ms 86ms 0ms 63ms 72ms 510ms 05 72,474 0ms 252ms 0ms 508ms 7s974ms 12s532ms 06 250,169 0ms 6s83ms 0ms 8s605ms 17s317ms 21s12ms 07 179,715 0ms 281ms 0ms 1s683ms 2s402ms 2s854ms 08 210,888 0ms 236ms 0ms 2s844ms 3s167ms 4s309ms 09 135,044 0ms 7s777ms 0ms 3s513ms 6s383ms 10s681ms 10 207,131 0ms 1s362ms 0ms 2s859ms 4s48ms 4s623ms 11 191,980 0ms 113ms 0ms 2s841ms 3s728ms 5s387ms 12 164,849 0ms 818ms 0ms 3s139ms 3s547ms 3s844ms 13 202,272 0ms 219ms 0ms 4s273ms 5s928ms 9s81ms 14 156,866 0ms 522ms 0ms 4s14ms 4s845ms 7s149ms 15 85,521 0ms 284ms 0ms 2s222ms 2s968ms 3s411ms 16 65,746 0ms 230ms 0ms 1s371ms 2s238ms 3s495ms 17 59,148 0ms 153ms 0ms 1s101ms 1s683ms 2s48ms 18 52,144 0ms 86ms 0ms 78ms 210ms 927ms 19 47,250 0ms 84ms 0ms 60ms 113ms 473ms 20 51,350 0ms 211ms 0ms 85ms 223ms 971ms 21 47,652 0ms 81ms 0ms 84ms 209ms 787ms 22 48,333 0ms 83ms 0ms 80ms 127ms 510ms 23 48,491 0ms 85ms 0ms 82ms 105ms 487ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 16 00 22,450 0 0ms 25ms 39ms 538ms 01 17,240 0 0ms 24ms 36ms 135ms 02 16,902 0 0ms 24ms 35ms 158ms 03 16,929 0 0ms 25ms 35ms 195ms 04 16,741 0 0ms 25ms 39ms 151ms 05 26,316 0 1ms 37ms 240ms 6s461ms 06 111,093 0 1ms 2s334ms 8s62ms 15s880ms 07 91,594 0 0ms 532ms 1s178ms 1s583ms 08 119,460 0 0ms 2s231ms 2s601ms 3s561ms 09 68,257 0 0ms 1s302ms 3s292ms 6s580ms 10 117,940 0 0ms 1s873ms 2s278ms 3s799ms 11 109,508 0 0ms 2s130ms 2s761ms 4s910ms 12 93,396 0 0ms 2s517ms 2s997ms 3s427ms 13 128,383 0 0ms 2s526ms 4s20ms 6s633ms 14 94,483 0 0ms 2s442ms 3s921ms 4s695ms 15 44,606 0 0ms 1s362ms 2s176ms 2s960ms 16 29,402 0 0ms 615ms 1s270ms 2s512ms 17 25,887 0 0ms 31ms 712ms 1s824ms 18 18,832 0 0ms 24ms 35ms 300ms 19 16,880 0 0ms 21ms 35ms 116ms 20 20,483 0 0ms 31ms 56ms 626ms 21 17,210 0 0ms 20ms 55ms 507ms 22 17,313 0 0ms 19ms 46ms 205ms 23 17,333 0 0ms 19ms 29ms 197ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 16 00 680 937 111 0 0ms 12ms 19ms 33ms 01 664 56 108 0 0ms 1ms 7ms 45ms 02 203 57 109 0 1ms 1ms 7ms 10ms 03 624 64 110 0 0ms 2ms 7ms 35ms 04 111 54 109 0 1ms 2ms 7ms 9ms 05 6,308 6,341 136 0 1ms 7ms 21ms 1s487ms 06 57,737 13,218 481 0 0ms 171ms 508ms 2s595ms 07 14,685 7,142 396 0 0ms 91ms 125ms 1s661ms 08 14,215 5,822 417 0 0ms 93ms 119ms 163ms 09 9,459 3,750 311 0 0ms 68ms 85ms 131ms 10 16,379 6,228 408 0 0ms 107ms 139ms 193ms 11 14,006 5,896 375 0 0ms 93ms 110ms 339ms 12 9,173 4,255 320 0 0ms 69ms 108ms 391ms 13 12,738 4,459 306 0 0ms 94ms 123ms 191ms 14 7,125 3,100 291 0 0ms 72ms 112ms 178ms 15 1,405 880 166 0 0ms 16ms 30ms 101ms 16 892 661 141 0 0ms 15ms 30ms 84ms 17 528 290 122 0 0ms 4ms 8ms 40ms 18 324 1,103 107 0 0ms 10ms 12ms 18ms 19 144 83 105 0 1ms 1ms 7ms 14ms 20 487 117 137 0 0ms 1ms 8ms 36ms 21 306 63 106 0 1ms 1ms 8ms 37ms 22 890 65 105 0 0ms 1ms 7ms 57ms 23 954 65 107 0 0ms 1ms 7ms 43ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Aug 16 00 32,848 55,823 1.70 89.12% 01 29,962 47,513 1.59 102.78% 02 30,085 46,786 1.56 106.03% 03 30,052 47,254 1.57 104.22% 04 29,762 46,378 1.56 106.04% 05 34,226 72,438 2.12 65.65% 06 55,422 248,727 4.49 25.49% 07 60,613 179,679 2.96 42.22% 08 58,390 210,852 3.61 33.06% 09 48,058 135,008 2.81 45.14% 10 57,770 207,095 3.58 33.29% 11 53,975 191,944 3.56 33.80% 12 52,269 164,813 3.15 38.57% 13 50,329 201,028 3.99 29.02% 14 48,545 156,830 3.23 37.42% 15 37,266 84,278 2.26 58.08% 16 35,842 65,696 1.83 78.81% 17 30,375 59,105 1.95 76.44% 18 30,236 52,090 1.72 91.02% 19 28,546 47,214 1.65 99.98% 20 28,728 51,314 1.79 87.88% 21 28,155 47,616 1.69 96.95% 22 28,394 48,297 1.70 95.64% 23 28,742 48,455 1.69 96.48% Day Hour Count Average / Second Aug 16 00 106 0.03/s 01 100 0.03/s 02 103 0.03/s 03 102 0.03/s 04 92 0.03/s 05 102 0.03/s 06 85 0.02/s 07 77 0.02/s 08 59 0.02/s 09 63 0.02/s 10 64 0.02/s 11 67 0.02/s 12 92 0.03/s 13 94 0.03/s 14 81 0.02/s 15 83 0.02/s 16 97 0.03/s 17 59 0.02/s 18 67 0.02/s 19 65 0.02/s 20 61 0.02/s 21 64 0.02/s 22 64 0.02/s 23 68 0.02/s Day Hour Count Average Duration Aug 16 00 108 1h12m54s 01 100 5m49s 02 103 6m1s 03 102 5m43s 04 92 6m28s 05 99 6m2s 06 88 7m40s 07 77 7m15s 08 56 11m 09 66 9m40s 10 61 11m43s 11 68 10m21s 12 88 10m6s 13 100 9m49s 14 78 8m50s 15 80 7m17s 16 97 7m47s 17 66 9m25s 18 66 9m16s 19 66 9m10s 20 61 9m51s 21 64 9m42s 22 64 8m57s 23 68 9m8s -
Connections
Established Connections
Key values
- 18 connections Connection Peak
- 2019-08-16 00:30:29 Date
Connections per database
Key values
- pharmisight Main Database
- 1,915 connections Total
Connections per user
Key values
- symmetricds Main User
- 1,915 connections Total
-
Sessions
Simultaneous sessions
Key values
- 3 sessions Session Peak
- 2019-08-16 12:24:58 Date
Histogram of session times
Key values
- 1,172 60000-600000ms duration
Sessions per database
Key values
- pharmisight Main Database
- 1,918 sessions Total
Sessions per user
Key values
- symmetricds Main User
- 1,918 sessions Total
Sessions per host
Key values
- 10.10.10.1 Main Host
- 1,918 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 8,603 buffers Checkpoint Peak
- 2019-08-16 07:06:03 Date
- 150.039 seconds Highest write time
- 0.059 seconds Sync time
Checkpoints Wal files
Key values
- 3 files Wal files usage Peak
- 2019-08-16 07:06:03 Date
Checkpoints distance
Key values
- 97.83 Mo Distance Peak
- 2019-08-16 07:06:03 Date
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Aug 16 00 1,438 144.347s 0.045s 144.462s 01 757 75.987s 0.014s 76.056s 02 394 39.547s 0.014s 39.612s 03 701 70.291s 0.012s 70.359s 04 699 70.042s 0.022s 70.16s 05 457 45.881s 0.062s 45.986s 06 12,904 1,109.648s 0.098s 1,109.862s 07 18,868 926.244s 0.033s 926.346s 08 6,856 689.85s 0.032s 689.986s 09 6,169 584.537s 0.022s 584.653s 10 8,517 794.794s 0.023s 794.911s 11 7,645 765.826s 0.028s 765.924s 12 6,286 632.558s 0.025s 632.669s 13 7,221 639.48s 0.022s 639.58s 14 4,404 441.673s 0.03s 441.77s 15 3,010 301.049s 0.02s 301.136s 16 2,113 211.427s 0.02s 211.52s 17 1,193 119.727s 0.014s 119.798s 18 1,632 163.486s 0.018s 163.567s 19 513 51.386s 0.018s 51.464s 20 559 56.121s 0.008s 56.183s 21 553 55.507s 0.021s 55.613s 22 762 76.481s 0.018s 76.58s 23 749 75.181s 0.015s 75.285s Day Hour Added Removed Recycled Synced files Longest sync Average sync Aug 16 00 0 0 1 227 0.032s 0.002s 01 0 0 0 191 0.004s 0s 02 0 0 0 174 0.003s 0s 03 0 0 0 184 0.002s 0s 04 0 0 1 158 0.014s 0s 05 0 0 0 165 0.051s 0.001s 06 0 1 9 1,286 0.048s 0s 07 0 0 8 1,138 0.002s 0s 08 0 0 3 1,166 0.007s 0s 09 0 0 2 1,128 0.002s 0s 10 0 0 4 1,226 0.002s 0s 11 0 0 3 1,246 0.002s 0s 12 0 0 2 1,330 0.002s 0s 13 0 0 3 941 0.002s 0s 14 0 0 2 987 0.013s 0s 15 0 0 1 645 0.003s 0s 16 0 0 1 626 0.002s 0s 17 0 0 0 320 0.003s 0s 18 0 0 1 214 0.002s 0s 19 0 0 0 184 0.004s 0s 20 0 0 0 232 0.001s 0s 21 0 0 0 254 0.007s 0s 22 0 0 0 261 0.003s 0s 23 0 0 1 258 0.002s 0s Day Hour Count Avg time (sec) Aug 16 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 Aug 16 00 747.42 kB 1,116.58 kB 01 430.33 kB 861.22 kB 02 193.89 kB 521.44 kB 03 400.60 kB 1,275.00 kB 04 480.12 kB 1,090.12 kB 05 282.50 kB 1,554.25 kB 06 13,864.92 kB 32,748.00 kB 07 9,311.45 kB 33,016.45 kB 08 3,840.50 kB 13,015.17 kB 09 3,436.50 kB 9,001.92 kB 10 4,794.08 kB 10,425.00 kB 11 4,304.33 kB 7,819.83 kB 12 3,469.08 kB 7,340.33 kB 13 3,504.64 kB 9,031.36 kB 14 2,575.60 kB 4,439.90 kB 15 1,549.36 kB 5,166.27 kB 16 961.75 kB 4,023.17 kB 17 223.33 kB 3,015.22 kB 18 949.00 kB 2,126.27 kB 19 242.50 kB 958.80 kB 20 259.70 kB 490.70 kB 21 224.00 kB 409.83 kB 22 323.50 kB 610.08 kB 23 307.50 kB 694.17 kB -
Temporary Files
Size of temporary files
Key values
- 9.85 MiB Temp Files size Peak
- 2019-08-16 06:03:04 Date
Number of temporary files
Key values
- 1 per second Temp Files Peak
- 2019-08-16 06:03:50 Date
Temporary Files Activity
Day Hour Count Total size Average size Aug 16 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.30 MiB 9.77 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 (97) Main table analyzed (database pharmisight)
- 198 analyzes Total
Table Number of analyzes pharmisight.public.sym_data_gap 97 pharmisight.public.sym_outgoing_batch 39 pharmisight.public.sym_incoming_batch 17 pharmisight.public.sym_data 12 pharmisight.public.sym_sequence 11 pharmisight.public.sym_data_event 11 pharmisight.public.sym_node_host 5 pharmisight.public.item_codes 3 pharmisight.public.tablets 1 pharmisight.public.query_status_activities 1 pharmisight.public.users 1 Total 198 Vacuums per table
Key values
- public.sym_data_gap (51) Main table vacuumed on database pharmisight
- 107 vacuums Total
Table Number of vacuums Index scans pharmisight.public.sym_data_gap 51 51 pharmisight.public.sym_outgoing_batch 19 19 pharmisight.public.sym_sequence 10 0 pharmisight.public.sym_incoming_batch 7 7 pharmisight.public.sym_node_host 6 0 pharmisight.public.sym_data 3 3 pharmisight.public.sym_data_event 3 3 pharmisight.pg_toast.pg_toast_2619 3 3 pharmisight.pg_catalog.pg_statistic 3 3 pharmisight.public.flow_report_summary_delays 1 1 pharmisight.public.item_codes 1 1 Total 107 91 Tuples removed per table
Key values
- public.sym_data_event (50524) Main table with removed tuples on database pharmisight
- 67689 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_data_event 3 3 50524 2868 pharmisight.public.sym_data 3 3 8375 34226 pharmisight.public.sym_outgoing_batch 19 19 3153 791 pharmisight.public.sym_data_gap 51 51 2692 1 pharmisight.pg_catalog.pg_statistic 3 3 936 0 pharmisight.public.sym_incoming_batch 7 7 765 0 pharmisight.public.sym_sequence 10 0 509 0 pharmisight.public.sym_node_host 6 0 313 0 pharmisight.pg_toast.pg_toast_2619 3 3 214 0 pharmisight.public.item_codes 1 1 183 0 pharmisight.public.flow_report_summary_delays 1 1 25 0 Total 107 91 67,689 37,886 Pages removed per table
Key values
- public.sym_data (34226) Main table with removed pages on database pharmisight
- 37886 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_data 3 3 8375 34226 pharmisight.public.sym_data_event 3 3 50524 2868 pharmisight.public.sym_outgoing_batch 19 19 3153 791 pharmisight.public.sym_data_gap 51 51 2692 1 pharmisight.public.sym_node_host 6 0 313 0 pharmisight.public.flow_report_summary_delays 1 1 25 0 pharmisight.public.sym_incoming_batch 7 7 765 0 pharmisight.public.item_codes 1 1 183 0 pharmisight.pg_toast.pg_toast_2619 3 3 214 0 pharmisight.public.sym_sequence 10 0 509 0 pharmisight.pg_catalog.pg_statistic 3 3 936 0 Total 107 91 67,689 37,886 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Aug 16 00 1 3 01 3 3 02 0 0 03 1 2 04 1 0 05 2 4 06 8 20 07 13 19 08 10 21 09 10 18 10 11 19 11 9 22 12 8 16 13 10 14 14 7 13 15 3 5 16 1 5 17 1 3 18 3 2 19 1 3 20 1 1 21 0 2 22 2 1 23 1 2 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 3 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 6s82ms 6s82ms 6s82ms 6s82ms 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 = ?;-
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-08-16 06:04:50 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver
2 2 3s666ms 1s361ms 2s304ms 1s833ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = ? WHERE flow_report_id = ?;-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
Date: 2019-08-16 10:31:14 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver
Queries that waited the most
Rank Wait time Query 1 6s82ms 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-08-16 06:04:50 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
2 2s304ms 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-08-16 06:11:01 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
3 1s361ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-08-16 10:31:14 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Queries
Queries by type
Key values
- 1,258,638 Total read queries
- 693,142 Total write queries
Queries by database
Key values
- pharmisight Main database
- 2,520,957 Requests
- 15m10s (pharmisight)
- Main time consuming database
Queries by user
Key values
- symmetricds Main user
- 1,564,079 Requests
User Request type Count Duration pharmisight Total 1,001,243 13m18s DELETE 48 599ms INSERT 24,410 21s902ms OTHERS 1,966 89ms SELECT 851,515 11m46s TCL 83,577 8s576ms UPDATE 39,727 1m symmetricds Total 1,564,079 1m53s DELETE 5,104 8s442ms INSERT 146,075 19s343ms OTHERS 585,677 9s580ms SELECT 421,199 44s410ms TCL 380,988 21s929ms UPDATE 25,036 9s725ms tony Total 900 275ms SELECT 900 275ms Duration by user
Key values
- 13m18s (pharmisight) Main time consuming user
User Request type Count Duration pharmisight Total 1,001,243 13m18s DELETE 48 599ms INSERT 24,410 21s902ms OTHERS 1,966 89ms SELECT 851,515 11m46s TCL 83,577 8s576ms UPDATE 39,727 1m symmetricds Total 1,564,079 1m53s DELETE 5,104 8s442ms INSERT 146,075 19s343ms OTHERS 585,677 9s580ms SELECT 421,199 44s410ms TCL 380,988 21s929ms UPDATE 25,036 9s725ms tony Total 900 275ms SELECT 900 275ms Queries by host
Key values
- 10.10.10.1 Main host
- 2,565,322 Requests
- 15m11s (10.10.10.1)
- Main time consuming host
Queries by application
Key values
- PostgreSQL JDBC Driver Main application
- 2,514,611 Requests
- 15m8s (PostgreSQL JDBC Driver)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2019-08-16 23:36:56 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 2,423,372 0-1ms duration
Slowest individual queries
Rank Duration Query 1 7s777ms SELECT orderlinea0_.ORDER_LINE_HISTORY_ID AS ORDER_L17_26_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_HISTORY_ID = '200004362' ORDER BY orderlinea0_.CREATED ASC;[ Date: 2019-08-16 09:08:16 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 6s83ms UPDATE ORDER_LINES SET routeNumber = '9544130', sapOrderNumber = '9152464', orderNumber = '5005959870', answerOrderNumber = NULL, partCode = '111324', partDescription = 'Sno-Pro 200ml', patientName = 'Jordan Massey', firstName = 'Jordan', middleName = NULL, lastName = 'Massey', patientDateOfBirth = '2016-02-25', patientPostcode = 'BT11 8JD', patientPostcodePrefix = 'BT', orderQty = '56', allocQty = '56', shipQty = NULL, adjustedQty = NULL, scannedQty = NULL, assignedQty = NULL, checkedQty = NULL, backOrderQty = NULL, cancelQty = NULL, reducedQty = NULL, status = 'ScannableOuter', reason = NULL, deliveryDate = '2019-08-19', customer = 'Sophie Price', sapCustomerId = '685174103', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200359380', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = NULL, ageCheck = NULL, expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = NULL, specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Aarron Brownbill', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'zoe.johnson@nutricia.connections', lastRegUpdateDate = '2019-08-12 18:35:19', sapPlannedShipDate = '2019-08-16', sapPlannedDeliveryDate = '2019-08-19', requestedSAPQuantity = '56', orderQuantity = '56', regLineCreatedUserType = 'PMS Coordinators', regLineCreatedUserName = 'heidi.griffiths@nutricia.connections', regLineCreatedDate = '2017-08-02 10:23:25', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2019-08-16 05:56:22.369', UPDATED = NULL, rxCheckBy = '4060', note = 'Paul Gray-Scott', item = '3058', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '220183942';[ Date: 2019-08-16 06:04:50 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 3s718ms 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_.salesforceOrderNumber = '11566263';[ Date: 2019-08-16 09:04:45 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 2s304ms UPDATE FLOW_REPORTS SET routeNumber = '9544204', roundDeliveryDate = '2019-08-19', distributionPoint = 'B UK Mail', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-08-16 06:36:02', failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2019-08-16 06:07:51.278', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-08-16 09:30:15.071', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200570292';[ Date: 2019-08-16 06:11:01 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 1s680ms SELECT _lines.routeNumber, _lines.deliveryDate, _lines.orderNumber, _lines.patientName, _lines.partDescription, _lines.orderQty, _lines.order_line_id, _checks.created AS check_created, _checks.newRxCheck AS check_checked, _checkers.firstName AS checker_firstName, _checkers.lastName AS checker_lastName, _audits.created AS audit_created, _audits.newRxCheck AS audit_checked, _auditors.firstName AS auditor_firstName, _auditors.lastName AS auditor_lastName, _audits.rx_line_activity_id, _checks.auditedbyrxlineactivity, _checks.auditedaserror FROM rx_line_activities AS _audits INNER JOIN rx_line_activities AS _checks ON (_audits.rx_line_activity_id = _checks.auditedbyrxlineactivity) LEFT OUTER JOIN order_lines AS _lines ON (_audits.order_line_id = _lines.order_line_id) LEFT OUTER JOIN users AS _auditors ON (_audits.newrxcheckby = _auditors.user_id) LEFT OUTER JOIN users AS _checkers ON (_checks.newrxcheckby = _checkers.user_id) WHERE _checks.newRxCheckBy = '4060' AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2019-08-16 06:02:02 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 1s489ms UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '200192580';[ Date: 2019-08-16 06:05:24 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 1s362ms UPDATE FLOW_REPORTS SET routeNumber = '9544163', roundDeliveryDate = '2019-08-19', distributionPoint = 'D Leeds', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2019-08-16 10:31:03.757', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-08-16 01:57:19', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-08-16 06:07:50.847', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-08-16 11:30:47.046', UPDATED = '2019-08-16 10:31:03.775', note = NULL WHERE FLOW_REPORT_ID = '200569922';[ Date: 2019-08-16 10:31:14 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 1s214ms SELECT _lines.routeNumber, _lines.deliveryDate, _lines.orderNumber, _lines.patientName, _lines.partDescription, _lines.orderQty, _lines.order_line_id, _checks.created AS check_created, _checks.newRxCheck AS check_checked, _checkers.firstName AS checker_firstName, _checkers.lastName AS checker_lastName, _audits.created AS audit_created, _audits.newRxCheck AS audit_checked, _auditors.firstName AS auditor_firstName, _auditors.lastName AS auditor_lastName, _audits.rx_line_activity_id, _checks.auditedbyrxlineactivity, _checks.auditedaserror FROM rx_line_activities AS _audits INNER JOIN rx_line_activities AS _checks ON (_audits.rx_line_activity_id = _checks.auditedbyrxlineactivity) LEFT OUTER JOIN order_lines AS _lines ON (_audits.order_line_id = _lines.order_line_id) LEFT OUTER JOIN users AS _auditors ON (_audits.newrxcheckby = _auditors.user_id) LEFT OUTER JOIN users AS _checkers ON (_checks.newrxcheckby = _checkers.user_id) WHERE _checks.newRxCheckBy = '4061' AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2019-08-16 06:02:49 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 861ms UPDATE FLOW_REPORTS SET routeNumber = '9544163', roundDeliveryDate = '2019-08-19', distributionPoint = 'D Leeds', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2019-08-16 10:31:03.757', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-08-16 01:57:19', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-08-16 06:07:50.847', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-08-16 11:30:47.046', UPDATED = '2019-08-16 10:31:03.775', note = NULL WHERE FLOW_REPORT_ID = '200569922';[ Date: 2019-08-16 10:31:14 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 818ms UPDATE FLOW_REPORTS SET routeNumber = '9544182', roundDeliveryDate = '2019-08-19', distributionPoint = 'F Loncol', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2019-08-16 12:59:01.001', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-08-16 13:11:25', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2019-08-16 08:54:05.412', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-08-16 13:00:56.606', UPDATED = '2019-08-16 12:59:01.02', note = NULL WHERE FLOW_REPORT_ID = '200570112';[ Date: 2019-08-16 12:59:27 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 788ms 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 = '9250212' AND o.node_id = '0' ORDER BY d.data_id ASC;[ Date: 2019-08-16 06:03:50 - Database: pharmisight - User: symmetricds - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 680ms UPDATE FLOW_REPORTS SET routeNumber = '9544194', roundDeliveryDate = '2019-08-19', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2019-08-16 06:07:51.672', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-08-16 12:00:21.716', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200570222';[ Date: 2019-08-16 06:09:47 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 632ms 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 = '659088';[ Date: 2019-08-16 06:02:58 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 617ms SELECT orderlinep0_.ORDER_LINE_HISTORY_ID AS ORDER_L11_26_0_, orderlinep0_.ORDER_LINE_PRESCRIPTION_ID AS ORDER_LI1_27_0_, orderlinep0_.ORDER_LINE_PRESCRIPTION_ID AS ORDER_LI1_27_1_, orderlinep0_.uuid AS uuid2_27_1_, orderlinep0_.prescriptionId AS prescrip3_27_1_, orderlinep0_.plonkerNumber AS plonkerN4_27_1_, orderlinep0_.plonkerDate AS plonkerD5_27_1_, orderlinep0_.imagetype AS imagetyp6_27_1_, orderlinep0_.imageLink AS imageLin7_27_1_, orderlinep0_.imageLinkOriginal AS imageLin8_27_1_, orderlinep0_.epsCheck AS epsCheck9_27_1_ FROM ORDER_LINE_PRESCRIPTIONS orderlinep0_ WHERE orderlinep0_.ORDER_LINE_HISTORY_ID = '200004362' ORDER BY orderlinep0_.prescriptionId ASC;[ Date: 2019-08-16 09:08:17 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 582ms 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_.salesforceOrderNumber = '5005950551';[ Date: 2019-08-16 09:17:34 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 570ms 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_.salesforceOrderNumber = '11612740';[ Date: 2019-08-16 09:18:02 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 569ms UPDATE FLOW_REPORTS SET routeNumber = '9544130', roundDeliveryDate = '2019-08-19', distributionPoint = 'Northern Ireland', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-08-15 22:58:31', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-08-16 08:19:43.61', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-08-16 17:00:09.052', UPDATED = '2019-08-16 12:13:48.434', note = NULL WHERE FLOW_REPORT_ID = '200569872';[ Date: 2019-08-16 12:13:54 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 562ms 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_.salesforceOrderNumber = '11567333';[ Date: 2019-08-16 09:07:13 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 535ms 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 '2019-08-11' AND '2019-08-16';[ Date: 2019-08-16 06:45:16 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 531ms 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_.salesforceOrderNumber = '11612740';[ Date: 2019-08-16 09:17:22 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
Time consuming queries
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2m40s 4,623 17ms 85ms 34ms SELECT count(*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 16 06 8 182ms 22ms 07 440 16s 36ms 08 101 4s90ms 40ms 09 693 25s692ms 37ms 10 362 12s885ms 35ms 11 390 13s776ms 35ms 12 488 16s315ms 33ms 13 433 15s239ms 35ms 14 590 17s305ms 29ms 15 568 19s246ms 33ms 16 317 11s280ms 35ms 17 150 5s236ms 34ms 18 65 2s145ms 33ms 19 12 448ms 37ms 21 5 197ms 39ms 23 1 46ms 46ms [ User: pharmisight - Total duration: 2m40s - Times executed: 4623 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2m40s - Times executed: 4623 ]
-
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-08-16 07:06:31 Duration: 85ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 11:13:10 Duration: 82ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:42:06 Duration: 79ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 1m5s 4,622 5ms 93ms 14ms 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 #2
Day Hour Count Duration Avg duration Aug 16 06 8 90ms 11ms 07 440 6s524ms 14ms 08 101 1s696ms 16ms 09 693 10s305ms 14ms 10 362 4s673ms 12ms 11 390 5s873ms 15ms 12 487 6s895ms 14ms 13 433 6s472ms 14ms 14 590 7s307ms 12ms 15 568 7s520ms 13ms 16 317 4s411ms 13ms 17 150 2s255ms 15ms 18 65 877ms 13ms 19 12 165ms 13ms 21 5 84ms 16ms 23 1 18ms 18ms [ User: pharmisight - Total duration: 1m5s - Times executed: 4622 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m5s - Times executed: 4622 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-08-16' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-08-16' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-08-16' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
Date: 2019-08-16 10:28:30 Duration: 93ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:33:23 Duration: 86ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:24:59 Duration: 69ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 1m4s 1,889 0ms 632ms 34ms 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 #3
Day Hour Count Duration Avg duration Aug 16 06 72 3s849ms 53ms 07 1,762 58s493ms 33ms 08 4 23ms 5ms 09 22 48ms 2ms 11 1 0ms 0ms 13 17 829ms 48ms 15 6 853ms 142ms 16 1 33ms 33ms 17 3 197ms 65ms 18 1 0ms 0ms [ User: pharmisight - Total duration: 1m4s - Times executed: 1889 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m4s - Times executed: 1889 ]
-
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 = '659088';
-
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 = '200394532';
-
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 = '22922800';
Date: 2019-08-16 06:02:58 Duration: 632ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:03:11 Duration: 455ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:05:58 Duration: 406ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 1m3s 18,492 1ms 23ms 3ms SELECT count(*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = ? AND this_.rxstatus = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 16 06 32 71ms 2ms 07 1,760 6s579ms 3ms 08 404 1s628ms 4ms 09 2,772 10s169ms 3ms 10 1,448 4s883ms 3ms 11 1,560 5s470ms 3ms 12 1,952 6s363ms 3ms 13 1,732 6s20ms 3ms 14 2,360 6s545ms 2ms 15 2,272 7s785ms 3ms 16 1,268 4s529ms 3ms 17 600 2s94ms 3ms 18 260 863ms 3ms 19 48 170ms 3ms 21 20 78ms 3ms 23 4 15ms 3ms [ User: pharmisight - Total duration: 1m3s - Times executed: 18492 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m3s - Times executed: 18492 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus = '1';
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus = '2';
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus = '1';
Date: 2019-08-16 08:56:35 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:19:03 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 07:19:06 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 43s875ms 60,786 0ms 18ms 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 #5
Day Hour Count Duration Avg duration Aug 16 06 18 12ms 0ms 07 6,667 4s329ms 0ms 08 190 180ms 0ms 09 174 198ms 1ms 10 266 268ms 1ms 11 8,695 6s454ms 0ms 12 8,611 6s922ms 0ms 13 5,267 4s169ms 0ms 14 16,871 10s942ms 0ms 15 8,894 6s722ms 0ms 16 2,148 1s615ms 0ms 17 915 630ms 0ms 18 1,798 1s240ms 0ms 21 272 189ms 0ms [ User: pharmisight - Total duration: 43s875ms - Times executed: 60786 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 43s875ms - Times executed: 60786 ]
-
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 = '200609332' 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 = '200609552' 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 = '200609332' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-08-16 12:40:58 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 11:28:54 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:33:20 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 28s636ms 226,641 0ms 86ms 0ms COMMIT;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 16 01 6,340 551ms 0ms 02 5,541 179ms 0ms 03 5,552 179ms 0ms 04 5,554 199ms 0ms 05 5,526 176ms 0ms 06 6,515 386ms 0ms 07 17,428 3s113ms 0ms 08 14,866 3s323ms 0ms 09 18,363 3s118ms 0ms 10 12,350 2s370ms 0ms 11 16,299 2s967ms 0ms 12 14,954 2s813ms 0ms 13 14,183 2s196ms 0ms 14 13,782 2s170ms 0ms 15 12,366 1s689ms 0ms 16 8,550 751ms 0ms 17 7,189 549ms 0ms 18 6,455 325ms 0ms 19 6,423 518ms 0ms 20 5,670 192ms 0ms 21 5,733 236ms 0ms 22 5,679 195ms 0ms 23 5,658 224ms 0ms 00 5,665 205ms 0ms [ User: symmetricds - Total duration: 20s469ms - Times executed: 184878 ]
[ User: pharmisight - Total duration: 8s167ms - Times executed: 41763 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28s608ms - Times executed: 226598 ]
[ Application: [unknown] - Total duration: 28ms - Times executed: 43 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-08-16 06:05:57 Duration: 86ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 09:08:12 Duration: 83ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 09:08:12 Duration: 80ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 27s267ms 1,160 0ms 322ms 23ms 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 #7
Day Hour Count Duration Avg duration Aug 16 06 759 21s396ms 28ms 07 342 5s749ms 16ms 08 6 13ms 2ms 09 23 31ms 1ms 10 4 3ms 0ms 11 3 2ms 0ms 13 13 31ms 2ms 15 7 28ms 4ms 16 1 1ms 1ms 17 2 6ms 3ms [ User: pharmisight - Total duration: 27s267ms - Times executed: 1160 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 27s267ms - Times executed: 1160 ]
-
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 = '703126' 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 = '200192160' 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 = '200374560' ORDER BY orders0_.CREATED DESC;
Date: 2019-08-16 06:00:02 Duration: 322ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 05:57:02 Duration: 245ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 05:57:05 Duration: 193ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 23s848ms 5,539 0ms 74ms 4ms 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_.status = ? AND this_.deliverydate = ? ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 16 06 12 38ms 3ms 07 552 2s478ms 4ms 08 120 598ms 4ms 09 684 3s253ms 4ms 10 381 1s682ms 4ms 11 528 2s232ms 4ms 12 579 2s464ms 4ms 13 681 3s112ms 4ms 14 820 2s823ms 3ms 15 597 2s671ms 4ms 16 324 1s393ms 4ms 17 171 737ms 4ms 18 81 316ms 3ms 21 9 46ms 5ms [ User: pharmisight - Total duration: 23s848ms - Times executed: 5539 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s848ms - Times executed: 5539 ]
-
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_.status = 'Checked' AND this_.deliveryDate = '2019-08-16' ORDER BY this_.deliveryDate ASC;
-
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_.status = 'Checked' AND this_.deliveryDate = '2019-08-19' ORDER BY this_.deliveryDate ASC;
-
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_.status = 'Checked' AND this_.deliveryDate = '2019-08-19' ORDER BY this_.deliveryDate ASC;
Date: 2019-08-16 06:35:48 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 14:24:35 Duration: 57ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:19:14 Duration: 46ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 20s189ms 70,733 0ms 13ms 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 #9
Day Hour Count Duration Avg duration Aug 16 06 23 8ms 0ms 07 6,814 1s858ms 0ms 08 1,251 581ms 0ms 09 1,028 524ms 0ms 10 1,453 501ms 0ms 11 10,866 3s97ms 0ms 12 9,983 3s82ms 0ms 13 6,141 1s855ms 0ms 14 17,999 4s455ms 0ms 15 9,773 2s767ms 0ms 16 2,447 698ms 0ms 17 936 245ms 0ms 18 1,803 461ms 0ms 21 216 50ms 0ms [ User: pharmisight - Total duration: 20s189ms - Times executed: 70733 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s189ms - Times executed: 70733 ]
-
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 = '200609362' 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 = '200609602' 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 = '200609662' ORDER BY orders0_.order_id ASC;
Date: 2019-08-16 12:52:42 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:32:35 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 15:00:47 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 20s55ms 304 37ms 105ms 65ms 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 #10
Day Hour Count Duration Avg duration Aug 16 07 77 5s417ms 70ms 08 3 232ms 77ms 09 73 4s873ms 66ms 10 1 48ms 48ms 13 106 7s17ms 66ms 14 6 378ms 63ms 17 16 1s24ms 64ms 21 2 153ms 76ms 22 20 910ms 45ms [ User: pharmisight - Total duration: 20s55ms - Times executed: 304 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s55ms - Times executed: 304 ]
-
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 = '202000802' 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 = '201998692' 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 = '202002372' ORDER BY epscheckli0_.description ASC;
Date: 2019-08-16 08:44:32 Duration: 105ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:33:19 Duration: 96ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:11:09 Duration: 92ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 18s524ms 679 15ms 61ms 27ms 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 #11
Day Hour Count Duration Avg duration Aug 16 06 4 130ms 32ms 07 85 2s278ms 26ms 08 1 31ms 31ms 10 2 58ms 29ms 11 101 2s741ms 27ms 12 101 2s884ms 28ms 13 60 1s727ms 28ms 14 189 4s940ms 26ms 15 93 2s563ms 27ms 16 20 551ms 27ms 17 8 207ms 25ms 18 15 408ms 27ms [ User: pharmisight - Total duration: 18s524ms - Times executed: 679 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s524ms - Times executed: 679 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2019-08-16 00:00:00' AND this_.CREATED < '2019-08-16 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2019-08-16 00:00:00' AND this_.CREATED < '2019-08-16 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2019-08-16 00:00:00' AND this_.CREATED < '2019-08-16 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-08-16 13:24:57 Duration: 61ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:33:19 Duration: 60ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 05:56:29 Duration: 55ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 16s548ms 781 14ms 54ms 21ms 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 #12
Day Hour Count Duration Avg duration Aug 16 06 6 164ms 27ms 07 145 3s116ms 21ms 08 2 77ms 38ms 10 3 90ms 30ms 11 103 2s201ms 21ms 12 105 2s375ms 22ms 13 66 1s439ms 21ms 14 192 3s417ms 17ms 15 103 2s307ms 22ms 16 22 595ms 27ms 17 11 259ms 23ms 18 23 503ms 21ms [ User: pharmisight - Total duration: 16s548ms - Times executed: 781 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s548ms - Times executed: 781 ]
-
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 > '2019-08-16 00:00:00' AND this_.CREATED < '2019-08-16 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-08-16 00:00:00' AND this_.CREATED < '2019-08-16 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-08-16 00:00:00' AND this_.CREATED < '2019-08-16 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-08-16 05:56:29 Duration: 54ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 14:56:42 Duration: 53ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 15:00:08 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 16s125ms 4,623 1ms 26ms 3ms SELECT count(*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = ? AND this_.rxstatus IS NULL;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 16 06 8 21ms 2ms 07 440 1s679ms 3ms 08 101 419ms 4ms 09 693 2s568ms 3ms 10 362 1s246ms 3ms 11 390 1s406ms 3ms 12 488 1s605ms 3ms 13 433 1s530ms 3ms 14 590 1s683ms 2ms 15 568 1s961ms 3ms 16 317 1s165ms 3ms 17 150 551ms 3ms 18 65 219ms 3ms 19 12 42ms 3ms 21 5 20ms 4ms 23 1 3ms 3ms [ User: pharmisight - Total duration: 16s125ms - Times executed: 4623 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s125ms - Times executed: 4623 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus IS NULL;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus IS NULL;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus IS NULL;
Date: 2019-08-16 15:01:51 Duration: 26ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 16:59:39 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:41:39 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 14s630ms 575 13ms 51ms 25ms 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 #14
Day Hour Count Duration Avg duration Aug 16 07 9 267ms 29ms 08 53 1s234ms 23ms 09 118 3s151ms 26ms 10 69 1s808ms 26ms 11 34 860ms 25ms 12 65 1s652ms 25ms 13 111 2s743ms 24ms 14 71 1s682ms 23ms 15 36 978ms 27ms 16 4 97ms 24ms 17 5 150ms 30ms [ User: pharmisight - Total duration: 14s630ms - Times executed: 575 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s630ms - Times executed: 575 ]
-
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 = '200782042' 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 = '200782092' 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 = '200781332' ORDER BY alerts0_.created ASC;
Date: 2019-08-16 08:26:25 Duration: 51ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 07:20:26 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:53:37 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 12s68ms 4,623 1ms 11ms 2ms SELECT count(*) AS col_0_0_ FROM order_lines orderline0_ WHERE orderline0_.status <> ? AND orderline0_.deliverydate = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 16 06 8 16ms 2ms 07 440 1s270ms 2ms 08 101 310ms 3ms 09 693 1s928ms 2ms 10 362 931ms 2ms 11 390 1s45ms 2ms 12 488 1s204ms 2ms 13 433 1s141ms 2ms 14 590 1s283ms 2ms 15 568 1s463ms 2ms 16 317 857ms 2ms 17 150 398ms 2ms 18 65 167ms 2ms 19 12 31ms 2ms 21 5 15ms 3ms 23 1 2ms 2ms [ User: pharmisight - Total duration: 12s68ms - Times executed: 4623 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s68ms - Times executed: 4623 ]
-
SELECT count(*) AS col_0_0_ FROM ORDER_LINES orderline0_ WHERE orderline0_.status <> 'Quarantine' AND orderline0_.deliveryDate = '2019-08-16';
-
SELECT count(*) AS col_0_0_ FROM ORDER_LINES orderline0_ WHERE orderline0_.status <> 'Quarantine' AND orderline0_.deliveryDate = '2019-08-16';
-
SELECT count(*) AS col_0_0_ FROM ORDER_LINES orderline0_ WHERE orderline0_.status <> 'Quarantine' AND orderline0_.deliveryDate = '2019-08-16';
Date: 2019-08-16 06:35:52 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 14:55:42 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:44:39 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 10s558ms 7,384 0ms 13ms 1ms SELECT count(*) AS y0_ FROM orders this_ WHERE this_.deliverydate = ? AND this_.rxstatus = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 16 06 16 17ms 1ms 07 736 1s103ms 1ms 08 160 263ms 1ms 09 912 1s403ms 1ms 10 508 762ms 1ms 11 704 965ms 1ms 12 772 1s101ms 1ms 13 908 1s346ms 1ms 14 1,092 1s304ms 1ms 15 796 1s169ms 1ms 16 432 639ms 1ms 17 228 322ms 1ms 18 108 140ms 1ms 21 12 19ms 1ms [ User: pharmisight - Total duration: 10s558ms - Times executed: 7384 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s558ms - Times executed: 7384 ]
-
SELECT count(*) AS y0_ FROM ORDERS this_ WHERE this_.deliveryDate = '2019-08-19' AND this_.rxStatus = '2';
-
SELECT count(*) AS y0_ FROM ORDERS this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus = '4';
-
SELECT count(*) AS y0_ FROM ORDERS this_ WHERE this_.deliveryDate = '2019-08-19' AND this_.rxStatus = '4';
Date: 2019-08-16 13:17:54 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 15:58:13 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 12:40:58 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 10s147ms 106,285 0ms 21ms 0ms SELECT orderlines0_.order_id AS order_i79_22_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = ? ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 16 06 256 22ms 0ms 07 3,470 346ms 0ms 08 20,696 1s964ms 0ms 09 20,533 2s265ms 0ms 10 8,920 782ms 0ms 11 12,105 1s100ms 0ms 12 11,579 1s69ms 0ms 13 8,892 793ms 0ms 14 10,152 897ms 0ms 15 7,232 672ms 0ms 16 1,794 170ms 0ms 17 614 56ms 0ms 18 36 3ms 0ms 21 6 1ms 0ms [ User: pharmisight - Total duration: 10s147ms - Times executed: 106285 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s147ms - Times executed: 106285 ]
-
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 = '211312652' 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 = '211088662' 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 = '211333382' ORDER BY orderlines0_.partDescription ASC;
Date: 2019-08-16 08:02:14 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:00:38 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:02:42 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 9s746ms 17,173 0ms 12ms 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 #18
Day Hour Count Duration Avg duration Aug 16 01 717 418ms 0ms 02 716 423ms 0ms 03 718 425ms 0ms 04 716 427ms 0ms 05 716 429ms 0ms 06 716 417ms 0ms 07 712 376ms 0ms 08 714 396ms 0ms 09 714 399ms 0ms 10 714 397ms 0ms 11 714 371ms 0ms 12 714 376ms 0ms 13 714 384ms 0ms 14 716 389ms 0ms 15 714 380ms 0ms 16 716 419ms 0ms 17 716 421ms 0ms 18 716 411ms 0ms 19 716 418ms 0ms 20 718 419ms 0ms 21 716 405ms 0ms 22 716 417ms 0ms 23 718 407ms 0ms 00 716 411ms 0ms [ User: symmetricds - Total duration: 9s746ms - Times executed: 17173 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s746ms - Times executed: 17173 ]
-
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-08-16 13:06:25 Duration: 12ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:45:31 Duration: 6ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 02:24:08 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 9s181ms 13,994 0ms 11ms 0ms UPDATE order_line_activities SET order_line_id = ? WHERE order_line_activity_id = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 16 07 172 136ms 0ms 08 2,105 1s385ms 0ms 09 1,898 1s278ms 0ms 10 1,339 873ms 0ms 11 2,447 1s612ms 0ms 12 1,988 1s207ms 0ms 13 1,066 696ms 0ms 14 1,868 1s156ms 0ms 15 911 645ms 0ms 16 115 107ms 0ms 17 43 39ms 0ms 18 42 40ms 0ms [ User: pharmisight - Total duration: 9s181ms - Times executed: 13994 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s181ms - Times executed: 13994 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '220196772' WHERE ORDER_LINE_ACTIVITY_ID = '321887672';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '220197692' WHERE ORDER_LINE_ACTIVITY_ID = '321956132';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '220179722' WHERE ORDER_LINE_ACTIVITY_ID = '321942142';
Date: 2019-08-16 10:38:13 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 14:57:24 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:25:17 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 8s689ms 527,986 0ms 5ms 0ms SHOW TRANSACTION ISOLATION level;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 16 01 18,041 300ms 0ms 02 17,465 294ms 0ms 03 17,503 291ms 0ms 04 17,504 297ms 0ms 05 17,430 290ms 0ms 06 19,302 316ms 0ms 07 30,670 445ms 0ms 08 31,525 512ms 0ms 09 30,831 505ms 0ms 10 26,020 424ms 0ms 11 30,257 477ms 0ms 12 29,199 465ms 0ms 13 26,691 426ms 0ms 14 26,244 406ms 0ms 15 24,833 405ms 0ms 16 19,982 334ms 0ms 17 19,084 322ms 0ms 18 18,422 314ms 0ms 19 18,047 311ms 0ms 20 17,824 308ms 0ms 21 17,783 308ms 0ms 22 17,739 307ms 0ms 23 17,771 309ms 0ms 00 17,819 308ms 0ms [ User: symmetricds - Total duration: 8s656ms - Times executed: 527332 ]
[ User: pharmisight - Total duration: 33ms - Times executed: 654 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s689ms - Times executed: 527981 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 5 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2019-08-16 17:28:52 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 16:04:05 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 23:00:00 Duration: 4ms Database: pharmisight User: symmetricds 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 527,986 8s689ms 0ms 5ms 0ms SHOW TRANSACTION ISOLATION level;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 16 01 18,041 300ms 0ms 02 17,465 294ms 0ms 03 17,503 291ms 0ms 04 17,504 297ms 0ms 05 17,430 290ms 0ms 06 19,302 316ms 0ms 07 30,670 445ms 0ms 08 31,525 512ms 0ms 09 30,831 505ms 0ms 10 26,020 424ms 0ms 11 30,257 477ms 0ms 12 29,199 465ms 0ms 13 26,691 426ms 0ms 14 26,244 406ms 0ms 15 24,833 405ms 0ms 16 19,982 334ms 0ms 17 19,084 322ms 0ms 18 18,422 314ms 0ms 19 18,047 311ms 0ms 20 17,824 308ms 0ms 21 17,783 308ms 0ms 22 17,739 307ms 0ms 23 17,771 309ms 0ms 00 17,819 308ms 0ms [ User: symmetricds - Total duration: 8s656ms - Times executed: 527332 ]
[ User: pharmisight - Total duration: 33ms - Times executed: 654 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s689ms - Times executed: 527981 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 5 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2019-08-16 17:28:52 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 16:04:05 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 23:00:00 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 226,657 1s618ms 0ms 0ms 0ms BEGIN;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 16 01 6,340 41ms 0ms 02 5,542 36ms 0ms 03 5,552 36ms 0ms 04 5,554 37ms 0ms 05 5,526 37ms 0ms 06 6,517 43ms 0ms 07 17,431 126ms 0ms 08 14,866 109ms 0ms 09 18,363 139ms 0ms 10 12,349 91ms 0ms 11 16,299 119ms 0ms 12 14,953 108ms 0ms 13 14,183 103ms 0ms 14 13,786 97ms 0ms 15 12,366 92ms 0ms 16 8,553 62ms 0ms 17 7,192 50ms 0ms 18 6,453 44ms 0ms 19 6,426 43ms 0ms 20 5,670 38ms 0ms 21 5,734 39ms 0ms 22 5,678 39ms 0ms 23 5,658 38ms 0ms 00 5,666 38ms 0ms [ User: symmetricds - Total duration: 1s211ms - Times executed: 184878 ]
[ User: pharmisight - Total duration: 407ms - Times executed: 41779 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s617ms - Times executed: 226599 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 58 ]
-
BEGIN;
-
BEGIN;
-
BEGIN;
Date: 2019-08-16 13:27:51 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 11:58:39 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 07:07:49 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 226,641 28s636ms 0ms 86ms 0ms COMMIT;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 16 01 6,340 551ms 0ms 02 5,541 179ms 0ms 03 5,552 179ms 0ms 04 5,554 199ms 0ms 05 5,526 176ms 0ms 06 6,515 386ms 0ms 07 17,428 3s113ms 0ms 08 14,866 3s323ms 0ms 09 18,363 3s118ms 0ms 10 12,350 2s370ms 0ms 11 16,299 2s967ms 0ms 12 14,954 2s813ms 0ms 13 14,183 2s196ms 0ms 14 13,782 2s170ms 0ms 15 12,366 1s689ms 0ms 16 8,550 751ms 0ms 17 7,189 549ms 0ms 18 6,455 325ms 0ms 19 6,423 518ms 0ms 20 5,670 192ms 0ms 21 5,733 236ms 0ms 22 5,679 195ms 0ms 23 5,658 224ms 0ms 00 5,665 205ms 0ms [ User: symmetricds - Total duration: 20s469ms - Times executed: 184878 ]
[ User: pharmisight - Total duration: 8s167ms - Times executed: 41763 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28s608ms - Times executed: 226598 ]
[ Application: [unknown] - Total duration: 28ms - Times executed: 43 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-08-16 06:05:57 Duration: 86ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 09:08:12 Duration: 83ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 09:08:12 Duration: 80ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 215,788 2s447ms 0ms 6ms 0ms SELECT ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 16 01 7,624 88ms 0ms 02 6,375 75ms 0ms 03 6,388 73ms 0ms 04 6,399 77ms 0ms 05 6,360 74ms 0ms 06 7,166 80ms 0ms 07 12,807 127ms 0ms 08 15,040 165ms 0ms 09 13,945 154ms 0ms 10 11,309 133ms 0ms 11 13,661 146ms 0ms 12 13,282 148ms 0ms 13 11,765 130ms 0ms 14 11,346 121ms 0ms 15 10,581 118ms 0ms 16 7,846 93ms 0ms 17 7,289 84ms 0ms 18 6,871 80ms 0ms 19 7,258 85ms 0ms 20 6,506 76ms 0ms 21 6,505 75ms 0ms 22 6,475 77ms 0ms 23 6,483 77ms 0ms 00 6,507 78ms 0ms [ User: symmetricds - Total duration: 2s447ms - Times executed: 215788 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s447ms - Times executed: 215788 ]
-
SELECT 1;
-
SELECT 1;
-
SELECT 1;
Date: 2019-08-16 09:42:50 Duration: 6ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 03:18:48 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 12:50:51 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 128,927 7s250ms 0ms 2ms 0ms INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES (?, ?, ?, current_timestamp);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 16 01 84 12ms 0ms 02 36 7ms 0ms 03 36 8ms 0ms 04 270 35ms 0ms 05 36 9ms 0ms 06 2,136 165ms 0ms 07 51,472 2s567ms 0ms 08 10,540 628ms 0ms 09 10,772 650ms 0ms 10 7,008 414ms 0ms 11 12,578 736ms 0ms 12 9,966 570ms 0ms 13 6,386 374ms 0ms 14 9,608 539ms 0ms 15 5,350 332ms 0ms 16 900 61ms 0ms 17 556 39ms 0ms 18 360 23ms 0ms 19 38 4ms 0ms 20 38 5ms 0ms 21 39 6ms 0ms 22 36 6ms 0ms 23 334 24ms 0ms 00 348 25ms 0ms [ User: symmetricds - Total duration: 7s250ms - Times executed: 128927 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s250ms - Times executed: 128927 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('105455948', '9254100', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('105400818', '9250145', 'sym_nd_hst_rddtch_2_bnkstrt', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('105422193', '9250270', 'redditch_cloud', current_timestamp);
Date: 2019-08-16 12:57:50 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 05:34:44 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:07:39 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 106,285 10s147ms 0ms 21ms 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 Aug 16 06 256 22ms 0ms 07 3,470 346ms 0ms 08 20,696 1s964ms 0ms 09 20,533 2s265ms 0ms 10 8,920 782ms 0ms 11 12,105 1s100ms 0ms 12 11,579 1s69ms 0ms 13 8,892 793ms 0ms 14 10,152 897ms 0ms 15 7,232 672ms 0ms 16 1,794 170ms 0ms 17 614 56ms 0ms 18 36 3ms 0ms 21 6 1ms 0ms [ User: pharmisight - Total duration: 10s147ms - Times executed: 106285 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s147ms - Times executed: 106285 ]
-
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 = '211312652' 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 = '211088662' 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 = '211333382' ORDER BY orderlines0_.partDescription ASC;
Date: 2019-08-16 08:02:14 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:00:38 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:02:42 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 94,858 4s337ms 0ms 6ms 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 Aug 16 07 723 36ms 0ms 08 19,894 903ms 0ms 09 19,494 971ms 0ms 10 8,345 364ms 0ms 11 11,087 493ms 0ms 12 10,914 491ms 0ms 13 6,862 300ms 0ms 14 9,602 405ms 0ms 15 5,643 259ms 0ms 16 1,737 82ms 0ms 17 532 25ms 0ms 18 24 1ms 0ms 21 1 0ms 0ms [ User: pharmisight - Total duration: 4s337ms - Times executed: 94858 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 4s337ms - Times executed: 94858 ]
-
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 = '5005961917';
-
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 = '5005965925';
-
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 = '5005963326';
Date: 2019-08-16 11:39:06 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:58:43 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 10:19:15 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 70,733 20s189ms 0ms 13ms 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 Aug 16 06 23 8ms 0ms 07 6,814 1s858ms 0ms 08 1,251 581ms 0ms 09 1,028 524ms 0ms 10 1,453 501ms 0ms 11 10,866 3s97ms 0ms 12 9,983 3s82ms 0ms 13 6,141 1s855ms 0ms 14 17,999 4s455ms 0ms 15 9,773 2s767ms 0ms 16 2,447 698ms 0ms 17 936 245ms 0ms 18 1,803 461ms 0ms 21 216 50ms 0ms [ User: pharmisight - Total duration: 20s189ms - Times executed: 70733 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s189ms - Times executed: 70733 ]
-
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 = '200609362' 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 = '200609602' 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 = '200609662' ORDER BY orders0_.order_id ASC;
Date: 2019-08-16 12:52:42 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:32:35 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 15:00:47 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 60,786 43s875ms 0ms 18ms 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 Aug 16 06 18 12ms 0ms 07 6,667 4s329ms 0ms 08 190 180ms 0ms 09 174 198ms 1ms 10 266 268ms 1ms 11 8,695 6s454ms 0ms 12 8,611 6s922ms 0ms 13 5,267 4s169ms 0ms 14 16,871 10s942ms 0ms 15 8,894 6s722ms 0ms 16 2,148 1s615ms 0ms 17 915 630ms 0ms 18 1,798 1s240ms 0ms 21 272 189ms 0ms [ User: pharmisight - Total duration: 43s875ms - Times executed: 60786 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 43s875ms - Times executed: 60786 ]
-
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 = '200609332' 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 = '200609552' 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 = '200609332' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-08-16 12:40:58 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 11:28:54 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:33:20 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 53,508 3s84ms 0ms 30ms 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 #10
Day Hour Count Duration Avg duration Aug 16 01 2,742 133ms 0ms 02 1,828 90ms 0ms 03 1,828 105ms 0ms 04 1,828 90ms 0ms 05 1,828 85ms 0ms 06 1,828 100ms 0ms 07 1,922 105ms 0ms 08 3,159 213ms 0ms 09 3,485 226ms 0ms 10 2,540 155ms 0ms 11 3,606 242ms 0ms 12 2,902 180ms 0ms 13 2,360 115ms 0ms 14 2,802 175ms 0ms 15 2,294 140ms 0ms 16 1,907 109ms 0ms 17 1,845 95ms 0ms 18 1,835 134ms 0ms 19 1,828 101ms 0ms 20 1,828 80ms 0ms 21 1,829 103ms 0ms 22 1,828 90ms 0ms 23 1,828 104ms 0ms 00 1,828 102ms 0ms [ User: pharmisight - Total duration: 3s84ms - Times executed: 53508 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s84ms - Times executed: 53508 ]
-
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 = '3456' 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 = '3184' 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 = '20482648' ORDER BY itembarcod0_.barcode ASC;
Date: 2019-08-16 17:00:01 Duration: 30ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 01:00:00 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 16:00:00 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 50,791 2s744ms 0ms 11ms 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 #11
Day Hour Count Duration Avg duration Aug 16 01 3,090 151ms 0ms 02 2,060 89ms 0ms 03 2,060 117ms 0ms 04 2,060 100ms 0ms 05 2,060 95ms 0ms 06 2,060 113ms 0ms 07 2,133 112ms 0ms 08 2,086 129ms 0ms 09 2,161 129ms 0ms 10 2,082 120ms 0ms 11 2,091 124ms 0ms 12 2,075 120ms 0ms 13 2,070 102ms 0ms 14 2,072 118ms 0ms 15 2,067 120ms 0ms 16 2,083 118ms 0ms 17 2,060 101ms 0ms 18 2,060 118ms 0ms 19 2,060 114ms 0ms 20 2,060 89ms 0ms 21 2,061 117ms 0ms 22 2,060 101ms 0ms 23 2,060 117ms 0ms 00 2,060 114ms 0ms [ User: pharmisight - Total duration: 2s744ms - Times executed: 50791 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s744ms - Times executed: 50791 ]
-
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 = '32964931' 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 = '3428' 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 = '33074285' ORDER BY itemcodes0_.code ASC;
Date: 2019-08-16 12:00:00 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 00:00:01 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 07:00:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 41,459 1s972ms 0ms 3ms 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 #12
Day Hour Count Duration Avg duration Aug 16 06 53 1ms 0ms 07 3,434 170ms 0ms 08 1,465 74ms 0ms 09 6,383 328ms 0ms 10 2,968 144ms 0ms 11 5,576 247ms 0ms 12 3,964 186ms 0ms 13 4,201 207ms 0ms 14 4,572 185ms 0ms 15 4,206 203ms 0ms 16 2,785 134ms 0ms 17 1,163 56ms 0ms 18 624 27ms 0ms 19 7 0ms 0ms 21 51 2ms 0ms 23 7 0ms 0ms [ User: pharmisight - Total duration: 1s972ms - Times executed: 41459 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s972ms - Times executed: 41459 ]
-
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 = '200569662';
-
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 = '200569652';
-
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 = '200569622';
Date: 2019-08-16 08:51:56 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:12:21 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:44:53 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 35,738 2s1ms 0ms 7ms 0ms SELECT * FROM order_rounds r WHERE r.flowreport = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 16 06 8 0ms 0ms 07 4,172 214ms 0ms 08 96 6ms 0ms 10 144 9ms 0ms 11 4,944 275ms 0ms 12 5,040 294ms 0ms 13 3,259 193ms 0ms 14 9,553 503ms 0ms 15 5,233 310ms 0ms 16 1,157 69ms 0ms 17 591 35ms 0ms 18 1,327 78ms 0ms 21 214 9ms 0ms [ User: pharmisight - Total duration: 2s1ms - Times executed: 35738 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s1ms - Times executed: 35738 ]
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200570282';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200569922';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200570002';
Date: 2019-08-16 13:17:25 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:10:40 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:13:31 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 33,912 1s700ms 0ms 1ms 0ms SELECT orderround0_.order_round_id AS order_ro6_28_0_, orderround0_.order_round_picker_id AS order_ro1_31_0_, orderround0_.order_round_picker_id AS order_ro1_31_1_, orderround0_.pickerid AS pickerid2_31_1_, orderround0_.pickedorderlinescount AS pickedor3_31_1_, orderround0_.errors AS errors4_31_1_, orderround0_.errornote AS errornot5_31_1_ FROM order_round_pickers orderround0_ WHERE orderround0_.order_round_id = ? ORDER BY orderround0_.pickerid ASC;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 16 06 56 2ms 0ms 07 3,360 179ms 0ms 08 781 44ms 0ms 09 5,776 307ms 0ms 10 1,998 103ms 0ms 11 3,777 181ms 0ms 12 2,925 143ms 0ms 13 3,580 188ms 0ms 14 3,766 156ms 0ms 15 3,536 180ms 0ms 16 2,479 121ms 0ms 17 1,139 56ms 0ms 18 622 27ms 0ms 19 7 0ms 0ms 20 54 2ms 0ms 21 49 2ms 0ms 23 7 0ms 0ms [ User: pharmisight - Total duration: 1s700ms - Times executed: 33912 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s700ms - Times executed: 33912 ]
-
SELECT orderround0_.ORDER_ROUND_ID AS ORDER_RO6_28_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_31_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_31_1_, orderround0_.pickerId AS pickerId2_31_1_, orderround0_.pickedOrderLinesCount AS pickedOr3_31_1_, orderround0_.errors AS errors4_31_1_, orderround0_.errorNote AS errorNot5_31_1_ FROM ORDER_ROUND_PICKERS orderround0_ WHERE orderround0_.ORDER_ROUND_ID = '200609072' ORDER BY orderround0_.pickerId ASC;
-
SELECT orderround0_.ORDER_ROUND_ID AS ORDER_RO6_28_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_31_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_31_1_, orderround0_.pickerId AS pickerId2_31_1_, orderround0_.pickedOrderLinesCount AS pickedOr3_31_1_, orderround0_.errors AS errors4_31_1_, orderround0_.errorNote AS errorNot5_31_1_ FROM ORDER_ROUND_PICKERS orderround0_ WHERE orderround0_.ORDER_ROUND_ID = '200609352' ORDER BY orderround0_.pickerId ASC;
-
SELECT orderround0_.ORDER_ROUND_ID AS ORDER_RO6_28_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_31_0_, orderround0_.ORDER_ROUND_PICKER_ID AS ORDER_RO1_31_1_, orderround0_.pickerId AS pickerId2_31_1_, orderround0_.pickedOrderLinesCount AS pickedOr3_31_1_, orderround0_.errors AS errors4_31_1_, orderround0_.errorNote AS errorNot5_31_1_ FROM ORDER_ROUND_PICKERS orderround0_ WHERE orderround0_.ORDER_ROUND_ID = '200608962' ORDER BY orderround0_.pickerId ASC;
Date: 2019-08-16 14:26:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 12:21:49 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 11:48:21 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 26,456 1s364ms 0ms 3ms 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 #15
Day Hour Count Duration Avg duration Aug 16 01 1,107 58ms 0ms 02 1,048 57ms 0ms 03 1,050 56ms 0ms 04 1,047 59ms 0ms 05 1,046 56ms 0ms 06 1,050 53ms 0ms 07 1,043 48ms 0ms 08 1,143 55ms 0ms 09 1,168 59ms 0ms 10 1,163 58ms 0ms 11 1,194 57ms 0ms 12 1,230 59ms 0ms 13 1,222 60ms 0ms 14 1,146 55ms 0ms 15 1,146 56ms 0ms 16 1,113 56ms 0ms 17 1,108 56ms 0ms 18 1,059 57ms 0ms 19 1,118 58ms 0ms 20 1,053 58ms 0ms 21 1,050 55ms 0ms 22 1,050 54ms 0ms 23 1,051 57ms 0ms 00 1,051 56ms 0ms [ User: symmetricds - Total duration: 1s364ms - Times executed: 26456 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s364ms - Times executed: 26456 ]
-
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-08-16 03:58:26 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 01:06:34 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 02:43:13 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 23,557 625ms 0ms 9ms 0ms SELECT nextval(?);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 16 06 3,904 86ms 0ms 07 4,893 124ms 0ms 08 2,125 56ms 0ms 09 2,127 60ms 0ms 10 1,392 38ms 0ms 11 2,531 75ms 0ms 12 2,051 49ms 0ms 13 1,234 35ms 0ms 14 1,928 47ms 0ms 15 1,035 34ms 0ms 16 160 7ms 0ms 17 84 5ms 0ms 18 59 2ms 0ms 21 34 0ms 0ms [ User: pharmisight - Total duration: 625ms - Times executed: 23557 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 625ms - Times executed: 23557 ]
-
SELECT nextval('homeward_actions_sequence');
-
SELECT nextval('patient_notes_sequence');
-
SELECT nextval('tablet_logs_sequence');
Date: 2019-08-16 06:40:01 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 10:33:41 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 10:03:03 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 22,122 1s202ms 0ms 2ms 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 Aug 16 01 722 38ms 0ms 02 720 38ms 0ms 03 722 40ms 0ms 04 722 38ms 0ms 05 720 38ms 0ms 06 746 39ms 0ms 07 1,030 51ms 0ms 08 1,568 83ms 0ms 09 1,360 74ms 0ms 10 1,140 62ms 0ms 11 1,332 70ms 0ms 12 1,274 68ms 0ms 13 1,150 64ms 0ms 14 1,132 57ms 0ms 15 1,070 59ms 0ms 16 838 45ms 0ms 17 784 43ms 0ms 18 754 42ms 0ms 19 722 40ms 0ms 20 724 40ms 0ms 21 724 40ms 0ms 22 722 40ms 0ms 23 724 41ms 0ms 00 722 40ms 0ms [ User: symmetricds - Total duration: 1s202ms - Times executed: 22122 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s202ms - Times executed: 22122 ]
-
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 = '0';
-
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 = '0';
-
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 = '0';
Date: 2019-08-16 12:51:51 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 14:55:51 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 02:58:58 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 18,972 292ms 0ms 1ms 0ms SET session characteristics AS TRANSACTION ISOLATION level read UNCOMMITTED;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 16 01 387 6ms 0ms 02 377 6ms 0ms 03 381 6ms 0ms 04 387 7ms 0ms 05 377 6ms 0ms 06 431 7ms 0ms 07 980 14ms 0ms 08 2,257 32ms 0ms 09 1,660 23ms 0ms 10 1,223 17ms 0ms 11 1,610 23ms 0ms 12 1,488 20ms 0ms 13 1,245 18ms 0ms 14 1,204 17ms 0ms 15 1,081 15ms 0ms 16 619 10ms 0ms 17 505 8ms 0ms 18 448 7ms 0ms 19 386 6ms 0ms 20 383 6ms 0ms 21 390 6ms 0ms 22 383 6ms 0ms 23 384 6ms 0ms 00 386 6ms 0ms [ User: symmetricds - Total duration: 292ms - Times executed: 18972 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 292ms - Times executed: 18972 ]
-
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-08-16 10:21:06 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 16:32:51 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 12:40:51 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 18,970 242ms 0ms 1ms 0ms SET session characteristics AS TRANSACTION ISOLATION level read COMMITTED;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 16 01 384 4ms 0ms 02 380 5ms 0ms 03 381 4ms 0ms 04 384 5ms 0ms 05 380 4ms 0ms 06 428 5ms 0ms 07 983 12ms 0ms 08 2,254 29ms 0ms 09 1,663 20ms 0ms 10 1,223 15ms 0ms 11 1,607 19ms 0ms 12 1,491 18ms 0ms 13 1,243 15ms 0ms 14 1,204 16ms 0ms 15 1,083 14ms 0ms 16 616 7ms 0ms 17 508 6ms 0ms 18 448 5ms 0ms 19 384 4ms 0ms 20 385 5ms 0ms 21 388 4ms 0ms 22 384 5ms 0ms 23 385 4ms 0ms 00 384 5ms 0ms [ User: symmetricds - Total duration: 242ms - Times executed: 18970 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 242ms - Times executed: 18970 ]
-
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-08-16 13:03:51 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 12:34:51 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 11:55:50 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 18,502 1s815ms 0ms 4ms 0ms SELECT count(*) AS y0_ FROM order_rounds this_ WHERE this_.status = ? AND this_.rounddeliverydate = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 16 06 28 1ms 0ms 07 1,720 181ms 0ms 08 406 45ms 0ms 09 3,018 340ms 0ms 10 1,537 162ms 0ms 11 1,460 149ms 0ms 12 1,963 192ms 0ms 13 1,463 148ms 0ms 14 2,169 164ms 0ms 15 2,413 205ms 0ms 16 1,362 134ms 0ms 17 615 58ms 0ms 18 255 25ms 0ms 19 72 3ms 0ms 21 15 1ms 0ms 23 6 0ms 0ms [ User: pharmisight - Total duration: 1s815ms - Times executed: 18502 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s815ms - Times executed: 18502 ]
-
SELECT count(*) AS y0_ FROM ORDER_ROUNDS this_ WHERE this_.status = 'Lock' AND this_.roundDeliveryDate = '2019-08-19';
-
SELECT count(*) AS y0_ FROM ORDER_ROUNDS this_ WHERE this_.status = 'Done' AND this_.roundDeliveryDate = '2019-08-16';
-
SELECT count(*) AS y0_ FROM ORDER_ROUNDS this_ WHERE this_.status = 'Done' AND this_.roundDeliveryDate = '2019-08-16';
Date: 2019-08-16 09:14:28 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 15:58:13 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 11:28:54 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 37ms 105ms 65ms 304 20s55ms 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 #1
Day Hour Count Duration Avg duration Aug 16 07 77 5s417ms 70ms 08 3 232ms 77ms 09 73 4s873ms 66ms 10 1 48ms 48ms 13 106 7s17ms 66ms 14 6 378ms 63ms 17 16 1s24ms 64ms 21 2 153ms 76ms 22 20 910ms 45ms [ User: pharmisight - Total duration: 20s55ms - Times executed: 304 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s55ms - Times executed: 304 ]
-
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 = '202000802' 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 = '201998692' 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 = '202002372' ORDER BY epscheckli0_.description ASC;
Date: 2019-08-16 08:44:32 Duration: 105ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:33:19 Duration: 96ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:11:09 Duration: 92ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 17ms 85ms 34ms 4,623 2m40s 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 Aug 16 06 8 182ms 22ms 07 440 16s 36ms 08 101 4s90ms 40ms 09 693 25s692ms 37ms 10 362 12s885ms 35ms 11 390 13s776ms 35ms 12 488 16s315ms 33ms 13 433 15s239ms 35ms 14 590 17s305ms 29ms 15 568 19s246ms 33ms 16 317 11s280ms 35ms 17 150 5s236ms 34ms 18 65 2s145ms 33ms 19 12 448ms 37ms 21 5 197ms 39ms 23 1 46ms 46ms [ User: pharmisight - Total duration: 2m40s - Times executed: 4623 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2m40s - Times executed: 4623 ]
-
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-08-16 07:06:31 Duration: 85ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 11:13:10 Duration: 82ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:42:06 Duration: 79ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 0ms 632ms 34ms 1,889 1m4s 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 #3
Day Hour Count Duration Avg duration Aug 16 06 72 3s849ms 53ms 07 1,762 58s493ms 33ms 08 4 23ms 5ms 09 22 48ms 2ms 11 1 0ms 0ms 13 17 829ms 48ms 15 6 853ms 142ms 16 1 33ms 33ms 17 3 197ms 65ms 18 1 0ms 0ms [ User: pharmisight - Total duration: 1m4s - Times executed: 1889 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m4s - Times executed: 1889 ]
-
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 = '659088';
-
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 = '200394532';
-
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 = '22922800';
Date: 2019-08-16 06:02:58 Duration: 632ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:03:11 Duration: 455ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:05:58 Duration: 406ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 15ms 61ms 27ms 679 18s524ms SELECT this_.order_round_id AS order_ro1_28_1_, this_.routenumber AS routenum2_28_1_, this_.uploadedbyuserid AS uploaded3_28_1_, this_.uploadedbyusername AS uploaded4_28_1_, this_.updatedby AS updatedb5_28_1_, this_.updatedbyusername AS updatedb6_28_1_, this_.orderroundnote AS orderrou7_28_1_, this_.firstcheckout AS firstche8_28_1_, this_.allordersscannedok AS allorder9_28_1_, this_.status AS status10_28_1_, this_.reopenedtimes AS reopene11_28_1_, this_.lastreopenbyid AS lastreo12_28_1_, this_.lastdonecheckin AS lastdon13_28_1_, this_.lastdonebyid AS lastdon14_28_1_, this_.lastdonebyusername AS lastdon15_28_1_, this_.missinglabels AS missing16_28_1_, this_.rounddeliverydate AS roundde17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadupdated AS uploadu21_28_1_, this_.patientalert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxstatus AS rxstatu24_28_1_, this_.distributionpoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedby AS audited27_28_1_, this_.auditstatus AS auditst28_28_1_, this_.uploadfinished AS uploadf29_28_1_, this_.lastrxcompleted AS lastrxc30_28_1_, this_.lastrxcompletedby AS lastrxc31_28_1_, this_.orderroundnotereadby AS orderro32_28_1_, this_.routeorderlinesqty AS routeor33_28_1_, this_.dlxpickedlinesqty AS dlxpick34_28_1_, this_.flowreport AS flowrep35_28_1_, this_.created AS created36_28_1_, this_.createdby AS created37_28_1_, this_.updated AS updated38_28_1_, this_.note AS note39_28_1_, f1_.flow_report_id AS flow_rep1_9_0_, f1_.routenumber AS routenum2_9_0_, f1_.rounddeliverydate AS rounddel3_9_0_, f1_.distributionpoint AS distribu4_9_0_, f1_.fullypicked AS fullypic5_9_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, f1_.causeofdelay AS causeofd7_9_0_, f1_.pharmacy100checktime AS pharmacy8_9_0_, f1_.linesheldback AS lineshel9_9_0_, f1_.packtime100 AS packtim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickdatetime AS pickdat13_9_0_, f1_.failedtargetpicktime AS failedt14_9_0_, f1_.actualpaperworkcompletetime AS actualp15_9_0_, f1_.changedpickdatetime AS changed16_9_0_, f1_.manuallychangedpicktime AS manuall17_9_0_, f1_.created AS created18_9_0_, f1_.updated AS updated19_9_0_, f1_.note AS note20_9_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> ? AND this_.created > ? AND this_.created < ? ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 16 06 4 130ms 32ms 07 85 2s278ms 26ms 08 1 31ms 31ms 10 2 58ms 29ms 11 101 2s741ms 27ms 12 101 2s884ms 28ms 13 60 1s727ms 28ms 14 189 4s940ms 26ms 15 93 2s563ms 27ms 16 20 551ms 27ms 17 8 207ms 25ms 18 15 408ms 27ms [ User: pharmisight - Total duration: 18s524ms - Times executed: 679 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s524ms - Times executed: 679 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2019-08-16 00:00:00' AND this_.CREATED < '2019-08-16 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2019-08-16 00:00:00' AND this_.CREATED < '2019-08-16 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2019-08-16 00:00:00' AND this_.CREATED < '2019-08-16 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-08-16 13:24:57 Duration: 61ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:33:19 Duration: 60ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 05:56:29 Duration: 55ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 13ms 51ms 25ms 575 14s630ms SELECT alerts0_.alert_confirmation_id AS alert_c10_1_0_, alerts0_.alert_id AS alert_id1_0_0_, alerts0_.alert_id AS alert_id1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientnote AS patientn3_0_1_, alerts0_.itemnote AS itemnote4_0_1_, alerts0_.confirmedchecker AS confirme5_0_1_, alerts0_.confirmedcheckerby AS confirme6_0_1_, alerts0_.isconfirmedbybarcode AS isconfir7_0_1_, alerts0_.confirmedpharmacist AS confirme8_0_1_, alerts0_.confirmedpharmacistby AS confirme9_0_1_ FROM alerts alerts0_ WHERE alerts0_.alert_confirmation_id = ? ORDER BY alerts0_.created ASC;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 16 07 9 267ms 29ms 08 53 1s234ms 23ms 09 118 3s151ms 26ms 10 69 1s808ms 26ms 11 34 860ms 25ms 12 65 1s652ms 25ms 13 111 2s743ms 24ms 14 71 1s682ms 23ms 15 36 978ms 27ms 16 4 97ms 24ms 17 5 150ms 30ms [ User: pharmisight - Total duration: 14s630ms - Times executed: 575 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s630ms - Times executed: 575 ]
-
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 = '200782042' 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 = '200782092' 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 = '200781332' ORDER BY alerts0_.created ASC;
Date: 2019-08-16 08:26:25 Duration: 51ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 07:20:26 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:53:37 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 0ms 322ms 23ms 1,160 27s267ms 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 #6
Day Hour Count Duration Avg duration Aug 16 06 759 21s396ms 28ms 07 342 5s749ms 16ms 08 6 13ms 2ms 09 23 31ms 1ms 10 4 3ms 0ms 11 3 2ms 0ms 13 13 31ms 2ms 15 7 28ms 4ms 16 1 1ms 1ms 17 2 6ms 3ms [ User: pharmisight - Total duration: 27s267ms - Times executed: 1160 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 27s267ms - Times executed: 1160 ]
-
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 = '703126' 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 = '200192160' 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 = '200374560' ORDER BY orders0_.CREATED DESC;
Date: 2019-08-16 06:00:02 Duration: 322ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 05:57:02 Duration: 245ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 05:57:05 Duration: 193ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 14ms 54ms 21ms 781 16s548ms 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 Aug 16 06 6 164ms 27ms 07 145 3s116ms 21ms 08 2 77ms 38ms 10 3 90ms 30ms 11 103 2s201ms 21ms 12 105 2s375ms 22ms 13 66 1s439ms 21ms 14 192 3s417ms 17ms 15 103 2s307ms 22ms 16 22 595ms 27ms 17 11 259ms 23ms 18 23 503ms 21ms [ User: pharmisight - Total duration: 16s548ms - Times executed: 781 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s548ms - Times executed: 781 ]
-
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 > '2019-08-16 00:00:00' AND this_.CREATED < '2019-08-16 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-08-16 00:00:00' AND this_.CREATED < '2019-08-16 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-08-16 00:00:00' AND this_.CREATED < '2019-08-16 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-08-16 05:56:29 Duration: 54ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 14:56:42 Duration: 53ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 15:00:08 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 5ms 93ms 14ms 4,622 1m5s 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 Aug 16 06 8 90ms 11ms 07 440 6s524ms 14ms 08 101 1s696ms 16ms 09 693 10s305ms 14ms 10 362 4s673ms 12ms 11 390 5s873ms 15ms 12 487 6s895ms 14ms 13 433 6s472ms 14ms 14 590 7s307ms 12ms 15 568 7s520ms 13ms 16 317 4s411ms 13ms 17 150 2s255ms 15ms 18 65 877ms 13ms 19 12 165ms 13ms 21 5 84ms 16ms 23 1 18ms 18ms [ User: pharmisight - Total duration: 1m5s - Times executed: 4622 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m5s - Times executed: 4622 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-08-16' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-08-16' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-08-16' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
Date: 2019-08-16 10:28:30 Duration: 93ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:33:23 Duration: 86ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:24:59 Duration: 69ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 0ms 74ms 4ms 5,539 23s848ms 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_.status = ? AND this_.deliverydate = ? ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 16 06 12 38ms 3ms 07 552 2s478ms 4ms 08 120 598ms 4ms 09 684 3s253ms 4ms 10 381 1s682ms 4ms 11 528 2s232ms 4ms 12 579 2s464ms 4ms 13 681 3s112ms 4ms 14 820 2s823ms 3ms 15 597 2s671ms 4ms 16 324 1s393ms 4ms 17 171 737ms 4ms 18 81 316ms 3ms 21 9 46ms 5ms [ User: pharmisight - Total duration: 23s848ms - Times executed: 5539 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s848ms - Times executed: 5539 ]
-
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_.status = 'Checked' AND this_.deliveryDate = '2019-08-16' ORDER BY this_.deliveryDate ASC;
-
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_.status = 'Checked' AND this_.deliveryDate = '2019-08-19' ORDER BY this_.deliveryDate ASC;
-
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_.status = 'Checked' AND this_.deliveryDate = '2019-08-19' ORDER BY this_.deliveryDate ASC;
Date: 2019-08-16 06:35:48 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 14:24:35 Duration: 57ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:19:14 Duration: 46ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 1ms 26ms 3ms 4,623 16s125ms SELECT count(*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = ? AND this_.rxstatus IS NULL;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 16 06 8 21ms 2ms 07 440 1s679ms 3ms 08 101 419ms 4ms 09 693 2s568ms 3ms 10 362 1s246ms 3ms 11 390 1s406ms 3ms 12 488 1s605ms 3ms 13 433 1s530ms 3ms 14 590 1s683ms 2ms 15 568 1s961ms 3ms 16 317 1s165ms 3ms 17 150 551ms 3ms 18 65 219ms 3ms 19 12 42ms 3ms 21 5 20ms 4ms 23 1 3ms 3ms [ User: pharmisight - Total duration: 16s125ms - Times executed: 4623 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s125ms - Times executed: 4623 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus IS NULL;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus IS NULL;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus IS NULL;
Date: 2019-08-16 15:01:51 Duration: 26ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 16:59:39 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:41:39 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 1ms 23ms 3ms 18,492 1m3s 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 Aug 16 06 32 71ms 2ms 07 1,760 6s579ms 3ms 08 404 1s628ms 4ms 09 2,772 10s169ms 3ms 10 1,448 4s883ms 3ms 11 1,560 5s470ms 3ms 12 1,952 6s363ms 3ms 13 1,732 6s20ms 3ms 14 2,360 6s545ms 2ms 15 2,272 7s785ms 3ms 16 1,268 4s529ms 3ms 17 600 2s94ms 3ms 18 260 863ms 3ms 19 48 170ms 3ms 21 20 78ms 3ms 23 4 15ms 3ms [ User: pharmisight - Total duration: 1m3s - Times executed: 18492 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m3s - Times executed: 18492 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus = '1';
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus = '2';
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus = '1';
Date: 2019-08-16 08:56:35 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:19:03 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 07:19:06 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 1ms 11ms 2ms 4,623 12s68ms SELECT count(*) AS col_0_0_ FROM order_lines orderline0_ WHERE orderline0_.status <> ? AND orderline0_.deliverydate = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 16 06 8 16ms 2ms 07 440 1s270ms 2ms 08 101 310ms 3ms 09 693 1s928ms 2ms 10 362 931ms 2ms 11 390 1s45ms 2ms 12 488 1s204ms 2ms 13 433 1s141ms 2ms 14 590 1s283ms 2ms 15 568 1s463ms 2ms 16 317 857ms 2ms 17 150 398ms 2ms 18 65 167ms 2ms 19 12 31ms 2ms 21 5 15ms 3ms 23 1 2ms 2ms [ User: pharmisight - Total duration: 12s68ms - Times executed: 4623 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s68ms - Times executed: 4623 ]
-
SELECT count(*) AS col_0_0_ FROM ORDER_LINES orderline0_ WHERE orderline0_.status <> 'Quarantine' AND orderline0_.deliveryDate = '2019-08-16';
-
SELECT count(*) AS col_0_0_ FROM ORDER_LINES orderline0_ WHERE orderline0_.status <> 'Quarantine' AND orderline0_.deliveryDate = '2019-08-16';
-
SELECT count(*) AS col_0_0_ FROM ORDER_LINES orderline0_ WHERE orderline0_.status <> 'Quarantine' AND orderline0_.deliveryDate = '2019-08-16';
Date: 2019-08-16 06:35:52 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 14:55:42 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 06:44:39 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 0ms 13ms 1ms 7,384 10s558ms SELECT count(*) AS y0_ FROM orders this_ WHERE this_.deliverydate = ? AND this_.rxstatus = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 16 06 16 17ms 1ms 07 736 1s103ms 1ms 08 160 263ms 1ms 09 912 1s403ms 1ms 10 508 762ms 1ms 11 704 965ms 1ms 12 772 1s101ms 1ms 13 908 1s346ms 1ms 14 1,092 1s304ms 1ms 15 796 1s169ms 1ms 16 432 639ms 1ms 17 228 322ms 1ms 18 108 140ms 1ms 21 12 19ms 1ms [ User: pharmisight - Total duration: 10s558ms - Times executed: 7384 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s558ms - Times executed: 7384 ]
-
SELECT count(*) AS y0_ FROM ORDERS this_ WHERE this_.deliveryDate = '2019-08-19' AND this_.rxStatus = '2';
-
SELECT count(*) AS y0_ FROM ORDERS this_ WHERE this_.deliveryDate = '2019-08-16' AND this_.rxStatus = '4';
-
SELECT count(*) AS y0_ FROM ORDERS this_ WHERE this_.deliveryDate = '2019-08-19' AND this_.rxStatus = '4';
Date: 2019-08-16 13:17:54 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 15:58:13 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 12:40:58 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 0ms 18ms 0ms 60,786 43s875ms 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 Aug 16 06 18 12ms 0ms 07 6,667 4s329ms 0ms 08 190 180ms 0ms 09 174 198ms 1ms 10 266 268ms 1ms 11 8,695 6s454ms 0ms 12 8,611 6s922ms 0ms 13 5,267 4s169ms 0ms 14 16,871 10s942ms 0ms 15 8,894 6s722ms 0ms 16 2,148 1s615ms 0ms 17 915 630ms 0ms 18 1,798 1s240ms 0ms 21 272 189ms 0ms [ User: pharmisight - Total duration: 43s875ms - Times executed: 60786 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 43s875ms - Times executed: 60786 ]
-
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 = '200609332' 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 = '200609552' 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 = '200609332' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-08-16 12:40:58 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 11:28:54 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:33:20 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 0ms 11ms 0ms 13,994 9s181ms UPDATE order_line_activities SET order_line_id = ? WHERE order_line_activity_id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 16 07 172 136ms 0ms 08 2,105 1s385ms 0ms 09 1,898 1s278ms 0ms 10 1,339 873ms 0ms 11 2,447 1s612ms 0ms 12 1,988 1s207ms 0ms 13 1,066 696ms 0ms 14 1,868 1s156ms 0ms 15 911 645ms 0ms 16 115 107ms 0ms 17 43 39ms 0ms 18 42 40ms 0ms [ User: pharmisight - Total duration: 9s181ms - Times executed: 13994 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s181ms - Times executed: 13994 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '220196772' WHERE ORDER_LINE_ACTIVITY_ID = '321887672';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '220197692' WHERE ORDER_LINE_ACTIVITY_ID = '321956132';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '220179722' WHERE ORDER_LINE_ACTIVITY_ID = '321942142';
Date: 2019-08-16 10:38:13 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 14:57:24 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:25:17 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 0ms 12ms 0ms 17,173 9s746ms 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 Aug 16 01 717 418ms 0ms 02 716 423ms 0ms 03 718 425ms 0ms 04 716 427ms 0ms 05 716 429ms 0ms 06 716 417ms 0ms 07 712 376ms 0ms 08 714 396ms 0ms 09 714 399ms 0ms 10 714 397ms 0ms 11 714 371ms 0ms 12 714 376ms 0ms 13 714 384ms 0ms 14 716 389ms 0ms 15 714 380ms 0ms 16 716 419ms 0ms 17 716 421ms 0ms 18 716 411ms 0ms 19 716 418ms 0ms 20 718 419ms 0ms 21 716 405ms 0ms 22 716 417ms 0ms 23 718 407ms 0ms 00 716 411ms 0ms [ User: symmetricds - Total duration: 9s746ms - Times executed: 17173 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s746ms - Times executed: 17173 ]
-
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-08-16 13:06:25 Duration: 12ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:45:31 Duration: 6ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 02:24:08 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 0ms 13ms 0ms 70,733 20s189ms 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 #17
Day Hour Count Duration Avg duration Aug 16 06 23 8ms 0ms 07 6,814 1s858ms 0ms 08 1,251 581ms 0ms 09 1,028 524ms 0ms 10 1,453 501ms 0ms 11 10,866 3s97ms 0ms 12 9,983 3s82ms 0ms 13 6,141 1s855ms 0ms 14 17,999 4s455ms 0ms 15 9,773 2s767ms 0ms 16 2,447 698ms 0ms 17 936 245ms 0ms 18 1,803 461ms 0ms 21 216 50ms 0ms [ User: pharmisight - Total duration: 20s189ms - Times executed: 70733 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s189ms - Times executed: 70733 ]
-
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 = '200609362' 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 = '200609602' 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 = '200609662' ORDER BY orders0_.order_id ASC;
Date: 2019-08-16 12:52:42 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 13:32:35 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 15:00:47 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 86ms 0ms 226,641 28s636ms COMMIT;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 16 01 6,340 551ms 0ms 02 5,541 179ms 0ms 03 5,552 179ms 0ms 04 5,554 199ms 0ms 05 5,526 176ms 0ms 06 6,515 386ms 0ms 07 17,428 3s113ms 0ms 08 14,866 3s323ms 0ms 09 18,363 3s118ms 0ms 10 12,350 2s370ms 0ms 11 16,299 2s967ms 0ms 12 14,954 2s813ms 0ms 13 14,183 2s196ms 0ms 14 13,782 2s170ms 0ms 15 12,366 1s689ms 0ms 16 8,550 751ms 0ms 17 7,189 549ms 0ms 18 6,455 325ms 0ms 19 6,423 518ms 0ms 20 5,670 192ms 0ms 21 5,733 236ms 0ms 22 5,679 195ms 0ms 23 5,658 224ms 0ms 00 5,665 205ms 0ms [ User: symmetricds - Total duration: 20s469ms - Times executed: 184878 ]
[ User: pharmisight - Total duration: 8s167ms - Times executed: 41763 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28s608ms - Times executed: 226598 ]
[ Application: [unknown] - Total duration: 28ms - Times executed: 43 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-08-16 06:05:57 Duration: 86ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 09:08:12 Duration: 83ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 09:08:12 Duration: 80ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 4ms 0ms 18,502 1s815ms SELECT count(*) AS y0_ FROM order_rounds this_ WHERE this_.status = ? AND this_.rounddeliverydate = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 16 06 28 1ms 0ms 07 1,720 181ms 0ms 08 406 45ms 0ms 09 3,018 340ms 0ms 10 1,537 162ms 0ms 11 1,460 149ms 0ms 12 1,963 192ms 0ms 13 1,463 148ms 0ms 14 2,169 164ms 0ms 15 2,413 205ms 0ms 16 1,362 134ms 0ms 17 615 58ms 0ms 18 255 25ms 0ms 19 72 3ms 0ms 21 15 1ms 0ms 23 6 0ms 0ms [ User: pharmisight - Total duration: 1s815ms - Times executed: 18502 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s815ms - Times executed: 18502 ]
-
SELECT count(*) AS y0_ FROM ORDER_ROUNDS this_ WHERE this_.status = 'Lock' AND this_.roundDeliveryDate = '2019-08-19';
-
SELECT count(*) AS y0_ FROM ORDER_ROUNDS this_ WHERE this_.status = 'Done' AND this_.roundDeliveryDate = '2019-08-16';
-
SELECT count(*) AS y0_ FROM ORDER_ROUNDS this_ WHERE this_.status = 'Done' AND this_.roundDeliveryDate = '2019-08-16';
Date: 2019-08-16 09:14:28 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 15:58:13 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 11:28:54 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 0ms 21ms 0ms 106,285 10s147ms 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 Aug 16 06 256 22ms 0ms 07 3,470 346ms 0ms 08 20,696 1s964ms 0ms 09 20,533 2s265ms 0ms 10 8,920 782ms 0ms 11 12,105 1s100ms 0ms 12 11,579 1s69ms 0ms 13 8,892 793ms 0ms 14 10,152 897ms 0ms 15 7,232 672ms 0ms 16 1,794 170ms 0ms 17 614 56ms 0ms 18 36 3ms 0ms 21 6 1ms 0ms [ User: pharmisight - Total duration: 10s147ms - Times executed: 106285 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s147ms - Times executed: 106285 ]
-
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 = '211312652' 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 = '211088662' 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 = '211333382' ORDER BY orderlines0_.partDescription ASC;
Date: 2019-08-16 08:02:14 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:00:38 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-08-16 08:02:42 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
-
Events
Log levels
Key values
- 8,323,012 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 3 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 3 Max number of times the same event was reported
- 3 Total events found
Rank Times reported Error 1 3 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Aug 16 07 2 11 1 - ERROR: process 23331 still waiting for ShareLock on transaction 66332223 after 1000.159 ms
- ERROR: process 23330 still waiting for ShareLock on transaction 66332638 after 1000.176 ms
- ERROR: process 30508 still waiting for ShareLock on transaction 66349032 after 1000.149 ms
Detail: Process holding the lock: 23082. Wait queue: 23331.
Context: while updating tuple (178320,7) in relation "order_lines"
Statement: 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=$78Date: 2019-08-16 06:04:45 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 23083. Wait queue: 23330.
Context: while updating tuple (883,105) 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-08-16 06:11:00 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 30880. Wait queue: 30508.
Context: while updating tuple (930,23) 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-08-16 10:31:13 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code: