-
Global information
- Generated on Tue Jul 9 00:00:26 2019
- Log file: /var/log/postgresql/postgresql-11-main.log.1
- Parsed 8,427,531 log entries in 24s
- Log start from 2019-07-08 00:00:00 to 2019-07-08 23:59:59
-
Overview
Global Stats
- 1,611 Number of unique normalized queries
- 2,120,780 Number of queries
- 24m12s Total query duration
- 2019-07-08 00:00:00 First query
- 2019-07-08 23:59:59 Last query
- 11,701 queries/s at 2019-07-08 06:09:28 Query peak
- 2 Number of events
- 1 Number of unique normalized events
- 2 Max number of times the same event was reported
- 0 Number of cancellation
- 114 Total number of automatic vacuums
- 228 Total number of automatic analyzes
- 2 Number temporary file
- 9.49 MiB Max size of temporary file
- 9.41 MiB Average size of temporary file
- 2,125 Total number of sessions
- 3 sessions at 2019-07-08 16:05:56 Session peak
- 10d3h10m1s Total duration of sessions
- 6m51s Average duration of sessions
- 998 Average queries per session
- 683ms Average queries duration per session
- 2,125 Total number of connections
- 6 connections/s at 2019-07-08 10:58:16 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 11,701 queries/s Query Peak
- 2019-07-08 06:09:28 Date
SELECT Traffic
Key values
- 1,178 queries/s Query Peak
- 2019-07-08 09:46:25 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 11,478 queries/s Query Peak
- 2019-07-08 06:09:28 Date
Queries duration
Key values
- 24m12s Total query duration
Prepared queries ratio
Key values
- 2.24 Ratio of bind vs prepare
- 131.42 % Ratio between prepared and "usual" statements
General Activity
Day Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 08 00 49,615 0ms 32ms 1ms 1s332ms 1s337ms 1s634ms 01 45,752 0ms 43ms 1ms 1s326ms 1s331ms 1s352ms 02 45,609 0ms 37ms 1ms 1s334ms 1s337ms 1s346ms 03 45,492 0ms 36ms 1ms 1s330ms 1s337ms 1s341ms 04 45,481 0ms 27ms 1ms 1s327ms 1s331ms 1s344ms 05 45,598 0ms 35ms 1ms 1s329ms 1s339ms 1s348ms 06 246,022 0ms 3s221ms 0ms 5s8ms 6s465ms 10s99ms 07 119,449 0ms 147ms 0ms 2s18ms 2s99ms 2s277ms 08 221,315 0ms 1s267ms 0ms 2s521ms 3s173ms 3s687ms 09 148,939 0ms 228ms 0ms 2s597ms 2s791ms 3s341ms 10 166,996 0ms 196ms 0ms 2s646ms 2s726ms 3s306ms 11 168,893 0ms 8s263ms 0ms 2s381ms 3s94ms 16s549ms 12 118,841 0ms 209ms 0ms 2s173ms 2s287ms 3s892ms 13 113,802 0ms 480ms 0ms 2s101ms 2s377ms 2s782ms 14 91,116 0ms 214ms 0ms 691ms 949ms 1s565ms 15 50,287 0ms 212ms 0ms 102ms 604ms 1s555ms 16 72,599 0ms 214ms 0ms 985ms 1s263ms 1s814ms 17 57,822 0ms 24s552ms 0ms 644ms 2s466ms 26s49ms 18 42,813 0ms 64ms 0ms 53ms 66ms 369ms 19 43,322 0ms 52ms 0ms 56ms 114ms 296ms 20 45,924 0ms 52ms 0ms 61ms 116ms 670ms 21 43,671 0ms 52ms 0ms 53ms 97ms 309ms 22 45,781 0ms 53ms 0ms 53ms 110ms 390ms 23 45,641 0ms 53ms 0ms 56ms 157ms 376ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 08 00 19,528 0 3ms 1s308ms 1s312ms 1s539ms 01 16,223 0 4ms 1s310ms 1s316ms 1s325ms 02 16,169 0 4ms 1s312ms 1s317ms 1s328ms 03 16,137 0 4ms 1s311ms 1s318ms 1s321ms 04 16,127 0 4ms 1s307ms 1s315ms 1s320ms 05 16,173 0 4ms 1s309ms 1s315ms 1s323ms 06 96,695 0 1ms 1s906ms 2s923ms 3s548ms 07 55,493 0 1ms 1s640ms 1s708ms 1s834ms 08 109,668 0 0ms 2s77ms 2s224ms 2s757ms 09 75,439 0 1ms 2s154ms 2s387ms 2s917ms 10 86,438 0 1ms 2s192ms 2s394ms 2s732ms 11 83,358 0 1ms 1s926ms 2s133ms 2s929ms 12 53,838 0 1ms 1s571ms 1s801ms 3s175ms 13 57,714 0 1ms 1s595ms 2s22ms 2s506ms 14 43,625 0 0ms 158ms 567ms 891ms 15 17,744 0 0ms 32ms 86ms 915ms 16 36,088 0 0ms 315ms 875ms 1s193ms 17 23,127 0 1ms 200ms 552ms 2s568ms 18 12,733 0 0ms 20ms 31ms 50ms 19 12,924 0 0ms 18ms 38ms 68ms 20 15,459 0 0ms 25ms 41ms 161ms 21 12,957 0 0ms 18ms 32ms 58ms 22 13,391 0 0ms 18ms 31ms 75ms 23 13,292 0 0ms 21ms 30ms 71ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 08 00 78 59 70 0 0ms 1ms 5ms 7ms 01 66 41 66 0 0ms 0ms 1ms 7ms 02 66 41 67 0 0ms 0ms 1ms 8ms 03 60 38 65 0 0ms 0ms 1ms 8ms 04 60 37 65 0 0ms 0ms 1ms 7ms 05 60 37 66 0 0ms 0ms 1ms 8ms 06 65,594 20,281 404 0 0ms 191ms 852ms 2s847ms 07 10,963 3,908 305 0 0ms 85ms 115ms 164ms 08 21,959 9,628 415 0 0ms 125ms 153ms 208ms 09 11,848 4,709 311 0 0ms 75ms 109ms 156ms 10 15,513 5,658 333 0 0ms 100ms 142ms 186ms 11 17,108 6,329 384 0 0ms 113ms 135ms 181ms 12 9,318 5,465 256 0 0ms 71ms 110ms 206ms 13 7,274 3,110 231 0 0ms 55ms 91ms 143ms 14 4,590 2,129 195 0 0ms 45ms 75ms 114ms 15 528 265 102 0 0ms 5ms 7ms 79ms 16 1,008 616 138 0 0ms 14ms 31ms 113ms 17 779 692 119 0 0ms 9ms 35ms 100ms 18 74 59 92 0 1ms 0ms 7ms 9ms 19 257 128 95 0 0ms 0ms 6ms 16ms 20 445 217 131 0 0ms 0ms 7ms 30ms 21 293 130 96 0 0ms 1ms 7ms 24ms 22 1,736 488 96 0 0ms 0ms 7ms 82ms 23 1,784 501 96 0 0ms 1ms 7ms 78ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 08 00 29,427 45,980 1.56 94.99% 01 29,916 42,116 1.41 109.36% 02 29,657 41,973 1.42 108.74% 03 29,646 41,856 1.41 109.08% 04 29,568 41,845 1.42 108.81% 05 29,790 41,962 1.41 109.36% 06 56,613 242,388 4.28 26.43% 07 47,052 114,490 2.43 50.47% 08 71,519 217,718 3.04 40.13% 09 51,033 145,303 2.85 42.92% 10 53,334 163,360 3.06 39.27% 11 56,876 162,959 2.87 41.85% 12 49,571 115,225 2.32 54.06% 13 44,928 110,306 2.46 50.84% 14 39,977 88,774 2.22 59.21% 15 30,827 47,943 1.56 99.57% 16 33,764 72,544 2.15 64.98% 17 32,747 55,475 1.69 86.72% 18 28,228 42,761 1.51 116.81% 19 28,135 43,286 1.54 114.14% 20 29,442 45,888 1.56 107.39% 21 28,466 43,635 1.53 114.54% 22 28,373 45,745 1.61 104.94% 23 28,485 45,605 1.60 105.64% Day Hour Count Average / Second Jul 08 00 96 0.03/s 01 119 0.03/s 02 116 0.03/s 03 117 0.03/s 04 117 0.03/s 05 118 0.03/s 06 87 0.02/s 07 101 0.03/s 08 85 0.02/s 09 67 0.02/s 10 75 0.02/s 11 81 0.02/s 12 78 0.02/s 13 88 0.02/s 14 76 0.02/s 15 68 0.02/s 16 65 0.02/s 17 66 0.02/s 18 84 0.02/s 19 82 0.02/s 20 103 0.03/s 21 79 0.02/s 22 78 0.02/s 23 79 0.02/s Day Hour Count Average Duration Jul 08 00 96 6m19s 01 119 5m8s 02 116 5m7s 03 117 5m6s 04 117 5m9s 05 118 5m5s 06 87 6m27s 07 101 6m9s 08 85 6m46s 09 67 9m35s 10 66 8m45s 11 90 7m42s 12 78 7m25s 13 88 7m32s 14 76 7m47s 15 68 8m41s 16 65 9m55s 17 66 9m8s 18 84 7m22s 19 82 7m13s 20 103 5m52s 21 79 7m33s 22 78 7m26s 23 79 7m58s -
Connections
Established Connections
Key values
- 6 connections Connection Peak
- 2019-07-08 10:58:16 Date
Connections per database
Key values
- pharmisight Main Database
- 2,125 connections Total
Connections per user
Key values
- symmetricds Main User
- 2,125 connections Total
-
Sessions
Simultaneous sessions
Key values
- 3 sessions Session Peak
- 2019-07-08 16:05:56 Date
Histogram of session times
Key values
- 1,515 60000-600000ms duration
Sessions per database
Key values
- pharmisight Main Database
- 2,125 sessions Total
Sessions per user
Key values
- symmetricds Main User
- 2,125 sessions Total
Sessions per host
Key values
- 10.10.10.1 Main Host
- 2,125 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 3,183 buffers Checkpoint Peak
- 2019-07-08 06:17:35 Date
- 149.985 seconds Highest write time
- 0.045 seconds Sync time
Checkpoints Wal files
Key values
- 6 files Wal files usage Peak
- 2019-07-08 06:12:35 Date
Checkpoints distance
Key values
- 188.06 Mo Distance Peak
- 2019-07-08 06:12:35 Date
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Jul 08 00 285 28.6s 0.012s 28.65s 01 473 47.344s 0.015s 47.41s 02 314 31.511s 0.008s 31.557s 03 317 31.792s 0.057s 31.897s 04 253 25.38s 0.009s 25.431s 05 419 42.015s 0.007s 42.049s 06 13,971 1,031.71s 0.071s 1,031.926s 07 5,953 606.787s 0.031s 606.891s 08 8,122 822.822s 0.052s 822.943s 09 6,233 628.727s 0.034s 628.83s 10 5,769 584.187s 0.052s 584.305s 11 7,405 742.899s 0.036s 742.996s 12 6,565 656.949s 0.052s 657.069s 13 4,783 483.322s 0.033s 483.423s 14 3,074 307.872s 0.021s 308.066s 15 845 84.578s 0.014s 84.669s 16 1,046 104.923s 0.015s 104.988s 17 1,795 181.121s 0.019s 181.198s 18 258 25.884s 0.015s 25.936s 19 526 52.653s 0.009s 52.711s 20 505 50.665s 0.012s 50.732s 21 479 48.069s 0.012s 48.137s 22 835 83.774s 0.015s 83.842s 23 854 85.676s 0.021s 85.751s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 08 00 0 0 0 158 0.002s 0s 01 0 0 0 172 0.002s 0s 02 0 0 0 138 0.001s 0s 03 0 0 0 131 0.045s 0.002s 04 0 0 0 125 0.001s 0s 05 0 0 0 113 0.002s 0s 06 0 5 11 1,255 0.021s 0s 07 0 2 0 1,065 0.002s 0s 08 0 2 2 1,147 0.018s 0s 09 0 0 3 1,047 0.003s 0s 10 0 0 2 1,129 0.008s 0s 11 0 0 3 1,121 0.002s 0s 12 0 0 3 1,201 0.005s 0s 13 0 0 2 1,019 0.004s 0s 14 0 0 1 753 0.002s 0s 15 0 0 0 371 0.002s 0s 16 0 0 0 519 0.002s 0.001s 17 0 0 1 538 0.002s 0s 18 0 0 0 155 0.003s 0s 19 0 0 0 208 0.002s 0s 20 0 0 1 251 0.002s 0s 21 0 0 0 235 0.003s 0s 22 0 0 0 255 0.002s 0s 23 0 0 0 252 0.008s 0s Day Hour Count Avg time (sec) Jul 08 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Jul 08 00 106.75 kB 262.38 kB 01 204.38 kB 605.12 kB 02 126.71 kB 335.14 kB 03 113.62 kB 276.62 kB 04 65.00 kB 195.29 kB 05 205.33 kB 387.33 kB 06 19,101.73 kB 62,366.00 kB 07 3,737.45 kB 26,185.55 kB 08 4,845.20 kB 10,111.30 kB 09 3,662.25 kB 5,939.92 kB 10 3,199.82 kB 4,410.55 kB 11 4,138.42 kB 5,173.17 kB 12 3,452.20 kB 4,484.00 kB 13 2,604.92 kB 4,776.50 kB 14 1,618.45 kB 3,075.18 kB 15 418.89 kB 1,899.11 kB 16 527.33 kB 1,069.11 kB 17 787.20 kB 2,286.50 kB 18 164.62 kB 1,769.12 kB 19 290.89 kB 1,054.33 kB 20 200.00 kB 540.56 kB 21 187.00 kB 418.88 kB 22 458.00 kB 888.50 kB 23 428.67 kB 806.56 kB -
Temporary Files
Size of temporary files
Key values
- 9.49 MiB Temp Files size Peak
- 2019-07-08 06:09:52 Date
Number of temporary files
Key values
- 1 per second Temp Files Peak
- 2019-07-08 06:09:27 Date
Temporary Files Activity
Day Hour Count Total size Average size Jul 08 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 2 18.81 MiB 9.41 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 (86) Main table analyzed (database pharmisight)
- 228 analyzes Total
Table Number of analyzes pharmisight.public.sym_data_gap 86 pharmisight.public.sym_outgoing_batch 73 pharmisight.public.sym_incoming_batch 19 pharmisight.public.sym_data_event 15 pharmisight.public.sym_data 15 pharmisight.public.sym_sequence 9 pharmisight.public.sym_node_host 5 pharmisight.public.flow_report_summary_delays 1 pharmisight.public.users 1 pharmisight.public.order_line_activities 1 pharmisight.public.tablets 1 pharmisight.public.order_line_prescriptions 1 pharmisight.public.order_round_pickers 1 Total 228 Vacuums per table
Key values
- public.sym_data_gap (46) Main table vacuumed on database pharmisight
- 114 vacuums Total
Table Number of vacuums Index scans pharmisight.public.sym_data_gap 46 46 pharmisight.public.sym_outgoing_batch 34 34 pharmisight.public.sym_sequence 10 0 pharmisight.public.sym_incoming_batch 8 8 pharmisight.pg_catalog.pg_statistic 7 7 pharmisight.public.sym_node_host 5 0 pharmisight.pg_toast.pg_toast_2619 3 3 pharmisight.public.sym_data_event 1 1 Total 114 99 Tuples removed per table
Key values
- public.sym_data_gap (2432) Main table with removed tuples on database pharmisight
- 8485 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_data_gap 46 46 2432 0 pharmisight.pg_catalog.pg_statistic 7 7 2183 0 pharmisight.public.sym_outgoing_batch 34 34 1328 0 pharmisight.public.sym_incoming_batch 8 8 1092 0 pharmisight.public.sym_sequence 10 0 506 0 pharmisight.public.sym_data_event 1 1 444 0 pharmisight.public.sym_node_host 5 0 260 0 pharmisight.pg_toast.pg_toast_2619 3 3 240 4 Total 114 99 8,485 4 Pages removed per table
Key values
- pg_toast.pg_toast_2619 (4) Main table with removed pages on database pharmisight
- 4 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.pg_toast.pg_toast_2619 3 3 240 4 pharmisight.public.sym_node_host 5 0 260 0 pharmisight.public.sym_sequence 10 0 506 0 pharmisight.public.sym_data_event 1 1 444 0 pharmisight.pg_catalog.pg_statistic 7 7 2183 0 pharmisight.public.sym_outgoing_batch 34 34 1328 0 pharmisight.public.sym_data_gap 46 46 2432 0 pharmisight.public.sym_incoming_batch 8 8 1092 0 Total 114 99 8,485 4 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Jul 08 00 0 1 01 3 3 02 2 2 03 0 3 04 1 1 05 2 1 06 21 44 07 9 23 08 16 31 09 11 20 10 10 20 11 12 25 12 7 18 13 7 13 14 4 8 15 0 3 16 2 2 17 1 2 18 0 1 19 2 1 20 0 4 21 2 0 22 0 1 23 2 1 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 2 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 2 2s75ms 1s17ms 1s57ms 1s37ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = ? WHERE flow_report_id = ?;-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
Date: 2019-07-08 06:18:44 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver
Queries that waited the most
Rank Wait time Query 1 1s57ms 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-07-08 06:18:44 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
2 1s17ms 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-07-08 06:18:46 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Queries
Queries by type
Key values
- 920,340 Total read queries
- 646,467 Total write queries
Queries by database
Key values
- pharmisight Main database
- 2,120,780 Requests
- 24m12s (pharmisight)
- Main time consuming database
Queries by user
Key values
- symmetricds Main user
- 1,516,400 Requests
User Request type Count Duration pharmisight Total 595,766 5m13s DELETE 56 1s61ms INSERT 26,695 17s117ms OTHERS 2,785 111ms SELECT 476,311 3m55s TCL 51,510 6s779ms UPDATE 38,409 52s974ms symmetricds Total 1,516,400 1m30s DELETE 4,196 3s474ms INSERT 144,834 10s936ms OTHERS 569,744 8s971ms SELECT 405,544 40s318ms TCL 365,882 17s963ms UPDATE 26,200 8s702ms tony Total 54,661 18m45s SELECT 54,661 18m45s Duration by user
Key values
- 18m45s (tony) Main time consuming user
User Request type Count Duration pharmisight Total 595,766 5m13s DELETE 56 1s61ms INSERT 26,695 17s117ms OTHERS 2,785 111ms SELECT 476,311 3m55s TCL 51,510 6s779ms UPDATE 38,409 52s974ms symmetricds Total 1,516,400 1m30s DELETE 4,196 3s474ms INSERT 144,834 10s936ms OTHERS 569,744 8s971ms SELECT 405,544 40s318ms TCL 365,882 17s963ms UPDATE 26,200 8s702ms tony Total 54,661 18m45s SELECT 54,661 18m45s Queries by host
Key values
- 10.10.10.1 Main host
- 2,112,166 Requests
- 18m45s (93.89.131.253)
- Main time consuming host
Queries by application
Key values
- PostgreSQL JDBC Driver Main application
- 2,057,308 Requests
- 17m29s (pgAdmin 4 - DB:pharmisight)
- Main time consuming application
Application Request type Count Duration PostgreSQL JDBC Driver Total 2,057,308 6m41s DELETE 4,198 4s534ms INSERT 171,419 28s15ms OTHERS 552,128 8s705ms SELECT 858,887 4m34s TCL 406,110 24s539ms UPDATE 64,566 1m1s [unknown] Total 13,309 1s508ms INSERT 42 24ms OTHERS 1,845 75ms SELECT 11,290 1s389ms TCL 132 19ms pgAdmin 4 - DB:pharmisight Total 50,163 17m29s SELECT 50,163 17m29s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2019-07-08 13:16:14 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 2,031,803 0-1ms duration
Slowest individual queries
Rank Duration Query 1 24s552ms SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE (this_.partCode = '18561' OR this_.partCode = '40802' OR this_.partCode = '54547' OR this_.partCode = '65776' OR this_.partCode = '69459');[ Date: 2019-07-08 17:01:27 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 8s263ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2019-06-01' AND '2019-06-30';[ Date: 2019-07-08 11:52:26 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 6s357ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2019-06-01' AND '2019-06-30';[ Date: 2019-07-08 11:52:24 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 3s221ms UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '11760390';[ Date: 2019-07-08 06:04:17 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 1s872ms UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '71042441';[ Date: 2019-07-08 06:10:43 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 1s267ms 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 <> 'Quarantine' AND (this_.patientAlert = '1' OR this_.itemAlert = '1') AND (this_.ageCheck <> '10608' OR (this_.patientAlert <> '0' OR this_.itemAlert <> '0') OR this_.status = 'Mismatch' OR this_.rxStatus = '2' OR (this_.overAverageQtyMax <> '0')) ORDER BY this_.routeNumber ASC, this_.lastName ASC, this_.partCode ASC LIMIT '1000';[ Date: 2019-07-08 08:42:31 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 1s58ms UPDATE FLOW_REPORTS SET routeNumber = '9498733', roundDeliveryDate = '2019-07-09', distributionPoint = 'B UK Mail', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-07-06 04:13:51', failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2019-07-08 06:11:57.967', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-07-08 09:30:28.89', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200554232';[ Date: 2019-07-08 06:18:44 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 1s18ms UPDATE FLOW_REPORTS SET routeNumber = '9498734', roundDeliveryDate = '2019-07-09', distributionPoint = 'B UK Mail', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-07-06 02:05:38', failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2019-07-08 06:11:57.985', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-07-08 09:30:29.354', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200554242';[ Date: 2019-07-08 06:18:46 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 940ms UPDATE FLOW_REPORTS SET routeNumber = '9498726', roundDeliveryDate = '2019-07-09', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2019-07-08 06:11:58.89', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-07-08 12:00:05.034', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200554162';[ Date: 2019-07-08 06:17:29 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 793ms UPDATE FLOW_REPORTS SET routeNumber = '9498729', roundDeliveryDate = '2019-07-09', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2019-07-08 06:11:58.456', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-07-08 12:00:03.052', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200554202';[ Date: 2019-07-08 06:17:58 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 787ms UPDATE FLOW_REPORTS SET routeNumber = '9498736', roundDeliveryDate = '2019-07-09', distributionPoint = 'B UK Mail', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-07-06 01:44:36', failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2019-07-08 06:11:58.323', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-07-08 09:30:49.908', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200554262';[ Date: 2019-07-08 06:19:01 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 720ms SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list, e.router_id FROM sym_data d INNER JOIN sym_data_event e ON d.data_id = e.data_id INNER JOIN sym_outgoing_batch o ON o.batch_id = e.batch_id WHERE o.batch_id = '9093166' AND o.node_id = '0' ORDER BY d.data_id ASC;[ Date: 2019-07-08 06:09:52 - Database: pharmisight - User: symmetricds - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 648ms UPDATE FLOW_REPORTS SET routeNumber = '9498733', roundDeliveryDate = '2019-07-09', distributionPoint = 'B UK Mail', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2019-07-06 04:13:51', failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2019-07-08 06:11:57.967', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2019-07-08 09:30:28.89', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200554232';[ Date: 2019-07-08 06:18:42 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 544ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '214819812';[ Date: 2019-07-08 11:32:02 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 480ms SELECT _lines.routeNumber, _lines.deliveryDate, _lines.orderNumber, _lines.patientName, _lines.partDescription, _lines.orderQty, _lines.order_line_id, _checks.created AS check_created, _checks.newRxCheck AS check_checked, _checkers.firstName AS checker_firstName, _checkers.lastName AS checker_lastName, _audits.created AS audit_created, _audits.newRxCheck AS audit_checked, _auditors.firstName AS auditor_firstName, _auditors.lastName AS auditor_lastName, _audits.rx_line_activity_id, _checks.auditedbyrxlineactivity, _checks.auditedaserror FROM rx_line_activities AS _audits INNER JOIN rx_line_activities AS _checks ON (_audits.rx_line_activity_id = _checks.auditedbyrxlineactivity) LEFT OUTER JOIN order_lines AS _lines ON (_audits.order_line_id = _lines.order_line_id) LEFT OUTER JOIN users AS _auditors ON (_audits.newrxcheckby = _auditors.user_id) LEFT OUTER JOIN users AS _checkers ON (_checks.newrxcheckby = _checkers.user_id) WHERE _checks.newRxCheckBy = '4062' AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2019-07-08 13:38:22 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 449ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '214834652';[ Date: 2019-07-08 11:32:03 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 423ms SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list, e.router_id FROM sym_data d INNER JOIN sym_data_event e ON d.data_id = e.data_id INNER JOIN sym_outgoing_batch o ON o.batch_id = e.batch_id WHERE o.batch_id = '9093165' AND o.node_id = '2' ORDER BY d.data_id ASC;[ Date: 2019-07-08 06:18:43 - Database: pharmisight - User: symmetricds - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 228ms SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9494447%' ORDER BY this_.routeNumber ASC;[ Date: 2019-07-08 09:59:52 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 219ms SELECT count(*) AS y0_ FROM PATIENTS this_ WHERE this_.firstName ILIKE 'louise%' AND this_.lastName ILIKE 'hobson%';[ Date: 2019-07-08 09:46:05 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 217ms SELECT _lines.routeNumber, _lines.deliveryDate, _lines.orderNumber, _lines.patientName, _lines.partDescription, _lines.orderQty, _lines.order_line_id, _checks.created AS check_created, _checks.newRxCheck AS check_checked, _checkers.firstName AS checker_firstName, _checkers.lastName AS checker_lastName, _audits.created AS audit_created, _audits.newRxCheck AS audit_checked, _auditors.firstName AS auditor_firstName, _auditors.lastName AS auditor_lastName, _audits.rx_line_activity_id, _checks.auditedbyrxlineactivity, _checks.auditedaserror FROM rx_line_activities AS _audits INNER JOIN rx_line_activities AS _checks ON (_audits.rx_line_activity_id = _checks.auditedbyrxlineactivity) LEFT OUTER JOIN order_lines AS _lines ON (_audits.order_line_id = _lines.order_line_id) LEFT OUTER JOIN users AS _auditors ON (_audits.newrxcheckby = _auditors.user_id) LEFT OUTER JOIN users AS _checkers ON (_checks.newrxcheckby = _checkers.user_id) WHERE (_checks.created BETWEEN '2019-06-01 00:00:00' AND '2019-06-30 00:00:00') AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2019-07-08 11:52:39 - 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 17m28s 50,161 5ms 47ms 20ms SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_stat_activity WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Total", ( SELECT count(*) FROM pg_stat_activity WHERE state = ? AND datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Active", ( SELECT count(*) FROM pg_stat_activity WHERE state = ? AND datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Idle") t UNION ALL SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Rollbacks") t UNION ALL SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Deletes") t UNION ALL SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Returned") t UNION ALL SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Hits") t;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 08 01 3,599 1m15s 21ms 02 3,600 1m16s 21ms 03 3,600 1m16s 21ms 04 3,600 1m16s 21ms 05 3,599 1m16s 21ms 06 3,600 1m16s 21ms 07 3,598 1m12s 20ms 08 3,585 1m14s 20ms 09 3,561 1m13s 20ms 10 3,600 1m15s 20ms 11 3,600 1m15s 20ms 12 3,598 1m15s 20ms 13 3,580 1m14s 20ms 14 3,441 1m11s 20ms [ User: tony - Total duration: 17m28s - Times executed: 50161 ]
[ Application: pgAdmin 4 - DB:pharmisight - Total duration: 17m28s - Times executed: 50161 ]
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_stat_activity WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Total", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Active", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Hits") t;
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_stat_activity WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Total", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Active", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Hits") t;
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_stat_activity WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Total", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Active", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Hits") t;
Date: 2019-07-08 11:51:53 Duration: 47ms Database: pharmisight User: tony Remote: 93.89.131.253 Application: pgAdmin 4 - DB:pharmisight
Date: 2019-07-08 11:24:52 Duration: 46ms Database: pharmisight User: tony Remote: 93.89.131.253 Application: pgAdmin 4 - DB:pharmisight
Date: 2019-07-08 10:17:39 Duration: 44ms Database: pharmisight User: tony Remote: 93.89.131.253 Application: pgAdmin 4 - DB:pharmisight
2 33s259ms 927 18ms 67ms 35ms SELECT count(*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 08 07 69 2s481ms 35ms 08 61 2s194ms 35ms 09 89 3s253ms 36ms 10 172 6s19ms 34ms 11 139 5s100ms 36ms 12 91 3s305ms 36ms 13 65 2s297ms 35ms 14 76 2s822ms 37ms 15 57 1s765ms 30ms 16 15 554ms 36ms 17 63 2s339ms 37ms 18 30 1s125ms 37ms [ User: pharmisight - Total duration: 33s259ms - Times executed: 927 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 33s259ms - Times executed: 927 ]
-
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-07-08 17:01:25 Duration: 67ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 16:40:57 Duration: 62ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 09:56:44 Duration: 62ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 24s552ms 1 24s552ms 24s552ms 24s552ms SELECT count(*) AS y0_ FROM order_lines this_ WHERE (this_.partcode = ? OR this_.partcode = ? OR this_.partcode = ? OR this_.partcode = ? OR this_.partcode = ?);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 08 18 1 24s552ms 24s552ms [ User: pharmisight - Total duration: 24s552ms - Times executed: 1 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 24s552ms - Times executed: 1 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE (this_.partCode = '18561' OR this_.partCode = '40802' OR this_.partCode = '54547' OR this_.partCode = '65776' OR this_.partCode = '69459');
Date: 2019-07-08 17:01:27 Duration: 24s552ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 23s191ms 203,096 0ms 56ms 0ms COMMIT;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 08 01 5,621 160ms 0ms 02 5,480 145ms 0ms 03 5,465 145ms 0ms 04 5,439 138ms 0ms 05 5,443 138ms 0ms 06 5,452 137ms 0ms 07 15,608 2s990ms 0ms 08 11,275 1s661ms 0ms 09 18,267 4s56ms 0ms 10 13,302 2s65ms 0ms 11 13,941 2s325ms 0ms 12 14,358 2s593ms 0ms 13 11,410 1s933ms 0ms 14 10,017 1s378ms 0ms 15 8,486 960ms 0ms 16 6,157 308ms 0ms 17 7,054 486ms 0ms 18 6,519 388ms 0ms 19 5,601 164ms 0ms 20 5,623 195ms 0ms 21 5,582 189ms 0ms 22 5,688 203ms 0ms 23 5,663 218ms 0ms 00 5,645 204ms 0ms [ User: symmetricds - Total duration: 16s650ms - Times executed: 177372 ]
[ User: pharmisight - Total duration: 6s540ms - Times executed: 25724 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s173ms - Times executed: 203054 ]
[ Application: [unknown] - Total duration: 17ms - Times executed: 42 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-07-08 06:25:03 Duration: 56ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:10:53 Duration: 42ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:11:30 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 16s341ms 244 34ms 96ms 66ms 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 #5
Day Hour Count Duration Avg duration Jul 08 07 63 4s274ms 67ms 08 28 1s658ms 59ms 09 57 3s761ms 65ms 10 28 1s900ms 67ms 11 55 3s887ms 70ms 12 13 857ms 65ms [ User: pharmisight - Total duration: 16s341ms - Times executed: 244 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s341ms - Times executed: 244 ]
-
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 = '201864232' 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 = '201864122' 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 = '201865262' ORDER BY epscheckli0_.description ASC;
Date: 2019-07-08 10:20:41 Duration: 96ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:52:40 Duration: 94ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:52:21 Duration: 90ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 14s827ms 3 205ms 8s263ms 4s942ms SELECT this_.order_line_id AS order_li1_24_0_, this_.routenumber AS routenum2_24_0_, this_.sapordernumber AS saporder3_24_0_, this_.ordernumber AS ordernum4_24_0_, this_.answerordernumber AS answeror5_24_0_, this_.partcode AS partcode6_24_0_, this_.partdescription AS partdesc7_24_0_, this_.patientname AS patientn8_24_0_, this_.firstname AS firstnam9_24_0_, this_.middlename AS middlen10_24_0_, this_.lastname AS lastnam11_24_0_, this_.patientdateofbirth AS patient12_24_0_, this_.patientpostcode AS patient13_24_0_, this_.patientpostcodeprefix AS patient14_24_0_, this_.orderqty AS orderqt15_24_0_, this_.allocqty AS allocqt16_24_0_, this_.shipqty AS shipqty17_24_0_, this_.adjustedqty AS adjuste18_24_0_, this_.scannedqty AS scanned19_24_0_, this_.assignedqty AS assigne20_24_0_, this_.checkedqty AS checked21_24_0_, this_.backorderqty AS backord22_24_0_, this_.cancelqty AS cancelq23_24_0_, this_.reducedqty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliverydate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapcustomerid AS sapcust29_24_0_, this_.billtotype AS billtot30_24_0_, this_.barcodedate AS barcode31_24_0_, this_.barcodebatch AS barcode32_24_0_, this_.patientid AS patient33_24_0_, this_.isadded AS isadded34_24_0_, this_.isnotwithinage AS isnotwi35_24_0_, this_.isunderage AS isunder36_24_0_, this_.agecheck AS agechec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.ispaperworkproblem AS ispaper40_24_0_, this_.paperworkresolution AS paperwo41_24_0_, this_.pickerid AS pickeri42_24_0_, this_.specialcare AS special43_24_0_, this_.paperworkenquirystarted AS paperwo44_24_0_, this_.paperworkenquiryfinished AS paperwo45_24_0_, this_.paperworkenquiryresponse AS paperwo46_24_0_, this_.isnewproduct AS isnewpr47_24_0_, this_.extraprocedure AS extrapr48_24_0_, this_.overaverageqtymax AS overave49_24_0_, this_.overaverageqtyresolution AS overave50_24_0_, this_.createuser AS createu51_24_0_, this_.patientalert AS patient52_24_0_, this_.itemalert AS itemale53_24_0_, this_.checkerid AS checker54_24_0_, this_.reductionsummary AS reducti55_24_0_, this_.ismetabolic AS ismetab56_24_0_, this_.rxstatus AS rxstatu57_24_0_, this_.lastregupdateusertype AS lastreg58_24_0_, this_.lastregupdateusername AS lastreg59_24_0_, this_.lastregupdatedate AS lastreg60_24_0_, this_.sapplannedshipdate AS sapplan61_24_0_, this_.sapplanneddeliverydate AS sapplan62_24_0_, this_.requestedsapquantity AS request63_24_0_, this_.orderquantity AS orderqu64_24_0_, this_.reglinecreatedusertype AS regline65_24_0_, this_.reglinecreatedusername AS regline66_24_0_, this_.reglinecreateddate AS regline67_24_0_, this_.audited AS audited68_24_0_, this_.ismetabolicpatient AS ismetab69_24_0_, this_.addedcase AS addedca70_24_0_, this_.ordertype AS orderty71_24_0_, this_.created AS created72_24_0_, this_.updated AS updated73_24_0_, this_.rxcheckby AS rxcheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertconfirmation AS alertco77_24_0_, this_.homewardaction AS homewar78_24_0_ FROM order_lines this_ WHERE this_.deliverydate BETWEEN ? AND ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 08 12 2 14s621ms 7s310ms 14 1 205ms 205ms [ User: pharmisight - Total duration: 14s827ms - Times executed: 3 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s827ms - Times executed: 3 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2019-06-01' AND '2019-06-30';
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2019-06-01' AND '2019-06-30';
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2019-07-08' AND '2019-07-12';
Date: 2019-07-08 11:52:26 Duration: 8s263ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:52:24 Duration: 6s357ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 13:59:14 Duration: 205ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 12s852ms 927 5ms 47ms 13ms 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 #7
Day Hour Count Duration Avg duration Jul 08 07 69 947ms 13ms 08 61 843ms 13ms 09 89 1s289ms 14ms 10 172 2s220ms 12ms 11 139 1s925ms 13ms 12 91 1s320ms 14ms 13 65 928ms 14ms 14 76 1s68ms 14ms 15 57 683ms 11ms 16 15 243ms 16ms 17 63 924ms 14ms 18 30 457ms 15ms [ User: pharmisight - Total duration: 12s852ms - Times executed: 927 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s852ms - Times executed: 927 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-07-09' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-07-09' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-07-09' 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-07-08 15:39:56 Duration: 47ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:34:22 Duration: 35ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:34:18 Duration: 33ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 12s676ms 98,948 0ms 180ms 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 #8
Day Hour Count Duration Avg duration Jul 08 07 5,018 471ms 0ms 08 7,813 752ms 0ms 09 21,922 2s590ms 0ms 10 8,532 1s821ms 0ms 11 15,602 3s34ms 0ms 12 15,032 1s743ms 0ms 13 6,014 577ms 0ms 14 9,810 899ms 0ms 15 6,044 522ms 0ms 16 12 1ms 0ms 17 3,115 258ms 0ms 18 34 4ms 0ms [ User: pharmisight - Total duration: 12s676ms - Times executed: 98948 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s676ms - Times executed: 98948 ]
-
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 = '203529070' 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 = '63416690' 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 = '120737850' ORDER BY orderlines0_.partDescription ASC;
Date: 2019-07-08 10:47:58 Duration: 180ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 09:04:07 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:20:06 Duration: 22ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 12s170ms 458 12ms 43ms 26ms 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 #9
Day Hour Count Duration Avg duration Jul 08 07 5 148ms 29ms 08 65 1s761ms 27ms 09 94 2s461ms 26ms 10 95 2s493ms 26ms 11 50 1s353ms 27ms 12 91 2s403ms 26ms 13 36 922ms 25ms 14 17 477ms 28ms 15 3 83ms 27ms 18 2 66ms 33ms [ User: pharmisight - Total duration: 12s170ms - Times executed: 458 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s170ms - Times executed: 458 ]
-
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 = '200754692' 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 = '200754542' 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 = '200754032' ORDER BY alerts0_.created ASC;
Date: 2019-07-08 11:30:03 Duration: 43ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:48:25 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 07:58:42 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 12s139ms 3,708 1ms 12ms 3ms SELECT count(*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = ? AND this_.rxstatus = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 08 07 276 803ms 2ms 08 244 737ms 3ms 09 356 1s139ms 3ms 10 688 2s160ms 3ms 11 556 1s909ms 3ms 12 364 1s227ms 3ms 13 260 869ms 3ms 14 304 1s60ms 3ms 15 228 673ms 2ms 16 60 215ms 3ms 17 252 917ms 3ms 18 120 427ms 3ms [ User: pharmisight - Total duration: 12s139ms - Times executed: 3708 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s139ms - Times executed: 3708 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-07-09' AND this_.rxStatus = '4';
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-07-09' AND this_.rxStatus = '4';
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-07-09' AND this_.rxStatus = '2';
Date: 2019-07-08 10:21:05 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:52:23 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:52:23 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 10s153ms 12,923 0ms 11ms 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 #11
Day Hour Count Duration Avg duration Jul 08 07 4,123 2s937ms 0ms 08 57 65ms 1ms 09 148 152ms 1ms 10 2,537 1s896ms 0ms 11 214 216ms 1ms 12 98 96ms 0ms 13 1,818 1s481ms 0ms 14 84 77ms 0ms 15 360 321ms 0ms 16 250 209ms 0ms 17 1,558 1s367ms 0ms 18 1,504 1s210ms 0ms 21 172 122ms 0ms [ User: pharmisight - Total duration: 10s153ms - Times executed: 12923 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s153ms - Times executed: 12923 ]
-
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 = '200593302' 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 = '200593262' 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 = '200593462' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-07-08 16:28:50 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 09:25:18 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 07:00:00 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 9s608ms 17,169 0ms 5ms 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 Jul 08 01 717 402ms 0ms 02 718 421ms 0ms 03 716 421ms 0ms 04 716 423ms 0ms 05 716 424ms 0ms 06 718 417ms 0ms 07 710 357ms 0ms 08 714 407ms 0ms 09 714 382ms 0ms 10 712 391ms 0ms 11 714 389ms 0ms 12 712 384ms 0ms 13 716 396ms 0ms 14 714 388ms 0ms 15 716 393ms 0ms 16 716 404ms 0ms 17 716 379ms 0ms 18 716 403ms 0ms 19 716 403ms 0ms 20 716 399ms 0ms 21 718 408ms 0ms 22 716 403ms 0ms 23 716 401ms 0ms 00 716 401ms 0ms [ User: symmetricds - Total duration: 9s608ms - Times executed: 17169 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s608ms - Times executed: 17169 ]
-
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-07-08 12:14:37 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 13:12:54 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:35:36 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 8s739ms 12,995 0ms 5ms 0ms UPDATE order_line_activities SET order_line_id = ? WHERE order_line_activity_id = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 08 07 543 363ms 0ms 08 976 739ms 0ms 09 3,165 2s99ms 0ms 10 1,272 863ms 0ms 11 2,012 1s313ms 0ms 12 2,478 1s610ms 0ms 13 1,011 658ms 0ms 14 879 597ms 0ms 15 580 408ms 0ms 17 51 56ms 1ms 18 28 29ms 1ms [ User: pharmisight - Total duration: 8s739ms - Times executed: 12995 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s739ms - Times executed: 12995 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '219593182' WHERE ORDER_LINE_ACTIVITY_ID = '317816652';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '219587692' WHERE ORDER_LINE_ACTIVITY_ID = '317847602';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '219597252' WHERE ORDER_LINE_ACTIVITY_ID = '317915422';
Date: 2019-07-08 07:44:31 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:51:43 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 12:49:47 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 8s155ms 513,827 0ms 10ms 0ms SHOW TRANSACTION ISOLATION level;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 08 01 17,705 281ms 0ms 02 17,423 276ms 0ms 03 17,368 275ms 0ms 04 17,341 289ms 0ms 05 17,339 275ms 0ms 06 17,382 278ms 0ms 07 29,646 413ms 0ms 08 24,347 382ms 0ms 09 36,673 572ms 0ms 10 27,305 436ms 0ms 11 28,275 447ms 0ms 12 29,686 473ms 0ms 13 24,895 391ms 0ms 14 23,356 370ms 0ms 15 21,862 345ms 0ms 16 18,355 300ms 0ms 17 19,416 301ms 0ms 18 18,956 308ms 0ms 19 17,728 285ms 0ms 20 17,748 288ms 0ms 21 17,532 288ms 0ms 22 17,898 289ms 0ms 23 17,828 293ms 0ms 00 17,763 287ms 0ms [ User: symmetricds - Total duration: 8s113ms - Times executed: 512945 ]
[ User: pharmisight - Total duration: 41ms - Times executed: 882 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s155ms - Times executed: 513819 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 8 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2019-07-08 03:47:50 Duration: 10ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 15:26:54 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 12:42:39 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 6s842ms 22,316 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 #15
Day Hour Count Duration Avg duration Jul 08 07 4,927 1s400ms 0ms 08 1,555 533ms 0ms 09 1,631 640ms 0ms 10 3,745 1s101ms 0ms 11 1,415 469ms 0ms 12 1,399 470ms 0ms 13 2,389 717ms 0ms 14 817 258ms 0ms 15 706 200ms 0ms 16 235 69ms 0ms 17 1,700 498ms 0ms 18 1,682 456ms 0ms 21 115 26ms 0ms [ User: pharmisight - Total duration: 6s842ms - Times executed: 22316 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s842ms - Times executed: 22316 ]
-
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 = '200593492' 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 = '200593542' 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 = '200593392' ORDER BY orders0_.order_id ASC;
Date: 2019-07-08 09:25:21 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:18:53 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 12:19:30 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 6s585ms 131,008 0ms 2ms 0ms INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES (?, ?, ?, current_timestamp);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 08 01 36 4ms 0ms 02 36 4ms 0ms 03 36 4ms 0ms 04 36 4ms 0ms 05 36 4ms 0ms 06 36 4ms 0ms 07 54,503 2s8ms 0ms 08 7,945 481ms 0ms 09 16,886 980ms 0ms 10 8,536 512ms 0ms 11 11,800 707ms 0ms 12 13,080 773ms 0ms 13 5,962 357ms 0ms 14 5,088 311ms 0ms 15 3,269 199ms 0ms 16 254 17ms 0ms 17 702 45ms 0ms 18 541 33ms 0ms 19 33 3ms 0ms 20 114 8ms 0ms 21 191 13ms 0ms 22 140 8ms 0ms 23 862 45ms 0ms 00 886 49ms 0ms [ User: symmetricds - Total duration: 6s585ms - Times executed: 131008 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s585ms - Times executed: 131008 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('103456983', '9093199', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('103466246', '9094182', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('103453202', '9093184', 'redditch_bankstreet', current_timestamp);
Date: 2019-07-08 06:12:02 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 07:58:53 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:10:51 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 5s623ms 30 95ms 228ms 187ms SELECT this_.order_round_id AS order_ro1_28_0_, this_.routenumber AS routenum2_28_0_, this_.uploadedbyuserid AS uploaded3_28_0_, this_.uploadedbyusername AS uploaded4_28_0_, this_.updatedby AS updatedb5_28_0_, this_.updatedbyusername AS updatedb6_28_0_, this_.orderroundnote AS orderrou7_28_0_, this_.firstcheckout AS firstche8_28_0_, this_.allordersscannedok AS allorder9_28_0_, this_.status AS status10_28_0_, this_.reopenedtimes AS reopene11_28_0_, this_.lastreopenbyid AS lastreo12_28_0_, this_.lastdonecheckin AS lastdon13_28_0_, this_.lastdonebyid AS lastdon14_28_0_, this_.lastdonebyusername AS lastdon15_28_0_, this_.missinglabels AS missing16_28_0_, this_.rounddeliverydate AS roundde17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadupdated AS uploadu21_28_0_, this_.patientalert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxstatus AS rxstatu24_28_0_, this_.distributionpoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedby AS audited27_28_0_, this_.auditstatus AS auditst28_28_0_, this_.uploadfinished AS uploadf29_28_0_, this_.lastrxcompleted AS lastrxc30_28_0_, this_.lastrxcompletedby AS lastrxc31_28_0_, this_.orderroundnotereadby AS orderro32_28_0_, this_.routeorderlinesqty AS routeor33_28_0_, this_.dlxpickedlinesqty AS dlxpick34_28_0_, this_.flowreport AS flowrep35_28_0_, this_.created AS created36_28_0_, this_.createdby AS created37_28_0_, this_.updated AS updated38_28_0_, this_.note AS note39_28_0_ FROM order_rounds this_ WHERE this_.routenumber ILIKE ? ORDER BY this_.routenumber ASC;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 08 07 3 394ms 131ms 09 6 1s121ms 186ms 10 4 815ms 203ms 11 2 297ms 148ms 12 3 594ms 198ms 13 1 209ms 209ms 14 4 810ms 202ms 15 1 214ms 214ms 16 1 212ms 212ms 17 2 426ms 213ms 18 3 527ms 175ms [ User: pharmisight - Total duration: 5s623ms - Times executed: 30 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s623ms - Times executed: 30 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9494447%' ORDER BY this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9498710%' ORDER BY this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9500340%' ORDER BY this_.routeNumber ASC;
Date: 2019-07-08 09:59:52 Duration: 228ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:36:39 Duration: 216ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 14:38:00 Duration: 214ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 5s340ms 1,820 0ms 107ms 2ms UPDATE order_lines SET routenumber = ?, sapordernumber = ?, ordernumber = ?, answerordernumber = NULL, partcode = ?, partdescription = ?, patientname = ?, firstname = ?, middlename = NULL, lastname = ?, patientdateofbirth = ?, patientpostcode = ?, patientpostcodeprefix = ?, orderqty = ?, allocqty = ?, shipqty = NULL, adjustedqty = ?, scannedqty = ?, assignedqty = ?, checkedqty = ?, backorderqty = ?, cancelqty = ?, reducedqty = ?, status = ?, reason = NULL, deliverydate = ?, customer = ?, sapcustomerid = ?, billtotype = ?, barcodedate = NULL, barcodebatch = NULL, patientid = ?, isadded = NULL, isnotwithinage = NULL, isunderage = ?, agecheck = ?, expired = NULL, paperwork = ?, ispaperworkproblem = ?, paperworkresolution = NULL, pickerid = ?, specialcare = ?, paperworkenquirystarted = NULL, paperworkenquiryfinished = NULL, paperworkenquiryresponse = NULL, isnewproduct = NULL, extraprocedure = NULL, overaverageqtymax = NULL, overaverageqtyresolution = NULL, createuser = ?, patientalert = NULL, itemalert = NULL, checkerid = ?, reductionsummary = NULL, ismetabolic = NULL, rxstatus = ?, lastregupdateusertype = ?, lastregupdateusername = ?, lastregupdatedate = ?, sapplannedshipdate = ?, sapplanneddeliverydate = ?, requestedsapquantity = ?, orderquantity = ?, reglinecreatedusertype = ?, reglinecreatedusername = ?, reglinecreateddate = ?, audited = NULL, ismetabolicpatient = NULL, addedcase = NULL, ordertype = NULL, created = ?, updated = NULL, rxcheckby = ?, note = ?, item = ?, alertconfirmation = NULL, homewardaction = NULL WHERE order_line_id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 08 07 101 222ms 2ms 08 134 419ms 3ms 09 607 1s679ms 2ms 10 221 629ms 2ms 11 305 831ms 2ms 12 276 792ms 2ms 13 57 289ms 5ms 14 40 117ms 2ms 15 71 309ms 4ms 17 8 51ms 6ms [ User: pharmisight - Total duration: 5s340ms - Times executed: 1820 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s340ms - Times executed: 1820 ]
-
UPDATE ORDER_LINES SET routeNumber = '9498723', sapOrderNumber = '9010263', orderNumber = '5005786187', answerOrderNumber = NULL, partCode = '132218', partDescription = 'Nutrison Advanced Peptisorb Pack 500ml', patientName = 'Theo Jones', firstName = 'Theo', middleName = NULL, lastName = 'Jones', patientDateOfBirth = '2008-07-21', patientPostcode = 'LE11 2EB', patientPostcodePrefix = 'LE', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '28', scannedQty = '28', assignedQty = '0', checkedQty = '28', backOrderQty = '0', cancelQty = '0', reducedQty = '0', status = 'Checked', reason = NULL, deliveryDate = '2019-07-09', customer = 'Loretta Taylor', sapCustomerId = '685056247', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '54383', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'eRx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '43421260', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Caroline Burden', patientAlert = NULL, itemAlert = NULL, checkerId = '4061', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'rebecca.james@nutricia.connections', lastRegUpdateDate = '2019-07-02 08:23:29', sapPlannedShipDate = '2019-07-08', sapPlannedDeliveryDate = '2019-07-09', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'michelle.coulson@nutricia.connections', regLineCreatedDate = '2019-07-01 13:20:25', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2019-07-08 06:04:28.849', UPDATED = NULL, rxCheckBy = '100', note = 'EP auto check', item = '3316', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '219588672';
-
UPDATE ORDER_LINES SET routeNumber = '9498715', sapOrderNumber = '9010526', orderNumber = '5005785501', answerOrderNumber = NULL, partCode = '54548', partDescription = 'Nutrison 1200 Complete MF 1000ml', patientName = 'William Brown', firstName = 'William', middleName = NULL, lastName = 'Brown', patientDateOfBirth = '1960-02-01', patientPostcode = 'BR5 3SE', patientPostcodePrefix = 'BR', orderQty = '20', allocQty = '20', shipQty = NULL, adjustedQty = '20', scannedQty = '20', assignedQty = '0', checkedQty = '20', backOrderQty = '0', cancelQty = '0', reducedQty = '0', status = 'Checked', reason = NULL, deliveryDate = '2019-07-09', customer = 'Natasha Page', sapCustomerId = '685130101', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200051240', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200000730', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Sara Buckley', patientAlert = NULL, itemAlert = NULL, checkerId = '4062', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinators', lastRegUpdateUserName = 'lauren.rutter@nutricia.connections', lastRegUpdateDate = '2019-04-11 09:09:21', sapPlannedShipDate = '2019-07-08', sapPlannedDeliveryDate = '2019-07-09', requestedSAPQuantity = '20', orderQuantity = '20', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'rosie.romeril@nutricia.connections', regLineCreatedDate = '2019-03-21 14:20:49', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2019-07-08 06:04:28.663', UPDATED = NULL, rxCheckBy = '4061', note = 'Beverley Mitchell', item = '3634', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '219583812';
-
UPDATE ORDER_LINES SET routeNumber = '9498718', sapOrderNumber = '9010645', orderNumber = '5005785399', answerOrderNumber = NULL, partCode = '132032', partDescription = 'Tentrini Energy MF Pack 500ml ', patientName = 'Emily Handley', firstName = 'Emily', middleName = NULL, lastName = 'Handley', patientDateOfBirth = '2006-08-17', patientPostcode = 'CT9 4AE', patientPostcodePrefix = 'CT', orderQty = '72', allocQty = '72', shipQty = NULL, adjustedQty = '72', scannedQty = '72', assignedQty = '0', checkedQty = '72', backOrderQty = '0', cancelQty = '0', reducedQty = '0', status = 'Checked', reason = NULL, deliveryDate = '2019-07-09', customer = 'Caroline Burden', sapCustomerId = '685058465', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '65976', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '4468', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Lisa Handley', patientAlert = NULL, itemAlert = NULL, checkerId = '4058', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User Login', lastRegUpdateUserName = 'supattra.ford@nutricia.connections', lastRegUpdateDate = '2019-07-02 15:44:32', sapPlannedShipDate = '2019-07-08', sapPlannedDeliveryDate = '2019-07-09', requestedSAPQuantity = '72', orderQuantity = '72', regLineCreatedUserType = 'PMS System Administrator', regLineCreatedUserName = 'louise.reys@nutricia.connections', regLineCreatedDate = '2018-08-13 08:21:09', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2019-07-08 06:04:28.426', UPDATED = NULL, rxCheckBy = '4062', note = 'Maria Giaquinto', item = '1382', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '219591572';
Date: 2019-07-08 12:36:06 Duration: 107ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:25:21 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:35:24 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 5s93ms 2 1s872ms 3s221ms 2s546ms UPDATE orders SET patient_id = NULL WHERE patient_id = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 08 07 2 5s93ms 2s546ms [ User: pharmisight - Total duration: 5s93ms - Times executed: 2 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s93ms - Times executed: 2 ]
-
UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '11760390';
-
UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '71042441';
Date: 2019-07-08 06:04:17 Duration: 3s221ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:10:43 Duration: 1s872ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 4s966ms 212 13ms 59ms 23ms 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 #20
Day Hour Count Duration Avg duration Jul 08 07 116 2s507ms 21ms 09 1 45ms 45ms 10 26 555ms 21ms 11 1 28ms 28ms 13 21 526ms 25ms 15 5 150ms 30ms 16 4 106ms 26ms 17 18 495ms 27ms 18 20 550ms 27ms [ User: pharmisight - Total duration: 4s966ms - Times executed: 212 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 4s966ms - Times executed: 212 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-07-08 00:00:00' AND this_.CREATED < '2019-07-08 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-07-08 00:00:00' AND this_.CREATED < '2019-07-08 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-07-08 00:00:00' AND this_.CREATED < '2019-07-08 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-07-08 17:04:28 Duration: 59ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:45:33 Duration: 45ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 14:38:12 Duration: 41ms 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 513,827 8s155ms 0ms 10ms 0ms SHOW TRANSACTION ISOLATION level;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 08 01 17,705 281ms 0ms 02 17,423 276ms 0ms 03 17,368 275ms 0ms 04 17,341 289ms 0ms 05 17,339 275ms 0ms 06 17,382 278ms 0ms 07 29,646 413ms 0ms 08 24,347 382ms 0ms 09 36,673 572ms 0ms 10 27,305 436ms 0ms 11 28,275 447ms 0ms 12 29,686 473ms 0ms 13 24,895 391ms 0ms 14 23,356 370ms 0ms 15 21,862 345ms 0ms 16 18,355 300ms 0ms 17 19,416 301ms 0ms 18 18,956 308ms 0ms 19 17,728 285ms 0ms 20 17,748 288ms 0ms 21 17,532 288ms 0ms 22 17,898 289ms 0ms 23 17,828 293ms 0ms 00 17,763 287ms 0ms [ User: symmetricds - Total duration: 8s113ms - Times executed: 512945 ]
[ User: pharmisight - Total duration: 41ms - Times executed: 882 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s155ms - Times executed: 513819 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 8 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2019-07-08 03:47:50 Duration: 10ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 15:26:54 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 12:42:39 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 206,934 2s235ms 0ms 9ms 0ms SELECT ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 08 01 6,599 71ms 0ms 02 6,290 68ms 0ms 03 6,270 68ms 0ms 04 6,255 69ms 0ms 05 6,248 67ms 0ms 06 6,269 77ms 0ms 07 12,895 122ms 0ms 08 10,225 107ms 0ms 09 17,708 184ms 0ms 10 11,871 125ms 0ms 11 12,408 129ms 0ms 12 13,305 138ms 0ms 13 11,492 121ms 0ms 14 9,886 105ms 0ms 15 8,907 97ms 0ms 16 6,882 76ms 0ms 17 7,426 80ms 0ms 18 7,151 78ms 0ms 19 6,435 74ms 0ms 20 6,470 75ms 0ms 21 6,420 73ms 0ms 22 6,533 73ms 0ms 23 6,506 75ms 0ms 00 6,483 73ms 0ms [ User: symmetricds - Total duration: 2s235ms - Times executed: 206934 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s235ms - Times executed: 206934 ]
-
SELECT 1;
-
SELECT 1;
-
SELECT 1;
Date: 2019-07-08 05:12:51 Duration: 9ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:59:52 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 03:58:51 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 203,121 1s367ms 0ms 2ms 0ms BEGIN;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 08 01 5,623 36ms 0ms 02 5,479 34ms 0ms 03 5,465 34ms 0ms 04 5,439 34ms 0ms 05 5,443 34ms 0ms 06 5,452 34ms 0ms 07 15,608 102ms 0ms 08 11,278 78ms 0ms 09 18,267 131ms 0ms 10 13,302 94ms 0ms 11 13,941 98ms 0ms 12 14,362 103ms 0ms 13 11,409 76ms 0ms 14 10,020 67ms 0ms 15 8,489 56ms 0ms 16 6,160 39ms 0ms 17 7,057 46ms 0ms 18 6,522 43ms 0ms 19 5,604 36ms 0ms 20 5,623 36ms 0ms 21 5,582 36ms 0ms 22 5,688 36ms 0ms 23 5,663 36ms 0ms 00 5,645 36ms 0ms [ User: symmetricds - Total duration: 1s128ms - Times executed: 177372 ]
[ User: pharmisight - Total duration: 238ms - Times executed: 25749 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s365ms - Times executed: 203055 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 66 ]
-
BEGIN;
-
BEGIN;
-
BEGIN;
Date: 2019-07-08 11:08:53 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:46:52 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:33:30 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 203,096 23s191ms 0ms 56ms 0ms COMMIT;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 08 01 5,621 160ms 0ms 02 5,480 145ms 0ms 03 5,465 145ms 0ms 04 5,439 138ms 0ms 05 5,443 138ms 0ms 06 5,452 137ms 0ms 07 15,608 2s990ms 0ms 08 11,275 1s661ms 0ms 09 18,267 4s56ms 0ms 10 13,302 2s65ms 0ms 11 13,941 2s325ms 0ms 12 14,358 2s593ms 0ms 13 11,410 1s933ms 0ms 14 10,017 1s378ms 0ms 15 8,486 960ms 0ms 16 6,157 308ms 0ms 17 7,054 486ms 0ms 18 6,519 388ms 0ms 19 5,601 164ms 0ms 20 5,623 195ms 0ms 21 5,582 189ms 0ms 22 5,688 203ms 0ms 23 5,663 218ms 0ms 00 5,645 204ms 0ms [ User: symmetricds - Total duration: 16s650ms - Times executed: 177372 ]
[ User: pharmisight - Total duration: 6s540ms - Times executed: 25724 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s173ms - Times executed: 203054 ]
[ Application: [unknown] - Total duration: 17ms - Times executed: 42 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-07-08 06:25:03 Duration: 56ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:10:53 Duration: 42ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:11:30 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 131,008 6s585ms 0ms 2ms 0ms INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES (?, ?, ?, current_timestamp);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 08 01 36 4ms 0ms 02 36 4ms 0ms 03 36 4ms 0ms 04 36 4ms 0ms 05 36 4ms 0ms 06 36 4ms 0ms 07 54,503 2s8ms 0ms 08 7,945 481ms 0ms 09 16,886 980ms 0ms 10 8,536 512ms 0ms 11 11,800 707ms 0ms 12 13,080 773ms 0ms 13 5,962 357ms 0ms 14 5,088 311ms 0ms 15 3,269 199ms 0ms 16 254 17ms 0ms 17 702 45ms 0ms 18 541 33ms 0ms 19 33 3ms 0ms 20 114 8ms 0ms 21 191 13ms 0ms 22 140 8ms 0ms 23 862 45ms 0ms 00 886 49ms 0ms [ User: symmetricds - Total duration: 6s585ms - Times executed: 131008 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s585ms - Times executed: 131008 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('103456983', '9093199', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('103466246', '9094182', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('103453202', '9093184', 'redditch_bankstreet', current_timestamp);
Date: 2019-07-08 06:12:02 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 07:58:53 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:10:51 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 98,948 12s676ms 0ms 180ms 0ms SELECT orderlines0_.order_id AS order_i79_22_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = ? ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 08 07 5,018 471ms 0ms 08 7,813 752ms 0ms 09 21,922 2s590ms 0ms 10 8,532 1s821ms 0ms 11 15,602 3s34ms 0ms 12 15,032 1s743ms 0ms 13 6,014 577ms 0ms 14 9,810 899ms 0ms 15 6,044 522ms 0ms 16 12 1ms 0ms 17 3,115 258ms 0ms 18 34 4ms 0ms [ User: pharmisight - Total duration: 12s676ms - Times executed: 98948 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s676ms - Times executed: 98948 ]
-
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 = '203529070' 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 = '63416690' 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 = '120737850' ORDER BY orderlines0_.partDescription ASC;
Date: 2019-07-08 10:47:58 Duration: 180ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 09:04:07 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:20:06 Duration: 22ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 80,035 3s564ms 0ms 13ms 0ms SELECT this_.dlx_barcode AS dlx_barc1_3_0_, this_.ordernumber AS ordernum2_3_0_, this_.pickdatetime AS pickdate3_3_0_, this_.picker AS picker4_3_0_, this_.created AS created5_3_0_, this_.partcode AS partcode6_3_0_, this_.orderqty AS orderqty7_3_0_ FROM dlx_barcodes this_ WHERE this_.ordernumber = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 08 07 2,309 105ms 0ms 08 7,076 308ms 0ms 09 20,382 929ms 0ms 10 7,164 320ms 0ms 11 11,955 545ms 0ms 12 14,012 626ms 0ms 13 5,659 232ms 0ms 14 7,174 309ms 0ms 15 3,569 150ms 0ms 17 720 33ms 0ms 18 15 0ms 0ms [ User: pharmisight - Total duration: 3s564ms - Times executed: 80035 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s564ms - Times executed: 80035 ]
-
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 = '5005790561';
-
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 = '5005786461';
-
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 = '5005785260';
Date: 2019-07-08 08:12:01 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 07:54:08 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 12:50:32 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 50,161 17m28s 5ms 47ms 20ms SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_stat_activity WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Total", ( SELECT count(*) FROM pg_stat_activity WHERE state = ? AND datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Active", ( SELECT count(*) FROM pg_stat_activity WHERE state = ? AND datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Idle") t UNION ALL SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Rollbacks") t UNION ALL SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Deletes") t UNION ALL SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Returned") t UNION ALL SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Hits") t;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 08 01 3,599 1m15s 21ms 02 3,600 1m16s 21ms 03 3,600 1m16s 21ms 04 3,600 1m16s 21ms 05 3,599 1m16s 21ms 06 3,600 1m16s 21ms 07 3,598 1m12s 20ms 08 3,585 1m14s 20ms 09 3,561 1m13s 20ms 10 3,600 1m15s 20ms 11 3,600 1m15s 20ms 12 3,598 1m15s 20ms 13 3,580 1m14s 20ms 14 3,441 1m11s 20ms [ User: tony - Total duration: 17m28s - Times executed: 50161 ]
[ Application: pgAdmin 4 - DB:pharmisight - Total duration: 17m28s - Times executed: 50161 ]
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_stat_activity WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Total", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Active", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Hits") t;
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_stat_activity WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Total", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Active", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Hits") t;
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_stat_activity WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Total", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Active", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Hits") t;
Date: 2019-07-08 11:51:53 Duration: 47ms Database: pharmisight User: tony Remote: 93.89.131.253 Application: pgAdmin 4 - DB:pharmisight
Date: 2019-07-08 11:24:52 Duration: 46ms Database: pharmisight User: tony Remote: 93.89.131.253 Application: pgAdmin 4 - DB:pharmisight
Date: 2019-07-08 10:17:39 Duration: 44ms Database: pharmisight User: tony Remote: 93.89.131.253 Application: pgAdmin 4 - DB:pharmisight
9 25,792 1s232ms 0ms 2ms 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 #9
Day Hour Count Duration Avg duration Jul 08 01 1,046 49ms 0ms 02 1,034 49ms 0ms 03 1,032 49ms 0ms 04 1,028 48ms 0ms 05 1,028 48ms 0ms 06 1,030 48ms 0ms 07 1,114 47ms 0ms 08 1,024 46ms 0ms 09 1,085 47ms 0ms 10 1,138 52ms 0ms 11 1,146 51ms 0ms 12 1,135 54ms 0ms 13 1,247 59ms 0ms 14 1,148 51ms 0ms 15 1,111 53ms 0ms 16 1,080 56ms 0ms 17 1,068 49ms 0ms 18 1,062 51ms 0ms 19 1,038 51ms 0ms 20 1,042 53ms 0ms 21 1,027 52ms 0ms 22 1,046 52ms 0ms 23 1,044 51ms 0ms 00 1,039 53ms 0ms [ User: symmetricds - Total duration: 1s232ms - Times executed: 25792 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s232ms - Times executed: 25792 ]
-
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-07-08 15:22:54 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:32:53 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 23:45:00 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 22,718 519ms 0ms 1ms 0ms SELECT nextval(?);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 08 07 8,984 155ms 0ms 08 1,235 36ms 0ms 09 3,309 81ms 0ms 10 1,417 38ms 0ms 11 2,311 58ms 0ms 12 2,563 62ms 0ms 13 1,087 28ms 0ms 14 955 25ms 0ms 15 616 17ms 0ms 16 28 2ms 0ms 17 98 6ms 0ms 18 72 6ms 0ms 21 43 0ms 0ms [ User: pharmisight - Total duration: 519ms - Times executed: 22718 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 519ms - Times executed: 22718 ]
-
SELECT nextval('order_line_activities_sequence');
-
SELECT nextval('order_round_activities_sequence');
-
SELECT nextval('order_tasks_sequence');
Date: 2019-07-08 10:26:40 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:35:45 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 13:43:26 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 22,316 6s842ms 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 #11
Day Hour Count Duration Avg duration Jul 08 07 4,927 1s400ms 0ms 08 1,555 533ms 0ms 09 1,631 640ms 0ms 10 3,745 1s101ms 0ms 11 1,415 469ms 0ms 12 1,399 470ms 0ms 13 2,389 717ms 0ms 14 817 258ms 0ms 15 706 200ms 0ms 16 235 69ms 0ms 17 1,700 498ms 0ms 18 1,682 456ms 0ms 21 115 26ms 0ms [ User: pharmisight - Total duration: 6s842ms - Times executed: 22316 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s842ms - Times executed: 22316 ]
-
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 = '200593492' 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 = '200593542' 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 = '200593392' ORDER BY orders0_.order_id ASC;
Date: 2019-07-08 09:25:21 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:18:53 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 12:19:30 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 21,648 1s114ms 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 #12
Day Hour Count Duration Avg duration Jul 08 01 720 37ms 0ms 02 722 37ms 0ms 03 720 37ms 0ms 04 720 37ms 0ms 05 720 37ms 0ms 06 722 37ms 0ms 07 1,050 48ms 0ms 08 953 47ms 0ms 09 1,907 94ms 0ms 10 1,180 59ms 0ms 11 1,224 63ms 0ms 12 1,316 69ms 0ms 13 1,060 55ms 0ms 14 1,010 53ms 0ms 15 932 47ms 0ms 16 746 38ms 0ms 17 808 40ms 0ms 18 780 40ms 0ms 19 724 37ms 0ms 20 726 38ms 0ms 21 730 38ms 0ms 22 726 38ms 0ms 23 726 38ms 0ms 00 726 38ms 0ms [ User: symmetricds - Total duration: 1s114ms - Times executed: 21648 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s114ms - Times executed: 21648 ]
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = '0';
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = '2';
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = '2';
Date: 2019-07-08 12:36:54 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 13:30:54 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:40:53 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 18,240 269ms 0ms 0ms 0ms SET session characteristics AS TRANSACTION ISOLATION level read UNCOMMITTED;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 08 01 382 6ms 0ms 02 379 6ms 0ms 03 380 6ms 0ms 04 383 6ms 0ms 05 377 6ms 0ms 06 383 6ms 0ms 07 1,017 13ms 0ms 08 851 12ms 0ms 09 3,145 41ms 0ms 10 1,307 18ms 0ms 11 1,385 19ms 0ms 12 1,585 21ms 0ms 13 1,058 14ms 0ms 14 963 13ms 0ms 15 806 11ms 0ms 16 430 6ms 0ms 17 558 8ms 0ms 18 498 8ms 0ms 19 388 6ms 0ms 20 392 6ms 0ms 21 397 6ms 0ms 22 395 6ms 0ms 23 392 6ms 0ms 00 389 6ms 0ms [ User: symmetricds - Total duration: 269ms - Times executed: 18240 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 269ms - Times executed: 18240 ]
-
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-07-08 22:11:20 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 17:12:11 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:56:53 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 18,240 223ms 0ms 0ms 0ms SET session characteristics AS TRANSACTION ISOLATION level read COMMITTED;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 08 01 380 4ms 0ms 02 381 4ms 0ms 03 380 4ms 0ms 04 380 4ms 0ms 05 380 4ms 0ms 06 381 4ms 0ms 07 1,019 11ms 0ms 08 849 10ms 0ms 09 3,147 39ms 0ms 10 1,306 15ms 0ms 11 1,386 17ms 0ms 12 1,583 20ms 0ms 13 1,060 12ms 0ms 14 963 11ms 0ms 15 804 9ms 0ms 16 432 5ms 0ms 17 556 6ms 0ms 18 500 6ms 0ms 19 388 4ms 0ms 20 392 4ms 0ms 21 397 4ms 0ms 22 392 4ms 0ms 23 392 4ms 0ms 00 392 4ms 0ms [ User: symmetricds - Total duration: 223ms - Times executed: 18240 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 223ms - Times executed: 18240 ]
-
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-07-08 11:56:53 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:47:53 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:49:52 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 17,340 851ms 0ms 16ms 0ms SELECT this_.dlx_barcode AS dlx_barc1_3_0_, this_.ordernumber AS ordernum2_3_0_, this_.pickdatetime AS pickdate3_3_0_, this_.picker AS picker4_3_0_, this_.created AS created5_3_0_, this_.partcode AS partcode6_3_0_, this_.orderqty AS orderqty7_3_0_ FROM dlx_barcodes this_ WHERE this_.ordernumber = ? AND this_.partcode = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 08 07 474 23ms 0ms 08 1,518 75ms 0ms 09 4,510 219ms 0ms 10 1,894 90ms 0ms 11 2,711 128ms 0ms 12 3,207 179ms 0ms 13 1,288 56ms 0ms 14 1,001 44ms 0ms 15 628 28ms 0ms 16 4 0ms 0ms 17 91 3ms 0ms 18 14 0ms 0ms [ User: pharmisight - Total duration: 851ms - Times executed: 17340 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 851ms - Times executed: 17340 ]
-
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 = '5005772087' AND this_.partCode = '100444';
-
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 = '5005766519' AND this_.partCode = '100445';
-
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 = '5005760156' AND this_.partCode = '132199';
Date: 2019-07-08 11:56:38 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:51:36 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:49:51 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 17,311 1s853ms 0ms 79ms 0ms SELECT orderlinea0_.order_line_id AS order_l16_24_0_, orderlinea0_.order_line_activity_id AS order_li1_25_0_, orderlinea0_.order_line_activity_id AS order_li1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedqty AS scannedq4_25_1_, orderlinea0_.assignedqty AS assigned5_25_1_, orderlinea0_.backorderqty AS backorde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodedate AS barcoded8_25_1_, orderlinea0_.barcodebatch AS barcodeb9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelqty AS cancelq11_25_1_, orderlinea0_.reducedqty AS reduced12_25_1_, orderlinea0_.mispickitemcode AS mispick13_25_1_, orderlinea0_.created AS created14_25_1_, orderlinea0_.missinglabels AS missing15_25_1_ FROM order_line_activities orderlinea0_ WHERE orderlinea0_.order_line_id = ? ORDER BY orderlinea0_.created ASC;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 08 07 441 43ms 0ms 08 1,287 77ms 0ms 09 3,819 444ms 0ms 10 2,404 429ms 0ms 11 2,677 300ms 0ms 12 3,130 344ms 0ms 13 1,384 77ms 0ms 14 1,237 81ms 0ms 15 625 34ms 0ms 17 279 17ms 0ms 18 28 1ms 0ms [ User: pharmisight - Total duration: 1s853ms - Times executed: 17311 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s853ms - Times executed: 17311 ]
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '217126332' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '214348712' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '217538902' ORDER BY orderlinea0_.CREATED ASC;
Date: 2019-07-08 08:53:40 Duration: 79ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:28:34 Duration: 25ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 09:01:07 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 17,264 448ms 0ms 0ms 0ms SELECT node_id, queue FROM sym_extract_request WHERE status = ? GROUP BY node_id, queue;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 08 01 718 18ms 0ms 02 720 19ms 0ms 03 720 18ms 0ms 04 718 18ms 0ms 05 720 19ms 0ms 06 720 18ms 0ms 07 718 16ms 0ms 08 720 18ms 0ms 09 720 17ms 0ms 10 718 17ms 0ms 11 718 18ms 0ms 12 720 17ms 0ms 13 720 17ms 0ms 14 718 18ms 0ms 15 720 18ms 0ms 16 720 19ms 0ms 17 718 18ms 0ms 18 720 19ms 0ms 19 720 19ms 0ms 20 720 18ms 0ms 21 718 19ms 0ms 22 720 19ms 0ms 23 720 19ms 0ms 00 720 19ms 0ms [ User: symmetricds - Total duration: 448ms - Times executed: 17264 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 448ms - Times executed: 17264 ]
-
SELECT node_id, queue FROM sym_extract_request WHERE status = 'NE' GROUP BY node_id, queue;
-
SELECT node_id, queue FROM sym_extract_request WHERE status = 'NE' GROUP BY node_id, queue;
-
SELECT node_id, queue FROM sym_extract_request WHERE status = 'NE' GROUP BY node_id, queue;
Date: 2019-07-08 04:26:02 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:32:09 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 14:12:43 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 17,169 9s608ms 0ms 5ms 0ms SELECT trigger_hist_id, trigger_id, source_table_name, table_hash, create_time, pk_column_names, column_names, last_trigger_build_reason, name_for_delete_trigger, name_for_insert_trigger, name_for_update_trigger, source_schema_name, source_catalog_name, trigger_row_hash, trigger_template_hash, error_message FROM sym_trigger_hist WHERE inactive_time IS NULL;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 08 01 717 402ms 0ms 02 718 421ms 0ms 03 716 421ms 0ms 04 716 423ms 0ms 05 716 424ms 0ms 06 718 417ms 0ms 07 710 357ms 0ms 08 714 407ms 0ms 09 714 382ms 0ms 10 712 391ms 0ms 11 714 389ms 0ms 12 712 384ms 0ms 13 716 396ms 0ms 14 714 388ms 0ms 15 716 393ms 0ms 16 716 404ms 0ms 17 716 379ms 0ms 18 716 403ms 0ms 19 716 403ms 0ms 20 716 399ms 0ms 21 718 408ms 0ms 22 716 403ms 0ms 23 716 401ms 0ms 00 716 401ms 0ms [ User: symmetricds - Total duration: 9s608ms - Times executed: 17169 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s608ms - Times executed: 17169 ]
-
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-07-08 12:14:37 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 13:12:54 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:35:36 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 15,595 790ms 0ms 14ms 0ms SELECT orderlinep0_.order_line_id AS order_l10_24_0_, orderlinep0_.order_line_prescription_id AS order_li1_27_0_, orderlinep0_.order_line_prescription_id AS order_li1_27_1_, orderlinep0_.uuid AS uuid2_27_1_, orderlinep0_.prescriptionid AS prescrip3_27_1_, orderlinep0_.plonkernumber AS plonkern4_27_1_, orderlinep0_.plonkerdate AS plonkerd5_27_1_, orderlinep0_.imagetype AS imagetyp6_27_1_, orderlinep0_.imagelink AS imagelin7_27_1_, orderlinep0_.imagelinkoriginal AS imagelin8_27_1_, orderlinep0_.epscheck AS epscheck9_27_1_ FROM order_line_prescriptions orderlinep0_ WHERE orderlinep0_.order_line_id = ? ORDER BY orderlinep0_.prescriptionid ASC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 08 07 3,798 170ms 0ms 08 473 29ms 0ms 09 356 32ms 0ms 10 323 75ms 0ms 11 2,866 125ms 0ms 12 114 53ms 0ms 13 27 1ms 0ms 14 2,537 105ms 0ms 15 2,521 96ms 0ms 16 24 1ms 0ms 17 2,535 98ms 0ms 18 21 0ms 0ms [ User: pharmisight - Total duration: 790ms - Times executed: 15595 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 790ms - Times executed: 15595 ]
-
SELECT orderlinep0_.ORDER_LINE_ID AS ORDER_L10_24_0_, orderlinep0_.ORDER_LINE_PRESCRIPTION_ID AS ORDER_LI1_27_0_, orderlinep0_.ORDER_LINE_PRESCRIPTION_ID AS ORDER_LI1_27_1_, orderlinep0_.uuid AS uuid2_27_1_, orderlinep0_.prescriptionId AS prescrip3_27_1_, orderlinep0_.plonkerNumber AS plonkerN4_27_1_, orderlinep0_.plonkerDate AS plonkerD5_27_1_, orderlinep0_.imagetype AS imagetyp6_27_1_, orderlinep0_.imageLink AS imageLin7_27_1_, orderlinep0_.imageLinkOriginal AS imageLin8_27_1_, orderlinep0_.epsCheck AS epsCheck9_27_1_ FROM ORDER_LINE_PRESCRIPTIONS orderlinep0_ WHERE orderlinep0_.ORDER_LINE_ID = '216306702' ORDER BY orderlinep0_.prescriptionId ASC;
-
SELECT orderlinep0_.ORDER_LINE_ID AS ORDER_L10_24_0_, orderlinep0_.ORDER_LINE_PRESCRIPTION_ID AS ORDER_LI1_27_0_, orderlinep0_.ORDER_LINE_PRESCRIPTION_ID AS ORDER_LI1_27_1_, orderlinep0_.uuid AS uuid2_27_1_, orderlinep0_.prescriptionId AS prescrip3_27_1_, orderlinep0_.plonkerNumber AS plonkerN4_27_1_, orderlinep0_.plonkerDate AS plonkerD5_27_1_, orderlinep0_.imagetype AS imagetyp6_27_1_, orderlinep0_.imageLink AS imageLin7_27_1_, orderlinep0_.imageLinkOriginal AS imageLin8_27_1_, orderlinep0_.epsCheck AS epsCheck9_27_1_ FROM ORDER_LINE_PRESCRIPTIONS orderlinep0_ WHERE orderlinep0_.ORDER_LINE_ID = '215908012' ORDER BY orderlinep0_.prescriptionId ASC;
-
SELECT orderlinep0_.ORDER_LINE_ID AS ORDER_L10_24_0_, orderlinep0_.ORDER_LINE_PRESCRIPTION_ID AS ORDER_LI1_27_0_, orderlinep0_.ORDER_LINE_PRESCRIPTION_ID AS ORDER_LI1_27_1_, orderlinep0_.uuid AS uuid2_27_1_, orderlinep0_.prescriptionId AS prescrip3_27_1_, orderlinep0_.plonkerNumber AS plonkerN4_27_1_, orderlinep0_.plonkerDate AS plonkerD5_27_1_, orderlinep0_.imagetype AS imagetyp6_27_1_, orderlinep0_.imageLink AS imageLin7_27_1_, orderlinep0_.imageLinkOriginal AS imageLin8_27_1_, orderlinep0_.epsCheck AS epsCheck9_27_1_ FROM ORDER_LINE_PRESCRIPTIONS orderlinep0_ WHERE orderlinep0_.ORDER_LINE_ID = '216529512' ORDER BY orderlinep0_.prescriptionId ASC;
Date: 2019-07-08 11:01:07 Duration: 14ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:01:08 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:01:07 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 14,490 656ms 0ms 1ms 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 #20
Day Hour Count Duration Avg duration Jul 08 07 863 37ms 0ms 08 1,535 68ms 0ms 09 1,746 78ms 0ms 10 2,674 116ms 0ms 11 2,094 95ms 0ms 12 1,662 77ms 0ms 13 949 44ms 0ms 14 1,101 53ms 0ms 15 582 23ms 0ms 16 142 7ms 0ms 17 696 33ms 0ms 18 444 20ms 0ms 21 2 0ms 0ms [ User: pharmisight - Total duration: 656ms - Times executed: 14490 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 656ms - Times executed: 14490 ]
-
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 = '200554102';
-
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 = '200554152';
-
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 = '200553232';
Date: 2019-07-08 08:46:32 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:06:54 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 07:03:54 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 24s552ms 24s552ms 24s552ms 1 24s552ms SELECT count(*) AS y0_ FROM order_lines this_ WHERE (this_.partcode = ? OR this_.partcode = ? OR this_.partcode = ? OR this_.partcode = ? OR this_.partcode = ?);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 08 18 1 24s552ms 24s552ms [ User: pharmisight - Total duration: 24s552ms - Times executed: 1 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 24s552ms - Times executed: 1 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE (this_.partCode = '18561' OR this_.partCode = '40802' OR this_.partCode = '54547' OR this_.partCode = '65776' OR this_.partCode = '69459');
Date: 2019-07-08 17:01:27 Duration: 24s552ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 205ms 8s263ms 4s942ms 3 14s827ms SELECT this_.order_line_id AS order_li1_24_0_, this_.routenumber AS routenum2_24_0_, this_.sapordernumber AS saporder3_24_0_, this_.ordernumber AS ordernum4_24_0_, this_.answerordernumber AS answeror5_24_0_, this_.partcode AS partcode6_24_0_, this_.partdescription AS partdesc7_24_0_, this_.patientname AS patientn8_24_0_, this_.firstname AS firstnam9_24_0_, this_.middlename AS middlen10_24_0_, this_.lastname AS lastnam11_24_0_, this_.patientdateofbirth AS patient12_24_0_, this_.patientpostcode AS patient13_24_0_, this_.patientpostcodeprefix AS patient14_24_0_, this_.orderqty AS orderqt15_24_0_, this_.allocqty AS allocqt16_24_0_, this_.shipqty AS shipqty17_24_0_, this_.adjustedqty AS adjuste18_24_0_, this_.scannedqty AS scanned19_24_0_, this_.assignedqty AS assigne20_24_0_, this_.checkedqty AS checked21_24_0_, this_.backorderqty AS backord22_24_0_, this_.cancelqty AS cancelq23_24_0_, this_.reducedqty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliverydate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapcustomerid AS sapcust29_24_0_, this_.billtotype AS billtot30_24_0_, this_.barcodedate AS barcode31_24_0_, this_.barcodebatch AS barcode32_24_0_, this_.patientid AS patient33_24_0_, this_.isadded AS isadded34_24_0_, this_.isnotwithinage AS isnotwi35_24_0_, this_.isunderage AS isunder36_24_0_, this_.agecheck AS agechec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.ispaperworkproblem AS ispaper40_24_0_, this_.paperworkresolution AS paperwo41_24_0_, this_.pickerid AS pickeri42_24_0_, this_.specialcare AS special43_24_0_, this_.paperworkenquirystarted AS paperwo44_24_0_, this_.paperworkenquiryfinished AS paperwo45_24_0_, this_.paperworkenquiryresponse AS paperwo46_24_0_, this_.isnewproduct AS isnewpr47_24_0_, this_.extraprocedure AS extrapr48_24_0_, this_.overaverageqtymax AS overave49_24_0_, this_.overaverageqtyresolution AS overave50_24_0_, this_.createuser AS createu51_24_0_, this_.patientalert AS patient52_24_0_, this_.itemalert AS itemale53_24_0_, this_.checkerid AS checker54_24_0_, this_.reductionsummary AS reducti55_24_0_, this_.ismetabolic AS ismetab56_24_0_, this_.rxstatus AS rxstatu57_24_0_, this_.lastregupdateusertype AS lastreg58_24_0_, this_.lastregupdateusername AS lastreg59_24_0_, this_.lastregupdatedate AS lastreg60_24_0_, this_.sapplannedshipdate AS sapplan61_24_0_, this_.sapplanneddeliverydate AS sapplan62_24_0_, this_.requestedsapquantity AS request63_24_0_, this_.orderquantity AS orderqu64_24_0_, this_.reglinecreatedusertype AS regline65_24_0_, this_.reglinecreatedusername AS regline66_24_0_, this_.reglinecreateddate AS regline67_24_0_, this_.audited AS audited68_24_0_, this_.ismetabolicpatient AS ismetab69_24_0_, this_.addedcase AS addedca70_24_0_, this_.ordertype AS orderty71_24_0_, this_.created AS created72_24_0_, this_.updated AS updated73_24_0_, this_.rxcheckby AS rxcheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertconfirmation AS alertco77_24_0_, this_.homewardaction AS homewar78_24_0_ FROM order_lines this_ WHERE this_.deliverydate BETWEEN ? AND ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 08 12 2 14s621ms 7s310ms 14 1 205ms 205ms [ User: pharmisight - Total duration: 14s827ms - Times executed: 3 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s827ms - Times executed: 3 ]
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2019-06-01' AND '2019-06-30';
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2019-06-01' AND '2019-06-30';
-
SELECT this_.ORDER_LINE_ID AS ORDER_LI1_24_0_, this_.routeNumber AS routeNum2_24_0_, this_.sapOrderNumber AS sapOrder3_24_0_, this_.orderNumber AS orderNum4_24_0_, this_.answerOrderNumber AS answerOr5_24_0_, this_.partCode AS partCode6_24_0_, this_.partDescription AS partDesc7_24_0_, this_.patientName AS patientN8_24_0_, this_.firstName AS firstNam9_24_0_, this_.middleName AS middleN10_24_0_, this_.lastName AS lastNam11_24_0_, this_.patientDateOfBirth AS patient12_24_0_, this_.patientPostcode AS patient13_24_0_, this_.patientPostcodePrefix AS patient14_24_0_, this_.orderQty AS orderQt15_24_0_, this_.allocQty AS allocQt16_24_0_, this_.shipQty AS shipQty17_24_0_, this_.adjustedQty AS adjuste18_24_0_, this_.scannedQty AS scanned19_24_0_, this_.assignedQty AS assigne20_24_0_, this_.checkedQty AS checked21_24_0_, this_.backOrderQty AS backOrd22_24_0_, this_.cancelQty AS cancelQ23_24_0_, this_.reducedQty AS reduced24_24_0_, this_.status AS status25_24_0_, this_.reason AS reason26_24_0_, this_.deliveryDate AS deliver27_24_0_, this_.customer AS custome28_24_0_, this_.sapCustomerId AS sapCust29_24_0_, this_.billToType AS billToT30_24_0_, this_.barcodeDate AS barcode31_24_0_, this_.barcodeBatch AS barcode32_24_0_, this_.patientId AS patient33_24_0_, this_.isAdded AS isAdded34_24_0_, this_.isNotWithinAge AS isNotWi35_24_0_, this_.isUnderAge AS isUnder36_24_0_, this_.ageCheck AS ageChec37_24_0_, this_.expired AS expired38_24_0_, this_.paperwork AS paperwo39_24_0_, this_.isPaperworkProblem AS isPaper40_24_0_, this_.paperworkResolution AS paperwo41_24_0_, this_.pickerId AS pickerI42_24_0_, this_.specialCare AS special43_24_0_, this_.paperworkEnquiryStarted AS paperwo44_24_0_, this_.paperworkEnquiryFinished AS paperwo45_24_0_, this_.paperworkEnquiryResponse AS paperwo46_24_0_, this_.isNewProduct AS isNewPr47_24_0_, this_.extraProcedure AS extraPr48_24_0_, this_.overAverageQtyMax AS overAve49_24_0_, this_.overAverageQtyResolution AS overAve50_24_0_, this_.createUser AS createU51_24_0_, this_.patientAlert AS patient52_24_0_, this_.itemAlert AS itemAle53_24_0_, this_.checkerId AS checker54_24_0_, this_.reductionSummary AS reducti55_24_0_, this_.isMetabolic AS isMetab56_24_0_, this_.rxStatus AS rxStatu57_24_0_, this_.lastRegUpdateUserType AS lastReg58_24_0_, this_.lastRegUpdateUserName AS lastReg59_24_0_, this_.lastRegUpdateDate AS lastReg60_24_0_, this_.sapPlannedShipDate AS sapPlan61_24_0_, this_.sapPlannedDeliveryDate AS sapPlan62_24_0_, this_.requestedSAPQuantity AS request63_24_0_, this_.orderQuantity AS orderQu64_24_0_, this_.regLineCreatedUserType AS regLine65_24_0_, this_.regLineCreatedUserName AS regLine66_24_0_, this_.regLineCreatedDate AS regLine67_24_0_, this_.audited AS audited68_24_0_, this_.isMetabolicPatient AS isMetab69_24_0_, this_.addedCase AS addedCa70_24_0_, this_.orderType AS orderTy71_24_0_, this_.CREATED AS CREATED72_24_0_, this_.UPDATED AS UPDATED73_24_0_, this_.rxCheckBy AS rxCheck74_24_0_, this_.note AS note75_24_0_, this_.item AS item76_24_0_, this_.alertConfirmation AS alertCo77_24_0_, this_.homewardAction AS homewar78_24_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2019-07-08' AND '2019-07-12';
Date: 2019-07-08 11:52:26 Duration: 8s263ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:52:24 Duration: 6s357ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 13:59:14 Duration: 205ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 1s872ms 3s221ms 2s546ms 2 5s93ms UPDATE orders SET patient_id = NULL WHERE patient_id = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 08 07 2 5s93ms 2s546ms [ User: pharmisight - Total duration: 5s93ms - Times executed: 2 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s93ms - Times executed: 2 ]
-
UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '11760390';
-
UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '71042441';
Date: 2019-07-08 06:04:17 Duration: 3s221ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:10:43 Duration: 1s872ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 95ms 228ms 187ms 30 5s623ms SELECT this_.order_round_id AS order_ro1_28_0_, this_.routenumber AS routenum2_28_0_, this_.uploadedbyuserid AS uploaded3_28_0_, this_.uploadedbyusername AS uploaded4_28_0_, this_.updatedby AS updatedb5_28_0_, this_.updatedbyusername AS updatedb6_28_0_, this_.orderroundnote AS orderrou7_28_0_, this_.firstcheckout AS firstche8_28_0_, this_.allordersscannedok AS allorder9_28_0_, this_.status AS status10_28_0_, this_.reopenedtimes AS reopene11_28_0_, this_.lastreopenbyid AS lastreo12_28_0_, this_.lastdonecheckin AS lastdon13_28_0_, this_.lastdonebyid AS lastdon14_28_0_, this_.lastdonebyusername AS lastdon15_28_0_, this_.missinglabels AS missing16_28_0_, this_.rounddeliverydate AS roundde17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadupdated AS uploadu21_28_0_, this_.patientalert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxstatus AS rxstatu24_28_0_, this_.distributionpoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedby AS audited27_28_0_, this_.auditstatus AS auditst28_28_0_, this_.uploadfinished AS uploadf29_28_0_, this_.lastrxcompleted AS lastrxc30_28_0_, this_.lastrxcompletedby AS lastrxc31_28_0_, this_.orderroundnotereadby AS orderro32_28_0_, this_.routeorderlinesqty AS routeor33_28_0_, this_.dlxpickedlinesqty AS dlxpick34_28_0_, this_.flowreport AS flowrep35_28_0_, this_.created AS created36_28_0_, this_.createdby AS created37_28_0_, this_.updated AS updated38_28_0_, this_.note AS note39_28_0_ FROM order_rounds this_ WHERE this_.routenumber ILIKE ? ORDER BY this_.routenumber ASC;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 08 07 3 394ms 131ms 09 6 1s121ms 186ms 10 4 815ms 203ms 11 2 297ms 148ms 12 3 594ms 198ms 13 1 209ms 209ms 14 4 810ms 202ms 15 1 214ms 214ms 16 1 212ms 212ms 17 2 426ms 213ms 18 3 527ms 175ms [ User: pharmisight - Total duration: 5s623ms - Times executed: 30 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s623ms - Times executed: 30 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9494447%' ORDER BY this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9498710%' ORDER BY this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_28_0_, this_.routeNumber AS routeNum2_28_0_, this_.uploadedByUserId AS uploaded3_28_0_, this_.uploadedByUserName AS uploaded4_28_0_, this_.updatedBy AS updatedB5_28_0_, this_.updatedByUserName AS updatedB6_28_0_, this_.orderRoundNote AS orderRou7_28_0_, this_.firstCheckOut AS firstChe8_28_0_, this_.allOrdersScannedOK AS allOrder9_28_0_, this_.status AS status10_28_0_, this_.reopenedTimes AS reopene11_28_0_, this_.lastReopenById AS lastReo12_28_0_, this_.lastDoneCheckIn AS lastDon13_28_0_, this_.lastDoneById AS lastDon14_28_0_, this_.lastDoneByUserName AS lastDon15_28_0_, this_.missingLabels AS missing16_28_0_, this_.roundDeliveryDate AS roundDe17_28_0_, this_.trolley AS trolley18_28_0_, this_.stack AS stack19_28_0_, this_.picktime AS picktim20_28_0_, this_.uploadUpdated AS uploadU21_28_0_, this_.patientAlert AS patient22_28_0_, this_.mismatches AS mismatc23_28_0_, this_.rxStatus AS rxStatu24_28_0_, this_.distributionPoint AS distrib25_28_0_, this_.audited AS audited26_28_0_, this_.auditedBy AS audited27_28_0_, this_.auditStatus AS auditSt28_28_0_, this_.uploadFinished AS uploadF29_28_0_, this_.lastRxCompleted AS lastRxC30_28_0_, this_.lastRxCompletedBy AS lastRxC31_28_0_, this_.orderRoundNoteReadBy AS orderRo32_28_0_, this_.routeOrderLinesQty AS routeOr33_28_0_, this_.dlxPickedLinesQty AS dlxPick34_28_0_, this_.flowReport AS flowRep35_28_0_, this_.CREATED AS CREATED36_28_0_, this_.createdBy AS created37_28_0_, this_.UPDATED AS UPDATED38_28_0_, this_.note AS note39_28_0_ FROM ORDER_ROUNDS this_ WHERE this_.routeNumber ILIKE '9500340%' ORDER BY this_.routeNumber ASC;
Date: 2019-07-08 09:59:52 Duration: 228ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:36:39 Duration: 216ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 14:38:00 Duration: 214ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 34ms 96ms 66ms 244 16s341ms 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 #5
Day Hour Count Duration Avg duration Jul 08 07 63 4s274ms 67ms 08 28 1s658ms 59ms 09 57 3s761ms 65ms 10 28 1s900ms 67ms 11 55 3s887ms 70ms 12 13 857ms 65ms [ User: pharmisight - Total duration: 16s341ms - Times executed: 244 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s341ms - Times executed: 244 ]
-
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 = '201864232' 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 = '201864122' 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 = '201865262' ORDER BY epscheckli0_.description ASC;
Date: 2019-07-08 10:20:41 Duration: 96ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:52:40 Duration: 94ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:52:21 Duration: 90ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 18ms 67ms 35ms 927 33s259ms SELECT count(*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 08 07 69 2s481ms 35ms 08 61 2s194ms 35ms 09 89 3s253ms 36ms 10 172 6s19ms 34ms 11 139 5s100ms 36ms 12 91 3s305ms 36ms 13 65 2s297ms 35ms 14 76 2s822ms 37ms 15 57 1s765ms 30ms 16 15 554ms 36ms 17 63 2s339ms 37ms 18 30 1s125ms 37ms [ User: pharmisight - Total duration: 33s259ms - Times executed: 927 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 33s259ms - Times executed: 927 ]
-
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-07-08 17:01:25 Duration: 67ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 16:40:57 Duration: 62ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 09:56:44 Duration: 62ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 12ms 43ms 26ms 458 12s170ms SELECT alerts0_.alert_confirmation_id AS alert_c10_1_0_, alerts0_.alert_id AS alert_id1_0_0_, alerts0_.alert_id AS alert_id1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientnote AS patientn3_0_1_, alerts0_.itemnote AS itemnote4_0_1_, alerts0_.confirmedchecker AS confirme5_0_1_, alerts0_.confirmedcheckerby AS confirme6_0_1_, alerts0_.isconfirmedbybarcode AS isconfir7_0_1_, alerts0_.confirmedpharmacist AS confirme8_0_1_, alerts0_.confirmedpharmacistby AS confirme9_0_1_ FROM alerts alerts0_ WHERE alerts0_.alert_confirmation_id = ? ORDER BY alerts0_.created ASC;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 08 07 5 148ms 29ms 08 65 1s761ms 27ms 09 94 2s461ms 26ms 10 95 2s493ms 26ms 11 50 1s353ms 27ms 12 91 2s403ms 26ms 13 36 922ms 25ms 14 17 477ms 28ms 15 3 83ms 27ms 18 2 66ms 33ms [ User: pharmisight - Total duration: 12s170ms - Times executed: 458 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s170ms - Times executed: 458 ]
-
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 = '200754692' 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 = '200754542' 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 = '200754032' ORDER BY alerts0_.created ASC;
Date: 2019-07-08 11:30:03 Duration: 43ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:48:25 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 07:58:42 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 13ms 59ms 23ms 212 4s966ms 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 #8
Day Hour Count Duration Avg duration Jul 08 07 116 2s507ms 21ms 09 1 45ms 45ms 10 26 555ms 21ms 11 1 28ms 28ms 13 21 526ms 25ms 15 5 150ms 30ms 16 4 106ms 26ms 17 18 495ms 27ms 18 20 550ms 27ms [ User: pharmisight - Total duration: 4s966ms - Times executed: 212 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 4s966ms - Times executed: 212 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-07-08 00:00:00' AND this_.CREATED < '2019-07-08 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-07-08 00:00:00' AND this_.CREATED < '2019-07-08 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_9_0_, this_.routeNumber AS routeNum2_9_0_, this_.roundDeliveryDate AS roundDel3_9_0_, this_.distributionPoint AS distribu4_9_0_, this_.fullyPicked AS fullyPic5_9_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_9_0_, this_.causeOfDelay AS causeOfD7_9_0_, this_.pharmacy100CheckTime AS pharmacy8_9_0_, this_.linesHeldBack AS linesHel9_9_0_, this_.packTime100 AS packTim10_9_0_, this_.replenish AS repleni11_9_0_, this_.comment AS comment12_9_0_, this_.pickDateTime AS pickDat13_9_0_, this_.failedTargetPickTime AS failedT14_9_0_, this_.actualPaperworkCompleteTime AS actualP15_9_0_, this_.changedPickDateTime AS changed16_9_0_, this_.manuallyChangedPickTime AS manuall17_9_0_, this_.CREATED AS CREATED18_9_0_, this_.UPDATED AS UPDATED19_9_0_, this_.note AS note20_9_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2019-07-08 00:00:00' AND this_.CREATED < '2019-07-08 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2019-07-08 17:04:28 Duration: 59ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:45:33 Duration: 45ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 14:38:12 Duration: 41ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 5ms 47ms 20ms 50,161 17m28s SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_stat_activity WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Total", ( SELECT count(*) FROM pg_stat_activity WHERE state = ? AND datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Active", ( SELECT count(*) FROM pg_stat_activity WHERE state = ? AND datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Idle") t UNION ALL SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Rollbacks") t UNION ALL SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Deletes") t UNION ALL SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Returned") t UNION ALL SELECT ? AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = ?)) AS "Hits") t;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 08 01 3,599 1m15s 21ms 02 3,600 1m16s 21ms 03 3,600 1m16s 21ms 04 3,600 1m16s 21ms 05 3,599 1m16s 21ms 06 3,600 1m16s 21ms 07 3,598 1m12s 20ms 08 3,585 1m14s 20ms 09 3,561 1m13s 20ms 10 3,600 1m15s 20ms 11 3,600 1m15s 20ms 12 3,598 1m15s 20ms 13 3,580 1m14s 20ms 14 3,441 1m11s 20ms [ User: tony - Total duration: 17m28s - Times executed: 50161 ]
[ Application: pgAdmin 4 - DB:pharmisight - Total duration: 17m28s - Times executed: 50161 ]
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_stat_activity WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Total", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Active", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Hits") t;
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_stat_activity WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Total", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Active", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Hits") t;
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_stat_activity WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Total", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Active", ( SELECT count(*) FROM pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_stat_database WHERE datname = ( SELECT datname FROM pg_database WHERE oid = 16401)) AS "Hits") t;
Date: 2019-07-08 11:51:53 Duration: 47ms Database: pharmisight User: tony Remote: 93.89.131.253 Application: pgAdmin 4 - DB:pharmisight
Date: 2019-07-08 11:24:52 Duration: 46ms Database: pharmisight User: tony Remote: 93.89.131.253 Application: pgAdmin 4 - DB:pharmisight
Date: 2019-07-08 10:17:39 Duration: 44ms Database: pharmisight User: tony Remote: 93.89.131.253 Application: pgAdmin 4 - DB:pharmisight
10 5ms 47ms 13ms 927 12s852ms SELECT * FROM order_lines WHERE (deliverydate = ? AND status <> ?) AND ((agecheck = ? OR agecheck = ? OR agecheck = ?) OR (status = ?) OR (paperwork IS NOT NULL AND paperwork <> ? AND paperwork <> ? AND paperwork <> ? AND paperwork <> ?) OR (paperworkresolution IS NOT NULL) OR (overaverageqtymax IS NOT NULL));Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 08 07 69 947ms 13ms 08 61 843ms 13ms 09 89 1s289ms 14ms 10 172 2s220ms 12ms 11 139 1s925ms 13ms 12 91 1s320ms 14ms 13 65 928ms 14ms 14 76 1s68ms 14ms 15 57 683ms 11ms 16 15 243ms 16ms 17 63 924ms 14ms 18 30 457ms 15ms [ User: pharmisight - Total duration: 12s852ms - Times executed: 927 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s852ms - Times executed: 927 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-07-09' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-07-09' AND status <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (status = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2019-07-09' 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-07-08 15:39:56 Duration: 47ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:34:22 Duration: 35ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:34:18 Duration: 33ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 1ms 12ms 3ms 3,708 12s139ms 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 Jul 08 07 276 803ms 2ms 08 244 737ms 3ms 09 356 1s139ms 3ms 10 688 2s160ms 3ms 11 556 1s909ms 3ms 12 364 1s227ms 3ms 13 260 869ms 3ms 14 304 1s60ms 3ms 15 228 673ms 2ms 16 60 215ms 3ms 17 252 917ms 3ms 18 120 427ms 3ms [ User: pharmisight - Total duration: 12s139ms - Times executed: 3708 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s139ms - Times executed: 3708 ]
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-07-09' AND this_.rxStatus = '4';
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-07-09' AND this_.rxStatus = '4';
-
SELECT count(*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2019-07-09' AND this_.rxStatus = '2';
Date: 2019-07-08 10:21:05 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:52:23 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:52:23 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 0ms 107ms 2ms 1,820 5s340ms UPDATE order_lines SET routenumber = ?, sapordernumber = ?, ordernumber = ?, answerordernumber = NULL, partcode = ?, partdescription = ?, patientname = ?, firstname = ?, middlename = NULL, lastname = ?, patientdateofbirth = ?, patientpostcode = ?, patientpostcodeprefix = ?, orderqty = ?, allocqty = ?, shipqty = NULL, adjustedqty = ?, scannedqty = ?, assignedqty = ?, checkedqty = ?, backorderqty = ?, cancelqty = ?, reducedqty = ?, status = ?, reason = NULL, deliverydate = ?, customer = ?, sapcustomerid = ?, billtotype = ?, barcodedate = NULL, barcodebatch = NULL, patientid = ?, isadded = NULL, isnotwithinage = NULL, isunderage = ?, agecheck = ?, expired = NULL, paperwork = ?, ispaperworkproblem = ?, paperworkresolution = NULL, pickerid = ?, specialcare = ?, paperworkenquirystarted = NULL, paperworkenquiryfinished = NULL, paperworkenquiryresponse = NULL, isnewproduct = NULL, extraprocedure = NULL, overaverageqtymax = NULL, overaverageqtyresolution = NULL, createuser = ?, patientalert = NULL, itemalert = NULL, checkerid = ?, reductionsummary = NULL, ismetabolic = NULL, rxstatus = ?, lastregupdateusertype = ?, lastregupdateusername = ?, lastregupdatedate = ?, sapplannedshipdate = ?, sapplanneddeliverydate = ?, requestedsapquantity = ?, orderquantity = ?, reglinecreatedusertype = ?, reglinecreatedusername = ?, reglinecreateddate = ?, audited = NULL, ismetabolicpatient = NULL, addedcase = NULL, ordertype = NULL, created = ?, updated = NULL, rxcheckby = ?, note = ?, item = ?, alertconfirmation = NULL, homewardaction = NULL WHERE order_line_id = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 08 07 101 222ms 2ms 08 134 419ms 3ms 09 607 1s679ms 2ms 10 221 629ms 2ms 11 305 831ms 2ms 12 276 792ms 2ms 13 57 289ms 5ms 14 40 117ms 2ms 15 71 309ms 4ms 17 8 51ms 6ms [ User: pharmisight - Total duration: 5s340ms - Times executed: 1820 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s340ms - Times executed: 1820 ]
-
UPDATE ORDER_LINES SET routeNumber = '9498723', sapOrderNumber = '9010263', orderNumber = '5005786187', answerOrderNumber = NULL, partCode = '132218', partDescription = 'Nutrison Advanced Peptisorb Pack 500ml', patientName = 'Theo Jones', firstName = 'Theo', middleName = NULL, lastName = 'Jones', patientDateOfBirth = '2008-07-21', patientPostcode = 'LE11 2EB', patientPostcodePrefix = 'LE', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '28', scannedQty = '28', assignedQty = '0', checkedQty = '28', backOrderQty = '0', cancelQty = '0', reducedQty = '0', status = 'Checked', reason = NULL, deliveryDate = '2019-07-09', customer = 'Loretta Taylor', sapCustomerId = '685056247', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '54383', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'eRx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '43421260', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Caroline Burden', patientAlert = NULL, itemAlert = NULL, checkerId = '4061', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'rebecca.james@nutricia.connections', lastRegUpdateDate = '2019-07-02 08:23:29', sapPlannedShipDate = '2019-07-08', sapPlannedDeliveryDate = '2019-07-09', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'michelle.coulson@nutricia.connections', regLineCreatedDate = '2019-07-01 13:20:25', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2019-07-08 06:04:28.849', UPDATED = NULL, rxCheckBy = '100', note = 'EP auto check', item = '3316', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '219588672';
-
UPDATE ORDER_LINES SET routeNumber = '9498715', sapOrderNumber = '9010526', orderNumber = '5005785501', answerOrderNumber = NULL, partCode = '54548', partDescription = 'Nutrison 1200 Complete MF 1000ml', patientName = 'William Brown', firstName = 'William', middleName = NULL, lastName = 'Brown', patientDateOfBirth = '1960-02-01', patientPostcode = 'BR5 3SE', patientPostcodePrefix = 'BR', orderQty = '20', allocQty = '20', shipQty = NULL, adjustedQty = '20', scannedQty = '20', assignedQty = '0', checkedQty = '20', backOrderQty = '0', cancelQty = '0', reducedQty = '0', status = 'Checked', reason = NULL, deliveryDate = '2019-07-09', customer = 'Natasha Page', sapCustomerId = '685130101', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200051240', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200000730', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Sara Buckley', patientAlert = NULL, itemAlert = NULL, checkerId = '4062', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinators', lastRegUpdateUserName = 'lauren.rutter@nutricia.connections', lastRegUpdateDate = '2019-04-11 09:09:21', sapPlannedShipDate = '2019-07-08', sapPlannedDeliveryDate = '2019-07-09', requestedSAPQuantity = '20', orderQuantity = '20', regLineCreatedUserType = 'PMS HCP User', regLineCreatedUserName = 'rosie.romeril@nutricia.connections', regLineCreatedDate = '2019-03-21 14:20:49', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2019-07-08 06:04:28.663', UPDATED = NULL, rxCheckBy = '4061', note = 'Beverley Mitchell', item = '3634', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '219583812';
-
UPDATE ORDER_LINES SET routeNumber = '9498718', sapOrderNumber = '9010645', orderNumber = '5005785399', answerOrderNumber = NULL, partCode = '132032', partDescription = 'Tentrini Energy MF Pack 500ml ', patientName = 'Emily Handley', firstName = 'Emily', middleName = NULL, lastName = 'Handley', patientDateOfBirth = '2006-08-17', patientPostcode = 'CT9 4AE', patientPostcodePrefix = 'CT', orderQty = '72', allocQty = '72', shipQty = NULL, adjustedQty = '72', scannedQty = '72', assignedQty = '0', checkedQty = '72', backOrderQty = '0', cancelQty = '0', reducedQty = '0', status = 'Checked', reason = NULL, deliveryDate = '2019-07-09', customer = 'Caroline Burden', sapCustomerId = '685058465', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '65976', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '4468', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Lisa Handley', patientAlert = NULL, itemAlert = NULL, checkerId = '4058', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS HCP User Login', lastRegUpdateUserName = 'supattra.ford@nutricia.connections', lastRegUpdateDate = '2019-07-02 15:44:32', sapPlannedShipDate = '2019-07-08', sapPlannedDeliveryDate = '2019-07-09', requestedSAPQuantity = '72', orderQuantity = '72', regLineCreatedUserType = 'PMS System Administrator', regLineCreatedUserName = 'louise.reys@nutricia.connections', regLineCreatedDate = '2018-08-13 08:21:09', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2019-07-08 06:04:28.426', UPDATED = NULL, rxCheckBy = '4062', note = 'Maria Giaquinto', item = '1382', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '219591572';
Date: 2019-07-08 12:36:06 Duration: 107ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:25:21 Duration: 27ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:35:24 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 0ms 11ms 0ms 12,923 10s153ms SELECT orderlines0_.order_round_id AS order_r80_28_0_, orderlines0_.order_line_id AS order_li1_24_0_, orderlines0_.order_line_id AS order_li1_24_1_, orderlines0_.routenumber AS routenum2_24_1_, orderlines0_.sapordernumber AS saporder3_24_1_, orderlines0_.ordernumber AS ordernum4_24_1_, orderlines0_.answerordernumber AS answeror5_24_1_, orderlines0_.partcode AS partcode6_24_1_, orderlines0_.partdescription AS partdesc7_24_1_, orderlines0_.patientname AS patientn8_24_1_, orderlines0_.firstname AS firstnam9_24_1_, orderlines0_.middlename AS middlen10_24_1_, orderlines0_.lastname AS lastnam11_24_1_, orderlines0_.patientdateofbirth AS patient12_24_1_, orderlines0_.patientpostcode AS patient13_24_1_, orderlines0_.patientpostcodeprefix AS patient14_24_1_, orderlines0_.orderqty AS orderqt15_24_1_, orderlines0_.allocqty AS allocqt16_24_1_, orderlines0_.shipqty AS shipqty17_24_1_, orderlines0_.adjustedqty AS adjuste18_24_1_, orderlines0_.scannedqty AS scanned19_24_1_, orderlines0_.assignedqty AS assigne20_24_1_, orderlines0_.checkedqty AS checked21_24_1_, orderlines0_.backorderqty AS backord22_24_1_, orderlines0_.cancelqty AS cancelq23_24_1_, orderlines0_.reducedqty AS reduced24_24_1_, orderlines0_.status AS status25_24_1_, orderlines0_.reason AS reason26_24_1_, orderlines0_.deliverydate AS deliver27_24_1_, orderlines0_.customer AS custome28_24_1_, orderlines0_.sapcustomerid AS sapcust29_24_1_, orderlines0_.billtotype AS billtot30_24_1_, orderlines0_.barcodedate AS barcode31_24_1_, orderlines0_.barcodebatch AS barcode32_24_1_, orderlines0_.patientid AS patient33_24_1_, orderlines0_.isadded AS isadded34_24_1_, orderlines0_.isnotwithinage AS isnotwi35_24_1_, orderlines0_.isunderage AS isunder36_24_1_, orderlines0_.agecheck AS agechec37_24_1_, orderlines0_.expired AS expired38_24_1_, orderlines0_.paperwork AS paperwo39_24_1_, orderlines0_.ispaperworkproblem AS ispaper40_24_1_, orderlines0_.paperworkresolution AS paperwo41_24_1_, orderlines0_.pickerid AS pickeri42_24_1_, orderlines0_.specialcare AS special43_24_1_, orderlines0_.paperworkenquirystarted AS paperwo44_24_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_24_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_24_1_, orderlines0_.isnewproduct AS isnewpr47_24_1_, orderlines0_.extraprocedure AS extrapr48_24_1_, orderlines0_.overaverageqtymax AS overave49_24_1_, orderlines0_.overaverageqtyresolution AS overave50_24_1_, orderlines0_.createuser AS createu51_24_1_, orderlines0_.patientalert AS patient52_24_1_, orderlines0_.itemalert AS itemale53_24_1_, orderlines0_.checkerid AS checker54_24_1_, orderlines0_.reductionsummary AS reducti55_24_1_, orderlines0_.ismetabolic AS ismetab56_24_1_, orderlines0_.rxstatus AS rxstatu57_24_1_, orderlines0_.lastregupdateusertype AS lastreg58_24_1_, orderlines0_.lastregupdateusername AS lastreg59_24_1_, orderlines0_.lastregupdatedate AS lastreg60_24_1_, orderlines0_.sapplannedshipdate AS sapplan61_24_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_24_1_, orderlines0_.requestedsapquantity AS request63_24_1_, orderlines0_.orderquantity AS orderqu64_24_1_, orderlines0_.reglinecreatedusertype AS regline65_24_1_, orderlines0_.reglinecreatedusername AS regline66_24_1_, orderlines0_.reglinecreateddate AS regline67_24_1_, orderlines0_.audited AS audited68_24_1_, orderlines0_.ismetabolicpatient AS ismetab69_24_1_, orderlines0_.addedcase AS addedca70_24_1_, orderlines0_.ordertype AS orderty71_24_1_, orderlines0_.created AS created72_24_1_, orderlines0_.updated AS updated73_24_1_, orderlines0_.rxcheckby AS rxcheck74_24_1_, orderlines0_.note AS note75_24_1_, orderlines0_.item AS item76_24_1_, orderlines0_.alertconfirmation AS alertco77_24_1_, orderlines0_.homewardaction AS homewar78_24_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = ? ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 08 07 4,123 2s937ms 0ms 08 57 65ms 1ms 09 148 152ms 1ms 10 2,537 1s896ms 0ms 11 214 216ms 1ms 12 98 96ms 0ms 13 1,818 1s481ms 0ms 14 84 77ms 0ms 15 360 321ms 0ms 16 250 209ms 0ms 17 1,558 1s367ms 0ms 18 1,504 1s210ms 0ms 21 172 122ms 0ms [ User: pharmisight - Total duration: 10s153ms - Times executed: 12923 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s153ms - Times executed: 12923 ]
-
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 = '200593302' 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 = '200593262' 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 = '200593462' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2019-07-08 16:28:50 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 09:25:18 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 07:00:00 Duration: 6ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 0ms 5ms 0ms 12,995 8s739ms UPDATE order_line_activities SET order_line_id = ? WHERE order_line_activity_id = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 08 07 543 363ms 0ms 08 976 739ms 0ms 09 3,165 2s99ms 0ms 10 1,272 863ms 0ms 11 2,012 1s313ms 0ms 12 2,478 1s610ms 0ms 13 1,011 658ms 0ms 14 879 597ms 0ms 15 580 408ms 0ms 17 51 56ms 1ms 18 28 29ms 1ms [ User: pharmisight - Total duration: 8s739ms - Times executed: 12995 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s739ms - Times executed: 12995 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '219593182' WHERE ORDER_LINE_ACTIVITY_ID = '317816652';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '219587692' WHERE ORDER_LINE_ACTIVITY_ID = '317847602';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '219597252' WHERE ORDER_LINE_ACTIVITY_ID = '317915422';
Date: 2019-07-08 07:44:31 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:51:43 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 12:49:47 Duration: 5ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 0ms 5ms 0ms 17,169 9s608ms 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 Jul 08 01 717 402ms 0ms 02 718 421ms 0ms 03 716 421ms 0ms 04 716 423ms 0ms 05 716 424ms 0ms 06 718 417ms 0ms 07 710 357ms 0ms 08 714 407ms 0ms 09 714 382ms 0ms 10 712 391ms 0ms 11 714 389ms 0ms 12 712 384ms 0ms 13 716 396ms 0ms 14 714 388ms 0ms 15 716 393ms 0ms 16 716 404ms 0ms 17 716 379ms 0ms 18 716 403ms 0ms 19 716 403ms 0ms 20 716 399ms 0ms 21 718 408ms 0ms 22 716 403ms 0ms 23 716 401ms 0ms 00 716 401ms 0ms [ User: symmetricds - Total duration: 9s608ms - Times executed: 17169 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s608ms - Times executed: 17169 ]
-
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-07-08 12:14:37 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 13:12:54 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 08:35:36 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 0ms 9ms 0ms 22,316 6s842ms 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 Jul 08 07 4,927 1s400ms 0ms 08 1,555 533ms 0ms 09 1,631 640ms 0ms 10 3,745 1s101ms 0ms 11 1,415 469ms 0ms 12 1,399 470ms 0ms 13 2,389 717ms 0ms 14 817 258ms 0ms 15 706 200ms 0ms 16 235 69ms 0ms 17 1,700 498ms 0ms 18 1,682 456ms 0ms 21 115 26ms 0ms [ User: pharmisight - Total duration: 6s842ms - Times executed: 22316 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s842ms - Times executed: 22316 ]
-
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 = '200593492' 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 = '200593542' 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 = '200593392' ORDER BY orders0_.order_id ASC;
Date: 2019-07-08 09:25:21 Duration: 9ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:18:53 Duration: 4ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 12:19:30 Duration: 3ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 0ms 180ms 0ms 98,948 12s676ms 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 Jul 08 07 5,018 471ms 0ms 08 7,813 752ms 0ms 09 21,922 2s590ms 0ms 10 8,532 1s821ms 0ms 11 15,602 3s34ms 0ms 12 15,032 1s743ms 0ms 13 6,014 577ms 0ms 14 9,810 899ms 0ms 15 6,044 522ms 0ms 16 12 1ms 0ms 17 3,115 258ms 0ms 18 34 4ms 0ms [ User: pharmisight - Total duration: 12s676ms - Times executed: 98948 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s676ms - Times executed: 98948 ]
-
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 = '203529070' 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 = '63416690' 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 = '120737850' ORDER BY orderlines0_.partDescription ASC;
Date: 2019-07-08 10:47:58 Duration: 180ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 09:04:07 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 10:20:06 Duration: 22ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 56ms 0ms 203,096 23s191ms COMMIT;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 08 01 5,621 160ms 0ms 02 5,480 145ms 0ms 03 5,465 145ms 0ms 04 5,439 138ms 0ms 05 5,443 138ms 0ms 06 5,452 137ms 0ms 07 15,608 2s990ms 0ms 08 11,275 1s661ms 0ms 09 18,267 4s56ms 0ms 10 13,302 2s65ms 0ms 11 13,941 2s325ms 0ms 12 14,358 2s593ms 0ms 13 11,410 1s933ms 0ms 14 10,017 1s378ms 0ms 15 8,486 960ms 0ms 16 6,157 308ms 0ms 17 7,054 486ms 0ms 18 6,519 388ms 0ms 19 5,601 164ms 0ms 20 5,623 195ms 0ms 21 5,582 189ms 0ms 22 5,688 203ms 0ms 23 5,663 218ms 0ms 00 5,645 204ms 0ms [ User: symmetricds - Total duration: 16s650ms - Times executed: 177372 ]
[ User: pharmisight - Total duration: 6s540ms - Times executed: 25724 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s173ms - Times executed: 203054 ]
[ Application: [unknown] - Total duration: 17ms - Times executed: 42 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2019-07-08 06:25:03 Duration: 56ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:10:53 Duration: 42ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 06:11:30 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 79ms 0ms 17,311 1s853ms SELECT orderlinea0_.order_line_id AS order_l16_24_0_, orderlinea0_.order_line_activity_id AS order_li1_25_0_, orderlinea0_.order_line_activity_id AS order_li1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedqty AS scannedq4_25_1_, orderlinea0_.assignedqty AS assigned5_25_1_, orderlinea0_.backorderqty AS backorde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodedate AS barcoded8_25_1_, orderlinea0_.barcodebatch AS barcodeb9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelqty AS cancelq11_25_1_, orderlinea0_.reducedqty AS reduced12_25_1_, orderlinea0_.mispickitemcode AS mispick13_25_1_, orderlinea0_.created AS created14_25_1_, orderlinea0_.missinglabels AS missing15_25_1_ FROM order_line_activities orderlinea0_ WHERE orderlinea0_.order_line_id = ? ORDER BY orderlinea0_.created ASC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 08 07 441 43ms 0ms 08 1,287 77ms 0ms 09 3,819 444ms 0ms 10 2,404 429ms 0ms 11 2,677 300ms 0ms 12 3,130 344ms 0ms 13 1,384 77ms 0ms 14 1,237 81ms 0ms 15 625 34ms 0ms 17 279 17ms 0ms 18 28 1ms 0ms [ User: pharmisight - Total duration: 1s853ms - Times executed: 17311 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s853ms - Times executed: 17311 ]
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '217126332' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '214348712' ORDER BY orderlinea0_.CREATED ASC;
-
SELECT orderlinea0_.ORDER_LINE_ID AS ORDER_L16_24_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_0_, orderlinea0_.ORDER_LINE_ACTIVITY_ID AS ORDER_LI1_25_1_, orderlinea0_.status AS status2_25_1_, orderlinea0_.reason AS reason3_25_1_, orderlinea0_.scannedQty AS scannedQ4_25_1_, orderlinea0_.assignedQty AS assigned5_25_1_, orderlinea0_.backOrderQty AS backOrde6_25_1_, orderlinea0_.barcode AS barcode7_25_1_, orderlinea0_.barcodeDate AS barcodeD8_25_1_, orderlinea0_.barcodeBatch AS barcodeB9_25_1_, orderlinea0_.expiration AS expirat10_25_1_, orderlinea0_.cancelQty AS cancelQ11_25_1_, orderlinea0_.reducedQty AS reduced12_25_1_, orderlinea0_.misPickItemCode AS misPick13_25_1_, orderlinea0_.CREATED AS CREATED14_25_1_, orderlinea0_.missingLabels AS missing15_25_1_ FROM ORDER_LINE_ACTIVITIES orderlinea0_ WHERE orderlinea0_.ORDER_LINE_ID = '217538902' ORDER BY orderlinea0_.CREATED ASC;
Date: 2019-07-08 08:53:40 Duration: 79ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:28:34 Duration: 25ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 09:01:07 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 0ms 2ms 0ms 21,648 1s114ms 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 #20
Day Hour Count Duration Avg duration Jul 08 01 720 37ms 0ms 02 722 37ms 0ms 03 720 37ms 0ms 04 720 37ms 0ms 05 720 37ms 0ms 06 722 37ms 0ms 07 1,050 48ms 0ms 08 953 47ms 0ms 09 1,907 94ms 0ms 10 1,180 59ms 0ms 11 1,224 63ms 0ms 12 1,316 69ms 0ms 13 1,060 55ms 0ms 14 1,010 53ms 0ms 15 932 47ms 0ms 16 746 38ms 0ms 17 808 40ms 0ms 18 780 40ms 0ms 19 724 37ms 0ms 20 726 38ms 0ms 21 730 38ms 0ms 22 726 38ms 0ms 23 726 38ms 0ms 00 726 38ms 0ms [ User: symmetricds - Total duration: 1s114ms - Times executed: 21648 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s114ms - Times executed: 21648 ]
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = '0';
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = '2';
-
SELECT c.node_id, c.node_group_id, c.external_id, c.sync_enabled, c.sync_url, c.schema_version, c.database_type, c.database_version, c.symmetric_version, c.created_at_node_id, c.heartbeat_time, c.timezone_offset, c.batch_to_send_count, c.batch_in_error_count, c.deployment_type, c.deployment_sub_type, c.config_version FROM sym_node c WHERE node_id = '2';
Date: 2019-07-08 12:36:54 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 13:30:54 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2019-07-08 11:40:53 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
-
Events
Log levels
Key values
- 6,700,090 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 2 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 2 Max number of times the same event was reported
- 2 Total events found
Rank Times reported Error 1 2 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 08 07 2 - ERROR: process 1366 still waiting for ShareLock on transaction 43004781 after 1001.569 ms
- ERROR: process 1876 still waiting for ShareLock on transaction 43004783 after 1000.097 ms
Detail: Process holding the lock: 1877. Wait queue: 1366.
Context: while updating tuple (881,110) 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-07-08 06:18:44 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 1366. Wait queue: 1876, 1877.
Context: while updating tuple (882,106) 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-07-08 06:18:46 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code: