-
Global information
- Generated on Tue Jan 8 00:00:18 2019
- Log file: /var/log/postgresql/postgresql-11-main.log.1
- Parsed 7,647,265 log entries in 15s
- Log start from 2019-01-07 00:00:00 to 2019-01-07 23:59:57
-
Overview
Global Stats
- 1,904 Number of unique normalized queries
- 2,338,908 Number of queries
- 9m27s Total query duration
- 2019-01-07 00:00:00 First query
- 2019-01-07 23:59:57 Last query
- 8,641 queries/s at 2019-01-07 06:05:28 Query peak
- 35 Number of events
- 2 Number of unique normalized events
- 24 Max number of times the same event was reported
- 0 Number of cancellation
- 115 Total number of automatic vacuums
- 240 Total number of automatic analyzes
- 3 Number temporary file
- 16.94 MiB Max size of temporary file
- 8.52 MiB Average size of temporary file
- 2,043 Total number of sessions
- 2 sessions at 2019-01-07 12:23:13 Session peak
- 10d16h55m6s Total duration of sessions
- 7m32s Average duration of sessions
- 1,144 Average queries per session
- 277ms Average queries duration per session
- 2,044 Total number of connections
- 12 connections/s at 2019-01-07 11:48:39 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 8,641 queries/s Query Peak
- 2019-01-07 06:05:28 Date
SELECT Traffic
Key values
- 2,072 queries/s Query Peak
- 2019-01-07 07:20:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 8,491 queries/s Query Peak
- 2019-01-07 06:05:28 Date
Queries duration
Key values
- 9m27s Total query duration
Prepared queries ratio
Key values
- 2.40 Ratio of bind vs prepare
- 133.79 % 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) Jan 07 00 54,712 0ms 24ms 0ms 58ms 81ms 1s25ms 01 51,129 0ms 17ms 0ms 51ms 79ms 157ms 02 52,868 0ms 14ms 0ms 65ms 99ms 325ms 03 51,297 0ms 14ms 0ms 54ms 88ms 137ms 04 51,137 0ms 15ms 0ms 51ms 76ms 148ms 05 51,879 0ms 442ms 0ms 78ms 183ms 479ms 06 313,737 0ms 13s306ms 0ms 5s194ms 10s500ms 1m21s 07 163,009 0ms 141ms 0ms 902ms 1s27ms 1s135ms 08 180,117 0ms 7s578ms 0ms 1s750ms 2s555ms 8s589ms 09 194,644 0ms 230ms 0ms 2s278ms 2s589ms 3s492ms 10 183,054 0ms 179ms 0ms 1s641ms 2s384ms 2s518ms 11 243,055 0ms 451ms 0ms 2s736ms 3s379ms 3s824ms 12 108,979 0ms 194ms 0ms 606ms 1s673ms 2s140ms 13 77,979 0ms 234ms 0ms 670ms 830ms 1s970ms 14 79,417 0ms 198ms 0ms 941ms 1s136ms 1s992ms 15 67,827 0ms 182ms 0ms 340ms 779ms 2s77ms 16 54,166 0ms 183ms 0ms 456ms 585ms 1s16ms 17 55,822 0ms 444ms 0ms 191ms 750ms 904ms 18 53,451 0ms 52ms 0ms 77ms 205ms 252ms 19 45,967 0ms 47ms 0ms 54ms 140ms 245ms 20 50,951 0ms 56ms 0ms 84ms 248ms 297ms 21 48,042 0ms 47ms 0ms 57ms 143ms 299ms 22 51,293 0ms 47ms 0ms 79ms 158ms 240ms 23 54,376 0ms 50ms 0ms 59ms 222ms 377ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 07 00 19,509 0 0ms 28ms 32ms 169ms 01 17,889 0 0ms 27ms 35ms 127ms 02 18,296 0 0ms 28ms 38ms 156ms 03 17,935 0 0ms 28ms 37ms 124ms 04 17,890 0 0ms 27ms 33ms 130ms 05 18,301 0 0ms 29ms 55ms 457ms 06 151,612 0 0ms 1s832ms 3s266ms 8s932ms 07 79,147 0 0ms 496ms 688ms 885ms 08 94,168 0 0ms 921ms 1s600ms 3s834ms 09 102,384 0 0ms 1s618ms 1s987ms 2s495ms 10 91,446 0 0ms 1s160ms 1s440ms 2s220ms 11 155,354 0 0ms 1s968ms 2s576ms 3s461ms 12 49,627 0 0ms 390ms 464ms 1s597ms 13 32,379 0 0ms 278ms 549ms 897ms 14 32,932 0 0ms 154ms 761ms 1s135ms 15 27,046 0 0ms 57ms 331ms 722ms 16 20,157 0 0ms 79ms 415ms 759ms 17 22,560 0 0ms 35ms 94ms 554ms 18 19,728 0 0ms 30ms 43ms 157ms 19 15,167 0 0ms 28ms 33ms 123ms 20 19,468 0 0ms 33ms 51ms 174ms 21 15,582 0 0ms 27ms 37ms 83ms 22 17,978 0 0ms 30ms 38ms 86ms 23 18,720 0 0ms 31ms 38ms 138ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 07 00 861 279 83 0 0ms 2ms 6ms 26ms 01 88 54 80 0 0ms 1ms 6ms 7ms 02 806 262 84 0 0ms 2ms 7ms 29ms 03 124 71 83 0 0ms 1ms 6ms 7ms 04 88 54 82 0 0ms 1ms 6ms 7ms 05 103 79 86 0 0ms 1ms 6ms 9ms 06 60,499 19,631 443 0 1ms 242ms 660ms 1s656ms 07 14,465 5,649 370 0 0ms 80ms 108ms 158ms 08 14,267 5,567 369 0 0ms 85ms 97ms 139ms 09 15,734 6,023 373 0 0ms 94ms 112ms 175ms 10 15,216 5,993 390 0 0ms 88ms 108ms 176ms 11 14,705 5,573 383 0 0ms 77ms 129ms 169ms 12 6,226 5,358 204 0 0ms 68ms 99ms 187ms 13 2,797 1,797 167 0 0ms 33ms 55ms 114ms 14 3,114 1,345 177 0 0ms 31ms 61ms 113ms 15 1,464 793 150 0 0ms 15ms 30ms 76ms 16 384 242 115 0 0ms 4ms 8ms 40ms 17 925 312 118 0 0ms 6ms 9ms 153ms 18 333 965 106 0 0ms 8ms 12ms 28ms 19 138 96 106 0 0ms 1ms 7ms 13ms 20 523 207 130 0 0ms 1ms 6ms 40ms 21 834 255 105 0 0ms 1ms 7ms 65ms 22 1,129 305 104 0 0ms 2ms 7ms 49ms 23 1,944 540 106 0 0ms 2ms 7ms 74ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jan 07 00 33,302 54,676 1.64 98.95% 01 32,833 51,093 1.56 107.35% 02 33,117 52,832 1.60 103.09% 03 32,789 51,261 1.56 106.72% 04 32,871 51,101 1.55 107.47% 05 32,984 51,843 1.57 105.67% 06 67,966 313,701 4.62 24.85% 07 56,494 161,800 2.86 43.94% 08 57,126 180,034 3.15 39.20% 09 58,748 194,608 3.31 36.86% 10 58,470 183,018 3.13 39.67% 11 61,886 243,019 3.93 29.69% 12 46,332 108,883 2.35 56.10% 13 39,444 77,926 1.98 73.04% 14 39,459 79,367 2.01 71.94% 15 35,941 67,791 1.89 79.98% 16 33,125 54,113 1.63 97.47% 17 32,223 55,786 1.73 89.03% 18 32,200 52,375 1.63 94.06% 19 30,310 45,931 1.52 111.95% 20 30,694 50,915 1.66 96.03% 21 31,065 48,006 1.55 108.52% 22 31,724 51,257 1.62 100.54% 23 32,920 54,340 1.65 97.28% Day Hour Count Average / Second Jan 07 00 88 0.02/s 01 106 0.03/s 02 104 0.03/s 03 105 0.03/s 04 107 0.03/s 05 103 0.03/s 06 77 0.02/s 07 63 0.02/s 08 63 0.02/s 09 66 0.02/s 10 53 0.01/s 11 101 0.03/s 12 81 0.02/s 13 65 0.02/s 14 63 0.02/s 15 60 0.02/s 16 88 0.02/s 17 89 0.02/s 18 89 0.02/s 19 89 0.02/s 20 90 0.03/s 21 97 0.03/s 22 97 0.03/s 23 100 0.03/s Day Hour Count Average Duration Jan 07 00 88 7m13s 01 106 5m38s 02 104 5m44s 03 105 5m42s 04 107 5m41s 05 103 5m40s 06 76 8m20s 07 63 10m 08 63 9m40s 09 66 11m40s 10 53 9m57s 11 96 11m19s 12 86 9m36s 13 59 9m45s 14 69 9m24s 15 60 10m 16 88 7m48s 17 89 6m48s 18 89 6m29s 19 89 6m47s 20 90 6m28s 21 97 6m34s 22 97 6m6s 23 100 5m53s -
Connections
Established Connections
Key values
- 12 connections Connection Peak
- 2019-01-07 11:48:39 Date
Connections per database
Key values
- pharmisight Main Database
- 2,044 connections Total
Connections per user
Key values
- symmetricds Main User
- 2,044 connections Total
-
Sessions
Simultaneous sessions
Key values
- 2 sessions Session Peak
- 2019-01-07 12:23:13 Date
Histogram of session times
Key values
- 1,284 60000-600000ms duration
Sessions per database
Key values
- pharmisight Main Database
- 2,043 sessions Total
Sessions per user
Key values
- symmetricds Main User
- 2,043 sessions Total
Sessions per host
Key values
- 10.10.10.1 Main Host
- 2,043 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 2,645 buffers Checkpoint Peak
- 2019-01-07 06:11:47 Date
- 149.860 seconds Highest write time
- 0.035 seconds Sync time
Checkpoints Wal files
Key values
- 4 files Wal files usage Peak
- 2019-01-07 06:11:47 Date
Checkpoints distance
Key values
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Jan 07 00 601 60.307s 0.019s 60.394s 01 537 53.892s 0.034s 54.023s 02 613 61.524s 0.017s 61.607s 03 444 44.551s 0.021s 44.647s 04 435 43.652s 0.017s 43.739s 05 643 64.521s 0.016s 64.605s 06 12,688 1,066.615s 0.04s 1,066.72s 07 6,845 691.629s 0.037s 691.731s 08 5,451 545.509s 0.037s 545.605s 09 6,968 706.818s 0.036s 706.966s 10 6,363 637.209s 0.033s 637.308s 11 6,514 654.518s 0.061s 654.645s 12 7,180 718.588s 0.067s 718.739s 13 2,626 263.225s 0.033s 263.352s 14 2,097 210.141s 0.025s 210.227s 15 1,753 175.947s 0.024s 176.044s 16 842 84.509s 0.021s 84.59s 17 890 89.238s 0.041s 89.368s 18 1,247 125.024s 0.014s 125.12s 19 456 45.78s 0.017s 45.865s 20 655 65.746s 0.013s 65.829s 21 558 55.997s 0.018s 56.083s 22 652 65.425s 0.019s 65.515s 23 649 65.132s 0.018s 65.218s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jan 07 00 0 0 0 258 0.002s 0s 01 0 0 1 231 0.020s 0s 02 0 0 0 284 0.003s 0s 03 0 0 0 225 0.003s 0s 04 0 0 0 230 0.003s 0s 05 0 0 0 261 0.003s 0s 06 0 1 9 1,253 0.002s 0s 07 0 0 3 1,197 0.001s 0s 08 0 0 2 1,038 0.003s 0s 09 0 0 3 1,333 0.001s 0s 10 0 0 2 1,151 0.002s 0s 11 0 0 3 1,316 0.011s 0s 12 0 0 2 1,094 0.013s 0s 13 0 0 1 768 0.008s 0s 14 0 0 1 507 0.005s 0s 15 0 0 0 674 0.003s 0s 16 0 0 1 373 0.008s 0s 17 0 0 0 407 0.026s 0s 18 0 0 0 316 0.002s 0s 19 0 0 0 231 0.002s 0s 20 0 0 1 318 0.002s 0s 21 0 0 0 253 0.002s 0s 22 0 0 0 246 0.003s 0s 23 0 0 0 255 0.003s 0s Day Hour Count Avg time (sec) Jan 07 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 Jan 07 00 235.67 kB 594.67 kB 01 176.58 kB 472.33 kB 02 232.92 kB 510.58 kB 03 144.17 kB 357.17 kB 04 139.50 kB 386.00 kB 05 200.67 kB 410.00 kB 06 14,387.55 kB 37,964.55 kB 07 3,399.00 kB 14,235.83 kB 08 3,145.44 kB 6,202.56 kB 09 3,545.82 kB 5,918.18 kB 10 3,209.36 kB 4,350.45 kB 11 3,373.88 kB 4,327.75 kB 12 3,325.67 kB 5,105.33 kB 13 1,147.83 kB 3,367.83 kB 14 1,167.64 kB 3,089.00 kB 15 625.75 kB 2,074.08 kB 16 362.75 kB 1,137.42 kB 17 338.17 kB 1,403.92 kB 18 619.50 kB 1,074.33 kB 19 185.92 kB 533.58 kB 20 258.08 kB 455.17 kB 21 228.42 kB 477.50 kB 22 289.00 kB 781.17 kB 23 297.92 kB 876.58 kB -
Temporary Files
Size of temporary files
Key values
- 17.17 MiB Temp Files size Peak
- 2019-01-07 06:05:36 Date
Number of temporary files
Key values
- 2 per second Temp Files Peak
- 2019-01-07 06:05:36 Date
Temporary Files Activity
Day Hour Count Total size Average size Jan 07 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 3 25.55 MiB 8.52 MiB 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Analyzes per table
Key values
- public.sym_data_gap (84) Main table analyzed (database pharmisight)
- 240 analyzes Total
Table Number of analyzes pharmisight.public.sym_data_gap 84 pharmisight.public.sym_outgoing_batch 79 pharmisight.public.sym_incoming_batch 21 pharmisight.public.sym_data_event 19 pharmisight.public.sym_data 19 pharmisight.public.sym_sequence 9 pharmisight.public.sym_node_host 5 pharmisight.public.item_codes 2 pharmisight.public.order_rounds 1 pharmisight.public.items 1 Total 240 Vacuums per table
Key values
- public.sym_data_gap (45) Main table vacuumed on database pharmisight
- 115 vacuums Total
Table Number of vacuums Index scans pharmisight.public.sym_data_gap 45 45 pharmisight.public.sym_outgoing_batch 38 37 pharmisight.public.sym_sequence 9 0 pharmisight.public.sym_incoming_batch 8 8 pharmisight.public.sym_node_host 6 0 pharmisight.pg_toast.pg_toast_2619 4 4 pharmisight.pg_catalog.pg_statistic 3 3 pharmisight.public.item_codes 1 1 pharmisight.public.sym_data_event 1 1 Total 115 99 Tuples removed per table
Key values
- public.sym_data_gap (2393) Main table with removed tuples on database pharmisight
- 7438 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_data_gap 45 45 2393 0 pharmisight.public.sym_outgoing_batch 38 37 1371 0 pharmisight.public.sym_incoming_batch 8 8 1100 0 pharmisight.pg_catalog.pg_statistic 3 3 785 0 pharmisight.public.sym_sequence 9 0 460 0 pharmisight.public.sym_data_event 1 1 402 0 pharmisight.public.item_codes 1 1 377 0 pharmisight.public.sym_node_host 6 0 312 0 pharmisight.pg_toast.pg_toast_2619 4 4 238 11 Total 115 99 7,438 11 Pages removed per table
Key values
- pg_toast.pg_toast_2619 (11) Main table with removed pages on database pharmisight
- 11 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.pg_toast.pg_toast_2619 4 4 238 11 pharmisight.public.sym_node_host 6 0 312 0 pharmisight.public.sym_outgoing_batch 38 37 1371 0 pharmisight.public.sym_data_gap 45 45 2393 0 pharmisight.public.item_codes 1 1 377 0 pharmisight.public.sym_data_event 1 1 402 0 pharmisight.public.sym_sequence 9 0 460 0 pharmisight.public.sym_incoming_batch 8 8 1100 0 pharmisight.pg_catalog.pg_statistic 3 3 785 0 Total 115 99 7,438 11 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Jan 07 00 1 4 01 3 3 02 0 4 03 1 2 04 2 1 05 4 4 06 21 49 07 14 31 08 11 25 09 14 23 10 10 25 11 11 22 12 6 14 13 2 6 14 4 5 15 2 5 16 2 4 17 0 2 18 2 3 19 1 3 20 1 1 21 1 2 22 0 1 23 2 1 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 35 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 35 1m26s 1s66ms 3s889ms 2s475ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = ? WHERE flow_report_id = ?;-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
Date: 2019-01-07 06:17:02 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:16:59 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:16:36 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Queries that waited the most
Rank Wait time Query 1 3s889ms 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-01-07 06:16:36 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
2 3s709ms 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-01-07 06:17:02 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
3 3s662ms 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-01-07 06:16:51 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
4 3s524ms 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-01-07 06:16:32 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
5 3s524ms 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-01-07 06:16:32 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
6 3s391ms 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-01-07 06:16:51 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
7 3s125ms 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-01-07 06:16:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
8 3s125ms 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-01-07 06:16:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
9 3s124ms 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-01-07 06:16:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
10 3s115ms 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-01-07 06:16:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
11 3s115ms 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-01-07 06:16:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
12 3s115ms 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-01-07 06:16:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
13 2s623ms 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-01-07 06:16:35 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
14 2s622ms 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-01-07 06:16:35 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
15 2s516ms 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-01-07 06:16:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
16 2s493ms 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-01-07 06:16:54 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
17 2s492ms 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-01-07 06:16:54 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
18 2s492ms 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-01-07 06:16:54 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
19 2s492ms 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-01-07 06:16:54 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
20 2s381ms 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-01-07 06:16:54 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Queries
Queries by type
Key values
- 1,075,275 Total read queries
- 670,525 Total write queries
Queries by database
Key values
- pharmisight Main database
- 2,338,908 Requests
- 9m27s (pharmisight)
- Main time consuming database
Queries by user
Key values
- symmetricds Main user
- 1,609,312 Requests
User Request type Count Duration pharmisight Total 779,095 7m53s DELETE 57 982ms INSERT 24,544 15s329ms OTHERS 2,180 78ms SELECT 654,278 5m22s TCL 63,940 6s761ms UPDATE 34,096 2m7s symmetricds Total 1,609,312 1m35s DELETE 4,428 2s859ms INSERT 132,567 10s137ms OTHERS 611,796 9s302ms SELECT 436,285 45s39ms TCL 396,748 18s782ms UPDATE 27,488 9s340ms tony Total 900 236ms SELECT 900 236ms Duration by user
Key values
- 7m53s (pharmisight) Main time consuming user
User Request type Count Duration pharmisight Total 779,095 7m53s DELETE 57 982ms INSERT 24,544 15s329ms OTHERS 2,180 78ms SELECT 654,278 5m22s TCL 63,940 6s761ms UPDATE 34,096 2m7s symmetricds Total 1,609,312 1m35s DELETE 4,428 2s859ms INSERT 132,567 10s137ms OTHERS 611,796 9s302ms SELECT 436,285 45s39ms TCL 396,748 18s782ms UPDATE 27,488 9s340ms tony Total 900 236ms SELECT 900 236ms Queries by host
Key values
- 10.10.10.1 Main host
- 2,388,407 Requests
- 9m29s (10.10.10.1)
- Main time consuming host
Queries by application
Key values
- PostgreSQL JDBC Driver Main application
- 2,333,927 Requests
- 9m26s (PostgreSQL JDBC Driver)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2019-01-07 18:52:43 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 2,289,228 0-1ms duration
Slowest individual queries
Rank Duration Query 1 13s306ms 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-01-07 06:17:02 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 9s822ms 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-01-07 06:16:59 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 8s398ms 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-01-07 06:16:36 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 7s706ms 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-01-07 06:16:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 7s578ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.status <> $1 AND (this_.patientAlert = $2 OR this_.itemAlert = $3) AND (this_.ageCheck <> $4 OR (this_.patientAlert <> $5 OR this_.itemAlert <> $6) OR this_.status = $7 OR this_.rxStatus = $8 OR (this_.overAverageQtyMax <> $9)) ORDER BY this_.routeNumber ASC, this_.lastName ASC, this_.partCode ASC LIMIT $10;[ Date: 2019-01-07 08:58:10 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 6s258ms 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-01-07 06:16:59 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 5s885ms 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-01-07 06:16:54 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 5s841ms 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-01-07 06:16:36 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 4s591ms 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-01-07 06:16:32 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 4s575ms 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-01-07 06:16:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 3s662ms 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-01-07 06:16:51 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 3s119ms 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-01-07 06:16:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 2s623ms 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-01-07 06:16:35 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 2s517ms 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-01-07 06:16:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 2s381ms 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-01-07 06:16:54 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 2s104ms 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-01-07 06:16:32 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 2s53ms 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-01-07 06:16:54 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 1s688ms 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-01-07 06:16:29 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 1s134ms 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-01-07 06:16:26 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 895ms 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-01-07 06:13:04 - 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 1m32s 636 0ms 13s306ms 145ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = ? WHERE flow_report_id = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 07 06 201 1m31s 456ms 07 30 53ms 1ms 08 68 85ms 1ms 09 55 61ms 1ms 10 79 94ms 1ms 11 88 135ms 1ms 12 43 58ms 1ms 13 26 65ms 2ms 14 27 56ms 2ms 15 8 9ms 1ms 16 9 35ms 3ms 17 2 5ms 2ms [ User: pharmisight - Total duration: 1m32s - Times executed: 636 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m32s - Times executed: 636 ]
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
Date: 2019-01-07 06:17:02 Duration: 13s306ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:16:59 Duration: 9s822ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:16:36 Duration: 8s398ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 1m15s 2,340 17ms 78ms 32ms SELECT count(*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 07 05 2 80ms 40ms 06 364 11s814ms 32ms 07 126 4s301ms 34ms 08 326 10s932ms 33ms 09 458 15s95ms 32ms 10 447 15s336ms 34ms 11 343 8s826ms 25ms 12 86 2s766ms 32ms 13 40 1s465ms 36ms 14 65 2s269ms 34ms 15 41 1s302ms 31ms 16 31 1s118ms 36ms 17 10 361ms 36ms 19 1 39ms 39ms [ User: pharmisight - Total duration: 1m15s - Times executed: 2340 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m15s - Times executed: 2340 ]
-
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-01-07 10:03:34 Duration: 78ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:33:43 Duration: 68ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:37:56 Duration: 65ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 36s735ms 67,079 0ms 17ms 0ms SELECT orderlines0_.order_round_id AS order_r80_28_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = ? ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 07 06 16,853 8s664ms 0ms 07 61 62ms 1ms 08 3,135 1s765ms 0ms 09 7,574 4s154ms 0ms 10 1,961 1s538ms 0ms 11 29,267 15s634ms 0ms 12 3,720 2s27ms 0ms 13 1,443 1s26ms 0ms 14 1,210 748ms 0ms 15 759 422ms 0ms 16 904 572ms 0ms 17 19 5ms 0ms 20 173 112ms 0ms [ User: pharmisight - Total duration: 36s735ms - Times executed: 67079 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 36s735ms - Times executed: 67079 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-01-07 11:50:51 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:43:02 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:07:32 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 23s859ms 223,928 0ms 86ms 0ms COMMIT;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 07 00 6,462 219ms 0ms 01 6,236 172ms 0ms 02 6,339 205ms 0ms 03 6,256 202ms 0ms 04 6,236 175ms 0ms 05 6,322 189ms 0ms 06 20,668 3s924ms 0ms 07 14,471 2s452ms 0ms 08 15,669 2s685ms 0ms 09 17,439 2s687ms 0ms 10 17,175 2s635ms 0ms 11 16,228 2s656ms 0ms 12 10,580 1s507ms 0ms 13 8,427 805ms 0ms 14 8,639 751ms 0ms 15 7,742 539ms 0ms 16 6,541 275ms 0ms 17 6,140 239ms 0ms 18 6,547 564ms 0ms 19 5,784 187ms 0ms 20 5,817 198ms 0ms 21 5,925 204ms 0ms 22 6,019 180ms 0ms 23 6,266 197ms 0ms [ User: symmetricds - Total duration: 17s390ms - Times executed: 191986 ]
[ User: pharmisight - Total duration: 6s469ms - Times executed: 31942 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s852ms - Times executed: 223907 ]
[ Application: [unknown] - Total duration: 6ms - Times executed: 21 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-01-07 06:20:06 Duration: 86ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:25:04 Duration: 82ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:25:04 Duration: 64ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 19s850ms 9,360 0ms 13ms 2ms SELECT count(*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = ? AND this_.rxstatus = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jan 07 05 8 1ms 0ms 06 1,456 2s766ms 1ms 07 504 1s23ms 2ms 08 1,304 2s806ms 2ms 09 1,832 4s14ms 2ms 10 1,788 4s89ms 2ms 11 1,372 2s441ms 1ms 12 344 798ms 2ms 13 160 421ms 2ms 14 260 658ms 2ms 15 164 370ms 2ms 16 124 339ms 2ms 17 40 105ms 2ms 19 4 12ms 3ms [ User: pharmisight - Total duration: 19s850ms - Times executed: 9360 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 19s850ms - Times executed: 9360 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
Date: 2019-01-07 09:39:04 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:19:51 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 07:55:24 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 18s521ms 2,340 0ms 153ms 7ms SELECT * FROM order_lines WHERE (deliverydate = ? AND status <> ?) AND ((agecheck = ? OR agecheck = ? OR agecheck = ?) OR (status = ?) OR (paperwork IS NOT NULL AND paperwork <> ? AND paperwork <> ? AND paperwork <> ? AND paperwork <> ?) OR (paperworkresolution IS NOT NULL) OR (overaverageqtymax IS NOT NULL));Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 07 05 2 1ms 0ms 06 364 2s539ms 6ms 07 126 972ms 7ms 08 327 2s614ms 7ms 09 457 3s453ms 7ms 10 447 3s705ms 8ms 11 343 2s517ms 7ms 12 86 764ms 8ms 13 40 420ms 10ms 14 65 588ms 9ms 15 41 367ms 8ms 16 31 443ms 14ms 17 10 112ms 11ms 19 1 17ms 17ms [ User: pharmisight - Total duration: 18s521ms - Times executed: 2340 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s521ms - Times executed: 2340 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
Date: 2019-01-07 11:53:02 Duration: 153ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:19:42 Duration: 96ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:53:03 Duration: 45ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 17s536ms 772 13ms 57ms 22ms SELECT this_.order_round_id AS order_ro1_28_1_, this_.routenumber AS routenum2_28_1_, this_.uploadedbyuserid AS uploaded3_28_1_, this_.uploadedbyusername AS uploaded4_28_1_, this_.updatedby AS updatedb5_28_1_, this_.updatedbyusername AS updatedb6_28_1_, this_.orderroundnote AS orderrou7_28_1_, this_.firstcheckout AS firstche8_28_1_, this_.allordersscannedok AS allorder9_28_1_, this_.status AS status10_28_1_, this_.reopenedtimes AS reopene11_28_1_, this_.lastreopenbyid AS lastreo12_28_1_, this_.lastdonecheckin AS lastdon13_28_1_, this_.lastdonebyid AS lastdon14_28_1_, this_.lastdonebyusername AS lastdon15_28_1_, this_.missinglabels AS missing16_28_1_, this_.rounddeliverydate AS roundde17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadupdated AS uploadu21_28_1_, this_.patientalert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxstatus AS rxstatu24_28_1_, this_.distributionpoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedby AS audited27_28_1_, this_.auditstatus AS auditst28_28_1_, this_.uploadfinished AS uploadf29_28_1_, this_.lastrxcompleted AS lastrxc30_28_1_, this_.lastrxcompletedby AS lastrxc31_28_1_, this_.orderroundnotereadby AS orderro32_28_1_, this_.routeorderlinesqty AS routeor33_28_1_, this_.dlxpickedlinesqty AS dlxpick34_28_1_, this_.flowreport AS flowrep35_28_1_, this_.created AS created36_28_1_, this_.createdby AS created37_28_1_, this_.updated AS updated38_28_1_, this_.note AS note39_28_1_, f1_.flow_report_id AS flow_rep1_9_0_, f1_.routenumber AS routenum2_9_0_, f1_.rounddeliverydate AS rounddel3_9_0_, f1_.distributionpoint AS distribu4_9_0_, f1_.fullypicked AS fullypic5_9_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, f1_.causeofdelay AS causeofd7_9_0_, f1_.pharmacy100checktime AS pharmacy8_9_0_, f1_.linesheldback AS lineshel9_9_0_, f1_.packtime100 AS packtim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickdatetime AS pickdat13_9_0_, f1_.failedtargetpicktime AS failedt14_9_0_, f1_.actualpaperworkcompletetime AS actualp15_9_0_, f1_.changedpickdatetime AS changed16_9_0_, f1_.manuallychangedpicktime AS manuall17_9_0_, f1_.created AS created18_9_0_, f1_.updated AS updated19_9_0_, f1_.note AS note20_9_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> ? AND this_.created > ? AND this_.created < ? ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 07 06 246 5s429ms 22ms 08 35 772ms 22ms 09 80 1s924ms 24ms 10 18 503ms 27ms 11 317 6s897ms 21ms 12 39 948ms 24ms 13 9 263ms 29ms 14 12 357ms 29ms 15 8 188ms 23ms 16 8 251ms 31ms [ User: pharmisight - Total duration: 17s536ms - Times executed: 772 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s536ms - Times executed: 772 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-01-07 06:04:01 Duration: 57ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:30:09 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 12:17:16 Duration: 46ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 17s377ms 1,656 0ms 343ms 10ms SELECT this_.order_line_id AS order_li1_24_0_, this_.routenumber AS routenum2_24_0_, this_.sapordernumber AS saporder3_24_0_, this_.ordernumber AS ordernum4_24_0_, this_.answerordernumber AS answeror5_24_0_, this_.partcode AS partcode6_24_0_, this_.partdescription AS partdesc7_24_0_, this_.patientname AS patientn8_24_0_, this_.firstname AS firstnam9_24_0_, this_.middlename AS middlen10_24_0_, this_.lastname AS lastnam11_24_0_, this_.patientdateofbirth AS patient12_24_0_, this_.patientpostcode AS patient13_24_0_, this_.patientpostcodeprefix AS patient14_24_0_, this_.orderqty AS orderqt15_24_0_, this_.allocqty AS allocqt16_24_0_, this_.shipqty AS shipqty17_24_0_, this_.adjustedqty AS adjuste18_24_0_, this_.scannedqty AS scanned19_24_0_, this_.assignedqty AS assigne20_24_0_, this_.checkedqty AS checked21_24_0_, this_.backorderqty AS backord22_24_0_, this_.cancelqty AS cancelq23_24_0_, this_.reducedqty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliverydate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapcustomerid AS sapcust29_24_0_, this_.billtotype AS billtot30_24_0_, this_.barcodedate AS barcode31_24_0_, this_.barcodebatch AS barcode32_24_0_, this_.patientid AS patient33_24_0_, this_.isadded AS isadded34_24_0_, this_.isnotwithinage AS isnotwi35_24_0_, this_.isunderage AS isunder36_24_0_, this_.agecheck AS agechec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.ispaperworkproblem AS ispaper40_24_0_, this_.paperworkresolution AS paperwo41_24_0_, this_.pickerid AS pickeri42_24_0_, this_.specialcare AS special43_24_0_, this_.paperworkenquirystarted AS paperwo44_24_0_, this_.paperworkenquiryfinished AS paperwo45_24_0_, this_.paperworkenquiryresponse AS paperwo46_24_0_, this_.isnewproduct AS isnewpr47_24_0_, this_.extraprocedure AS extrapr48_24_0_, this_.overaverageqtymax AS overave49_24_0_, this_.overaverageqtyresolution AS overave50_24_0_, this_.createuser AS createu51_24_0_, this_.patientalert AS patient52_24_0_, this_.itemalert AS itemale53_24_0_, this_.checkerid AS checker54_24_0_, this_.reductionsummary AS reducti55_24_0_, this_.ismetabolic AS ismetab56_24_0_, this_.rxstatus AS rxstatu57_24_0_, this_.lastregupdateusertype AS lastreg58_24_0_, this_.lastregupdateusername AS lastreg59_24_0_, this_.lastregupdatedate AS lastreg60_24_0_, this_.sapplannedshipdate AS sapplan61_24_0_, this_.sapplanneddeliverydate AS sapplan62_24_0_, this_.requestedsapquantity AS request63_24_0_, this_.orderquantity AS orderqu64_24_0_, this_.reglinecreatedusertype AS regline65_24_0_, this_.reglinecreatedusername AS regline66_24_0_, this_.reglinecreateddate AS regline67_24_0_, this_.audited AS audited68_24_0_, this_.ismetabolicpatient AS ismetab69_24_0_, this_.addedcase AS addedca70_24_0_, this_.ordertype AS orderty71_24_0_, this_.created AS created72_24_0_, this_.updated AS updated73_24_0_, this_.rxcheckby AS rxcheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertconfirmation AS alertco77_24_0_, this_.homewardaction AS homewar78_24_0_ FROM order_lines this_ WHERE this_.patientid = ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jan 07 06 1,621 17s248ms 10ms 08 2 4ms 2ms 09 7 23ms 3ms 10 2 15ms 7ms 11 2 6ms 3ms 12 6 32ms 5ms 13 2 9ms 4ms 14 7 17ms 2ms 15 4 13ms 3ms 17 3 6ms 2ms [ User: pharmisight - Total duration: 17s377ms - Times executed: 1656 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s377ms - Times executed: 1656 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
Date: 2019-01-07 06:05:29 Duration: 343ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:05:49 Duration: 258ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:06:46 Duration: 232ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 16s683ms 75,696 0ms 9ms 0ms SELECT orders0_.order_round_id AS order_r42_28_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.order_round_id = ? ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jan 07 06 17,665 3s769ms 0ms 07 1,771 604ms 0ms 08 5,083 1s272ms 0ms 09 8,418 1s857ms 0ms 10 3,541 1s14ms 0ms 11 30,448 6s170ms 0ms 12 4,009 853ms 0ms 13 1,523 418ms 0ms 14 1,331 306ms 0ms 15 829 171ms 0ms 16 898 203ms 0ms 17 64 14ms 0ms 20 116 25ms 0ms [ User: pharmisight - Total duration: 16s683ms - Times executed: 75696 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s683ms - Times executed: 75696 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
Date: 2019-01-07 13:05:27 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:10:13 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:51:19 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 13s991ms 863 11ms 43ms 16ms 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 #10
Day Hour Count Duration Avg duration Jan 07 06 308 4s989ms 16ms 08 33 562ms 17ms 09 81 1s276ms 15ms 10 21 521ms 24ms 11 329 4s981ms 15ms 12 41 615ms 15ms 13 18 422ms 23ms 14 14 268ms 19ms 15 8 134ms 16ms 16 10 219ms 21ms [ User: pharmisight - Total duration: 13s991ms - Times executed: 863 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s991ms - Times executed: 863 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-01-07 10:17:05 Duration: 43ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 08:36:25 Duration: 41ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 13:07:59 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 13s960ms 6,138 0ms 89ms 2ms UPDATE order_lines SET routenumber = ?, sapordernumber = ?, ordernumber = ?, answerordernumber = ?, partcode = ?, partdescription = ?, patientname = ?, firstname = ?, middlename = ?, lastname = ?, patientdateofbirth = ?, patientpostcode = ?, patientpostcodeprefix = ?, orderqty = ?, allocqty = ?, shipqty = ?, adjustedqty = ?, scannedqty = ?, assignedqty = ?, checkedqty = ?, backorderqty = ?, cancelqty = ?, reducedqty = ?, status = ?, reason = ?, deliverydate = ?, customer = ?, sapcustomerid = ?, billtotype = ?, barcodedate = ?, barcodebatch = ?, patientid = ?, isadded = ?, isnotwithinage = ?, isunderage = ?, agecheck = ?, expired = ?, paperwork = ?, ispaperworkproblem = ?, paperworkresolution = ?, pickerid = ?, specialcare = ?, paperworkenquirystarted = ?, paperworkenquiryfinished = ?, paperworkenquiryresponse = ?, isnewproduct = ?, extraprocedure = ?, overaverageqtymax = ?, overaverageqtyresolution = ?, createuser = ?, patientalert = ?, itemalert = ?, checkerid = ?, reductionsummary = ?, ismetabolic = ?, rxstatus = ?, lastregupdateusertype = ?, lastregupdateusername = ?, lastregupdatedate = ?, sapplannedshipdate = ?, sapplanneddeliverydate = ?, requestedsapquantity = ?, orderquantity = ?, reglinecreatedusertype = ?, reglinecreatedusername = ?, reglinecreateddate = ?, audited = ?, ismetabolicpatient = ?, addedcase = ?, ordertype = ?, created = ?, updated = ?, rxcheckby = ?, note = ?, item = ?, alertconfirmation = ?, homewardaction = ? WHERE order_line_id = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 07 06 2,982 4s843ms 1ms 07 573 1s694ms 2ms 08 588 1s573ms 2ms 09 635 1s572ms 2ms 10 560 1s458ms 2ms 11 433 1s291ms 2ms 12 121 518ms 4ms 13 53 287ms 5ms 14 103 389ms 3ms 15 56 235ms 4ms 16 5 57ms 11ms 17 29 37ms 1ms [ User: pharmisight - Total duration: 13s960ms - Times executed: 6138 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s960ms - Times executed: 6138 ]
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
Date: 2019-01-07 08:58:09 Duration: 89ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:10:15 Duration: 71ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:12:57 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 13s879ms 25,171 0ms 4ms 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 #12
Day Hour Count Duration Avg duration Jan 07 00 1,075 604ms 0ms 01 1,074 619ms 0ms 02 1,074 595ms 0ms 03 1,071 619ms 0ms 04 1,074 618ms 0ms 05 1,074 612ms 0ms 06 1,065 531ms 0ms 07 1,071 563ms 0ms 08 1,071 561ms 0ms 09 1,068 570ms 0ms 10 1,071 560ms 0ms 11 1,071 515ms 0ms 12 1,074 575ms 0ms 13 1,071 593ms 0ms 14 1,074 586ms 0ms 15 1,056 592ms 0ms 16 1,011 564ms 0ms 17 999 568ms 0ms 18 975 554ms 0ms 19 975 555ms 0ms 20 981 562ms 0ms 21 1,008 565ms 0ms 22 1,023 586ms 0ms 23 1,065 600ms 0ms [ User: symmetricds - Total duration: 13s879ms - Times executed: 25171 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s879ms - Times executed: 25171 ]
-
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-01-07 22:00:15 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 15:24:49 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:39:15 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 8s807ms 166 26ms 83ms 53ms SELECT epscheckli0_.eps_check_id AS eps_chec9_5_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_1_, epscheckli0_.orderlineid AS orderlin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.issnomedmismatch AS issnomed6_6_1_, epscheckli0_.isorderqtymismatch AS isorderq7_6_1_, epscheckli0_.ishit AS ishit8_6_1_ FROM eps_check_lines epscheckli0_ WHERE epscheckli0_.eps_check_id = ? ORDER BY epscheckli0_.description ASC;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jan 07 06 70 3s853ms 55ms 07 5 179ms 35ms 08 1 58ms 58ms 09 70 3s718ms 53ms 10 15 799ms 53ms 13 5 198ms 39ms [ User: pharmisight - Total duration: 8s807ms - Times executed: 166 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s807ms - Times executed: 166 ]
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = $1 ORDER BY epscheckli0_.description ASC;
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = $1 ORDER BY epscheckli0_.description ASC;
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = $1 ORDER BY epscheckli0_.description ASC;
Date: 2019-01-07 06:43:56 Duration: 83ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:12:23 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:27:11 Duration: 69ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 8s470ms 554,937 0ms 4ms 0ms SHOW TRANSACTION ISOLATION level;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jan 07 00 20,126 307ms 0ms 01 19,596 302ms 0ms 02 19,778 300ms 0ms 03 19,620 307ms 0ms 04 19,597 302ms 0ms 05 19,700 303ms 0ms 06 36,737 506ms 0ms 07 31,265 478ms 0ms 08 31,275 480ms 0ms 09 32,075 491ms 0ms 10 32,427 498ms 0ms 11 31,477 449ms 0ms 12 24,624 378ms 0ms 13 22,620 353ms 0ms 14 23,088 363ms 0ms 15 21,646 341ms 0ms 16 19,183 295ms 0ms 17 18,697 291ms 0ms 18 18,348 281ms 0ms 19 18,020 278ms 0ms 20 18,117 281ms 0ms 21 18,514 282ms 0ms 22 18,827 289ms 0ms 23 19,580 302ms 0ms [ User: symmetricds - Total duration: 8s441ms - Times executed: 554239 ]
[ User: pharmisight - Total duration: 29ms - Times executed: 698 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s470ms - Times executed: 554930 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 7 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2019-01-07 17:40:01 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 07:36:36 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 12:41:37 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 8s143ms 72,971 0ms 13ms 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 #15
Day Hour Count Duration Avg duration Jan 07 06 7,076 668ms 0ms 07 14,626 1s352ms 0ms 08 11,224 1s98ms 0ms 09 9,067 2s19ms 0ms 10 11,498 1s243ms 0ms 11 10,528 892ms 0ms 12 3,776 362ms 0ms 13 1,404 150ms 0ms 14 1,619 154ms 0ms 15 1,047 102ms 0ms 16 53 5ms 0ms 17 1,053 94ms 0ms [ User: pharmisight - Total duration: 8s143ms - Times executed: 72971 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s143ms - Times executed: 72971 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
Date: 2019-01-07 09:20:47 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:20:47 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:27:50 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 7s613ms 11,903 0ms 9ms 0ms UPDATE order_line_activities SET order_line_id = ? WHERE order_line_activity_id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jan 07 06 1,021 672ms 0ms 07 1,867 1s256ms 0ms 08 2,032 1s286ms 0ms 09 1,875 1s108ms 0ms 10 1,976 1s197ms 0ms 11 1,852 1s129ms 0ms 12 472 366ms 0ms 13 215 171ms 0ms 14 415 285ms 0ms 15 150 106ms 0ms 16 28 31ms 1ms [ User: pharmisight - Total duration: 7s613ms - Times executed: 11903 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s613ms - Times executed: 11903 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
Date: 2019-01-07 06:20:58 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 08:37:01 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:21:01 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 7s578ms 1 7s578ms 7s578ms 7s578ms SELECT this_.order_line_id AS order_li1_24_0_, this_.routenumber AS routenum2_24_0_, this_.sapordernumber AS saporder3_24_0_, this_.ordernumber AS ordernum4_24_0_, this_.answerordernumber AS answeror5_24_0_, this_.partcode AS partcode6_24_0_, this_.partdescription AS partdesc7_24_0_, this_.patientname AS patientn8_24_0_, this_.firstname AS firstnam9_24_0_, this_.middlename AS middlen10_24_0_, this_.lastname AS lastnam11_24_0_, this_.patientdateofbirth AS patient12_24_0_, this_.patientpostcode AS patient13_24_0_, this_.patientpostcodeprefix AS patient14_24_0_, this_.orderqty AS orderqt15_24_0_, this_.allocqty AS allocqt16_24_0_, this_.shipqty AS shipqty17_24_0_, this_.adjustedqty AS adjuste18_24_0_, this_.scannedqty AS scanned19_24_0_, this_.assignedqty AS assigne20_24_0_, this_.checkedqty AS checked21_24_0_, this_.backorderqty AS backord22_24_0_, this_.cancelqty AS cancelq23_24_0_, this_.reducedqty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliverydate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapcustomerid AS sapcust29_24_0_, this_.billtotype AS billtot30_24_0_, this_.barcodedate AS barcode31_24_0_, this_.barcodebatch AS barcode32_24_0_, this_.patientid AS patient33_24_0_, this_.isadded AS isadded34_24_0_, this_.isnotwithinage AS isnotwi35_24_0_, this_.isunderage AS isunder36_24_0_, this_.agecheck AS agechec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.ispaperworkproblem AS ispaper40_24_0_, this_.paperworkresolution AS paperwo41_24_0_, this_.pickerid AS pickeri42_24_0_, this_.specialcare AS special43_24_0_, this_.paperworkenquirystarted AS paperwo44_24_0_, this_.paperworkenquiryfinished AS paperwo45_24_0_, this_.paperworkenquiryresponse AS paperwo46_24_0_, this_.isnewproduct AS isnewpr47_24_0_, this_.extraprocedure AS extrapr48_24_0_, this_.overaverageqtymax AS overave49_24_0_, this_.overaverageqtyresolution AS overave50_24_0_, this_.createuser AS createu51_24_0_, this_.patientalert AS patient52_24_0_, this_.itemalert AS itemale53_24_0_, this_.checkerid AS checker54_24_0_, this_.reductionsummary AS reducti55_24_0_, this_.ismetabolic AS ismetab56_24_0_, this_.rxstatus AS rxstatu57_24_0_, this_.lastregupdateusertype AS lastreg58_24_0_, this_.lastregupdateusername AS lastreg59_24_0_, this_.lastregupdatedate AS lastreg60_24_0_, this_.sapplannedshipdate AS sapplan61_24_0_, this_.sapplanneddeliverydate AS sapplan62_24_0_, this_.requestedsapquantity AS request63_24_0_, this_.orderquantity AS orderqu64_24_0_, this_.reglinecreatedusertype AS regline65_24_0_, this_.reglinecreatedusername AS regline66_24_0_, this_.reglinecreateddate AS regline67_24_0_, this_.audited AS audited68_24_0_, this_.ismetabolicpatient AS ismetab69_24_0_, this_.addedcase AS addedca70_24_0_, this_.ordertype AS orderty71_24_0_, this_.created AS created72_24_0_, this_.updated AS updated73_24_0_, this_.rxcheckby AS rxcheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertconfirmation AS alertco77_24_0_, this_.homewardaction AS homewar78_24_0_ FROM order_lines this_ WHERE this_.status <> ? AND (this_.patientalert = ? OR this_.itemalert = ?) AND (this_.agecheck <> ? OR (this_.patientalert <> ? OR this_.itemalert <> ?) OR this_.status = ? OR this_.rxstatus = ? OR (this_.overaverageqtymax <> ?)) ORDER BY this_.routenumber ASC, this_.lastname ASC, this_.partcode ASC LIMIT ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 07 08 1 7s578ms 7s578ms [ User: pharmisight - Total duration: 7s578ms - Times executed: 1 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s578ms - Times executed: 1 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.status <> $1 AND (this_.patientAlert = $2 OR this_.itemAlert = $3) AND (this_.ageCheck <> $4 OR (this_.patientAlert <> $5 OR this_.itemAlert <> $6) OR this_.status = $7 OR this_.rxStatus = $8 OR (this_.overAverageQtyMax <> $9)) ORDER BY this_.routeNumber ASC, this_.lastName ASC, this_.partCode ASC LIMIT $10;
Date: 2019-01-07 08:58:10 Duration: 7s578ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 7s333ms 11,903 0ms 9ms 0ms INSERT INTO order_line_activities (status, reason, scannedqty, assignedqty, backorderqty, barcode, barcodedate, barcodebatch, expiration, cancelqty, reducedqty, mispickitemcode, created, missinglabels, order_line_activity_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 07 06 1,021 617ms 0ms 07 1,867 1s215ms 0ms 08 2,032 1s209ms 0ms 09 1,875 1s70ms 0ms 10 1,976 1s165ms 0ms 11 1,852 1s84ms 0ms 12 472 365ms 0ms 13 215 178ms 0ms 14 415 286ms 0ms 15 150 109ms 0ms 16 28 30ms 1ms [ User: pharmisight - Total duration: 7s333ms - Times executed: 11903 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s333ms - Times executed: 11903 ]
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
Date: 2019-01-07 09:10:34 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 10:34:55 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 14:02:07 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 6s463ms 117,840 0ms 10ms 0ms INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES (?, ?, ?, current_timestamp);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jan 07 00 414 24ms 0ms 01 36 4ms 0ms 02 386 25ms 0ms 03 52 5ms 0ms 04 36 4ms 0ms 05 42 5ms 0ms 06 50,606 2s492ms 0ms 07 10,576 619ms 0ms 08 10,804 649ms 0ms 09 11,604 675ms 0ms 10 11,374 676ms 0ms 11 10,608 596ms 0ms 12 3,286 193ms 0ms 13 1,528 94ms 0ms 14 2,344 149ms 0ms 15 1,024 62ms 0ms 16 228 15ms 0ms 17 705 45ms 0ms 18 42 4ms 0ms 19 48 5ms 0ms 20 229 16ms 0ms 21 402 20ms 0ms 22 508 25ms 0ms 23 958 48ms 0ms [ User: symmetricds - Total duration: 6s463ms - Times executed: 117840 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s463ms - Times executed: 117840 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
Date: 2019-01-07 09:41:33 Duration: 10ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:07:32 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:06:51 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 6s282ms 298 11ms 45ms 21ms SELECT alerts0_.alert_confirmation_id AS alert_c10_1_0_, alerts0_.alert_id AS alert_id1_0_0_, alerts0_.alert_id AS alert_id1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientnote AS patientn3_0_1_, alerts0_.itemnote AS itemnote4_0_1_, alerts0_.confirmedchecker AS confirme5_0_1_, alerts0_.confirmedcheckerby AS confirme6_0_1_, alerts0_.isconfirmedbybarcode AS isconfir7_0_1_, alerts0_.confirmedpharmacist AS confirme8_0_1_, alerts0_.confirmedpharmacistby AS confirme9_0_1_ FROM alerts alerts0_ WHERE alerts0_.alert_confirmation_id = ? ORDER BY alerts0_.created ASC;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jan 07 06 4 111ms 27ms 07 34 793ms 23ms 08 61 1s175ms 19ms 09 91 1s970ms 21ms 10 61 1s297ms 21ms 11 31 614ms 19ms 12 4 91ms 22ms 13 10 175ms 17ms 14 2 52ms 26ms [ User: pharmisight - Total duration: 6s282ms - Times executed: 298 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s282ms - Times executed: 298 ]
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
Date: 2019-01-07 07:48:11 Duration: 45ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 08:55:36 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 14:51:52 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 554,937 8s470ms 0ms 4ms 0ms SHOW TRANSACTION ISOLATION level;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 07 00 20,126 307ms 0ms 01 19,596 302ms 0ms 02 19,778 300ms 0ms 03 19,620 307ms 0ms 04 19,597 302ms 0ms 05 19,700 303ms 0ms 06 36,737 506ms 0ms 07 31,265 478ms 0ms 08 31,275 480ms 0ms 09 32,075 491ms 0ms 10 32,427 498ms 0ms 11 31,477 449ms 0ms 12 24,624 378ms 0ms 13 22,620 353ms 0ms 14 23,088 363ms 0ms 15 21,646 341ms 0ms 16 19,183 295ms 0ms 17 18,697 291ms 0ms 18 18,348 281ms 0ms 19 18,020 278ms 0ms 20 18,117 281ms 0ms 21 18,514 282ms 0ms 22 18,827 289ms 0ms 23 19,580 302ms 0ms [ User: symmetricds - Total duration: 8s441ms - Times executed: 554239 ]
[ User: pharmisight - Total duration: 29ms - Times executed: 698 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s470ms - Times executed: 554930 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 7 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2019-01-07 17:40:01 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 07:36:36 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 12:41:37 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 223,945 1s458ms 0ms 2ms 0ms BEGIN;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 07 00 6,462 39ms 0ms 01 6,237 38ms 0ms 02 6,338 39ms 0ms 03 6,256 38ms 0ms 04 6,237 37ms 0ms 05 6,322 38ms 0ms 06 20,664 136ms 0ms 07 14,474 98ms 0ms 08 15,675 108ms 0ms 09 17,435 121ms 0ms 10 17,175 125ms 0ms 11 16,228 102ms 0ms 12 10,583 69ms 0ms 13 8,430 54ms 0ms 14 8,642 56ms 0ms 15 7,742 49ms 0ms 16 6,544 41ms 0ms 17 6,140 37ms 0ms 18 6,550 39ms 0ms 19 5,784 35ms 0ms 20 5,817 35ms 0ms 21 5,925 36ms 0ms 22 6,019 37ms 0ms 23 6,266 38ms 0ms [ User: symmetricds - Total duration: 1s170ms - Times executed: 191986 ]
[ User: pharmisight - Total duration: 288ms - Times executed: 31959 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s457ms - Times executed: 223903 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 42 ]
-
BEGIN;
-
BEGIN;
-
BEGIN;
Date: 2019-01-07 10:22:36 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:27:36 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 10:09:36 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 223,928 23s859ms 0ms 86ms 0ms COMMIT;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 07 00 6,462 219ms 0ms 01 6,236 172ms 0ms 02 6,339 205ms 0ms 03 6,256 202ms 0ms 04 6,236 175ms 0ms 05 6,322 189ms 0ms 06 20,668 3s924ms 0ms 07 14,471 2s452ms 0ms 08 15,669 2s685ms 0ms 09 17,439 2s687ms 0ms 10 17,175 2s635ms 0ms 11 16,228 2s656ms 0ms 12 10,580 1s507ms 0ms 13 8,427 805ms 0ms 14 8,639 751ms 0ms 15 7,742 539ms 0ms 16 6,541 275ms 0ms 17 6,140 239ms 0ms 18 6,547 564ms 0ms 19 5,784 187ms 0ms 20 5,817 198ms 0ms 21 5,925 204ms 0ms 22 6,019 180ms 0ms 23 6,266 197ms 0ms [ User: symmetricds - Total duration: 17s390ms - Times executed: 191986 ]
[ User: pharmisight - Total duration: 6s469ms - Times executed: 31942 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s852ms - Times executed: 223907 ]
[ Application: [unknown] - Total duration: 6ms - Times executed: 21 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-01-07 06:20:06 Duration: 86ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:25:04 Duration: 82ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:25:04 Duration: 64ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 220,707 2s301ms 0ms 2ms 0ms SELECT ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 07 00 7,740 79ms 0ms 01 7,047 75ms 0ms 02 7,162 75ms 0ms 03 7,070 78ms 0ms 04 7,049 75ms 0ms 05 7,113 76ms 0ms 06 15,960 149ms 0ms 07 13,740 141ms 0ms 08 13,720 147ms 0ms 09 14,045 146ms 0ms 10 14,259 145ms 0ms 11 13,865 132ms 0ms 12 10,710 114ms 0ms 13 8,903 93ms 0ms 14 9,014 94ms 0ms 15 8,287 89ms 0ms 16 7,083 73ms 0ms 17 6,843 72ms 0ms 18 7,324 77ms 0ms 19 6,550 70ms 0ms 20 6,579 70ms 0ms 21 6,719 71ms 0ms 22 6,823 73ms 0ms 23 7,102 75ms 0ms [ User: symmetricds - Total duration: 2s301ms - Times executed: 220707 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s301ms - Times executed: 220707 ]
-
SELECT 1;
-
SELECT 1;
-
SELECT 1;
Date: 2019-01-07 08:43:36 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 08:03:35 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 15:45:43 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 117,840 6s463ms 0ms 10ms 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 Jan 07 00 414 24ms 0ms 01 36 4ms 0ms 02 386 25ms 0ms 03 52 5ms 0ms 04 36 4ms 0ms 05 42 5ms 0ms 06 50,606 2s492ms 0ms 07 10,576 619ms 0ms 08 10,804 649ms 0ms 09 11,604 675ms 0ms 10 11,374 676ms 0ms 11 10,608 596ms 0ms 12 3,286 193ms 0ms 13 1,528 94ms 0ms 14 2,344 149ms 0ms 15 1,024 62ms 0ms 16 228 15ms 0ms 17 705 45ms 0ms 18 42 4ms 0ms 19 48 5ms 0ms 20 229 16ms 0ms 21 402 20ms 0ms 22 508 25ms 0ms 23 958 48ms 0ms [ User: symmetricds - Total duration: 6s463ms - Times executed: 117840 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s463ms - Times executed: 117840 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
Date: 2019-01-07 09:41:33 Duration: 10ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:07:32 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:06:51 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 75,696 16s683ms 0ms 9ms 0ms SELECT orders0_.order_round_id AS order_r42_28_0_, orders0_.order_id AS order_id1_22_0_, orders0_.order_id AS order_id1_22_1_, orders0_.sapordernumber AS saporder2_22_1_, orders0_.answerordernumber AS answeror3_22_1_, orders0_.ordernumber AS ordernum4_22_1_, orders0_.routenumber AS routenum5_22_1_, orders0_.billtotype AS billtoty6_22_1_, orders0_.patientname AS patientn7_22_1_, orders0_.firstname AS firstnam8_22_1_, orders0_.middlename AS middlena9_22_1_, orders0_.lastname AS lastnam10_22_1_, orders0_.patientdateofbirth AS patient11_22_1_, orders0_.patientpostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapcustomerid AS sapcust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientid AS patient16_22_1_, orders0_.isnotwithinage AS isnotwi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliverybarcode AS deliver20_22_1_, orders0_.deliverydate AS deliver21_22_1_, orders0_.rxstatus AS rxstatu22_22_1_, orders0_.createuser AS createu23_22_1_, orders0_.subordertype AS suborde24_22_1_, orders0_.sapcontractid AS sapcont25_22_1_, orders0_.salesforceordernumber AS salesfo26_22_1_, orders0_.patienttype AS patient27_22_1_, orders0_.ordertype AS orderty28_22_1_, orders0_.orderstatus AS orderst29_22_1_, orders0_.nhsnumber AS nhsnumb30_22_1_, orders0_.individuallabelling AS individ31_22_1_, orders0_.orderid AS orderid32_22_1_, orders0_.clusterlead AS cluster33_22_1_, orders0_.clustergroup AS cluster34_22_1_, orders0_.accountid AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionby AS reducti37_22_1_, orders0_.alertconfirmation AS alertco38_22_1_, orders0_.created AS created39_22_1_, orders0_.updated AS updated40_22_1_, orders0_.note AS note41_22_1_ FROM orders orders0_ WHERE orders0_.order_round_id = ? ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 07 06 17,665 3s769ms 0ms 07 1,771 604ms 0ms 08 5,083 1s272ms 0ms 09 8,418 1s857ms 0ms 10 3,541 1s14ms 0ms 11 30,448 6s170ms 0ms 12 4,009 853ms 0ms 13 1,523 418ms 0ms 14 1,331 306ms 0ms 15 829 171ms 0ms 16 898 203ms 0ms 17 64 14ms 0ms 20 116 25ms 0ms [ User: pharmisight - Total duration: 16s683ms - Times executed: 75696 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s683ms - Times executed: 75696 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
Date: 2019-01-07 13:05:27 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:10:13 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:51:19 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 72,971 8s143ms 0ms 13ms 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 #7
Day Hour Count Duration Avg duration Jan 07 06 7,076 668ms 0ms 07 14,626 1s352ms 0ms 08 11,224 1s98ms 0ms 09 9,067 2s19ms 0ms 10 11,498 1s243ms 0ms 11 10,528 892ms 0ms 12 3,776 362ms 0ms 13 1,404 150ms 0ms 14 1,619 154ms 0ms 15 1,047 102ms 0ms 16 53 5ms 0ms 17 1,053 94ms 0ms [ User: pharmisight - Total duration: 8s143ms - Times executed: 72971 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s143ms - Times executed: 72971 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
Date: 2019-01-07 09:20:47 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:20:47 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:27:50 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 67,079 36s735ms 0ms 17ms 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 #8
Day Hour Count Duration Avg duration Jan 07 06 16,853 8s664ms 0ms 07 61 62ms 1ms 08 3,135 1s765ms 0ms 09 7,574 4s154ms 0ms 10 1,961 1s538ms 0ms 11 29,267 15s634ms 0ms 12 3,720 2s27ms 0ms 13 1,443 1s26ms 0ms 14 1,210 748ms 0ms 15 759 422ms 0ms 16 904 572ms 0ms 17 19 5ms 0ms 20 173 112ms 0ms [ User: pharmisight - Total duration: 36s735ms - Times executed: 67079 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 36s735ms - Times executed: 67079 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-01-07 11:50:51 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:43:02 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:07:32 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 63,587 2s692ms 0ms 3ms 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 #9
Day Hour Count Duration Avg duration Jan 07 06 4,015 166ms 0ms 07 13,865 587ms 0ms 08 10,349 463ms 0ms 09 7,724 326ms 0ms 10 10,477 438ms 0ms 11 9,817 375ms 0ms 12 3,554 162ms 0ms 13 1,295 59ms 0ms 14 1,461 65ms 0ms 15 974 43ms 0ms 16 44 1ms 0ms 17 12 0ms 0ms [ User: pharmisight - Total duration: 2s692ms - Times executed: 63587 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s692ms - Times executed: 63587 ]
-
SELECT this_.DLX_BARCODE AS DLX_BARC1_3_0_, this_.orderNumber AS orderNum2_3_0_, this_.pickDateTime AS pickDate3_3_0_, this_.picker AS picker4_3_0_, this_.CREATED AS CREATED5_3_0_, this_.partCode AS partCode6_3_0_, this_.orderQty AS orderQty7_3_0_ FROM DLX_BARCODES this_ WHERE this_.orderNumber = $1;
-
SELECT this_.DLX_BARCODE AS DLX_BARC1_3_0_, this_.orderNumber AS orderNum2_3_0_, this_.pickDateTime AS pickDate3_3_0_, this_.picker AS picker4_3_0_, this_.CREATED AS CREATED5_3_0_, this_.partCode AS partCode6_3_0_, this_.orderQty AS orderQty7_3_0_ FROM DLX_BARCODES this_ WHERE this_.orderNumber = $1;
-
SELECT this_.DLX_BARCODE AS DLX_BARC1_3_0_, this_.orderNumber AS orderNum2_3_0_, this_.pickDateTime AS pickDate3_3_0_, this_.picker AS picker4_3_0_, this_.CREATED AS CREATED5_3_0_, this_.partCode AS partCode6_3_0_, this_.orderQty AS orderQty7_3_0_ FROM DLX_BARCODES this_ WHERE this_.orderNumber = $1;
Date: 2019-01-07 12:42:52 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 07:04:02 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 08:37:36 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 46,947 2s275ms 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 #10
Day Hour Count Duration Avg duration Jan 07 00 1,764 85ms 0ms 01 1,764 91ms 0ms 02 1,764 91ms 0ms 03 1,764 83ms 0ms 04 1,764 85ms 0ms 05 1,764 82ms 0ms 06 2,341 129ms 0ms 07 3,093 153ms 0ms 08 3,420 190ms 0ms 09 2,745 134ms 0ms 10 2,722 152ms 0ms 11 2,725 142ms 0ms 12 2,055 103ms 0ms 13 1,873 91ms 0ms 14 2,016 102ms 0ms 15 1,900 90ms 0ms 16 889 42ms 0ms 17 1,764 63ms 0ms 18 1,764 62ms 0ms 19 882 41ms 0ms 20 1,764 63ms 0ms 21 882 41ms 0ms 22 1,764 62ms 0ms 23 1,764 86ms 0ms [ User: pharmisight - Total duration: 2s275ms - Times executed: 46947 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s275ms - Times executed: 46947 ]
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = $1 ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = $1 ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_15_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_16_1_, itembarcod0_.barcode AS barcode2_16_1_, itembarcod0_.size AS size3_16_1_, itembarcod0_.hasSiblings AS hasSibli4_16_1_, itembarcod0_.itemBarcodeType AS itemBarc5_16_1_, itembarcod0_.status AS status6_16_1_, itembarcod0_.created AS created7_16_1_, itembarcod0_.createdBy AS createdB8_16_1_, itembarcod0_.updated AS updated9_16_1_, itembarcod0_.updatedBy AS updated10_16_1_, itembarcod0_.note AS note11_16_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_16_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = $1 ORDER BY itembarcod0_.barcode ASC;
Date: 2019-01-07 14:20:00 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 17:20:22 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 20:20:03 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 45,077 2s216ms 0ms 0ms 0ms SELECT itemcodes0_.item_id AS item_id11_15_0_, itemcodes0_.item_code_id AS item_cod1_18_0_, itemcodes0_.item_code_id AS item_cod1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemcodetype AS itemcode3_18_1_, itemcodes0_.isprimary AS isprimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdby AS createdb7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedby AS updatedb9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.item_id AS item_id11_18_1_ FROM item_codes itemcodes0_ WHERE itemcodes0_.item_id = ? ORDER BY itemcodes0_.code ASC;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 07 00 1,990 102ms 0ms 01 1,990 109ms 0ms 02 1,990 109ms 0ms 03 1,990 101ms 0ms 04 1,990 102ms 0ms 05 1,990 97ms 0ms 06 2,060 115ms 0ms 07 2,015 84ms 0ms 08 2,014 111ms 0ms 09 2,079 99ms 0ms 10 2,037 114ms 0ms 11 1,999 104ms 0ms 12 1,996 102ms 0ms 13 2,020 103ms 0ms 14 1,991 100ms 0ms 15 1,991 99ms 0ms 16 995 50ms 0ms 17 1,990 74ms 0ms 18 1,990 75ms 0ms 19 995 49ms 0ms 20 1,990 76ms 0ms 21 995 50ms 0ms 22 1,990 76ms 0ms 23 1,990 102ms 0ms [ User: pharmisight - Total duration: 2s216ms - Times executed: 45077 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s216ms - Times executed: 45077 ]
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = $1 ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = $1 ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = $1 ORDER BY itemcodes0_.code ASC;
Date: 2019-01-07 08:00:01 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 08:00:01 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 08:00:01 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 36,537 1s585ms 0ms 5ms 0ms SELECT * FROM order_rounds r WHERE r.flowreport = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jan 07 06 8,478 361ms 0ms 08 1,650 73ms 0ms 09 4,082 170ms 0ms 10 1,050 62ms 0ms 11 16,450 697ms 0ms 12 2,083 86ms 0ms 13 926 50ms 0ms 14 740 33ms 0ms 15 424 18ms 0ms 16 538 26ms 0ms 20 116 4ms 0ms [ User: pharmisight - Total duration: 1s585ms - Times executed: 36537 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s585ms - Times executed: 36537 ]
-
SELECT * FROM order_rounds r WHERE r.flowreport = $1;
-
SELECT * FROM order_rounds r WHERE r.flowreport = $1;
-
SELECT * FROM order_rounds r WHERE r.flowreport = $1;
Date: 2019-01-07 11:53:03 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:56:59 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:30:48 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 29,474 1s421ms 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 #13
Day Hour Count Duration Avg duration Jan 07 00 1,082 52ms 0ms 01 1,078 52ms 0ms 02 1,084 52ms 0ms 03 1,077 52ms 0ms 04 1,078 52ms 0ms 05 1,084 53ms 0ms 06 1,719 78ms 0ms 07 1,651 79ms 0ms 08 1,641 80ms 0ms 09 1,652 80ms 0ms 10 1,673 83ms 0ms 11 1,617 74ms 0ms 12 1,298 62ms 0ms 13 1,199 58ms 0ms 14 1,232 60ms 0ms 15 1,160 57ms 0ms 16 1,047 50ms 0ms 17 1,020 48ms 0ms 18 985 47ms 0ms 19 985 46ms 0ms 20 990 47ms 0ms 21 1,016 48ms 0ms 22 1,031 49ms 0ms 23 1,075 50ms 0ms [ User: symmetricds - Total duration: 1s421ms - Times executed: 29474 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s421ms - Times executed: 29474 ]
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = $1;
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = $1;
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = $1;
Date: 2019-01-07 06:53:35 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 14:48:41 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 05:57:35 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 25,831 1s209ms 0ms 9ms 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 #14
Day Hour Count Duration Avg duration Jan 07 00 1,060 49ms 0ms 01 1,044 48ms 0ms 02 1,060 48ms 0ms 03 1,046 50ms 0ms 04 1,044 49ms 0ms 05 1,048 49ms 0ms 06 1,105 44ms 0ms 07 1,167 51ms 0ms 08 1,174 55ms 0ms 09 1,168 53ms 0ms 10 1,166 52ms 0ms 11 1,223 50ms 0ms 12 1,227 57ms 0ms 13 1,140 53ms 0ms 14 1,093 51ms 0ms 15 1,083 56ms 0ms 16 1,008 49ms 0ms 17 984 56ms 0ms 18 1,029 48ms 0ms 19 958 44ms 0ms 20 966 46ms 0ms 21 987 45ms 0ms 22 1,003 46ms 0ms 23 1,048 48ms 0ms [ User: symmetricds - Total duration: 1s209ms - Times executed: 25831 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s209ms - Times executed: 25831 ]
-
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-01-07 17:02:26 Duration: 9ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 15:29:43 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 16:38:46 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 25,171 13s879ms 0ms 4ms 0ms SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jan 07 00 1,075 604ms 0ms 01 1,074 619ms 0ms 02 1,074 595ms 0ms 03 1,071 619ms 0ms 04 1,074 618ms 0ms 05 1,074 612ms 0ms 06 1,065 531ms 0ms 07 1,071 563ms 0ms 08 1,071 561ms 0ms 09 1,068 570ms 0ms 10 1,071 560ms 0ms 11 1,071 515ms 0ms 12 1,074 575ms 0ms 13 1,071 593ms 0ms 14 1,074 586ms 0ms 15 1,056 592ms 0ms 16 1,011 564ms 0ms 17 999 568ms 0ms 18 975 554ms 0ms 19 975 555ms 0ms 20 981 562ms 0ms 21 1,008 565ms 0ms 22 1,023 586ms 0ms 23 1,065 600ms 0ms [ User: symmetricds - Total duration: 13s879ms - Times executed: 25171 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s879ms - Times executed: 25171 ]
-
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-01-07 22:00:15 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 15:24:49 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:39:15 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 21,909 944ms 0ms 4ms 0ms SELECT flowreport0_.flow_report_id AS flow_rep1_9_0_, flowreport0_.routenumber AS routenum2_9_0_, flowreport0_.rounddeliverydate AS rounddel3_9_0_, flowreport0_.distributionpoint AS distribu4_9_0_, flowreport0_.fullypicked AS fullypic5_9_0_, flowreport0_.outbaseroutescorrectlygrouped AS outbaser6_9_0_, flowreport0_.causeofdelay AS causeofd7_9_0_, flowreport0_.pharmacy100checktime AS pharmacy8_9_0_, flowreport0_.linesheldback AS lineshel9_9_0_, flowreport0_.packtime100 AS packtim10_9_0_, flowreport0_.replenish AS repleni11_9_0_, flowreport0_.comment AS comment12_9_0_, flowreport0_.pickdatetime AS pickdat13_9_0_, flowreport0_.failedtargetpicktime AS failedt14_9_0_, flowreport0_.actualpaperworkcompletetime AS actualp15_9_0_, flowreport0_.changedpickdatetime AS changed16_9_0_, flowreport0_.manuallychangedpicktime AS manuall17_9_0_, flowreport0_.created AS created18_9_0_, flowreport0_.updated AS updated19_9_0_, flowreport0_.note AS note20_9_0_ FROM flow_reports flowreport0_ WHERE flowreport0_.flow_report_id = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jan 07 05 8 0ms 0ms 06 1,823 76ms 0ms 07 1,963 82ms 0ms 08 3,817 165ms 0ms 09 4,023 179ms 0ms 10 4,622 208ms 0ms 11 3,220 117ms 0ms 12 807 34ms 0ms 13 392 19ms 0ms 14 535 25ms 0ms 15 305 13ms 0ms 16 299 15ms 0ms 17 84 4ms 0ms 19 10 0ms 0ms 20 1 0ms 0ms [ User: pharmisight - Total duration: 944ms - Times executed: 21909 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 944ms - Times executed: 21909 ]
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, flowreport0_.routeNumber AS routeNum2_9_0_, flowreport0_.roundDeliveryDate AS roundDel3_9_0_, flowreport0_.distributionPoint AS distribu4_9_0_, flowreport0_.fullyPicked AS fullyPic5_9_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, flowreport0_.causeOfDelay AS causeOfD7_9_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_9_0_, flowreport0_.linesHeldBack AS linesHel9_9_0_, flowreport0_.packTime100 AS packTim10_9_0_, flowreport0_.replenish AS repleni11_9_0_, flowreport0_.comment AS comment12_9_0_, flowreport0_.pickDateTime AS pickDat13_9_0_, flowreport0_.failedTargetPickTime AS failedT14_9_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_9_0_, flowreport0_.changedPickDateTime AS changed16_9_0_, flowreport0_.manuallyChangedPickTime AS manuall17_9_0_, flowreport0_.CREATED AS CREATED18_9_0_, flowreport0_.UPDATED AS UPDATED19_9_0_, flowreport0_.note AS note20_9_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = $1;
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, flowreport0_.routeNumber AS routeNum2_9_0_, flowreport0_.roundDeliveryDate AS roundDel3_9_0_, flowreport0_.distributionPoint AS distribu4_9_0_, flowreport0_.fullyPicked AS fullyPic5_9_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, flowreport0_.causeOfDelay AS causeOfD7_9_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_9_0_, flowreport0_.linesHeldBack AS linesHel9_9_0_, flowreport0_.packTime100 AS packTim10_9_0_, flowreport0_.replenish AS repleni11_9_0_, flowreport0_.comment AS comment12_9_0_, flowreport0_.pickDateTime AS pickDat13_9_0_, flowreport0_.failedTargetPickTime AS failedT14_9_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_9_0_, flowreport0_.changedPickDateTime AS changed16_9_0_, flowreport0_.manuallyChangedPickTime AS manuall17_9_0_, flowreport0_.CREATED AS CREATED18_9_0_, flowreport0_.UPDATED AS UPDATED19_9_0_, flowreport0_.note AS note20_9_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = $1;
-
SELECT flowreport0_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, flowreport0_.routeNumber AS routeNum2_9_0_, flowreport0_.roundDeliveryDate AS roundDel3_9_0_, flowreport0_.distributionPoint AS distribu4_9_0_, flowreport0_.fullyPicked AS fullyPic5_9_0_, flowreport0_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, flowreport0_.causeOfDelay AS causeOfD7_9_0_, flowreport0_.pharmacy100CheckTime AS pharmacy8_9_0_, flowreport0_.linesHeldBack AS linesHel9_9_0_, flowreport0_.packTime100 AS packTim10_9_0_, flowreport0_.replenish AS repleni11_9_0_, flowreport0_.comment AS comment12_9_0_, flowreport0_.pickDateTime AS pickDat13_9_0_, flowreport0_.failedTargetPickTime AS failedT14_9_0_, flowreport0_.actualPaperworkCompleteTime AS actualP15_9_0_, flowreport0_.changedPickDateTime AS changed16_9_0_, flowreport0_.manuallyChangedPickTime AS manuall17_9_0_, flowreport0_.CREATED AS CREATED18_9_0_, flowreport0_.UPDATED AS UPDATED19_9_0_, flowreport0_.note AS note20_9_0_ FROM FLOW_REPORTS flowreport0_ WHERE flowreport0_.FLOW_REPORT_ID = $1;
Date: 2019-01-07 09:21:00 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:32:13 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:52:56 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 20,084 647ms 0ms 11ms 0ms SELECT nextval(?);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 07 06 8,280 268ms 0ms 07 1,927 47ms 0ms 08 2,107 53ms 0ms 09 2,105 48ms 0ms 10 2,142 51ms 0ms 11 1,940 73ms 0ms 12 516 31ms 0ms 13 236 19ms 0ms 14 448 15ms 0ms 15 188 6ms 0ms 16 32 1ms 0ms 17 132 13ms 0ms 20 31 17ms 0ms [ User: pharmisight - Total duration: 647ms - Times executed: 20084 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 647ms - Times executed: 20084 ]
-
SELECT nextval('query_status_activities_sequence');
-
SELECT nextval('flow_reports_sequence');
-
SELECT nextval('item_notes_sequence');
Date: 2019-01-07 06:06:32 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:04:05 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:01:25 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 17,333 210ms 0ms 0ms 0ms SET session characteristics AS TRANSACTION ISOLATION level read COMMITTED;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 07 00 388 4ms 0ms 01 380 4ms 0ms 02 392 5ms 0ms 03 383 4ms 0ms 04 380 4ms 0ms 05 392 5ms 0ms 06 1,678 18ms 0ms 07 1,531 18ms 0ms 08 1,511 18ms 0ms 09 1,538 19ms 0ms 10 1,575 19ms 0ms 11 1,463 17ms 0ms 12 820 10ms 0ms 13 627 7ms 0ms 14 688 8ms 0ms 15 574 6ms 0ms 16 423 4ms 0ms 17 388 4ms 0ms 18 359 4ms 0ms 19 359 4ms 0ms 20 358 4ms 0ms 21 366 4ms 0ms 22 371 4ms 0ms 23 389 4ms 0ms [ User: symmetricds - Total duration: 210ms - Times executed: 17333 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 210ms - Times executed: 17333 ]
-
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-01-07 05:00:00 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 02:51:26 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 10:41:36 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 17,333 263ms 0ms 6ms 0ms SET session characteristics AS TRANSACTION ISOLATION level read UNCOMMITTED;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jan 07 00 390 7ms 0ms 01 381 5ms 0ms 02 389 6ms 0ms 03 383 6ms 0ms 04 383 6ms 0ms 05 392 6ms 0ms 06 1,675 22ms 0ms 07 1,533 21ms 0ms 08 1,512 21ms 0ms 09 1,535 21ms 0ms 10 1,575 22ms 0ms 11 1,466 20ms 0ms 12 817 19ms 0ms 13 627 9ms 0ms 14 688 10ms 0ms 15 574 8ms 0ms 16 423 6ms 0ms 17 388 5ms 0ms 18 359 5ms 0ms 19 359 5ms 0ms 20 358 5ms 0ms 21 366 5ms 0ms 22 371 5ms 0ms 23 389 6ms 0ms [ User: symmetricds - Total duration: 263ms - Times executed: 17333 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 263ms - Times executed: 17333 ]
-
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-01-07 12:41:37 Duration: 6ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 10:36:36 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:53:35 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 16,880 432ms 0ms 0ms 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 Jan 07 00 720 18ms 0ms 01 720 18ms 0ms 02 718 18ms 0ms 03 720 17ms 0ms 04 720 18ms 0ms 05 718 18ms 0ms 06 720 16ms 0ms 07 720 18ms 0ms 08 718 18ms 0ms 09 720 17ms 0ms 10 720 18ms 0ms 11 720 17ms 0ms 12 718 18ms 0ms 13 720 19ms 0ms 14 720 18ms 0ms 15 708 19ms 0ms 16 676 17ms 0ms 17 670 17ms 0ms 18 652 16ms 0ms 19 654 17ms 0ms 20 658 16ms 0ms 21 674 17ms 0ms 22 684 18ms 0ms 23 712 18ms 0ms [ User: symmetricds - Total duration: 432ms - Times executed: 16880 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 432ms - Times executed: 16880 ]
-
SELECT node_id, queue FROM sym_extract_request WHERE status = $1 GROUP BY node_id, queue;
-
SELECT node_id, queue FROM sym_extract_request WHERE status = $1 GROUP BY node_id, queue;
-
SELECT node_id, queue FROM sym_extract_request WHERE status = $1 GROUP BY node_id, queue;
Date: 2019-01-07 10:55:36 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 00:48:55 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 17:54:29 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 7s578ms 7s578ms 7s578ms 1 7s578ms SELECT this_.order_line_id AS order_li1_24_0_, this_.routenumber AS routenum2_24_0_, this_.sapordernumber AS saporder3_24_0_, this_.ordernumber AS ordernum4_24_0_, this_.answerordernumber AS answeror5_24_0_, this_.partcode AS partcode6_24_0_, this_.partdescription AS partdesc7_24_0_, this_.patientname AS patientn8_24_0_, this_.firstname AS firstnam9_24_0_, this_.middlename AS middlen10_24_0_, this_.lastname AS lastnam11_24_0_, this_.patientdateofbirth AS patient12_24_0_, this_.patientpostcode AS patient13_24_0_, this_.patientpostcodeprefix AS patient14_24_0_, this_.orderqty AS orderqt15_24_0_, this_.allocqty AS allocqt16_24_0_, this_.shipqty AS shipqty17_24_0_, this_.adjustedqty AS adjuste18_24_0_, this_.scannedqty AS scanned19_24_0_, this_.assignedqty AS assigne20_24_0_, this_.checkedqty AS checked21_24_0_, this_.backorderqty AS backord22_24_0_, this_.cancelqty AS cancelq23_24_0_, this_.reducedqty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliverydate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapcustomerid AS sapcust29_24_0_, this_.billtotype AS billtot30_24_0_, this_.barcodedate AS barcode31_24_0_, this_.barcodebatch AS barcode32_24_0_, this_.patientid AS patient33_24_0_, this_.isadded AS isadded34_24_0_, this_.isnotwithinage AS isnotwi35_24_0_, this_.isunderage AS isunder36_24_0_, this_.agecheck AS agechec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.ispaperworkproblem AS ispaper40_24_0_, this_.paperworkresolution AS paperwo41_24_0_, this_.pickerid AS pickeri42_24_0_, this_.specialcare AS special43_24_0_, this_.paperworkenquirystarted AS paperwo44_24_0_, this_.paperworkenquiryfinished AS paperwo45_24_0_, this_.paperworkenquiryresponse AS paperwo46_24_0_, this_.isnewproduct AS isnewpr47_24_0_, this_.extraprocedure AS extrapr48_24_0_, this_.overaverageqtymax AS overave49_24_0_, this_.overaverageqtyresolution AS overave50_24_0_, this_.createuser AS createu51_24_0_, this_.patientalert AS patient52_24_0_, this_.itemalert AS itemale53_24_0_, this_.checkerid AS checker54_24_0_, this_.reductionsummary AS reducti55_24_0_, this_.ismetabolic AS ismetab56_24_0_, this_.rxstatus AS rxstatu57_24_0_, this_.lastregupdateusertype AS lastreg58_24_0_, this_.lastregupdateusername AS lastreg59_24_0_, this_.lastregupdatedate AS lastreg60_24_0_, this_.sapplannedshipdate AS sapplan61_24_0_, this_.sapplanneddeliverydate AS sapplan62_24_0_, this_.requestedsapquantity AS request63_24_0_, this_.orderquantity AS orderqu64_24_0_, this_.reglinecreatedusertype AS regline65_24_0_, this_.reglinecreatedusername AS regline66_24_0_, this_.reglinecreateddate AS regline67_24_0_, this_.audited AS audited68_24_0_, this_.ismetabolicpatient AS ismetab69_24_0_, this_.addedcase AS addedca70_24_0_, this_.ordertype AS orderty71_24_0_, this_.created AS created72_24_0_, this_.updated AS updated73_24_0_, this_.rxcheckby AS rxcheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertconfirmation AS alertco77_24_0_, this_.homewardaction AS homewar78_24_0_ FROM order_lines this_ WHERE this_.status <> ? AND (this_.patientalert = ? OR this_.itemalert = ?) AND (this_.agecheck <> ? OR (this_.patientalert <> ? OR this_.itemalert <> ?) OR this_.status = ? OR this_.rxstatus = ? OR (this_.overaverageqtymax <> ?)) ORDER BY this_.routenumber ASC, this_.lastname ASC, this_.partcode ASC LIMIT ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 07 08 1 7s578ms 7s578ms [ User: pharmisight - Total duration: 7s578ms - Times executed: 1 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s578ms - Times executed: 1 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.status <> $1 AND (this_.patientAlert = $2 OR this_.itemAlert = $3) AND (this_.ageCheck <> $4 OR (this_.patientAlert <> $5 OR this_.itemAlert <> $6) OR this_.status = $7 OR this_.rxStatus = $8 OR (this_.overAverageQtyMax <> $9)) ORDER BY this_.routeNumber ASC, this_.lastName ASC, this_.partCode ASC LIMIT $10;
Date: 2019-01-07 08:58:10 Duration: 7s578ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 0ms 13s306ms 145ms 636 1m32s UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = ? WHERE flow_report_id = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 07 06 201 1m31s 456ms 07 30 53ms 1ms 08 68 85ms 1ms 09 55 61ms 1ms 10 79 94ms 1ms 11 88 135ms 1ms 12 43 58ms 1ms 13 26 65ms 2ms 14 27 56ms 2ms 15 8 9ms 1ms 16 9 35ms 3ms 17 2 5ms 2ms [ User: pharmisight - Total duration: 1m32s - Times executed: 636 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m32s - Times executed: 636 ]
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
Date: 2019-01-07 06:17:02 Duration: 13s306ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:16:59 Duration: 9s822ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:16:36 Duration: 8s398ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 26ms 83ms 53ms 166 8s807ms 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 Jan 07 06 70 3s853ms 55ms 07 5 179ms 35ms 08 1 58ms 58ms 09 70 3s718ms 53ms 10 15 799ms 53ms 13 5 198ms 39ms [ User: pharmisight - Total duration: 8s807ms - Times executed: 166 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s807ms - Times executed: 166 ]
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = $1 ORDER BY epscheckli0_.description ASC;
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = $1 ORDER BY epscheckli0_.description ASC;
-
SELECT epscheckli0_.EPS_CHECK_ID AS EPS_CHEC9_5_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_0_, epscheckli0_.EPS_CHECK_LINE_ID AS EPS_CHEC1_6_1_, epscheckli0_.orderLineId AS orderLin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.isSnomedMismatch AS isSnomed6_6_1_, epscheckli0_.isOrderQtyMismatch AS isOrderQ7_6_1_, epscheckli0_.isHit AS isHit8_6_1_ FROM EPS_CHECK_LINES epscheckli0_ WHERE epscheckli0_.EPS_CHECK_ID = $1 ORDER BY epscheckli0_.description ASC;
Date: 2019-01-07 06:43:56 Duration: 83ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:12:23 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:27:11 Duration: 69ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 17ms 78ms 32ms 2,340 1m15s SELECT count(*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 07 05 2 80ms 40ms 06 364 11s814ms 32ms 07 126 4s301ms 34ms 08 326 10s932ms 33ms 09 458 15s95ms 32ms 10 447 15s336ms 34ms 11 343 8s826ms 25ms 12 86 2s766ms 32ms 13 40 1s465ms 36ms 14 65 2s269ms 34ms 15 41 1s302ms 31ms 16 31 1s118ms 36ms 17 10 361ms 36ms 19 1 39ms 39ms [ User: pharmisight - Total duration: 1m15s - Times executed: 2340 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m15s - Times executed: 2340 ]
-
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-01-07 10:03:34 Duration: 78ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:33:43 Duration: 68ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:37:56 Duration: 65ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 13ms 57ms 22ms 772 17s536ms 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 Jan 07 06 246 5s429ms 22ms 08 35 772ms 22ms 09 80 1s924ms 24ms 10 18 503ms 27ms 11 317 6s897ms 21ms 12 39 948ms 24ms 13 9 263ms 29ms 14 12 357ms 29ms 15 8 188ms 23ms 16 8 251ms 31ms [ User: pharmisight - Total duration: 17s536ms - Times executed: 772 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s536ms - Times executed: 772 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_1_, this_.routeNumber AS routeNum2_28_1_, this_.uploadedByUserId AS uploaded3_28_1_, this_.uploadedByUserName AS uploaded4_28_1_, this_.updatedBy AS updatedB5_28_1_, this_.updatedByUserName AS updatedB6_28_1_, this_.orderRoundNote AS orderRou7_28_1_, this_.firstCheckOut AS firstChe8_28_1_, this_.allOrdersScannedOK AS allOrder9_28_1_, this_.status AS status10_28_1_, this_.reopenedTimes AS reopene11_28_1_, this_.lastReopenById AS lastReo12_28_1_, this_.lastDoneCheckIn AS lastDon13_28_1_, this_.lastDoneById AS lastDon14_28_1_, this_.lastDoneByUserName AS lastDon15_28_1_, this_.missingLabels AS missing16_28_1_, this_.roundDeliveryDate AS roundDe17_28_1_, this_.trolley AS trolley18_28_1_, this_.stack AS stack19_28_1_, this_.picktime AS picktim20_28_1_, this_.uploadUpdated AS uploadU21_28_1_, this_.patientAlert AS patient22_28_1_, this_.mismatches AS mismatc23_28_1_, this_.rxStatus AS rxStatu24_28_1_, this_.distributionPoint AS distrib25_28_1_, this_.audited AS audited26_28_1_, this_.auditedBy AS audited27_28_1_, this_.auditStatus AS auditSt28_28_1_, this_.uploadFinished AS uploadF29_28_1_, this_.lastRxCompleted AS lastRxC30_28_1_, this_.lastRxCompletedBy AS lastRxC31_28_1_, this_.orderRoundNoteReadBy AS orderRo32_28_1_, this_.routeOrderLinesQty AS routeOr33_28_1_, this_.dlxPickedLinesQty AS dlxPick34_28_1_, this_.flowReport AS flowRep35_28_1_, this_.CREATED AS CREATED36_28_1_, this_.createdBy AS created37_28_1_, this_.UPDATED AS UPDATED38_28_1_, this_.note AS note39_28_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, f1_.routeNumber AS routeNum2_9_0_, f1_.roundDeliveryDate AS roundDel3_9_0_, f1_.distributionPoint AS distribu4_9_0_, f1_.fullyPicked AS fullyPic5_9_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, f1_.causeOfDelay AS causeOfD7_9_0_, f1_.pharmacy100CheckTime AS pharmacy8_9_0_, f1_.linesHeldBack AS linesHel9_9_0_, f1_.packTime100 AS packTim10_9_0_, f1_.replenish AS repleni11_9_0_, f1_.comment AS comment12_9_0_, f1_.pickDateTime AS pickDat13_9_0_, f1_.failedTargetPickTime AS failedT14_9_0_, f1_.actualPaperworkCompleteTime AS actualP15_9_0_, f1_.changedPickDateTime AS changed16_9_0_, f1_.manuallyChangedPickTime AS manuall17_9_0_, f1_.CREATED AS CREATED18_9_0_, f1_.UPDATED AS UPDATED19_9_0_, f1_.note AS note20_9_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> $1 AND this_.CREATED > $2 AND this_.CREATED < $3 ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-01-07 06:04:01 Duration: 57ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:30:09 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 12:17:16 Duration: 46ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 11ms 45ms 21ms 298 6s282ms SELECT alerts0_.alert_confirmation_id AS alert_c10_1_0_, alerts0_.alert_id AS alert_id1_0_0_, alerts0_.alert_id AS alert_id1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientnote AS patientn3_0_1_, alerts0_.itemnote AS itemnote4_0_1_, alerts0_.confirmedchecker AS confirme5_0_1_, alerts0_.confirmedcheckerby AS confirme6_0_1_, alerts0_.isconfirmedbybarcode AS isconfir7_0_1_, alerts0_.confirmedpharmacist AS confirme8_0_1_, alerts0_.confirmedpharmacistby AS confirme9_0_1_ FROM alerts alerts0_ WHERE alerts0_.alert_confirmation_id = ? ORDER BY alerts0_.created ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 07 06 4 111ms 27ms 07 34 793ms 23ms 08 61 1s175ms 19ms 09 91 1s970ms 21ms 10 61 1s297ms 21ms 11 31 614ms 19ms 12 4 91ms 22ms 13 10 175ms 17ms 14 2 52ms 26ms [ User: pharmisight - Total duration: 6s282ms - Times executed: 298 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s282ms - Times executed: 298 ]
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
-
SELECT alerts0_.ALERT_CONFIRMATION_ID AS ALERT_C10_1_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_0_, alerts0_.ALERT_ID AS ALERT_ID1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientNote AS patientN3_0_1_, alerts0_.itemNote AS itemNote4_0_1_, alerts0_.confirmedChecker AS confirme5_0_1_, alerts0_.confirmedCheckerBy AS confirme6_0_1_, alerts0_.isConfirmedByBarcode AS isConfir7_0_1_, alerts0_.confirmedPharmacist AS confirme8_0_1_, alerts0_.confirmedPharmacistBy AS confirme9_0_1_ FROM ALERTS alerts0_ WHERE alerts0_.ALERT_CONFIRMATION_ID = $1 ORDER BY alerts0_.created ASC;
Date: 2019-01-07 07:48:11 Duration: 45ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 08:55:36 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 14:51:52 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 11ms 43ms 16ms 863 13s991ms 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 Jan 07 06 308 4s989ms 16ms 08 33 562ms 17ms 09 81 1s276ms 15ms 10 21 521ms 24ms 11 329 4s981ms 15ms 12 41 615ms 15ms 13 18 422ms 23ms 14 14 268ms 19ms 15 8 134ms 16ms 16 10 219ms 21ms [ User: pharmisight - Total duration: 13s991ms - Times executed: 863 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s991ms - Times executed: 863 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > $1 AND this_.CREATED < $2 ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-01-07 10:17:05 Duration: 43ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 08:36:25 Duration: 41ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 13:07:59 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 0ms 343ms 10ms 1,656 17s377ms SELECT this_.order_line_id AS order_li1_24_0_, this_.routenumber AS routenum2_24_0_, this_.sapordernumber AS saporder3_24_0_, this_.ordernumber AS ordernum4_24_0_, this_.answerordernumber AS answeror5_24_0_, this_.partcode AS partcode6_24_0_, this_.partdescription AS partdesc7_24_0_, this_.patientname AS patientn8_24_0_, this_.firstname AS firstnam9_24_0_, this_.middlename AS middlen10_24_0_, this_.lastname AS lastnam11_24_0_, this_.patientdateofbirth AS patient12_24_0_, this_.patientpostcode AS patient13_24_0_, this_.patientpostcodeprefix AS patient14_24_0_, this_.orderqty AS orderqt15_24_0_, this_.allocqty AS allocqt16_24_0_, this_.shipqty AS shipqty17_24_0_, this_.adjustedqty AS adjuste18_24_0_, this_.scannedqty AS scanned19_24_0_, this_.assignedqty AS assigne20_24_0_, this_.checkedqty AS checked21_24_0_, this_.backorderqty AS backord22_24_0_, this_.cancelqty AS cancelq23_24_0_, this_.reducedqty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliverydate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapcustomerid AS sapcust29_24_0_, this_.billtotype AS billtot30_24_0_, this_.barcodedate AS barcode31_24_0_, this_.barcodebatch AS barcode32_24_0_, this_.patientid AS patient33_24_0_, this_.isadded AS isadded34_24_0_, this_.isnotwithinage AS isnotwi35_24_0_, this_.isunderage AS isunder36_24_0_, this_.agecheck AS agechec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.ispaperworkproblem AS ispaper40_24_0_, this_.paperworkresolution AS paperwo41_24_0_, this_.pickerid AS pickeri42_24_0_, this_.specialcare AS special43_24_0_, this_.paperworkenquirystarted AS paperwo44_24_0_, this_.paperworkenquiryfinished AS paperwo45_24_0_, this_.paperworkenquiryresponse AS paperwo46_24_0_, this_.isnewproduct AS isnewpr47_24_0_, this_.extraprocedure AS extrapr48_24_0_, this_.overaverageqtymax AS overave49_24_0_, this_.overaverageqtyresolution AS overave50_24_0_, this_.createuser AS createu51_24_0_, this_.patientalert AS patient52_24_0_, this_.itemalert AS itemale53_24_0_, this_.checkerid AS checker54_24_0_, this_.reductionsummary AS reducti55_24_0_, this_.ismetabolic AS ismetab56_24_0_, this_.rxstatus AS rxstatu57_24_0_, this_.lastregupdateusertype AS lastreg58_24_0_, this_.lastregupdateusername AS lastreg59_24_0_, this_.lastregupdatedate AS lastreg60_24_0_, this_.sapplannedshipdate AS sapplan61_24_0_, this_.sapplanneddeliverydate AS sapplan62_24_0_, this_.requestedsapquantity AS request63_24_0_, this_.orderquantity AS orderqu64_24_0_, this_.reglinecreatedusertype AS regline65_24_0_, this_.reglinecreatedusername AS regline66_24_0_, this_.reglinecreateddate AS regline67_24_0_, this_.audited AS audited68_24_0_, this_.ismetabolicpatient AS ismetab69_24_0_, this_.addedcase AS addedca70_24_0_, this_.ordertype AS orderty71_24_0_, this_.created AS created72_24_0_, this_.updated AS updated73_24_0_, this_.rxcheckby AS rxcheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertconfirmation AS alertco77_24_0_, this_.homewardaction AS homewar78_24_0_ FROM order_lines this_ WHERE this_.patientid = ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jan 07 06 1,621 17s248ms 10ms 08 2 4ms 2ms 09 7 23ms 3ms 10 2 15ms 7ms 11 2 6ms 3ms 12 6 32ms 5ms 13 2 9ms 4ms 14 7 17ms 2ms 15 4 13ms 3ms 17 3 6ms 2ms [ User: pharmisight - Total duration: 17s377ms - Times executed: 1656 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s377ms - Times executed: 1656 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.patientId = $1;
Date: 2019-01-07 06:05:29 Duration: 343ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:05:49 Duration: 258ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:06:46 Duration: 232ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 0ms 153ms 7ms 2,340 18s521ms 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 #9
Day Hour Count Duration Avg duration Jan 07 05 2 1ms 0ms 06 364 2s539ms 6ms 07 126 972ms 7ms 08 327 2s614ms 7ms 09 457 3s453ms 7ms 10 447 3s705ms 8ms 11 343 2s517ms 7ms 12 86 764ms 8ms 13 40 420ms 10ms 14 65 588ms 9ms 15 41 367ms 8ms 16 31 443ms 14ms 17 10 112ms 11ms 19 1 17ms 17ms [ User: pharmisight - Total duration: 18s521ms - Times executed: 2340 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18s521ms - Times executed: 2340 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = $1 AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
Date: 2019-01-07 11:53:02 Duration: 153ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:19:42 Duration: 96ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:53:03 Duration: 45ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 0ms 89ms 2ms 6,138 13s960ms UPDATE order_lines SET routenumber = ?, sapordernumber = ?, ordernumber = ?, answerordernumber = ?, partcode = ?, partdescription = ?, patientname = ?, firstname = ?, middlename = ?, lastname = ?, patientdateofbirth = ?, patientpostcode = ?, patientpostcodeprefix = ?, orderqty = ?, allocqty = ?, shipqty = ?, adjustedqty = ?, scannedqty = ?, assignedqty = ?, checkedqty = ?, backorderqty = ?, cancelqty = ?, reducedqty = ?, status = ?, reason = ?, deliverydate = ?, customer = ?, sapcustomerid = ?, billtotype = ?, barcodedate = ?, barcodebatch = ?, patientid = ?, isadded = ?, isnotwithinage = ?, isunderage = ?, agecheck = ?, expired = ?, paperwork = ?, ispaperworkproblem = ?, paperworkresolution = ?, pickerid = ?, specialcare = ?, paperworkenquirystarted = ?, paperworkenquiryfinished = ?, paperworkenquiryresponse = ?, isnewproduct = ?, extraprocedure = ?, overaverageqtymax = ?, overaverageqtyresolution = ?, createuser = ?, patientalert = ?, itemalert = ?, checkerid = ?, reductionsummary = ?, ismetabolic = ?, rxstatus = ?, lastregupdateusertype = ?, lastregupdateusername = ?, lastregupdatedate = ?, sapplannedshipdate = ?, sapplanneddeliverydate = ?, requestedsapquantity = ?, orderquantity = ?, reglinecreatedusertype = ?, reglinecreatedusername = ?, reglinecreateddate = ?, audited = ?, ismetabolicpatient = ?, addedcase = ?, ordertype = ?, created = ?, updated = ?, rxcheckby = ?, note = ?, item = ?, alertconfirmation = ?, homewardaction = ? WHERE order_line_id = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 07 06 2,982 4s843ms 1ms 07 573 1s694ms 2ms 08 588 1s573ms 2ms 09 635 1s572ms 2ms 10 560 1s458ms 2ms 11 433 1s291ms 2ms 12 121 518ms 4ms 13 53 287ms 5ms 14 103 389ms 3ms 15 56 235ms 4ms 16 5 57ms 11ms 17 29 37ms 1ms [ User: pharmisight - Total duration: 13s960ms - Times executed: 6138 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s960ms - Times executed: 6138 ]
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
-
UPDATE ORDER_LINES SET routeNumber = $1, sapOrderNumber = $2, orderNumber = $3, answerOrderNumber = $4, partCode = $5, partDescription = $6, patientName = $7, firstName = $8, middleName = $9, lastName = $10, patientDateOfBirth = $11, patientPostcode = $12, patientPostcodePrefix = $13, orderQty = $14, allocQty = $15, shipQty = $16, adjustedQty = $17, scannedQty = $18, assignedQty = $19, checkedQty = $20, backOrderQty = $21, cancelQty = $22, reducedQty = $23, status = $24, reason = $25, deliveryDate = $26, customer = $27, sapCustomerId = $28, billToType = $29, barcodeDate = $30, barcodeBatch = $31, patientId = $32, isAdded = $33, isNotWithinAge = $34, isUnderAge = $35, ageCheck = $36, expired = $37, paperwork = $38, isPaperworkProblem = $39, paperworkResolution = $40, pickerId = $41, specialCare = $42, paperworkEnquiryStarted = $43, paperworkEnquiryFinished = $44, paperworkEnquiryResponse = $45, isNewProduct = $46, extraProcedure = $47, overAverageQtyMax = $48, overAverageQtyResolution = $49, createUser = $50, patientAlert = $51, itemAlert = $52, checkerId = $53, reductionSummary = $54, isMetabolic = $55, rxStatus = $56, lastRegUpdateUserType = $57, lastRegUpdateUserName = $58, lastRegUpdateDate = $59, sapPlannedShipDate = $60, sapPlannedDeliveryDate = $61, requestedSAPQuantity = $62, orderQuantity = $63, regLineCreatedUserType = $64, regLineCreatedUserName = $65, regLineCreatedDate = $66, audited = $67, isMetabolicPatient = $68, addedCase = $69, orderType = $70, CREATED = $71, UPDATED = $72, rxCheckBy = $73, note = $74, item = $75, alertConfirmation = $76, homewardAction = $77 WHERE ORDER_LINE_ID = $78;
Date: 2019-01-07 08:58:09 Duration: 89ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:10:15 Duration: 71ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:12:57 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 0ms 13ms 2ms 9,360 19s850ms 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 Jan 07 05 8 1ms 0ms 06 1,456 2s766ms 1ms 07 504 1s23ms 2ms 08 1,304 2s806ms 2ms 09 1,832 4s14ms 2ms 10 1,788 4s89ms 2ms 11 1,372 2s441ms 1ms 12 344 798ms 2ms 13 160 421ms 2ms 14 260 658ms 2ms 15 164 370ms 2ms 16 124 339ms 2ms 17 40 105ms 2ms 19 4 12ms 3ms [ User: pharmisight - Total duration: 19s850ms - Times executed: 9360 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 19s850ms - Times executed: 9360 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = $1 AND this_.rxStatus = $2;
Date: 2019-01-07 09:39:04 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:19:51 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 07:55:24 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 0ms 9ms 0ms 11,903 7s613ms UPDATE order_line_activities SET order_line_id = ? WHERE order_line_activity_id = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jan 07 06 1,021 672ms 0ms 07 1,867 1s256ms 0ms 08 2,032 1s286ms 0ms 09 1,875 1s108ms 0ms 10 1,976 1s197ms 0ms 11 1,852 1s129ms 0ms 12 472 366ms 0ms 13 215 171ms 0ms 14 415 285ms 0ms 15 150 106ms 0ms 16 28 31ms 1ms [ User: pharmisight - Total duration: 7s613ms - Times executed: 11903 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s613ms - Times executed: 11903 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = $1 WHERE ORDER_LINE_ACTIVITY_ID = $2;
Date: 2019-01-07 06:20:58 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 08:37:01 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:21:01 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 0ms 9ms 0ms 11,903 7s333ms INSERT INTO order_line_activities (status, reason, scannedqty, assignedqty, backorderqty, barcode, barcodedate, barcodebatch, expiration, cancelqty, reducedqty, mispickitemcode, created, missinglabels, order_line_activity_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jan 07 06 1,021 617ms 0ms 07 1,867 1s215ms 0ms 08 2,032 1s209ms 0ms 09 1,875 1s70ms 0ms 10 1,976 1s165ms 0ms 11 1,852 1s84ms 0ms 12 472 365ms 0ms 13 215 178ms 0ms 14 415 286ms 0ms 15 150 109ms 0ms 16 28 30ms 1ms [ User: pharmisight - Total duration: 7s333ms - Times executed: 11903 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s333ms - Times executed: 11903 ]
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
-
INSERT INTO ORDER_LINE_ACTIVITIES (status, reason, scannedQty, assignedQty, backOrderQty, barcode, barcodeDate, barcodeBatch, expiration, cancelQty, reducedQty, misPickItemCode, CREATED, missingLabels, ORDER_LINE_ACTIVITY_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
Date: 2019-01-07 09:10:34 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 10:34:55 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 14:02:07 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 0ms 4ms 0ms 25,171 13s879ms 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 Jan 07 00 1,075 604ms 0ms 01 1,074 619ms 0ms 02 1,074 595ms 0ms 03 1,071 619ms 0ms 04 1,074 618ms 0ms 05 1,074 612ms 0ms 06 1,065 531ms 0ms 07 1,071 563ms 0ms 08 1,071 561ms 0ms 09 1,068 570ms 0ms 10 1,071 560ms 0ms 11 1,071 515ms 0ms 12 1,074 575ms 0ms 13 1,071 593ms 0ms 14 1,074 586ms 0ms 15 1,056 592ms 0ms 16 1,011 564ms 0ms 17 999 568ms 0ms 18 975 554ms 0ms 19 975 555ms 0ms 20 981 562ms 0ms 21 1,008 565ms 0ms 22 1,023 586ms 0ms 23 1,065 600ms 0ms [ User: symmetricds - Total duration: 13s879ms - Times executed: 25171 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 13s879ms - Times executed: 25171 ]
-
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-01-07 22:00:15 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 15:24:49 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:39:15 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 0ms 17ms 0ms 67,079 36s735ms 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 #15
Day Hour Count Duration Avg duration Jan 07 06 16,853 8s664ms 0ms 07 61 62ms 1ms 08 3,135 1s765ms 0ms 09 7,574 4s154ms 0ms 10 1,961 1s538ms 0ms 11 29,267 15s634ms 0ms 12 3,720 2s27ms 0ms 13 1,443 1s26ms 0ms 14 1,210 748ms 0ms 15 759 422ms 0ms 16 904 572ms 0ms 17 19 5ms 0ms 20 173 112ms 0ms [ User: pharmisight - Total duration: 36s735ms - Times executed: 67079 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 36s735ms - Times executed: 67079 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_28_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = $1 ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-01-07 11:50:51 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:43:02 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:07:32 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 0ms 9ms 0ms 75,696 16s683ms 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 Jan 07 06 17,665 3s769ms 0ms 07 1,771 604ms 0ms 08 5,083 1s272ms 0ms 09 8,418 1s857ms 0ms 10 3,541 1s14ms 0ms 11 30,448 6s170ms 0ms 12 4,009 853ms 0ms 13 1,523 418ms 0ms 14 1,331 306ms 0ms 15 829 171ms 0ms 16 898 203ms 0ms 17 64 14ms 0ms 20 116 25ms 0ms [ User: pharmisight - Total duration: 16s683ms - Times executed: 75696 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s683ms - Times executed: 75696 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_28_0_, orders0_.ORDER_ID AS ORDER_ID1_22_0_, orders0_.ORDER_ID AS ORDER_ID1_22_1_, orders0_.sapOrderNumber AS sapOrder2_22_1_, orders0_.answerOrderNumber AS answerOr3_22_1_, orders0_.orderNumber AS orderNum4_22_1_, orders0_.routeNumber AS routeNum5_22_1_, orders0_.billToType AS billToTy6_22_1_, orders0_.patientName AS patientN7_22_1_, orders0_.firstName AS firstNam8_22_1_, orders0_.middleName AS middleNa9_22_1_, orders0_.lastName AS lastNam10_22_1_, orders0_.patientDateOfBirth AS patient11_22_1_, orders0_.patientPostcode AS patient12_22_1_, orders0_.customer AS custome13_22_1_, orders0_.sapCustomerId AS sapCust14_22_1_, orders0_.status AS status15_22_1_, orders0_.patientId AS patient16_22_1_, orders0_.isNotWithinAge AS isNotWi17_22_1_, orders0_.expired AS expired18_22_1_, orders0_.paperwork AS paperwo19_22_1_, orders0_.deliveryBarcode AS deliver20_22_1_, orders0_.deliveryDate AS deliver21_22_1_, orders0_.rxStatus AS rxStatu22_22_1_, orders0_.createUser AS createU23_22_1_, orders0_.subOrderType AS subOrde24_22_1_, orders0_.sapContractId AS sapCont25_22_1_, orders0_.salesforceOrderNumber AS salesfo26_22_1_, orders0_.patientType AS patient27_22_1_, orders0_.orderType AS orderTy28_22_1_, orders0_.orderStatus AS orderSt29_22_1_, orders0_.NHSnumber AS NHSnumb30_22_1_, orders0_.individualLabelling AS individ31_22_1_, orders0_.orderId AS orderId32_22_1_, orders0_.clusterLead AS cluster33_22_1_, orders0_.clusterGroup AS cluster34_22_1_, orders0_.accountId AS account35_22_1_, orders0_.reduction AS reducti36_22_1_, orders0_.reductionBy AS reducti37_22_1_, orders0_.alertConfirmation AS alertCo38_22_1_, orders0_.CREATED AS CREATED39_22_1_, orders0_.UPDATED AS UPDATED40_22_1_, orders0_.note AS note41_22_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = $1 ORDER BY orders0_.order_id ASC;
Date: 2019-01-07 13:05:27 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:10:13 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 11:51:19 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 0ms 13ms 0ms 72,971 8s143ms SELECT orderlines0_.order_id AS order_i79_22_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = ? ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 07 06 7,076 668ms 0ms 07 14,626 1s352ms 0ms 08 11,224 1s98ms 0ms 09 9,067 2s19ms 0ms 10 11,498 1s243ms 0ms 11 10,528 892ms 0ms 12 3,776 362ms 0ms 13 1,404 150ms 0ms 14 1,619 154ms 0ms 15 1,047 102ms 0ms 16 53 5ms 0ms 17 1,053 94ms 0ms [ User: pharmisight - Total duration: 8s143ms - Times executed: 72971 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s143ms - Times executed: 72971 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_24_1_, orderlines0_.routeNumber AS routeNum2_24_1_, orderlines0_.sapOrderNumber AS sapOrder3_24_1_, orderlines0_.orderNumber AS orderNum4_24_1_, orderlines0_.answerOrderNumber AS answerOr5_24_1_, orderlines0_.partCode AS partCode6_24_1_, orderlines0_.partDescription AS partDesc7_24_1_, orderlines0_.patientName AS patientN8_24_1_, orderlines0_.firstName AS firstNam9_24_1_, orderlines0_.middleName AS middleN10_24_1_, orderlines0_.lastName AS lastNam11_24_1_, orderlines0_.patientDateOfBirth AS patient12_24_1_, orderlines0_.patientPostcode AS patient13_24_1_, orderlines0_.patientPostcodePrefix AS patient14_24_1_, orderlines0_.orderQty AS orderQt15_24_1_, orderlines0_.allocQty AS allocQt16_24_1_, orderlines0_.shipQty AS shipQty17_24_1_, orderlines0_.adjustedQty AS adjuste18_24_1_, orderlines0_.scannedQty AS scanned19_24_1_, orderlines0_.assignedQty AS assigne20_24_1_, orderlines0_.checkedQty AS checked21_24_1_, orderlines0_.backOrderQty AS backOrd22_24_1_, orderlines0_.cancelQty AS cancelQ23_24_1_, orderlines0_.reducedQty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliveryDate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapCustomerId AS sapCust29_24_1_, orderlines0_.billToType AS billToT30_24_1_, orderlines0_.barcodeDate AS barcode31_24_1_, orderlines0_.barcodeBatch AS barcode32_24_1_, orderlines0_.patientId AS patient33_24_1_, orderlines0_.isAdded AS isAdded34_24_1_, orderlines0_.isNotWithinAge AS isNotWi35_24_1_, orderlines0_.isUnderAge AS isUnder36_24_1_, orderlines0_.ageCheck AS ageChec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.isPaperworkProblem AS isPaper40_24_1_, orderlines0_.paperworkResolution AS paperwo41_24_1_, orderlines0_.pickerId AS pickerI42_24_1_, orderlines0_.specialCare AS special43_24_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_24_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_24_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_24_1_, orderlines0_.isNewProduct AS isNewPr47_24_1_, orderlines0_.extraProcedure AS extraPr48_24_1_, orderlines0_.overAverageQtyMax AS overAve49_24_1_, orderlines0_.overAverageQtyResolution AS overAve50_24_1_, orderlines0_.createUser AS createU51_24_1_, orderlines0_.patientAlert AS patient52_24_1_, orderlines0_.itemAlert AS itemAle53_24_1_, orderlines0_.checkerId AS checker54_24_1_, orderlines0_.reductionSummary AS reducti55_24_1_, orderlines0_.isMetabolic AS isMetab56_24_1_, orderlines0_.rxStatus AS rxStatu57_24_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_24_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_24_1_, orderlines0_.lastRegUpdateDate AS lastReg60_24_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_24_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_24_1_, orderlines0_.requestedSAPQuantity AS request63_24_1_, orderlines0_.orderQuantity AS orderQu64_24_1_, orderlines0_.regLineCreatedUserType AS regLine65_24_1_, orderlines0_.regLineCreatedUserName AS regLine66_24_1_, orderlines0_.regLineCreatedDate AS regLine67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.isMetabolicPatient AS isMetab69_24_1_, orderlines0_.addedCase AS addedCa70_24_1_, orderlines0_.orderType AS orderTy71_24_1_, orderlines0_.CREATED AS CREATED72_24_1_, orderlines0_.UPDATED AS UPDATED73_24_1_, orderlines0_.rxCheckBy AS rxCheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertConfirmation AS alertCo77_24_1_, orderlines0_.homewardAction AS homewar78_24_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = $1 ORDER BY orderlines0_.partDescription ASC;
Date: 2019-01-07 09:20:47 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:20:47 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 09:27:50 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 86ms 0ms 223,928 23s859ms COMMIT;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 07 00 6,462 219ms 0ms 01 6,236 172ms 0ms 02 6,339 205ms 0ms 03 6,256 202ms 0ms 04 6,236 175ms 0ms 05 6,322 189ms 0ms 06 20,668 3s924ms 0ms 07 14,471 2s452ms 0ms 08 15,669 2s685ms 0ms 09 17,439 2s687ms 0ms 10 17,175 2s635ms 0ms 11 16,228 2s656ms 0ms 12 10,580 1s507ms 0ms 13 8,427 805ms 0ms 14 8,639 751ms 0ms 15 7,742 539ms 0ms 16 6,541 275ms 0ms 17 6,140 239ms 0ms 18 6,547 564ms 0ms 19 5,784 187ms 0ms 20 5,817 198ms 0ms 21 5,925 204ms 0ms 22 6,019 180ms 0ms 23 6,266 197ms 0ms [ User: symmetricds - Total duration: 17s390ms - Times executed: 191986 ]
[ User: pharmisight - Total duration: 6s469ms - Times executed: 31942 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s852ms - Times executed: 223907 ]
[ Application: [unknown] - Total duration: 6ms - Times executed: 21 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-01-07 06:20:06 Duration: 86ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:25:04 Duration: 82ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:25:04 Duration: 64ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 10ms 0ms 117,840 6s463ms INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES (?, ?, ?, current_timestamp);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jan 07 00 414 24ms 0ms 01 36 4ms 0ms 02 386 25ms 0ms 03 52 5ms 0ms 04 36 4ms 0ms 05 42 5ms 0ms 06 50,606 2s492ms 0ms 07 10,576 619ms 0ms 08 10,804 649ms 0ms 09 11,604 675ms 0ms 10 11,374 676ms 0ms 11 10,608 596ms 0ms 12 3,286 193ms 0ms 13 1,528 94ms 0ms 14 2,344 149ms 0ms 15 1,024 62ms 0ms 16 228 15ms 0ms 17 705 45ms 0ms 18 42 4ms 0ms 19 48 5ms 0ms 20 229 16ms 0ms 21 402 20ms 0ms 22 508 25ms 0ms 23 958 48ms 0ms [ User: symmetricds - Total duration: 6s463ms - Times executed: 117840 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s463ms - Times executed: 117840 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ($1, $2, $3, current_timestamp);
Date: 2019-01-07 09:41:33 Duration: 10ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:07:32 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 06:06:51 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 0ms 0ms 0ms 45,077 2s216ms 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 #20
Day Hour Count Duration Avg duration Jan 07 00 1,990 102ms 0ms 01 1,990 109ms 0ms 02 1,990 109ms 0ms 03 1,990 101ms 0ms 04 1,990 102ms 0ms 05 1,990 97ms 0ms 06 2,060 115ms 0ms 07 2,015 84ms 0ms 08 2,014 111ms 0ms 09 2,079 99ms 0ms 10 2,037 114ms 0ms 11 1,999 104ms 0ms 12 1,996 102ms 0ms 13 2,020 103ms 0ms 14 1,991 100ms 0ms 15 1,991 99ms 0ms 16 995 50ms 0ms 17 1,990 74ms 0ms 18 1,990 75ms 0ms 19 995 49ms 0ms 20 1,990 76ms 0ms 21 995 50ms 0ms 22 1,990 76ms 0ms 23 1,990 102ms 0ms [ User: pharmisight - Total duration: 2s216ms - Times executed: 45077 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s216ms - Times executed: 45077 ]
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = $1 ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = $1 ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_15_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_18_1_, itemcodes0_.code AS code2_18_1_, itemcodes0_.itemCodeType AS itemCode3_18_1_, itemcodes0_.isPrimary AS isPrimar4_18_1_, itemcodes0_.status AS status5_18_1_, itemcodes0_.created AS created6_18_1_, itemcodes0_.createdBy AS createdB7_18_1_, itemcodes0_.updated AS updated8_18_1_, itemcodes0_.updatedBy AS updatedB9_18_1_, itemcodes0_.note AS note10_18_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_18_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = $1 ORDER BY itemcodes0_.code ASC;
Date: 2019-01-07 08:00:01 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 08:00:01 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-01-07 08:00:01 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
-
Events
Log levels
Key values
- 7,590,581 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 35 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 24 Max number of times the same event was reported
- 35 Total events found
Rank Times reported Error 1 24 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Jan 07 06 24 - ERROR: process 9769 still waiting for ShareLock on transaction 30746129 after 1000.093 ms
- ERROR: process 9766 still waiting for ShareLock on transaction 30746132 after 1000.091 ms
- ERROR: process 9513 still waiting for ShareLock on transaction 30746135 after 1000.068 ms
Detail: Process holding the lock: 9397. Wait queue: 9769.
Context: while updating tuple (1320,30) 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-01-07 06:16:26 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 9769. Wait queue: 9766.
Context: while updating tuple (1320,31) 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-01-07 06:16:28 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 9766. Wait queue: 9770, 9513.
Context: while rechecking updated tuple (1320,32) 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-01-07 06:16:30 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
2 11 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #2
Day Hour Count Jan 07 06 11 - ERROR: process 9770 still waiting for ExclusiveLock on tuple (1320,31) of relation 142522 of database 16401 after 1000.184 ms
- ERROR: process 9389 still waiting for ExclusiveLock on tuple (1325,26) of relation 142522 of database 16401 after 1000.088 ms
- ERROR: process 9768 still waiting for ExclusiveLock on tuple (1320,39) of relation 142522 of database 16401 after 1000.086 ms
Detail: Process holding the lock: 9766. Wait queue: 9770, 9513.
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-01-07 06:16:29 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 9397. Wait queue: 9389.
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-01-07 06:16:31 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 9770. Wait queue: 9768.
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-01-07 06:16:49 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code: