-
Global information
- Generated on Tue Jul 31 00:00:44 2018
- Log file: /var/log/postgresql/postgresql-9.6-main.log.1
- Parsed 11,915,575 log entries in 42s
- Log start from 2018-07-30 00:00:00 to 2018-07-30 23:59:59
-
Overview
Global Stats
- 1,280 Number of unique normalized queries
- 3,710,076 Number of queries
- 18m6s Total query duration
- 2018-07-30 00:00:00 First query
- 2018-07-30 23:59:59 Last query
- 7,944 queries/s at 2018-07-30 06:27:34 Query peak
- 12 Number of events
- 3 Number of unique normalized events
- 10 Max number of times the same event was reported
- 0 Number of cancellation
- 474 Total number of automatic vacuums
- 629 Total number of automatic analyzes
- 2 Number temporary file
- 10.74 MiB Max size of temporary file
- 10.65 MiB Average size of temporary file
- 1,813 Total number of sessions
- 3 sessions at 2018-07-30 15:10:38 Session peak
- 10d23h50m4s Total duration of sessions
- 8m43s Average duration of sessions
- 2,046 Average queries per session
- 599ms Average queries duration per session
- 1,813 Total number of connections
- 13 connections/s at 2018-07-30 14:58:24 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 7,944 queries/s Query Peak
- 2018-07-30 06:27:34 Date
SELECT Traffic
Key values
- 1,598 queries/s Query Peak
- 2018-07-30 07:40:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 7,913 queries/s Query Peak
- 2018-07-30 06:27:34 Date
Queries duration
Key values
- 18m6s Total query duration
Prepared queries ratio
Key values
- 2.31 Ratio of bind vs prepare
- 135.04 % Ratio between prepared and "usual" statements
General Activity
Day Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 30 00 96,986 0ms 24ms 0ms 76ms 261ms 1s638ms 01 92,908 0ms 14ms 0ms 71ms 86ms 229ms 02 91,972 0ms 19ms 0ms 68ms 77ms 162ms 03 92,000 0ms 15ms 0ms 65ms 68ms 155ms 04 91,972 0ms 17ms 0ms 67ms 70ms 165ms 05 91,878 0ms 24ms 0ms 60ms 67ms 165ms 06 324,494 0ms 3s163ms 1ms 20s107ms 23s98ms 25s729ms 07 279,145 0ms 904ms 0ms 1s840ms 2s93ms 3s41ms 08 296,798 0ms 231ms 0ms 2s149ms 2s592ms 2s733ms 09 212,150 0ms 1s296ms 0ms 2s573ms 2s751ms 3s252ms 10 230,589 0ms 3s415ms 0ms 3s107ms 3s412ms 4s88ms 11 198,885 0ms 4s228ms 0ms 4s204ms 5s356ms 6s963ms 12 234,645 0ms 1s370ms 0ms 8s224ms 10s153ms 13s160ms 13 124,965 0ms 209ms 0ms 1s410ms 1s887ms 2s540ms 14 155,335 0ms 209ms 0ms 2s386ms 3s232ms 3s762ms 15 148,135 0ms 215ms 0ms 2s457ms 4s17ms 7s186ms 16 147,637 0ms 167ms 0ms 1s647ms 2s910ms 3s943ms 17 187,731 0ms 203ms 0ms 3s91ms 3s561ms 4s870ms 18 143,073 0ms 204ms 0ms 1s754ms 2s358ms 3s108ms 19 92,386 0ms 88ms 0ms 64ms 84ms 322ms 20 92,959 0ms 75ms 0ms 81ms 191ms 591ms 21 92,271 0ms 78ms 0ms 62ms 76ms 324ms 22 95,327 0ms 76ms 0ms 67ms 194ms 547ms 23 95,835 0ms 78ms 0ms 56ms 256ms 522ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 30 00 32,990 0 0ms 30ms 36ms 175ms 01 30,819 0 0ms 31ms 33ms 59ms 02 30,616 0 0ms 31ms 35ms 44ms 03 30,629 0 0ms 31ms 35ms 48ms 04 30,616 0 0ms 27ms 32ms 48ms 05 30,598 0 0ms 27ms 32ms 43ms 06 133,974 0 1ms 9s916ms 15s114ms 21s196ms 07 144,956 0 0ms 896ms 1s84ms 1s430ms 08 166,938 0 0ms 1s402ms 1s630ms 1s982ms 09 103,295 0 0ms 1s84ms 1s650ms 2s510ms 10 116,297 0 0ms 1s702ms 2s555ms 3s639ms 11 97,268 0 0ms 1s258ms 3s540ms 6s418ms 12 136,045 0 0ms 3s913ms 7s711ms 11s537ms 13 51,248 0 0ms 249ms 1s342ms 2s291ms 14 70,513 0 0ms 753ms 1s956ms 3s398ms 15 67,898 0 0ms 243ms 2s346ms 4s131ms 16 65,897 0 0ms 529ms 1s541ms 2s821ms 17 92,831 0 0ms 2s136ms 2s790ms 4s263ms 18 61,667 0 0ms 1s127ms 1s599ms 2s634ms 19 30,846 0 0ms 32ms 34ms 42ms 20 32,638 0 0ms 31ms 49ms 165ms 21 30,759 0 0ms 29ms 33ms 47ms 22 31,366 0 0ms 33ms 37ms 54ms 23 31,470 0 0ms 31ms 34ms 66ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 30 00 1,264 935 83 0 0ms 3ms 10ms 72ms 01 524 718 84 0 0ms 1ms 8ms 20ms 02 88 581 81 0 0ms 1ms 5ms 9ms 03 88 580 82 0 0ms 1ms 4ms 10ms 04 88 582 79 0 0ms 1ms 6ms 10ms 05 88 580 81 0 0ms 1ms 6ms 9ms 06 67,874 22,983 501 0 0ms 1s90ms 2s630ms 4s954ms 07 21,460 10,350 431 0 0ms 437ms 557ms 716ms 08 19,853 9,504 419 0 0ms 347ms 437ms 517ms 09 13,405 6,935 373 0 0ms 235ms 297ms 410ms 10 16,952 8,044 375 0 0ms 258ms 343ms 418ms 11 11,288 6,296 300 0 0ms 186ms 244ms 360ms 12 7,542 5,811 269 0 0ms 123ms 249ms 550ms 13 3,008 2,194 171 0 0ms 49ms 85ms 164ms 14 6,236 3,788 241 0 0ms 99ms 156ms 212ms 15 5,149 3,158 251 0 0ms 70ms 110ms 206ms 16 5,595 3,480 233 0 0ms 86ms 128ms 158ms 17 8,015 5,103 317 0 0ms 110ms 137ms 243ms 18 2,813 3,551 204 0 0ms 43ms 89ms 137ms 19 117 613 110 0 0ms 1ms 7ms 11ms 20 157 655 147 0 0ms 1ms 8ms 29ms 21 120 618 109 0 0ms 1ms 7ms 14ms 22 1,900 1,076 112 0 0ms 1ms 8ms 144ms 23 2,224 1,156 111 0 0ms 1ms 8ms 168ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 30 00 58,081 96,950 1.67 96.67% 01 55,017 92,872 1.69 97.31% 02 54,625 91,936 1.68 98.15% 03 54,728 91,964 1.68 98.30% 04 54,741 91,936 1.68 98.36% 05 54,854 91,842 1.67 98.65% 06 95,260 324,458 3.41 34.83% 07 86,519 275,514 3.18 37.56% 08 86,762 296,762 3.42 34.85% 09 77,754 212,114 2.73 46.37% 10 79,828 230,539 2.89 43.03% 11 77,329 198,814 2.57 49.77% 12 78,011 234,609 3.01 40.79% 13 64,441 124,908 1.94 74.74% 14 69,838 155,299 2.22 60.89% 15 67,101 148,099 2.21 61.84% 16 68,376 147,601 2.16 63.53% 17 75,318 187,680 2.49 51.96% 18 67,304 143,017 2.12 65.80% 19 54,883 92,350 1.68 97.89% 20 54,117 92,923 1.72 94.14% 21 54,820 92,235 1.68 97.91% 22 55,775 95,291 1.71 94.62% 23 55,720 95,799 1.72 93.73% Day Hour Count Average / Second Jul 30 00 105 0.03/s 01 88 0.02/s 02 88 0.02/s 03 90 0.03/s 04 91 0.03/s 05 93 0.03/s 06 83 0.02/s 07 53 0.01/s 08 64 0.02/s 09 65 0.02/s 10 62 0.02/s 11 71 0.02/s 12 100 0.03/s 13 66 0.02/s 14 87 0.02/s 15 62 0.02/s 16 77 0.02/s 17 87 0.02/s 18 58 0.02/s 19 68 0.02/s 20 67 0.02/s 21 63 0.02/s 22 61 0.02/s 23 64 0.02/s Day Hour Count Average Duration Jul 30 00 105 5m55s 01 87 6m50s 02 89 6m38s 03 90 6m54s 04 91 6m34s 05 93 6m14s 06 83 8m8s 07 53 9m11s 08 64 10m58s 09 65 9m32s 10 61 9m35s 11 67 10m3s 12 99 9m26s 13 72 10m21s 14 75 9m24s 15 74 10m44s 16 77 9m58s 17 84 9m35s 18 61 11m4s 19 68 10m5s 20 67 8m26s 21 63 9m22s 22 61 10m29s 23 64 8m49s -
Connections
Established Connections
Key values
- 13 connections Connection Peak
- 2018-07-30 14:58:24 Date
Connections per database
Key values
- pharmisight Main Database
- 1,813 connections Total
Connections per user
Key values
- pharmisight Main User
- 1,813 connections Total
-
Sessions
Simultaneous sessions
Key values
- 3 sessions Session Peak
- 2018-07-30 15:10:38 Date
Histogram of session times
Key values
- 1,065 60000-600000ms duration
Sessions per database
Key values
- pharmisight Main Database
- 1,813 sessions Total
Sessions per user
Key values
- pharmisight Main User
- 1,813 sessions Total
Sessions per host
Key values
- 10.10.10.1 Main Host
- 1,813 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 3,480 buffers Checkpoint Peak
- 2018-07-30 06:25:45 Date
- 150.052 seconds Highest write time
- 0.102 seconds Sync time
Checkpoints Wal files
Key values
- 3 files Wal files usage Peak
- 2018-07-30 06:35:45 Date
Checkpoints distance
Key values
Checkpoint mean distance and estimate (5 minutes period)
NO DATASET
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Jul 30 00 990 99.221s 0.015s 99.274s 01 752 75.331s 0.017s 75.41s 02 573 57.484s 0.015s 57.538s 03 583 58.495s 0.013s 58.546s 04 584 58.577s 0.023s 58.638s 05 580 58.181s 0.017s 58.235s 06 14,970 1,119.28s 0.147s 1,119.472s 07 9,808 987.421s 0.03s 987.489s 08 8,123 818.911s 0.05s 819.001s 09 6,194 620.21s 0.025s 620.276s 10 6,922 692.833s 0.035s 692.913s 11 6,150 619.652s 0.035s 619.733s 12 6,222 621.955s 0.027s 622.026s 13 2,331 233.258s 0.031s 233.33s 14 3,543 354.7s 0.023s 354.761s 15 2,662 266.407s 0.02s 266.472s 16 2,853 285.585s 0.032s 285.653s 17 4,032 403.61s 0.029s 403.682s 18 3,068 307.459s 0.018s 307.515s 19 636 63.798s 0.037s 63.876s 20 531 53.261s 0.014s 53.313s 21 577 57.871s 0.024s 57.935s 22 807 80.846s 0.016s 80.903s 23 968 97.011s 0.012s 97.065s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 30 00 0 0 0 358 0.002s 0s 01 0 0 0 324 0.008s 0s 02 0 0 0 277 0.002s 0s 03 0 0 0 285 0.002s 0s 04 0 0 0 290 0.008s 0s 05 0 0 1 288 0.002s 0s 06 0 0 9 1,373 0.094s 0s 07 0 1 3 1,279 0.001s 0s 08 0 0 4 1,183 0.016s 0s 09 0 0 2 1,096 0.002s 0s 10 0 0 3 1,101 0.002s 0s 11 0 0 3 1,092 0.008s 0s 12 0 0 2 1,153 0.002s 0s 13 0 0 1 849 0.008s 0s 14 0 0 1 859 0.002s 0s 15 0 0 1 822 0.002s 0s 16 0 0 1 932 0.002s 0s 17 0 0 2 1,043 0.002s 0s 18 0 0 1 780 0.002s 0s 19 0 0 0 302 0.008s 0s 20 0 0 0 269 0.002s 0s 21 0 0 1 269 0.008s 0s 22 0 0 0 264 0.002s 0s 23 0 0 0 248 0.002s 0s Day Hour Count Avg time (sec) Jul 30 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Jul 30 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 -
Temporary Files
Size of temporary files
Key values
- 10.74 MiB Temp Files size Peak
- 2018-07-30 06:28:34 Date
Number of temporary files
Key values
- 1 per second Temp Files Peak
- 2018-07-30 06:27:30 Date
Temporary Files Activity
Day Hour Count Total size Average size Jul 30 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 2 21.30 MiB 10.65 MiB 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0.87 sec Highest CPU-cost vacuum
Table public.sym_outgoing_batch
Database pharmisight - 2018-07-30 17:04:31 Date
- 4.39 sec Highest CPU-cost analyze
Table public.sym_data
Database pharmisight - 2018-07-30 06:49:17 Date
Analyzes per table
Key values
- public.sym_node_communication (207) Main table analyzed (database pharmisight)
- 629 analyzes Total
Table Number of analyzes pharmisight.public.sym_node_communication 207 pharmisight.public.sym_data_gap 106 pharmisight.public.sym_outgoing_batch 104 pharmisight.public.sym_sequence 102 pharmisight.public.sym_node_channel_ctl 27 pharmisight.public.sym_data_event 22 pharmisight.public.sym_data 21 pharmisight.public.sym_incoming_batch 20 pharmisight.public.sym_lock 11 pharmisight.public.sym_node_host 5 pharmisight.public.item_codes 3 pharmisight.public.flow_report_summary_delays 1 Total 629 Vacuums per table
Key values
- public.sym_node_communication (204) Main table vacuumed on database pharmisight
- 474 vacuums Total
Table Number of vacuums Index scans pharmisight.public.sym_node_communication 204 0 pharmisight.public.sym_sequence 105 1 pharmisight.public.sym_data_gap 56 56 pharmisight.public.sym_outgoing_batch 54 50 pharmisight.public.sym_node_channel_ctl 26 0 pharmisight.public.sym_lock 11 0 pharmisight.public.sym_incoming_batch 8 8 pharmisight.public.sym_node_host 5 0 pharmisight.pg_toast.pg_toast_2619 3 3 pharmisight.pg_catalog.pg_statistic 1 1 pharmisight.public.item_codes 1 1 Total 474 120 Tuples removed per table
Key values
- public.sym_node_communication (11404) Main table with removed tuples on database pharmisight
- 26214 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_node_communication 204 0 11404 0 pharmisight.public.sym_sequence 105 1 5639 8 pharmisight.public.sym_data_gap 56 56 2965 1 pharmisight.public.sym_outgoing_batch 54 50 1732 166 pharmisight.public.sym_node_channel_ctl 26 0 1379 0 pharmisight.public.sym_incoming_batch 8 8 1289 0 pharmisight.public.sym_lock 11 0 572 0 pharmisight.pg_catalog.pg_statistic 1 1 394 0 pharmisight.public.item_codes 1 1 317 0 pharmisight.pg_toast.pg_toast_2619 3 3 263 13 pharmisight.public.sym_node_host 5 0 260 0 Total 474 120 26,214 188 Pages removed per table
Key values
- public.sym_outgoing_batch (166) Main table with removed pages on database pharmisight
- 188 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_outgoing_batch 54 50 1732 166 pharmisight.pg_toast.pg_toast_2619 3 3 263 13 pharmisight.public.sym_sequence 105 1 5639 8 pharmisight.public.sym_data_gap 56 56 2965 1 pharmisight.pg_catalog.pg_statistic 1 1 394 0 pharmisight.public.sym_lock 11 0 572 0 pharmisight.public.sym_node_communication 204 0 11404 0 pharmisight.public.sym_node_host 5 0 260 0 pharmisight.public.sym_incoming_batch 8 8 1289 0 pharmisight.public.item_codes 1 1 317 0 pharmisight.public.sym_node_channel_ctl 26 0 1379 0 Total 474 120 26,214 188 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Jul 30 00 10 16 01 12 14 02 11 11 03 9 13 04 12 12 05 9 11 06 47 71 07 42 61 08 36 52 09 30 43 10 32 44 11 27 35 12 25 37 13 16 18 14 21 27 15 19 23 16 20 27 17 26 32 18 18 25 19 15 12 20 8 11 21 9 9 22 9 13 23 11 12 - 0.87 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 10 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 9 15s232ms 1s46ms 2s785ms 1s692ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = ? WHERE flow_report_id = ?;-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
Date: 2018-07-30 12:23:43 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver
2 1 3s150ms 3s150ms 3s150ms 3s150ms 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;
-
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: 2018-07-30 07:27:48 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:31:42 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver
Queries that waited the most
Rank Wait time Query 1 3s150ms 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: 2018-07-30 06:31:42 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
2 2s785ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-30 06:36:23 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
3 1s920ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-30 06:36:09 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
4 1s872ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-30 06:35:50 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
5 1s805ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-30 06:36:37 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
6 1s489ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-30 11:06:23 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
7 1s480ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-30 06:35:47 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
8 1s462ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-30 06:35:45 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
9 1s369ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-30 12:23:43 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
10 1s46ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-30 06:36:12 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Queries
Queries by type
Key values
- 1,652,174 Total read queries
- 1,091,835 Total write queries
Queries by database
Key values
- pharmisight Main database
- 3,710,076 Requests
- 18m6s (pharmisight)
- Main time consuming database
Queries by user
Key values
- symmetricds Main user
- 2,816,275 Requests
User Request type Count Duration pharmisight Total 985,759 16m7s DELETE 102 1s366ms INSERT 30,722 56s291ms OTHERS 2,463 78ms SELECT 836,450 12m37s TCL 72,565 7s561ms UPDATE 43,457 2m24s symmetricds Total 2,816,275 1m57s DDL 1 0ms DELETE 5,133 4s214ms INSERT 165,630 14s930ms OTHERS 999,973 18s218ms SELECT 845,651 39s827ms TCL 743,343 27s101ms UPDATE 56,544 12s989ms tony Total 900 4s487ms SELECT 900 4s487ms Duration by user
Key values
- 16m7s (pharmisight) Main time consuming user
User Request type Count Duration pharmisight Total 985,759 16m7s DELETE 102 1s366ms INSERT 30,722 56s291ms OTHERS 2,463 78ms SELECT 836,450 12m37s TCL 72,565 7s561ms UPDATE 43,457 2m24s symmetricds Total 2,816,275 1m57s DDL 1 0ms DELETE 5,133 4s214ms INSERT 165,630 14s930ms OTHERS 999,973 18s218ms SELECT 845,651 39s827ms TCL 743,343 27s101ms UPDATE 56,544 12s989ms tony Total 900 4s487ms SELECT 900 4s487ms Queries by host
Key values
- 10.10.10.1 Main host
- 3,802,034 Requests
- 18m4s (10.10.10.1)
- Main time consuming host
Queries by application
Key values
- PostgreSQL JDBC Driver Main application
- 3,703,993 Requests
- 18m1s (PostgreSQL JDBC Driver)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2018-07-30 11:54:56 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 3,584,492 0-1ms duration
Slowest individual queries
Rank Duration Query 1 4s228ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2018-07-02' AND '2018-07-31';[ Date: 2018-07-30 11:19:14 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 3s415ms SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.salesforceOrderNumber = '10884199';[ Date: 2018-07-30 10:09:42 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 3s163ms UPDATE ORDER_LINES SET routeNumber = '9027330', sapOrderNumber = '7787422', orderNumber = '5004293615', answerOrderNumber = NULL, partCode = '40696', partDescription = 'Fortisip Chocolate 200ml', patientName = 'Janice MacCorquodale', firstName = 'Janice', middleName = NULL, lastName = 'MacCorquodale', patientDateOfBirth = '1965-06-04', patientPostcode = 'PA23 8EW', patientPostcodePrefix = 'PA', orderQty = '56', allocQty = '56', shipQty = NULL, adjustedQty = NULL, scannedQty = NULL, assignedQty = NULL, checkedQty = NULL, backOrderQty = NULL, cancelQty = NULL, reducedQty = NULL, STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-07-31', customer = 'Samra Chergui', sapCustomerId = '685174222', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200360480', 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 = 'Tracie Boulton', patientAlert = NULL, itemAlert = NULL, checkerId = NULL, reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User Login', lastRegUpdateUserName = 'deborah.kirby@nutricia.connections', lastRegUpdateDate = '2018-06-13 14:00:59', sapPlannedShipDate = '2018-07-30', sapPlannedDeliveryDate = '2018-07-31', requestedSAPQuantity = '56', orderQuantity = '56', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'deborah.kirby@nutricia.connections', regLineCreatedDate = '2018-02-22 16:26:48', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-30 06:19:32.877', UPDATED = NULL, rxCheckBy = '4058', note = 'Mandy Jenkins', item = '2884', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214637612';[ Date: 2018-07-30 06:31:42 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 2s786ms UPDATE FLOW_REPORTS SET routeNumber = '9027531', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:32.998', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:51.961', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416602';[ Date: 2018-07-30 06:36:23 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 1s922ms UPDATE FLOW_REPORTS SET routeNumber = '9027528', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:32.166', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:21.788', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416572';[ Date: 2018-07-30 06:36:09 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 1s874ms UPDATE FLOW_REPORTS SET routeNumber = '9027526', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:32.665', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:17.263', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416552';[ Date: 2018-07-30 06:35:50 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 1s807ms UPDATE FLOW_REPORTS SET routeNumber = '9027533', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:33.631', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:17.088', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416622';[ Date: 2018-07-30 06:36:37 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 1s490ms UPDATE FLOW_REPORTS SET routeNumber = '9027522', roundDeliveryDate = '2018-07-31', distributionPoint = 'D Daventry', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2018-07-30 11:06:10.882', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-07-30 10:03:23', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2018-07-30 10:46:21.177', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 11:30:28.267', UPDATED = '2018-07-30 11:06:10.901', note = NULL WHERE FLOW_REPORT_ID = '200416512';[ Date: 2018-07-30 11:06:23 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 1s482ms UPDATE FLOW_REPORTS SET routeNumber = '9027525', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:31.185', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:32.928', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416542';[ Date: 2018-07-30 06:35:47 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 1s464ms UPDATE FLOW_REPORTS SET routeNumber = '9027525', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:31.185', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:32.928', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416542';[ Date: 2018-07-30 06:35:45 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 1s436ms SELECT orders0_.PATIENT_ID AS PATIENT43_31_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = '200242700' ORDER BY orders0_.CREATED DESC;[ Date: 2018-07-30 06:20:03 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 1s370ms UPDATE FLOW_REPORTS SET routeNumber = '9027518', roundDeliveryDate = '2018-07-31', distributionPoint = 'F Loncol', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-07-30 12:16:00', failedTargetPickTime = 't', actualPaperworkCompleteTime = NULL, changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 06:19:35.846', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416472';[ Date: 2018-07-30 12:23:43 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 1s296ms 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 = '4062' AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2018-07-30 09:14:07 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 1s175ms 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 = '4058' AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2018-07-30 11:25:22 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 1s48ms UPDATE FLOW_REPORTS SET routeNumber = '9027530', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:33.749', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:31.352', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416592';[ Date: 2018-07-30 06:36:12 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 954ms UPDATE FLOW_REPORTS SET routeNumber = '9027528', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:32.166', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:21.788', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416572';[ Date: 2018-07-30 06:36:07 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 904ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '210272362';[ Date: 2018-07-30 07:24:33 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 842ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '44348740';[ Date: 2018-07-30 06:30:37 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 709ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '42766';[ Date: 2018-07-30 06:28:58 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 666ms SELECT _lines.routeNumber, _lines.deliveryDate, _lines.orderNumber, _lines.patientName, _lines.partDescription, _lines.orderQty, _lines.order_line_id, _checks.created AS check_created, _checks.newRxCheck AS check_checked, _checkers.firstName AS checker_firstName, _checkers.lastName AS checker_lastName, _audits.created AS audit_created, _audits.newRxCheck AS audit_checked, _auditors.firstName AS auditor_firstName, _auditors.lastName AS auditor_lastName, _audits.rx_line_activity_id, _checks.auditedbyrxlineactivity, _checks.auditedaserror FROM rx_line_activities AS _audits INNER JOIN rx_line_activities AS _checks ON (_audits.rx_line_activity_id = _checks.auditedbyrxlineactivity) LEFT OUTER JOIN order_lines AS _lines ON (_audits.order_line_id = _lines.order_line_id) LEFT OUTER JOIN users AS _auditors ON (_audits.newrxcheckby = _auditors.user_id) LEFT OUTER JOIN users AS _checkers ON (_checks.newrxcheckby = _checkers.user_id) WHERE (_checks.created BETWEEN '2018-07-02 00:00:00' AND '2018-07-31 00:00:00') AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2018-07-30 11:19: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 2m5s 2,207 0ms 842ms 56ms SELECT this_.order_line_id AS order_li1_22_0_, this_.routenumber AS routenum2_22_0_, this_.sapordernumber AS saporder3_22_0_, this_.ordernumber AS ordernum4_22_0_, this_.answerordernumber AS answeror5_22_0_, this_.partcode AS partcode6_22_0_, this_.partdescription AS partdesc7_22_0_, this_.patientname AS patientn8_22_0_, this_.firstname AS firstnam9_22_0_, this_.middlename AS middlen10_22_0_, this_.lastname AS lastnam11_22_0_, this_.patientdateofbirth AS patient12_22_0_, this_.patientpostcode AS patient13_22_0_, this_.patientpostcodeprefix AS patient14_22_0_, this_.orderqty AS orderqt15_22_0_, this_.allocqty AS allocqt16_22_0_, this_.shipqty AS shipqty17_22_0_, this_.adjustedqty AS adjuste18_22_0_, this_.scannedqty AS scanned19_22_0_, this_.assignedqty AS assigne20_22_0_, this_.checkedqty AS checked21_22_0_, this_.backorderqty AS backord22_22_0_, this_.cancelqty AS cancelq23_22_0_, this_.reducedqty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliverydate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapcustomerid AS sapcust29_22_0_, this_.billtotype AS billtot30_22_0_, this_.barcodedate AS barcode31_22_0_, this_.barcodebatch AS barcode32_22_0_, this_.patientid AS patient33_22_0_, this_.isadded AS isadded34_22_0_, this_.isnotwithinage AS isnotwi35_22_0_, this_.isunderage AS isunder36_22_0_, this_.agecheck AS agechec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.ispaperworkproblem AS ispaper40_22_0_, this_.paperworkresolution AS paperwo41_22_0_, this_.pickerid AS pickeri42_22_0_, this_.specialcare AS special43_22_0_, this_.paperworkenquirystarted AS paperwo44_22_0_, this_.paperworkenquiryfinished AS paperwo45_22_0_, this_.paperworkenquiryresponse AS paperwo46_22_0_, this_.isnewproduct AS isnewpr47_22_0_, this_.extraprocedure AS extrapr48_22_0_, this_.overaverageqtymax AS overave49_22_0_, this_.overaverageqtyresolution AS overave50_22_0_, this_.createuser AS createu51_22_0_, this_.patientalert AS patient52_22_0_, this_.itemalert AS itemale53_22_0_, this_.checkerid AS checker54_22_0_, this_.reductionsummary AS reducti55_22_0_, this_.ismetabolic AS ismetab56_22_0_, this_.rxstatus AS rxstatu57_22_0_, this_.lastregupdateusertype AS lastreg58_22_0_, this_.lastregupdateusername AS lastreg59_22_0_, this_.lastregupdatedate AS lastreg60_22_0_, this_.sapplannedshipdate AS sapplan61_22_0_, this_.sapplanneddeliverydate AS sapplan62_22_0_, this_.requestedsapquantity AS request63_22_0_, this_.orderquantity AS orderqu64_22_0_, this_.reglinecreatedusertype AS regline65_22_0_, this_.reglinecreatedusername AS regline66_22_0_, this_.reglinecreateddate AS regline67_22_0_, this_.audited AS audited68_22_0_, this_.ismetabolicpatient AS ismetab69_22_0_, this_.addedcase AS addedca70_22_0_, this_.ordertype AS orderty71_22_0_, this_.created AS created72_22_0_, this_.updated AS updated73_22_0_, this_.rxcheckby AS rxcheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertconfirmation AS alertco77_22_0_, this_.homewardaction AS homewar78_22_0_ FROM order_lines this_ WHERE this_.patientid = '';Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 30 06 2,154 2m3s 57ms 07 22 58ms 2ms 08 7 13ms 1ms 09 7 522ms 74ms 10 1 335ms 335ms 12 8 1s140ms 142ms 16 4 213ms 53ms 17 4 7ms 1ms [ User: pharmisight - Total duration: 2m5s - Times executed: 2207 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2m5s - Times executed: 2207 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '44348740';
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '42766';
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '127507';
Date: 2018-07-30 06:30:37 Duration: 842ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:28:58 Duration: 709ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:30:41 Duration: 657ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 1m31s 2,216 20ms 75ms 41ms 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 Jul 30 06 40 1s610ms 40ms 07 154 6s186ms 40ms 08 322 12s873ms 39ms 09 221 8s788ms 39ms 10 156 6s170ms 39ms 11 188 7s588ms 40ms 12 368 15s551ms 42ms 13 82 3s391ms 41ms 14 109 4s820ms 44ms 15 122 5s280ms 43ms 16 71 2s899ms 40ms 17 215 9s5ms 41ms 18 168 7s68ms 42ms [ User: pharmisight - Total duration: 1m31s - Times executed: 2216 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m31s - Times executed: 2216 ]
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
Date: 2018-07-30 18:06:31 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 18:32:11 Duration: 72ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:42:34 Duration: 70ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 1m22s 64,759 0ms 435ms 1ms SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 30 06 4,639 5s211ms 1ms 07 287 452ms 1ms 08 180 348ms 1ms 09 838 1s123ms 1ms 10 6,561 8s116ms 1ms 11 6,856 8s657ms 1ms 12 18,741 24s962ms 1ms 13 2,147 2s874ms 1ms 14 3,549 4s705ms 1ms 15 5,214 6s924ms 1ms 16 4,983 6s207ms 1ms 17 8,558 10s621ms 1ms 18 2,059 2s475ms 1ms 20 147 113ms 0ms [ User: pharmisight - Total duration: 1m22s - Times executed: 64759 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m22s - Times executed: 64759 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200328102' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200328112' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200368472' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-07-30 12:15:06 Duration: 435ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:15:25 Duration: 35ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:05:43 Duration: 34ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 1m21s 1,348 0ms 1s436ms 60ms SELECT orders0_.patient_id AS patient43_31_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.patient_id = '' ORDER BY orders0_.created DESC;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 30 06 1,231 1m21s 66ms 07 59 86ms 1ms 08 21 11ms 0ms 09 15 347ms 23ms 10 2 12ms 6ms 11 2 1ms 0ms 12 8 32ms 4ms 16 8 18ms 2ms 17 2 1ms 0ms [ User: pharmisight - Total duration: 1m21s - Times executed: 1348 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m21s - Times executed: 1348 ]
-
SELECT orders0_.PATIENT_ID AS PATIENT43_31_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = '200242700' ORDER BY orders0_.CREATED DESC;
-
SELECT orders0_.PATIENT_ID AS PATIENT43_31_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = '55847' ORDER BY orders0_.CREATED DESC;
-
SELECT orders0_.PATIENT_ID AS PATIENT43_31_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = '107305' ORDER BY orders0_.CREATED DESC;
Date: 2018-07-30 06:20:03 Duration: 1s436ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:25:22 Duration: 519ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:20:00 Duration: 414ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 36s218ms 78,622 0ms 13ms 0ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 30 06 5,069 2s245ms 0ms 07 1,554 1s17ms 0ms 08 1,138 942ms 0ms 09 1,769 927ms 0ms 10 8,065 3s605ms 0ms 11 8,404 3s772ms 0ms 12 24,173 10s851ms 0ms 13 2,473 1s136ms 0ms 14 3,996 1s872ms 0ms 15 5,513 2s623ms 0ms 16 5,121 2s308ms 0ms 17 9,008 3s938ms 0ms 18 2,236 951ms 0ms 20 103 24ms 0ms [ User: pharmisight - Total duration: 36s218ms - Times executed: 78622 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 36s218ms - Times executed: 78622 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200452112' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200359162' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200452162' ORDER BY orders0_.order_id ASC;
Date: 2018-07-30 15:17:03 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:11:41 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:55:50 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 34s509ms 8,864 1ms 18ms 3ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 30 06 160 304ms 1ms 07 616 1s966ms 3ms 08 1,288 4s564ms 3ms 09 884 3s328ms 3ms 10 624 2s434ms 3ms 11 752 2s997ms 3ms 12 1,472 6s107ms 4ms 13 328 1s297ms 3ms 14 436 1s836ms 4ms 15 488 2s128ms 4ms 16 284 1s121ms 3ms 17 860 3s630ms 4ms 18 672 2s792ms 4ms [ User: pharmisight - Total duration: 34s509ms - Times executed: 8864 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 34s509ms - Times executed: 8864 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus = '4';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus = '5';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus = '2';
Date: 2018-07-30 11:46:38 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 17:24:33 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:33:28 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 33s298ms 2,216 1ms 125ms 15ms SELECT * FROM order_lines WHERE (deliverydate = '' AND STATUS <> '') AND ((agecheck = 0 OR agecheck = 0 OR agecheck = 0) OR (STATUS = '') OR (paperwork IS NOT NULL AND paperwork <> '' AND paperwork <> '' AND paperwork <> '' AND paperwork <> '') OR (paperworkresolution IS NOT NULL) OR (overaverageqtymax IS NOT NULL));Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 30 06 40 311ms 7ms 07 154 2s7ms 13ms 08 322 4s469ms 13ms 09 221 3s207ms 14ms 10 156 2s247ms 14ms 11 188 2s870ms 15ms 12 368 5s689ms 15ms 13 82 1s285ms 15ms 14 109 1s824ms 16ms 15 122 2s72ms 16ms 16 71 1s203ms 16ms 17 215 3s478ms 16ms 18 168 2s632ms 15ms [ User: pharmisight - Total duration: 33s298ms - Times executed: 2216 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 33s298ms - Times executed: 2216 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-31' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-31' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-31' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
Date: 2018-07-30 15:12:24 Duration: 125ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:04:11 Duration: 57ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 16:37:09 Duration: 57ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 32s135ms 194 78ms 225ms 165ms SELECT this_.order_round_id AS order_ro1_26_0_, this_.routenumber AS routenum2_26_0_, this_.uploadedbyuserid AS uploaded3_26_0_, this_.uploadedbyusername AS uploaded4_26_0_, this_.updatedby AS updatedb5_26_0_, this_.updatedbyusername AS updatedb6_26_0_, this_.orderroundnote AS orderrou7_26_0_, this_.firstcheckout AS firstche8_26_0_, this_.allordersscannedok AS allorder9_26_0_, this_.status AS status10_26_0_, this_.reopenedtimes AS reopene11_26_0_, this_.lastreopenbyid AS lastreo12_26_0_, this_.lastdonecheckin AS lastdon13_26_0_, this_.lastdonebyid AS lastdon14_26_0_, this_.lastdonebyusername AS lastdon15_26_0_, this_.missinglabels AS missing16_26_0_, this_.rounddeliverydate AS roundde17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadupdated AS uploadu21_26_0_, this_.patientalert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxstatus AS rxstatu24_26_0_, this_.distributionpoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedby AS audited27_26_0_, this_.auditstatus AS auditst28_26_0_, this_.uploadfinished AS uploadf29_26_0_, this_.lastrxcompleted AS lastrxc30_26_0_, this_.lastrxcompletedby AS lastrxc31_26_0_, this_.orderroundnotereadby AS orderro32_26_0_, this_.routeorderlinesqty AS routeor33_26_0_, this_.dlxpickedlinesqty AS dlxpick34_26_0_, this_.flowreport AS flowrep35_26_0_, this_.created AS created36_26_0_, this_.createdby AS created37_26_0_, this_.updated AS updated38_26_0_, this_.note AS note39_26_0_ FROM order_rounds this_ WHERE this_.routenumber ILIKE '' ORDER BY this_.rounddeliverydate DESC, this_.routenumber ASC LIMIT '';Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 30 09 7 1s140ms 162ms 10 14 2s238ms 159ms 11 27 4s399ms 162ms 12 146 24s358ms 166ms [ User: pharmisight - Total duration: 32s135ms - Times executed: 194 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 32s135ms - Times executed: 194 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '8%' ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '50';
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '8%' ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '50';
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '8%' ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '50';
Date: 2018-07-30 12:02:07 Duration: 225ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:23:19 Duration: 222ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:06:22 Duration: 217ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 31s645ms 395,747 0ms 186ms 0ms COMMIT;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 30 00 12,406 344ms 0ms 01 12,196 296ms 0ms 02 12,144 277ms 0ms 03 12,147 282ms 0ms 04 12,143 314ms 0ms 05 12,128 279ms 0ms 06 24,075 3s155ms 0ms 07 26,585 3s730ms 0ms 08 26,105 3s362ms 0ms 09 21,837 2s499ms 0ms 10 21,931 2s936ms 0ms 11 20,109 2s366ms 0ms 12 20,784 2s211ms 0ms 13 14,797 870ms 0ms 14 16,955 1s435ms 0ms 15 16,024 1s226ms 0ms 16 16,208 1s243ms 0ms 17 19,338 1s886ms 0ms 18 17,019 1s380ms 0ms 19 12,189 307ms 0ms 20 11,945 295ms 0ms 21 12,193 302ms 0ms 22 12,245 315ms 0ms 23 12,244 322ms 0ms [ User: symmetricds - Total duration: 24s405ms - Times executed: 359492 ]
[ User: pharmisight - Total duration: 7s240ms - Times executed: 36255 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31s631ms - Times executed: 395703 ]
[ Application: [unknown] - Total duration: 14ms - Times executed: 44 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-07-30 06:30:32 Duration: 186ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:45:38 Duration: 107ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:45:38 Duration: 107ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 31s156ms 703 21ms 78ms 44ms SELECT this_.order_round_id AS order_ro1_26_1_, this_.routenumber AS routenum2_26_1_, this_.uploadedbyuserid AS uploaded3_26_1_, this_.uploadedbyusername AS uploaded4_26_1_, this_.updatedby AS updatedb5_26_1_, this_.updatedbyusername AS updatedb6_26_1_, this_.orderroundnote AS orderrou7_26_1_, this_.firstcheckout AS firstche8_26_1_, this_.allordersscannedok AS allorder9_26_1_, this_.status AS status10_26_1_, this_.reopenedtimes AS reopene11_26_1_, this_.lastreopenbyid AS lastreo12_26_1_, this_.lastdonecheckin AS lastdon13_26_1_, this_.lastdonebyid AS lastdon14_26_1_, this_.lastdonebyusername AS lastdon15_26_1_, this_.missinglabels AS missing16_26_1_, this_.rounddeliverydate AS roundde17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadupdated AS uploadu21_26_1_, this_.patientalert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxstatus AS rxstatu24_26_1_, this_.distributionpoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedby AS audited27_26_1_, this_.auditstatus AS auditst28_26_1_, this_.uploadfinished AS uploadf29_26_1_, this_.lastrxcompleted AS lastrxc30_26_1_, this_.lastrxcompletedby AS lastrxc31_26_1_, this_.orderroundnotereadby AS orderro32_26_1_, this_.routeorderlinesqty AS routeor33_26_1_, this_.dlxpickedlinesqty AS dlxpick34_26_1_, this_.flowreport AS flowrep35_26_1_, this_.created AS created36_26_1_, this_.createdby AS created37_26_1_, this_.updated AS updated38_26_1_, this_.note AS note39_26_1_, f1_.flow_report_id AS flow_rep1_7_0_, f1_.routenumber AS routenum2_7_0_, f1_.rounddeliverydate AS rounddel3_7_0_, f1_.distributionpoint AS distribu4_7_0_, f1_.fullypicked AS fullypic5_7_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, f1_.causeofdelay AS causeofd7_7_0_, f1_.pharmacy100checktime AS pharmacy8_7_0_, f1_.linesheldback AS lineshel9_7_0_, f1_.packtime100 AS packtim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickdatetime AS pickdat13_7_0_, f1_.failedtargetpicktime AS failedt14_7_0_, f1_.actualpaperworkcompletetime AS actualp15_7_0_, f1_.changedpickdatetime AS changed16_7_0_, f1_.manuallychangedpicktime AS manuall17_7_0_, f1_.created AS created18_7_0_, f1_.updated AS updated19_7_0_, f1_.note AS note20_7_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> '' AND this_.created > '' AND this_.created < '' ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 30 06 63 2s600ms 41ms 07 1 43ms 43ms 09 5 223ms 44ms 10 74 3s99ms 41ms 11 81 3s554ms 43ms 12 201 9s12ms 44ms 13 21 944ms 44ms 14 39 1s807ms 46ms 15 57 2s679ms 47ms 16 48 2s161ms 45ms 17 93 4s154ms 44ms 18 20 874ms 43ms [ User: pharmisight - Total duration: 31s156ms - Times executed: 703 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31s156ms - Times executed: 703 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-30 00:00:00' AND this_.CREATED < '2018-07-30 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-30 00:00:00' AND this_.CREATED < '2018-07-30 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-30 00:00:00' AND this_.CREATED < '2018-07-30 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-30 06:09:29 Duration: 78ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:08:40 Duration: 76ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 15:21:30 Duration: 73ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 22s773ms 2,065 3ms 215ms 11ms INSERT INTO order_lines (routenumber, sapordernumber, ordernumber, answerordernumber, partcode, partdescription, patientname, firstname, middlename, lastname, patientdateofbirth, patientpostcode, patientpostcodeprefix, orderqty, allocqty, shipqty, adjustedqty, scannedqty, assignedqty, checkedqty, backorderqty, cancelqty, reducedqty, STATUS, reason, deliverydate, customer, sapcustomerid, billtotype, barcodedate, barcodebatch, patientid, isadded, isnotwithinage, isunderage, agecheck, expired, paperwork, ispaperworkproblem, paperworkresolution, pickerid, specialcare, paperworkenquirystarted, paperworkenquiryfinished, paperworkenquiryresponse, isnewproduct, extraprocedure, overaverageqtymax, overaverageqtyresolution, createuser, patientalert, itemalert, checkerid, reductionsummary, ismetabolic, rxstatus, lastregupdateusertype, lastregupdateusername, lastregupdatedate, sapplannedshipdate, sapplanneddeliverydate, requestedsapquantity, orderquantity, reglinecreatedusertype, reglinecreatedusername, reglinecreateddate, audited, ismetabolicpatient, addedcase, ordertype, created, updated, rxcheckby, note, item, alertconfirmation, homewardaction, order_line_id) VALUES ('', '', '', NULL, '', '', '', '', NULL, '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, '', '', '', '', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, '', NULL, NULL, '');Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 30 06 2,050 22s573ms 11ms 09 2 39ms 19ms 12 8 91ms 11ms 16 2 38ms 19ms 17 3 29ms 9ms [ User: pharmisight - Total duration: 22s773ms - Times executed: 2065 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 22s773ms - Times executed: 2065 ]
-
INSERT INTO ORDER_LINES (routeNumber, sapOrderNumber, orderNumber, answerOrderNumber, partCode, partDescription, patientName, firstName, middleName, lastName, patientDateOfBirth, patientPostcode, patientPostcodePrefix, orderQty, allocQty, shipQty, adjustedQty, scannedQty, assignedQty, checkedQty, backOrderQty, cancelQty, reducedQty, STATUS, reason, deliveryDate, customer, sapCustomerId, billToType, barcodeDate, barcodeBatch, patientId, isAdded, isNotWithinAge, isUnderAge, ageCheck, expired, paperwork, isPaperworkProblem, paperworkResolution, pickerId, specialCare, paperworkEnquiryStarted, paperworkEnquiryFinished, paperworkEnquiryResponse, isNewProduct, extraProcedure, overAverageQtyMax, overAverageQtyResolution, createUser, patientAlert, itemAlert, checkerId, reductionSummary, isMetabolic, rxStatus, lastRegUpdateUserType, lastRegUpdateUserName, lastRegUpdateDate, sapPlannedShipDate, sapPlannedDeliveryDate, requestedSAPQuantity, orderQuantity, regLineCreatedUserType, regLineCreatedUserName, regLineCreatedDate, audited, isMetabolicPatient, addedCase, orderType, CREATED, UPDATED, rxCheckBy, note, item, alertConfirmation, homewardAction, ORDER_LINE_ID) VALUES ('9027182', '7790021', '5004299120', NULL, '40892', 'Nutrison Peptisorb Pack 500ml', 'Ellie Geddess', 'Ellie', NULL, 'Geddess', '2005-02-28', 'ML6 8SL', 'ML', '70', '70', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-08-01', 'Samra Chergui', '685056577', 'Pharmacy (CURO)', NULL, NULL, '516262', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Stuart Quigley', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS System Administrator', 'louise.reys@nutricia.connections', '2018-04-24 13:32:53', '2018-07-31', '2018-08-01', '70', '70', 'CURO PMS Data Migration', 'data.migration@nutricia.com', '2016-05-10 17:31:31', NULL, NULL, NULL, NULL, '2018-07-30 06:07:25.732', NULL, NULL, NULL, '3316', NULL, NULL, '214629332');
-
INSERT INTO ORDER_LINES (routeNumber, sapOrderNumber, orderNumber, answerOrderNumber, partCode, partDescription, patientName, firstName, middleName, lastName, patientDateOfBirth, patientPostcode, patientPostcodePrefix, orderQty, allocQty, shipQty, adjustedQty, scannedQty, assignedQty, checkedQty, backOrderQty, cancelQty, reducedQty, STATUS, reason, deliveryDate, customer, sapCustomerId, billToType, barcodeDate, barcodeBatch, patientId, isAdded, isNotWithinAge, isUnderAge, ageCheck, expired, paperwork, isPaperworkProblem, paperworkResolution, pickerId, specialCare, paperworkEnquiryStarted, paperworkEnquiryFinished, paperworkEnquiryResponse, isNewProduct, extraProcedure, overAverageQtyMax, overAverageQtyResolution, createUser, patientAlert, itemAlert, checkerId, reductionSummary, isMetabolic, rxStatus, lastRegUpdateUserType, lastRegUpdateUserName, lastRegUpdateDate, sapPlannedShipDate, sapPlannedDeliveryDate, requestedSAPQuantity, orderQuantity, regLineCreatedUserType, regLineCreatedUserName, regLineCreatedDate, audited, isMetabolicPatient, addedCase, orderType, CREATED, UPDATED, rxCheckBy, note, item, alertConfirmation, homewardAction, ORDER_LINE_ID) VALUES ('9027182', '7789688', '5004296268', NULL, '50984', 'C&G Sterile Water 90ml', 'Shania Shaw', 'Shania', NULL, 'Shaw', '2000-01-07', 'ML6 8US', 'ML', '112', '112', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableSubpack', NULL, '2018-08-01', 'Samra Chergui', '685052916', 'Hospital_vod', NULL, NULL, '146342', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Isabella Carosi', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'rachel.evans@nutricia.connections', '2018-07-19 11:06:10', '2018-07-31', '2018-08-01', '112', '112', 'CURO PMS Data Migration', 'data.migration@nutricia.com', '2016-05-10 16:43:36', NULL, NULL, NULL, NULL, '2018-07-30 06:07:25.724', NULL, NULL, NULL, '21', NULL, NULL, '214629402');
-
INSERT INTO ORDER_LINES (routeNumber, sapOrderNumber, orderNumber, answerOrderNumber, partCode, partDescription, patientName, firstName, middleName, lastName, patientDateOfBirth, patientPostcode, patientPostcodePrefix, orderQty, allocQty, shipQty, adjustedQty, scannedQty, assignedQty, checkedQty, backOrderQty, cancelQty, reducedQty, STATUS, reason, deliveryDate, customer, sapCustomerId, billToType, barcodeDate, barcodeBatch, patientId, isAdded, isNotWithinAge, isUnderAge, ageCheck, expired, paperwork, isPaperworkProblem, paperworkResolution, pickerId, specialCare, paperworkEnquiryStarted, paperworkEnquiryFinished, paperworkEnquiryResponse, isNewProduct, extraProcedure, overAverageQtyMax, overAverageQtyResolution, createUser, patientAlert, itemAlert, checkerId, reductionSummary, isMetabolic, rxStatus, lastRegUpdateUserType, lastRegUpdateUserName, lastRegUpdateDate, sapPlannedShipDate, sapPlannedDeliveryDate, requestedSAPQuantity, orderQuantity, regLineCreatedUserType, regLineCreatedUserName, regLineCreatedDate, audited, isMetabolicPatient, addedCase, orderType, CREATED, UPDATED, rxCheckBy, note, item, alertConfirmation, homewardAction, ORDER_LINE_ID) VALUES ('9027331', '7790072', '5004297492', NULL, '79784', 'Fortisip Compact Banana 125ml ', 'Rosaleen Bennett', 'Rosaleen', NULL, 'Bennett', '1944-12-28', 'NE3 3PD', 'NE', '52', '52', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOuter', NULL, '2018-07-31', 'Sarah Carter', '685196668', 'Pharmacy (CURO)', NULL, NULL, '200450522', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Linda Taylor', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'ryan.white@nutricia.connections', '2018-06-08 08:34:25', '2018-07-30', '2018-07-31', '52', '52', 'PMS HCP User Login', 'mary.mahon@nutricia.connections', '2018-06-01 13:01:19', NULL, NULL, NULL, NULL, '2018-07-30 06:17:11.136', NULL, NULL, NULL, '1860', NULL, NULL, '214631032');
Date: 2018-07-30 06:07:31 Duration: 215ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:07:31 Duration: 68ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:17:14 Duration: 63ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 22s270ms 790 13ms 52ms 28ms SELECT this_.flow_report_id AS flow_rep1_7_0_, this_.routenumber AS routenum2_7_0_, this_.rounddeliverydate AS rounddel3_7_0_, this_.distributionpoint AS distribu4_7_0_, this_.fullypicked AS fullypic5_7_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, this_.causeofdelay AS causeofd7_7_0_, this_.pharmacy100checktime AS pharmacy8_7_0_, this_.linesheldback AS lineshel9_7_0_, this_.packtime100 AS packtim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickdatetime AS pickdat13_7_0_, this_.failedtargetpicktime AS failedt14_7_0_, this_.actualpaperworkcompletetime AS actualp15_7_0_, this_.changedpickdatetime AS changed16_7_0_, this_.manuallychangedpicktime AS manuall17_7_0_, this_.created AS created18_7_0_, this_.updated AS updated19_7_0_, this_.note AS note20_7_0_ FROM flow_reports this_ WHERE this_.created > '' AND this_.created < '' ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 30 06 114 3s17ms 26ms 07 2 68ms 34ms 09 12 350ms 29ms 10 74 1s992ms 26ms 11 84 2s316ms 27ms 12 205 5s878ms 28ms 13 25 749ms 29ms 14 39 1s159ms 29ms 15 57 1s706ms 29ms 16 59 1s667ms 28ms 17 95 2s690ms 28ms 18 24 671ms 27ms [ User: pharmisight - Total duration: 22s270ms - Times executed: 790 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 22s270ms - Times executed: 790 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-30 00:00:00' AND this_.CREATED < '2018-07-30 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-30 00:00:00' AND this_.CREATED < '2018-07-30 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-30 00:00:00' AND this_.CREATED < '2018-07-30 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-30 11:50:05 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:14:21 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 15:10:40 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 21s265ms 1,673 0ms 32ms 12ms UPDATE order_lines SET routenumber = '', sapordernumber = '', ordernumber = '', answerordernumber = NULL, partcode = '', partdescription = '', patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', patientpostcodeprefix = '', orderqty = '', allocqty = '', shipqty = NULL, adjustedqty = '', scannedqty = '', assignedqty = '', checkedqty = '', backorderqty = '', cancelqty = '', reducedqty = '', STATUS = '', reason = NULL, deliverydate = '', customer = '', sapcustomerid = '', billtotype = '', barcodedate = NULL, barcodebatch = NULL, patientid = '', isadded = NULL, isnotwithinage = NULL, isunderage = '', agecheck = '', expired = NULL, paperwork = '', ispaperworkproblem = '', paperworkresolution = NULL, pickerid = '', specialcare = '', paperworkenquirystarted = NULL, paperworkenquiryfinished = NULL, paperworkenquiryresponse = NULL, isnewproduct = NULL, extraprocedure = NULL, overaverageqtymax = NULL, overaverageqtyresolution = NULL, createuser = '', patientalert = NULL, itemalert = NULL, checkerid = '', reductionsummary = NULL, ismetabolic = NULL, rxstatus = '', lastregupdateusertype = '', lastregupdateusername = '', lastregupdatedate = '', sapplannedshipdate = '', sapplanneddeliverydate = '', requestedsapquantity = '', orderquantity = '', reglinecreatedusertype = '', reglinecreatedusername = '', reglinecreateddate = '', audited = NULL, ismetabolicpatient = NULL, addedcase = NULL, ordertype = NULL, created = '', updated = NULL, rxcheckby = '', note = '', item = '', alertconfirmation = NULL, homewardaction = NULL WHERE order_line_id = '';Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 30 06 165 2s78ms 12ms 07 330 4s12ms 12ms 08 349 4s341ms 12ms 09 197 2s574ms 13ms 10 162 1s993ms 12ms 11 171 2s148ms 12ms 12 62 756ms 12ms 13 4 45ms 11ms 14 30 458ms 15ms 15 25 310ms 12ms 16 64 940ms 14ms 17 107 1s498ms 14ms 18 7 107ms 15ms [ User: pharmisight - Total duration: 21s265ms - Times executed: 1673 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 21s265ms - Times executed: 1673 ]
-
UPDATE ORDER_LINES SET routeNumber = '9027331', sapOrderNumber = '7790194', orderNumber = '5004286353', answerOrderNumber = NULL, partCode = '40821', partDescription = 'Tentrini Energy MF Pack 500ml ', patientName = 'Amarni Gibson', firstName = 'Amarni', middleName = NULL, lastName = 'Gibson', patientDateOfBirth = '2003-03-07', patientPostcode = 'NE34 7EW', patientPostcodePrefix = 'NE', orderQty = '84', allocQty = '84', shipQty = NULL, adjustedQty = '80', scannedQty = '80', assignedQty = '0', checkedQty = '80', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-07-31', customer = 'Rebecca Gruncell', sapCustomerId = '685070953', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '193818', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001242', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Jill Cliss', patientAlert = NULL, itemAlert = NULL, checkerId = '4062', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'natalie.mcclurg@nutricia.connections', lastRegUpdateDate = '2018-03-06 13:03:38', sapPlannedShipDate = '2018-07-30', sapPlannedDeliveryDate = '2018-07-31', requestedSAPQuantity = '84', orderQuantity = '84', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 17:29:19', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-30 06:17:11.137', UPDATED = NULL, rxCheckBy = '4062', note = 'Maria Giaquinto', item = '1382', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214631062';
-
UPDATE ORDER_LINES SET routeNumber = '9027522', sapOrderNumber = '7790465', orderNumber = '5004299290', answerOrderNumber = NULL, partCode = '40781', partDescription = 'Nutrini 500ml', patientName = 'Manalika Thakor', firstName = 'Manalika', middleName = NULL, lastName = 'Thakor', patientDateOfBirth = '2005-12-22', patientPostcode = 'LE2 4TB', patientPostcodePrefix = 'LE', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '8', scannedQty = '8', assignedQty = '0', checkedQty = '8', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-07-31', customer = 'Ryan White', sapCustomerId = '685049561', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '312857', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '10538400', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Samantha Bennett', patientAlert = NULL, itemAlert = NULL, checkerId = '4061', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User', lastRegUpdateUserName = 'michelle.coulson@nutricia.connections', lastRegUpdateDate = '2018-05-17 09:46:31', sapPlannedShipDate = '2018-07-30', sapPlannedDeliveryDate = '2018-07-31', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 17:06:23', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-30 06:19:32.909', UPDATED = NULL, rxCheckBy = '4062', note = 'Maria Giaquinto', item = '3329', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214638112';
-
UPDATE ORDER_LINES SET routeNumber = '9027338', sapOrderNumber = '7789655', orderNumber = '5004287673', answerOrderNumber = NULL, partCode = '98456', partDescription = 'Fortisip Compact Neutral 125ml', patientName = 'Brian Thompson', firstName = 'Brian', middleName = NULL, lastName = 'Thompson', patientDateOfBirth = '1937-10-22', patientPostcode = 'S5 6AB', patientPostcodePrefix = 'S', orderQty = '56', allocQty = '56', shipQty = NULL, adjustedQty = '48', scannedQty = '48', assignedQty = '0', checkedQty = '48', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOuter', reason = NULL, deliveryDate = '2018-07-31', customer = 'Ryan White', sapCustomerId = '685157499', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200204680', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001152', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Samantha Bennett', patientAlert = NULL, itemAlert = NULL, checkerId = '15364', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS System Administrator', lastRegUpdateUserName = 'louise.reys@nutricia.connections', lastRegUpdateDate = '2018-04-24 13:48:09', sapPlannedShipDate = '2018-07-30', sapPlannedDeliveryDate = '2018-07-31', requestedSAPQuantity = '56', orderQuantity = '56', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'christian.shaw@nutricia.connections', regLineCreatedDate = '2016-12-20 15:12:33', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-30 06:19:33.01', UPDATED = NULL, rxCheckBy = '4058', note = 'Mandy Jenkins', item = '33059343', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214634832';
Date: 2018-07-30 08:20:57 Duration: 32ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:48:56 Duration: 32ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 09:46:18 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 19s242ms 157,138 0ms 55ms 0ms SELECT orderlines0_.order_id AS order_i79_20_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 30 06 9,183 1s386ms 0ms 07 31,283 3s743ms 0ms 08 43,079 5s28ms 0ms 09 16,209 2s162ms 0ms 10 14,180 1s722ms 0ms 11 8,793 995ms 0ms 12 5,992 756ms 0ms 13 2,301 267ms 0ms 14 6,697 850ms 0ms 15 4,428 531ms 0ms 16 4,170 522ms 0ms 17 6,986 790ms 0ms 18 3,837 485ms 0ms [ User: pharmisight - Total duration: 19s242ms - Times executed: 157138 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 19s242ms - Times executed: 157138 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208330962' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208329252' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208133162' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-07-30 06:08:15 Duration: 55ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:08:14 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:17:44 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 17s544ms 963,023 0ms 4ms 0ms SHOW TRANSACTION ISOLATION LEVEL;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 30 00 36,716 665ms 0ms 01 36,218 670ms 0ms 02 36,166 668ms 0ms 03 36,172 666ms 0ms 04 36,163 677ms 0ms 05 36,113 662ms 0ms 06 50,870 885ms 0ms 07 48,690 848ms 0ms 08 47,770 854ms 0ms 09 44,362 806ms 0ms 10 44,953 813ms 0ms 11 43,392 789ms 0ms 12 43,235 775ms 0ms 13 38,637 719ms 0ms 14 40,495 740ms 0ms 15 39,532 724ms 0ms 16 39,887 725ms 0ms 17 42,633 779ms 0ms 18 40,704 746ms 0ms 19 36,209 669ms 0ms 20 35,362 653ms 0ms 21 36,177 669ms 0ms 22 36,285 667ms 0ms 23 36,282 664ms 0ms [ User: symmetricds - Total duration: 17s515ms - Times executed: 962248 ]
[ User: pharmisight - Total duration: 28ms - Times executed: 775 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s544ms - Times executed: 963017 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 6 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2018-07-30 12:14:40 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 13:54:42 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 01:00:00 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 16s629ms 3,219 0ms 52ms 5ms SELECT this_.order_id AS order_id1_20_0_, this_.sapordernumber AS saporder2_20_0_, this_.answerordernumber AS answeror3_20_0_, this_.ordernumber AS ordernum4_20_0_, this_.routenumber AS routenum5_20_0_, this_.billtotype AS billtoty6_20_0_, this_.patientname AS patientn7_20_0_, this_.firstname AS firstnam8_20_0_, this_.middlename AS middlena9_20_0_, this_.lastname AS lastnam10_20_0_, this_.patientdateofbirth AS patient11_20_0_, this_.patientpostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapcustomerid AS sapcust14_20_0_, this_.status AS status15_20_0_, this_.patientid AS patient16_20_0_, this_.isnotwithinage AS isnotwi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliverybarcode AS deliver20_20_0_, this_.deliverydate AS deliver21_20_0_, this_.rxstatus AS rxstatu22_20_0_, this_.createuser AS createu23_20_0_, this_.subordertype AS suborde24_20_0_, this_.sapcontractid AS sapcont25_20_0_, this_.salesforceordernumber AS salesfo26_20_0_, this_.patienttype AS patient27_20_0_, this_.ordertype AS orderty28_20_0_, this_.orderstatus AS orderst29_20_0_, this_.nhsnumber AS nhsnumb30_20_0_, this_.individuallabelling AS individ31_20_0_, this_.orderid AS orderid32_20_0_, this_.clusterlead AS cluster33_20_0_, this_.clustergroup AS cluster34_20_0_, this_.accountid AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionby AS reducti37_20_0_, this_.alertconfirmation AS alertco38_20_0_, this_.created AS created39_20_0_, this_.updated AS updated40_20_0_, this_.note AS note41_20_0_ FROM orders this_ WHERE this_.status = '' AND this_.deliverydate = '' ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 30 07 48 239ms 4ms 08 303 1s503ms 4ms 09 216 1s84ms 5ms 10 243 1s237ms 5ms 11 294 1s487ms 5ms 12 549 2s749ms 5ms 13 162 851ms 5ms 14 273 1s572ms 5ms 15 306 1s613ms 5ms 16 138 798ms 5ms 17 390 1s973ms 5ms 18 297 1s518ms 5ms [ User: pharmisight - Total duration: 16s629ms - Times executed: 3219 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s629ms - Times executed: 3219 ]
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-31' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-31' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-31' ORDER BY this_.deliveryDate ASC;
Date: 2018-07-30 18:31:09 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 14:53:01 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:36:04 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 13s894ms 35 0ms 2s786ms 396ms UPDATE flow_reports SET routenumber = '', rounddeliverydate = '', distributionpoint = '', fullypicked = '', outbaseroutescorrectlygrouped = '', causeofdelay = NULL, pharmacy100checktime = NULL, linesheldback = '', packtime100 = NULL, replenish = NULL, COMMENT = NULL, pickdatetime = NULL, failedtargetpicktime = NULL, actualpaperworkcompletetime = '', changedpickdatetime = '', manuallychangedpicktime = '', created = '', updated = NULL, note = NULL WHERE flow_report_id = '';Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 30 06 26 13s847ms 532ms 12 1 1ms 1ms 13 1 1ms 1ms 14 2 15ms 7ms 16 1 1ms 1ms 17 4 26ms 6ms [ User: pharmisight - Total duration: 13s894ms - Times executed: 35 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s894ms - Times executed: 35 ]
-
UPDATE FLOW_REPORTS SET routeNumber = '9027531', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:32.998', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:51.961', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416602';
-
UPDATE FLOW_REPORTS SET routeNumber = '9027528', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:32.166', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:21.788', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416572';
-
UPDATE FLOW_REPORTS SET routeNumber = '9027526', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:32.665', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:17.263', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416552';
Date: 2018-07-30 06:36:23 Duration: 2s786ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:36:09 Duration: 1s922ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:35:50 Duration: 1s874ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 13s561ms 146 45ms 313ms 92ms 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 #18
Day Hour Count Duration Avg duration Jul 30 06 19 1s946ms 102ms 07 62 5s806ms 93ms 08 44 3s965ms 90ms 09 21 1s842ms 87ms [ User: pharmisight - Total duration: 13s561ms - Times executed: 146 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s561ms - Times executed: 146 ]
-
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 = '200886362' 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 = '200887322' 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 = '200886872' ORDER BY epscheckli0_.description ASC;
Date: 2018-07-30 06:22:16 Duration: 313ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 07:04:16 Duration: 131ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 08:42:15 Duration: 111ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 12s587ms 3,417 0ms 69ms 3ms UPDATE orders SET sapordernumber = '', answerordernumber = NULL, ordernumber = '', routenumber = '', billtotype = NULL, patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', customer = NULL, sapcustomerid = '', STATUS = '', patientid = '', isnotwithinage = NULL, expired = NULL, paperwork = NULL, deliverybarcode = NULL, deliverydate = '', rxstatus = '', createuser = '', subordertype = '', sapcontractid = '', salesforceordernumber = '', patienttype = '', ordertype = '', orderstatus = '', nhsnumber = '', individuallabelling = '', orderid = '', clusterlead = '', clustergroup = '', accountid = '', reduction = NULL, reductionby = NULL, alertconfirmation = NULL, created = '', updated = NULL, note = NULL WHERE order_id = '';Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 30 06 1,609 3s82ms 1ms 07 664 2s996ms 4ms 08 330 1s591ms 4ms 09 146 790ms 5ms 10 197 1s41ms 5ms 11 117 730ms 6ms 12 71 446ms 6ms 13 23 173ms 7ms 14 64 433ms 6ms 15 43 328ms 7ms 16 44 315ms 7ms 17 103 629ms 6ms 18 6 27ms 4ms [ User: pharmisight - Total duration: 12s587ms - Times executed: 3417 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s587ms - Times executed: 3417 ]
-
UPDATE ORDERS SET sapOrderNumber = '7698962', answerOrderNumber = NULL, orderNumber = '5004195149', routeNumber = '8992326', billToType = NULL, patientName = 'Mark Fox', firstName = 'Mark', middleName = NULL, lastName = 'Fox', patientDateOfBirth = '1967-02-21', patientPostcode = 'DY5 1BQ', customer = NULL, sapCustomerId = '685054324', STATUS = 'Checked', patientId = '24349', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-10', rxStatus = '1', createUser = 'Gill Feltham', subOrderType = 'Standard', sapContractId = '650105911', salesforceOrderNumber = '11006844', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '6103383560', individualLabelling = 'f', orderId = 'a4r1p00000664qMAAQ', clusterLead = 'Johnathan Baysting', clusterGroup = 'DUDLEY', accountId = '102685', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-06 05:56:33.053', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208157662';
-
UPDATE ORDERS SET sapOrderNumber = '7792657', answerOrderNumber = NULL, orderNumber = '5004295472', routeNumber = '9027110', billToType = NULL, patientName = 'Kai Reuben Smith', firstName = 'Kai', middleName = NULL, lastName = 'Reuben Smith', patientDateOfBirth = '2012-11-23', patientPostcode = 'CV11 6ND', customer = NULL, sapCustomerId = '685066859', STATUS = 'Checked', patientId = '45459140', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-27', rxStatus = '4', createUser = 'Nikita Jones', subOrderType = 'Overseas', sapContractId = '650105914', salesforceOrderNumber = '11082123', patientType = 'Homeward', orderType = 'Ad Hoc', orderStatus = 'Confirmed', NHSnumber = '6536328523', individualLabelling = 'f', orderId = 'a4r1p0000067dsUAAQ', clusterLead = 'Michael Phiri-Thorne', clusterGroup = 'GEORGE ELIOT & NORTH WARWICKSHIRE', accountId = '528611', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-30 09:43:06.717', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208351152';
-
UPDATE ORDERS SET sapOrderNumber = '7792461', answerOrderNumber = NULL, orderNumber = '5004297364', routeNumber = '9026346', billToType = NULL, patientName = 'Daniaal Denish', firstName = 'Daniaal', middleName = NULL, lastName = 'Denish', patientDateOfBirth = '2004-09-26', patientPostcode = 'SK15 3BL', customer = NULL, sapCustomerId = '685178061', STATUS = 'Checked', patientId = '200372762', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-27', rxStatus = '1', createUser = 'Isabella Carosi', subOrderType = 'Overseas', sapContractId = '650105867', salesforceOrderNumber = '11080860', patientType = 'Homeward', orderType = 'Ad Hoc', orderStatus = 'Confirmed', NHSnumber = '7014100173', individualLabelling = 'f', orderId = 'a4r1p0000067cFRAAY', clusterLead = 'Brenda Melville', clusterGroup = 'TAMESIDE HOSPITAL NHSFT', accountId = '109490', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-27 12:24:49.362', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208338382';
Date: 2018-07-30 12:02:42 Duration: 69ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:52:46 Duration: 36ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:47:16 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 12s570ms 15,053 0ms 8ms 0ms UPDATE order_line_activities SET order_line_id = '' WHERE order_line_activity_id = '';Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 30 06 951 818ms 0ms 07 1,851 1s533ms 0ms 08 2,515 2s39ms 0ms 09 1,756 1s481ms 0ms 10 2,490 1s973ms 0ms 11 1,541 1s211ms 0ms 12 616 544ms 0ms 13 303 273ms 0ms 14 737 649ms 0ms 15 547 476ms 0ms 16 599 535ms 0ms 17 881 784ms 0ms 18 266 248ms 0ms [ User: pharmisight - Total duration: 12s570ms - Times executed: 15053 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s570ms - Times executed: 15053 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214630482' WHERE ORDER_LINE_ACTIVITY_ID = '285355612';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214634062' WHERE ORDER_LINE_ACTIVITY_ID = '285493862';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214629102' WHERE ORDER_LINE_ACTIVITY_ID = '285461872';
Date: 2018-07-30 06:44:42 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 17:26:36 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:48:58 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 963,023 17s544ms 0ms 4ms 0ms SHOW TRANSACTION ISOLATION LEVEL;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 30 00 36,716 665ms 0ms 01 36,218 670ms 0ms 02 36,166 668ms 0ms 03 36,172 666ms 0ms 04 36,163 677ms 0ms 05 36,113 662ms 0ms 06 50,870 885ms 0ms 07 48,690 848ms 0ms 08 47,770 854ms 0ms 09 44,362 806ms 0ms 10 44,953 813ms 0ms 11 43,392 789ms 0ms 12 43,235 775ms 0ms 13 38,637 719ms 0ms 14 40,495 740ms 0ms 15 39,532 724ms 0ms 16 39,887 725ms 0ms 17 42,633 779ms 0ms 18 40,704 746ms 0ms 19 36,209 669ms 0ms 20 35,362 653ms 0ms 21 36,177 669ms 0ms 22 36,285 667ms 0ms 23 36,282 664ms 0ms [ User: symmetricds - Total duration: 17s515ms - Times executed: 962248 ]
[ User: pharmisight - Total duration: 28ms - Times executed: 775 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s544ms - Times executed: 963017 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 6 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2018-07-30 12:14:40 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 13:54:42 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 01:00:00 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 461,651 5s747ms 0ms 2ms 0ms SELECT 0;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 30 00 16,565 208ms 0ms 01 16,008 203ms 0ms 02 15,957 204ms 0ms 03 15,960 197ms 0ms 04 15,955 201ms 0ms 05 15,927 200ms 0ms 06 28,459 336ms 0ms 07 25,414 310ms 0ms 08 24,963 300ms 0ms 09 22,760 285ms 0ms 10 23,305 283ms 0ms 11 21,807 270ms 0ms 12 21,530 263ms 0ms 13 18,001 222ms 0ms 14 19,658 244ms 0ms 15 18,911 233ms 0ms 16 19,277 245ms 0ms 17 21,493 269ms 0ms 18 19,694 249ms 0ms 19 16,031 206ms 0ms 20 15,759 196ms 0ms 21 16,027 205ms 0ms 22 16,096 203ms 0ms 23 16,094 202ms 0ms [ User: symmetricds - Total duration: 5s747ms - Times executed: 461651 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s747ms - Times executed: 461651 ]
-
SELECT 1;
-
SELECT 1;
-
SELECT 1;
Date: 2018-07-30 16:00:00 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:23:32 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 09:38:36 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 395,766 2s630ms 0ms 2ms 0ms BEGIN;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 30 00 12,405 79ms 0ms 01 12,197 77ms 0ms 02 12,144 79ms 0ms 03 12,146 78ms 0ms 04 12,143 79ms 0ms 05 12,128 77ms 0ms 06 24,075 163ms 0ms 07 26,589 182ms 0ms 08 26,105 178ms 0ms 09 21,837 149ms 0ms 10 21,935 145ms 0ms 11 20,112 136ms 0ms 12 20,783 139ms 0ms 13 14,800 97ms 0ms 14 16,957 112ms 0ms 15 16,023 107ms 0ms 16 16,207 107ms 0ms 17 19,342 129ms 0ms 18 17,021 113ms 0ms 19 12,190 80ms 0ms 20 11,945 77ms 0ms 21 12,193 80ms 0ms 22 12,245 78ms 0ms 23 12,244 79ms 0ms [ User: symmetricds - Total duration: 2s313ms - Times executed: 359492 ]
[ User: pharmisight - Total duration: 316ms - Times executed: 36274 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s629ms - Times executed: 395704 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 62 ]
-
BEGIN;
-
BEGIN;
-
BEGIN;
Date: 2018-07-30 06:29:17 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 02:14:26 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:16:31 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 395,747 31s645ms 0ms 186ms 0ms COMMIT;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 30 00 12,406 344ms 0ms 01 12,196 296ms 0ms 02 12,144 277ms 0ms 03 12,147 282ms 0ms 04 12,143 314ms 0ms 05 12,128 279ms 0ms 06 24,075 3s155ms 0ms 07 26,585 3s730ms 0ms 08 26,105 3s362ms 0ms 09 21,837 2s499ms 0ms 10 21,931 2s936ms 0ms 11 20,109 2s366ms 0ms 12 20,784 2s211ms 0ms 13 14,797 870ms 0ms 14 16,955 1s435ms 0ms 15 16,024 1s226ms 0ms 16 16,208 1s243ms 0ms 17 19,338 1s886ms 0ms 18 17,019 1s380ms 0ms 19 12,189 307ms 0ms 20 11,945 295ms 0ms 21 12,193 302ms 0ms 22 12,245 315ms 0ms 23 12,244 322ms 0ms [ User: symmetricds - Total duration: 24s405ms - Times executed: 359492 ]
[ User: pharmisight - Total duration: 7s240ms - Times executed: 36255 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31s631ms - Times executed: 395703 ]
[ Application: [unknown] - Total duration: 14ms - Times executed: 44 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-07-30 06:30:32 Duration: 186ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:45:38 Duration: 107ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:45:38 Duration: 107ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 157,138 19s242ms 0ms 55ms 0ms SELECT orderlines0_.order_id AS order_i79_20_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 30 06 9,183 1s386ms 0ms 07 31,283 3s743ms 0ms 08 43,079 5s28ms 0ms 09 16,209 2s162ms 0ms 10 14,180 1s722ms 0ms 11 8,793 995ms 0ms 12 5,992 756ms 0ms 13 2,301 267ms 0ms 14 6,697 850ms 0ms 15 4,428 531ms 0ms 16 4,170 522ms 0ms 17 6,986 790ms 0ms 18 3,837 485ms 0ms [ User: pharmisight - Total duration: 19s242ms - Times executed: 157138 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 19s242ms - Times executed: 157138 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208330962' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208329252' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208133162' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-07-30 06:08:15 Duration: 55ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:08:14 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:17:44 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 148,905 9s151ms 0ms 3ms 0ms INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('', '', '', current_timestamp);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 30 00 614 41ms 0ms 01 250 17ms 0ms 02 36 3ms 0ms 03 36 3ms 0ms 04 36 4ms 0ms 05 36 4ms 0ms 06 56,934 3s197ms 0ms 07 16,732 1s13ms 0ms 08 15,426 978ms 0ms 09 10,112 660ms 0ms 10 12,954 830ms 0ms 11 8,052 516ms 0ms 12 4,464 299ms 0ms 13 2,024 141ms 0ms 14 4,342 292ms 0ms 15 3,528 240ms 0ms 16 3,774 259ms 0ms 17 5,580 381ms 0ms 18 1,810 127ms 0ms 19 40 4ms 0ms 20 43 4ms 0ms 21 48 5ms 0ms 22 936 65ms 0ms 23 1,098 59ms 0ms [ User: symmetricds - Total duration: 9s151ms - Times executed: 148905 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s151ms - Times executed: 148905 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('86850456', '7801563', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('86836234', '7800523', 'redditch_bankstreet', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('86864659', '7802961', 'redditch_cloud', current_timestamp);
Date: 2018-07-30 08:02:15 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:33:23 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:24:33 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 144,710 7s148ms 0ms 20ms 0ms SELECT this_.dlx_barcode AS dlx_barc1_3_0_, this_.ordernumber AS ordernum2_3_0_, this_.pickdatetime AS pickdate3_3_0_, this_.picker AS picker4_3_0_, this_.created AS created5_3_0_, this_.partcode AS partcode6_3_0_, this_.orderqty AS orderqty7_3_0_ FROM dlx_barcodes this_ WHERE this_.ordernumber = '';Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 30 06 4,640 221ms 0ms 07 29,299 1s369ms 0ms 08 41,474 1s965ms 0ms 09 15,370 759ms 0ms 10 13,040 664ms 0ms 11 8,308 421ms 0ms 12 5,384 503ms 0ms 13 2,159 83ms 0ms 14 6,516 280ms 0ms 15 4,300 176ms 0ms 16 3,995 210ms 0ms 17 6,640 306ms 0ms 18 3,585 183ms 0ms [ User: pharmisight - Total duration: 7s148ms - Times executed: 144710 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s148ms - Times executed: 144710 ]
-
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 = '5003305655';
-
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 = '5003360818';
-
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 = '5003357095';
Date: 2018-07-30 12:09:36 Duration: 20ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:05:29 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:55:18 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 78,622 36s218ms 0ms 13ms 0ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 30 06 5,069 2s245ms 0ms 07 1,554 1s17ms 0ms 08 1,138 942ms 0ms 09 1,769 927ms 0ms 10 8,065 3s605ms 0ms 11 8,404 3s772ms 0ms 12 24,173 10s851ms 0ms 13 2,473 1s136ms 0ms 14 3,996 1s872ms 0ms 15 5,513 2s623ms 0ms 16 5,121 2s308ms 0ms 17 9,008 3s938ms 0ms 18 2,236 951ms 0ms 20 103 24ms 0ms [ User: pharmisight - Total duration: 36s218ms - Times executed: 78622 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 36s218ms - Times executed: 78622 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200452112' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200359162' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200452162' ORDER BY orders0_.order_id ASC;
Date: 2018-07-30 15:17:03 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:11:41 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:55:50 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 77,107 3s551ms 0ms 1ms 0ms SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = '' ORDER BY start_id ASC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 30 00 3,206 147ms 0ms 01 3,213 145ms 0ms 02 3,222 145ms 0ms 03 3,222 146ms 0ms 04 3,222 148ms 0ms 05 3,213 146ms 0ms 06 3,186 173ms 0ms 07 3,204 145ms 0ms 08 3,204 145ms 0ms 09 3,213 148ms 0ms 10 3,204 145ms 0ms 11 3,206 146ms 0ms 12 3,204 147ms 0ms 13 3,222 148ms 0ms 14 3,213 148ms 0ms 15 3,213 147ms 0ms 16 3,213 147ms 0ms 17 3,213 146ms 0ms 18 3,213 146ms 0ms 19 3,222 146ms 0ms 20 3,222 145ms 0ms 21 3,213 146ms 0ms 22 3,222 150ms 0ms 23 3,222 145ms 0ms [ User: symmetricds - Total duration: 3s551ms - Times executed: 77107 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s551ms - Times executed: 77107 ]
-
SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = 'GP' ORDER BY start_id ASC;
-
SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = 'GP' ORDER BY start_id ASC;
-
SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = 'GP' ORDER BY start_id ASC;
Date: 2018-07-30 22:06:23 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:50:55 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 08:03:26 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 67,931 2s152ms 0ms 1ms 0ms SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = '' AND ((d.data_id BETWEEN '' AND '')) ORDER BY d.data_id ASC;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 30 00 2,851 64ms 0ms 01 2,856 64ms 0ms 02 2,864 64ms 0ms 03 2,864 64ms 0ms 04 2,864 63ms 0ms 05 2,856 63ms 0ms 06 2,196 128ms 0ms 07 2,852 156ms 0ms 08 2,849 149ms 0ms 09 2,857 129ms 0ms 10 2,850 140ms 0ms 11 2,851 109ms 0ms 12 2,851 93ms 0ms 13 2,865 79ms 0ms 14 2,857 91ms 0ms 15 2,858 84ms 0ms 16 2,859 86ms 0ms 17 2,858 98ms 0ms 18 2,855 80ms 0ms 19 2,864 65ms 0ms 20 2,864 66ms 0ms 21 2,856 66ms 0ms 22 2,866 70ms 0ms 23 2,868 70ms 0ms [ User: symmetricds - Total duration: 2s152ms - Times executed: 67931 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s152ms - Times executed: 67931 ]
-
SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = 'pharmisight' AND ((d.data_id BETWEEN '86813432' AND '136813431')) ORDER BY d.data_id ASC;
-
SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = 'pharmisight' AND ((d.data_id BETWEEN '86813432' AND '136813431')) ORDER BY d.data_id ASC;
-
SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = 'pharmisight' AND ((d.data_id BETWEEN '86813432' AND '136813431')) ORDER BY d.data_id ASC;
Date: 2018-07-30 06:07:55 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:07:55 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:07:55 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 64,759 1m22s 0ms 435ms 1ms SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 30 06 4,639 5s211ms 1ms 07 287 452ms 1ms 08 180 348ms 1ms 09 838 1s123ms 1ms 10 6,561 8s116ms 1ms 11 6,856 8s657ms 1ms 12 18,741 24s962ms 1ms 13 2,147 2s874ms 1ms 14 3,549 4s705ms 1ms 15 5,214 6s924ms 1ms 16 4,983 6s207ms 1ms 17 8,558 10s621ms 1ms 18 2,059 2s475ms 1ms 20 147 113ms 0ms [ User: pharmisight - Total duration: 1m22s - Times executed: 64759 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m22s - Times executed: 64759 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200328102' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200328112' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200368472' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-07-30 12:15:06 Duration: 435ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:15:25 Duration: 35ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:05:43 Duration: 34ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 57,168 1s188ms 0ms 2ms 0ms SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = '' AND channel_id = '';Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 30 00 2,400 48ms 0ms 01 2,400 52ms 0ms 02 2,400 49ms 0ms 03 2,400 52ms 0ms 04 2,400 54ms 0ms 05 2,400 49ms 0ms 06 2,152 42ms 0ms 07 2,400 48ms 0ms 08 2,400 51ms 0ms 09 2,400 47ms 0ms 10 2,400 52ms 0ms 11 2,400 49ms 0ms 12 2,400 45ms 0ms 13 2,400 48ms 0ms 14 2,400 48ms 0ms 15 2,400 48ms 0ms 16 2,400 49ms 0ms 17 2,400 50ms 0ms 18 2,400 49ms 0ms 19 2,400 51ms 0ms 20 2,216 43ms 0ms 21 2,400 49ms 0ms 22 2,400 53ms 0ms 23 2,400 50ms 0ms [ User: symmetricds - Total duration: 1s188ms - Times executed: 57168 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s188ms - Times executed: 57168 ]
-
SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = 'redditch' AND channel_id = 'filesync';
-
SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = 'redditch' AND channel_id = 'filesync_reload';
-
SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = 'redditch' AND channel_id = 'filesync';
Date: 2018-07-30 10:07:37 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 05:26:30 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 08:46:35 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 36,072 2s226ms 0ms 12ms 0ms SELECT * FROM order_rounds r WHERE r.flowreport = '';Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 30 06 3,786 233ms 0ms 07 92 5ms 0ms 09 562 34ms 0ms 10 3,478 209ms 0ms 11 3,918 236ms 0ms 12 9,635 612ms 0ms 13 1,175 73ms 0ms 14 1,833 114ms 0ms 15 2,679 167ms 0ms 16 2,873 173ms 0ms 17 4,738 289ms 0ms 18 1,200 72ms 0ms 20 103 3ms 0ms [ User: pharmisight - Total duration: 2s226ms - Times executed: 36072 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s226ms - Times executed: 36072 ]
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200416252';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200416192';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200416362';
Date: 2018-07-30 06:32:35 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:11:54 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:13:56 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 31,381 2s49ms 0ms 3ms 0ms SELECT itembarcod0_.item_id AS item_id12_13_0_, itembarcod0_.item_barcode_id AS item_bar1_14_0_, itembarcod0_.item_barcode_id AS item_bar1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hassiblings AS hassibli4_14_1_, itembarcod0_.itembarcodetype AS itembarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdby AS createdb8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedby AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.item_id AS item_id12_14_1_ FROM item_barcodes itembarcod0_ WHERE itembarcod0_.item_id = '' ORDER BY itembarcod0_.barcode ASC;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 30 00 877 50ms 0ms 01 877 50ms 0ms 02 877 50ms 0ms 03 877 49ms 0ms 04 877 49ms 0ms 05 877 48ms 0ms 06 1,436 96ms 0ms 07 2,126 146ms 0ms 08 2,488 181ms 0ms 09 2,491 187ms 0ms 10 2,676 190ms 0ms 11 1,679 114ms 0ms 12 1,258 82ms 0ms 13 1,048 69ms 0ms 14 1,400 93ms 0ms 15 1,276 81ms 0ms 16 1,348 87ms 0ms 17 1,356 90ms 0ms 18 1,152 72ms 0ms 19 877 52ms 0ms 20 877 50ms 0ms 21 877 51ms 0ms 22 877 50ms 0ms 23 877 50ms 0ms [ User: pharmisight - Total duration: 2s49ms - Times executed: 31381 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s49ms - Times executed: 31381 ]
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '32994960' ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '2882' ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '2919' ORDER BY itembarcod0_.barcode ASC;
Date: 2018-07-30 13:40:00 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 16:45:16 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 08:13:23 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 29,081 1s544ms 0ms 7ms 0ms SELECT flowreport0_.flow_report_id AS flow_rep1_7_0_, flowreport0_.routenumber AS routenum2_7_0_, flowreport0_.rounddeliverydate AS rounddel3_7_0_, flowreport0_.distributionpoint AS distribu4_7_0_, flowreport0_.fullypicked AS fullypic5_7_0_, flowreport0_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, flowreport0_.causeofdelay AS causeofd7_7_0_, flowreport0_.pharmacy100checktime AS pharmacy8_7_0_, flowreport0_.linesheldback AS lineshel9_7_0_, flowreport0_.packtime100 AS packtim10_7_0_, flowreport0_.replenish AS repleni11_7_0_, flowreport0_.comment AS comment12_7_0_, flowreport0_.pickdatetime AS pickdat13_7_0_, flowreport0_.failedtargetpicktime AS failedt14_7_0_, flowreport0_.actualpaperworkcompletetime AS actualp15_7_0_, flowreport0_.changedpickdatetime AS changed16_7_0_, flowreport0_.manuallychangedpicktime AS manuall17_7_0_, flowreport0_.created AS created18_7_0_, flowreport0_.updated AS updated19_7_0_, flowreport0_.note AS note20_7_0_ FROM flow_reports flowreport0_ WHERE flowreport0_.flow_report_id = '';Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 30 06 264 13ms 0ms 07 1,570 76ms 0ms 08 2,337 119ms 0ms 09 2,755 134ms 0ms 10 2,498 127ms 0ms 11 2,970 162ms 0ms 12 8,815 499ms 0ms 13 1,041 56ms 0ms 14 1,249 66ms 0ms 15 1,167 63ms 0ms 16 621 30ms 0ms 17 2,132 109ms 0ms 18 1,661 83ms 0ms 20 1 0ms 0ms [ User: pharmisight - Total duration: 1s544ms - Times executed: 29081 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s544ms - Times executed: 29081 ]
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, flowreport0_.routeNumber AS routeNum2_7_0_, flowreport0_.roundDeliveryDate AS roundDel3_7_0_, flowreport0_.distributionPoint AS distribu4_7_0_, flowreport0_.fullyPicked AS fullyPic5_7_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, flowreport0_.causeOfDelay AS causeOfD7_7_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_7_0_, flowreport0_.linesHeldBack AS linesHel9_7_0_, flowreport0_.packTime100 AS packTim10_7_0_, flowreport0_.replenish AS repleni11_7_0_, flowreport0_.comment AS comment12_7_0_, flowreport0_.pickDateTime AS pickDat13_7_0_, flowreport0_.failedTargetPickTime AS failedT14_7_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_7_0_, flowreport0_.changedPickDateTime AS changed16_7_0_, flowreport0_.manuallyChangedPickTime AS manuall17_7_0_, flowreport0_.CREATED AS CREATED18_7_0_, flowreport0_.UPDATED AS UPDATED19_7_0_, flowreport0_.note AS note20_7_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = '200290502';
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, flowreport0_.routeNumber AS routeNum2_7_0_, flowreport0_.roundDeliveryDate AS roundDel3_7_0_, flowreport0_.distributionPoint AS distribu4_7_0_, flowreport0_.fullyPicked AS fullyPic5_7_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, flowreport0_.causeOfDelay AS causeOfD7_7_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_7_0_, flowreport0_.linesHeldBack AS linesHel9_7_0_, flowreport0_.packTime100 AS packTim10_7_0_, flowreport0_.replenish AS repleni11_7_0_, flowreport0_.comment AS comment12_7_0_, flowreport0_.pickDateTime AS pickDat13_7_0_, flowreport0_.failedTargetPickTime AS failedT14_7_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_7_0_, flowreport0_.changedPickDateTime AS changed16_7_0_, flowreport0_.manuallyChangedPickTime AS manuall17_7_0_, flowreport0_.CREATED AS CREATED18_7_0_, flowreport0_.UPDATED AS UPDATED19_7_0_, flowreport0_.note AS note20_7_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = '200321662';
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, flowreport0_.routeNumber AS routeNum2_7_0_, flowreport0_.roundDeliveryDate AS roundDel3_7_0_, flowreport0_.distributionPoint AS distribu4_7_0_, flowreport0_.fullyPicked AS fullyPic5_7_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, flowreport0_.causeOfDelay AS causeOfD7_7_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_7_0_, flowreport0_.linesHeldBack AS linesHel9_7_0_, flowreport0_.packTime100 AS packTim10_7_0_, flowreport0_.replenish AS repleni11_7_0_, flowreport0_.comment AS comment12_7_0_, flowreport0_.pickDateTime AS pickDat13_7_0_, flowreport0_.failedTargetPickTime AS failedT14_7_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_7_0_, flowreport0_.changedPickDateTime AS changed16_7_0_, flowreport0_.manuallyChangedPickTime AS manuall17_7_0_, flowreport0_.CREATED AS CREATED18_7_0_, flowreport0_.UPDATED AS UPDATED19_7_0_, flowreport0_.note AS note20_7_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = '200013221';
Date: 2018-07-30 12:13:37 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:11:42 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:13:37 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 27,505 5s650ms 0ms 3ms 0ms UPDATE sym_outgoing_batch SET STATUS = '', load_id = '', extract_job_flag = '', load_flag = '', error_flag = '', byte_count = '', extract_count = '', sent_count = '', load_count = '', data_event_count = '', reload_event_count = '', insert_event_count = '', update_event_count = '', delete_event_count = '', other_event_count = '', ignore_count = '', router_millis = '', network_millis = '', filter_millis = '', load_millis = '', extract_millis = '', sql_state = NULL, sql_code = '', sql_message = NULL, failed_data_id = '', last_update_hostname = '', last_update_time = '' WHERE batch_id = '' AND node_id = '';Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 30 00 62 11ms 0ms 01 52 9ms 0ms 02 32 5ms 0ms 03 32 5ms 0ms 04 32 5ms 0ms 05 32 5ms 0ms 06 2,908 571ms 0ms 07 3,470 703ms 0ms 08 3,372 683ms 0ms 09 2,650 546ms 0ms 10 2,874 590ms 0ms 11 2,068 435ms 0ms 12 1,744 364ms 0ms 13 750 156ms 0ms 14 1,452 303ms 0ms 15 1,172 248ms 0ms 16 1,322 276ms 0ms 17 2,174 455ms 0ms 18 1,020 216ms 0ms 19 42 8ms 0ms 20 69 12ms 0ms 21 52 9ms 0ms 22 62 12ms 0ms 23 62 11ms 0ms [ User: symmetricds - Total duration: 5s650ms - Times executed: 27505 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s650ms - Times executed: 27505 ]
-
UPDATE sym_outgoing_batch SET STATUS = 'LD', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '4828', extract_count = '1', sent_count = '1', load_count = '1', data_event_count = '13', reload_event_count = '0', insert_event_count = '6', update_event_count = '7', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '25', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '6', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-30 15:31:44.971' WHERE batch_id = '7804730' AND node_id = '2';
-
UPDATE sym_outgoing_batch SET STATUS = 'QY', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '0', extract_count = '1', sent_count = '0', load_count = '0', data_event_count = '6', reload_event_count = '0', insert_event_count = '2', update_event_count = '4', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '29', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '0', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-30 16:41:46.636' WHERE batch_id = '7804970' AND node_id = '2';
-
UPDATE sym_outgoing_batch SET STATUS = 'QY', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '0', extract_count = '1', sent_count = '0', load_count = '0', data_event_count = '16', reload_event_count = '0', insert_event_count = '6', update_event_count = '10', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '25', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '0', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-30 11:42:39.765' WHERE batch_id = '7803695' AND node_id = '0';
Date: 2018-07-30 15:31:44 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 16:41:46 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:42:39 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 25,690 819ms 0ms 8ms 0ms SELECT nextval ('');Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 30 06 9,665 328ms 0ms 07 2,773 96ms 0ms 08 2,911 80ms 0ms 09 1,899 54ms 0ms 10 2,555 74ms 0ms 11 1,588 43ms 0ms 12 739 24ms 0ms 13 321 9ms 0ms 14 755 28ms 0ms 15 568 17ms 0ms 16 620 19ms 0ms 17 945 30ms 0ms 18 311 10ms 0ms 20 40 0ms 0ms [ User: pharmisight - Total duration: 819ms - Times executed: 25690 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 819ms - Times executed: 25690 ]
-
SELECT nextval ('flow_reports_sequence');
-
SELECT nextval ('order_round_pickers_sequence');
-
SELECT nextval ('query_status_activities_sequence');
Date: 2018-07-30 06:09:35 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:57:29 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:17:37 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 24,180 1s411ms 0ms 0ms 0ms SELECT itemcodes0_.item_id AS item_id11_13_0_, itemcodes0_.item_code_id AS item_cod1_16_0_, itemcodes0_.item_code_id AS item_cod1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemcodetype AS itemcode3_16_1_, itemcodes0_.isprimary AS isprimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdby AS createdb7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedby AS updatedb9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.item_id AS item_id11_16_1_ FROM item_codes itemcodes0_ WHERE itemcodes0_.item_id = '' ORDER BY itemcodes0_.code ASC;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 30 00 986 55ms 0ms 01 986 55ms 0ms 02 986 55ms 0ms 03 986 55ms 0ms 04 986 55ms 0ms 05 986 53ms 0ms 06 1,037 59ms 0ms 07 1,194 73ms 0ms 08 1,103 71ms 0ms 09 1,031 74ms 0ms 10 1,007 58ms 0ms 11 1,008 58ms 0ms 12 992 57ms 0ms 13 986 57ms 0ms 14 991 57ms 0ms 15 989 56ms 0ms 16 1,013 58ms 0ms 17 990 56ms 0ms 18 993 57ms 0ms 19 986 58ms 0ms 20 986 56ms 0ms 21 986 56ms 0ms 22 986 56ms 0ms 23 986 55ms 0ms [ User: pharmisight - Total duration: 1s411ms - Times executed: 24180 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s411ms - Times executed: 24180 ]
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_13_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemCodeType AS itemCode3_16_1_, itemcodes0_.isPrimary AS isPrimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdBy AS createdB7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedBy AS updatedB9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_16_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '1670' ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_13_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemCodeType AS itemCode3_16_1_, itemcodes0_.isPrimary AS isPrimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdBy AS createdB7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedBy AS updatedB9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_16_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '3134' ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_13_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemCodeType AS itemCode3_16_1_, itemcodes0_.isPrimary AS isPrimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdBy AS createdB7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedBy AS updatedB9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_16_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '33016204' ORDER BY itemcodes0_.code ASC;
Date: 2018-07-30 10:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 07:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 21,088 3s352ms 0ms 39ms 0ms SELECT orderlinea0_.order_line_id AS order_l16_22_0_, orderlinea0_.order_line_activity_id AS order_li1_23_0_, orderlinea0_.order_line_activity_id AS order_li1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedqty AS scannedq4_23_1_, orderlinea0_.assignedqty AS assigned5_23_1_, orderlinea0_.backorderqty AS backorde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodedate AS barcoded8_23_1_, orderlinea0_.barcodebatch AS barcodeb9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelqty AS cancelq11_23_1_, orderlinea0_.reducedqty AS reduced12_23_1_, orderlinea0_.mispickitemcode AS mispick13_23_1_, orderlinea0_.created AS created14_23_1_, orderlinea0_.missinglabels AS missing15_23_1_ FROM order_line_activities orderlinea0_ WHERE orderlinea0_.order_line_id = '' ORDER BY orderlinea0_.created ASC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 30 06 953 227ms 0ms 07 2,124 960ms 0ms 08 2,977 457ms 0ms 09 2,416 240ms 0ms 10 4,139 306ms 0ms 11 1,849 139ms 0ms 12 1,957 673ms 0ms 13 602 40ms 0ms 14 823 48ms 0ms 15 539 34ms 0ms 16 688 78ms 0ms 17 1,056 70ms 0ms 18 965 74ms 0ms [ User: pharmisight - Total duration: 3s352ms - Times executed: 21088 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s352ms - Times executed: 21088 ]
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_22_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedQty AS scannedQ4_23_1_, orderlinea0_.assignedQty AS assigned5_23_1_, orderlinea0_.backOrderQty AS backOrde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodeDate AS barcodeD8_23_1_, orderlinea0_.barcodeBatch AS barcodeB9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelQty AS cancelQ11_23_1_, orderlinea0_.reducedQty AS reduced12_23_1_, orderlinea0_.misPickItemCode AS misPick13_23_1_, orderlinea0_.CREATED AS CREATED14_23_1_, orderlinea0_.missingLabels AS missing15_23_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '213662182' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_22_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedQty AS scannedQ4_23_1_, orderlinea0_.assignedQty AS assigned5_23_1_, orderlinea0_.backOrderQty AS backOrde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodeDate AS barcodeD8_23_1_, orderlinea0_.barcodeBatch AS barcodeB9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelQty AS cancelQ11_23_1_, orderlinea0_.reducedQty AS reduced12_23_1_, orderlinea0_.misPickItemCode AS misPick13_23_1_, orderlinea0_.CREATED AS CREATED14_23_1_, orderlinea0_.missingLabels AS missing15_23_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '213063992' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_22_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedQty AS scannedQ4_23_1_, orderlinea0_.assignedQty AS assigned5_23_1_, orderlinea0_.backOrderQty AS backOrde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodeDate AS barcodeD8_23_1_, orderlinea0_.barcodeBatch AS barcodeB9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelQty AS cancelQ11_23_1_, orderlinea0_.reducedQty AS reduced12_23_1_, orderlinea0_.misPickItemCode AS misPick13_23_1_, orderlinea0_.CREATED AS CREATED14_23_1_, orderlinea0_.missingLabels AS missing15_23_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '213444782' ORDER BY orderlinea0_.CREATED ASC;
Date: 2018-07-30 06:39:45 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 07:52:34 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 07:55:53 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 19,813 1s75ms 0ms 25ms 0ms SELECT this_.dlx_barcode AS dlx_barc1_3_0_, this_.ordernumber AS ordernum2_3_0_, this_.pickdatetime AS pickdate3_3_0_, this_.picker AS picker4_3_0_, this_.created AS created5_3_0_, this_.partcode AS partcode6_3_0_, this_.orderqty AS orderqty7_3_0_ FROM dlx_barcodes this_ WHERE this_.ordernumber = '' AND this_.partcode = '';Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 30 06 1,070 56ms 0ms 07 2,120 111ms 0ms 08 3,004 156ms 0ms 09 3,161 178ms 0ms 10 3,562 216ms 0ms 11 1,564 92ms 0ms 12 762 38ms 0ms 13 342 12ms 0ms 14 1,036 44ms 0ms 15 795 39ms 0ms 16 897 49ms 0ms 17 958 48ms 0ms 18 542 29ms 0ms [ User: pharmisight - Total duration: 1s75ms - Times executed: 19813 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s75ms - Times executed: 19813 ]
-
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 = '5003629918' AND this_.partCode = '111379';
-
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 = '5004195149' AND this_.partCode = '42675';
-
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 = '5004269464' AND this_.partCode = '108757';
Date: 2018-07-30 10:09:45 Duration: 25ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:59:35 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 09:07:53 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 0ms 2s786ms 396ms 35 13s894ms UPDATE flow_reports SET routenumber = '', rounddeliverydate = '', distributionpoint = '', fullypicked = '', outbaseroutescorrectlygrouped = '', causeofdelay = NULL, pharmacy100checktime = NULL, linesheldback = '', packtime100 = NULL, replenish = NULL, COMMENT = NULL, pickdatetime = NULL, failedtargetpicktime = NULL, actualpaperworkcompletetime = '', changedpickdatetime = '', manuallychangedpicktime = '', created = '', updated = NULL, note = NULL WHERE flow_report_id = '';Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 30 06 26 13s847ms 532ms 12 1 1ms 1ms 13 1 1ms 1ms 14 2 15ms 7ms 16 1 1ms 1ms 17 4 26ms 6ms [ User: pharmisight - Total duration: 13s894ms - Times executed: 35 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s894ms - Times executed: 35 ]
-
UPDATE FLOW_REPORTS SET routeNumber = '9027531', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:32.998', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:51.961', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416602';
-
UPDATE FLOW_REPORTS SET routeNumber = '9027528', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:32.166', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:21.788', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416572';
-
UPDATE FLOW_REPORTS SET routeNumber = '9027526', roundDeliveryDate = '2018-07-31', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-30 06:34:32.665', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-30 12:00:17.263', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200416552';
Date: 2018-07-30 06:36:23 Duration: 2s786ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:36:09 Duration: 1s922ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:35:50 Duration: 1s874ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 78ms 225ms 165ms 194 32s135ms SELECT this_.order_round_id AS order_ro1_26_0_, this_.routenumber AS routenum2_26_0_, this_.uploadedbyuserid AS uploaded3_26_0_, this_.uploadedbyusername AS uploaded4_26_0_, this_.updatedby AS updatedb5_26_0_, this_.updatedbyusername AS updatedb6_26_0_, this_.orderroundnote AS orderrou7_26_0_, this_.firstcheckout AS firstche8_26_0_, this_.allordersscannedok AS allorder9_26_0_, this_.status AS status10_26_0_, this_.reopenedtimes AS reopene11_26_0_, this_.lastreopenbyid AS lastreo12_26_0_, this_.lastdonecheckin AS lastdon13_26_0_, this_.lastdonebyid AS lastdon14_26_0_, this_.lastdonebyusername AS lastdon15_26_0_, this_.missinglabels AS missing16_26_0_, this_.rounddeliverydate AS roundde17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadupdated AS uploadu21_26_0_, this_.patientalert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxstatus AS rxstatu24_26_0_, this_.distributionpoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedby AS audited27_26_0_, this_.auditstatus AS auditst28_26_0_, this_.uploadfinished AS uploadf29_26_0_, this_.lastrxcompleted AS lastrxc30_26_0_, this_.lastrxcompletedby AS lastrxc31_26_0_, this_.orderroundnotereadby AS orderro32_26_0_, this_.routeorderlinesqty AS routeor33_26_0_, this_.dlxpickedlinesqty AS dlxpick34_26_0_, this_.flowreport AS flowrep35_26_0_, this_.created AS created36_26_0_, this_.createdby AS created37_26_0_, this_.updated AS updated38_26_0_, this_.note AS note39_26_0_ FROM order_rounds this_ WHERE this_.routenumber ILIKE '' ORDER BY this_.rounddeliverydate DESC, this_.routenumber ASC LIMIT '';Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 30 09 7 1s140ms 162ms 10 14 2s238ms 159ms 11 27 4s399ms 162ms 12 146 24s358ms 166ms [ User: pharmisight - Total duration: 32s135ms - Times executed: 194 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 32s135ms - Times executed: 194 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '8%' ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '50';
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '8%' ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '50';
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_0_, this_.routeNumber AS routeNum2_26_0_, this_.uploadedByUserId AS uploaded3_26_0_, this_.uploadedByUserName AS uploaded4_26_0_, this_.updatedBy AS updatedB5_26_0_, this_.updatedByUserName AS updatedB6_26_0_, this_.orderRoundNote AS orderRou7_26_0_, this_.firstCheckOut AS firstChe8_26_0_, this_.allOrdersScannedOK AS allOrder9_26_0_, this_.status AS status10_26_0_, this_.reopenedTimes AS reopene11_26_0_, this_.lastReopenById AS lastReo12_26_0_, this_.lastDoneCheckIn AS lastDon13_26_0_, this_.lastDoneById AS lastDon14_26_0_, this_.lastDoneByUserName AS lastDon15_26_0_, this_.missingLabels AS missing16_26_0_, this_.roundDeliveryDate AS roundDe17_26_0_, this_.trolley AS trolley18_26_0_, this_.stack AS stack19_26_0_, this_.picktime AS picktim20_26_0_, this_.uploadUpdated AS uploadU21_26_0_, this_.patientAlert AS patient22_26_0_, this_.mismatches AS mismatc23_26_0_, this_.rxStatus AS rxStatu24_26_0_, this_.distributionPoint AS distrib25_26_0_, this_.audited AS audited26_26_0_, this_.auditedBy AS audited27_26_0_, this_.auditStatus AS auditSt28_26_0_, this_.uploadFinished AS uploadF29_26_0_, this_.lastRxCompleted AS lastRxC30_26_0_, this_.lastRxCompletedBy AS lastRxC31_26_0_, this_.orderRoundNoteReadBy AS orderRo32_26_0_, this_.routeOrderLinesQty AS routeOr33_26_0_, this_.dlxPickedLinesQty AS dlxPick34_26_0_, this_.flowReport AS flowRep35_26_0_, this_.CREATED AS CREATED36_26_0_, this_.createdBy AS created37_26_0_, this_.UPDATED AS UPDATED38_26_0_, this_.note AS note39_26_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '8%' ORDER BY this_.roundDeliveryDate DESC, this_.routeNumber ASC LIMIT '50';
Date: 2018-07-30 12:02:07 Duration: 225ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:23:19 Duration: 222ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:06:22 Duration: 217ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 45ms 313ms 92ms 146 13s561ms SELECT epscheckli0_.eps_check_id AS eps_chec9_5_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_1_, epscheckli0_.orderlineid AS orderlin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.issnomedmismatch AS issnomed6_6_1_, epscheckli0_.isorderqtymismatch AS isorderq7_6_1_, epscheckli0_.ishit AS ishit8_6_1_ FROM eps_check_lines epscheckli0_ WHERE epscheckli0_.eps_check_id = '' ORDER BY epscheckli0_.description ASC;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 30 06 19 1s946ms 102ms 07 62 5s806ms 93ms 08 44 3s965ms 90ms 09 21 1s842ms 87ms [ User: pharmisight - Total duration: 13s561ms - Times executed: 146 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s561ms - Times executed: 146 ]
-
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 = '200886362' 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 = '200887322' 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 = '200886872' ORDER BY epscheckli0_.description ASC;
Date: 2018-07-30 06:22:16 Duration: 313ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 07:04:16 Duration: 131ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 08:42:15 Duration: 111ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 0ms 1s436ms 60ms 1,348 1m21s SELECT orders0_.patient_id AS patient43_31_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.patient_id = '' ORDER BY orders0_.created DESC;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 30 06 1,231 1m21s 66ms 07 59 86ms 1ms 08 21 11ms 0ms 09 15 347ms 23ms 10 2 12ms 6ms 11 2 1ms 0ms 12 8 32ms 4ms 16 8 18ms 2ms 17 2 1ms 0ms [ User: pharmisight - Total duration: 1m21s - Times executed: 1348 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m21s - Times executed: 1348 ]
-
SELECT orders0_.PATIENT_ID AS PATIENT43_31_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = '200242700' ORDER BY orders0_.CREATED DESC;
-
SELECT orders0_.PATIENT_ID AS PATIENT43_31_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = '55847' ORDER BY orders0_.CREATED DESC;
-
SELECT orders0_.PATIENT_ID AS PATIENT43_31_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.PATIENT_ID = '107305' ORDER BY orders0_.CREATED DESC;
Date: 2018-07-30 06:20:03 Duration: 1s436ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:25:22 Duration: 519ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:20:00 Duration: 414ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 0ms 842ms 56ms 2,207 2m5s SELECT this_.order_line_id AS order_li1_22_0_, this_.routenumber AS routenum2_22_0_, this_.sapordernumber AS saporder3_22_0_, this_.ordernumber AS ordernum4_22_0_, this_.answerordernumber AS answeror5_22_0_, this_.partcode AS partcode6_22_0_, this_.partdescription AS partdesc7_22_0_, this_.patientname AS patientn8_22_0_, this_.firstname AS firstnam9_22_0_, this_.middlename AS middlen10_22_0_, this_.lastname AS lastnam11_22_0_, this_.patientdateofbirth AS patient12_22_0_, this_.patientpostcode AS patient13_22_0_, this_.patientpostcodeprefix AS patient14_22_0_, this_.orderqty AS orderqt15_22_0_, this_.allocqty AS allocqt16_22_0_, this_.shipqty AS shipqty17_22_0_, this_.adjustedqty AS adjuste18_22_0_, this_.scannedqty AS scanned19_22_0_, this_.assignedqty AS assigne20_22_0_, this_.checkedqty AS checked21_22_0_, this_.backorderqty AS backord22_22_0_, this_.cancelqty AS cancelq23_22_0_, this_.reducedqty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliverydate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapcustomerid AS sapcust29_22_0_, this_.billtotype AS billtot30_22_0_, this_.barcodedate AS barcode31_22_0_, this_.barcodebatch AS barcode32_22_0_, this_.patientid AS patient33_22_0_, this_.isadded AS isadded34_22_0_, this_.isnotwithinage AS isnotwi35_22_0_, this_.isunderage AS isunder36_22_0_, this_.agecheck AS agechec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.ispaperworkproblem AS ispaper40_22_0_, this_.paperworkresolution AS paperwo41_22_0_, this_.pickerid AS pickeri42_22_0_, this_.specialcare AS special43_22_0_, this_.paperworkenquirystarted AS paperwo44_22_0_, this_.paperworkenquiryfinished AS paperwo45_22_0_, this_.paperworkenquiryresponse AS paperwo46_22_0_, this_.isnewproduct AS isnewpr47_22_0_, this_.extraprocedure AS extrapr48_22_0_, this_.overaverageqtymax AS overave49_22_0_, this_.overaverageqtyresolution AS overave50_22_0_, this_.createuser AS createu51_22_0_, this_.patientalert AS patient52_22_0_, this_.itemalert AS itemale53_22_0_, this_.checkerid AS checker54_22_0_, this_.reductionsummary AS reducti55_22_0_, this_.ismetabolic AS ismetab56_22_0_, this_.rxstatus AS rxstatu57_22_0_, this_.lastregupdateusertype AS lastreg58_22_0_, this_.lastregupdateusername AS lastreg59_22_0_, this_.lastregupdatedate AS lastreg60_22_0_, this_.sapplannedshipdate AS sapplan61_22_0_, this_.sapplanneddeliverydate AS sapplan62_22_0_, this_.requestedsapquantity AS request63_22_0_, this_.orderquantity AS orderqu64_22_0_, this_.reglinecreatedusertype AS regline65_22_0_, this_.reglinecreatedusername AS regline66_22_0_, this_.reglinecreateddate AS regline67_22_0_, this_.audited AS audited68_22_0_, this_.ismetabolicpatient AS ismetab69_22_0_, this_.addedcase AS addedca70_22_0_, this_.ordertype AS orderty71_22_0_, this_.created AS created72_22_0_, this_.updated AS updated73_22_0_, this_.rxcheckby AS rxcheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertconfirmation AS alertco77_22_0_, this_.homewardaction AS homewar78_22_0_ FROM order_lines this_ WHERE this_.patientid = '';Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 30 06 2,154 2m3s 57ms 07 22 58ms 2ms 08 7 13ms 1ms 09 7 522ms 74ms 10 1 335ms 335ms 12 8 1s140ms 142ms 16 4 213ms 53ms 17 4 7ms 1ms [ User: pharmisight - Total duration: 2m5s - Times executed: 2207 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2m5s - Times executed: 2207 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '44348740';
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '42766';
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.patientId = '127507';
Date: 2018-07-30 06:30:37 Duration: 842ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:28:58 Duration: 709ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:30:41 Duration: 657ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 21ms 78ms 44ms 703 31s156ms SELECT this_.order_round_id AS order_ro1_26_1_, this_.routenumber AS routenum2_26_1_, this_.uploadedbyuserid AS uploaded3_26_1_, this_.uploadedbyusername AS uploaded4_26_1_, this_.updatedby AS updatedb5_26_1_, this_.updatedbyusername AS updatedb6_26_1_, this_.orderroundnote AS orderrou7_26_1_, this_.firstcheckout AS firstche8_26_1_, this_.allordersscannedok AS allorder9_26_1_, this_.status AS status10_26_1_, this_.reopenedtimes AS reopene11_26_1_, this_.lastreopenbyid AS lastreo12_26_1_, this_.lastdonecheckin AS lastdon13_26_1_, this_.lastdonebyid AS lastdon14_26_1_, this_.lastdonebyusername AS lastdon15_26_1_, this_.missinglabels AS missing16_26_1_, this_.rounddeliverydate AS roundde17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadupdated AS uploadu21_26_1_, this_.patientalert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxstatus AS rxstatu24_26_1_, this_.distributionpoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedby AS audited27_26_1_, this_.auditstatus AS auditst28_26_1_, this_.uploadfinished AS uploadf29_26_1_, this_.lastrxcompleted AS lastrxc30_26_1_, this_.lastrxcompletedby AS lastrxc31_26_1_, this_.orderroundnotereadby AS orderro32_26_1_, this_.routeorderlinesqty AS routeor33_26_1_, this_.dlxpickedlinesqty AS dlxpick34_26_1_, this_.flowreport AS flowrep35_26_1_, this_.created AS created36_26_1_, this_.createdby AS created37_26_1_, this_.updated AS updated38_26_1_, this_.note AS note39_26_1_, f1_.flow_report_id AS flow_rep1_7_0_, f1_.routenumber AS routenum2_7_0_, f1_.rounddeliverydate AS rounddel3_7_0_, f1_.distributionpoint AS distribu4_7_0_, f1_.fullypicked AS fullypic5_7_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, f1_.causeofdelay AS causeofd7_7_0_, f1_.pharmacy100checktime AS pharmacy8_7_0_, f1_.linesheldback AS lineshel9_7_0_, f1_.packtime100 AS packtim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickdatetime AS pickdat13_7_0_, f1_.failedtargetpicktime AS failedt14_7_0_, f1_.actualpaperworkcompletetime AS actualp15_7_0_, f1_.changedpickdatetime AS changed16_7_0_, f1_.manuallychangedpicktime AS manuall17_7_0_, f1_.created AS created18_7_0_, f1_.updated AS updated19_7_0_, f1_.note AS note20_7_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> '' AND this_.created > '' AND this_.created < '' ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 30 06 63 2s600ms 41ms 07 1 43ms 43ms 09 5 223ms 44ms 10 74 3s99ms 41ms 11 81 3s554ms 43ms 12 201 9s12ms 44ms 13 21 944ms 44ms 14 39 1s807ms 46ms 15 57 2s679ms 47ms 16 48 2s161ms 45ms 17 93 4s154ms 44ms 18 20 874ms 43ms [ User: pharmisight - Total duration: 31s156ms - Times executed: 703 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31s156ms - Times executed: 703 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-30 00:00:00' AND this_.CREATED < '2018-07-30 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-30 00:00:00' AND this_.CREATED < '2018-07-30 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-30 00:00:00' AND this_.CREATED < '2018-07-30 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-30 06:09:29 Duration: 78ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:08:40 Duration: 76ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 15:21:30 Duration: 73ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 20ms 75ms 41ms 2,216 1m31s SELECT count (*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> '';Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 30 06 40 1s610ms 40ms 07 154 6s186ms 40ms 08 322 12s873ms 39ms 09 221 8s788ms 39ms 10 156 6s170ms 39ms 11 188 7s588ms 40ms 12 368 15s551ms 42ms 13 82 3s391ms 41ms 14 109 4s820ms 44ms 15 122 5s280ms 43ms 16 71 2s899ms 40ms 17 215 9s5ms 41ms 18 168 7s68ms 42ms [ User: pharmisight - Total duration: 1m31s - Times executed: 2216 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m31s - Times executed: 2216 ]
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
Date: 2018-07-30 18:06:31 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 18:32:11 Duration: 72ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:42:34 Duration: 70ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 13ms 52ms 28ms 790 22s270ms SELECT this_.flow_report_id AS flow_rep1_7_0_, this_.routenumber AS routenum2_7_0_, this_.rounddeliverydate AS rounddel3_7_0_, this_.distributionpoint AS distribu4_7_0_, this_.fullypicked AS fullypic5_7_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, this_.causeofdelay AS causeofd7_7_0_, this_.pharmacy100checktime AS pharmacy8_7_0_, this_.linesheldback AS lineshel9_7_0_, this_.packtime100 AS packtim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickdatetime AS pickdat13_7_0_, this_.failedtargetpicktime AS failedt14_7_0_, this_.actualpaperworkcompletetime AS actualp15_7_0_, this_.changedpickdatetime AS changed16_7_0_, this_.manuallychangedpicktime AS manuall17_7_0_, this_.created AS created18_7_0_, this_.updated AS updated19_7_0_, this_.note AS note20_7_0_ FROM flow_reports this_ WHERE this_.created > '' AND this_.created < '' ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 30 06 114 3s17ms 26ms 07 2 68ms 34ms 09 12 350ms 29ms 10 74 1s992ms 26ms 11 84 2s316ms 27ms 12 205 5s878ms 28ms 13 25 749ms 29ms 14 39 1s159ms 29ms 15 57 1s706ms 29ms 16 59 1s667ms 28ms 17 95 2s690ms 28ms 18 24 671ms 27ms [ User: pharmisight - Total duration: 22s270ms - Times executed: 790 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 22s270ms - Times executed: 790 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-30 00:00:00' AND this_.CREATED < '2018-07-30 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-30 00:00:00' AND this_.CREATED < '2018-07-30 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-30 00:00:00' AND this_.CREATED < '2018-07-30 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-30 11:50:05 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:14:21 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 15:10:40 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 1ms 125ms 15ms 2,216 33s298ms SELECT * FROM order_lines WHERE (deliverydate = '' AND STATUS <> '') AND ((agecheck = 0 OR agecheck = 0 OR agecheck = 0) OR (STATUS = '') OR (paperwork IS NOT NULL AND paperwork <> '' AND paperwork <> '' AND paperwork <> '' AND paperwork <> '') OR (paperworkresolution IS NOT NULL) OR (overaverageqtymax IS NOT NULL));Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 30 06 40 311ms 7ms 07 154 2s7ms 13ms 08 322 4s469ms 13ms 09 221 3s207ms 14ms 10 156 2s247ms 14ms 11 188 2s870ms 15ms 12 368 5s689ms 15ms 13 82 1s285ms 15ms 14 109 1s824ms 16ms 15 122 2s72ms 16ms 16 71 1s203ms 16ms 17 215 3s478ms 16ms 18 168 2s632ms 15ms [ User: pharmisight - Total duration: 33s298ms - Times executed: 2216 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 33s298ms - Times executed: 2216 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-31' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-31' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-31' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
Date: 2018-07-30 15:12:24 Duration: 125ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:04:11 Duration: 57ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 16:37:09 Duration: 57ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 0ms 32ms 12ms 1,673 21s265ms UPDATE order_lines SET routenumber = '', sapordernumber = '', ordernumber = '', answerordernumber = NULL, partcode = '', partdescription = '', patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', patientpostcodeprefix = '', orderqty = '', allocqty = '', shipqty = NULL, adjustedqty = '', scannedqty = '', assignedqty = '', checkedqty = '', backorderqty = '', cancelqty = '', reducedqty = '', STATUS = '', reason = NULL, deliverydate = '', customer = '', sapcustomerid = '', billtotype = '', barcodedate = NULL, barcodebatch = NULL, patientid = '', isadded = NULL, isnotwithinage = NULL, isunderage = '', agecheck = '', expired = NULL, paperwork = '', ispaperworkproblem = '', paperworkresolution = NULL, pickerid = '', specialcare = '', paperworkenquirystarted = NULL, paperworkenquiryfinished = NULL, paperworkenquiryresponse = NULL, isnewproduct = NULL, extraprocedure = NULL, overaverageqtymax = NULL, overaverageqtyresolution = NULL, createuser = '', patientalert = NULL, itemalert = NULL, checkerid = '', reductionsummary = NULL, ismetabolic = NULL, rxstatus = '', lastregupdateusertype = '', lastregupdateusername = '', lastregupdatedate = '', sapplannedshipdate = '', sapplanneddeliverydate = '', requestedsapquantity = '', orderquantity = '', reglinecreatedusertype = '', reglinecreatedusername = '', reglinecreateddate = '', audited = NULL, ismetabolicpatient = NULL, addedcase = NULL, ordertype = NULL, created = '', updated = NULL, rxcheckby = '', note = '', item = '', alertconfirmation = NULL, homewardaction = NULL WHERE order_line_id = '';Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 30 06 165 2s78ms 12ms 07 330 4s12ms 12ms 08 349 4s341ms 12ms 09 197 2s574ms 13ms 10 162 1s993ms 12ms 11 171 2s148ms 12ms 12 62 756ms 12ms 13 4 45ms 11ms 14 30 458ms 15ms 15 25 310ms 12ms 16 64 940ms 14ms 17 107 1s498ms 14ms 18 7 107ms 15ms [ User: pharmisight - Total duration: 21s265ms - Times executed: 1673 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 21s265ms - Times executed: 1673 ]
-
UPDATE ORDER_LINES SET routeNumber = '9027331', sapOrderNumber = '7790194', orderNumber = '5004286353', answerOrderNumber = NULL, partCode = '40821', partDescription = 'Tentrini Energy MF Pack 500ml ', patientName = 'Amarni Gibson', firstName = 'Amarni', middleName = NULL, lastName = 'Gibson', patientDateOfBirth = '2003-03-07', patientPostcode = 'NE34 7EW', patientPostcodePrefix = 'NE', orderQty = '84', allocQty = '84', shipQty = NULL, adjustedQty = '80', scannedQty = '80', assignedQty = '0', checkedQty = '80', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-07-31', customer = 'Rebecca Gruncell', sapCustomerId = '685070953', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '193818', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001242', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Jill Cliss', patientAlert = NULL, itemAlert = NULL, checkerId = '4062', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'natalie.mcclurg@nutricia.connections', lastRegUpdateDate = '2018-03-06 13:03:38', sapPlannedShipDate = '2018-07-30', sapPlannedDeliveryDate = '2018-07-31', requestedSAPQuantity = '84', orderQuantity = '84', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 17:29:19', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-30 06:17:11.137', UPDATED = NULL, rxCheckBy = '4062', note = 'Maria Giaquinto', item = '1382', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214631062';
-
UPDATE ORDER_LINES SET routeNumber = '9027522', sapOrderNumber = '7790465', orderNumber = '5004299290', answerOrderNumber = NULL, partCode = '40781', partDescription = 'Nutrini 500ml', patientName = 'Manalika Thakor', firstName = 'Manalika', middleName = NULL, lastName = 'Thakor', patientDateOfBirth = '2005-12-22', patientPostcode = 'LE2 4TB', patientPostcodePrefix = 'LE', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '8', scannedQty = '8', assignedQty = '0', checkedQty = '8', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-07-31', customer = 'Ryan White', sapCustomerId = '685049561', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '312857', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '10538400', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Samantha Bennett', patientAlert = NULL, itemAlert = NULL, checkerId = '4061', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User', lastRegUpdateUserName = 'michelle.coulson@nutricia.connections', lastRegUpdateDate = '2018-05-17 09:46:31', sapPlannedShipDate = '2018-07-30', sapPlannedDeliveryDate = '2018-07-31', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 17:06:23', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-30 06:19:32.909', UPDATED = NULL, rxCheckBy = '4062', note = 'Maria Giaquinto', item = '3329', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214638112';
-
UPDATE ORDER_LINES SET routeNumber = '9027338', sapOrderNumber = '7789655', orderNumber = '5004287673', answerOrderNumber = NULL, partCode = '98456', partDescription = 'Fortisip Compact Neutral 125ml', patientName = 'Brian Thompson', firstName = 'Brian', middleName = NULL, lastName = 'Thompson', patientDateOfBirth = '1937-10-22', patientPostcode = 'S5 6AB', patientPostcodePrefix = 'S', orderQty = '56', allocQty = '56', shipQty = NULL, adjustedQty = '48', scannedQty = '48', assignedQty = '0', checkedQty = '48', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOuter', reason = NULL, deliveryDate = '2018-07-31', customer = 'Ryan White', sapCustomerId = '685157499', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200204680', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001152', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Samantha Bennett', patientAlert = NULL, itemAlert = NULL, checkerId = '15364', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS System Administrator', lastRegUpdateUserName = 'louise.reys@nutricia.connections', lastRegUpdateDate = '2018-04-24 13:48:09', sapPlannedShipDate = '2018-07-30', sapPlannedDeliveryDate = '2018-07-31', requestedSAPQuantity = '56', orderQuantity = '56', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'christian.shaw@nutricia.connections', regLineCreatedDate = '2016-12-20 15:12:33', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-30 06:19:33.01', UPDATED = NULL, rxCheckBy = '4058', note = 'Mandy Jenkins', item = '33059343', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214634832';
Date: 2018-07-30 08:20:57 Duration: 32ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:48:56 Duration: 32ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 09:46:18 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 3ms 215ms 11ms 2,065 22s773ms INSERT INTO order_lines (routenumber, sapordernumber, ordernumber, answerordernumber, partcode, partdescription, patientname, firstname, middlename, lastname, patientdateofbirth, patientpostcode, patientpostcodeprefix, orderqty, allocqty, shipqty, adjustedqty, scannedqty, assignedqty, checkedqty, backorderqty, cancelqty, reducedqty, STATUS, reason, deliverydate, customer, sapcustomerid, billtotype, barcodedate, barcodebatch, patientid, isadded, isnotwithinage, isunderage, agecheck, expired, paperwork, ispaperworkproblem, paperworkresolution, pickerid, specialcare, paperworkenquirystarted, paperworkenquiryfinished, paperworkenquiryresponse, isnewproduct, extraprocedure, overaverageqtymax, overaverageqtyresolution, createuser, patientalert, itemalert, checkerid, reductionsummary, ismetabolic, rxstatus, lastregupdateusertype, lastregupdateusername, lastregupdatedate, sapplannedshipdate, sapplanneddeliverydate, requestedsapquantity, orderquantity, reglinecreatedusertype, reglinecreatedusername, reglinecreateddate, audited, ismetabolicpatient, addedcase, ordertype, created, updated, rxcheckby, note, item, alertconfirmation, homewardaction, order_line_id) VALUES ('', '', '', NULL, '', '', '', '', NULL, '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, '', '', '', '', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', '', '', '', '', NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, '', NULL, NULL, '');Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 30 06 2,050 22s573ms 11ms 09 2 39ms 19ms 12 8 91ms 11ms 16 2 38ms 19ms 17 3 29ms 9ms [ User: pharmisight - Total duration: 22s773ms - Times executed: 2065 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 22s773ms - Times executed: 2065 ]
-
INSERT INTO ORDER_LINES (routeNumber, sapOrderNumber, orderNumber, answerOrderNumber, partCode, partDescription, patientName, firstName, middleName, lastName, patientDateOfBirth, patientPostcode, patientPostcodePrefix, orderQty, allocQty, shipQty, adjustedQty, scannedQty, assignedQty, checkedQty, backOrderQty, cancelQty, reducedQty, STATUS, reason, deliveryDate, customer, sapCustomerId, billToType, barcodeDate, barcodeBatch, patientId, isAdded, isNotWithinAge, isUnderAge, ageCheck, expired, paperwork, isPaperworkProblem, paperworkResolution, pickerId, specialCare, paperworkEnquiryStarted, paperworkEnquiryFinished, paperworkEnquiryResponse, isNewProduct, extraProcedure, overAverageQtyMax, overAverageQtyResolution, createUser, patientAlert, itemAlert, checkerId, reductionSummary, isMetabolic, rxStatus, lastRegUpdateUserType, lastRegUpdateUserName, lastRegUpdateDate, sapPlannedShipDate, sapPlannedDeliveryDate, requestedSAPQuantity, orderQuantity, regLineCreatedUserType, regLineCreatedUserName, regLineCreatedDate, audited, isMetabolicPatient, addedCase, orderType, CREATED, UPDATED, rxCheckBy, note, item, alertConfirmation, homewardAction, ORDER_LINE_ID) VALUES ('9027182', '7790021', '5004299120', NULL, '40892', 'Nutrison Peptisorb Pack 500ml', 'Ellie Geddess', 'Ellie', NULL, 'Geddess', '2005-02-28', 'ML6 8SL', 'ML', '70', '70', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOK', NULL, '2018-08-01', 'Samra Chergui', '685056577', 'Pharmacy (CURO)', NULL, NULL, '516262', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Stuart Quigley', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS System Administrator', 'louise.reys@nutricia.connections', '2018-04-24 13:32:53', '2018-07-31', '2018-08-01', '70', '70', 'CURO PMS Data Migration', 'data.migration@nutricia.com', '2016-05-10 17:31:31', NULL, NULL, NULL, NULL, '2018-07-30 06:07:25.732', NULL, NULL, NULL, '3316', NULL, NULL, '214629332');
-
INSERT INTO ORDER_LINES (routeNumber, sapOrderNumber, orderNumber, answerOrderNumber, partCode, partDescription, patientName, firstName, middleName, lastName, patientDateOfBirth, patientPostcode, patientPostcodePrefix, orderQty, allocQty, shipQty, adjustedQty, scannedQty, assignedQty, checkedQty, backOrderQty, cancelQty, reducedQty, STATUS, reason, deliveryDate, customer, sapCustomerId, billToType, barcodeDate, barcodeBatch, patientId, isAdded, isNotWithinAge, isUnderAge, ageCheck, expired, paperwork, isPaperworkProblem, paperworkResolution, pickerId, specialCare, paperworkEnquiryStarted, paperworkEnquiryFinished, paperworkEnquiryResponse, isNewProduct, extraProcedure, overAverageQtyMax, overAverageQtyResolution, createUser, patientAlert, itemAlert, checkerId, reductionSummary, isMetabolic, rxStatus, lastRegUpdateUserType, lastRegUpdateUserName, lastRegUpdateDate, sapPlannedShipDate, sapPlannedDeliveryDate, requestedSAPQuantity, orderQuantity, regLineCreatedUserType, regLineCreatedUserName, regLineCreatedDate, audited, isMetabolicPatient, addedCase, orderType, CREATED, UPDATED, rxCheckBy, note, item, alertConfirmation, homewardAction, ORDER_LINE_ID) VALUES ('9027182', '7789688', '5004296268', NULL, '50984', 'C&G Sterile Water 90ml', 'Shania Shaw', 'Shania', NULL, 'Shaw', '2000-01-07', 'ML6 8US', 'ML', '112', '112', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableSubpack', NULL, '2018-08-01', 'Samra Chergui', '685052916', 'Hospital_vod', NULL, NULL, '146342', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Isabella Carosi', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'rachel.evans@nutricia.connections', '2018-07-19 11:06:10', '2018-07-31', '2018-08-01', '112', '112', 'CURO PMS Data Migration', 'data.migration@nutricia.com', '2016-05-10 16:43:36', NULL, NULL, NULL, NULL, '2018-07-30 06:07:25.724', NULL, NULL, NULL, '21', NULL, NULL, '214629402');
-
INSERT INTO ORDER_LINES (routeNumber, sapOrderNumber, orderNumber, answerOrderNumber, partCode, partDescription, patientName, firstName, middleName, lastName, patientDateOfBirth, patientPostcode, patientPostcodePrefix, orderQty, allocQty, shipQty, adjustedQty, scannedQty, assignedQty, checkedQty, backOrderQty, cancelQty, reducedQty, STATUS, reason, deliveryDate, customer, sapCustomerId, billToType, barcodeDate, barcodeBatch, patientId, isAdded, isNotWithinAge, isUnderAge, ageCheck, expired, paperwork, isPaperworkProblem, paperworkResolution, pickerId, specialCare, paperworkEnquiryStarted, paperworkEnquiryFinished, paperworkEnquiryResponse, isNewProduct, extraProcedure, overAverageQtyMax, overAverageQtyResolution, createUser, patientAlert, itemAlert, checkerId, reductionSummary, isMetabolic, rxStatus, lastRegUpdateUserType, lastRegUpdateUserName, lastRegUpdateDate, sapPlannedShipDate, sapPlannedDeliveryDate, requestedSAPQuantity, orderQuantity, regLineCreatedUserType, regLineCreatedUserName, regLineCreatedDate, audited, isMetabolicPatient, addedCase, orderType, CREATED, UPDATED, rxCheckBy, note, item, alertConfirmation, homewardAction, ORDER_LINE_ID) VALUES ('9027331', '7790072', '5004297492', NULL, '79784', 'Fortisip Compact Banana 125ml ', 'Rosaleen Bennett', 'Rosaleen', NULL, 'Bennett', '1944-12-28', 'NE3 3PD', 'NE', '52', '52', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ScannableOuter', NULL, '2018-07-31', 'Sarah Carter', '685196668', 'Pharmacy (CURO)', NULL, NULL, '200450522', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Linda Taylor', NULL, NULL, NULL, NULL, NULL, NULL, 'PMS Coordinator & Careline', 'ryan.white@nutricia.connections', '2018-06-08 08:34:25', '2018-07-30', '2018-07-31', '52', '52', 'PMS HCP User Login', 'mary.mahon@nutricia.connections', '2018-06-01 13:01:19', NULL, NULL, NULL, NULL, '2018-07-30 06:17:11.136', NULL, NULL, NULL, '1860', NULL, NULL, '214631032');
Date: 2018-07-30 06:07:31 Duration: 215ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:07:31 Duration: 68ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:17:14 Duration: 63ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 0ms 52ms 5ms 3,219 16s629ms SELECT this_.order_id AS order_id1_20_0_, this_.sapordernumber AS saporder2_20_0_, this_.answerordernumber AS answeror3_20_0_, this_.ordernumber AS ordernum4_20_0_, this_.routenumber AS routenum5_20_0_, this_.billtotype AS billtoty6_20_0_, this_.patientname AS patientn7_20_0_, this_.firstname AS firstnam8_20_0_, this_.middlename AS middlena9_20_0_, this_.lastname AS lastnam10_20_0_, this_.patientdateofbirth AS patient11_20_0_, this_.patientpostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapcustomerid AS sapcust14_20_0_, this_.status AS status15_20_0_, this_.patientid AS patient16_20_0_, this_.isnotwithinage AS isnotwi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliverybarcode AS deliver20_20_0_, this_.deliverydate AS deliver21_20_0_, this_.rxstatus AS rxstatu22_20_0_, this_.createuser AS createu23_20_0_, this_.subordertype AS suborde24_20_0_, this_.sapcontractid AS sapcont25_20_0_, this_.salesforceordernumber AS salesfo26_20_0_, this_.patienttype AS patient27_20_0_, this_.ordertype AS orderty28_20_0_, this_.orderstatus AS orderst29_20_0_, this_.nhsnumber AS nhsnumb30_20_0_, this_.individuallabelling AS individ31_20_0_, this_.orderid AS orderid32_20_0_, this_.clusterlead AS cluster33_20_0_, this_.clustergroup AS cluster34_20_0_, this_.accountid AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionby AS reducti37_20_0_, this_.alertconfirmation AS alertco38_20_0_, this_.created AS created39_20_0_, this_.updated AS updated40_20_0_, this_.note AS note41_20_0_ FROM orders this_ WHERE this_.status = '' AND this_.deliverydate = '' ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 30 07 48 239ms 4ms 08 303 1s503ms 4ms 09 216 1s84ms 5ms 10 243 1s237ms 5ms 11 294 1s487ms 5ms 12 549 2s749ms 5ms 13 162 851ms 5ms 14 273 1s572ms 5ms 15 306 1s613ms 5ms 16 138 798ms 5ms 17 390 1s973ms 5ms 18 297 1s518ms 5ms [ User: pharmisight - Total duration: 16s629ms - Times executed: 3219 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s629ms - Times executed: 3219 ]
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-31' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-31' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-31' ORDER BY this_.deliveryDate ASC;
Date: 2018-07-30 18:31:09 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 14:53:01 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:36:04 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 1ms 18ms 3ms 8,864 34s509ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 30 06 160 304ms 1ms 07 616 1s966ms 3ms 08 1,288 4s564ms 3ms 09 884 3s328ms 3ms 10 624 2s434ms 3ms 11 752 2s997ms 3ms 12 1,472 6s107ms 4ms 13 328 1s297ms 3ms 14 436 1s836ms 4ms 15 488 2s128ms 4ms 16 284 1s121ms 3ms 17 860 3s630ms 4ms 18 672 2s792ms 4ms [ User: pharmisight - Total duration: 34s509ms - Times executed: 8864 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 34s509ms - Times executed: 8864 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus = '4';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus = '5';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-31' AND this_.rxStatus = '2';
Date: 2018-07-30 11:46:38 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 17:24:33 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:33:28 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 0ms 69ms 3ms 3,417 12s587ms UPDATE orders SET sapordernumber = '', answerordernumber = NULL, ordernumber = '', routenumber = '', billtotype = NULL, patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', customer = NULL, sapcustomerid = '', STATUS = '', patientid = '', isnotwithinage = NULL, expired = NULL, paperwork = NULL, deliverybarcode = NULL, deliverydate = '', rxstatus = '', createuser = '', subordertype = '', sapcontractid = '', salesforceordernumber = '', patienttype = '', ordertype = '', orderstatus = '', nhsnumber = '', individuallabelling = '', orderid = '', clusterlead = '', clustergroup = '', accountid = '', reduction = NULL, reductionby = NULL, alertconfirmation = NULL, created = '', updated = NULL, note = NULL WHERE order_id = '';Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 30 06 1,609 3s82ms 1ms 07 664 2s996ms 4ms 08 330 1s591ms 4ms 09 146 790ms 5ms 10 197 1s41ms 5ms 11 117 730ms 6ms 12 71 446ms 6ms 13 23 173ms 7ms 14 64 433ms 6ms 15 43 328ms 7ms 16 44 315ms 7ms 17 103 629ms 6ms 18 6 27ms 4ms [ User: pharmisight - Total duration: 12s587ms - Times executed: 3417 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s587ms - Times executed: 3417 ]
-
UPDATE ORDERS SET sapOrderNumber = '7698962', answerOrderNumber = NULL, orderNumber = '5004195149', routeNumber = '8992326', billToType = NULL, patientName = 'Mark Fox', firstName = 'Mark', middleName = NULL, lastName = 'Fox', patientDateOfBirth = '1967-02-21', patientPostcode = 'DY5 1BQ', customer = NULL, sapCustomerId = '685054324', STATUS = 'Checked', patientId = '24349', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-10', rxStatus = '1', createUser = 'Gill Feltham', subOrderType = 'Standard', sapContractId = '650105911', salesforceOrderNumber = '11006844', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '6103383560', individualLabelling = 'f', orderId = 'a4r1p00000664qMAAQ', clusterLead = 'Johnathan Baysting', clusterGroup = 'DUDLEY', accountId = '102685', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-06 05:56:33.053', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208157662';
-
UPDATE ORDERS SET sapOrderNumber = '7792657', answerOrderNumber = NULL, orderNumber = '5004295472', routeNumber = '9027110', billToType = NULL, patientName = 'Kai Reuben Smith', firstName = 'Kai', middleName = NULL, lastName = 'Reuben Smith', patientDateOfBirth = '2012-11-23', patientPostcode = 'CV11 6ND', customer = NULL, sapCustomerId = '685066859', STATUS = 'Checked', patientId = '45459140', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-27', rxStatus = '4', createUser = 'Nikita Jones', subOrderType = 'Overseas', sapContractId = '650105914', salesforceOrderNumber = '11082123', patientType = 'Homeward', orderType = 'Ad Hoc', orderStatus = 'Confirmed', NHSnumber = '6536328523', individualLabelling = 'f', orderId = 'a4r1p0000067dsUAAQ', clusterLead = 'Michael Phiri-Thorne', clusterGroup = 'GEORGE ELIOT & NORTH WARWICKSHIRE', accountId = '528611', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-30 09:43:06.717', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208351152';
-
UPDATE ORDERS SET sapOrderNumber = '7792461', answerOrderNumber = NULL, orderNumber = '5004297364', routeNumber = '9026346', billToType = NULL, patientName = 'Daniaal Denish', firstName = 'Daniaal', middleName = NULL, lastName = 'Denish', patientDateOfBirth = '2004-09-26', patientPostcode = 'SK15 3BL', customer = NULL, sapCustomerId = '685178061', STATUS = 'Checked', patientId = '200372762', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-27', rxStatus = '1', createUser = 'Isabella Carosi', subOrderType = 'Overseas', sapContractId = '650105867', salesforceOrderNumber = '11080860', patientType = 'Homeward', orderType = 'Ad Hoc', orderStatus = 'Confirmed', NHSnumber = '7014100173', individualLabelling = 'f', orderId = 'a4r1p0000067cFRAAY', clusterLead = 'Brenda Melville', clusterGroup = 'TAMESIDE HOSPITAL NHSFT', accountId = '109490', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-27 12:24:49.362', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208338382';
Date: 2018-07-30 12:02:42 Duration: 69ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 10:52:46 Duration: 36ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:47:16 Duration: 28ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 0ms 435ms 1ms 64,759 1m22s SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 30 06 4,639 5s211ms 1ms 07 287 452ms 1ms 08 180 348ms 1ms 09 838 1s123ms 1ms 10 6,561 8s116ms 1ms 11 6,856 8s657ms 1ms 12 18,741 24s962ms 1ms 13 2,147 2s874ms 1ms 14 3,549 4s705ms 1ms 15 5,214 6s924ms 1ms 16 4,983 6s207ms 1ms 17 8,558 10s621ms 1ms 18 2,059 2s475ms 1ms 20 147 113ms 0ms [ User: pharmisight - Total duration: 1m22s - Times executed: 64759 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m22s - Times executed: 64759 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200328102' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200328112' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200368472' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-07-30 12:15:06 Duration: 435ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:15:25 Duration: 35ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:05:43 Duration: 34ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 0ms 8ms 0ms 15,053 12s570ms UPDATE order_line_activities SET order_line_id = '' WHERE order_line_activity_id = '';Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 30 06 951 818ms 0ms 07 1,851 1s533ms 0ms 08 2,515 2s39ms 0ms 09 1,756 1s481ms 0ms 10 2,490 1s973ms 0ms 11 1,541 1s211ms 0ms 12 616 544ms 0ms 13 303 273ms 0ms 14 737 649ms 0ms 15 547 476ms 0ms 16 599 535ms 0ms 17 881 784ms 0ms 18 266 248ms 0ms [ User: pharmisight - Total duration: 12s570ms - Times executed: 15053 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s570ms - Times executed: 15053 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214630482' WHERE ORDER_LINE_ACTIVITY_ID = '285355612';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214634062' WHERE ORDER_LINE_ACTIVITY_ID = '285493862';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214629102' WHERE ORDER_LINE_ACTIVITY_ID = '285461872';
Date: 2018-07-30 06:44:42 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 17:26:36 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:48:58 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 0ms 13ms 0ms 78,622 36s218ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 30 06 5,069 2s245ms 0ms 07 1,554 1s17ms 0ms 08 1,138 942ms 0ms 09 1,769 927ms 0ms 10 8,065 3s605ms 0ms 11 8,404 3s772ms 0ms 12 24,173 10s851ms 0ms 13 2,473 1s136ms 0ms 14 3,996 1s872ms 0ms 15 5,513 2s623ms 0ms 16 5,121 2s308ms 0ms 17 9,008 3s938ms 0ms 18 2,236 951ms 0ms 20 103 24ms 0ms [ User: pharmisight - Total duration: 36s218ms - Times executed: 78622 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 36s218ms - Times executed: 78622 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200452112' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200359162' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200452162' ORDER BY orders0_.order_id ASC;
Date: 2018-07-30 15:17:03 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 12:11:41 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:55:50 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 3ms 0ms 27,505 5s650ms UPDATE sym_outgoing_batch SET STATUS = '', load_id = '', extract_job_flag = '', load_flag = '', error_flag = '', byte_count = '', extract_count = '', sent_count = '', load_count = '', data_event_count = '', reload_event_count = '', insert_event_count = '', update_event_count = '', delete_event_count = '', other_event_count = '', ignore_count = '', router_millis = '', network_millis = '', filter_millis = '', load_millis = '', extract_millis = '', sql_state = NULL, sql_code = '', sql_message = NULL, failed_data_id = '', last_update_hostname = '', last_update_time = '' WHERE batch_id = '' AND node_id = '';Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 30 00 62 11ms 0ms 01 52 9ms 0ms 02 32 5ms 0ms 03 32 5ms 0ms 04 32 5ms 0ms 05 32 5ms 0ms 06 2,908 571ms 0ms 07 3,470 703ms 0ms 08 3,372 683ms 0ms 09 2,650 546ms 0ms 10 2,874 590ms 0ms 11 2,068 435ms 0ms 12 1,744 364ms 0ms 13 750 156ms 0ms 14 1,452 303ms 0ms 15 1,172 248ms 0ms 16 1,322 276ms 0ms 17 2,174 455ms 0ms 18 1,020 216ms 0ms 19 42 8ms 0ms 20 69 12ms 0ms 21 52 9ms 0ms 22 62 12ms 0ms 23 62 11ms 0ms [ User: symmetricds - Total duration: 5s650ms - Times executed: 27505 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s650ms - Times executed: 27505 ]
-
UPDATE sym_outgoing_batch SET STATUS = 'LD', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '4828', extract_count = '1', sent_count = '1', load_count = '1', data_event_count = '13', reload_event_count = '0', insert_event_count = '6', update_event_count = '7', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '25', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '6', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-30 15:31:44.971' WHERE batch_id = '7804730' AND node_id = '2';
-
UPDATE sym_outgoing_batch SET STATUS = 'QY', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '0', extract_count = '1', sent_count = '0', load_count = '0', data_event_count = '6', reload_event_count = '0', insert_event_count = '2', update_event_count = '4', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '29', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '0', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-30 16:41:46.636' WHERE batch_id = '7804970' AND node_id = '2';
-
UPDATE sym_outgoing_batch SET STATUS = 'QY', load_id = '-1', extract_job_flag = '0', load_flag = '0', error_flag = '0', byte_count = '0', extract_count = '1', sent_count = '0', load_count = '0', data_event_count = '16', reload_event_count = '0', insert_event_count = '6', update_event_count = '10', delete_event_count = '0', other_event_count = '0', ignore_count = '0', router_millis = '25', network_millis = '0', filter_millis = '0', load_millis = '0', extract_millis = '0', sql_state = NULL, sql_code = '0', sql_message = NULL, failed_data_id = '0', last_update_hostname = 'scancheck', last_update_time = '2018-07-30 11:42:39.765' WHERE batch_id = '7803695' AND node_id = '0';
Date: 2018-07-30 15:31:44 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 16:41:46 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 11:42:39 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 39ms 0ms 21,088 3s352ms SELECT orderlinea0_.order_line_id AS order_l16_22_0_, orderlinea0_.order_line_activity_id AS order_li1_23_0_, orderlinea0_.order_line_activity_id AS order_li1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedqty AS scannedq4_23_1_, orderlinea0_.assignedqty AS assigned5_23_1_, orderlinea0_.backorderqty AS backorde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodedate AS barcoded8_23_1_, orderlinea0_.barcodebatch AS barcodeb9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelqty AS cancelq11_23_1_, orderlinea0_.reducedqty AS reduced12_23_1_, orderlinea0_.mispickitemcode AS mispick13_23_1_, orderlinea0_.created AS created14_23_1_, orderlinea0_.missinglabels AS missing15_23_1_ FROM order_line_activities orderlinea0_ WHERE orderlinea0_.order_line_id = '' ORDER BY orderlinea0_.created ASC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 30 06 953 227ms 0ms 07 2,124 960ms 0ms 08 2,977 457ms 0ms 09 2,416 240ms 0ms 10 4,139 306ms 0ms 11 1,849 139ms 0ms 12 1,957 673ms 0ms 13 602 40ms 0ms 14 823 48ms 0ms 15 539 34ms 0ms 16 688 78ms 0ms 17 1,056 70ms 0ms 18 965 74ms 0ms [ User: pharmisight - Total duration: 3s352ms - Times executed: 21088 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s352ms - Times executed: 21088 ]
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_22_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedQty AS scannedQ4_23_1_, orderlinea0_.assignedQty AS assigned5_23_1_, orderlinea0_.backOrderQty AS backOrde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodeDate AS barcodeD8_23_1_, orderlinea0_.barcodeBatch AS barcodeB9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelQty AS cancelQ11_23_1_, orderlinea0_.reducedQty AS reduced12_23_1_, orderlinea0_.misPickItemCode AS misPick13_23_1_, orderlinea0_.CREATED AS CREATED14_23_1_, orderlinea0_.missingLabels AS missing15_23_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '213662182' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_22_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedQty AS scannedQ4_23_1_, orderlinea0_.assignedQty AS assigned5_23_1_, orderlinea0_.backOrderQty AS backOrde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodeDate AS barcodeD8_23_1_, orderlinea0_.barcodeBatch AS barcodeB9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelQty AS cancelQ11_23_1_, orderlinea0_.reducedQty AS reduced12_23_1_, orderlinea0_.misPickItemCode AS misPick13_23_1_, orderlinea0_.CREATED AS CREATED14_23_1_, orderlinea0_.missingLabels AS missing15_23_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '213063992' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_22_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_23_1_, orderlinea0_.status AS status2_23_1_, orderlinea0_.reason AS reason3_23_1_, orderlinea0_.scannedQty AS scannedQ4_23_1_, orderlinea0_.assignedQty AS assigned5_23_1_, orderlinea0_.backOrderQty AS backOrde6_23_1_, orderlinea0_.barcode AS barcode7_23_1_, orderlinea0_.barcodeDate AS barcodeD8_23_1_, orderlinea0_.barcodeBatch AS barcodeB9_23_1_, orderlinea0_.expiration AS expirat10_23_1_, orderlinea0_.cancelQty AS cancelQ11_23_1_, orderlinea0_.reducedQty AS reduced12_23_1_, orderlinea0_.misPickItemCode AS misPick13_23_1_, orderlinea0_.CREATED AS CREATED14_23_1_, orderlinea0_.missingLabels AS missing15_23_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '213444782' ORDER BY orderlinea0_.CREATED ASC;
Date: 2018-07-30 06:39:45 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 07:52:34 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 07:55:53 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 0ms 55ms 0ms 157,138 19s242ms SELECT orderlines0_.order_id AS order_i79_20_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 30 06 9,183 1s386ms 0ms 07 31,283 3s743ms 0ms 08 43,079 5s28ms 0ms 09 16,209 2s162ms 0ms 10 14,180 1s722ms 0ms 11 8,793 995ms 0ms 12 5,992 756ms 0ms 13 2,301 267ms 0ms 14 6,697 850ms 0ms 15 4,428 531ms 0ms 16 4,170 522ms 0ms 17 6,986 790ms 0ms 18 3,837 485ms 0ms [ User: pharmisight - Total duration: 19s242ms - Times executed: 157138 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 19s242ms - Times executed: 157138 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208330962' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208329252' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208133162' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-07-30 06:08:15 Duration: 55ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:08:14 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-30 06:17:44 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
-
Events
Log levels
Key values
- 11,856,327 Log entries
Events distribution
Key values
- 0 PANIC entries
- 1 FATAL entries
- 11 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 10 Max number of times the same event was reported
- 12 Total events found
Rank Times reported Error 1 10 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 30 06 8 11 1 12 1 - LOG: process 14320 still waiting for ShareLock on transaction 23380989 after 1000.173 ms
- LOG: process 14033 still waiting for ShareLock on transaction 23380990 after 1000.133 ms
- LOG: process 14625 still waiting for ShareLock on transaction 23380992 after 1000.141 ms
Detail: Process holding the lock: 14625. Wait queue: 14320.
Context: while updating tuple (1373,45) in relation "flow_reports"
Statement: update FLOW_REPORTS set routeNumber=$1, roundDeliveryDate=$2, distributionPoint=$3, fullyPicked=$4, outbaseRoutesCorrectlyGrouped=$5, causeOfDelay=$6, pharmacy100CheckTime=$7, linesHeldBack=$8, packTime100=$9, replenish=$10, comment=$11, pickDateTime=$12, failedTargetPickTime=$13, actualPaperworkCompleteTime=$14, changedPickDateTime=$15, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-07-30 06:35:44 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 14320. Wait queue: 14033.
Context: while updating tuple (1373,68) in relation "flow_reports"
Statement: update FLOW_REPORTS set routeNumber=$1, roundDeliveryDate=$2, distributionPoint=$3, fullyPicked=$4, outbaseRoutesCorrectlyGrouped=$5, causeOfDelay=$6, pharmacy100CheckTime=$7, linesHeldBack=$8, packTime100=$9, replenish=$10, comment=$11, pickDateTime=$12, failedTargetPickTime=$13, actualPaperworkCompleteTime=$14, changedPickDateTime=$15, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-07-30 06:35:47 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 14033. Wait queue: 14625.
Context: while updating tuple (1373,80) in relation "flow_reports"
Statement: update FLOW_REPORTS set routeNumber=$1, roundDeliveryDate=$2, distributionPoint=$3, fullyPicked=$4, outbaseRoutesCorrectlyGrouped=$5, causeOfDelay=$6, pharmacy100CheckTime=$7, linesHeldBack=$8, packTime100=$9, replenish=$10, comment=$11, pickDateTime=$12, failedTargetPickTime=$13, actualPaperworkCompleteTime=$14, changedPickDateTime=$15, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-07-30 06:35:49 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
2 1 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL off
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 30 09 1 - FATAL: no pg_hba.conf entry for host "183.129.160.229", user "root", database "root", SSL off
Date: 2018-07-30 09:29:54 Database: root Application: [unknown] User: root Remote: 183.129.160.229 Code:
3 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 30 00 1 - ERROR: relation "gp_id" does not exist at character 20
Statement: select gpname from gp_id
Date: 2018-07-30 00:00:10 Database: pharmisight Application: PostgreSQL JDBC Driver User: symmetricds Remote: 10.10.10.1 Code: