-
Global information
- Generated on Fri Sep 6 00:00:17 2019
- Log file: /var/log/postgresql/postgresql-11-main.log.1
- Parsed 8,538,163 log entries in 14s
- Log start from 2019-09-05 00:00:00 to 2019-09-05 23:59:59
-
Overview
Global Stats
- 1,820 Number of unique normalized queries
- 2,533,905 Number of queries
- 10m4s Total query duration
- 2019-09-05 00:00:00 First query
- 2019-09-05 23:59:59 Last query
- 10,618 queries/s at 2019-09-05 06:23:08 Query peak
- 7 Number of events
- 2 Number of unique normalized events
- 6 Max number of times the same event was reported
- 0 Number of cancellation
- 111 Total number of automatic vacuums
- 220 Total number of automatic analyzes
- 5 Number temporary file
- 15.63 MiB Max size of temporary file
- 5.37 MiB Average size of temporary file
- 3,843 Total number of sessions
- 5 sessions at 2019-09-05 00:31:44 Session peak
- 15d14h50m18s Total duration of sessions
- 5m51s Average duration of sessions
- 659 Average queries per session
- 157ms Average queries duration per session
- 3,843 Total number of connections
- 12 connections/s at 2019-09-05 18:17:01 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 10,618 queries/s Query Peak
- 2019-09-05 06:23:08 Date
SELECT Traffic
Key values
- 2,092 queries/s Query Peak
- 2019-09-05 12:40:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 10,494 queries/s Query Peak
- 2019-09-05 06:23:08 Date
Queries duration
Key values
- 10m4s Total query duration
Prepared queries ratio
Key values
- 2.58 Ratio of bind vs prepare
- 129.45 % 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) Sep 05 00 58,343 0ms 37ms 0ms 102ms 293ms 817ms 01 46,934 0ms 44ms 0ms 89ms 193ms 344ms 02 45,924 0ms 62ms 0ms 79ms 193ms 435ms 03 47,587 0ms 60ms 0ms 81ms 288ms 472ms 04 46,089 0ms 61ms 0ms 89ms 166ms 410ms 05 55,344 0ms 105ms 0ms 230ms 483ms 3s428ms 06 203,706 0ms 507ms 0ms 2s760ms 4s212ms 5s62ms 07 135,611 0ms 303ms 0ms 968ms 1s87ms 2s896ms 08 186,341 0ms 224ms 0ms 1s7ms 1s145ms 2s723ms 09 171,303 0ms 211ms 0ms 1s9ms 1s21ms 1s255ms 10 234,545 0ms 1s808ms 0ms 2s13ms 3s241ms 6s82ms 11 202,903 0ms 216ms 0ms 2s618ms 2s954ms 4s709ms 12 197,191 0ms 905ms 0ms 2s501ms 4s291ms 4s821ms 13 119,305 0ms 224ms 0ms 1s905ms 2s665ms 4s172ms 14 133,756 0ms 594ms 0ms 2s586ms 3s338ms 4s97ms 15 170,581 0ms 2s76ms 0ms 2s282ms 2s956ms 4s530ms 16 103,484 0ms 213ms 0ms 1s524ms 3s205ms 3s893ms 17 92,119 0ms 1s954ms 0ms 2s4ms 2s968ms 4s579ms 18 49,836 0ms 77ms 0ms 89ms 148ms 502ms 19 45,099 0ms 77ms 0ms 76ms 114ms 379ms 20 48,052 0ms 44ms 0ms 83ms 128ms 636ms 21 46,272 0ms 77ms 0ms 78ms 186ms 427ms 22 48,546 0ms 78ms 0ms 84ms 388ms 448ms 23 45,034 0ms 79ms 0ms 76ms 112ms 472ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 05 00 23,907 0 0ms 56ms 62ms 704ms 01 15,193 0 0ms 53ms 61ms 101ms 02 15,018 0 0ms 46ms 58ms 144ms 03 15,286 0 0ms 48ms 62ms 143ms 04 15,064 0 0ms 46ms 61ms 141ms 05 18,276 0 0ms 57ms 101ms 196ms 06 68,576 0 0ms 421ms 796ms 1s900ms 07 58,606 0 0ms 346ms 642ms 793ms 08 92,980 0 0ms 604ms 716ms 946ms 09 86,630 0 0ms 529ms 640ms 906ms 10 134,793 0 0ms 1s58ms 1s516ms 2s175ms 11 116,270 0 0ms 1s327ms 2s250ms 3s702ms 12 119,194 0 0ms 1s583ms 2s361ms 4s544ms 13 71,250 0 0ms 1s270ms 1s622ms 3s539ms 14 76,304 0 0ms 1s692ms 2s342ms 3s181ms 15 103,594 0 0ms 1s579ms 1s863ms 2s804ms 16 56,267 0 0ms 563ms 1s289ms 3s206ms 17 50,807 0 0ms 1s445ms 1s803ms 2s765ms 18 16,635 0 0ms 50ms 61ms 167ms 19 14,900 0 0ms 49ms 57ms 161ms 20 17,502 0 0ms 52ms 65ms 160ms 21 15,109 0 0ms 42ms 57ms 144ms 22 15,531 0 0ms 50ms 62ms 174ms 23 13,169 0 0ms 35ms 57ms 100ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 05 00 668 1,277 107 0 0ms 12ms 13ms 31ms 01 1,436 412 110 0 0ms 2ms 8ms 64ms 02 692 227 110 0 0ms 2ms 7ms 52ms 03 1,860 517 110 0 0ms 2ms 8ms 114ms 04 792 252 132 0 0ms 2ms 8ms 56ms 05 4,515 1,377 106 0 0ms 6ms 8ms 710ms 06 61,487 18,689 335 0 0ms 204ms 577ms 1s688ms 07 14,599 5,207 398 0 0ms 112ms 172ms 238ms 08 13,944 7,103 385 0 0ms 104ms 129ms 174ms 09 15,151 5,986 396 0 0ms 114ms 145ms 202ms 10 21,093 7,700 435 0 0ms 134ms 167ms 881ms 11 17,262 7,066 371 0 0ms 117ms 163ms 419ms 12 12,574 5,577 365 0 0ms 91ms 126ms 199ms 13 4,183 1,978 206 0 0ms 32ms 60ms 98ms 14 6,336 2,968 264 0 0ms 62ms 93ms 181ms 15 8,795 3,815 319 0 0ms 62ms 91ms 165ms 16 4,617 1,897 201 0 0ms 41ms 80ms 115ms 17 1,753 1,005 172 0 1ms 21ms 35ms 144ms 18 393 1,019 110 0 0ms 9ms 11ms 21ms 19 141 102 112 0 0ms 1ms 5ms 11ms 20 374 199 143 0 0ms 1ms 8ms 25ms 21 876 271 112 0 0ms 2ms 8ms 65ms 22 2,312 631 112 0 0ms 2ms 8ms 115ms 23 1,569 403 112 0 0ms 1ms 8ms 119ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Sep 05 00 34,081 58,281 1.71 87.09% 01 30,373 46,874 1.54 107.33% 02 30,480 45,864 1.50 111.95% 03 30,304 47,527 1.57 104.74% 04 30,515 46,029 1.51 111.36% 05 32,071 55,284 1.72 88.60% 06 48,824 203,534 4.17 27.81% 07 50,353 134,181 2.66 47.03% 08 67,530 186,281 2.76 46.22% 09 58,266 171,243 2.94 42.23% 10 61,972 234,485 3.78 31.21% 11 56,801 202,843 3.57 33.35% 12 54,924 197,129 3.59 33.18% 13 39,910 119,245 2.99 41.66% 14 47,145 133,696 2.84 43.90% 15 49,717 170,521 3.43 35.12% 16 39,911 102,198 2.56 49.72% 17 36,918 92,059 2.49 52.42% 18 31,743 49,774 1.57 102.80% 19 29,427 45,039 1.53 111.34% 20 29,864 47,992 1.61 101.57% 21 29,535 46,212 1.56 107.14% 22 29,896 48,486 1.62 100.32% 23 29,762 44,989 1.51 112.82% Day Hour Count Average / Second Sep 05 00 184 0.05/s 01 177 0.05/s 02 180 0.05/s 03 175 0.05/s 04 175 0.05/s 05 172 0.05/s 06 147 0.04/s 07 158 0.04/s 08 137 0.04/s 09 118 0.03/s 10 113 0.03/s 11 147 0.04/s 12 141 0.04/s 13 157 0.04/s 14 151 0.04/s 15 141 0.04/s 16 165 0.05/s 17 147 0.04/s 18 184 0.05/s 19 178 0.05/s 20 177 0.05/s 21 175 0.05/s 22 176 0.05/s 23 168 0.05/s Day Hour Count Average Duration Sep 05 00 184 5m2s 01 177 5m11s 02 180 5m2s 03 175 5m4s 04 175 5m6s 05 172 5m3s 06 147 5m48s 07 158 6m15s 08 137 6m22s 09 118 7m21s 10 113 8m10s 11 144 6m47s 12 138 7m21s 13 163 7m20s 14 148 6m6s 15 141 7m15s 16 168 6m14s 17 147 6m26s 18 184 5m8s 19 178 5m7s 20 177 5m5s 21 175 5m7s 22 176 5m8s 23 168 5m23s -
Connections
Established Connections
Key values
- 12 connections Connection Peak
- 2019-09-05 18:17:01 Date
Connections per database
Key values
- pharmisight Main Database
- 3,843 connections Total
Connections per user
Key values
- pharmisight Main User
- 3,843 connections Total
-
Sessions
Simultaneous sessions
Key values
- 5 sessions Session Peak
- 2019-09-05 00:31:44 Date
Histogram of session times
Key values
- 2,587 60000-600000ms duration
Sessions per database
Key values
- pharmisight Main Database
- 3,843 sessions Total
Sessions per user
Key values
- pharmisight Main User
- 3,843 sessions Total
Sessions per host
Key values
- 10.10.10.1 Main Host
- 3,843 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 8,128 buffers Checkpoint Peak
- 2019-09-05 07:05:26 Date
- 150.053 seconds Highest write time
- 0.019 seconds Sync time
Checkpoints Wal files
Key values
- 3 files Wal files usage Peak
- 2019-09-05 07:05:26 Date
Checkpoints distance
Key values
- 105.70 Mo Distance Peak
- 2019-09-05 06:30:24 Date
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Sep 05 00 1,697 170.14s 0.018s 170.222s 01 776 77.81s 0.014s 77.879s 02 622 62.434s 0.011s 62.559s 03 766 76.882s 0.015s 76.948s 04 587 58.917s 0.027s 58.997s 05 570 57.116s 0.013s 57.201s 06 15,881 1,148.76s 0.049s 1,148.904s 07 14,153 754.52s 0.026s 754.622s 08 7,692 739.64s 0.022s 739.734s 09 7,620 718.326s 0.04s 718.437s 10 9,452 856.235s 0.037s 856.345s 11 9,077 838.123s 0.05s 838.245s 12 7,520 753.582s 0.023s 753.678s 13 3,747 375.64s 0.016s 375.724s 14 7,177 579.92s 0.036s 580.035s 15 4,534 454.667s 0.021s 454.758s 16 2,568 257.402s 0.016s 257.481s 17 2,118 212.195s 0.02s 212.283s 18 1,433 143.807s 0.012s 143.88s 19 603 60.527s 0.01s 60.586s 20 587 58.919s 0.023s 59.015s 21 619 62.126s 0.02s 62.225s 22 807 80.915s 0.019s 80.999s 23 769 77.074s 0.022s 77.158s Day Hour Added Removed Recycled Synced files Longest sync Average sync Sep 05 00 0 0 1 288 0.002s 0s 01 0 0 0 274 0.002s 0.001s 02 0 0 0 274 0.002s 0s 03 0 0 1 265 0.004s 0s 04 0 0 0 247 0.014s 0s 05 0 0 0 227 0.002s 0s 06 0 1 10 1,270 0.002s 0s 07 0 0 5 1,164 0.002s 0s 08 0 0 3 1,247 0.002s 0s 09 0 0 3 1,331 0.019s 0s 10 0 0 4 1,370 0.004s 0s 11 0 0 4 1,238 0.017s 0s 12 0 0 3 1,387 0.001s 0s 13 0 0 2 831 0.002s 0s 14 0 0 2 1,064 0.002s 0s 15 0 0 2 1,157 0.002s 0s 16 0 0 1 712 0.001s 0s 17 0 0 1 738 0.003s 0s 18 0 0 0 280 0.002s 0s 19 0 0 1 277 0.001s 0s 20 0 0 0 328 0.008s 0s 21 0 0 0 325 0.002s 0s 22 0 0 0 341 0.003s 0s 23 0 0 0 294 0.002s 0s Day Hour Count Avg time (sec) Sep 05 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 Sep 05 00 964.64 kB 1,302.36 kB 01 392.20 kB 1,212.10 kB 02 289.10 kB 826.80 kB 03 443.22 kB 1,177.67 kB 04 296.00 kB 814.50 kB 05 363.62 kB 1,154.50 kB 06 13,315.00 kB 33,210.25 kB 07 7,568.50 kB 31,145.33 kB 08 4,034.58 kB 11,541.17 kB 09 4,162.92 kB 9,143.75 kB 10 5,879.17 kB 12,394.25 kB 11 5,311.08 kB 10,052.83 kB 12 4,259.27 kB 9,274.73 kB 13 1,555.30 kB 6,189.50 kB 14 3,178.17 kB 8,025.25 kB 15 2,526.42 kB 4,692.67 kB 16 1,523.78 kB 3,958.22 kB 17 1,046.33 kB 1,959.42 kB 18 787.64 kB 1,211.00 kB 19 306.22 kB 916.78 kB 20 224.33 kB 645.50 kB 21 240.92 kB 668.25 kB 22 356.00 kB 1,007.67 kB 23 394.80 kB 1,014.60 kB -
Temporary Files
Size of temporary files
Key values
- 16.62 MiB Temp Files size Peak
- 2019-09-05 06:23:59 Date
Number of temporary files
Key values
- 4 per second Temp Files Peak
- 2019-09-05 06:23:59 Date
Temporary Files Activity
Day Hour Count Total size Average size Sep 05 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 5 26.84 MiB 5.37 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 2 6.23 MiB 2.87 MiB 3.37 MiB 3.12 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-09-05 06:23:59 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 3.37 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-09-05 06:23:59 ]
2 2.87 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-09-05 06:23:59 ]
-
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 (103) Main table analyzed (database pharmisight)
- 220 analyzes Total
Table Number of analyzes pharmisight.public.sym_data_gap 103 pharmisight.public.sym_outgoing_batch 48 pharmisight.public.sym_incoming_batch 18 pharmisight.public.sym_data 13 pharmisight.public.sym_data_event 13 pharmisight.public.sym_sequence 11 pharmisight.public.sym_node_host 6 pharmisight.public.item_codes 2 pharmisight.public.patient_history 1 pharmisight.public.users 1 pharmisight.public.patients 1 pharmisight.public.stats_picker_months 1 pharmisight.public.flow_report_summary_months 1 pharmisight.public.eps_header 1 Total 220 Vacuums per table
Key values
- public.sym_data_gap (54) Main table vacuumed on database pharmisight
- 111 vacuums Total
Table Number of vacuums Index scans pharmisight.public.sym_data_gap 54 54 pharmisight.public.sym_outgoing_batch 21 21 pharmisight.public.sym_sequence 11 0 pharmisight.public.sym_incoming_batch 7 7 pharmisight.public.sym_node_host 6 0 pharmisight.pg_catalog.pg_statistic 3 3 pharmisight.public.sym_data_event 3 3 pharmisight.public.sym_data 3 3 pharmisight.pg_toast.pg_toast_2619 2 2 pharmisight.public.item_codes 1 1 Total 111 94 Tuples removed per table
Key values
- public.sym_data_event (12882) Main table with removed tuples on database pharmisight
- 27138 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_data_event 3 3 12882 0 pharmisight.public.sym_data 3 3 6043 0 pharmisight.public.sym_data_gap 54 54 2846 0 pharmisight.public.sym_outgoing_batch 21 21 2419 0 pharmisight.pg_catalog.pg_statistic 3 3 878 0 pharmisight.public.sym_incoming_batch 7 7 756 0 pharmisight.public.sym_sequence 11 0 562 0 pharmisight.public.sym_node_host 6 0 312 0 pharmisight.public.item_codes 1 1 301 0 pharmisight.pg_toast.pg_toast_2619 2 2 139 0 Total 111 94 27,138 0 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database
- 0 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_outgoing_batch 21 21 2419 0 pharmisight.pg_catalog.pg_statistic 3 3 878 0 pharmisight.public.item_codes 1 1 301 0 pharmisight.public.sym_node_host 6 0 312 0 pharmisight.public.sym_data_gap 54 54 2846 0 pharmisight.public.sym_incoming_batch 7 7 756 0 pharmisight.pg_toast.pg_toast_2619 2 2 139 0 pharmisight.public.sym_sequence 11 0 562 0 pharmisight.public.sym_data_event 3 3 12882 0 pharmisight.public.sym_data 3 3 6043 0 Total 111 94 27,138 0 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Sep 05 00 2 4 01 1 2 02 1 3 03 1 1 04 1 1 05 1 4 06 6 18 07 12 18 08 11 20 09 11 21 10 12 24 11 9 19 12 11 18 13 5 13 14 8 12 15 6 15 16 4 7 17 4 7 18 2 4 19 1 4 20 0 2 21 1 0 22 1 2 23 0 1 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 7 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 7 11s499ms 1s195ms 2s73ms 1s642ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = ? WHERE flow_report_id = ?;-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
Date: 2019-09-05 10:44:56 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver
Queries that waited the most
Rank Wait time Query 1 2s73ms 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-09-05 15:10:28 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
2 1s947ms 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-09-05 17:30:34 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
3 1s807ms 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-09-05 10:44:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
4 1s605ms 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-09-05 10:02:49 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
5 1s443ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2019-09-05 10:44:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
6 1s426ms 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-09-05 10:02:49 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
7 1s195ms 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-09-05 15:10:30 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Queries
Queries by type
Key values
- 1,230,861 Total read queries
- 723,382 Total write queries
Queries by database
Key values
- pharmisight Main database
- 2,533,327 Requests
- 9m54s (pharmisight)
- Main time consuming database
Queries by user
Key values
- symmetricds Main user
- 1,612,608 Requests
User Request type Count Duration librenms Total 602 10s359ms SELECT 602 10s359ms pharmisight Total 967,254 8m3s DELETE 31 3ms INSERT 31,072 24s545ms OTHERS 5,583 257ms SELECT 818,397 6m23s TCL 69,408 9s245ms UPDATE 42,763 1m5s symmetricds Total 1,612,608 1m53s DELETE 5,299 7s108ms INSERT 166,859 15s667ms OTHERS 592,561 9s544ms SELECT 428,247 45s282ms TCL 386,675 24s596ms UPDATE 32,967 11s308ms tony Total 891 274ms SELECT 891 274ms Duration by user
Key values
- 8m3s (pharmisight) Main time consuming user
User Request type Count Duration librenms Total 602 10s359ms SELECT 602 10s359ms pharmisight Total 967,254 8m3s DELETE 31 3ms INSERT 31,072 24s545ms OTHERS 5,583 257ms SELECT 818,397 6m23s TCL 69,408 9s245ms UPDATE 42,763 1m5s symmetricds Total 1,612,608 1m53s DELETE 5,299 7s108ms INSERT 166,859 15s667ms OTHERS 592,561 9s544ms SELECT 428,247 45s282ms TCL 386,675 24s596ms UPDATE 32,967 11s308ms tony Total 891 274ms SELECT 891 274ms Queries by host
Key values
- 10.10.10.1 Main host
- 2,579,862 Requests
- 9m56s (10.10.10.1)
- Main time consuming host
Queries by application
Key values
- PostgreSQL JDBC Driver Main application
- 2,526,789 Requests
- 9m52s (PostgreSQL JDBC Driver)
- Main time consuming application
Application Request type Count Duration PostgreSQL JDBC Driver Total 2,526,789 9m52s DELETE 5,223 6s927ms INSERT 197,376 40s48ms OTHERS 576,679 9s338ms SELECT 1,226,884 7m6s TCL 444,949 33s550ms UPDATE 75,678 1m16s [unknown] Total 6,538 1s483ms INSERT 46 23ms OTHERS 2,983 147ms SELECT 3,399 1s244ms TCL 110 68ms psql Total 578 9s936ms SELECT 578 9s936ms Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2019-09-05 01:43:01 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 2,465,330 0-1ms duration
Slowest individual queries
Rank Duration Query 1 2s76ms UPDATE FLOW_REPORTS SET routeNumber = '9565511', roundDeliveryDate = '2019-09-06', distributionPoint = 'C Irlam', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = 'Ceva replen delay', pharmacy100CheckTime = '2019-09-05 15:08:22.504', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 05:45:39', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 09:47:51.338', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 10:30:06.517', UPDATED = '2019-09-05 15:08:22.512', note = NULL WHERE FLOW_REPORT_ID = '200577452';[ Date: 2019-09-05 15:10:28 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 1s954ms UPDATE FLOW_REPORTS SET routeNumber = '9565508', roundDeliveryDate = '2019-09-06', distributionPoint = 'Ed Didcott', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = 'Picking errors', pharmacy100CheckTime = '2019-09-05 17:20:31.689', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 13:45:40', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2019-09-05 10:11:38.959', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 12:30:26.604', UPDATED = '2019-09-05 17:20:31.709', note = NULL WHERE FLOW_REPORT_ID = '200577422';[ Date: 2019-09-05 17:30:34 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 1s808ms UPDATE FLOW_REPORTS SET routeNumber = '9565505', roundDeliveryDate = '2019-09-06', distributionPoint = 'D Leeds', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2019-09-05 10:44:45.78', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 06:15:54', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 10:07:04.727', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 11:30:27.986', UPDATED = '2019-09-05 10:44:45.788', note = NULL WHERE FLOW_REPORT_ID = '200577392';[ Date: 2019-09-05 10:44:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 1s606ms UPDATE FLOW_REPORTS SET routeNumber = '9565511', roundDeliveryDate = '2019-09-06', distributionPoint = 'C Irlam', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = '', pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 05:45:39', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 07:22:13.906', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 10:00:06.517', UPDATED = '2019-09-05 09:15:55.617', note = NULL WHERE FLOW_REPORT_ID = '200577452';[ Date: 2019-09-05 10:02:49 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 1s453ms UPDATE FLOW_REPORTS SET routeNumber = '9565505', roundDeliveryDate = '2019-09-06', distributionPoint = 'D Leeds', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2019-09-05 10:44:45.78', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 06:15:54', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 10:07:04.727', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 11:30:27.986', UPDATED = '2019-09-05 10:44:45.788', note = NULL WHERE FLOW_REPORT_ID = '200577392';[ Date: 2019-09-05 10:44:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 1s427ms UPDATE FLOW_REPORTS SET routeNumber = '9565501', roundDeliveryDate = '2019-09-06', distributionPoint = 'D Leeds', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = '', pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 03:52:32', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 10:00:59.211', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 06:19:36.773', UPDATED = '2019-09-05 10:02:47.766', note = NULL WHERE FLOW_REPORT_ID = '200577352';[ Date: 2019-09-05 10:02:49 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 1s359ms 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_.hasHomewardReply AS hasHome72_24_0_, this_.CREATED AS CREATED73_24_0_, this_.UPDATED AS UPDATED74_24_0_, this_.rxCheckBy AS rxCheck75_24_0_, this_.note AS note76_24_0_, this_.item AS item77_24_0_, this_.alertConfirmation AS alertCo78_24_0_, this_.homewardAction AS homewar79_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2019-08-01' AND '2019-08-31';[ Date: 2019-09-05 15:00:31 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 1s195ms UPDATE FLOW_REPORTS SET routeNumber = '9565511', roundDeliveryDate = '2019-09-06', distributionPoint = 'C Irlam', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = 'Ceva replen delay', pharmacy100CheckTime = '2019-09-05 15:08:22.504', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 05:45:39', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 09:47:51.338', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 10:30:06.517', UPDATED = '2019-09-05 15:08:22.512', note = NULL WHERE FLOW_REPORT_ID = '200577452';[ Date: 2019-09-05 15:10:30 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 905ms SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE (this_.partCode = '97155');[ Date: 2019-09-05 12:19:54 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 881ms UPDATE FLOW_REPORTS SET routeNumber = '9565505', roundDeliveryDate = '2019-09-06', distributionPoint = 'D Leeds', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2019-09-05 10:44:45.78', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 06:15:54', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 10:07:04.727', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 11:30:27.986', UPDATED = '2019-09-05 10:44:45.788', note = NULL WHERE FLOW_REPORT_ID = '200577392';[ Date: 2019-09-05 10:44:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 726ms UPDATE FLOW_REPORTS SET routeNumber = '9565507', roundDeliveryDate = '2019-09-06', distributionPoint = 'D Spenny', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = '', pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 08:34:32', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 10:10:35.288', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 11:00:45.823', UPDATED = '2019-09-05 10:45:13.878', note = NULL WHERE FLOW_REPORT_ID = '200577412';[ Date: 2019-09-05 10:45:21 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 635ms SELECT this_.ORDER_ID AS ORDER_ID1_22_0_, this_.sapOrderNumber AS sapOrder2_22_0_, this_.answerOrderNumber AS answerOr3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.routeNumber AS routeNum5_22_0_, this_.billToType AS billToTy6_22_0_, this_.patientName AS patientN7_22_0_, this_.firstName AS firstNam8_22_0_, this_.middleName AS middleNa9_22_0_, this_.lastName AS lastNam10_22_0_, this_.patientDateOfBirth AS patient11_22_0_, this_.patientPostcode AS patient12_22_0_, this_.customer AS custome13_22_0_, this_.sapCustomerId AS sapCust14_22_0_, this_.status AS status15_22_0_, this_.patientId AS patient16_22_0_, this_.isNotWithinAge AS isNotWi17_22_0_, this_.expired AS expired18_22_0_, this_.paperwork AS paperwo19_22_0_, this_.deliveryBarcode AS deliver20_22_0_, this_.deliveryDate AS deliver21_22_0_, this_.rxStatus AS rxStatu22_22_0_, this_.createUser AS createU23_22_0_, this_.subOrderType AS subOrde24_22_0_, this_.sapContractId AS sapCont25_22_0_, this_.salesforceOrderNumber AS salesfo26_22_0_, this_.patientType AS patient27_22_0_, this_.orderType AS orderTy28_22_0_, this_.orderStatus AS orderSt29_22_0_, this_.NHSnumber AS NHSnumb30_22_0_, this_.individualLabelling AS individ31_22_0_, this_.orderId AS orderId32_22_0_, this_.clusterLead AS cluster33_22_0_, this_.clusterGroup AS cluster34_22_0_, this_.accountId AS account35_22_0_, this_.reduction AS reducti36_22_0_, this_.reductionBy AS reducti37_22_0_, this_.alertConfirmation AS alertCo38_22_0_, this_.CREATED AS CREATED39_22_0_, this_.UPDATED AS UPDATED40_22_0_, this_.note AS note41_22_0_ FROM ORDERS this_ WHERE this_.salesforceOrderNumber = '11597830';[ Date: 2019-09-05 10:38:38 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 594ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_1_, this_.routeNumber AS routeNum2_24_1_, this_.sapOrderNumber AS sapOrder3_24_1_, this_.orderNumber AS orderNum4_24_1_, this_.answerOrderNumber AS answerOr5_24_1_, this_.partCode AS partCode6_24_1_, this_.partDescription AS partDesc7_24_1_, this_.patientName AS patientN8_24_1_, this_.firstName AS firstNam9_24_1_, this_.middleName AS middleN10_24_1_, this_.lastName AS lastNam11_24_1_, this_.patientDateOfBirth AS patient12_24_1_, this_.patientPostcode AS patient13_24_1_, this_.patientPostcodePrefix AS patient14_24_1_, this_.orderQty AS orderQt15_24_1_, this_.allocQty AS allocQt16_24_1_, this_.shipQty AS shipQty17_24_1_, this_.adjustedQty AS adjuste18_24_1_, this_.scannedQty AS scanned19_24_1_, this_.assignedQty AS assigne20_24_1_, this_.checkedQty AS checked21_24_1_, this_.backOrderQty AS backOrd22_24_1_, this_.cancelQty AS cancelQ23_24_1_, this_.reducedQty AS reduced24_24_1_, this_.status AS status25_24_1_, this_.reason AS reason26_24_1_, this_.deliveryDate AS deliver27_24_1_, this_.customer AS custome28_24_1_, this_.sapCustomerId AS sapCust29_24_1_, this_.billToType AS billToT30_24_1_, this_.barcodeDate AS barcode31_24_1_, this_.barcodeBatch AS barcode32_24_1_, this_.patientId AS patient33_24_1_, this_.isAdded AS isAdded34_24_1_, this_.isNotWithinAge AS isNotWi35_24_1_, this_.isUnderAge AS isUnder36_24_1_, this_.ageCheck AS ageChec37_24_1_, this_.expired AS expired38_24_1_, this_.paperwork AS paperwo39_24_1_, this_.isPaperworkProblem AS isPaper40_24_1_, this_.paperworkResolution AS paperwo41_24_1_, this_.pickerId AS pickerI42_24_1_, this_.specialCare AS special43_24_1_, this_.paperworkEnquiryStarted AS paperwo44_24_1_, this_.paperworkEnquiryFinished AS paperwo45_24_1_, this_.paperworkEnquiryResponse AS paperwo46_24_1_, this_.isNewProduct AS isNewPr47_24_1_, this_.extraProcedure AS extraPr48_24_1_, this_.overAverageQtyMax AS overAve49_24_1_, this_.overAverageQtyResolution AS overAve50_24_1_, this_.createUser AS createU51_24_1_, this_.patientAlert AS patient52_24_1_, this_.itemAlert AS itemAle53_24_1_, this_.checkerId AS checker54_24_1_, this_.reductionSummary AS reducti55_24_1_, this_.isMetabolic AS isMetab56_24_1_, this_.rxStatus AS rxStatu57_24_1_, this_.lastRegUpdateUserType AS lastReg58_24_1_, this_.lastRegUpdateUserName AS lastReg59_24_1_, this_.lastRegUpdateDate AS lastReg60_24_1_, this_.sapPlannedShipDate AS sapPlan61_24_1_, this_.sapPlannedDeliveryDate AS sapPlan62_24_1_, this_.requestedSAPQuantity AS request63_24_1_, this_.orderQuantity AS orderQu64_24_1_, this_.regLineCreatedUserType AS regLine65_24_1_, this_.regLineCreatedUserName AS regLine66_24_1_, this_.regLineCreatedDate AS regLine67_24_1_, this_.audited AS audited68_24_1_, this_.isMetabolicPatient AS isMetab69_24_1_, this_.addedCase AS addedCa70_24_1_, this_.orderType AS orderTy71_24_1_, this_.hasHomewardReply AS hasHome72_24_1_, this_.CREATED AS CREATED73_24_1_, this_.UPDATED AS UPDATED74_24_1_, this_.rxCheckBy AS rxCheck75_24_1_, this_.note AS note76_24_1_, this_.item AS item77_24_1_, this_.alertConfirmation AS alertCo78_24_1_, this_.homewardAction AS homewar79_24_1_, a1_.ORDER_LINE_ID AS ORDER_L16_24_3_, a1_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_3_, a1_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, a1_.status AS status2_25_0_, a1_.reason AS reason3_25_0_, a1_.scannedQty AS scannedQ4_25_0_, a1_.assignedQty AS assigned5_25_0_, a1_.backOrderQty AS backOrde6_25_0_, a1_.barcode AS barcode7_25_0_, a1_.barcodeDate AS barcodeD8_25_0_, a1_.barcodeBatch AS barcodeB9_25_0_, a1_.expiration AS expirat10_25_0_, a1_.cancelQty AS cancelQ11_25_0_, a1_.reducedQty AS reduced12_25_0_, a1_.misPickItemCode AS misPick13_25_0_, a1_.CREATED AS CREATED14_25_0_, a1_.missingLabels AS missing15_25_0_ FROM ORDER_LINES this_ LEFT OUTER JOIN ORDER_LINE_ACTIVITIES a1_ ON this_.ORDER_LINE_ID = a1_.ORDER_LINE_ID WHERE this_.pickerId = '4482' AND this_.deliveryDate BETWEEN '2019-08-01' AND '2019-08-31' AND a1_.status = 'Mismatch' ORDER BY a1_.CREATED ASC;[ Date: 2019-09-05 14:56:30 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 582ms UPDATE FLOW_REPORTS SET routeNumber = '9565500', roundDeliveryDate = '2019-09-06', distributionPoint = 'D Leeds', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2019-09-05 10:19:47.279', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 02:08:55', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 09:58:59.473', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 11:30:56.029', UPDATED = '2019-09-05 10:19:47.294', note = NULL WHERE FLOW_REPORT_ID = '200577342';[ Date: 2019-09-05 10:21:00 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 554ms SELECT this_.ORDER_ID AS ORDER_ID1_22_0_, this_.sapOrderNumber AS sapOrder2_22_0_, this_.answerOrderNumber AS answerOr3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.routeNumber AS routeNum5_22_0_, this_.billToType AS billToTy6_22_0_, this_.patientName AS patientN7_22_0_, this_.firstName AS firstNam8_22_0_, this_.middleName AS middleNa9_22_0_, this_.lastName AS lastNam10_22_0_, this_.patientDateOfBirth AS patient11_22_0_, this_.patientPostcode AS patient12_22_0_, this_.customer AS custome13_22_0_, this_.sapCustomerId AS sapCust14_22_0_, this_.status AS status15_22_0_, this_.patientId AS patient16_22_0_, this_.isNotWithinAge AS isNotWi17_22_0_, this_.expired AS expired18_22_0_, this_.paperwork AS paperwo19_22_0_, this_.deliveryBarcode AS deliver20_22_0_, this_.deliveryDate AS deliver21_22_0_, this_.rxStatus AS rxStatu22_22_0_, this_.createUser AS createU23_22_0_, this_.subOrderType AS subOrde24_22_0_, this_.sapContractId AS sapCont25_22_0_, this_.salesforceOrderNumber AS salesfo26_22_0_, this_.patientType AS patient27_22_0_, this_.orderType AS orderTy28_22_0_, this_.orderStatus AS orderSt29_22_0_, this_.NHSnumber AS NHSnumb30_22_0_, this_.individualLabelling AS individ31_22_0_, this_.orderId AS orderId32_22_0_, this_.clusterLead AS cluster33_22_0_, this_.clusterGroup AS cluster34_22_0_, this_.accountId AS account35_22_0_, this_.reduction AS reducti36_22_0_, this_.reductionBy AS reducti37_22_0_, this_.alertConfirmation AS alertCo38_22_0_, this_.CREATED AS CREATED39_22_0_, this_.UPDATED AS UPDATED40_22_0_, this_.note AS note41_22_0_ FROM ORDERS this_ WHERE this_.salesforceOrderNumber = '11599093';[ Date: 2019-09-05 10:40:22 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 507ms 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 = '9328559' AND o.node_id = '0' ORDER BY d.data_id ASC;[ Date: 2019-09-05 06:23:59 - Database: pharmisight - User: symmetricds - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 485ms 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 = '9328558' AND o.node_id = '2' ORDER BY d.data_id ASC;[ Date: 2019-09-05 06:23:59 - Database: pharmisight - User: symmetricds - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 454ms 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_.hasHomewardReply AS hasHome72_24_0_, this_.CREATED AS CREATED73_24_0_, this_.UPDATED AS UPDATED74_24_0_, this_.rxCheckBy AS rxCheck75_24_0_, this_.note AS note76_24_0_, this_.item AS item77_24_0_, this_.alertConfirmation AS alertCo78_24_0_, this_.homewardAction AS homewar79_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2019-09-01' AND '2019-09-05';[ Date: 2019-09-05 17:44:48 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 389ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_1_, this_.routeNumber AS routeNum2_24_1_, this_.sapOrderNumber AS sapOrder3_24_1_, this_.orderNumber AS orderNum4_24_1_, this_.answerOrderNumber AS answerOr5_24_1_, this_.partCode AS partCode6_24_1_, this_.partDescription AS partDesc7_24_1_, this_.patientName AS patientN8_24_1_, this_.firstName AS firstNam9_24_1_, this_.middleName AS middleN10_24_1_, this_.lastName AS lastNam11_24_1_, this_.patientDateOfBirth AS patient12_24_1_, this_.patientPostcode AS patient13_24_1_, this_.patientPostcodePrefix AS patient14_24_1_, this_.orderQty AS orderQt15_24_1_, this_.allocQty AS allocQt16_24_1_, this_.shipQty AS shipQty17_24_1_, this_.adjustedQty AS adjuste18_24_1_, this_.scannedQty AS scanned19_24_1_, this_.assignedQty AS assigne20_24_1_, this_.checkedQty AS checked21_24_1_, this_.backOrderQty AS backOrd22_24_1_, this_.cancelQty AS cancelQ23_24_1_, this_.reducedQty AS reduced24_24_1_, this_.status AS status25_24_1_, this_.reason AS reason26_24_1_, this_.deliveryDate AS deliver27_24_1_, this_.customer AS custome28_24_1_, this_.sapCustomerId AS sapCust29_24_1_, this_.billToType AS billToT30_24_1_, this_.barcodeDate AS barcode31_24_1_, this_.barcodeBatch AS barcode32_24_1_, this_.patientId AS patient33_24_1_, this_.isAdded AS isAdded34_24_1_, this_.isNotWithinAge AS isNotWi35_24_1_, this_.isUnderAge AS isUnder36_24_1_, this_.ageCheck AS ageChec37_24_1_, this_.expired AS expired38_24_1_, this_.paperwork AS paperwo39_24_1_, this_.isPaperworkProblem AS isPaper40_24_1_, this_.paperworkResolution AS paperwo41_24_1_, this_.pickerId AS pickerI42_24_1_, this_.specialCare AS special43_24_1_, this_.paperworkEnquiryStarted AS paperwo44_24_1_, this_.paperworkEnquiryFinished AS paperwo45_24_1_, this_.paperworkEnquiryResponse AS paperwo46_24_1_, this_.isNewProduct AS isNewPr47_24_1_, this_.extraProcedure AS extraPr48_24_1_, this_.overAverageQtyMax AS overAve49_24_1_, this_.overAverageQtyResolution AS overAve50_24_1_, this_.createUser AS createU51_24_1_, this_.patientAlert AS patient52_24_1_, this_.itemAlert AS itemAle53_24_1_, this_.checkerId AS checker54_24_1_, this_.reductionSummary AS reducti55_24_1_, this_.isMetabolic AS isMetab56_24_1_, this_.rxStatus AS rxStatu57_24_1_, this_.lastRegUpdateUserType AS lastReg58_24_1_, this_.lastRegUpdateUserName AS lastReg59_24_1_, this_.lastRegUpdateDate AS lastReg60_24_1_, this_.sapPlannedShipDate AS sapPlan61_24_1_, this_.sapPlannedDeliveryDate AS sapPlan62_24_1_, this_.requestedSAPQuantity AS request63_24_1_, this_.orderQuantity AS orderQu64_24_1_, this_.regLineCreatedUserType AS regLine65_24_1_, this_.regLineCreatedUserName AS regLine66_24_1_, this_.regLineCreatedDate AS regLine67_24_1_, this_.audited AS audited68_24_1_, this_.isMetabolicPatient AS isMetab69_24_1_, this_.addedCase AS addedCa70_24_1_, this_.orderType AS orderTy71_24_1_, this_.hasHomewardReply AS hasHome72_24_1_, this_.CREATED AS CREATED73_24_1_, this_.UPDATED AS UPDATED74_24_1_, this_.rxCheckBy AS rxCheck75_24_1_, this_.note AS note76_24_1_, this_.item AS item77_24_1_, this_.alertConfirmation AS alertCo78_24_1_, this_.homewardAction AS homewar79_24_1_, a1_.ORDER_LINE_ID AS ORDER_L16_24_3_, a1_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_3_, a1_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, a1_.status AS status2_25_0_, a1_.reason AS reason3_25_0_, a1_.scannedQty AS scannedQ4_25_0_, a1_.assignedQty AS assigned5_25_0_, a1_.backOrderQty AS backOrde6_25_0_, a1_.barcode AS barcode7_25_0_, a1_.barcodeDate AS barcodeD8_25_0_, a1_.barcodeBatch AS barcodeB9_25_0_, a1_.expiration AS expirat10_25_0_, a1_.cancelQty AS cancelQ11_25_0_, a1_.reducedQty AS reduced12_25_0_, a1_.misPickItemCode AS misPick13_25_0_, a1_.CREATED AS CREATED14_25_0_, a1_.missingLabels AS missing15_25_0_ FROM ORDER_LINES this_ LEFT OUTER JOIN ORDER_LINE_ACTIVITIES a1_ ON this_.ORDER_LINE_ID = a1_.ORDER_LINE_ID WHERE this_.pickerId = '4480' AND this_.deliveryDate BETWEEN '2019-08-01' AND '2019-08-31' AND a1_.status = 'Mismatch' ORDER BY a1_.CREATED ASC;[ Date: 2019-09-05 14:58:17 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 339ms UPDATE FLOW_REPORTS SET routeNumber = '9565501', roundDeliveryDate = '2019-09-06', distributionPoint = 'D Leeds', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2019-09-05 10:26:12.725', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 03:52:32', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 10:00:59.211', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 11:30:36.773', UPDATED = '2019-09-05 10:26:12.733', note = NULL WHERE FLOW_REPORT_ID = '200577352';[ Date: 2019-09-05 10:26:25 - 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 1m10s 88,873 0ms 16ms 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 #1
Day Hour Count Duration Avg duration Sep 05 07 278 195ms 0ms 08 19 22ms 1ms 09 36 74ms 2ms 10 54 86ms 1ms 11 6,499 5s447ms 0ms 12 15,431 11s713ms 0ms 13 17,971 13s857ms 0ms 14 11,726 9s168ms 0ms 15 10,594 8s380ms 0ms 16 14,594 11s552ms 0ms 17 5,577 4s628ms 0ms 18 6,094 5s574ms 0ms [ User: pharmisight - Total duration: 1m10s - Times executed: 88873 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m10s - Times executed: 88873 ]
-
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 = '200616732' 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 = '200616802' 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 = '200616732' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-09-05 11:08:00 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 14:13:42 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 16:53:12 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 32s39ms 222,519 0ms 234ms 0ms COMMIT;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 05 01 6,584 585ms 0ms 02 5,574 198ms 0ms 03 5,590 203ms 0ms 04 5,580 202ms 0ms 05 5,581 198ms 0ms 06 5,962 311ms 0ms 07 13,227 2s244ms 0ms 08 14,120 2s800ms 0ms 09 15,843 4s245ms 0ms 10 14,912 3s470ms 0ms 11 17,279 4s194ms 0ms 12 14,678 3s69ms 0ms 13 13,910 2s531ms 0ms 14 9,093 1s67ms 0ms 15 10,752 1s558ms 0ms 16 12,532 1s835ms 0ms 17 8,641 941ms 0ms 18 8,350 779ms 0ms 19 6,360 544ms 0ms 20 5,588 190ms 0ms 21 5,592 267ms 0ms 22 5,599 196ms 0ms 23 5,608 196ms 0ms 00 5,564 203ms 0ms [ User: symmetricds - Total duration: 23s165ms - Times executed: 187840 ]
[ User: pharmisight - Total duration: 8s874ms - Times executed: 34679 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31s972ms - Times executed: 222473 ]
[ Application: [unknown] - Total duration: 67ms - Times executed: 46 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-09-05 07:00:04 Duration: 234ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 08:50:17 Duration: 130ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:50:51 Duration: 128ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 31s853ms 932 19ms 77ms 34ms 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 Sep 05 07 2 82ms 41ms 08 11 440ms 40ms 09 43 1s761ms 40ms 10 45 1s728ms 38ms 11 53 1s797ms 33ms 12 69 2s65ms 29ms 13 122 3s816ms 31ms 14 82 2s645ms 32ms 15 106 3s535ms 33ms 16 180 5s968ms 33ms 17 69 2s361ms 34ms 18 150 5s648ms 37ms [ User: pharmisight - Total duration: 31s853ms - Times executed: 932 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31s853ms - Times executed: 932 ]
-
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-09-05 15:39:53 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 07:11:13 Duration: 71ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:00:41 Duration: 70ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 30s644ms 99,937 0ms 19ms 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 #4
Day Hour Count Duration Avg duration Sep 05 07 333 109ms 0ms 08 532 232ms 0ms 09 1,451 778ms 0ms 10 1,392 678ms 0ms 11 8,148 2s845ms 0ms 12 16,837 4s887ms 0ms 13 19,641 5s655ms 0ms 14 12,713 3s737ms 0ms 15 11,148 3s289ms 0ms 16 15,330 4s469ms 0ms 17 6,113 1s882ms 0ms 18 6,299 2s78ms 0ms [ User: pharmisight - Total duration: 30s644ms - Times executed: 99937 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 30s644ms - Times executed: 99937 ]
-
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 = '200616762' 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 = '200616892' 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 = '200617032' ORDER BY orders0_.order_id ASC;
Date: 2019-09-05 11:55:58 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 12:35:01 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 16:04:52 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 28s571ms 1,060 15ms 50ms 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 #5
Day Hour Count Duration Avg duration Sep 05 07 3 109ms 36ms 11 79 2s219ms 28ms 12 195 5s8ms 25ms 13 217 5s724ms 26ms 14 123 3s209ms 26ms 15 125 3s522ms 28ms 16 179 4s818ms 26ms 17 64 1s784ms 27ms 18 75 2s175ms 29ms [ User: pharmisight - Total duration: 28s571ms - Times executed: 1060 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28s571ms - Times executed: 1060 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2019-09-05 00:00:00' AND this_.CREATED < '2019-09-05 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2019-09-05 00:00:00' AND this_.CREATED < '2019-09-05 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2019-09-05 00:00:00' AND this_.CREATED < '2019-09-05 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-09-05 12:35:01 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 12:35:01 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 15:20:37 Duration: 45ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 26s598ms 141 97ms 224ms 188ms SELECT this_.order_round_id AS order_ro1_28_0_, this_.routenumber AS routenum2_28_0_, this_.uploadedbyuserid AS uploaded3_28_0_, this_.uploadedbyusername AS uploaded4_28_0_, this_.updatedby AS updatedb5_28_0_, this_.updatedbyusername AS updatedb6_28_0_, this_.orderroundnote AS orderrou7_28_0_, this_.firstcheckout AS firstche8_28_0_, this_.allordersscannedok AS allorder9_28_0_, this_.status AS status10_28_0_, this_.reopenedtimes AS reopene11_28_0_, this_.lastreopenbyid AS lastreo12_28_0_, this_.lastdonecheckin AS lastdon13_28_0_, this_.lastdonebyid AS lastdon14_28_0_, this_.lastdonebyusername AS lastdon15_28_0_, this_.missinglabels AS missing16_28_0_, this_.rounddeliverydate AS roundde17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadupdated AS uploadu21_28_0_, this_.patientalert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxstatus AS rxstatu24_28_0_, this_.distributionpoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedby AS audited27_28_0_, this_.auditstatus AS auditst28_28_0_, this_.uploadfinished AS uploadf29_28_0_, this_.lastrxcompleted AS lastrxc30_28_0_, this_.lastrxcompletedby AS lastrxc31_28_0_, this_.orderroundnotereadby AS orderro32_28_0_, this_.routeorderlinesqty AS routeor33_28_0_, this_.dlxpickedlinesqty AS dlxpick34_28_0_, this_.flowreport AS flowrep35_28_0_, this_.created AS created36_28_0_, this_.createdby AS created37_28_0_, this_.updated AS updated38_28_0_, this_.note AS note39_28_0_ FROM order_rounds this_ WHERE this_.routenumber ILIKE ? ORDER BY this_.routenumber ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 05 09 22 4s157ms 188ms 10 20 3s710ms 185ms 11 16 3s97ms 193ms 12 4 636ms 159ms 13 22 4s27ms 183ms 14 21 4s59ms 193ms 15 13 2s450ms 188ms 16 9 1s696ms 188ms 17 7 1s375ms 196ms 18 7 1s387ms 198ms [ User: pharmisight - Total duration: 26s598ms - Times executed: 141 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s598ms - Times executed: 141 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9565496%' ORDER BY this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9560754%' ORDER BY this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9565504%' ORDER BY this_.routeNumber ASC;
Date: 2019-09-05 08:55:09 Duration: 224ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:40:26 Duration: 220ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 11:02:19 Duration: 216ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 21s523ms 1,071 14ms 65ms 20ms SELECT this_.flow_report_id AS flow_rep1_9_0_, this_.routenumber AS routenum2_9_0_, this_.rounddeliverydate AS rounddel3_9_0_, this_.distributionpoint AS distribu4_9_0_, this_.fullypicked AS fullypic5_9_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, this_.causeofdelay AS causeofd7_9_0_, this_.pharmacy100checktime AS pharmacy8_9_0_, this_.linesheldback AS lineshel9_9_0_, this_.packtime100 AS packtim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickdatetime AS pickdat13_9_0_, this_.failedtargetpicktime AS failedt14_9_0_, this_.actualpaperworkcompletetime AS actualp15_9_0_, this_.changedpickdatetime AS changed16_9_0_, this_.manuallychangedpicktime AS manuall17_9_0_, this_.created AS created18_9_0_, this_.updated AS updated19_9_0_, this_.note AS note20_9_0_ FROM flow_reports this_ WHERE this_.created > ? AND this_.created < ? ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 05 07 3 70ms 23ms 11 79 1s751ms 22ms 12 195 3s779ms 19ms 13 219 4s301ms 19ms 14 132 2s617ms 19ms 15 123 2s399ms 19ms 16 181 3s528ms 19ms 17 63 1s337ms 21ms 18 76 1s737ms 22ms [ User: pharmisight - Total duration: 21s523ms - Times executed: 1071 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 21s523ms - Times executed: 1071 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-09-05 00:00:00' AND this_.CREATED < '2019-09-05 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-09-05 00:00:00' AND this_.CREATED < '2019-09-05 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-09-05 00:00:00' AND this_.CREATED < '2019-09-05 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-09-05 11:43:28 Duration: 65ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 16:07:43 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 14:47:56 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 19s911ms 726 14ms 54ms 27ms 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 #8
Day Hour Count Duration Avg duration Sep 05 07 18 513ms 28ms 08 41 1s156ms 28ms 09 106 2s911ms 27ms 10 72 1s992ms 27ms 11 147 4s124ms 28ms 12 108 2s959ms 27ms 13 89 2s401ms 26ms 14 8 202ms 25ms 15 26 767ms 29ms 16 77 2s14ms 26ms 17 32 812ms 25ms 18 2 52ms 26ms [ User: pharmisight - Total duration: 19s911ms - Times executed: 726 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 19s911ms - Times executed: 726 ]
-
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 = '200795632' 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 = '200795602' 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 = '200795602' ORDER BY alerts0_.created ASC;
Date: 2019-09-05 10:45:37 Duration: 54ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 14:15:18 Duration: 44ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 14:58:21 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 15s293ms 204 40ms 123ms 74ms 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 #9
Day Hour Count Duration Avg duration Sep 05 07 25 1s864ms 74ms 08 51 4s77ms 79ms 09 4 327ms 81ms 10 35 2s785ms 79ms 11 76 5s496ms 72ms 12 12 695ms 57ms 13 1 47ms 47ms [ User: pharmisight - Total duration: 15s293ms - Times executed: 204 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s293ms - Times executed: 204 ]
-
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 = '202066472' 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 = '202067812' 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 = '202065582' ORDER BY epscheckli0_.description ASC;
Date: 2019-09-05 07:00:02 Duration: 123ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:00:00 Duration: 101ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 09:21:51 Duration: 99ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 13s198ms 933 5ms 77ms 14ms SELECT * FROM order_lines WHERE (deliverydate = ? AND status <> ?) AND ((agecheck = ? OR agecheck = ? OR agecheck = ?) OR (status = ?) OR (paperwork IS NOT NULL AND paperwork <> ? AND paperwork <> ? AND paperwork <> ? AND paperwork <> ?) OR (paperworkresolution IS NOT NULL) OR (overaverageqtymax IS NOT NULL));Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 05 07 2 28ms 14ms 08 11 161ms 14ms 09 43 633ms 14ms 10 46 650ms 14ms 11 53 766ms 14ms 12 69 798ms 11ms 13 122 1s527ms 12ms 14 82 1s89ms 13ms 15 106 1s631ms 15ms 16 181 2s522ms 13ms 17 68 1s2ms 14ms 18 150 2s385ms 15ms [ User: pharmisight - Total duration: 13s198ms - Times executed: 933 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s198ms - Times executed: 933 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-09-06' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-09-06' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-09-06' 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-09-05 15:11:03 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 13:15:21 Duration: 56ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:30:26 Duration: 56ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 12s364ms 3,732 0ms 15ms 3ms 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 Sep 05 07 8 17ms 2ms 08 44 142ms 3ms 09 172 640ms 3ms 10 184 655ms 3ms 11 212 680ms 3ms 12 276 760ms 2ms 13 488 1s457ms 2ms 14 328 1s20ms 3ms 15 424 1s400ms 3ms 16 724 2s386ms 3ms 17 268 914ms 3ms 18 604 2s288ms 3ms [ User: pharmisight - Total duration: 12s364ms - Times executed: 3732 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s364ms - Times executed: 3732 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-09-05' AND this_.rxStatus = '1';
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-09-06' AND this_.rxStatus = '4';
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-09-06' AND this_.rxStatus = '4';
Date: 2019-09-05 13:09:42 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 12:22:26 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 15:39:53 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 12s224ms 122,806 0ms 5ms 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 #12
Day Hour Count Duration Avg duration Sep 05 07 199 22ms 0ms 08 7,446 746ms 0ms 09 21,495 2s185ms 0ms 10 19,119 1s914ms 0ms 11 29,472 2s957ms 0ms 12 12,557 1s153ms 0ms 13 9,494 937ms 0ms 14 3,946 350ms 0ms 15 5,114 545ms 0ms 16 7,487 718ms 0ms 17 3,876 429ms 0ms 18 2,601 263ms 0ms [ User: pharmisight - Total duration: 12s224ms - Times executed: 122806 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s224ms - Times executed: 122806 ]
-
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 = '211724632' 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 = '211721702' 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 = '211726802' ORDER BY orderlines0_.partDescription ASC;
Date: 2019-09-05 10:50:20 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:43:17 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 11:23:00 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 10s641ms 192 0ms 2s76ms 55ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = NULL, replenish = NULL, COMMENT = NULL, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = NULL WHERE flow_report_id = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 05 08 6 12ms 2ms 09 2 5ms 2ms 10 10 19ms 1ms 11 36 5s95ms 141ms 12 3 2ms 0ms 13 31 55ms 1ms 14 16 27ms 1ms 15 18 27ms 1ms 16 18 3s356ms 186ms 17 16 25ms 1ms 18 32 2s11ms 62ms 21 4 1ms 0ms [ User: pharmisight - Total duration: 10s641ms - Times executed: 192 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s641ms - Times executed: 192 ]
-
UPDATE FLOW_REPORTS SET routeNumber = '9565511', roundDeliveryDate = '2019-09-06', distributionPoint = 'C Irlam', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = 'Ceva replen delay', pharmacy100CheckTime = '2019-09-05 15:08:22.504', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 05:45:39', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 09:47:51.338', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 10:30:06.517', UPDATED = '2019-09-05 15:08:22.512', note = NULL WHERE FLOW_REPORT_ID = '200577452';
-
UPDATE FLOW_REPORTS SET routeNumber = '9565508', roundDeliveryDate = '2019-09-06', distributionPoint = 'Ed Didcott', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = 'Picking errors', pharmacy100CheckTime = '2019-09-05 17:20:31.689', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 13:45:40', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2019-09-05 10:11:38.959', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 12:30:26.604', UPDATED = '2019-09-05 17:20:31.709', note = NULL WHERE FLOW_REPORT_ID = '200577422';
-
UPDATE FLOW_REPORTS SET routeNumber = '9565505', roundDeliveryDate = '2019-09-06', distributionPoint = 'D Leeds', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2019-09-05 10:44:45.78', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 06:15:54', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 10:07:04.727', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 11:30:27.986', UPDATED = '2019-09-05 10:44:45.788', note = NULL WHERE FLOW_REPORT_ID = '200577392';
Date: 2019-09-05 15:10:28 Duration: 2s76ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:30:34 Duration: 1s954ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:44:56 Duration: 1s808ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 9s868ms 17,163 0ms 3ms 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 Sep 05 01 717 422ms 0ms 02 716 422ms 0ms 03 718 430ms 0ms 04 716 433ms 0ms 05 716 437ms 0ms 06 716 428ms 0ms 07 712 388ms 0ms 08 712 410ms 0ms 09 712 399ms 0ms 10 712 393ms 0ms 11 714 385ms 0ms 12 714 380ms 0ms 13 714 382ms 0ms 14 716 408ms 0ms 15 714 389ms 0ms 16 714 381ms 0ms 17 714 395ms 0ms 18 716 406ms 0ms 19 718 426ms 0ms 20 716 423ms 0ms 21 716 434ms 0ms 22 716 425ms 0ms 23 718 434ms 0ms 00 716 427ms 0ms [ User: symmetricds - Total duration: 9s868ms - Times executed: 17163 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s868ms - Times executed: 17163 ]
-
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-09-05 13:59:59 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 16:38:03 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 08:05:00 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 9s808ms 14,313 0ms 21ms 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 Sep 05 07 81 76ms 0ms 08 1,244 961ms 0ms 09 1,831 1s315ms 0ms 10 1,933 1s372ms 0ms 11 2,860 1s841ms 0ms 12 2,268 1s443ms 0ms 13 1,470 966ms 0ms 14 303 194ms 0ms 15 682 512ms 0ms 16 1,018 696ms 0ms 17 497 329ms 0ms 18 126 97ms 0ms [ User: pharmisight - Total duration: 9s808ms - Times executed: 14313 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s808ms - Times executed: 14313 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '220484152' WHERE ORDER_LINE_ACTIVITY_ID = '323828632';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '220487262' WHERE ORDER_LINE_ACTIVITY_ID = '323848712';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '220485802' WHERE ORDER_LINE_ACTIVITY_ID = '323916482';
Date: 2019-09-05 08:34:42 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 09:31:17 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 12:34:43 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 9s740ms 289 22ms 44ms 33ms SELECT datname, numbackends AS backends, xact_commit AS commits, xact_rollback AS rollbacks, blks_read AS read, blks_hit AS hit, ( SELECT sum(idx_scan) FROM pg_stat_user_indexes) AS idxscan, coalesce(( SELECT sum(idx_tup_read) FROM pg_stat_user_indexes), ?) AS idxtupread, coalesce(( SELECT sum(idx_tup_fetch) FROM pg_stat_user_indexes), ?) AS idxtupfetch, coalesce(( SELECT sum(idx_blks_read) FROM pg_statio_user_indexes), ?) AS idxblksread, coalesce(( SELECT sum(idx_blks_hit) FROM pg_statio_user_indexes), ?) AS idxblkshit, coalesce(( SELECT sum(seq_scan) FROM pg_stat_user_tables), ?) AS seqscan, coalesce(( SELECT sum(seq_tup_read) FROM pg_stat_user_tables), ?) AS seqtupread, tup_returned AS ret, tup_fetched AS FETCH, tup_inserted AS ins, tup_updated AS upd, tup_deleted AS del FROM pg_stat_database;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 05 01 13 462ms 35ms 02 12 434ms 36ms 03 12 412ms 34ms 04 12 423ms 35ms 05 12 413ms 34ms 06 12 413ms 34ms 07 13 413ms 31ms 08 12 427ms 35ms 09 12 370ms 30ms 10 12 385ms 32ms 11 12 401ms 33ms 12 12 373ms 31ms 13 13 424ms 32ms 14 12 372ms 31ms 15 12 392ms 32ms 16 12 359ms 29ms 17 12 424ms 35ms 18 12 409ms 34ms 19 13 464ms 35ms 20 12 415ms 34ms 21 12 424ms 35ms 22 12 387ms 32ms 23 12 429ms 35ms 00 9 304ms 33ms [ User: librenms - Total duration: 9s740ms - Times executed: 289 ]
[ Application: psql - Total duration: 9s740ms - Times executed: 289 ]
-
SELECT datname, numbackends AS backends, xact_commit AS commits, xact_rollback AS rollbacks, blks_read AS read, blks_hit AS hit, ( SELECT sum(idx_scan) FROM pg_stat_user_indexes) AS idxscan, coalesce(( SELECT sum(idx_tup_read) FROM pg_stat_user_indexes), 0) AS idxtupread, coalesce(( SELECT sum(idx_tup_fetch) FROM pg_stat_user_indexes), 0) AS idxtupfetch, coalesce(( SELECT sum(idx_blks_read) FROM pg_statio_user_indexes), 0) AS idxblksread, coalesce(( SELECT sum(idx_blks_hit) FROM pg_statio_user_indexes), 0) AS idxblkshit, coalesce(( SELECT sum(seq_scan) FROM pg_stat_user_tables), 0) AS seqscan, coalesce(( SELECT sum(seq_tup_read) FROM pg_stat_user_tables), 0) AS seqtupread, tup_returned AS ret, tup_fetched AS FETCH, tup_inserted AS ins, tup_updated AS upd, tup_deleted AS del FROM pg_stat_database;
-
SELECT datname, numbackends AS backends, xact_commit AS commits, xact_rollback AS rollbacks, blks_read AS read, blks_hit AS hit, ( SELECT sum(idx_scan) FROM pg_stat_user_indexes) AS idxscan, coalesce(( SELECT sum(idx_tup_read) FROM pg_stat_user_indexes), 0) AS idxtupread, coalesce(( SELECT sum(idx_tup_fetch) FROM pg_stat_user_indexes), 0) AS idxtupfetch, coalesce(( SELECT sum(idx_blks_read) FROM pg_statio_user_indexes), 0) AS idxblksread, coalesce(( SELECT sum(idx_blks_hit) FROM pg_statio_user_indexes), 0) AS idxblkshit, coalesce(( SELECT sum(seq_scan) FROM pg_stat_user_tables), 0) AS seqscan, coalesce(( SELECT sum(seq_tup_read) FROM pg_stat_user_tables), 0) AS seqtupread, tup_returned AS ret, tup_fetched AS FETCH, tup_inserted AS ins, tup_updated AS upd, tup_deleted AS del FROM pg_stat_database;
-
SELECT datname, numbackends AS backends, xact_commit AS commits, xact_rollback AS rollbacks, blks_read AS read, blks_hit AS hit, ( SELECT sum(idx_scan) FROM pg_stat_user_indexes) AS idxscan, coalesce(( SELECT sum(idx_tup_read) FROM pg_stat_user_indexes), 0) AS idxtupread, coalesce(( SELECT sum(idx_tup_fetch) FROM pg_stat_user_indexes), 0) AS idxtupfetch, coalesce(( SELECT sum(idx_blks_read) FROM pg_statio_user_indexes), 0) AS idxblksread, coalesce(( SELECT sum(idx_blks_hit) FROM pg_statio_user_indexes), 0) AS idxblkshit, coalesce(( SELECT sum(seq_scan) FROM pg_stat_user_tables), 0) AS seqscan, coalesce(( SELECT sum(seq_tup_read) FROM pg_stat_user_tables), 0) AS seqtupread, tup_returned AS ret, tup_fetched AS FETCH, tup_inserted AS ins, tup_updated AS upd, tup_deleted AS del FROM pg_stat_database;
Date: 2019-09-05 12:50:13 Duration: 44ms Database: postgres User: librenms Remote: [local] Application: psql
Date: 2019-09-05 01:50:10 Duration: 44ms Database: postgres User: librenms Remote: [local] Application: psql
Date: 2019-09-05 16:50:11 Duration: 41ms Database: postgres User: librenms Remote: [local] Application: psql
17 8s632ms 533,612 0ms 5ms 0ms SHOW TRANSACTION ISOLATION level;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 05 01 18,160 296ms 0ms 02 17,569 287ms 0ms 03 17,623 293ms 0ms 04 17,592 291ms 0ms 05 17,612 290ms 0ms 06 18,030 292ms 0ms 07 26,073 389ms 0ms 08 26,393 422ms 0ms 09 34,507 557ms 0ms 10 30,020 497ms 0ms 11 32,394 522ms 0ms 12 29,393 466ms 0ms 13 28,575 446ms 0ms 14 21,678 346ms 0ms 15 24,112 390ms 0ms 16 26,286 415ms 0ms 17 21,425 345ms 0ms 18 20,180 326ms 0ms 19 17,899 300ms 0ms 20 17,601 285ms 0ms 21 17,576 294ms 0ms 22 17,644 287ms 0ms 23 17,678 293ms 0ms 00 17,592 290ms 0ms [ User: symmetricds - Total duration: 8s546ms - Times executed: 531832 ]
[ User: pharmisight - Total duration: 85ms - Times executed: 1780 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s632ms - Times executed: 533609 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 3 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2019-09-05 02:31:57 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 09:47:59 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 09:47:59 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 7s938ms 148,210 0ms 5ms 0ms INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES (?, ?, ?, current_timestamp);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 05 01 36 5ms 0ms 02 704 46ms 0ms 03 332 25ms 0ms 04 916 57ms 0ms 05 382 26ms 0ms 06 3,578 228ms 0ms 07 51,546 1s988ms 0ms 08 11,178 697ms 0ms 09 10,336 640ms 0ms 10 11,348 716ms 0ms 11 16,194 995ms 0ms 12 12,400 710ms 0ms 13 8,964 520ms 0ms 14 2,596 154ms 0ms 15 4,338 278ms 0ms 16 6,466 403ms 0ms 17 3,156 185ms 0ms 18 1,186 87ms 0ms 19 70 8ms 0ms 20 48 6ms 0ms 21 165 13ms 0ms 22 424 21ms 0ms 23 1,142 80ms 0ms 00 705 41ms 0ms [ User: symmetricds - Total duration: 7s938ms - Times executed: 148210 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s938ms - Times executed: 148210 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('106469068', '9333809', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('106431709', '9329635', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('106427224', '9329112', 'redditch_cloud', current_timestamp);
Date: 2019-09-05 17:06:23 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 08:08:22 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 07:12:52 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 7s429ms 38 107ms 214ms 195ms 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 = ? AND _checks.auditedaserror IS TRUE AND _checks.created BETWEEN ? AND ? ORDER BY _checks.created DESC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 05 15 8 1s470ms 183ms 16 2 222ms 111ms 18 28 5s736ms 204ms [ User: pharmisight - Total duration: 7s429ms - Times executed: 38 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s429ms - Times executed: 38 ]
-
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 = '200001012' AND _checks.auditedaserror IS TRUE AND _checks.created BETWEEN '2019-09-01 00:00:00.178' AND '2019-09-30 00:00:00.178' ORDER BY _checks.created DESC;
-
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 = '200000571' AND _checks.auditedaserror IS TRUE AND _checks.created BETWEEN '2019-09-01 00:00:00.966' AND '2019-09-30 00:00:00.966' ORDER BY _checks.created DESC;
-
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 = '200000681' AND _checks.auditedaserror IS TRUE AND _checks.created BETWEEN '2019-09-01 00:00:00.429' AND '2019-09-30 00:00:00.429' ORDER BY _checks.created DESC;
Date: 2019-09-05 17:44:17 Duration: 214ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:41:50 Duration: 213ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:44:02 Duration: 213ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 5s947ms 3,182 0ms 120ms 1ms UPDATE orders SET sapordernumber = ?, answerordernumber = NULL, ordernumber = ?, routenumber = ?, billtotype = NULL, patientname = ?, firstname = ?, middlename = NULL, lastname = ?, patientdateofbirth = ?, patientpostcode = ?, customer = NULL, sapcustomerid = ?, status = ?, patientid = ?, isnotwithinage = NULL, expired = NULL, paperwork = NULL, deliverybarcode = NULL, deliverydate = ?, rxstatus = ?, createuser = ?, subordertype = ?, sapcontractid = ?, salesforceordernumber = ?, patienttype = ?, ordertype = ?, orderstatus = ?, nhsnumber = ?, individuallabelling = ?, orderid = ?, clusterlead = ?, clustergroup = ?, accountid = ?, reduction = NULL, reductionby = NULL, alertconfirmation = NULL, created = ?, updated = NULL, note = NULL WHERE order_id = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 05 06 113 97ms 0ms 07 1,470 1s464ms 0ms 08 457 1s17ms 2ms 09 198 597ms 3ms 10 159 532ms 3ms 11 244 605ms 2ms 12 206 513ms 2ms 13 125 307ms 2ms 14 21 49ms 2ms 15 66 275ms 4ms 16 97 384ms 3ms 17 24 98ms 4ms 18 2 2ms 1ms [ User: pharmisight - Total duration: 5s947ms - Times executed: 3182 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s947ms - Times executed: 3182 ]
-
UPDATE ORDERS SET sapOrderNumber = '9217669', answerOrderNumber = NULL, orderNumber = '5006032833', routeNumber = '9565534', billToType = NULL, patientName = 'Angela Jones', firstName = 'Angela', middleName = NULL, lastName = 'Jones', patientDateOfBirth = '1955-01-24', patientPostcode = 'B72 1DU', customer = NULL, sapCustomerId = '685111180', status = 'Checked', patientId = '111399960', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2019-09-06', rxStatus = '1', createUser = 'Lauren Rutter', subOrderType = 'Standard', sapContractId = '650105917', salesforceOrderNumber = '11604116', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '4465328931', individualLabelling = 'f', orderId = 'a4r4J0000002za4QAA', clusterLead = 'Johnathan Baysting', clusterGroup = 'BIRMINGHAM COMMUNITY HCARE NHST', accountId = '806200', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2019-09-05 06:16:56.741', UPDATED = NULL, note = NULL WHERE ORDER_ID = '211725122';
-
UPDATE ORDERS SET sapOrderNumber = '9217528', answerOrderNumber = NULL, orderNumber = '5006045846', routeNumber = '9565511', billToType = NULL, patientName = 'Icilda Taylor', firstName = 'Icilda', middleName = NULL, lastName = 'Taylor', patientDateOfBirth = '1928-05-24', patientPostcode = 'S2 4SR', customer = NULL, sapCustomerId = '685185778', status = 'Uploaded', patientId = '200406052', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2019-09-06', rxStatus = '3', createUser = 'Caroline Burden', subOrderType = 'Standard', sapContractId = '650105894', salesforceOrderNumber = '11604728', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '4648351932', individualLabelling = 'f', orderId = 'a4r4J00000030N1QAI', clusterLead = 'Sarah Carter', clusterGroup = 'SHEFFIELD TEACHING HOSPITALS NHSFT', accountId = '129402', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2019-09-05 06:16:56.805', UPDATED = NULL, note = NULL WHERE ORDER_ID = '211728822';
-
UPDATE ORDERS SET sapOrderNumber = '9220172', answerOrderNumber = NULL, orderNumber = '5006041651', routeNumber = '9565515', billToType = NULL, patientName = 'Michael Starace', firstName = 'Michael', middleName = NULL, lastName = 'Starace', patientDateOfBirth = '1992-03-13', patientPostcode = 'CB1 3TG', customer = NULL, sapCustomerId = '685127050', status = 'Uploaded', patientId = '200003660', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2019-09-06', rxStatus = '3', createUser = 'Gill Feltham', subOrderType = 'Standard', sapContractId = '650105986', salesforceOrderNumber = '11604263', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '4262998878', individualLabelling = 'f', orderId = 'a4r4J0000002zlqQAA', clusterLead = 'Natasha Page', clusterGroup = 'CAMBRIDGE UNIVERSITY HOSPS NHSFT', accountId = '863128', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2019-09-05 06:16:56.755', UPDATED = NULL, note = NULL WHERE ORDER_ID = '211726032';
Date: 2019-09-05 15:34:17 Duration: 120ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 06:26:43 Duration: 73ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 06:26:42 Duration: 54ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 533,612 8s632ms 0ms 5ms 0ms SHOW TRANSACTION ISOLATION level;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 05 01 18,160 296ms 0ms 02 17,569 287ms 0ms 03 17,623 293ms 0ms 04 17,592 291ms 0ms 05 17,612 290ms 0ms 06 18,030 292ms 0ms 07 26,073 389ms 0ms 08 26,393 422ms 0ms 09 34,507 557ms 0ms 10 30,020 497ms 0ms 11 32,394 522ms 0ms 12 29,393 466ms 0ms 13 28,575 446ms 0ms 14 21,678 346ms 0ms 15 24,112 390ms 0ms 16 26,286 415ms 0ms 17 21,425 345ms 0ms 18 20,180 326ms 0ms 19 17,899 300ms 0ms 20 17,601 285ms 0ms 21 17,576 294ms 0ms 22 17,644 287ms 0ms 23 17,678 293ms 0ms 00 17,592 290ms 0ms [ User: symmetricds - Total duration: 8s546ms - Times executed: 531832 ]
[ User: pharmisight - Total duration: 85ms - Times executed: 1780 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s632ms - Times executed: 533609 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 3 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2019-09-05 02:31:57 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 09:47:59 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 09:47:59 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 222,529 1s578ms 0ms 1ms 0ms BEGIN;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 05 01 6,586 42ms 0ms 02 5,574 35ms 0ms 03 5,590 36ms 0ms 04 5,580 36ms 0ms 05 5,582 35ms 0ms 06 5,962 40ms 0ms 07 13,229 95ms 0ms 08 14,122 109ms 0ms 09 15,843 117ms 0ms 10 14,912 113ms 0ms 11 17,280 132ms 0ms 12 14,678 105ms 0ms 13 13,910 99ms 0ms 14 9,093 62ms 0ms 15 10,757 78ms 0ms 16 12,528 90ms 0ms 17 8,645 61ms 0ms 18 8,347 61ms 0ms 19 6,360 41ms 0ms 20 5,588 37ms 0ms 21 5,592 36ms 0ms 22 5,599 36ms 0ms 23 5,608 36ms 0ms 00 5,564 36ms 0ms [ User: symmetricds - Total duration: 1s209ms - Times executed: 187837 ]
[ User: pharmisight - Total duration: 369ms - Times executed: 34692 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s577ms - Times executed: 222474 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 55 ]
-
BEGIN;
-
BEGIN;
-
BEGIN;
Date: 2019-09-05 19:31:05 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 16:27:30 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 05:47:58 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 222,519 32s39ms 0ms 234ms 0ms COMMIT;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 05 01 6,584 585ms 0ms 02 5,574 198ms 0ms 03 5,590 203ms 0ms 04 5,580 202ms 0ms 05 5,581 198ms 0ms 06 5,962 311ms 0ms 07 13,227 2s244ms 0ms 08 14,120 2s800ms 0ms 09 15,843 4s245ms 0ms 10 14,912 3s470ms 0ms 11 17,279 4s194ms 0ms 12 14,678 3s69ms 0ms 13 13,910 2s531ms 0ms 14 9,093 1s67ms 0ms 15 10,752 1s558ms 0ms 16 12,532 1s835ms 0ms 17 8,641 941ms 0ms 18 8,350 779ms 0ms 19 6,360 544ms 0ms 20 5,588 190ms 0ms 21 5,592 267ms 0ms 22 5,599 196ms 0ms 23 5,608 196ms 0ms 00 5,564 203ms 0ms [ User: symmetricds - Total duration: 23s165ms - Times executed: 187840 ]
[ User: pharmisight - Total duration: 8s874ms - Times executed: 34679 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31s972ms - Times executed: 222473 ]
[ Application: [unknown] - Total duration: 67ms - Times executed: 46 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-09-05 07:00:04 Duration: 234ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 08:50:17 Duration: 130ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:50:51 Duration: 128ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 219,833 2s532ms 0ms 3ms 0ms SELECT ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 05 01 7,846 89ms 0ms 02 6,420 78ms 0ms 03 6,439 77ms 0ms 04 6,427 77ms 0ms 05 6,459 79ms 0ms 06 6,673 79ms 0ms 07 11,029 120ms 0ms 08 11,344 128ms 0ms 09 16,395 185ms 0ms 10 13,533 155ms 0ms 11 14,694 167ms 0ms 12 13,308 145ms 0ms 13 12,747 139ms 0ms 14 8,837 102ms 0ms 15 10,244 115ms 0ms 16 11,454 126ms 0ms 17 8,650 99ms 0ms 18 7,944 93ms 0ms 19 7,205 85ms 0ms 20 6,430 76ms 0ms 21 6,439 75ms 0ms 22 6,445 77ms 0ms 23 6,455 78ms 0ms 00 6,416 79ms 0ms [ User: symmetricds - Total duration: 2s532ms - Times executed: 219833 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s532ms - Times executed: 219833 ]
-
SELECT 1;
-
SELECT 1;
-
SELECT 1;
Date: 2019-09-05 01:31:57 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 23:38:07 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 06:59:59 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 148,210 7s938ms 0ms 5ms 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 Sep 05 01 36 5ms 0ms 02 704 46ms 0ms 03 332 25ms 0ms 04 916 57ms 0ms 05 382 26ms 0ms 06 3,578 228ms 0ms 07 51,546 1s988ms 0ms 08 11,178 697ms 0ms 09 10,336 640ms 0ms 10 11,348 716ms 0ms 11 16,194 995ms 0ms 12 12,400 710ms 0ms 13 8,964 520ms 0ms 14 2,596 154ms 0ms 15 4,338 278ms 0ms 16 6,466 403ms 0ms 17 3,156 185ms 0ms 18 1,186 87ms 0ms 19 70 8ms 0ms 20 48 6ms 0ms 21 165 13ms 0ms 22 424 21ms 0ms 23 1,142 80ms 0ms 00 705 41ms 0ms [ User: symmetricds - Total duration: 7s938ms - Times executed: 148210 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s938ms - Times executed: 148210 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('106469068', '9333809', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('106431709', '9329635', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('106427224', '9329112', 'redditch_cloud', current_timestamp);
Date: 2019-09-05 17:06:23 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 08:08:22 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 07:12:52 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 122,806 12s224ms 0ms 5ms 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 Sep 05 07 199 22ms 0ms 08 7,446 746ms 0ms 09 21,495 2s185ms 0ms 10 19,119 1s914ms 0ms 11 29,472 2s957ms 0ms 12 12,557 1s153ms 0ms 13 9,494 937ms 0ms 14 3,946 350ms 0ms 15 5,114 545ms 0ms 16 7,487 718ms 0ms 17 3,876 429ms 0ms 18 2,601 263ms 0ms [ User: pharmisight - Total duration: 12s224ms - Times executed: 122806 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s224ms - Times executed: 122806 ]
-
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 = '211724632' 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 = '211721702' 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 = '211726802' ORDER BY orderlines0_.partDescription ASC;
Date: 2019-09-05 10:50:20 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:43:17 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 11:23:00 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 117,549 5s497ms 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 Sep 05 07 171 9ms 0ms 08 7,015 342ms 0ms 09 20,867 995ms 0ms 10 18,373 877ms 0ms 11 28,464 1s361ms 0ms 12 11,939 541ms 0ms 13 8,848 388ms 0ms 14 3,762 164ms 0ms 15 4,865 231ms 0ms 16 7,133 301ms 0ms 17 3,713 168ms 0ms 18 2,399 115ms 0ms [ User: pharmisight - Total duration: 5s497ms - Times executed: 117549 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s497ms - Times executed: 117549 ]
-
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 = '5006047682';
-
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 = '5006039717';
-
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 = '5006040983';
Date: 2019-09-05 11:57:00 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 11:57:00 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 08:48:14 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 99,937 30s644ms 0ms 19ms 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 Sep 05 07 333 109ms 0ms 08 532 232ms 0ms 09 1,451 778ms 0ms 10 1,392 678ms 0ms 11 8,148 2s845ms 0ms 12 16,837 4s887ms 0ms 13 19,641 5s655ms 0ms 14 12,713 3s737ms 0ms 15 11,148 3s289ms 0ms 16 15,330 4s469ms 0ms 17 6,113 1s882ms 0ms 18 6,299 2s78ms 0ms [ User: pharmisight - Total duration: 30s644ms - Times executed: 99937 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 30s644ms - Times executed: 99937 ]
-
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 = '200616762' 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 = '200616892' 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 = '200617032' ORDER BY orders0_.order_id ASC;
Date: 2019-09-05 11:55:58 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 12:35:01 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 16:04:52 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 88,873 1m10s 0ms 16ms 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 Sep 05 07 278 195ms 0ms 08 19 22ms 1ms 09 36 74ms 2ms 10 54 86ms 1ms 11 6,499 5s447ms 0ms 12 15,431 11s713ms 0ms 13 17,971 13s857ms 0ms 14 11,726 9s168ms 0ms 15 10,594 8s380ms 0ms 16 14,594 11s552ms 0ms 17 5,577 4s628ms 0ms 18 6,094 5s574ms 0ms [ User: pharmisight - Total duration: 1m10s - Times executed: 88873 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m10s - Times executed: 88873 ]
-
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 = '200616732' 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 = '200616802' 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 = '200616732' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-09-05 11:08:00 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 14:13:42 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 16:53:12 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 52,704 2s898ms 0ms 7ms 0ms SELECT * FROM order_rounds r WHERE r.flowreport = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 05 06 4 0ms 0ms 07 149 8ms 0ms 09 92 5ms 0ms 11 3,634 204ms 0ms 12 8,930 473ms 0ms 13 10,494 563ms 0ms 14 6,861 378ms 0ms 15 6,121 330ms 0ms 16 8,985 489ms 0ms 17 3,222 182ms 0ms 18 4,059 254ms 0ms 21 153 7ms 0ms [ User: pharmisight - Total duration: 2s898ms - Times executed: 52704 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s898ms - Times executed: 52704 ]
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200577262';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200577312';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200577692';
Date: 2019-09-05 12:38:20 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:02:51 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 11:42:47 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 32,313 1s868ms 0ms 1ms 0ms SELECT itembarcod0_.item_id AS item_id12_15_0_, itembarcod0_.item_barcode_id AS item_bar1_16_0_, itembarcod0_.item_barcode_id AS item_bar1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hassiblings AS hassibli4_16_1_, itembarcod0_.itembarcodetype AS itembarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdby AS createdb8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedby AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.item_id AS item_id12_16_1_ FROM item_barcodes itembarcod0_ WHERE itembarcod0_.item_id = ? ORDER BY itembarcod0_.barcode ASC;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 05 01 2,751 102ms 0ms 02 917 40ms 0ms 03 917 55ms 0ms 04 917 37ms 0ms 05 917 47ms 0ms 06 917 52ms 0ms 07 1,006 59ms 0ms 08 1,603 108ms 0ms 09 2,220 151ms 0ms 10 2,304 158ms 0ms 11 2,684 186ms 0ms 12 2,141 150ms 0ms 13 2,034 115ms 0ms 14 1,090 65ms 0ms 15 1,468 93ms 0ms 16 1,642 105ms 0ms 17 1,201 61ms 0ms 18 999 58ms 0ms 19 917 51ms 0ms 20 917 52ms 0ms 21 917 31ms 0ms 22 917 30ms 0ms 23 917 50ms 0ms [ User: pharmisight - Total duration: 1s868ms - Times executed: 32313 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s868ms - Times executed: 32313 ]
-
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 = '32969679' 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 = '3592' 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 = '3047' ORDER BY itembarcod0_.barcode ASC;
Date: 2019-09-05 00:31:27 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 15:40:01 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 11:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 26,390 1s356ms 0ms 5ms 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 Sep 05 01 1,120 63ms 0ms 02 1,046 55ms 0ms 03 1,048 55ms 0ms 04 1,046 56ms 0ms 05 1,046 56ms 0ms 06 1,050 55ms 0ms 07 1,054 51ms 0ms 08 1,039 51ms 0ms 09 1,147 57ms 0ms 10 1,186 60ms 0ms 11 1,196 59ms 0ms 12 1,222 65ms 0ms 13 1,183 57ms 0ms 14 1,131 59ms 0ms 15 1,170 59ms 0ms 16 1,152 54ms 0ms 17 1,099 57ms 0ms 18 1,101 57ms 0ms 19 1,118 57ms 0ms 20 1,046 51ms 0ms 21 1,041 53ms 0ms 22 1,052 52ms 0ms 23 1,053 55ms 0ms 00 1,044 54ms 0ms [ User: symmetricds - Total duration: 1s356ms - Times executed: 26390 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s356ms - Times executed: 26390 ]
-
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-09-05 11:28:00 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 00:27:56 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:41:03 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 26,373 1s327ms 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 Sep 05 01 3,099 112ms 0ms 02 1,033 44ms 0ms 03 1,033 62ms 0ms 04 1,033 40ms 0ms 05 1,033 51ms 0ms 06 1,033 59ms 0ms 07 1,154 65ms 0ms 08 1,056 61ms 0ms 09 1,096 62ms 0ms 10 1,061 59ms 0ms 11 1,216 76ms 0ms 12 1,068 70ms 0ms 13 1,062 42ms 0ms 14 1,034 59ms 0ms 15 1,076 60ms 0ms 16 1,048 58ms 0ms 17 1,040 44ms 0ms 18 1,033 58ms 0ms 19 1,033 56ms 0ms 20 1,033 57ms 0ms 21 1,033 34ms 0ms 22 1,033 33ms 0ms 23 1,033 56ms 0ms [ User: pharmisight - Total duration: 1s327ms - Times executed: 26373 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s327ms - Times executed: 26373 ]
-
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 = '20482638' 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 = '3132' 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 = '33074397' ORDER BY itemcodes0_.code ASC;
Date: 2019-09-05 11:40:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 11:40:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 05:40:01 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 25,258 665ms 0ms 1ms 0ms SELECT nextval(?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 05 06 552 14ms 0ms 07 8,568 170ms 0ms 08 1,839 60ms 0ms 09 1,931 57ms 0ms 10 2,150 66ms 0ms 11 3,139 86ms 0ms 12 2,383 62ms 0ms 13 1,614 47ms 0ms 14 344 10ms 0ms 15 760 29ms 0ms 16 1,212 33ms 0ms 17 543 18ms 0ms 18 183 7ms 0ms 21 40 1ms 0ms [ User: pharmisight - Total duration: 665ms - Times executed: 25258 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 665ms - Times executed: 25258 ]
-
SELECT nextval('alert_confirmations_sequence');
-
SELECT nextval('order_round_activities_sequence');
-
SELECT nextval('eps_checks_sequence');
Date: 2019-09-05 14:43:12 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:44:48 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 06:25:51 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 22,600 1s210ms 0ms 2ms 0ms SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 05 01 720 38ms 0ms 02 726 38ms 0ms 03 728 38ms 0ms 04 726 39ms 0ms 05 726 38ms 0ms 06 744 39ms 0ms 07 997 53ms 0ms 08 1,006 53ms 0ms 09 1,783 92ms 0ms 10 1,316 71ms 0ms 11 1,376 73ms 0ms 12 1,270 66ms 0ms 13 1,248 63ms 0ms 14 926 49ms 0ms 15 1,036 55ms 0ms 16 1,154 60ms 0ms 17 912 49ms 0ms 18 850 46ms 0ms 19 724 40ms 0ms 20 726 40ms 0ms 21 728 40ms 0ms 22 726 39ms 0ms 23 728 39ms 0ms 00 724 40ms 0ms [ User: symmetricds - Total duration: 1s210ms - Times executed: 22600 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s210ms - Times executed: 22600 ]
-
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 = '2';
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = '0';
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = '1';
Date: 2019-09-05 06:09:45 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 03:27:47 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 07:51:53 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 20,048 320ms 0ms 1ms 0ms SET session characteristics AS TRANSACTION ISOLATION level read UNCOMMITTED;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 05 01 380 6ms 0ms 02 392 6ms 0ms 03 393 7ms 0ms 04 392 7ms 0ms 05 398 7ms 0ms 06 423 7ms 0ms 07 934 13ms 0ms 08 961 15ms 0ms 09 2,766 39ms 0ms 10 1,566 25ms 0ms 11 1,710 26ms 0ms 12 1,480 21ms 0ms 13 1,441 22ms 0ms 14 790 12ms 0ms 15 1,018 16ms 0ms 16 1,251 19ms 0ms 17 764 13ms 0ms 18 643 10ms 0ms 19 383 6ms 0ms 20 391 6ms 0ms 21 396 6ms 0ms 22 392 7ms 0ms 23 393 7ms 0ms 00 391 7ms 0ms [ User: symmetricds - Total duration: 320ms - Times executed: 20048 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 320ms - Times executed: 20048 ]
-
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-09-05 12:43:00 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 16:57:03 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 12:44:00 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 20,045 271ms 0ms 0ms 0ms SET session characteristics AS TRANSACTION ISOLATION level read COMMITTED;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 05 01 380 4ms 0ms 02 392 5ms 0ms 03 393 5ms 0ms 04 392 5ms 0ms 05 398 5ms 0ms 06 421 5ms 0ms 07 936 12ms 0ms 08 959 12ms 0ms 09 2,768 36ms 0ms 10 1,566 22ms 0ms 11 1,707 23ms 0ms 12 1,483 19ms 0ms 13 1,439 18ms 0ms 14 792 10ms 0ms 15 1,015 14ms 0ms 16 1,251 17ms 0ms 17 767 10ms 0ms 18 640 8ms 0ms 19 385 5ms 0ms 20 392 5ms 0ms 21 396 5ms 0ms 22 392 5ms 0ms 23 393 5ms 0ms 00 388 5ms 0ms [ User: symmetricds - Total duration: 271ms - Times executed: 20045 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 271ms - Times executed: 20045 ]
-
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-09-05 09:06:59 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:16:03 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 09:07:59 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 19,619 1s210ms 0ms 8ms 0ms SELECT orderlinea0_.order_line_id AS order_l16_24_0_, orderlinea0_.order_line_activity_id AS order_li1_25_0_, orderlinea0_.order_line_activity_id AS order_li1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedqty AS scannedq4_25_1_, orderlinea0_.assignedqty AS assigned5_25_1_, orderlinea0_.backorderqty AS backorde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodedate AS barcoded8_25_1_, orderlinea0_.barcodebatch AS barcodeb9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelqty AS cancelq11_25_1_, orderlinea0_.reducedqty AS reduced12_25_1_, orderlinea0_.mispickitemcode AS mispick13_25_1_, orderlinea0_.created AS created14_25_1_, orderlinea0_.missinglabels AS missing15_25_1_ FROM order_line_activities orderlinea0_ WHERE orderlinea0_.order_line_id = ? ORDER BY orderlinea0_.created ASC;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 05 07 119 6ms 0ms 08 1,272 83ms 0ms 09 2,137 124ms 0ms 10 2,665 174ms 0ms 11 3,608 229ms 0ms 12 2,308 128ms 0ms 13 2,676 160ms 0ms 14 762 47ms 0ms 15 1,109 68ms 0ms 16 1,482 86ms 0ms 17 675 40ms 0ms 18 806 58ms 0ms [ User: pharmisight - Total duration: 1s210ms - Times executed: 19619 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s210ms - Times executed: 19619 ]
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '220431342' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '220490122' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '220479192' ORDER BY orderlinea0_.CREATED ASC;
Date: 2019-09-05 10:38:57 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:50:11 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:06:18 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 18,029 892ms 0ms 18ms 0ms SELECT this_.dlx_barcode AS dlx_barc1_3_0_, this_.ordernumber AS ordernum2_3_0_, this_.pickdatetime AS pickdate3_3_0_, this_.picker AS picker4_3_0_, this_.created AS created5_3_0_, this_.partcode AS partcode6_3_0_, this_.orderqty AS orderqty7_3_0_ FROM dlx_barcodes this_ WHERE this_.ordernumber = ? AND this_.partcode = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 05 07 178 12ms 0ms 08 1,358 69ms 0ms 09 2,486 121ms 0ms 10 2,722 135ms 0ms 11 3,185 158ms 0ms 12 2,387 116ms 0ms 13 2,191 100ms 0ms 14 347 16ms 0ms 15 1,019 65ms 0ms 16 1,428 64ms 0ms 17 562 24ms 0ms 18 166 7ms 0ms [ User: pharmisight - Total duration: 892ms - Times executed: 18029 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 892ms - Times executed: 18029 ]
-
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 = '5005915651' AND this_.partCode = '71951';
-
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 = '5006040754' AND this_.partCode = '132032';
-
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 = '5006036476' AND this_.partCode = '79749';
Date: 2019-09-05 14:40:29 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 06:56:29 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 12:30:23 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 17,262 509ms 0ms 1ms 0ms SELECT node_id, queue FROM sym_extract_request WHERE status = ? GROUP BY node_id, queue;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 05 01 720 21ms 0ms 02 720 21ms 0ms 03 718 21ms 0ms 04 720 21ms 0ms 05 720 21ms 0ms 06 718 21ms 0ms 07 720 20ms 0ms 08 720 21ms 0ms 09 720 20ms 0ms 10 718 21ms 0ms 11 718 20ms 0ms 12 720 20ms 0ms 13 718 20ms 0ms 14 720 21ms 0ms 15 720 20ms 0ms 16 720 19ms 0ms 17 718 21ms 0ms 18 718 21ms 0ms 19 720 21ms 0ms 20 718 21ms 0ms 21 720 22ms 0ms 22 720 23ms 0ms 23 720 21ms 0ms 00 718 21ms 0ms [ User: symmetricds - Total duration: 509ms - Times executed: 17262 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 509ms - Times executed: 17262 ]
-
SELECT node_id, queue FROM sym_extract_request WHERE status = 'NE' GROUP BY node_id, queue;
-
SELECT node_id, queue FROM sym_extract_request WHERE status = 'NE' GROUP BY node_id, queue;
-
SELECT node_id, queue FROM sym_extract_request WHERE status = 'NE' GROUP BY node_id, queue;
Date: 2019-09-05 01:12:05 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 02:12:08 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 04:18:25 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 107ms 214ms 195ms 38 7s429ms 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 = ? AND _checks.auditedaserror IS TRUE AND _checks.created BETWEEN ? AND ? ORDER BY _checks.created DESC;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 05 15 8 1s470ms 183ms 16 2 222ms 111ms 18 28 5s736ms 204ms [ User: pharmisight - Total duration: 7s429ms - Times executed: 38 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s429ms - Times executed: 38 ]
-
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 = '200001012' AND _checks.auditedaserror IS TRUE AND _checks.created BETWEEN '2019-09-01 00:00:00.178' AND '2019-09-30 00:00:00.178' ORDER BY _checks.created DESC;
-
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 = '200000571' AND _checks.auditedaserror IS TRUE AND _checks.created BETWEEN '2019-09-01 00:00:00.966' AND '2019-09-30 00:00:00.966' ORDER BY _checks.created DESC;
-
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 = '200000681' AND _checks.auditedaserror IS TRUE AND _checks.created BETWEEN '2019-09-01 00:00:00.429' AND '2019-09-30 00:00:00.429' ORDER BY _checks.created DESC;
Date: 2019-09-05 17:44:17 Duration: 214ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:41:50 Duration: 213ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:44:02 Duration: 213ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 97ms 224ms 188ms 141 26s598ms SELECT this_.order_round_id AS order_ro1_28_0_, this_.routenumber AS routenum2_28_0_, this_.uploadedbyuserid AS uploaded3_28_0_, this_.uploadedbyusername AS uploaded4_28_0_, this_.updatedby AS updatedb5_28_0_, this_.updatedbyusername AS updatedb6_28_0_, this_.orderroundnote AS orderrou7_28_0_, this_.firstcheckout AS firstche8_28_0_, this_.allordersscannedok AS allorder9_28_0_, this_.status AS status10_28_0_, this_.reopenedtimes AS reopene11_28_0_, this_.lastreopenbyid AS lastreo12_28_0_, this_.lastdonecheckin AS lastdon13_28_0_, this_.lastdonebyid AS lastdon14_28_0_, this_.lastdonebyusername AS lastdon15_28_0_, this_.missinglabels AS missing16_28_0_, this_.rounddeliverydate AS roundde17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadupdated AS uploadu21_28_0_, this_.patientalert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxstatus AS rxstatu24_28_0_, this_.distributionpoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedby AS audited27_28_0_, this_.auditstatus AS auditst28_28_0_, this_.uploadfinished AS uploadf29_28_0_, this_.lastrxcompleted AS lastrxc30_28_0_, this_.lastrxcompletedby AS lastrxc31_28_0_, this_.orderroundnotereadby AS orderro32_28_0_, this_.routeorderlinesqty AS routeor33_28_0_, this_.dlxpickedlinesqty AS dlxpick34_28_0_, this_.flowreport AS flowrep35_28_0_, this_.created AS created36_28_0_, this_.createdby AS created37_28_0_, this_.updated AS updated38_28_0_, this_.note AS note39_28_0_ FROM order_rounds this_ WHERE this_.routenumber ILIKE ? ORDER BY this_.routenumber ASC;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 05 09 22 4s157ms 188ms 10 20 3s710ms 185ms 11 16 3s97ms 193ms 12 4 636ms 159ms 13 22 4s27ms 183ms 14 21 4s59ms 193ms 15 13 2s450ms 188ms 16 9 1s696ms 188ms 17 7 1s375ms 196ms 18 7 1s387ms 198ms [ User: pharmisight - Total duration: 26s598ms - Times executed: 141 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s598ms - Times executed: 141 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9565496%' ORDER BY this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9560754%' ORDER BY this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9565504%' ORDER BY this_.routeNumber ASC;
Date: 2019-09-05 08:55:09 Duration: 224ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:40:26 Duration: 220ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 11:02:19 Duration: 216ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 40ms 123ms 74ms 204 15s293ms SELECT epscheckli0_.eps_check_id AS eps_chec9_5_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_1_, epscheckli0_.orderlineid AS orderlin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.issnomedmismatch AS issnomed6_6_1_, epscheckli0_.isorderqtymismatch AS isorderq7_6_1_, epscheckli0_.ishit AS ishit8_6_1_ FROM eps_check_lines epscheckli0_ WHERE epscheckli0_.eps_check_id = ? ORDER BY epscheckli0_.description ASC;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 05 07 25 1s864ms 74ms 08 51 4s77ms 79ms 09 4 327ms 81ms 10 35 2s785ms 79ms 11 76 5s496ms 72ms 12 12 695ms 57ms 13 1 47ms 47ms [ User: pharmisight - Total duration: 15s293ms - Times executed: 204 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 15s293ms - Times executed: 204 ]
-
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 = '202066472' 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 = '202067812' 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 = '202065582' ORDER BY epscheckli0_.description ASC;
Date: 2019-09-05 07:00:02 Duration: 123ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:00:00 Duration: 101ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 09:21:51 Duration: 99ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 0ms 2s76ms 55ms 192 10s641ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = NULL, replenish = NULL, COMMENT = NULL, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = NULL WHERE flow_report_id = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 05 08 6 12ms 2ms 09 2 5ms 2ms 10 10 19ms 1ms 11 36 5s95ms 141ms 12 3 2ms 0ms 13 31 55ms 1ms 14 16 27ms 1ms 15 18 27ms 1ms 16 18 3s356ms 186ms 17 16 25ms 1ms 18 32 2s11ms 62ms 21 4 1ms 0ms [ User: pharmisight - Total duration: 10s641ms - Times executed: 192 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s641ms - Times executed: 192 ]
-
UPDATE FLOW_REPORTS SET routeNumber = '9565511', roundDeliveryDate = '2019-09-06', distributionPoint = 'C Irlam', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = 'Ceva replen delay', pharmacy100CheckTime = '2019-09-05 15:08:22.504', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 05:45:39', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 09:47:51.338', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 10:30:06.517', UPDATED = '2019-09-05 15:08:22.512', note = NULL WHERE FLOW_REPORT_ID = '200577452';
-
UPDATE FLOW_REPORTS SET routeNumber = '9565508', roundDeliveryDate = '2019-09-06', distributionPoint = 'Ed Didcott', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = 'Picking errors', pharmacy100CheckTime = '2019-09-05 17:20:31.689', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 13:45:40', failedTargetPickTime = 't', actualPaperworkCompleteTime = '2019-09-05 10:11:38.959', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 12:30:26.604', UPDATED = '2019-09-05 17:20:31.709', note = NULL WHERE FLOW_REPORT_ID = '200577422';
-
UPDATE FLOW_REPORTS SET routeNumber = '9565505', roundDeliveryDate = '2019-09-06', distributionPoint = 'D Leeds', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2019-09-05 10:44:45.78', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-09-05 06:15:54', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2019-09-05 10:07:04.727', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-09-05 11:30:27.986', UPDATED = '2019-09-05 10:44:45.788', note = NULL WHERE FLOW_REPORT_ID = '200577392';
Date: 2019-09-05 15:10:28 Duration: 2s76ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:30:34 Duration: 1s954ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:44:56 Duration: 1s808ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 19ms 77ms 34ms 932 31s853ms SELECT count(*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 05 07 2 82ms 41ms 08 11 440ms 40ms 09 43 1s761ms 40ms 10 45 1s728ms 38ms 11 53 1s797ms 33ms 12 69 2s65ms 29ms 13 122 3s816ms 31ms 14 82 2s645ms 32ms 15 106 3s535ms 33ms 16 180 5s968ms 33ms 17 69 2s361ms 34ms 18 150 5s648ms 37ms [ User: pharmisight - Total duration: 31s853ms - Times executed: 932 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31s853ms - Times executed: 932 ]
-
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-09-05 15:39:53 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 07:11:13 Duration: 71ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:00:41 Duration: 70ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 22ms 44ms 33ms 289 9s740ms SELECT datname, numbackends AS backends, xact_commit AS commits, xact_rollback AS rollbacks, blks_read AS read, blks_hit AS hit, ( SELECT sum(idx_scan) FROM pg_stat_user_indexes) AS idxscan, coalesce(( SELECT sum(idx_tup_read) FROM pg_stat_user_indexes), ?) AS idxtupread, coalesce(( SELECT sum(idx_tup_fetch) FROM pg_stat_user_indexes), ?) AS idxtupfetch, coalesce(( SELECT sum(idx_blks_read) FROM pg_statio_user_indexes), ?) AS idxblksread, coalesce(( SELECT sum(idx_blks_hit) FROM pg_statio_user_indexes), ?) AS idxblkshit, coalesce(( SELECT sum(seq_scan) FROM pg_stat_user_tables), ?) AS seqscan, coalesce(( SELECT sum(seq_tup_read) FROM pg_stat_user_tables), ?) AS seqtupread, tup_returned AS ret, tup_fetched AS FETCH, tup_inserted AS ins, tup_updated AS upd, tup_deleted AS del FROM pg_stat_database;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 05 01 13 462ms 35ms 02 12 434ms 36ms 03 12 412ms 34ms 04 12 423ms 35ms 05 12 413ms 34ms 06 12 413ms 34ms 07 13 413ms 31ms 08 12 427ms 35ms 09 12 370ms 30ms 10 12 385ms 32ms 11 12 401ms 33ms 12 12 373ms 31ms 13 13 424ms 32ms 14 12 372ms 31ms 15 12 392ms 32ms 16 12 359ms 29ms 17 12 424ms 35ms 18 12 409ms 34ms 19 13 464ms 35ms 20 12 415ms 34ms 21 12 424ms 35ms 22 12 387ms 32ms 23 12 429ms 35ms 00 9 304ms 33ms [ User: librenms - Total duration: 9s740ms - Times executed: 289 ]
[ Application: psql - Total duration: 9s740ms - Times executed: 289 ]
-
SELECT datname, numbackends AS backends, xact_commit AS commits, xact_rollback AS rollbacks, blks_read AS read, blks_hit AS hit, ( SELECT sum(idx_scan) FROM pg_stat_user_indexes) AS idxscan, coalesce(( SELECT sum(idx_tup_read) FROM pg_stat_user_indexes), 0) AS idxtupread, coalesce(( SELECT sum(idx_tup_fetch) FROM pg_stat_user_indexes), 0) AS idxtupfetch, coalesce(( SELECT sum(idx_blks_read) FROM pg_statio_user_indexes), 0) AS idxblksread, coalesce(( SELECT sum(idx_blks_hit) FROM pg_statio_user_indexes), 0) AS idxblkshit, coalesce(( SELECT sum(seq_scan) FROM pg_stat_user_tables), 0) AS seqscan, coalesce(( SELECT sum(seq_tup_read) FROM pg_stat_user_tables), 0) AS seqtupread, tup_returned AS ret, tup_fetched AS FETCH, tup_inserted AS ins, tup_updated AS upd, tup_deleted AS del FROM pg_stat_database;
-
SELECT datname, numbackends AS backends, xact_commit AS commits, xact_rollback AS rollbacks, blks_read AS read, blks_hit AS hit, ( SELECT sum(idx_scan) FROM pg_stat_user_indexes) AS idxscan, coalesce(( SELECT sum(idx_tup_read) FROM pg_stat_user_indexes), 0) AS idxtupread, coalesce(( SELECT sum(idx_tup_fetch) FROM pg_stat_user_indexes), 0) AS idxtupfetch, coalesce(( SELECT sum(idx_blks_read) FROM pg_statio_user_indexes), 0) AS idxblksread, coalesce(( SELECT sum(idx_blks_hit) FROM pg_statio_user_indexes), 0) AS idxblkshit, coalesce(( SELECT sum(seq_scan) FROM pg_stat_user_tables), 0) AS seqscan, coalesce(( SELECT sum(seq_tup_read) FROM pg_stat_user_tables), 0) AS seqtupread, tup_returned AS ret, tup_fetched AS FETCH, tup_inserted AS ins, tup_updated AS upd, tup_deleted AS del FROM pg_stat_database;
-
SELECT datname, numbackends AS backends, xact_commit AS commits, xact_rollback AS rollbacks, blks_read AS read, blks_hit AS hit, ( SELECT sum(idx_scan) FROM pg_stat_user_indexes) AS idxscan, coalesce(( SELECT sum(idx_tup_read) FROM pg_stat_user_indexes), 0) AS idxtupread, coalesce(( SELECT sum(idx_tup_fetch) FROM pg_stat_user_indexes), 0) AS idxtupfetch, coalesce(( SELECT sum(idx_blks_read) FROM pg_statio_user_indexes), 0) AS idxblksread, coalesce(( SELECT sum(idx_blks_hit) FROM pg_statio_user_indexes), 0) AS idxblkshit, coalesce(( SELECT sum(seq_scan) FROM pg_stat_user_tables), 0) AS seqscan, coalesce(( SELECT sum(seq_tup_read) FROM pg_stat_user_tables), 0) AS seqtupread, tup_returned AS ret, tup_fetched AS FETCH, tup_inserted AS ins, tup_updated AS upd, tup_deleted AS del FROM pg_stat_database;
Date: 2019-09-05 12:50:13 Duration: 44ms Database: postgres User: librenms Remote: [local] Application: psql
Date: 2019-09-05 01:50:10 Duration: 44ms Database: postgres User: librenms Remote: [local] Application: psql
Date: 2019-09-05 16:50:11 Duration: 41ms Database: postgres User: librenms Remote: [local] Application: psql
7 14ms 54ms 27ms 726 19s911ms 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 #7
Day Hour Count Duration Avg duration Sep 05 07 18 513ms 28ms 08 41 1s156ms 28ms 09 106 2s911ms 27ms 10 72 1s992ms 27ms 11 147 4s124ms 28ms 12 108 2s959ms 27ms 13 89 2s401ms 26ms 14 8 202ms 25ms 15 26 767ms 29ms 16 77 2s14ms 26ms 17 32 812ms 25ms 18 2 52ms 26ms [ User: pharmisight - Total duration: 19s911ms - Times executed: 726 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 19s911ms - Times executed: 726 ]
-
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 = '200795632' 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 = '200795602' 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 = '200795602' ORDER BY alerts0_.created ASC;
Date: 2019-09-05 10:45:37 Duration: 54ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 14:15:18 Duration: 44ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 14:58:21 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 15ms 50ms 26ms 1,060 28s571ms 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 #8
Day Hour Count Duration Avg duration Sep 05 07 3 109ms 36ms 11 79 2s219ms 28ms 12 195 5s8ms 25ms 13 217 5s724ms 26ms 14 123 3s209ms 26ms 15 125 3s522ms 28ms 16 179 4s818ms 26ms 17 64 1s784ms 27ms 18 75 2s175ms 29ms [ User: pharmisight - Total duration: 28s571ms - Times executed: 1060 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28s571ms - Times executed: 1060 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2019-09-05 00:00:00' AND this_.CREATED < '2019-09-05 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2019-09-05 00:00:00' AND this_.CREATED < '2019-09-05 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2019-09-05 00:00:00' AND this_.CREATED < '2019-09-05 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-09-05 12:35:01 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 12:35:01 Duration: 49ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 15:20:37 Duration: 45ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 14ms 65ms 20ms 1,071 21s523ms 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 Sep 05 07 3 70ms 23ms 11 79 1s751ms 22ms 12 195 3s779ms 19ms 13 219 4s301ms 19ms 14 132 2s617ms 19ms 15 123 2s399ms 19ms 16 181 3s528ms 19ms 17 63 1s337ms 21ms 18 76 1s737ms 22ms [ User: pharmisight - Total duration: 21s523ms - Times executed: 1071 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 21s523ms - Times executed: 1071 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-09-05 00:00:00' AND this_.CREATED < '2019-09-05 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-09-05 00:00:00' AND this_.CREATED < '2019-09-05 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-09-05 00:00:00' AND this_.CREATED < '2019-09-05 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-09-05 11:43:28 Duration: 65ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 16:07:43 Duration: 52ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 14:47:56 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 5ms 77ms 14ms 933 13s198ms 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 Sep 05 07 2 28ms 14ms 08 11 161ms 14ms 09 43 633ms 14ms 10 46 650ms 14ms 11 53 766ms 14ms 12 69 798ms 11ms 13 122 1s527ms 12ms 14 82 1s89ms 13ms 15 106 1s631ms 15ms 16 181 2s522ms 13ms 17 68 1s2ms 14ms 18 150 2s385ms 15ms [ User: pharmisight - Total duration: 13s198ms - Times executed: 933 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s198ms - Times executed: 933 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-09-06' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-09-06' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-09-06' 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-09-05 15:11:03 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 13:15:21 Duration: 56ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:30:26 Duration: 56ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 0ms 15ms 3ms 3,732 12s364ms 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 Sep 05 07 8 17ms 2ms 08 44 142ms 3ms 09 172 640ms 3ms 10 184 655ms 3ms 11 212 680ms 3ms 12 276 760ms 2ms 13 488 1s457ms 2ms 14 328 1s20ms 3ms 15 424 1s400ms 3ms 16 724 2s386ms 3ms 17 268 914ms 3ms 18 604 2s288ms 3ms [ User: pharmisight - Total duration: 12s364ms - Times executed: 3732 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s364ms - Times executed: 3732 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-09-05' AND this_.rxStatus = '1';
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-09-06' AND this_.rxStatus = '4';
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-09-06' AND this_.rxStatus = '4';
Date: 2019-09-05 13:09:42 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 12:22:26 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 15:39:53 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 0ms 120ms 1ms 3,182 5s947ms UPDATE orders SET sapordernumber = ?, answerordernumber = NULL, ordernumber = ?, routenumber = ?, billtotype = NULL, patientname = ?, firstname = ?, middlename = NULL, lastname = ?, patientdateofbirth = ?, patientpostcode = ?, customer = NULL, sapcustomerid = ?, status = ?, patientid = ?, isnotwithinage = NULL, expired = NULL, paperwork = NULL, deliverybarcode = NULL, deliverydate = ?, rxstatus = ?, createuser = ?, subordertype = ?, sapcontractid = ?, salesforceordernumber = ?, patienttype = ?, ordertype = ?, orderstatus = ?, nhsnumber = ?, individuallabelling = ?, orderid = ?, clusterlead = ?, clustergroup = ?, accountid = ?, reduction = NULL, reductionby = NULL, alertconfirmation = NULL, created = ?, updated = NULL, note = NULL WHERE order_id = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 05 06 113 97ms 0ms 07 1,470 1s464ms 0ms 08 457 1s17ms 2ms 09 198 597ms 3ms 10 159 532ms 3ms 11 244 605ms 2ms 12 206 513ms 2ms 13 125 307ms 2ms 14 21 49ms 2ms 15 66 275ms 4ms 16 97 384ms 3ms 17 24 98ms 4ms 18 2 2ms 1ms [ User: pharmisight - Total duration: 5s947ms - Times executed: 3182 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s947ms - Times executed: 3182 ]
-
UPDATE ORDERS SET sapOrderNumber = '9217669', answerOrderNumber = NULL, orderNumber = '5006032833', routeNumber = '9565534', billToType = NULL, patientName = 'Angela Jones', firstName = 'Angela', middleName = NULL, lastName = 'Jones', patientDateOfBirth = '1955-01-24', patientPostcode = 'B72 1DU', customer = NULL, sapCustomerId = '685111180', status = 'Checked', patientId = '111399960', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2019-09-06', rxStatus = '1', createUser = 'Lauren Rutter', subOrderType = 'Standard', sapContractId = '650105917', salesforceOrderNumber = '11604116', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '4465328931', individualLabelling = 'f', orderId = 'a4r4J0000002za4QAA', clusterLead = 'Johnathan Baysting', clusterGroup = 'BIRMINGHAM COMMUNITY HCARE NHST', accountId = '806200', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2019-09-05 06:16:56.741', UPDATED = NULL, note = NULL WHERE ORDER_ID = '211725122';
-
UPDATE ORDERS SET sapOrderNumber = '9217528', answerOrderNumber = NULL, orderNumber = '5006045846', routeNumber = '9565511', billToType = NULL, patientName = 'Icilda Taylor', firstName = 'Icilda', middleName = NULL, lastName = 'Taylor', patientDateOfBirth = '1928-05-24', patientPostcode = 'S2 4SR', customer = NULL, sapCustomerId = '685185778', status = 'Uploaded', patientId = '200406052', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2019-09-06', rxStatus = '3', createUser = 'Caroline Burden', subOrderType = 'Standard', sapContractId = '650105894', salesforceOrderNumber = '11604728', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '4648351932', individualLabelling = 'f', orderId = 'a4r4J00000030N1QAI', clusterLead = 'Sarah Carter', clusterGroup = 'SHEFFIELD TEACHING HOSPITALS NHSFT', accountId = '129402', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2019-09-05 06:16:56.805', UPDATED = NULL, note = NULL WHERE ORDER_ID = '211728822';
-
UPDATE ORDERS SET sapOrderNumber = '9220172', answerOrderNumber = NULL, orderNumber = '5006041651', routeNumber = '9565515', billToType = NULL, patientName = 'Michael Starace', firstName = 'Michael', middleName = NULL, lastName = 'Starace', patientDateOfBirth = '1992-03-13', patientPostcode = 'CB1 3TG', customer = NULL, sapCustomerId = '685127050', status = 'Uploaded', patientId = '200003660', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2019-09-06', rxStatus = '3', createUser = 'Gill Feltham', subOrderType = 'Standard', sapContractId = '650105986', salesforceOrderNumber = '11604263', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '4262998878', individualLabelling = 'f', orderId = 'a4r4J0000002zlqQAA', clusterLead = 'Natasha Page', clusterGroup = 'CAMBRIDGE UNIVERSITY HOSPS NHSFT', accountId = '863128', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2019-09-05 06:16:56.755', UPDATED = NULL, note = NULL WHERE ORDER_ID = '211726032';
Date: 2019-09-05 15:34:17 Duration: 120ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 06:26:43 Duration: 73ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 06:26:42 Duration: 54ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 0ms 16ms 0ms 88,873 1m10s 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 #13
Day Hour Count Duration Avg duration Sep 05 07 278 195ms 0ms 08 19 22ms 1ms 09 36 74ms 2ms 10 54 86ms 1ms 11 6,499 5s447ms 0ms 12 15,431 11s713ms 0ms 13 17,971 13s857ms 0ms 14 11,726 9s168ms 0ms 15 10,594 8s380ms 0ms 16 14,594 11s552ms 0ms 17 5,577 4s628ms 0ms 18 6,094 5s574ms 0ms [ User: pharmisight - Total duration: 1m10s - Times executed: 88873 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m10s - Times executed: 88873 ]
-
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 = '200616732' 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 = '200616802' 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 = '200616732' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-09-05 11:08:00 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 14:13:42 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 16:53:12 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 0ms 21ms 0ms 14,313 9s808ms UPDATE order_line_activities SET order_line_id = ? WHERE order_line_activity_id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 05 07 81 76ms 0ms 08 1,244 961ms 0ms 09 1,831 1s315ms 0ms 10 1,933 1s372ms 0ms 11 2,860 1s841ms 0ms 12 2,268 1s443ms 0ms 13 1,470 966ms 0ms 14 303 194ms 0ms 15 682 512ms 0ms 16 1,018 696ms 0ms 17 497 329ms 0ms 18 126 97ms 0ms [ User: pharmisight - Total duration: 9s808ms - Times executed: 14313 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s808ms - Times executed: 14313 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '220484152' WHERE ORDER_LINE_ACTIVITY_ID = '323828632';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '220487262' WHERE ORDER_LINE_ACTIVITY_ID = '323848712';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '220485802' WHERE ORDER_LINE_ACTIVITY_ID = '323916482';
Date: 2019-09-05 08:34:42 Duration: 21ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 09:31:17 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 12:34:43 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 0ms 3ms 0ms 17,163 9s868ms 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 Sep 05 01 717 422ms 0ms 02 716 422ms 0ms 03 718 430ms 0ms 04 716 433ms 0ms 05 716 437ms 0ms 06 716 428ms 0ms 07 712 388ms 0ms 08 712 410ms 0ms 09 712 399ms 0ms 10 712 393ms 0ms 11 714 385ms 0ms 12 714 380ms 0ms 13 714 382ms 0ms 14 716 408ms 0ms 15 714 389ms 0ms 16 714 381ms 0ms 17 714 395ms 0ms 18 716 406ms 0ms 19 718 426ms 0ms 20 716 423ms 0ms 21 716 434ms 0ms 22 716 425ms 0ms 23 718 434ms 0ms 00 716 427ms 0ms [ User: symmetricds - Total duration: 9s868ms - Times executed: 17163 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s868ms - Times executed: 17163 ]
-
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-09-05 13:59:59 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 16:38:03 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 08:05:00 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 0ms 19ms 0ms 99,937 30s644ms 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 Sep 05 07 333 109ms 0ms 08 532 232ms 0ms 09 1,451 778ms 0ms 10 1,392 678ms 0ms 11 8,148 2s845ms 0ms 12 16,837 4s887ms 0ms 13 19,641 5s655ms 0ms 14 12,713 3s737ms 0ms 15 11,148 3s289ms 0ms 16 15,330 4s469ms 0ms 17 6,113 1s882ms 0ms 18 6,299 2s78ms 0ms [ User: pharmisight - Total duration: 30s644ms - Times executed: 99937 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 30s644ms - Times executed: 99937 ]
-
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 = '200616762' 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 = '200616892' 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 = '200617032' ORDER BY orders0_.order_id ASC;
Date: 2019-09-05 11:55:58 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 12:35:01 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 16:04:52 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 0ms 234ms 0ms 222,519 32s39ms COMMIT;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 05 01 6,584 585ms 0ms 02 5,574 198ms 0ms 03 5,590 203ms 0ms 04 5,580 202ms 0ms 05 5,581 198ms 0ms 06 5,962 311ms 0ms 07 13,227 2s244ms 0ms 08 14,120 2s800ms 0ms 09 15,843 4s245ms 0ms 10 14,912 3s470ms 0ms 11 17,279 4s194ms 0ms 12 14,678 3s69ms 0ms 13 13,910 2s531ms 0ms 14 9,093 1s67ms 0ms 15 10,752 1s558ms 0ms 16 12,532 1s835ms 0ms 17 8,641 941ms 0ms 18 8,350 779ms 0ms 19 6,360 544ms 0ms 20 5,588 190ms 0ms 21 5,592 267ms 0ms 22 5,599 196ms 0ms 23 5,608 196ms 0ms 00 5,564 203ms 0ms [ User: symmetricds - Total duration: 23s165ms - Times executed: 187840 ]
[ User: pharmisight - Total duration: 8s874ms - Times executed: 34679 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31s972ms - Times executed: 222473 ]
[ Application: [unknown] - Total duration: 67ms - Times executed: 46 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-09-05 07:00:04 Duration: 234ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 08:50:17 Duration: 130ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:50:51 Duration: 128ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 5ms 0ms 122,806 12s224ms 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 #18
Day Hour Count Duration Avg duration Sep 05 07 199 22ms 0ms 08 7,446 746ms 0ms 09 21,495 2s185ms 0ms 10 19,119 1s914ms 0ms 11 29,472 2s957ms 0ms 12 12,557 1s153ms 0ms 13 9,494 937ms 0ms 14 3,946 350ms 0ms 15 5,114 545ms 0ms 16 7,487 718ms 0ms 17 3,876 429ms 0ms 18 2,601 263ms 0ms [ User: pharmisight - Total duration: 12s224ms - Times executed: 122806 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s224ms - Times executed: 122806 ]
-
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 = '211724632' 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 = '211721702' 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 = '211726802' ORDER BY orderlines0_.partDescription ASC;
Date: 2019-09-05 10:50:20 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:43:17 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 11:23:00 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 8ms 0ms 19,619 1s210ms SELECT orderlinea0_.order_line_id AS order_l16_24_0_, orderlinea0_.order_line_activity_id AS order_li1_25_0_, orderlinea0_.order_line_activity_id AS order_li1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedqty AS scannedq4_25_1_, orderlinea0_.assignedqty AS assigned5_25_1_, orderlinea0_.backorderqty AS backorde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodedate AS barcoded8_25_1_, orderlinea0_.barcodebatch AS barcodeb9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelqty AS cancelq11_25_1_, orderlinea0_.reducedqty AS reduced12_25_1_, orderlinea0_.mispickitemcode AS mispick13_25_1_, orderlinea0_.created AS created14_25_1_, orderlinea0_.missinglabels AS missing15_25_1_ FROM order_line_activities orderlinea0_ WHERE orderlinea0_.order_line_id = ? ORDER BY orderlinea0_.created ASC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 05 07 119 6ms 0ms 08 1,272 83ms 0ms 09 2,137 124ms 0ms 10 2,665 174ms 0ms 11 3,608 229ms 0ms 12 2,308 128ms 0ms 13 2,676 160ms 0ms 14 762 47ms 0ms 15 1,109 68ms 0ms 16 1,482 86ms 0ms 17 675 40ms 0ms 18 806 58ms 0ms [ User: pharmisight - Total duration: 1s210ms - Times executed: 19619 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s210ms - Times executed: 19619 ]
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '220431342' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '220490122' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '220479192' ORDER BY orderlinea0_.CREATED ASC;
Date: 2019-09-05 10:38:57 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 10:50:11 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 17:06:18 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 0ms 1ms 0ms 32,313 1s868ms 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 Sep 05 01 2,751 102ms 0ms 02 917 40ms 0ms 03 917 55ms 0ms 04 917 37ms 0ms 05 917 47ms 0ms 06 917 52ms 0ms 07 1,006 59ms 0ms 08 1,603 108ms 0ms 09 2,220 151ms 0ms 10 2,304 158ms 0ms 11 2,684 186ms 0ms 12 2,141 150ms 0ms 13 2,034 115ms 0ms 14 1,090 65ms 0ms 15 1,468 93ms 0ms 16 1,642 105ms 0ms 17 1,201 61ms 0ms 18 999 58ms 0ms 19 917 51ms 0ms 20 917 52ms 0ms 21 917 31ms 0ms 22 917 30ms 0ms 23 917 50ms 0ms [ User: pharmisight - Total duration: 1s868ms - Times executed: 32313 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s868ms - Times executed: 32313 ]
-
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 = '32969679' 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 = '3592' 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 = '3047' ORDER BY itembarcod0_.barcode ASC;
Date: 2019-09-05 00:31:27 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 15:40:01 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-09-05 11:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
-
Events
Log levels
Key values
- 8,424,988 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 7 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 6 Max number of times the same event was reported
- 7 Total events found
Rank Times reported Error 1 6 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Sep 05 11 3 16 2 18 1 - ERROR: process 30169 still waiting for ShareLock on transaction 66882880 after 1000.129 ms
- ERROR: process 30171 still waiting for ShareLock on transaction 66882881 after 1000.167 ms
- ERROR: process 18851 still waiting for ShareLock on transaction 66867376 after 1000.189 ms
Detail: Process holding the lock: 29720. Wait queue: 30169.
Context: while updating tuple (1054,103) 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-09-05 15:10:27 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 30169. Wait queue: 30171.
Context: while updating tuple (1054,104) 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-09-05 15:10:29 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 18369. Wait queue: 18851, 18850.
Context: while updating tuple (1054,104) 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-09-05 10:02:48 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
2 1 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #2
Day Hour Count Sep 05 11 1 - ERROR: process 20315 still waiting for ExclusiveLock on tuple (1111,69) of relation 142522 of database 16401 after 1000.125 ms
Detail: Process holding the lock: 20179. Wait queue: 20315, 20106.
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-09-05 10:44:56 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code: