-
Global information
- Generated on Sat Mar 2 00:00:26 2019
- Log file: /var/log/postgresql/postgresql-11-main.log.1
- Parsed 7,129,675 log entries in 24s
- Log start from 2019-03-01 00:00:00 to 2019-03-01 23:59:58
-
Overview
Global Stats
- 1,090 Number of unique normalized queries
- 2,176,404 Number of queries
- 7m17s Total query duration
- 2019-03-01 00:00:00 First query
- 2019-03-01 23:59:58 Last query
- 11,288 queries/s at 2019-03-01 06:05:17 Query peak
- 17 Number of events
- 3 Number of unique normalized events
- 11 Max number of times the same event was reported
- 0 Number of cancellation
- 102 Total number of automatic vacuums
- 194 Total number of automatic analyzes
- 4 Number temporary file
- 9.49 MiB Max size of temporary file
- 6.43 MiB Average size of temporary file
- 1,734 Total number of sessions
- 4 sessions at 2019-03-01 09:01:04 Session peak
- 10d6h25m58s Total duration of sessions
- 8m31s Average duration of sessions
- 1,255 Average queries per session
- 252ms Average queries duration per session
- 1,735 Total number of connections
- 6 connections/s at 2019-03-01 00:30:42 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 11,288 queries/s Query Peak
- 2019-03-01 06:05:17 Date
SELECT Traffic
Key values
- 1,777 queries/s Query Peak
- 2019-03-01 06:40:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 11,215 queries/s Query Peak
- 2019-03-01 06:05:17 Date
Queries duration
Key values
- 7m17s Total query duration
Prepared queries ratio
Key values
- 2.37 Ratio of bind vs prepare
- 134.60 % 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) Mar 01 00 54,661 0ms 48ms 0ms 73ms 226ms 1s219ms 01 47,192 0ms 78ms 0ms 51ms 214ms 446ms 02 45,758 0ms 78ms 0ms 57ms 142ms 374ms 03 46,793 0ms 42ms 0ms 50ms 167ms 269ms 04 47,331 0ms 79ms 0ms 53ms 195ms 510ms 05 49,889 0ms 127ms 0ms 56ms 106ms 3s166ms 06 229,668 0ms 7s407ms 0ms 5s850ms 10s531ms 17s453ms 07 180,669 0ms 182ms 0ms 1s588ms 2s64ms 3s158ms 08 181,958 0ms 201ms 0ms 1s153ms 1s363ms 5s327ms 09 122,909 0ms 998ms 0ms 1s44ms 1s173ms 3s211ms 10 164,008 0ms 2s534ms 0ms 1s196ms 1s921ms 3s368ms 11 145,282 0ms 175ms 0ms 1s401ms 1s845ms 2s244ms 12 144,348 0ms 180ms 0ms 1s465ms 1s717ms 2s447ms 13 133,095 0ms 346ms 0ms 1s276ms 1s661ms 2s271ms 14 118,031 0ms 178ms 0ms 557ms 748ms 1s6ms 15 85,620 0ms 1s716ms 0ms 1s355ms 1s815ms 2s610ms 16 48,275 0ms 174ms 0ms 416ms 670ms 838ms 17 45,143 0ms 72ms 0ms 63ms 142ms 290ms 18 49,383 0ms 73ms 0ms 63ms 95ms 279ms 19 45,348 0ms 74ms 0ms 54ms 91ms 308ms 20 49,609 0ms 73ms 0ms 52ms 208ms 620ms 21 45,830 0ms 72ms 0ms 55ms 92ms 358ms 22 48,098 0ms 71ms 0ms 45ms 219ms 401ms 23 47,506 0ms 72ms 0ms 52ms 266ms 349ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 01 00 19,027 0 0ms 26ms 39ms 482ms 01 15,208 0 0ms 26ms 32ms 143ms 02 14,966 0 0ms 23ms 36ms 121ms 03 15,168 0 0ms 25ms 31ms 106ms 04 15,233 0 0ms 23ms 33ms 143ms 05 16,382 0 0ms 27ms 33ms 110ms 06 96,164 0 0ms 1s290ms 2s911ms 7s757ms 07 94,524 0 0ms 634ms 1s88ms 2s936ms 08 95,511 0 0ms 794ms 883ms 1s594ms 09 57,726 0 0ms 572ms 799ms 2s72ms 10 82,957 0 0ms 748ms 1s107ms 1s916ms 11 74,301 0 0ms 748ms 1s252ms 1s668ms 12 74,122 0 0ms 738ms 1s369ms 1s902ms 13 68,841 0 0ms 613ms 1s91ms 2s39ms 14 50,294 0 0ms 313ms 399ms 701ms 15 41,445 0 0ms 446ms 1s100ms 1s808ms 16 16,863 0 0ms 36ms 340ms 671ms 17 14,931 0 0ms 25ms 44ms 135ms 18 16,399 0 0ms 23ms 31ms 118ms 19 14,902 0 0ms 19ms 35ms 127ms 20 17,949 0 0ms 22ms 31ms 185ms 21 14,961 0 0ms 20ms 40ms 129ms 22 15,387 0 0ms 23ms 32ms 129ms 23 15,253 0 0ms 21ms 34ms 132ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 01 00 1,837 1,472 115 0 0ms 10ms 12ms 97ms 01 1,680 476 113 0 0ms 1ms 7ms 85ms 02 600 206 114 0 0ms 1ms 7ms 43ms 03 1,356 395 114 0 0ms 1ms 7ms 68ms 04 1,700 481 115 0 0ms 1ms 7ms 103ms 05 2,671 820 114 0 0ms 1ms 7ms 189ms 06 57,165 17,705 393 0 0ms 153ms 755ms 3s720ms 07 13,796 6,646 394 0 0ms 89ms 132ms 364ms 08 13,476 5,865 414 0 0ms 94ms 127ms 177ms 09 9,518 3,867 295 0 0ms 64ms 84ms 137ms 10 15,801 5,925 382 0 0ms 81ms 104ms 167ms 11 11,531 4,566 328 0 0ms 71ms 83ms 129ms 12 12,137 4,544 323 0 0ms 69ms 85ms 238ms 13 10,659 3,949 284 0 0ms 66ms 83ms 129ms 14 10,800 4,211 327 0 0ms 66ms 93ms 120ms 15 3,354 1,486 183 0 0ms 36ms 60ms 100ms 16 299 174 114 0 0ms 1ms 6ms 38ms 17 100 65 108 0 1ms 1ms 6ms 10ms 18 317 972 111 0 0ms 7ms 10ms 15ms 19 143 83 109 0 0ms 1ms 6ms 13ms 20 1,045 324 133 0 0ms 1ms 5ms 66ms 21 456 170 109 0 0ms 1ms 7ms 42ms 22 1,927 546 111 0 0ms 1ms 7ms 81ms 23 1,500 431 110 0 0ms 1ms 6ms 98ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 01 00 33,410 54,625 1.63 94.08% 01 30,076 47,156 1.57 104.91% 02 29,890 45,722 1.53 110.16% 03 30,516 46,757 1.53 108.08% 04 30,191 47,295 1.57 105.05% 05 30,675 49,853 1.63 98.15% 06 52,193 229,545 4.40 26.08% 07 59,995 178,200 2.97 41.34% 08 58,288 181,922 3.12 39.57% 09 48,001 122,873 2.56 50.79% 10 52,874 163,972 3.10 40.10% 11 49,008 145,246 2.96 42.57% 12 49,656 144,312 2.91 43.25% 13 44,990 133,032 2.96 42.68% 14 48,335 117,980 2.44 54.54% 15 36,752 85,584 2.33 58.38% 16 29,674 48,224 1.63 101.26% 17 28,331 45,107 1.59 106.91% 18 30,007 49,347 1.64 98.26% 19 28,475 45,312 1.59 106.98% 20 28,543 49,573 1.74 92.49% 21 28,889 45,794 1.59 106.64% 22 28,621 48,062 1.68 97.49% 23 28,426 47,470 1.67 99.00% Day Hour Count Average / Second Mar 01 00 96 0.03/s 01 97 0.03/s 02 100 0.03/s 03 102 0.03/s 04 107 0.03/s 05 109 0.03/s 06 86 0.02/s 07 74 0.02/s 08 61 0.02/s 09 64 0.02/s 10 55 0.02/s 11 58 0.02/s 12 65 0.02/s 13 64 0.02/s 14 58 0.02/s 15 58 0.02/s 16 63 0.02/s 17 61 0.02/s 18 54 0.01/s 19 58 0.02/s 20 58 0.02/s 21 60 0.02/s 22 66 0.02/s 23 61 0.02/s Day Hour Count Average Duration Mar 01 00 96 6m19s 01 97 6m24s 02 100 6m13s 03 102 5m53s 04 107 5m40s 05 109 5m28s 06 83 6m46s 07 77 8m31s 08 58 9m56s 09 67 9m53s 10 55 9m44s 11 57 12m2s 12 63 9m50s 13 66 11m23s 14 58 9m1s 15 58 12m35s 16 63 9m39s 17 61 9m30s 18 54 9m26s 19 58 12m13s 20 58 9m48s 21 60 10m44s 22 66 9m6s 23 61 9m50s -
Connections
Established Connections
Key values
- 6 connections Connection Peak
- 2019-03-01 00:30:42 Date
Connections per database
Key values
- pharmisight Main Database
- 1,735 connections Total
Connections per user
Key values
- symmetricds Main User
- 1,735 connections Total
-
Sessions
Simultaneous sessions
Key values
- 4 sessions Session Peak
- 2019-03-01 09:01:04 Date
Histogram of session times
Key values
- 996 60000-600000ms duration
Sessions per database
Key values
- pharmisight Main Database
- 1,734 sessions Total
Sessions per user
Key values
- symmetricds Main User
- 1,734 sessions Total
Sessions per host
Key values
- 10.10.10.1 Main Host
- 1,734 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 4,365 buffers Checkpoint Peak
- 2019-03-01 07:04:44 Date
- 150.012 seconds Highest write time
- 0.020 seconds Sync time
Checkpoints Wal files
Key values
- 3 files Wal files usage Peak
- 2019-03-01 07:04:44 Date
Checkpoints distance
Key values
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Mar 01 00 1,854 185.703s 0.018s 185.791s 01 859 86.094s 0.022s 86.178s 02 605 60.708s 0.015s 60.784s 03 709 71.027s 0.026s 71.118s 04 787 78.952s 0.012s 79.033s 05 597 59.903s 0.018s 59.987s 06 11,702 980.38s 0.055s 980.507s 07 11,347 828.802s 0.022s 828.905s 08 7,246 730.645s 0.021s 730.743s 09 6,680 551.003s 0.014s 551.087s 10 6,439 643.93s 0.02s 644.015s 11 5,738 574.66s 0.019s 574.743s 12 7,485 579.008s 0.026s 579.101s 13 5,056 506.764s 0.017s 506.847s 14 4,692 469.709s 0.019s 469.795s 15 3,207 320.843s 0.015s 320.92s 16 685 68.734s 0.013s 68.808s 17 419 42.052s 0.012s 42.132s 18 1,409 141.354s 0.026s 141.454s 19 532 53.38s 0.021s 53.466s 20 555 55.688s 0.024s 55.774s 21 552 55.385s 0.013s 55.462s 22 820 82.07s 0.017s 82.151s 23 737 73.838s 0.018s 73.919s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 01 00 0 0 1 339 0.002s 0s 01 0 0 0 289 0.008s 0s 02 0 0 0 275 0.002s 0s 03 0 0 1 269 0.008s 0s 04 0 0 0 272 0.002s 0s 05 0 0 0 247 0.003s 0s 06 0 0 9 1,198 0.019s 0s 07 0 0 6 1,135 0.002s 0s 08 0 0 4 1,215 0.002s 0s 09 0 0 2 996 0.002s 0s 10 0 0 3 1,172 0.001s 0s 11 0 0 2 1,099 0.001s 0s 12 0 0 3 1,121 0.008s 0s 13 0 0 2 995 0.002s 0s 14 0 0 2 1,014 0.001s 0s 15 0 0 1 700 0.001s 0s 16 0 0 0 340 0.002s 0s 17 0 0 0 246 0.002s 0s 18 0 0 1 296 0.008s 0s 19 0 0 0 263 0.008s 0s 20 0 0 0 279 0.004s 0s 21 0 0 0 275 0.002s 0s 22 0 0 1 295 0.003s 0s 23 0 0 0 271 0.003s 0s Day Hour Count Avg time (sec) Mar 01 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 Mar 01 00 936.58 kB 1,807.25 kB 01 408.91 kB 1,246.36 kB 02 245.50 kB 679.42 kB 03 316.75 kB 911.33 kB 04 365.00 kB 1,051.42 kB 05 271.00 kB 977.25 kB 06 12,845.25 kB 35,682.00 kB 07 8,702.73 kB 32,512.45 kB 08 4,474.08 kB 12,175.67 kB 09 3,520.08 kB 10,604.00 kB 10 3,665.42 kB 6,433.25 kB 11 3,143.33 kB 6,406.83 kB 12 3,713.55 kB 9,730.73 kB 13 3,069.82 kB 6,260.55 kB 14 2,435.00 kB 3,356.73 kB 15 1,754.50 kB 5,816.83 kB 16 280.67 kB 1,931.58 kB 17 160.08 kB 695.58 kB 18 738.50 kB 1,384.50 kB 19 207.00 kB 773.42 kB 20 226.67 kB 520.92 kB 21 225.25 kB 597.33 kB 22 358.50 kB 1,077.42 kB 23 321.42 kB 937.17 kB -
Temporary Files
Size of temporary files
Key values
- 9.49 MiB Temp Files size Peak
- 2019-03-01 06:05:25 Date
Number of temporary files
Key values
- 2 per second Temp Files Peak
- 2019-03-01 06:07:02 Date
Temporary Files Activity
Day Hour Count Total size Average size Mar 01 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 4 25.72 MiB 6.43 MiB 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 1 2.64 MiB 2.64 MiB 2.64 MiB 2.64 MiB SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list, e.router_id FROM sym_data d INNER JOIN sym_data_event e ON d.data_id = e.data_id INNER JOIN sym_outgoing_batch o ON o.batch_id = e.batch_id WHERE o.batch_id = ? AND o.node_id = ? 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, e.router_id FROM sym_data d INNER JOIN sym_data_event e ON d.data_id = e.data_id INNER JOIN sym_outgoing_batch o ON o.batch_id = e.batch_id WHERE o.batch_id = $1 AND o.node_id = $2 ORDER BY d.data_id ASC;
Date: 2019-03-01 06:07:02 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 2.64 MiB SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list, e.router_id FROM sym_data d INNER JOIN sym_data_event e ON d.data_id = e.data_id INNER JOIN sym_outgoing_batch o ON o.batch_id = e.batch_id WHERE o.batch_id = $1 AND o.node_id = $2 ORDER BY d.data_id ASC;[ Date: 2019-03-01 06:07:02 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Analyzes per table
Key values
- public.sym_data_gap (91) Main table analyzed (database pharmisight)
- 194 analyzes Total
Table Number of analyzes pharmisight.public.sym_data_gap 91 pharmisight.public.sym_outgoing_batch 43 pharmisight.public.sym_incoming_batch 15 pharmisight.public.sym_data 12 pharmisight.public.sym_data_event 12 pharmisight.public.sym_sequence 10 pharmisight.public.sym_node_host 6 pharmisight.public.item_codes 3 pharmisight.public.users 1 pharmisight.public.flow_report_summary_delays 1 Total 194 Vacuums per table
Key values
- public.sym_data_gap (49) Main table vacuumed on database pharmisight
- 102 vacuums Total
Table Number of vacuums Index scans pharmisight.public.sym_data_gap 49 49 pharmisight.public.sym_outgoing_batch 20 20 pharmisight.public.sym_sequence 10 0 pharmisight.public.sym_incoming_batch 6 6 pharmisight.public.sym_node_host 5 0 pharmisight.public.sym_data 3 3 pharmisight.public.sym_data_event 3 3 pharmisight.pg_toast.pg_toast_2619 2 2 pharmisight.pg_catalog.pg_statistic 2 2 pharmisight.public.item_codes 1 1 pharmisight.public.flow_report_summary_delays 1 1 Total 102 87 Tuples removed per table
Key values
- public.sym_data (7582) Main table with removed tuples on database pharmisight
- 21679 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_data 3 3 7582 787 pharmisight.public.sym_data_event 3 3 6762 0 pharmisight.public.sym_data_gap 49 49 2576 0 pharmisight.public.sym_outgoing_batch 20 20 2193 0 pharmisight.public.sym_incoming_batch 6 6 733 0 pharmisight.pg_catalog.pg_statistic 2 2 614 0 pharmisight.public.sym_sequence 10 0 509 0 pharmisight.public.item_codes 1 1 277 0 pharmisight.public.sym_node_host 5 0 260 0 pharmisight.pg_toast.pg_toast_2619 2 2 121 0 pharmisight.public.flow_report_summary_delays 1 1 52 0 Total 102 87 21,679 787 Pages removed per table
Key values
- public.sym_data (787) Main table with removed pages on database pharmisight
- 787 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_data 3 3 7582 787 pharmisight.public.sym_node_host 5 0 260 0 pharmisight.public.sym_outgoing_batch 20 20 2193 0 pharmisight.public.sym_data_gap 49 49 2576 0 pharmisight.public.item_codes 1 1 277 0 pharmisight.public.sym_sequence 10 0 509 0 pharmisight.public.sym_data_event 3 3 6762 0 pharmisight.pg_toast.pg_toast_2619 2 2 121 0 pharmisight.public.sym_incoming_batch 6 6 733 0 pharmisight.public.flow_report_summary_delays 1 1 52 0 pharmisight.pg_catalog.pg_statistic 2 2 614 0 Total 102 87 21,679 787 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Mar 01 00 1 6 01 1 2 02 1 2 03 0 1 04 1 2 05 1 1 06 10 18 07 11 20 08 13 21 09 8 14 10 9 20 11 8 16 12 12 17 13 7 13 14 7 17 15 3 8 16 1 2 17 1 0 18 1 6 19 2 1 20 1 2 21 1 1 22 1 3 23 1 1 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 11 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 11 20s504ms 1s204ms 3s628ms 1s864ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = ? WHERE flow_report_id = ?;-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
Date: 2019-03-01 06:20:00 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:20:00 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:19:56 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Queries that waited the most
Rank Wait time Query 1 3s628ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:20:00 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
2 3s72ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:20:00 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
3 2s54ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:19:53 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
4 1s710ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:19:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
5 1s710ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:19:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
6 1s707ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 15:28:43 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
7 1s410ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:19:55 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
8 1s409ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:19:55 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
9 1s387ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:20:53 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
10 1s208ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:20:55 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
11 1s204ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:19:55 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Queries
Queries by type
Key values
- 958,514 Total read queries
- 655,835 Total write queries
Queries by database
Key values
- pharmisight Main database
- 2,176,404 Requests
- 7m17s (pharmisight)
- Main time consuming database
Queries by user
Key values
- symmetricds Main user
- 1,549,119 Requests
User Request type Count Duration pharmisight Total 673,695 5m46s DELETE 27 25ms INSERT 28,168 19s192ms OTHERS 1,813 67ms SELECT 558,358 4m16s TCL 47,725 6s696ms UPDATE 37,604 1m3s symmetricds Total 1,549,119 1m33s DELETE 4,957 5s667ms INSERT 147,297 10s976ms OTHERS 578,960 8s755ms SELECT 414,308 40s463ms TCL 375,338 18s582ms UPDATE 28,259 8s753ms tony Total 900 245ms SELECT 900 245ms Duration by user
Key values
- 5m46s (pharmisight) Main time consuming user
User Request type Count Duration pharmisight Total 673,695 5m46s DELETE 27 25ms INSERT 28,168 19s192ms OTHERS 1,813 67ms SELECT 558,358 4m16s TCL 47,725 6s696ms UPDATE 37,604 1m3s symmetricds Total 1,549,119 1m33s DELETE 4,957 5s667ms INSERT 147,297 10s976ms OTHERS 578,960 8s755ms SELECT 414,308 40s463ms TCL 375,338 18s582ms UPDATE 28,259 8s753ms tony Total 900 245ms SELECT 900 245ms Queries by host
Key values
- 10.10.10.1 Main host
- 2,222,814 Requests
- 7m19s (10.10.10.1)
- Main time consuming host
Queries by application
Key values
- PostgreSQL JDBC Driver Main application
- 2,171,521 Requests
- 7m17s (PostgreSQL JDBC Driver)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2019-03-01 18:42:19 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 2,130,853 0-1ms duration
Slowest individual queries
Rank Duration Query 1 7s407ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:20:00 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 3s77ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:20:00 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 2s916ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:19:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 2s900ms UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = $1;[ Date: 2019-03-01 06:05:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 2s534ms SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE (this_.partCode = $1 OR this_.partCode = $2);[ Date: 2019-03-01 10:34:19 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 2s54ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:19:53 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 1s716ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 15:28:43 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 1s603ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:19:55 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 1s388ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:20:53 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 1s210ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:20:55 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 998ms SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE (this_.partCode = $1 OR this_.partCode = $2);[ Date: 2019-03-01 09:05:03 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 858ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-03-01 06:20:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 784ms SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list, e.router_id FROM sym_data d INNER JOIN sym_data_event e ON d.data_id = e.data_id INNER JOIN sym_outgoing_batch o ON o.batch_id = e.batch_id WHERE o.batch_id = $1 AND o.node_id = $2 ORDER BY d.data_id ASC;[ Date: 2019-03-01 06:05:25 - Database: pharmisight - User: symmetricds - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 631ms SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list, e.router_id FROM sym_data d INNER JOIN sym_data_event e ON d.data_id = e.data_id INNER JOIN sym_outgoing_batch o ON o.batch_id = e.batch_id WHERE o.batch_id = $1 AND o.node_id = $2 ORDER BY d.data_id ASC;[ Date: 2019-03-01 06:07:02 - Database: pharmisight - User: symmetricds - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 561ms SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE (this_.partCode = $1);[ Date: 2019-03-01 09:05:08 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 346ms COMMIT;[ Date: 2019-03-01 13:00:04 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 223ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;[ Date: 2019-03-01 06:06:46 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 201ms 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 = $1 AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2019-03-01 08:49:58 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 194ms 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 = $1 AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2019-03-01 06:08:48 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 186ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;[ Date: 2019-03-01 06:06:53 - 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 32s593ms 1,095 17ms 74ms 29ms SELECT count(*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 01 06 150 4s879ms 32ms 07 69 2s189ms 31ms 08 237 6s528ms 27ms 09 142 4s11ms 28ms 10 98 2s833ms 28ms 11 86 2s509ms 29ms 12 84 2s571ms 30ms 13 70 1s899ms 27ms 14 63 2s183ms 34ms 15 85 2s571ms 30ms 16 11 414ms 37ms [ User: pharmisight - Total duration: 32s593ms - Times executed: 1095 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 32s593ms - Times executed: 1095 ]
-
SELECT count(*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count(*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count(*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
Date: 2019-03-01 08:06:17 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:08:42 Duration: 68ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:05:47 Duration: 66ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 30s235ms 45,050 0ms 18ms 0ms SELECT orderlines0_.order_round_id AS order_r80_28_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = ? ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 01 06 7,708 4s967ms 0ms 07 7,007 4s484ms 0ms 08 919 777ms 0ms 09 1,463 1s199ms 0ms 10 5,218 3s642ms 0ms 11 5,718 3s999ms 0ms 12 5,852 3s849ms 0ms 13 6,966 4s300ms 0ms 14 242 199ms 0ms 15 3,243 2s319ms 0ms 16 350 259ms 0ms 17 71 69ms 0ms 20 293 164ms 0ms [ User: pharmisight - Total duration: 30s235ms - Times executed: 45050 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 30s235ms - Times executed: 45050 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-03-01 06:16:16 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:53:21 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:56:47 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 23s733ms 205,823 0ms 346ms 0ms COMMIT;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 01 00 6,530 499ms 0ms 01 5,596 190ms 0ms 02 5,624 176ms 0ms 03 5,601 185ms 0ms 04 5,605 187ms 0ms 05 5,633 195ms 0ms 06 14,352 2s424ms 0ms 07 14,876 2s836ms 0ms 08 16,017 2s849ms 0ms 09 11,547 1s772ms 0ms 10 13,401 2s324ms 0ms 11 12,198 2s25ms 0ms 12 11,838 1s850ms 0ms 13 10,833 1s865ms 0ms 14 11,491 1s822ms 0ms 15 8,244 745ms 0ms 16 5,925 235ms 0ms 17 5,648 160ms 0ms 18 6,370 479ms 0ms 19 5,690 180ms 0ms 20 5,705 181ms 0ms 21 5,697 178ms 0ms 22 5,693 188ms 0ms 23 5,709 178ms 0ms [ User: symmetricds - Total duration: 17s278ms - Times executed: 181984 ]
[ User: pharmisight - Total duration: 6s455ms - Times executed: 23839 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s701ms - Times executed: 205781 ]
[ Application: [unknown] - Total duration: 32ms - Times executed: 42 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-03-01 13:00:04 Duration: 346ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:05:59 Duration: 23ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 10:31:27 Duration: 18ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 23s158ms 583 0ms 7s407ms 39ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = ? WHERE flow_report_id = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 01 06 110 20s730ms 188ms 07 100 121ms 1ms 08 28 42ms 1ms 09 35 51ms 1ms 10 73 70ms 0ms 11 57 201ms 3ms 12 52 69ms 1ms 13 59 59ms 1ms 14 35 53ms 1ms 15 30 1s747ms 58ms 16 4 10ms 2ms [ User: pharmisight - Total duration: 23s158ms - Times executed: 583 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s158ms - Times executed: 583 ]
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
Date: 2019-03-01 06:20:00 Duration: 7s407ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:20:00 Duration: 3s77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:19:56 Duration: 2s916ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 23s95ms 1,847 0ms 223ms 12ms SELECT this_.order_line_id AS order_li1_24_0_, this_.routenumber AS routenum2_24_0_, this_.sapordernumber AS saporder3_24_0_, this_.ordernumber AS ordernum4_24_0_, this_.answerordernumber AS answeror5_24_0_, this_.partcode AS partcode6_24_0_, this_.partdescription AS partdesc7_24_0_, this_.patientname AS patientn8_24_0_, this_.firstname AS firstnam9_24_0_, this_.middlename AS middlen10_24_0_, this_.lastname AS lastnam11_24_0_, this_.patientdateofbirth AS patient12_24_0_, this_.patientpostcode AS patient13_24_0_, this_.patientpostcodeprefix AS patient14_24_0_, this_.orderqty AS orderqt15_24_0_, this_.allocqty AS allocqt16_24_0_, this_.shipqty AS shipqty17_24_0_, this_.adjustedqty AS adjuste18_24_0_, this_.scannedqty AS scanned19_24_0_, this_.assignedqty AS assigne20_24_0_, this_.checkedqty AS checked21_24_0_, this_.backorderqty AS backord22_24_0_, this_.cancelqty AS cancelq23_24_0_, this_.reducedqty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliverydate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapcustomerid AS sapcust29_24_0_, this_.billtotype AS billtot30_24_0_, this_.barcodedate AS barcode31_24_0_, this_.barcodebatch AS barcode32_24_0_, this_.patientid AS patient33_24_0_, this_.isadded AS isadded34_24_0_, this_.isnotwithinage AS isnotwi35_24_0_, this_.isunderage AS isunder36_24_0_, this_.agecheck AS agechec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.ispaperworkproblem AS ispaper40_24_0_, this_.paperworkresolution AS paperwo41_24_0_, this_.pickerid AS pickeri42_24_0_, this_.specialcare AS special43_24_0_, this_.paperworkenquirystarted AS paperwo44_24_0_, this_.paperworkenquiryfinished AS paperwo45_24_0_, this_.paperworkenquiryresponse AS paperwo46_24_0_, this_.isnewproduct AS isnewpr47_24_0_, this_.extraprocedure AS extrapr48_24_0_, this_.overaverageqtymax AS overave49_24_0_, this_.overaverageqtyresolution AS overave50_24_0_, this_.createuser AS createu51_24_0_, this_.patientalert AS patient52_24_0_, this_.itemalert AS itemale53_24_0_, this_.checkerid AS checker54_24_0_, this_.reductionsummary AS reducti55_24_0_, this_.ismetabolic AS ismetab56_24_0_, this_.rxstatus AS rxstatu57_24_0_, this_.lastregupdateusertype AS lastreg58_24_0_, this_.lastregupdateusername AS lastreg59_24_0_, this_.lastregupdatedate AS lastreg60_24_0_, this_.sapplannedshipdate AS sapplan61_24_0_, this_.sapplanneddeliverydate AS sapplan62_24_0_, this_.requestedsapquantity AS request63_24_0_, this_.orderquantity AS orderqu64_24_0_, this_.reglinecreatedusertype AS regline65_24_0_, this_.reglinecreatedusername AS regline66_24_0_, this_.reglinecreateddate AS regline67_24_0_, this_.audited AS audited68_24_0_, this_.ismetabolicpatient AS ismetab69_24_0_, this_.addedcase AS addedca70_24_0_, this_.ordertype AS orderty71_24_0_, this_.created AS created72_24_0_, this_.updated AS updated73_24_0_, this_.rxcheckby AS rxcheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertconfirmation AS alertco77_24_0_, this_.homewardaction AS homewar78_24_0_ FROM order_lines this_ WHERE this_.patientid = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 01 05 85 1s466ms 17ms 06 1,722 21s159ms 12ms 07 6 15ms 2ms 08 16 45ms 2ms 09 2 2ms 1ms 12 8 214ms 26ms 13 2 185ms 92ms 14 3 3ms 1ms 15 3 3ms 1ms [ User: pharmisight - Total duration: 23s95ms - Times executed: 1847 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s95ms - Times executed: 1847 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
Date: 2019-03-01 06:06:46 Duration: 223ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:06:53 Duration: 186ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:06:14 Duration: 183ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 15s31ms 6,715 0ms 29ms 2ms UPDATE order_lines SET routenumber = ?, sapordernumber = ?, ordernumber = ?, answerordernumber = ?, partcode = ?, partdescription = ?, patientname = ?, firstname = ?, middlename = ?, lastname = ?, patientdateofbirth = ?, patientpostcode = ?, patientpostcodeprefix = ?, orderqty = ?, allocqty = ?, shipqty = ?, adjustedqty = ?, scannedqty = ?, assignedqty = ?, checkedqty = ?, backorderqty = ?, cancelqty = ?, reducedqty = ?, status = ?, reason = ?, deliverydate = ?, customer = ?, sapcustomerid = ?, billtotype = ?, barcodedate = ?, barcodebatch = ?, patientid = ?, isadded = ?, isnotwithinage = ?, isunderage = ?, agecheck = ?, expired = ?, paperwork = ?, ispaperworkproblem = ?, paperworkresolution = ?, pickerid = ?, specialcare = ?, paperworkenquirystarted = ?, paperworkenquiryfinished = ?, paperworkenquiryresponse = ?, isnewproduct = ?, extraprocedure = ?, overaverageqtymax = ?, overaverageqtyresolution = ?, createuser = ?, patientalert = ?, itemalert = ?, checkerid = ?, reductionsummary = ?, ismetabolic = ?, rxstatus = ?, lastregupdateusertype = ?, lastregupdateusername = ?, lastregupdatedate = ?, sapplannedshipdate = ?, sapplanneddeliverydate = ?, requestedsapquantity = ?, orderquantity = ?, reglinecreatedusertype = ?, reglinecreatedusername = ?, reglinecreateddate = ?, audited = ?, ismetabolicpatient = ?, addedcase = ?, ordertype = ?, created = ?, updated = ?, rxcheckby = ?, note = ?, item = ?, alertconfirmation = ?, homewardaction = ? WHERE order_line_id = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 01 05 86 101ms 1ms 06 2,600 4s62ms 1ms 07 604 1s625ms 2ms 08 848 2s122ms 2ms 09 371 973ms 2ms 10 570 1s483ms 2ms 11 456 1s209ms 2ms 12 362 1s61ms 2ms 13 343 821ms 2ms 14 364 1s225ms 3ms 15 107 322ms 3ms 16 4 22ms 5ms [ User: pharmisight - Total duration: 15s31ms - Times executed: 6715 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s31ms - Times executed: 6715 ]
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
Date: 2019-03-01 10:02:59 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 14:01:42 Duration: 26ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:13:03 Duration: 22ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 14s210ms 545 13ms 54ms 26ms SELECT this_.order_round_id AS order_ro1_28_1_, this_.routenumber AS routenum2_28_1_, this_.uploadedbyuserid AS uploaded3_28_1_, this_.uploadedbyusername AS uploaded4_28_1_, this_.updatedby AS updatedb5_28_1_, this_.updatedbyusername AS updatedb6_28_1_, this_.orderroundnote AS orderrou7_28_1_, this_.firstcheckout AS firstche8_28_1_, this_.allordersscannedok AS allorder9_28_1_, this_.status AS status10_28_1_, this_.reopenedtimes AS reopene11_28_1_, this_.lastreopenbyid AS lastreo12_28_1_, this_.lastdonecheckin AS lastdon13_28_1_, this_.lastdonebyid AS lastdon14_28_1_, this_.lastdonebyusername AS lastdon15_28_1_, this_.missinglabels AS missing16_28_1_, this_.rounddeliverydate AS roundde17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadupdated AS uploadu21_28_1_, this_.patientalert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxstatus AS rxstatu24_28_1_, this_.distributionpoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedby AS audited27_28_1_, this_.auditstatus AS auditst28_28_1_, this_.uploadfinished AS uploadf29_28_1_, this_.lastrxcompleted AS lastrxc30_28_1_, this_.lastrxcompletedby AS lastrxc31_28_1_, this_.orderroundnotereadby AS orderro32_28_1_, this_.routeorderlinesqty AS routeor33_28_1_, this_.dlxpickedlinesqty AS dlxpick34_28_1_, this_.flowreport AS flowrep35_28_1_, this_.created AS created36_28_1_, this_.createdby AS created37_28_1_, this_.updated AS updated38_28_1_, this_.note AS note39_28_1_, f1_.flow_report_id AS flow_rep1_9_0_, f1_.routenumber AS routenum2_9_0_, f1_.rounddeliverydate AS rounddel3_9_0_, f1_.distributionpoint AS distribu4_9_0_, f1_.fullypicked AS fullypic5_9_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, f1_.causeofdelay AS causeofd7_9_0_, f1_.pharmacy100checktime AS pharmacy8_9_0_, f1_.linesheldback AS lineshel9_9_0_, f1_.packtime100 AS packtim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickdatetime AS pickdat13_9_0_, f1_.failedtargetpicktime AS failedt14_9_0_, f1_.actualpaperworkcompletetime AS actualp15_9_0_, f1_.changedpickdatetime AS changed16_9_0_, f1_.manuallychangedpicktime AS manuall17_9_0_, f1_.created AS created18_9_0_, f1_.updated AS updated19_9_0_, f1_.note AS note20_9_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> ? AND this_.created > ? AND this_.created < ? ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 01 06 100 2s513ms 25ms 07 44 1s230ms 27ms 08 11 309ms 28ms 09 10 279ms 27ms 10 75 1s999ms 26ms 11 84 2s208ms 26ms 12 75 1s890ms 25ms 13 101 2s516ms 24ms 15 42 1s161ms 27ms 16 2 60ms 30ms 17 1 40ms 40ms [ User: pharmisight - Total duration: 14s210ms - Times executed: 545 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s210ms - Times executed: 545 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-03-01 10:59:14 Duration: 54ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 07:13:24 Duration: 51ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:35:06 Duration: 46ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 14s174ms 52,420 0ms 3ms 0ms SELECT orders0_.order_round_id AS order_r42_28_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.order_round_id = ? ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 01 06 7,848 2s131ms 0ms 07 8,051 2s158ms 0ms 08 2,350 857ms 0ms 09 2,416 766ms 0ms 10 6,555 1s789ms 0ms 11 6,445 1s747ms 0ms 12 6,556 1s675ms 0ms 13 7,467 1s773ms 0ms 14 640 193ms 0ms 15 3,431 907ms 0ms 16 359 101ms 0ms 17 71 23ms 0ms 20 231 47ms 0ms [ User: pharmisight - Total duration: 14s174ms - Times executed: 52420 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s174ms - Times executed: 52420 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
Date: 2019-03-01 07:12:09 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:19:31 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:40:07 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 12s792ms 660 12ms 48ms 19ms SELECT this_.flow_report_id AS flow_rep1_9_0_, this_.routenumber AS routenum2_9_0_, this_.rounddeliverydate AS rounddel3_9_0_, this_.distributionpoint AS distribu4_9_0_, this_.fullypicked AS fullypic5_9_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, this_.causeofdelay AS causeofd7_9_0_, this_.pharmacy100checktime AS pharmacy8_9_0_, this_.linesheldback AS lineshel9_9_0_, this_.packtime100 AS packtim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickdatetime AS pickdat13_9_0_, this_.failedtargetpicktime AS failedt14_9_0_, this_.actualpaperworkcompletetime AS actualp15_9_0_, this_.changedpickdatetime AS changed16_9_0_, this_.manuallychangedpicktime AS manuall17_9_0_, this_.created AS created18_9_0_, this_.updated AS updated19_9_0_, this_.note AS note20_9_0_ FROM flow_reports this_ WHERE this_.created > ? AND this_.created < ? ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 01 06 175 3s538ms 20ms 07 43 933ms 21ms 08 11 253ms 23ms 09 16 410ms 25ms 10 75 1s453ms 19ms 11 84 1s549ms 18ms 12 87 1s594ms 18ms 13 112 1s873ms 16ms 14 2 52ms 26ms 15 49 976ms 19ms 16 5 128ms 25ms 17 1 26ms 26ms [ User: pharmisight - Total duration: 12s792ms - Times executed: 660 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s792ms - Times executed: 660 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-03-01 10:59:14 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 15:07:30 Duration: 46ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 13:21:38 Duration: 42ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 12s619ms 1,096 4ms 29ms 11ms SELECT * FROM order_lines WHERE (deliverydate = ? AND status <> ?) AND ((agecheck = ? OR agecheck = ? OR agecheck = ?) OR (status = ?) OR (paperwork IS NOT NULL AND paperwork <> ? AND paperwork <> ? AND paperwork <> ? AND paperwork <> ?) OR (paperworkresolution IS NOT NULL) OR (overaverageqtymax IS NOT NULL));Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 01 06 150 1s798ms 11ms 07 69 811ms 11ms 08 237 2s717ms 11ms 09 142 1s580ms 11ms 10 99 1s99ms 11ms 11 86 924ms 10ms 12 84 953ms 11ms 13 70 738ms 10ms 14 63 808ms 12ms 15 85 1s45ms 12ms 16 11 142ms 12ms [ User: pharmisight - Total duration: 12s619ms - Times executed: 1096 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s619ms - Times executed: 1096 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
Date: 2019-03-01 08:30:55 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:37:06 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:05:47 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 12s230ms 4,380 1ms 12ms 2ms SELECT count(*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = ? AND this_.rxstatus = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 01 06 600 1s767ms 2ms 07 276 801ms 2ms 08 948 2s571ms 2ms 09 568 1s522ms 2ms 10 392 1s62ms 2ms 11 344 911ms 2ms 12 336 931ms 2ms 13 280 706ms 2ms 14 252 818ms 3ms 15 340 986ms 2ms 16 44 151ms 3ms [ User: pharmisight - Total duration: 12s230ms - Times executed: 4380 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s230ms - Times executed: 4380 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
Date: 2019-03-01 08:31:56 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 07:36:41 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 09:39:02 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 10s909ms 491 11ms 43ms 22ms SELECT alerts0_.alert_confirmation_id AS alert_c10_1_0_, alerts0_.alert_id AS alert_id1_0_0_, alerts0_.alert_id AS alert_id1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientnote AS patientn3_0_1_, alerts0_.itemnote AS itemnote4_0_1_, alerts0_.confirmedchecker AS confirme5_0_1_, alerts0_.confirmedcheckerby AS confirme6_0_1_, alerts0_.isconfirmedbybarcode AS isconfir7_0_1_, alerts0_.confirmedpharmacist AS confirme8_0_1_, alerts0_.confirmedpharmacistby AS confirme9_0_1_ FROM alerts alerts0_ WHERE alerts0_.alert_confirmation_id = ? ORDER BY alerts0_.created ASC;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 01 07 48 1s130ms 23ms 08 80 1s725ms 21ms 09 24 507ms 21ms 10 59 1s228ms 20ms 11 86 1s900ms 22ms 12 112 2s445ms 21ms 13 54 1s273ms 23ms 14 13 321ms 24ms 15 15 375ms 25ms [ User: pharmisight - Total duration: 10s909ms - Times executed: 491 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s909ms - Times executed: 491 ]
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
Date: 2019-03-01 07:11:21 Duration: 43ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 15:09:59 Duration: 42ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 09:21:46 Duration: 38ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 10s21ms 178 30ms 88ms 56ms SELECT epscheckli0_.eps_check_id AS eps_chec9_5_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_1_, epscheckli0_.orderlineid AS orderlin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.issnomedmismatch AS issnomed6_6_1_, epscheckli0_.isorderqtymismatch AS isorderq7_6_1_, epscheckli0_.ishit AS ishit8_6_1_ FROM eps_check_lines epscheckli0_ WHERE epscheckli0_.eps_check_id = ? ORDER BY epscheckli0_.description ASC;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 01 06 65 3s747ms 57ms 07 16 876ms 54ms 08 77 4s270ms 55ms 09 8 431ms 53ms 15 12 695ms 57ms [ User: pharmisight - Total duration: 10s21ms - Times executed: 178 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s21ms - Times executed: 178 ]
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = $1 ORDER BY epscheckli0_.description ASC;
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = $1 ORDER BY epscheckli0_.description ASC;
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = $1 ORDER BY epscheckli0_.description ASC;
Date: 2019-03-01 06:39:08 Duration: 88ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:33:09 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:41:00 Duration: 72ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 9s522ms 17,171 0ms 6ms 0ms SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 01 00 717 421ms 0ms 01 716 414ms 0ms 02 718 419ms 0ms 03 716 416ms 0ms 04 716 411ms 0ms 05 716 414ms 0ms 06 712 376ms 0ms 07 716 369ms 0ms 08 714 373ms 0ms 09 708 382ms 0ms 10 714 389ms 0ms 11 714 379ms 0ms 12 714 383ms 0ms 13 716 382ms 0ms 14 714 389ms 0ms 15 716 385ms 0ms 16 716 404ms 0ms 17 718 404ms 0ms 18 716 397ms 0ms 19 716 397ms 0ms 20 718 400ms 0ms 21 716 400ms 0ms 22 716 403ms 0ms 23 718 405ms 0ms [ User: symmetricds - Total duration: 9s522ms - Times executed: 17171 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s522ms - Times executed: 17171 ]
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
Date: 2019-03-01 10:03:11 Duration: 6ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 00:29:24 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 21:58:34 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 8s121ms 13,205 0ms 6ms 0ms UPDATE order_line_activities SET order_line_id = ? WHERE order_line_activity_id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 01 06 27 20ms 0ms 07 1,501 967ms 0ms 08 1,389 914ms 0ms 09 1,116 703ms 0ms 10 2,127 1s275ms 0ms 11 1,690 1s18ms 0ms 12 1,699 1s6ms 0ms 13 1,537 868ms 0ms 14 1,674 1s68ms 0ms 15 433 266ms 0ms 16 12 11ms 0ms [ User: pharmisight - Total duration: 8s121ms - Times executed: 13205 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s121ms - Times executed: 13205 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
Date: 2019-03-01 10:22:21 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:47:02 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:45:07 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 7s955ms 522,076 0ms 3ms 0ms SHOW TRANSACTION ISOLATION level;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 01 00 18,195 277ms 0ms 01 17,570 270ms 0ms 02 17,662 270ms 0ms 03 17,594 274ms 0ms 04 17,615 278ms 0ms 05 17,660 272ms 0ms 06 27,480 384ms 0ms 07 31,288 456ms 0ms 08 31,268 469ms 0ms 09 25,937 395ms 0ms 10 29,070 441ms 0ms 11 27,411 412ms 0ms 12 26,903 407ms 0ms 13 25,334 378ms 0ms 14 26,766 413ms 0ms 15 21,165 321ms 0ms 16 18,047 279ms 0ms 17 17,774 281ms 0ms 18 17,992 278ms 0ms 19 17,853 280ms 0ms 20 17,881 273ms 0ms 21 17,860 276ms 0ms 22 17,841 277ms 0ms 23 17,910 281ms 0ms [ User: symmetricds - Total duration: 7s930ms - Times executed: 521496 ]
[ User: pharmisight - Total duration: 24ms - Times executed: 580 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s954ms - Times executed: 522071 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 5 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2019-03-01 04:00:00 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 23:57:35 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:54:28 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 7s880ms 86,737 0ms 15ms 0ms SELECT orderlines0_.order_id AS order_i79_22_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = ? ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 01 05 2 0ms 0ms 06 2,635 268ms 0ms 07 12,822 1s137ms 0ms 08 17,396 1s655ms 0ms 09 7,465 686ms 0ms 10 10,666 937ms 0ms 11 8,934 733ms 0ms 12 9,432 856ms 0ms 13 6,825 654ms 0ms 14 7,182 650ms 0ms 15 3,358 296ms 0ms 16 20 2ms 0ms [ User: pharmisight - Total duration: 7s880ms - Times executed: 86737 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s880ms - Times executed: 86737 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
Date: 2019-03-01 09:30:38 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:00:12 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:00:10 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 7s843ms 13,205 0ms 11ms 0ms INSERT INTO order_line_activities (status, reason, scannedqty, assignedqty, backorderqty, barcode, barcodedate, barcodebatch, expiration, cancelqty, reducedqty, mispickitemcode, created, missinglabels, order_line_activity_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 01 06 27 16ms 0ms 07 1,501 921ms 0ms 08 1,389 831ms 0ms 09 1,116 694ms 0ms 10 2,127 1s202ms 0ms 11 1,690 990ms 0ms 12 1,699 993ms 0ms 13 1,537 861ms 0ms 14 1,674 1s62ms 0ms 15 433 258ms 0ms 16 12 9ms 0ms [ User: pharmisight - Total duration: 7s843ms - Times executed: 13205 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s843ms - Times executed: 13205 ]
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
Date: 2019-03-01 12:25:30 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:29:28 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:59:56 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 6s931ms 1,704 0ms 32ms 4ms SELECT this_.order_id AS order_id1_22_0_, this_.sapordernumber AS saporder2_22_0_, this_.answerordernumber AS answeror3_22_0_, this_.ordernumber AS ordernum4_22_0_, this_.routenumber AS routenum5_22_0_, this_.billtotype AS billtoty6_22_0_, this_.patientname AS patientn7_22_0_, this_.firstname AS firstnam8_22_0_, this_.middlename AS middlena9_22_0_, this_.lastname AS lastnam10_22_0_, this_.patientdateofbirth AS patient11_22_0_, this_.patientpostcode AS patient12_22_0_, this_.customer AS custome13_22_0_, this_.sapcustomerid AS sapcust14_22_0_, this_.status AS status15_22_0_, this_.patientid AS patient16_22_0_, this_.isnotwithinage AS isnotwi17_22_0_, this_.expired AS expired18_22_0_, this_.paperwork AS paperwo19_22_0_, this_.deliverybarcode AS deliver20_22_0_, this_.deliverydate AS deliver21_22_0_, this_.rxstatus AS rxstatu22_22_0_, this_.createuser AS createu23_22_0_, this_.subordertype AS suborde24_22_0_, this_.sapcontractid AS sapcont25_22_0_, this_.salesforceordernumber AS salesfo26_22_0_, this_.patienttype AS patient27_22_0_, this_.ordertype AS orderty28_22_0_, this_.orderstatus AS orderst29_22_0_, this_.nhsnumber AS nhsnumb30_22_0_, this_.individuallabelling AS individ31_22_0_, this_.orderid AS orderid32_22_0_, this_.clusterlead AS cluster33_22_0_, this_.clustergroup AS cluster34_22_0_, this_.accountid AS account35_22_0_, this_.reduction AS reducti36_22_0_, this_.reductionby AS reducti37_22_0_, this_.alertconfirmation AS alertco38_22_0_, this_.created AS created39_22_0_, this_.updated AS updated40_22_0_, this_.note AS note41_22_0_ FROM orders this_ WHERE this_.status = ? AND this_.deliverydate = ? ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 01 06 222 932ms 4ms 07 102 420ms 4ms 08 390 1s719ms 4ms 09 186 821ms 4ms 10 204 817ms 4ms 11 165 600ms 3ms 12 168 621ms 3ms 13 117 393ms 3ms 14 81 357ms 4ms 15 63 222ms 3ms 16 6 24ms 4ms [ User: pharmisight - Total duration: 6s931ms - Times executed: 1704 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s931ms - Times executed: 1704 ]
-
SELECT this_.ORDER_ID AS ORDER_ID1_22_0_, this_.sapOrderNumber AS sapOrder2_22_0_, this_.answerOrderNumber AS answerOr3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.routeNumber AS routeNum5_22_0_, this_.billToType AS billToTy6_22_0_, this_.patientName AS patientN7_22_0_, this_.firstName AS firstNam8_22_0_, this_.middleName AS middleNa9_22_0_, this_.lastName AS lastNam10_22_0_, this_.patientDateOfBirth AS patient11_22_0_, this_.patientPostcode AS patient12_22_0_, this_.customer AS custome13_22_0_, this_.sapCustomerId AS sapCust14_22_0_, this_.status AS status15_22_0_, this_.patientId AS patient16_22_0_, this_.isNotWithinAge AS isNotWi17_22_0_, this_.expired AS expired18_22_0_, this_.paperwork AS paperwo19_22_0_, this_.deliveryBarcode AS deliver20_22_0_, this_.deliveryDate AS deliver21_22_0_, this_.rxStatus AS rxStatu22_22_0_, this_.createUser AS createU23_22_0_, this_.subOrderType AS subOrde24_22_0_, this_.sapContractId AS sapCont25_22_0_, this_.salesforceOrderNumber AS salesfo26_22_0_, this_.patientType AS patient27_22_0_, this_.orderType AS orderTy28_22_0_, this_.orderStatus AS orderSt29_22_0_, this_.NHSnumber AS NHSnumb30_22_0_, this_.individualLabelling AS individ31_22_0_, this_.orderId AS orderId32_22_0_, this_.clusterLead AS cluster33_22_0_, this_.clusterGroup AS cluster34_22_0_, this_.accountId AS account35_22_0_, this_.reduction AS reducti36_22_0_, this_.reductionBy AS reducti37_22_0_, this_.alertConfirmation AS alertCo38_22_0_, this_.CREATED AS CREATED39_22_0_, this_.UPDATED AS UPDATED40_22_0_, this_.note AS note41_22_0_ FROM ORDERS this_ WHERE this_.status = $1 AND this_.deliveryDate = $2 ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_22_0_, this_.sapOrderNumber AS sapOrder2_22_0_, this_.answerOrderNumber AS answerOr3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.routeNumber AS routeNum5_22_0_, this_.billToType AS billToTy6_22_0_, this_.patientName AS patientN7_22_0_, this_.firstName AS firstNam8_22_0_, this_.middleName AS middleNa9_22_0_, this_.lastName AS lastNam10_22_0_, this_.patientDateOfBirth AS patient11_22_0_, this_.patientPostcode AS patient12_22_0_, this_.customer AS custome13_22_0_, this_.sapCustomerId AS sapCust14_22_0_, this_.status AS status15_22_0_, this_.patientId AS patient16_22_0_, this_.isNotWithinAge AS isNotWi17_22_0_, this_.expired AS expired18_22_0_, this_.paperwork AS paperwo19_22_0_, this_.deliveryBarcode AS deliver20_22_0_, this_.deliveryDate AS deliver21_22_0_, this_.rxStatus AS rxStatu22_22_0_, this_.createUser AS createU23_22_0_, this_.subOrderType AS subOrde24_22_0_, this_.sapContractId AS sapCont25_22_0_, this_.salesforceOrderNumber AS salesfo26_22_0_, this_.patientType AS patient27_22_0_, this_.orderType AS orderTy28_22_0_, this_.orderStatus AS orderSt29_22_0_, this_.NHSnumber AS NHSnumb30_22_0_, this_.individualLabelling AS individ31_22_0_, this_.orderId AS orderId32_22_0_, this_.clusterLead AS cluster33_22_0_, this_.clusterGroup AS cluster34_22_0_, this_.accountId AS account35_22_0_, this_.reduction AS reducti36_22_0_, this_.reductionBy AS reducti37_22_0_, this_.alertConfirmation AS alertCo38_22_0_, this_.CREATED AS CREATED39_22_0_, this_.UPDATED AS UPDATED40_22_0_, this_.note AS note41_22_0_ FROM ORDERS this_ WHERE this_.status = $1 AND this_.deliveryDate = $2 ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_22_0_, this_.sapOrderNumber AS sapOrder2_22_0_, this_.answerOrderNumber AS answerOr3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.routeNumber AS routeNum5_22_0_, this_.billToType AS billToTy6_22_0_, this_.patientName AS patientN7_22_0_, this_.firstName AS firstNam8_22_0_, this_.middleName AS middleNa9_22_0_, this_.lastName AS lastNam10_22_0_, this_.patientDateOfBirth AS patient11_22_0_, this_.patientPostcode AS patient12_22_0_, this_.customer AS custome13_22_0_, this_.sapCustomerId AS sapCust14_22_0_, this_.status AS status15_22_0_, this_.patientId AS patient16_22_0_, this_.isNotWithinAge AS isNotWi17_22_0_, this_.expired AS expired18_22_0_, this_.paperwork AS paperwo19_22_0_, this_.deliveryBarcode AS deliver20_22_0_, this_.deliveryDate AS deliver21_22_0_, this_.rxStatus AS rxStatu22_22_0_, this_.createUser AS createU23_22_0_, this_.subOrderType AS subOrde24_22_0_, this_.sapContractId AS sapCont25_22_0_, this_.salesforceOrderNumber AS salesfo26_22_0_, this_.patientType AS patient27_22_0_, this_.orderType AS orderTy28_22_0_, this_.orderStatus AS orderSt29_22_0_, this_.NHSnumber AS NHSnumb30_22_0_, this_.individualLabelling AS individ31_22_0_, this_.orderId AS orderId32_22_0_, this_.clusterLead AS cluster33_22_0_, this_.clusterGroup AS cluster34_22_0_, this_.accountId AS account35_22_0_, this_.reduction AS reducti36_22_0_, this_.reductionBy AS reducti37_22_0_, this_.alertConfirmation AS alertCo38_22_0_, this_.CREATED AS CREATED39_22_0_, this_.UPDATED AS UPDATED40_22_0_, this_.note AS note41_22_0_ FROM ORDERS this_ WHERE this_.status = $1 AND this_.deliveryDate = $2 ORDER BY this_.deliveryDate ASC;
Date: 2019-03-01 08:27:21 Duration: 32ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 09:39:02 Duration: 24ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 14:36:03 Duration: 24ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 6s696ms 131,338 0ms 8ms 0ms INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES (?, ?, ?, current_timestamp);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 01 00 786 40ms 0ms 01 826 51ms 0ms 02 286 20ms 0ms 03 664 38ms 0ms 04 836 43ms 0ms 05 1,994 70ms 0ms 06 48,050 2s33ms 0ms 07 9,986 537ms 0ms 08 10,132 566ms 0ms 09 6,954 394ms 0ms 10 11,676 656ms 0ms 11 8,732 492ms 0ms 12 9,060 515ms 0ms 13 7,988 450ms 0ms 14 8,178 471ms 0ms 15 2,514 146ms 0ms 16 166 12ms 0ms 17 40 5ms 0ms 18 40 6ms 0ms 19 42 5ms 0ms 20 490 31ms 0ms 21 214 12ms 0ms 22 948 49ms 0ms 23 736 44ms 0ms [ User: symmetricds - Total duration: 6s696ms - Times executed: 131338 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s696ms - Times executed: 131338 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
Date: 2019-03-01 11:48:30 Duration: 8ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:05:49 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:06:09 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 522,076 7s955ms 0ms 3ms 0ms SHOW TRANSACTION ISOLATION level;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 01 00 18,195 277ms 0ms 01 17,570 270ms 0ms 02 17,662 270ms 0ms 03 17,594 274ms 0ms 04 17,615 278ms 0ms 05 17,660 272ms 0ms 06 27,480 384ms 0ms 07 31,288 456ms 0ms 08 31,268 469ms 0ms 09 25,937 395ms 0ms 10 29,070 441ms 0ms 11 27,411 412ms 0ms 12 26,903 407ms 0ms 13 25,334 378ms 0ms 14 26,766 413ms 0ms 15 21,165 321ms 0ms 16 18,047 279ms 0ms 17 17,774 281ms 0ms 18 17,992 278ms 0ms 19 17,853 280ms 0ms 20 17,881 273ms 0ms 21 17,860 276ms 0ms 22 17,841 277ms 0ms 23 17,910 281ms 0ms [ User: symmetricds - Total duration: 7s930ms - Times executed: 521496 ]
[ User: pharmisight - Total duration: 24ms - Times executed: 580 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s954ms - Times executed: 522071 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 5 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2019-03-01 04:00:00 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 23:57:35 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:54:28 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 212,454 2s238ms 0ms 5ms 0ms SELECT ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 01 00 7,821 80ms 0ms 01 6,444 72ms 0ms 02 6,471 69ms 0ms 03 6,453 69ms 0ms 04 6,462 71ms 0ms 05 6,481 69ms 0ms 06 11,682 109ms 0ms 07 14,772 144ms 0ms 08 14,052 137ms 0ms 09 11,166 117ms 0ms 10 12,982 138ms 0ms 11 11,984 120ms 0ms 12 11,691 121ms 0ms 13 10,833 113ms 0ms 14 11,662 121ms 0ms 15 8,427 89ms 0ms 16 6,659 72ms 0ms 17 6,489 76ms 0ms 18 7,216 76ms 0ms 19 6,534 77ms 0ms 20 6,535 72ms 0ms 21 6,538 72ms 0ms 22 6,543 72ms 0ms 23 6,557 72ms 0ms [ User: symmetricds - Total duration: 2s238ms - Times executed: 212454 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s238ms - Times executed: 212454 ]
-
SELECT 1;
-
SELECT 1;
-
SELECT 1;
Date: 2019-03-01 17:15:31 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 19:47:33 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 15:15:30 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 205,836 1s326ms 0ms 9ms 0ms BEGIN;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 01 00 6,531 39ms 0ms 01 5,596 33ms 0ms 02 5,624 33ms 0ms 03 5,601 33ms 0ms 04 5,605 39ms 0ms 05 5,634 33ms 0ms 06 14,353 93ms 0ms 07 14,879 95ms 0ms 08 16,017 109ms 0ms 09 11,547 76ms 0ms 10 13,402 87ms 0ms 11 12,195 82ms 0ms 12 11,838 76ms 0ms 13 10,836 70ms 0ms 14 11,495 75ms 0ms 15 8,243 61ms 0ms 16 5,928 36ms 0ms 17 5,648 34ms 0ms 18 6,370 38ms 0ms 19 5,690 35ms 0ms 20 5,705 34ms 0ms 21 5,697 35ms 0ms 22 5,693 35ms 0ms 23 5,709 34ms 0ms [ User: symmetricds - Total duration: 1s95ms - Times executed: 181984 ]
[ User: pharmisight - Total duration: 231ms - Times executed: 23852 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s325ms - Times executed: 205779 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 57 ]
-
BEGIN;
-
BEGIN;
-
BEGIN;
Date: 2019-03-01 15:08:12 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 04:43:24 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:02:27 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 205,823 23s733ms 0ms 346ms 0ms COMMIT;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 01 00 6,530 499ms 0ms 01 5,596 190ms 0ms 02 5,624 176ms 0ms 03 5,601 185ms 0ms 04 5,605 187ms 0ms 05 5,633 195ms 0ms 06 14,352 2s424ms 0ms 07 14,876 2s836ms 0ms 08 16,017 2s849ms 0ms 09 11,547 1s772ms 0ms 10 13,401 2s324ms 0ms 11 12,198 2s25ms 0ms 12 11,838 1s850ms 0ms 13 10,833 1s865ms 0ms 14 11,491 1s822ms 0ms 15 8,244 745ms 0ms 16 5,925 235ms 0ms 17 5,648 160ms 0ms 18 6,370 479ms 0ms 19 5,690 180ms 0ms 20 5,705 181ms 0ms 21 5,697 178ms 0ms 22 5,693 188ms 0ms 23 5,709 178ms 0ms [ User: symmetricds - Total duration: 17s278ms - Times executed: 181984 ]
[ User: pharmisight - Total duration: 6s455ms - Times executed: 23839 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s701ms - Times executed: 205781 ]
[ Application: [unknown] - Total duration: 32ms - Times executed: 42 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-03-01 13:00:04 Duration: 346ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:05:59 Duration: 23ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 10:31:27 Duration: 18ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 131,338 6s696ms 0ms 8ms 0ms INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES (?, ?, ?, current_timestamp);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 01 00 786 40ms 0ms 01 826 51ms 0ms 02 286 20ms 0ms 03 664 38ms 0ms 04 836 43ms 0ms 05 1,994 70ms 0ms 06 48,050 2s33ms 0ms 07 9,986 537ms 0ms 08 10,132 566ms 0ms 09 6,954 394ms 0ms 10 11,676 656ms 0ms 11 8,732 492ms 0ms 12 9,060 515ms 0ms 13 7,988 450ms 0ms 14 8,178 471ms 0ms 15 2,514 146ms 0ms 16 166 12ms 0ms 17 40 5ms 0ms 18 40 6ms 0ms 19 42 5ms 0ms 20 490 31ms 0ms 21 214 12ms 0ms 22 948 49ms 0ms 23 736 44ms 0ms [ User: symmetricds - Total duration: 6s696ms - Times executed: 131338 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s696ms - Times executed: 131338 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
Date: 2019-03-01 11:48:30 Duration: 8ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:05:49 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:06:09 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 86,737 7s880ms 0ms 15ms 0ms SELECT orderlines0_.order_id AS order_i79_22_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = ? ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 01 05 2 0ms 0ms 06 2,635 268ms 0ms 07 12,822 1s137ms 0ms 08 17,396 1s655ms 0ms 09 7,465 686ms 0ms 10 10,666 937ms 0ms 11 8,934 733ms 0ms 12 9,432 856ms 0ms 13 6,825 654ms 0ms 14 7,182 650ms 0ms 15 3,358 296ms 0ms 16 20 2ms 0ms [ User: pharmisight - Total duration: 7s880ms - Times executed: 86737 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s880ms - Times executed: 86737 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
Date: 2019-03-01 09:30:38 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:00:12 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:00:10 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 78,616 3s331ms 0ms 2ms 0ms SELECT this_.dlx_barcode AS dlx_barc1_3_0_, this_.ordernumber AS ordernum2_3_0_, this_.pickdatetime AS pickdate3_3_0_, this_.picker AS picker4_3_0_, this_.created AS created5_3_0_, this_.partcode AS partcode6_3_0_, this_.orderqty AS orderqty7_3_0_ FROM dlx_barcodes this_ WHERE this_.ordernumber = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 01 06 96 3ms 0ms 07 12,051 490ms 0ms 08 16,144 673ms 0ms 09 6,973 293ms 0ms 10 9,860 426ms 0ms 11 8,315 338ms 0ms 12 8,958 389ms 0ms 13 6,344 287ms 0ms 14 6,707 294ms 0ms 15 3,152 133ms 0ms 16 16 0ms 0ms [ User: pharmisight - Total duration: 3s331ms - Times executed: 78616 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s331ms - Times executed: 78616 ]
-
SELECT this_.DLX_BARCODE AS DLX_BARC1_3_0_, this_.orderNumber AS orderNum2_3_0_, this_.pickDateTime AS pickDate3_3_0_, this_.picker AS picker4_3_0_, this_.CREATED AS CREATED5_3_0_, this_.partCode AS partCode6_3_0_, this_.orderQty AS orderQty7_3_0_ FROM DLX_BARCODES this_ WHERE this_.orderNumber = $1;
-
SELECT this_.DLX_BARCODE AS DLX_BARC1_3_0_, this_.orderNumber AS orderNum2_3_0_, this_.pickDateTime AS pickDate3_3_0_, this_.picker AS picker4_3_0_, this_.CREATED AS CREATED5_3_0_, this_.partCode AS partCode6_3_0_, this_.orderQty AS orderQty7_3_0_ FROM DLX_BARCODES this_ WHERE this_.orderNumber = $1;
-
SELECT this_.DLX_BARCODE AS DLX_BARC1_3_0_, this_.orderNumber AS orderNum2_3_0_, this_.pickDateTime AS pickDate3_3_0_, this_.picker AS picker4_3_0_, this_.CREATED AS CREATED5_3_0_, this_.partCode AS partCode6_3_0_, this_.orderQty AS orderQty7_3_0_ FROM DLX_BARCODES this_ WHERE this_.orderNumber = $1;
Date: 2019-03-01 10:36:51 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:14:08 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:51:25 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 52,420 14s174ms 0ms 3ms 0ms SELECT orders0_.order_round_id AS order_r42_28_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.order_round_id = ? ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 01 06 7,848 2s131ms 0ms 07 8,051 2s158ms 0ms 08 2,350 857ms 0ms 09 2,416 766ms 0ms 10 6,555 1s789ms 0ms 11 6,445 1s747ms 0ms 12 6,556 1s675ms 0ms 13 7,467 1s773ms 0ms 14 640 193ms 0ms 15 3,431 907ms 0ms 16 359 101ms 0ms 17 71 23ms 0ms 20 231 47ms 0ms [ User: pharmisight - Total duration: 14s174ms - Times executed: 52420 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s174ms - Times executed: 52420 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
Date: 2019-03-01 07:12:09 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:19:31 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:40:07 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 45,050 30s235ms 0ms 18ms 0ms SELECT orderlines0_.order_round_id AS order_r80_28_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = ? ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 01 06 7,708 4s967ms 0ms 07 7,007 4s484ms 0ms 08 919 777ms 0ms 09 1,463 1s199ms 0ms 10 5,218 3s642ms 0ms 11 5,718 3s999ms 0ms 12 5,852 3s849ms 0ms 13 6,966 4s300ms 0ms 14 242 199ms 0ms 15 3,243 2s319ms 0ms 16 350 259ms 0ms 17 71 69ms 0ms 20 293 164ms 0ms [ User: pharmisight - Total duration: 30s235ms - Times executed: 45050 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 30s235ms - Times executed: 45050 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-03-01 06:16:16 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:53:21 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:56:47 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 33,213 1s617ms 0ms 9ms 0ms SELECT * FROM order_rounds r WHERE r.flowreport = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 01 06 5,299 253ms 0ms 07 4,687 237ms 0ms 08 561 30ms 0ms 09 816 46ms 0ms 10 3,825 188ms 0ms 11 4,337 211ms 0ms 12 4,512 212ms 0ms 13 5,871 270ms 0ms 14 106 6ms 0ms 15 2,644 131ms 0ms 16 270 15ms 0ms 17 54 3ms 0ms 20 231 10ms 0ms [ User: pharmisight - Total duration: 1s617ms - Times executed: 33213 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s617ms - Times executed: 33213 ]
-
SELECT * FROM order_rounds r WHERE r.flowreport = $1;
-
SELECT * FROM order_rounds r WHERE r.flowreport = $1;
-
SELECT * FROM order_rounds r WHERE r.flowreport = $1;
Date: 2019-03-01 13:40:02 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:16:55 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 13:19:54 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 28,702 1s526ms 0ms 10ms 0ms SELECT itembarcod0_.item_id AS item_id12_15_0_, itembarcod0_.item_barcode_id AS item_bar1_16_0_, itembarcod0_.item_barcode_id AS item_bar1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hassiblings AS hassibli4_16_1_, itembarcod0_.itembarcodetype AS itembarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdby AS createdb8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedby AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.item_id AS item_id12_16_1_ FROM item_barcodes itembarcod0_ WHERE itembarcod0_.item_id = ? ORDER BY itembarcod0_.barcode ASC;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 01 00 889 28ms 0ms 01 889 43ms 0ms 02 889 31ms 0ms 03 889 32ms 0ms 04 889 33ms 0ms 05 889 33ms 0ms 06 897 33ms 0ms 07 1,809 112ms 0ms 08 2,214 131ms 0ms 09 1,513 86ms 0ms 10 2,011 129ms 0ms 11 1,701 102ms 0ms 12 1,596 93ms 0ms 13 1,601 101ms 0ms 14 1,807 111ms 0ms 15 1,101 58ms 0ms 16 895 44ms 0ms 17 889 47ms 0ms 18 889 45ms 0ms 19 889 45ms 0ms 20 889 44ms 0ms 21 889 45ms 0ms 22 889 45ms 0ms 23 889 45ms 0ms [ User: pharmisight - Total duration: 1s526ms - Times executed: 28702 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s526ms - Times executed: 28702 ]
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = $1 ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = $1 ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = $1 ORDER BY itembarcod0_.barcode ASC;
Date: 2019-03-01 13:40:01 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:40:01 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 14:40:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 26,282 1s247ms 0ms 4ms 0ms SELECT node_id, node_password, registration_enabled, registration_time, initial_load_enabled, initial_load_time, created_at_node_id, rev_initial_load_enabled, rev_initial_load_time, initial_load_id, initial_load_create_by, rev_initial_load_id, rev_initial_load_create_by FROM sym_node_security;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 01 00 1,120 53ms 0ms 01 1,052 50ms 0ms 02 1,054 49ms 0ms 03 1,052 51ms 0ms 04 1,052 49ms 0ms 05 1,050 50ms 0ms 06 1,039 43ms 0ms 07 1,134 49ms 0ms 08 1,167 54ms 0ms 09 1,154 56ms 0ms 10 1,177 54ms 0ms 11 1,162 53ms 0ms 12 1,167 53ms 0ms 13 1,154 57ms 0ms 14 1,162 55ms 0ms 15 1,105 53ms 0ms 16 1,059 49ms 0ms 17 1,048 51ms 0ms 18 1,112 54ms 0ms 19 1,052 51ms 0ms 20 1,052 51ms 0ms 21 1,052 50ms 0ms 22 1,052 50ms 0ms 23 1,054 50ms 0ms [ User: symmetricds - Total duration: 1s247ms - Times executed: 26282 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s247ms - Times executed: 26282 ]
-
SELECT node_id, node_password, registration_enabled, registration_time, initial_load_enabled, initial_load_time, created_at_node_id, rev_initial_load_enabled, rev_initial_load_time, initial_load_id, initial_load_create_by, rev_initial_load_id, rev_initial_load_create_by FROM sym_node_security;
-
SELECT node_id, node_password, registration_enabled, registration_time, initial_load_enabled, initial_load_time, created_at_node_id, rev_initial_load_enabled, rev_initial_load_time, initial_load_id, initial_load_create_by, rev_initial_load_id, rev_initial_load_create_by FROM sym_node_security;
-
SELECT node_id, node_password, registration_enabled, registration_time, initial_load_enabled, initial_load_time, created_at_node_id, rev_initial_load_enabled, rev_initial_load_time, initial_load_id, initial_load_create_by, rev_initial_load_id, rev_initial_load_create_by FROM sym_node_security;
Date: 2019-03-01 13:41:29 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 18:31:32 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:11:25 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 24,427 1s156ms 0ms 1ms 0ms SELECT itemcodes0_.item_id AS item_id11_15_0_, itemcodes0_.item_code_id AS item_cod1_18_0_, itemcodes0_.item_code_id AS item_cod1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemcodetype AS itemcode3_18_1_, itemcodes0_.isprimary AS isprimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdby AS createdb7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedby AS updatedb9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.item_id AS item_id11_18_1_ FROM item_codes itemcodes0_ WHERE itemcodes0_.item_id = ? ORDER BY itemcodes0_.code ASC;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 01 00 1,004 31ms 0ms 01 1,004 47ms 0ms 02 1,004 34ms 0ms 03 1,004 35ms 0ms 04 1,004 36ms 0ms 05 1,004 37ms 0ms 06 1,050 38ms 0ms 07 1,045 58ms 0ms 08 1,097 57ms 0ms 09 1,052 53ms 0ms 10 1,032 64ms 0ms 11 1,019 51ms 0ms 12 1,015 51ms 0ms 13 1,008 49ms 0ms 14 1,031 52ms 0ms 15 1,020 51ms 0ms 16 1,006 49ms 0ms 17 1,004 53ms 0ms 18 1,004 50ms 0ms 19 1,004 49ms 0ms 20 1,004 49ms 0ms 21 1,004 51ms 0ms 22 1,004 49ms 0ms 23 1,004 50ms 0ms [ User: pharmisight - Total duration: 1s156ms - Times executed: 24427 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s156ms - Times executed: 24427 ]
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = $1 ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = $1 ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = $1 ORDER BY itemcodes0_.code ASC;
Date: 2019-03-01 10:40:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 07:49:10 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 10:40:01 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 22,305 476ms 0ms 0ms 0ms SELECT nextval(?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 01 05 361 8ms 0ms 06 7,828 129ms 0ms 07 1,685 40ms 0ms 08 1,749 47ms 0ms 09 1,224 31ms 0ms 10 2,179 50ms 0ms 11 1,720 37ms 0ms 12 1,767 41ms 0ms 13 1,573 34ms 0ms 14 1,700 40ms 0ms 15 477 12ms 0ms 16 15 0ms 0ms 20 27 0ms 0ms [ User: pharmisight - Total duration: 476ms - Times executed: 22305 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 476ms - Times executed: 22305 ]
-
SELECT nextval('rx_line_activities_sequence');
-
SELECT nextval('flow_reports_sequence');
-
SELECT nextval('homeward_actions_sequence');
Date: 2019-03-01 06:09:42 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 15:03:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 09:07:11 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 21,978 1s127ms 0ms 4ms 0ms SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 01 00 726 37ms 0ms 01 726 37ms 0ms 02 728 38ms 0ms 03 726 38ms 0ms 04 726 37ms 0ms 05 726 38ms 0ms 06 1,008 47ms 0ms 07 1,560 73ms 0ms 08 1,352 67ms 0ms 09 1,112 58ms 0ms 10 1,274 67ms 0ms 11 1,194 57ms 0ms 12 1,162 58ms 0ms 13 1,094 55ms 0ms 14 1,166 60ms 0ms 15 882 44ms 0ms 16 736 38ms 0ms 17 724 38ms 0ms 18 722 37ms 0ms 19 726 38ms 0ms 20 726 38ms 0ms 21 726 37ms 0ms 22 728 38ms 0ms 23 728 38ms 0ms [ User: symmetricds - Total duration: 1s127ms - Times executed: 21978 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s127ms - Times executed: 21978 ]
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = $1;
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = $1;
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = $1;
Date: 2019-03-01 10:19:27 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 09:10:26 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 09:25:26 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 18,801 4s893ms 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_row_count = ?, reload_row_count = ?, data_insert_row_count = ?, data_update_row_count = ?, data_delete_row_count = ?, other_row_count = ?, ignore_count = ?, router_millis = ?, network_millis = ?, filter_millis = ?, load_millis = ?, extract_millis = ?, extract_start_time = ?, transfer_start_time = ?, load_start_time = ?, sql_state = ?, sql_code = ?, sql_message = ?, failed_data_id = ?, last_update_hostname = ?, last_update_time = current_timestamp, summary = ?, load_row_count = ?, load_insert_row_count = ?, load_update_row_count = ?, load_delete_row_count = ?, fallback_insert_count = ?, fallback_update_count = ?, ignore_row_count = ?, missing_delete_count = ?, skip_count = ?, extract_row_count = ?, extract_insert_row_count = ?, extract_update_row_count = ?, extract_delete_row_count = ?, transform_extract_millis = ?, transform_load_millis = ? WHERE batch_id = ? AND node_id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 01 00 52 13ms 0ms 01 52 14ms 0ms 02 52 13ms 0ms 03 52 12ms 0ms 04 52 12ms 0ms 05 54 13ms 0ms 06 1,409 339ms 0ms 07 3,064 769ms 0ms 08 2,458 649ms 0ms 09 1,552 420ms 0ms 10 2,163 568ms 0ms 11 1,839 468ms 0ms 12 1,730 454ms 0ms 13 1,456 382ms 0ms 14 1,748 478ms 0ms 15 644 171ms 0ms 16 92 23ms 0ms 17 36 9ms 0ms 18 36 9ms 0ms 19 52 13ms 0ms 20 44 11ms 0ms 21 52 14ms 0ms 22 60 14ms 0ms 23 52 13ms 0ms [ User: symmetricds - Total duration: 4s893ms - Times executed: 18801 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 4s893ms - Times executed: 18801 ]
-
UPDATE sym_outgoing_batch SET status = $1, load_id = $2, extract_job_flag = $3, load_flag = $4, error_flag = $5, byte_count = $6, extract_count = $7, sent_count = $8, load_count = $9, data_row_count = $10, reload_row_count = $11, data_insert_row_count = $12, data_update_row_count = $13, data_delete_row_count = $14, other_row_count = $15, ignore_count = $16, router_millis = $17, network_millis = $18, filter_millis = $19, load_millis = $20, extract_millis = $21, extract_start_time = $22, transfer_start_time = $23, load_start_time = $24, sql_state = $25, sql_code = $26, sql_message = $27, failed_data_id = $28, last_update_hostname = $29, last_update_time = current_timestamp, summary = $30, load_row_count = $31, load_insert_row_count = $32, load_update_row_count = $33, load_delete_row_count = $34, fallback_insert_count = $35, fallback_update_count = $36, ignore_row_count = $37, missing_delete_count = $38, skip_count = $39, extract_row_count = $40, extract_insert_row_count = $41, extract_update_row_count = $42, extract_delete_row_count = $43, transform_extract_millis = $44, transform_load_millis = $45 WHERE batch_id = $46 AND node_id = $47;
-
UPDATE sym_outgoing_batch SET status = $1, load_id = $2, extract_job_flag = $3, load_flag = $4, error_flag = $5, byte_count = $6, extract_count = $7, sent_count = $8, load_count = $9, data_row_count = $10, reload_row_count = $11, data_insert_row_count = $12, data_update_row_count = $13, data_delete_row_count = $14, other_row_count = $15, ignore_count = $16, router_millis = $17, network_millis = $18, filter_millis = $19, load_millis = $20, extract_millis = $21, extract_start_time = $22, transfer_start_time = $23, load_start_time = $24, sql_state = $25, sql_code = $26, sql_message = $27, failed_data_id = $28, last_update_hostname = $29, last_update_time = current_timestamp, summary = $30, load_row_count = $31, load_insert_row_count = $32, load_update_row_count = $33, load_delete_row_count = $34, fallback_insert_count = $35, fallback_update_count = $36, ignore_row_count = $37, missing_delete_count = $38, skip_count = $39, extract_row_count = $40, extract_insert_row_count = $41, extract_update_row_count = $42, extract_delete_row_count = $43, transform_extract_millis = $44, transform_load_millis = $45 WHERE batch_id = $46 AND node_id = $47;
-
UPDATE sym_outgoing_batch SET status = $1, load_id = $2, extract_job_flag = $3, load_flag = $4, error_flag = $5, byte_count = $6, extract_count = $7, sent_count = $8, load_count = $9, data_row_count = $10, reload_row_count = $11, data_insert_row_count = $12, data_update_row_count = $13, data_delete_row_count = $14, other_row_count = $15, ignore_count = $16, router_millis = $17, network_millis = $18, filter_millis = $19, load_millis = $20, extract_millis = $21, extract_start_time = $22, transfer_start_time = $23, load_start_time = $24, sql_state = $25, sql_code = $26, sql_message = $27, failed_data_id = $28, last_update_hostname = $29, last_update_time = current_timestamp, summary = $30, load_row_count = $31, load_insert_row_count = $32, load_update_row_count = $33, load_delete_row_count = $34, fallback_insert_count = $35, fallback_update_count = $36, ignore_row_count = $37, missing_delete_count = $38, skip_count = $39, extract_row_count = $40, extract_insert_row_count = $41, extract_update_row_count = $42, extract_delete_row_count = $43, transform_extract_millis = $44, transform_load_millis = $45 WHERE batch_id = $46 AND node_id = $47;
Date: 2019-03-01 08:29:26 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 15:02:30 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:50:28 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 18,545 215ms 0ms 0ms 0ms SET session characteristics AS TRANSACTION ISOLATION level read COMMITTED;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 01 00 392 4ms 0ms 01 392 4ms 0ms 02 393 4ms 0ms 03 392 4ms 0ms 04 392 4ms 0ms 05 392 4ms 0ms 06 953 10ms 0ms 07 2,069 22ms 0ms 08 1,647 19ms 0ms 09 1,184 14ms 0ms 10 1,491 17ms 0ms 11 1,331 15ms 0ms 12 1,267 14ms 0ms 13 1,128 12ms 0ms 14 1,275 15ms 0ms 15 704 8ms 0ms 16 412 4ms 0ms 17 385 4ms 0ms 18 384 4ms 0ms 19 392 4ms 0ms 20 389 4ms 0ms 21 392 4ms 0ms 22 396 4ms 0ms 23 393 4ms 0ms [ User: symmetricds - Total duration: 215ms - Times executed: 18545 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 215ms - Times executed: 18545 ]
-
SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ COMMITTED;
-
SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ COMMITTED;
-
SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ COMMITTED;
Date: 2019-03-01 12:53:28 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 09:38:26 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 09:15:26 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 18,545 263ms 0ms 0ms 0ms SET session characteristics AS TRANSACTION ISOLATION level read UNCOMMITTED;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 01 00 393 6ms 0ms 01 391 6ms 0ms 02 393 6ms 0ms 03 392 6ms 0ms 04 395 6ms 0ms 05 389 6ms 0ms 06 953 12ms 0ms 07 2,071 26ms 0ms 08 1,645 21ms 0ms 09 1,184 16ms 0ms 10 1,493 20ms 0ms 11 1,329 17ms 0ms 12 1,270 18ms 0ms 13 1,125 15ms 0ms 14 1,278 17ms 0ms 15 704 10ms 0ms 16 409 6ms 0ms 17 386 6ms 0ms 18 384 6ms 0ms 19 394 6ms 0ms 20 386 6ms 0ms 21 392 6ms 0ms 22 396 6ms 0ms 23 393 6ms 0ms [ User: symmetricds - Total duration: 263ms - Times executed: 18545 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 263ms - Times executed: 18545 ]
-
SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
-
SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
-
SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
Date: 2019-03-01 12:53:28 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:58:28 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 10:41:27 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 17,260 444ms 0ms 0ms 0ms SELECT node_id, queue FROM sym_extract_request WHERE status = ? GROUP BY node_id, queue;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 01 00 720 18ms 0ms 01 718 18ms 0ms 02 720 18ms 0ms 03 720 18ms 0ms 04 718 18ms 0ms 05 720 18ms 0ms 06 720 17ms 0ms 07 718 17ms 0ms 08 720 17ms 0ms 09 714 18ms 0ms 10 718 18ms 0ms 11 720 18ms 0ms 12 720 18ms 0ms 13 720 18ms 0ms 14 718 18ms 0ms 15 720 18ms 0ms 16 720 19ms 0ms 17 720 19ms 0ms 18 718 18ms 0ms 19 720 18ms 0ms 20 720 18ms 0ms 21 720 19ms 0ms 22 718 18ms 0ms 23 720 19ms 0ms [ User: symmetricds - Total duration: 444ms - Times executed: 17260 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 444ms - Times executed: 17260 ]
-
SELECT node_id, queue FROM sym_extract_request WHERE status = $1 GROUP BY node_id, queue;
-
SELECT node_id, queue FROM sym_extract_request WHERE status = $1 GROUP BY node_id, queue;
-
SELECT node_id, queue FROM sym_extract_request WHERE status = $1 GROUP BY node_id, queue;
Date: 2019-03-01 14:50:29 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 23:27:02 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 04:16:48 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 17,171 9s522ms 0ms 6ms 0ms SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 01 00 717 421ms 0ms 01 716 414ms 0ms 02 718 419ms 0ms 03 716 416ms 0ms 04 716 411ms 0ms 05 716 414ms 0ms 06 712 376ms 0ms 07 716 369ms 0ms 08 714 373ms 0ms 09 708 382ms 0ms 10 714 389ms 0ms 11 714 379ms 0ms 12 714 383ms 0ms 13 716 382ms 0ms 14 714 389ms 0ms 15 716 385ms 0ms 16 716 404ms 0ms 17 718 404ms 0ms 18 716 397ms 0ms 19 716 397ms 0ms 20 718 400ms 0ms 21 716 400ms 0ms 22 716 403ms 0ms 23 718 405ms 0ms [ User: symmetricds - Total duration: 9s522ms - Times executed: 17171 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s522ms - Times executed: 17171 ]
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
Date: 2019-03-01 10:03:11 Duration: 6ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 00:29:24 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 21:58:34 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 30ms 88ms 56ms 178 10s21ms SELECT epscheckli0_.eps_check_id AS eps_chec9_5_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_1_, epscheckli0_.orderlineid AS orderlin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.issnomedmismatch AS issnomed6_6_1_, epscheckli0_.isorderqtymismatch AS isorderq7_6_1_, epscheckli0_.ishit AS ishit8_6_1_ FROM eps_check_lines epscheckli0_ WHERE epscheckli0_.eps_check_id = ? ORDER BY epscheckli0_.description ASC;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 01 06 65 3s747ms 57ms 07 16 876ms 54ms 08 77 4s270ms 55ms 09 8 431ms 53ms 15 12 695ms 57ms [ User: pharmisight - Total duration: 10s21ms - Times executed: 178 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s21ms - Times executed: 178 ]
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = $1 ORDER BY epscheckli0_.description ASC;
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = $1 ORDER BY epscheckli0_.description ASC;
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = $1 ORDER BY epscheckli0_.description ASC;
Date: 2019-03-01 06:39:08 Duration: 88ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:33:09 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:41:00 Duration: 72ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 0ms 7s407ms 39ms 583 23s158ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = ? WHERE flow_report_id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 01 06 110 20s730ms 188ms 07 100 121ms 1ms 08 28 42ms 1ms 09 35 51ms 1ms 10 73 70ms 0ms 11 57 201ms 3ms 12 52 69ms 1ms 13 59 59ms 1ms 14 35 53ms 1ms 15 30 1s747ms 58ms 16 4 10ms 2ms [ User: pharmisight - Total duration: 23s158ms - Times executed: 583 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s158ms - Times executed: 583 ]
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
Date: 2019-03-01 06:20:00 Duration: 7s407ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:20:00 Duration: 3s77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:19:56 Duration: 2s916ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 17ms 74ms 29ms 1,095 32s593ms SELECT count(*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 01 06 150 4s879ms 32ms 07 69 2s189ms 31ms 08 237 6s528ms 27ms 09 142 4s11ms 28ms 10 98 2s833ms 28ms 11 86 2s509ms 29ms 12 84 2s571ms 30ms 13 70 1s899ms 27ms 14 63 2s183ms 34ms 15 85 2s571ms 30ms 16 11 414ms 37ms [ User: pharmisight - Total duration: 32s593ms - Times executed: 1095 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 32s593ms - Times executed: 1095 ]
-
SELECT count(*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count(*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count(*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
Date: 2019-03-01 08:06:17 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:08:42 Duration: 68ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:05:47 Duration: 66ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 13ms 54ms 26ms 545 14s210ms SELECT this_.order_round_id AS order_ro1_28_1_, this_.routenumber AS routenum2_28_1_, this_.uploadedbyuserid AS uploaded3_28_1_, this_.uploadedbyusername AS uploaded4_28_1_, this_.updatedby AS updatedb5_28_1_, this_.updatedbyusername AS updatedb6_28_1_, this_.orderroundnote AS orderrou7_28_1_, this_.firstcheckout AS firstche8_28_1_, this_.allordersscannedok AS allorder9_28_1_, this_.status AS status10_28_1_, this_.reopenedtimes AS reopene11_28_1_, this_.lastreopenbyid AS lastreo12_28_1_, this_.lastdonecheckin AS lastdon13_28_1_, this_.lastdonebyid AS lastdon14_28_1_, this_.lastdonebyusername AS lastdon15_28_1_, this_.missinglabels AS missing16_28_1_, this_.rounddeliverydate AS roundde17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadupdated AS uploadu21_28_1_, this_.patientalert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxstatus AS rxstatu24_28_1_, this_.distributionpoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedby AS audited27_28_1_, this_.auditstatus AS auditst28_28_1_, this_.uploadfinished AS uploadf29_28_1_, this_.lastrxcompleted AS lastrxc30_28_1_, this_.lastrxcompletedby AS lastrxc31_28_1_, this_.orderroundnotereadby AS orderro32_28_1_, this_.routeorderlinesqty AS routeor33_28_1_, this_.dlxpickedlinesqty AS dlxpick34_28_1_, this_.flowreport AS flowrep35_28_1_, this_.created AS created36_28_1_, this_.createdby AS created37_28_1_, this_.updated AS updated38_28_1_, this_.note AS note39_28_1_, f1_.flow_report_id AS flow_rep1_9_0_, f1_.routenumber AS routenum2_9_0_, f1_.rounddeliverydate AS rounddel3_9_0_, f1_.distributionpoint AS distribu4_9_0_, f1_.fullypicked AS fullypic5_9_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, f1_.causeofdelay AS causeofd7_9_0_, f1_.pharmacy100checktime AS pharmacy8_9_0_, f1_.linesheldback AS lineshel9_9_0_, f1_.packtime100 AS packtim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickdatetime AS pickdat13_9_0_, f1_.failedtargetpicktime AS failedt14_9_0_, f1_.actualpaperworkcompletetime AS actualp15_9_0_, f1_.changedpickdatetime AS changed16_9_0_, f1_.manuallychangedpicktime AS manuall17_9_0_, f1_.created AS created18_9_0_, f1_.updated AS updated19_9_0_, f1_.note AS note20_9_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> ? AND this_.created > ? AND this_.created < ? ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 01 06 100 2s513ms 25ms 07 44 1s230ms 27ms 08 11 309ms 28ms 09 10 279ms 27ms 10 75 1s999ms 26ms 11 84 2s208ms 26ms 12 75 1s890ms 25ms 13 101 2s516ms 24ms 15 42 1s161ms 27ms 16 2 60ms 30ms 17 1 40ms 40ms [ User: pharmisight - Total duration: 14s210ms - Times executed: 545 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s210ms - Times executed: 545 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-03-01 10:59:14 Duration: 54ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 07:13:24 Duration: 51ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:35:06 Duration: 46ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 11ms 43ms 22ms 491 10s909ms SELECT alerts0_.alert_confirmation_id AS alert_c10_1_0_, alerts0_.alert_id AS alert_id1_0_0_, alerts0_.alert_id AS alert_id1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientnote AS patientn3_0_1_, alerts0_.itemnote AS itemnote4_0_1_, alerts0_.confirmedchecker AS confirme5_0_1_, alerts0_.confirmedcheckerby AS confirme6_0_1_, alerts0_.isconfirmedbybarcode AS isconfir7_0_1_, alerts0_.confirmedpharmacist AS confirme8_0_1_, alerts0_.confirmedpharmacistby AS confirme9_0_1_ FROM alerts alerts0_ WHERE alerts0_.alert_confirmation_id = ? ORDER BY alerts0_.created ASC;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 01 07 48 1s130ms 23ms 08 80 1s725ms 21ms 09 24 507ms 21ms 10 59 1s228ms 20ms 11 86 1s900ms 22ms 12 112 2s445ms 21ms 13 54 1s273ms 23ms 14 13 321ms 24ms 15 15 375ms 25ms [ User: pharmisight - Total duration: 10s909ms - Times executed: 491 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s909ms - Times executed: 491 ]
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
Date: 2019-03-01 07:11:21 Duration: 43ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 15:09:59 Duration: 42ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 09:21:46 Duration: 38ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 12ms 48ms 19ms 660 12s792ms SELECT this_.flow_report_id AS flow_rep1_9_0_, this_.routenumber AS routenum2_9_0_, this_.rounddeliverydate AS rounddel3_9_0_, this_.distributionpoint AS distribu4_9_0_, this_.fullypicked AS fullypic5_9_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, this_.causeofdelay AS causeofd7_9_0_, this_.pharmacy100checktime AS pharmacy8_9_0_, this_.linesheldback AS lineshel9_9_0_, this_.packtime100 AS packtim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickdatetime AS pickdat13_9_0_, this_.failedtargetpicktime AS failedt14_9_0_, this_.actualpaperworkcompletetime AS actualp15_9_0_, this_.changedpickdatetime AS changed16_9_0_, this_.manuallychangedpicktime AS manuall17_9_0_, this_.created AS created18_9_0_, this_.updated AS updated19_9_0_, this_.note AS note20_9_0_ FROM flow_reports this_ WHERE this_.created > ? AND this_.created < ? ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 01 06 175 3s538ms 20ms 07 43 933ms 21ms 08 11 253ms 23ms 09 16 410ms 25ms 10 75 1s453ms 19ms 11 84 1s549ms 18ms 12 87 1s594ms 18ms 13 112 1s873ms 16ms 14 2 52ms 26ms 15 49 976ms 19ms 16 5 128ms 25ms 17 1 26ms 26ms [ User: pharmisight - Total duration: 12s792ms - Times executed: 660 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s792ms - Times executed: 660 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-03-01 10:59:14 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 15:07:30 Duration: 46ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 13:21:38 Duration: 42ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 0ms 223ms 12ms 1,847 23s95ms SELECT this_.order_line_id AS order_li1_24_0_, this_.routenumber AS routenum2_24_0_, this_.sapordernumber AS saporder3_24_0_, this_.ordernumber AS ordernum4_24_0_, this_.answerordernumber AS answeror5_24_0_, this_.partcode AS partcode6_24_0_, this_.partdescription AS partdesc7_24_0_, this_.patientname AS patientn8_24_0_, this_.firstname AS firstnam9_24_0_, this_.middlename AS middlen10_24_0_, this_.lastname AS lastnam11_24_0_, this_.patientdateofbirth AS patient12_24_0_, this_.patientpostcode AS patient13_24_0_, this_.patientpostcodeprefix AS patient14_24_0_, this_.orderqty AS orderqt15_24_0_, this_.allocqty AS allocqt16_24_0_, this_.shipqty AS shipqty17_24_0_, this_.adjustedqty AS adjuste18_24_0_, this_.scannedqty AS scanned19_24_0_, this_.assignedqty AS assigne20_24_0_, this_.checkedqty AS checked21_24_0_, this_.backorderqty AS backord22_24_0_, this_.cancelqty AS cancelq23_24_0_, this_.reducedqty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliverydate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapcustomerid AS sapcust29_24_0_, this_.billtotype AS billtot30_24_0_, this_.barcodedate AS barcode31_24_0_, this_.barcodebatch AS barcode32_24_0_, this_.patientid AS patient33_24_0_, this_.isadded AS isadded34_24_0_, this_.isnotwithinage AS isnotwi35_24_0_, this_.isunderage AS isunder36_24_0_, this_.agecheck AS agechec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.ispaperworkproblem AS ispaper40_24_0_, this_.paperworkresolution AS paperwo41_24_0_, this_.pickerid AS pickeri42_24_0_, this_.specialcare AS special43_24_0_, this_.paperworkenquirystarted AS paperwo44_24_0_, this_.paperworkenquiryfinished AS paperwo45_24_0_, this_.paperworkenquiryresponse AS paperwo46_24_0_, this_.isnewproduct AS isnewpr47_24_0_, this_.extraprocedure AS extrapr48_24_0_, this_.overaverageqtymax AS overave49_24_0_, this_.overaverageqtyresolution AS overave50_24_0_, this_.createuser AS createu51_24_0_, this_.patientalert AS patient52_24_0_, this_.itemalert AS itemale53_24_0_, this_.checkerid AS checker54_24_0_, this_.reductionsummary AS reducti55_24_0_, this_.ismetabolic AS ismetab56_24_0_, this_.rxstatus AS rxstatu57_24_0_, this_.lastregupdateusertype AS lastreg58_24_0_, this_.lastregupdateusername AS lastreg59_24_0_, this_.lastregupdatedate AS lastreg60_24_0_, this_.sapplannedshipdate AS sapplan61_24_0_, this_.sapplanneddeliverydate AS sapplan62_24_0_, this_.requestedsapquantity AS request63_24_0_, this_.orderquantity AS orderqu64_24_0_, this_.reglinecreatedusertype AS regline65_24_0_, this_.reglinecreatedusername AS regline66_24_0_, this_.reglinecreateddate AS regline67_24_0_, this_.audited AS audited68_24_0_, this_.ismetabolicpatient AS ismetab69_24_0_, this_.addedcase AS addedca70_24_0_, this_.ordertype AS orderty71_24_0_, this_.created AS created72_24_0_, this_.updated AS updated73_24_0_, this_.rxcheckby AS rxcheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertconfirmation AS alertco77_24_0_, this_.homewardaction AS homewar78_24_0_ FROM order_lines this_ WHERE this_.patientid = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 01 05 85 1s466ms 17ms 06 1,722 21s159ms 12ms 07 6 15ms 2ms 08 16 45ms 2ms 09 2 2ms 1ms 12 8 214ms 26ms 13 2 185ms 92ms 14 3 3ms 1ms 15 3 3ms 1ms [ User: pharmisight - Total duration: 23s95ms - Times executed: 1847 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s95ms - Times executed: 1847 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
Date: 2019-03-01 06:06:46 Duration: 223ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:06:53 Duration: 186ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:06:14 Duration: 183ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 4ms 29ms 11ms 1,096 12s619ms SELECT * FROM order_lines WHERE (deliverydate = ? AND status <> ?) AND ((agecheck = ? OR agecheck = ? OR agecheck = ?) OR (status = ?) OR (paperwork IS NOT NULL AND paperwork <> ? AND paperwork <> ? AND paperwork <> ? AND paperwork <> ?) OR (paperworkresolution IS NOT NULL) OR (overaverageqtymax IS NOT NULL));Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 01 06 150 1s798ms 11ms 07 69 811ms 11ms 08 237 2s717ms 11ms 09 142 1s580ms 11ms 10 99 1s99ms 11ms 11 86 924ms 10ms 12 84 953ms 11ms 13 70 738ms 10ms 14 63 808ms 12ms 15 85 1s45ms 12ms 16 11 142ms 12ms [ User: pharmisight - Total duration: 12s619ms - Times executed: 1096 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s619ms - Times executed: 1096 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
Date: 2019-03-01 08:30:55 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:37:06 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:05:47 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 0ms 32ms 4ms 1,704 6s931ms SELECT this_.order_id AS order_id1_22_0_, this_.sapordernumber AS saporder2_22_0_, this_.answerordernumber AS answeror3_22_0_, this_.ordernumber AS ordernum4_22_0_, this_.routenumber AS routenum5_22_0_, this_.billtotype AS billtoty6_22_0_, this_.patientname AS patientn7_22_0_, this_.firstname AS firstnam8_22_0_, this_.middlename AS middlena9_22_0_, this_.lastname AS lastnam10_22_0_, this_.patientdateofbirth AS patient11_22_0_, this_.patientpostcode AS patient12_22_0_, this_.customer AS custome13_22_0_, this_.sapcustomerid AS sapcust14_22_0_, this_.status AS status15_22_0_, this_.patientid AS patient16_22_0_, this_.isnotwithinage AS isnotwi17_22_0_, this_.expired AS expired18_22_0_, this_.paperwork AS paperwo19_22_0_, this_.deliverybarcode AS deliver20_22_0_, this_.deliverydate AS deliver21_22_0_, this_.rxstatus AS rxstatu22_22_0_, this_.createuser AS createu23_22_0_, this_.subordertype AS suborde24_22_0_, this_.sapcontractid AS sapcont25_22_0_, this_.salesforceordernumber AS salesfo26_22_0_, this_.patienttype AS patient27_22_0_, this_.ordertype AS orderty28_22_0_, this_.orderstatus AS orderst29_22_0_, this_.nhsnumber AS nhsnumb30_22_0_, this_.individuallabelling AS individ31_22_0_, this_.orderid AS orderid32_22_0_, this_.clusterlead AS cluster33_22_0_, this_.clustergroup AS cluster34_22_0_, this_.accountid AS account35_22_0_, this_.reduction AS reducti36_22_0_, this_.reductionby AS reducti37_22_0_, this_.alertconfirmation AS alertco38_22_0_, this_.created AS created39_22_0_, this_.updated AS updated40_22_0_, this_.note AS note41_22_0_ FROM orders this_ WHERE this_.status = ? AND this_.deliverydate = ? ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 01 06 222 932ms 4ms 07 102 420ms 4ms 08 390 1s719ms 4ms 09 186 821ms 4ms 10 204 817ms 4ms 11 165 600ms 3ms 12 168 621ms 3ms 13 117 393ms 3ms 14 81 357ms 4ms 15 63 222ms 3ms 16 6 24ms 4ms [ User: pharmisight - Total duration: 6s931ms - Times executed: 1704 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s931ms - Times executed: 1704 ]
-
SELECT this_.ORDER_ID AS ORDER_ID1_22_0_, this_.sapOrderNumber AS sapOrder2_22_0_, this_.answerOrderNumber AS answerOr3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.routeNumber AS routeNum5_22_0_, this_.billToType AS billToTy6_22_0_, this_.patientName AS patientN7_22_0_, this_.firstName AS firstNam8_22_0_, this_.middleName AS middleNa9_22_0_, this_.lastName AS lastNam10_22_0_, this_.patientDateOfBirth AS patient11_22_0_, this_.patientPostcode AS patient12_22_0_, this_.customer AS custome13_22_0_, this_.sapCustomerId AS sapCust14_22_0_, this_.status AS status15_22_0_, this_.patientId AS patient16_22_0_, this_.isNotWithinAge AS isNotWi17_22_0_, this_.expired AS expired18_22_0_, this_.paperwork AS paperwo19_22_0_, this_.deliveryBarcode AS deliver20_22_0_, this_.deliveryDate AS deliver21_22_0_, this_.rxStatus AS rxStatu22_22_0_, this_.createUser AS createU23_22_0_, this_.subOrderType AS subOrde24_22_0_, this_.sapContractId AS sapCont25_22_0_, this_.salesforceOrderNumber AS salesfo26_22_0_, this_.patientType AS patient27_22_0_, this_.orderType AS orderTy28_22_0_, this_.orderStatus AS orderSt29_22_0_, this_.NHSnumber AS NHSnumb30_22_0_, this_.individualLabelling AS individ31_22_0_, this_.orderId AS orderId32_22_0_, this_.clusterLead AS cluster33_22_0_, this_.clusterGroup AS cluster34_22_0_, this_.accountId AS account35_22_0_, this_.reduction AS reducti36_22_0_, this_.reductionBy AS reducti37_22_0_, this_.alertConfirmation AS alertCo38_22_0_, this_.CREATED AS CREATED39_22_0_, this_.UPDATED AS UPDATED40_22_0_, this_.note AS note41_22_0_ FROM ORDERS this_ WHERE this_.status = $1 AND this_.deliveryDate = $2 ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_22_0_, this_.sapOrderNumber AS sapOrder2_22_0_, this_.answerOrderNumber AS answerOr3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.routeNumber AS routeNum5_22_0_, this_.billToType AS billToTy6_22_0_, this_.patientName AS patientN7_22_0_, this_.firstName AS firstNam8_22_0_, this_.middleName AS middleNa9_22_0_, this_.lastName AS lastNam10_22_0_, this_.patientDateOfBirth AS patient11_22_0_, this_.patientPostcode AS patient12_22_0_, this_.customer AS custome13_22_0_, this_.sapCustomerId AS sapCust14_22_0_, this_.status AS status15_22_0_, this_.patientId AS patient16_22_0_, this_.isNotWithinAge AS isNotWi17_22_0_, this_.expired AS expired18_22_0_, this_.paperwork AS paperwo19_22_0_, this_.deliveryBarcode AS deliver20_22_0_, this_.deliveryDate AS deliver21_22_0_, this_.rxStatus AS rxStatu22_22_0_, this_.createUser AS createU23_22_0_, this_.subOrderType AS subOrde24_22_0_, this_.sapContractId AS sapCont25_22_0_, this_.salesforceOrderNumber AS salesfo26_22_0_, this_.patientType AS patient27_22_0_, this_.orderType AS orderTy28_22_0_, this_.orderStatus AS orderSt29_22_0_, this_.NHSnumber AS NHSnumb30_22_0_, this_.individualLabelling AS individ31_22_0_, this_.orderId AS orderId32_22_0_, this_.clusterLead AS cluster33_22_0_, this_.clusterGroup AS cluster34_22_0_, this_.accountId AS account35_22_0_, this_.reduction AS reducti36_22_0_, this_.reductionBy AS reducti37_22_0_, this_.alertConfirmation AS alertCo38_22_0_, this_.CREATED AS CREATED39_22_0_, this_.UPDATED AS UPDATED40_22_0_, this_.note AS note41_22_0_ FROM ORDERS this_ WHERE this_.status = $1 AND this_.deliveryDate = $2 ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_22_0_, this_.sapOrderNumber AS sapOrder2_22_0_, this_.answerOrderNumber AS answerOr3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.routeNumber AS routeNum5_22_0_, this_.billToType AS billToTy6_22_0_, this_.patientName AS patientN7_22_0_, this_.firstName AS firstNam8_22_0_, this_.middleName AS middleNa9_22_0_, this_.lastName AS lastNam10_22_0_, this_.patientDateOfBirth AS patient11_22_0_, this_.patientPostcode AS patient12_22_0_, this_.customer AS custome13_22_0_, this_.sapCustomerId AS sapCust14_22_0_, this_.status AS status15_22_0_, this_.patientId AS patient16_22_0_, this_.isNotWithinAge AS isNotWi17_22_0_, this_.expired AS expired18_22_0_, this_.paperwork AS paperwo19_22_0_, this_.deliveryBarcode AS deliver20_22_0_, this_.deliveryDate AS deliver21_22_0_, this_.rxStatus AS rxStatu22_22_0_, this_.createUser AS createU23_22_0_, this_.subOrderType AS subOrde24_22_0_, this_.sapContractId AS sapCont25_22_0_, this_.salesforceOrderNumber AS salesfo26_22_0_, this_.patientType AS patient27_22_0_, this_.orderType AS orderTy28_22_0_, this_.orderStatus AS orderSt29_22_0_, this_.NHSnumber AS NHSnumb30_22_0_, this_.individualLabelling AS individ31_22_0_, this_.orderId AS orderId32_22_0_, this_.clusterLead AS cluster33_22_0_, this_.clusterGroup AS cluster34_22_0_, this_.accountId AS account35_22_0_, this_.reduction AS reducti36_22_0_, this_.reductionBy AS reducti37_22_0_, this_.alertConfirmation AS alertCo38_22_0_, this_.CREATED AS CREATED39_22_0_, this_.UPDATED AS UPDATED40_22_0_, this_.note AS note41_22_0_ FROM ORDERS this_ WHERE this_.status = $1 AND this_.deliveryDate = $2 ORDER BY this_.deliveryDate ASC;
Date: 2019-03-01 08:27:21 Duration: 32ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 09:39:02 Duration: 24ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 14:36:03 Duration: 24ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 1ms 12ms 2ms 4,380 12s230ms SELECT count(*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = ? AND this_.rxstatus = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 01 06 600 1s767ms 2ms 07 276 801ms 2ms 08 948 2s571ms 2ms 09 568 1s522ms 2ms 10 392 1s62ms 2ms 11 344 911ms 2ms 12 336 931ms 2ms 13 280 706ms 2ms 14 252 818ms 3ms 15 340 986ms 2ms 16 44 151ms 3ms [ User: pharmisight - Total duration: 12s230ms - Times executed: 4380 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s230ms - Times executed: 4380 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
Date: 2019-03-01 08:31:56 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 07:36:41 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 09:39:02 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 0ms 29ms 2ms 6,715 15s31ms UPDATE order_lines SET routenumber = ?, sapordernumber = ?, ordernumber = ?, answerordernumber = ?, partcode = ?, partdescription = ?, patientname = ?, firstname = ?, middlename = ?, lastname = ?, patientdateofbirth = ?, patientpostcode = ?, patientpostcodeprefix = ?, orderqty = ?, allocqty = ?, shipqty = ?, adjustedqty = ?, scannedqty = ?, assignedqty = ?, checkedqty = ?, backorderqty = ?, cancelqty = ?, reducedqty = ?, status = ?, reason = ?, deliverydate = ?, customer = ?, sapcustomerid = ?, billtotype = ?, barcodedate = ?, barcodebatch = ?, patientid = ?, isadded = ?, isnotwithinage = ?, isunderage = ?, agecheck = ?, expired = ?, paperwork = ?, ispaperworkproblem = ?, paperworkresolution = ?, pickerid = ?, specialcare = ?, paperworkenquirystarted = ?, paperworkenquiryfinished = ?, paperworkenquiryresponse = ?, isnewproduct = ?, extraprocedure = ?, overaverageqtymax = ?, overaverageqtyresolution = ?, createuser = ?, patientalert = ?, itemalert = ?, checkerid = ?, reductionsummary = ?, ismetabolic = ?, rxstatus = ?, lastregupdateusertype = ?, lastregupdateusername = ?, lastregupdatedate = ?, sapplannedshipdate = ?, sapplanneddeliverydate = ?, requestedsapquantity = ?, orderquantity = ?, reglinecreatedusertype = ?, reglinecreatedusername = ?, reglinecreateddate = ?, audited = ?, ismetabolicpatient = ?, addedcase = ?, ordertype = ?, created = ?, updated = ?, rxcheckby = ?, note = ?, item = ?, alertconfirmation = ?, homewardaction = ? WHERE order_line_id = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 01 05 86 101ms 1ms 06 2,600 4s62ms 1ms 07 604 1s625ms 2ms 08 848 2s122ms 2ms 09 371 973ms 2ms 10 570 1s483ms 2ms 11 456 1s209ms 2ms 12 362 1s61ms 2ms 13 343 821ms 2ms 14 364 1s225ms 3ms 15 107 322ms 3ms 16 4 22ms 5ms [ User: pharmisight - Total duration: 15s31ms - Times executed: 6715 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s31ms - Times executed: 6715 ]
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
Date: 2019-03-01 10:02:59 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 14:01:42 Duration: 26ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:13:03 Duration: 22ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 0ms 18ms 0ms 45,050 30s235ms SELECT orderlines0_.order_round_id AS order_r80_28_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = ? ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 01 06 7,708 4s967ms 0ms 07 7,007 4s484ms 0ms 08 919 777ms 0ms 09 1,463 1s199ms 0ms 10 5,218 3s642ms 0ms 11 5,718 3s999ms 0ms 12 5,852 3s849ms 0ms 13 6,966 4s300ms 0ms 14 242 199ms 0ms 15 3,243 2s319ms 0ms 16 350 259ms 0ms 17 71 69ms 0ms 20 293 164ms 0ms [ User: pharmisight - Total duration: 30s235ms - Times executed: 45050 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 30s235ms - Times executed: 45050 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-03-01 06:16:16 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:53:21 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:56:47 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 0ms 6ms 0ms 13,205 8s121ms UPDATE order_line_activities SET order_line_id = ? WHERE order_line_activity_id = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 01 06 27 20ms 0ms 07 1,501 967ms 0ms 08 1,389 914ms 0ms 09 1,116 703ms 0ms 10 2,127 1s275ms 0ms 11 1,690 1s18ms 0ms 12 1,699 1s6ms 0ms 13 1,537 868ms 0ms 14 1,674 1s68ms 0ms 15 433 266ms 0ms 16 12 11ms 0ms [ User: pharmisight - Total duration: 8s121ms - Times executed: 13205 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s121ms - Times executed: 13205 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
Date: 2019-03-01 10:22:21 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:47:02 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:45:07 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 0ms 11ms 0ms 13,205 7s843ms INSERT INTO order_line_activities (status, reason, scannedqty, assignedqty, backorderqty, barcode, barcodedate, barcodebatch, expiration, cancelqty, reducedqty, mispickitemcode, created, missinglabels, order_line_activity_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 01 06 27 16ms 0ms 07 1,501 921ms 0ms 08 1,389 831ms 0ms 09 1,116 694ms 0ms 10 2,127 1s202ms 0ms 11 1,690 990ms 0ms 12 1,699 993ms 0ms 13 1,537 861ms 0ms 14 1,674 1s62ms 0ms 15 433 258ms 0ms 16 12 9ms 0ms [ User: pharmisight - Total duration: 7s843ms - Times executed: 13205 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s843ms - Times executed: 13205 ]
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
Date: 2019-03-01 12:25:30 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:29:28 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:59:56 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 0ms 6ms 0ms 17,171 9s522ms SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 01 00 717 421ms 0ms 01 716 414ms 0ms 02 718 419ms 0ms 03 716 416ms 0ms 04 716 411ms 0ms 05 716 414ms 0ms 06 712 376ms 0ms 07 716 369ms 0ms 08 714 373ms 0ms 09 708 382ms 0ms 10 714 389ms 0ms 11 714 379ms 0ms 12 714 383ms 0ms 13 716 382ms 0ms 14 714 389ms 0ms 15 716 385ms 0ms 16 716 404ms 0ms 17 718 404ms 0ms 18 716 397ms 0ms 19 716 397ms 0ms 20 718 400ms 0ms 21 716 400ms 0ms 22 716 403ms 0ms 23 718 405ms 0ms [ User: symmetricds - Total duration: 9s522ms - Times executed: 17171 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s522ms - Times executed: 17171 ]
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
-
SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;
Date: 2019-03-01 10:03:11 Duration: 6ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 00:29:24 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 21:58:34 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 0ms 3ms 0ms 52,420 14s174ms SELECT orders0_.order_round_id AS order_r42_28_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.order_round_id = ? ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 01 06 7,848 2s131ms 0ms 07 8,051 2s158ms 0ms 08 2,350 857ms 0ms 09 2,416 766ms 0ms 10 6,555 1s789ms 0ms 11 6,445 1s747ms 0ms 12 6,556 1s675ms 0ms 13 7,467 1s773ms 0ms 14 640 193ms 0ms 15 3,431 907ms 0ms 16 359 101ms 0ms 17 71 23ms 0ms 20 231 47ms 0ms [ User: pharmisight - Total duration: 14s174ms - Times executed: 52420 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s174ms - Times executed: 52420 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
Date: 2019-03-01 07:12:09 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:19:31 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:40:07 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 0ms 3ms 0ms 18,801 4s893ms UPDATE sym_outgoing_batch SET status = ?, load_id = ?, extract_job_flag = ?, load_flag = ?, error_flag = ?, byte_count = ?, extract_count = ?, sent_count = ?, load_count = ?, data_row_count = ?, reload_row_count = ?, data_insert_row_count = ?, data_update_row_count = ?, data_delete_row_count = ?, other_row_count = ?, ignore_count = ?, router_millis = ?, network_millis = ?, filter_millis = ?, load_millis = ?, extract_millis = ?, extract_start_time = ?, transfer_start_time = ?, load_start_time = ?, sql_state = ?, sql_code = ?, sql_message = ?, failed_data_id = ?, last_update_hostname = ?, last_update_time = current_timestamp, summary = ?, load_row_count = ?, load_insert_row_count = ?, load_update_row_count = ?, load_delete_row_count = ?, fallback_insert_count = ?, fallback_update_count = ?, ignore_row_count = ?, missing_delete_count = ?, skip_count = ?, extract_row_count = ?, extract_insert_row_count = ?, extract_update_row_count = ?, extract_delete_row_count = ?, transform_extract_millis = ?, transform_load_millis = ? WHERE batch_id = ? AND node_id = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 01 00 52 13ms 0ms 01 52 14ms 0ms 02 52 13ms 0ms 03 52 12ms 0ms 04 52 12ms 0ms 05 54 13ms 0ms 06 1,409 339ms 0ms 07 3,064 769ms 0ms 08 2,458 649ms 0ms 09 1,552 420ms 0ms 10 2,163 568ms 0ms 11 1,839 468ms 0ms 12 1,730 454ms 0ms 13 1,456 382ms 0ms 14 1,748 478ms 0ms 15 644 171ms 0ms 16 92 23ms 0ms 17 36 9ms 0ms 18 36 9ms 0ms 19 52 13ms 0ms 20 44 11ms 0ms 21 52 14ms 0ms 22 60 14ms 0ms 23 52 13ms 0ms [ User: symmetricds - Total duration: 4s893ms - Times executed: 18801 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 4s893ms - Times executed: 18801 ]
-
UPDATE sym_outgoing_batch SET status = $1, load_id = $2, extract_job_flag = $3, load_flag = $4, error_flag = $5, byte_count = $6, extract_count = $7, sent_count = $8, load_count = $9, data_row_count = $10, reload_row_count = $11, data_insert_row_count = $12, data_update_row_count = $13, data_delete_row_count = $14, other_row_count = $15, ignore_count = $16, router_millis = $17, network_millis = $18, filter_millis = $19, load_millis = $20, extract_millis = $21, extract_start_time = $22, transfer_start_time = $23, load_start_time = $24, sql_state = $25, sql_code = $26, sql_message = $27, failed_data_id = $28, last_update_hostname = $29, last_update_time = current_timestamp, summary = $30, load_row_count = $31, load_insert_row_count = $32, load_update_row_count = $33, load_delete_row_count = $34, fallback_insert_count = $35, fallback_update_count = $36, ignore_row_count = $37, missing_delete_count = $38, skip_count = $39, extract_row_count = $40, extract_insert_row_count = $41, extract_update_row_count = $42, extract_delete_row_count = $43, transform_extract_millis = $44, transform_load_millis = $45 WHERE batch_id = $46 AND node_id = $47;
-
UPDATE sym_outgoing_batch SET status = $1, load_id = $2, extract_job_flag = $3, load_flag = $4, error_flag = $5, byte_count = $6, extract_count = $7, sent_count = $8, load_count = $9, data_row_count = $10, reload_row_count = $11, data_insert_row_count = $12, data_update_row_count = $13, data_delete_row_count = $14, other_row_count = $15, ignore_count = $16, router_millis = $17, network_millis = $18, filter_millis = $19, load_millis = $20, extract_millis = $21, extract_start_time = $22, transfer_start_time = $23, load_start_time = $24, sql_state = $25, sql_code = $26, sql_message = $27, failed_data_id = $28, last_update_hostname = $29, last_update_time = current_timestamp, summary = $30, load_row_count = $31, load_insert_row_count = $32, load_update_row_count = $33, load_delete_row_count = $34, fallback_insert_count = $35, fallback_update_count = $36, ignore_row_count = $37, missing_delete_count = $38, skip_count = $39, extract_row_count = $40, extract_insert_row_count = $41, extract_update_row_count = $42, extract_delete_row_count = $43, transform_extract_millis = $44, transform_load_millis = $45 WHERE batch_id = $46 AND node_id = $47;
-
UPDATE sym_outgoing_batch SET status = $1, load_id = $2, extract_job_flag = $3, load_flag = $4, error_flag = $5, byte_count = $6, extract_count = $7, sent_count = $8, load_count = $9, data_row_count = $10, reload_row_count = $11, data_insert_row_count = $12, data_update_row_count = $13, data_delete_row_count = $14, other_row_count = $15, ignore_count = $16, router_millis = $17, network_millis = $18, filter_millis = $19, load_millis = $20, extract_millis = $21, extract_start_time = $22, transfer_start_time = $23, load_start_time = $24, sql_state = $25, sql_code = $26, sql_message = $27, failed_data_id = $28, last_update_hostname = $29, last_update_time = current_timestamp, summary = $30, load_row_count = $31, load_insert_row_count = $32, load_update_row_count = $33, load_delete_row_count = $34, fallback_insert_count = $35, fallback_update_count = $36, ignore_row_count = $37, missing_delete_count = $38, skip_count = $39, extract_row_count = $40, extract_insert_row_count = $41, extract_update_row_count = $42, extract_delete_row_count = $43, transform_extract_millis = $44, transform_load_millis = $45 WHERE batch_id = $46 AND node_id = $47;
Date: 2019-03-01 08:29:26 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 15:02:30 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 11:50:28 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 346ms 0ms 205,823 23s733ms COMMIT;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 01 00 6,530 499ms 0ms 01 5,596 190ms 0ms 02 5,624 176ms 0ms 03 5,601 185ms 0ms 04 5,605 187ms 0ms 05 5,633 195ms 0ms 06 14,352 2s424ms 0ms 07 14,876 2s836ms 0ms 08 16,017 2s849ms 0ms 09 11,547 1s772ms 0ms 10 13,401 2s324ms 0ms 11 12,198 2s25ms 0ms 12 11,838 1s850ms 0ms 13 10,833 1s865ms 0ms 14 11,491 1s822ms 0ms 15 8,244 745ms 0ms 16 5,925 235ms 0ms 17 5,648 160ms 0ms 18 6,370 479ms 0ms 19 5,690 180ms 0ms 20 5,705 181ms 0ms 21 5,697 178ms 0ms 22 5,693 188ms 0ms 23 5,709 178ms 0ms [ User: symmetricds - Total duration: 17s278ms - Times executed: 181984 ]
[ User: pharmisight - Total duration: 6s455ms - Times executed: 23839 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s701ms - Times executed: 205781 ]
[ Application: [unknown] - Total duration: 32ms - Times executed: 42 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-03-01 13:00:04 Duration: 346ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 06:05:59 Duration: 23ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 10:31:27 Duration: 18ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 15ms 0ms 86,737 7s880ms SELECT orderlines0_.order_id AS order_i79_22_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = ? ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 01 05 2 0ms 0ms 06 2,635 268ms 0ms 07 12,822 1s137ms 0ms 08 17,396 1s655ms 0ms 09 7,465 686ms 0ms 10 10,666 937ms 0ms 11 8,934 733ms 0ms 12 9,432 856ms 0ms 13 6,825 654ms 0ms 14 7,182 650ms 0ms 15 3,358 296ms 0ms 16 20 2ms 0ms [ User: pharmisight - Total duration: 7s880ms - Times executed: 86737 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s880ms - Times executed: 86737 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
Date: 2019-03-01 09:30:38 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:00:12 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 08:00:10 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 0ms 10ms 0ms 28,702 1s526ms SELECT itembarcod0_.item_id AS item_id12_15_0_, itembarcod0_.item_barcode_id AS item_bar1_16_0_, itembarcod0_.item_barcode_id AS item_bar1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hassiblings AS hassibli4_16_1_, itembarcod0_.itembarcodetype AS itembarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdby AS createdb8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedby AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.item_id AS item_id12_16_1_ FROM item_barcodes itembarcod0_ WHERE itembarcod0_.item_id = ? ORDER BY itembarcod0_.barcode ASC;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 01 00 889 28ms 0ms 01 889 43ms 0ms 02 889 31ms 0ms 03 889 32ms 0ms 04 889 33ms 0ms 05 889 33ms 0ms 06 897 33ms 0ms 07 1,809 112ms 0ms 08 2,214 131ms 0ms 09 1,513 86ms 0ms 10 2,011 129ms 0ms 11 1,701 102ms 0ms 12 1,596 93ms 0ms 13 1,601 101ms 0ms 14 1,807 111ms 0ms 15 1,101 58ms 0ms 16 895 44ms 0ms 17 889 47ms 0ms 18 889 45ms 0ms 19 889 45ms 0ms 20 889 44ms 0ms 21 889 45ms 0ms 22 889 45ms 0ms 23 889 45ms 0ms [ User: pharmisight - Total duration: 1s526ms - Times executed: 28702 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s526ms - Times executed: 28702 ]
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = $1 ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = $1 ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = $1 ORDER BY itembarcod0_.barcode ASC;
Date: 2019-03-01 13:40:01 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 12:40:01 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-03-01 14:40:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
-
Events
Log levels
Key values
- 7,054,258 Log entries
Events distribution
Key values
- 0 PANIC entries
- 6 FATAL entries
- 11 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 11 Max number of times the same event was reported
- 17 Total events found
Rank Times reported Error 1 11 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 01 06 10 15 1 - ERROR: process 9688 still waiting for ShareLock on transaction 39793046 after 1000.112 ms
- ERROR: process 9569 still waiting for ShareLock on transaction 39793049 after 1000.109 ms
- ERROR: process 9696 still waiting for ShareLock on transaction 39793049 after 1000.100 ms
Detail: Process holding the lock: 10069. Wait queue: 9688.
Context: while updating tuple (1059,67) in relation "flow_reports"
Statement: update FLOW_REPORTS set routeNumber=$1, roundDeliveryDate=$2, distributionPoint=$3, fullyPicked=$4, outbaseRoutesCorrectlyGrouped=$5, causeOfDelay=$6, pharmacy100CheckTime=$7, linesHeldBack=$8, packTime100=$9, replenish=$10, comment=$11, pickDateTime=$12, failedTargetPickTime=$13, actualPaperworkCompleteTime=$14, changedPickDateTime=$15, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2019-03-01 06:19:52 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 9688. Wait queue: 9569, 9696, 9712.
Context: while rechecking updated tuple (1059,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: 2019-03-01 06:19:54 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 9688. Wait queue: 9569, 9696, 9712.
Context: while rechecking updated tuple (1059,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: 2019-03-01 06:19:54 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
2 3 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL off
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 01 09 1 16 1 19 1 - FATAL: no pg_hba.conf entry for host "138.68.18.223", user "postgres", database "postgres", SSL off
- FATAL: no pg_hba.conf entry for host "2.105.206.215", user "postgres", database "postgres", SSL off
- FATAL: no pg_hba.conf entry for host "107.181.166.65", user "pgsqlsfdgsdgf", database "postgres", SSL off
Date: 2019-03-01 19:57:03 Database: postgres Application: [unknown] User: postgres Remote: 138.68.18.223 Code:
Date: 2019-03-01 09:54:14 Database: postgres Application: [unknown] User: postgres Remote: 2.105.206.215 Code:
Date: 2019-03-01 16:02:31 Database: postgres Application: [unknown] User: pgsqlsfdgsdgf Remote: 107.181.166.65 Code:
3 3 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL on
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 01 09 1 16 1 19 1 - FATAL: no pg_hba.conf entry for host "138.68.18.223", user "postgres", database "postgres", SSL on
- FATAL: no pg_hba.conf entry for host "2.105.206.215", user "postgres", database "postgres", SSL on
- FATAL: no pg_hba.conf entry for host "107.181.166.65", user "pgsqlsfdgsdgf", database "postgres", SSL on
Date: 2019-03-01 19:57:02 Database: postgres Application: [unknown] User: postgres Remote: 138.68.18.223 Code:
Date: 2019-03-01 09:54:14 Database: postgres Application: [unknown] User: postgres Remote: 2.105.206.215 Code:
Date: 2019-03-01 16:02:30 Database: postgres Application: [unknown] User: pgsqlsfdgsdgf Remote: 107.181.166.65 Code: