-
Global information
- Generated on Fri Jul 20 00:00:27 2018
- Log file: /var/log/postgresql/postgresql-9.6-main.log.1
- Parsed 13,599,615 log entries in 25s
- Log start from 2018-07-19 00:00:00 to 2018-07-19 23:59:59
-
Overview
Global Stats
- 1,257 Number of unique normalized queries
- 4,135,360 Number of queries
- 14m16s Total query duration
- 2018-07-19 00:00:00 First query
- 2018-07-19 23:59:59 Last query
- 10,643 queries/s at 2018-07-19 05:59:40 Query peak
- 9 Number of events
- 5 Number of unique normalized events
- 5 Max number of times the same event was reported
- 0 Number of cancellation
- 463 Total number of automatic vacuums
- 598 Total number of automatic analyzes
- 3 Number temporary file
- 9.80 MiB Max size of temporary file
- 9.70 MiB Average size of temporary file
- 1,848 Total number of sessions
- 3 sessions at 2018-07-19 06:00:39 Session peak
- 10d16h23m1s Total duration of sessions
- 8m19s Average duration of sessions
- 2,237 Average queries per session
- 463ms Average queries duration per session
- 1,848 Total number of connections
- 9 connections/s at 2018-07-19 13:43:31 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 10,643 queries/s Query Peak
- 2018-07-19 05:59:40 Date
SELECT Traffic
Key values
- 1,604 queries/s Query Peak
- 2018-07-19 08:59:01 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 10,518 queries/s Query Peak
- 2018-07-19 05:59:40 Date
Queries duration
Key values
- 14m16s Total query duration
Prepared queries ratio
Key values
- 2.54 Ratio of bind vs prepare
- 130.68 % 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 19 00 103,011 0ms 24ms 0ms 84ms 240ms 1s830ms 01 96,647 0ms 36ms 0ms 64ms 179ms 698ms 02 93,492 0ms 24ms 0ms 62ms 139ms 403ms 03 94,450 0ms 17ms 0ms 65ms 258ms 349ms 04 92,987 0ms 17ms 0ms 69ms 93ms 283ms 05 177,105 0ms 77ms 0ms 2s400ms 3s670ms 7s653ms 06 261,711 0ms 3s566ms 0ms 3s474ms 6s909ms 10s562ms 07 265,809 0ms 147ms 0ms 2s172ms 2s559ms 3s365ms 08 230,393 0ms 202ms 0ms 1s584ms 2s140ms 2s828ms 09 183,419 0ms 202ms 0ms 2s130ms 2s311ms 3s185ms 10 181,808 0ms 305ms 0ms 2s99ms 2s861ms 3s679ms 11 213,468 0ms 498ms 0ms 2s436ms 2s626ms 4s555ms 12 189,424 0ms 343ms 0ms 1s666ms 2s850ms 6s599ms 13 253,374 0ms 4s253ms 0ms 4s333ms 6s208ms 9s638ms 14 203,014 0ms 210ms 0ms 2s982ms 5s43ms 5s667ms 15 160,681 0ms 215ms 0ms 1s375ms 2s379ms 3s365ms 16 142,347 0ms 200ms 0ms 2s140ms 2s692ms 3s816ms 17 276,690 0ms 1s674ms 0ms 1s725ms 5s35ms 8s33ms 18 187,039 0ms 28ms 0ms 488ms 513ms 682ms 19 187,589 0ms 25ms 0ms 482ms 495ms 568ms 20 100,693 0ms 35ms 0ms 289ms 364ms 1s57ms 21 186,870 0ms 28ms 0ms 529ms 554ms 617ms 22 157,373 0ms 31ms 0ms 491ms 553ms 621ms 23 95,966 0ms 28ms 0ms 83ms 361ms 401ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 19 00 35,095 0 0ms 29ms 44ms 170ms 01 31,633 0 0ms 33ms 38ms 79ms 02 30,972 0 0ms 32ms 36ms 69ms 03 31,178 0 0ms 33ms 40ms 79ms 04 30,912 0 0ms 31ms 37ms 56ms 05 56,272 0 0ms 40ms 261ms 1s116ms 06 123,534 0 0ms 1s341ms 2s960ms 3s654ms 07 144,974 0 0ms 1s221ms 1s497ms 2s687ms 08 120,149 0 0ms 1s141ms 1s367ms 2s111ms 09 86,855 0 0ms 1s96ms 1s638ms 2s194ms 10 84,355 0 0ms 1s321ms 1s693ms 2s879ms 11 100,265 0 0ms 1s718ms 2s209ms 2s973ms 12 90,643 0 0ms 776ms 1s239ms 2s904ms 13 141,590 0 0ms 2s413ms 3s264ms 5s826ms 14 111,658 0 0ms 1s481ms 2s722ms 4s921ms 15 72,149 0 0ms 309ms 1s328ms 2s954ms 16 68,725 0 0ms 844ms 1s944ms 2s691ms 17 48,098 0 0ms 361ms 860ms 1s160ms 18 35,597 0 0ms 31ms 38ms 146ms 19 34,637 0 0ms 31ms 45ms 87ms 20 32,960 0 0ms 31ms 40ms 188ms 21 34,351 0 0ms 33ms 44ms 61ms 22 33,784 0 0ms 30ms 45ms 149ms 23 31,470 0 0ms 28ms 46ms 66ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 19 00 1,412 1,652 103 0 0ms 9ms 14ms 70ms 01 2,916 1,324 105 0 0ms 1ms 10ms 131ms 02 1,000 845 103 0 0ms 1ms 10ms 55ms 03 1,428 955 106 0 0ms 1ms 9ms 80ms 04 556 737 106 0 0ms 2ms 9ms 42ms 05 37,416 10,678 209 0 0ms 10ms 735ms 2s330ms 06 30,375 13,230 428 0 0ms 356ms 489ms 3s187ms 07 16,554 8,609 406 0 0ms 369ms 475ms 591ms 08 13,075 7,063 372 0 0ms 218ms 278ms 405ms 09 9,304 5,223 295 0 0ms 165ms 233ms 349ms 10 8,753 5,477 311 0 0ms 150ms 210ms 370ms 11 13,759 7,082 369 0 0ms 205ms 275ms 359ms 12 9,002 6,457 294 0 0ms 121ms 193ms 305ms 13 13,748 7,285 398 0 0ms 194ms 247ms 381ms 14 7,358 5,119 260 0 0ms 85ms 132ms 242ms 15 6,246 4,383 293 0 0ms 94ms 117ms 198ms 16 2,492 2,143 181 0 0ms 37ms 110ms 156ms 17 1,686 158,682 133 0 0ms 384ms 506ms 5s 18 325 83,985 109 0 0ms 295ms 389ms 441ms 19 349 85,171 110 0 0ms 318ms 377ms 427ms 20 592 8,035 147 0 0ms 1ms 11ms 252ms 21 1,521 84,805 110 0 0ms 286ms 383ms 446ms 22 2,324 56,072 112 0 0ms 263ms 288ms 399ms 23 2,292 1,175 109 0 0ms 2ms 9ms 140ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 19 00 60,551 102,975 1.70 93.39% 01 55,944 96,611 1.73 92.69% 02 55,461 93,456 1.69 96.85% 03 55,776 94,414 1.69 96.00% 04 55,436 92,951 1.68 97.77% 05 70,189 177,069 2.52 52.31% 06 83,833 260,181 3.10 38.94% 07 80,282 265,749 3.31 36.63% 08 80,067 230,357 2.88 43.18% 09 74,606 183,383 2.46 52.92% 10 77,445 181,772 2.35 55.81% 11 85,055 213,432 2.51 50.76% 12 76,501 189,388 2.48 52.55% 13 82,645 253,338 3.07 39.66% 14 72,096 202,978 2.82 44.68% 15 73,776 160,625 2.18 62.15% 16 64,808 142,287 2.20 62.53% 17 63,858 276,640 4.33 26.89% 18 62,152 185,723 2.99 42.08% 19 63,143 187,553 2.97 42.64% 20 55,042 100,657 1.83 84.03% 21 63,113 186,834 2.96 42.61% 22 60,779 157,337 2.59 51.10% 23 55,644 95,930 1.72 93.45% Day Hour Count Average / Second Jul 19 00 80 0.02/s 01 75 0.02/s 02 74 0.02/s 03 73 0.02/s 04 76 0.02/s 05 75 0.02/s 06 68 0.02/s 07 55 0.02/s 08 62 0.02/s 09 72 0.02/s 10 72 0.02/s 11 87 0.02/s 12 64 0.02/s 13 91 0.03/s 14 70 0.02/s 15 87 0.02/s 16 83 0.02/s 17 74 0.02/s 18 80 0.02/s 19 99 0.03/s 20 91 0.03/s 21 92 0.03/s 22 76 0.02/s 23 72 0.02/s Day Hour Count Average Duration Jul 19 00 80 7m40s 01 75 8m5s 02 74 8m4s 03 73 8m21s 04 76 8m 05 74 7m36s 06 69 8m41s 07 55 12m18s 08 62 8m45s 09 72 8m6s 10 69 9m53s 11 87 7m52s 12 67 9m20s 13 75 10m13s 14 86 10m41s 15 81 8m7s 16 86 7m34s 17 77 9m36s 18 80 7m41s 19 98 6m44s 20 92 6m18s 21 92 6m39s 22 76 7m42s 23 72 8m14s -
Connections
Established Connections
Key values
- 9 connections Connection Peak
- 2018-07-19 13:43:31 Date
Connections per database
Key values
- pharmisight Main Database
- 1,848 connections Total
Connections per user
Key values
- symmetricds Main User
- 1,848 connections Total
-
Sessions
Simultaneous sessions
Key values
- 3 sessions Session Peak
- 2018-07-19 06:00:39 Date
Histogram of session times
Key values
- 1,103 60000-600000ms duration
Sessions per database
Key values
- pharmisight Main Database
- 1,848 sessions Total
Sessions per user
Key values
- symmetricds Main User
- 1,848 sessions Total
Sessions per host
Key values
- 10.10.10.1 Main Host
- 1,848 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 8,815 buffers Checkpoint Peak
- 2018-07-19 17:27:19 Date
- 150.084 seconds Highest write time
- 0.072 seconds Sync time
Checkpoints Wal files
Key values
- 5 files Wal files usage Peak
- 2018-07-19 06:10:18 Date
Checkpoints distance
Key values
Checkpoint mean distance and estimate (5 minutes period)
NO DATASET
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Jul 19 00 1,543 154.692s 0.023s 154.758s 01 1,062 106.349s 0.023s 106.413s 02 694 69.527s 0.013s 69.584s 03 815 81.764s 0.015s 81.817s 04 707 70.927s 0.02s 70.991s 05 1,831 229.916s 0.017s 229.969s 06 10,930 877.37s 0.045s 877.461s 07 10,522 877.64s 0.027s 877.708s 08 8,846 691.934s 0.029s 692.006s 09 6,112 574.86s 0.023s 574.935s 10 6,583 569.647s 0.019s 569.702s 11 6,523 685.925s 0.049s 686.016s 12 6,613 669.982s 0.031s 670.073s 13 5,916 605.942s 0.028s 606.01s 14 5,693 577.739s 0.043s 577.821s 15 3,848 387.957s 0.02s 388.017s 16 1,611 162.493s 0.037s 162.57s 17 46,076 1,314.649s 0.12s 1,314.822s 18 65,672 1,798.766s 0.202s 1,799.023s 19 54,453 1,799.007s 0.051s 1,799.117s 20 7,084 404.431s 0.018s 404.498s 21 47,826 1,648.8s 0.058s 1,648.906s 22 44,011 1,512.901s 0.041s 1,513.006s 23 981 98.428s 0.016s 98.482s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 19 00 0 0 1 373 0.008s 0s 01 0 0 0 334 0.008s 0s 02 0 0 0 323 0.002s 0s 03 0 0 0 325 0.002s 0s 04 0 0 1 311 0.008s 0s 05 0 0 0 387 0.002s 0s 06 0 1 10 1,224 0.002s 0s 07 0 3 2 1,209 0.002s 0s 08 0 0 3 1,120 0.002s 0s 09 0 0 2 1,130 0.003s 0s 10 0 0 2 1,013 0.002s 0s 11 0 0 3 1,318 0.015s 0s 12 0 0 3 1,139 0.003s 0s 13 0 0 2 1,157 0.008s 0s 14 0 0 2 1,092 0.014s 0s 15 0 0 2 1,025 0.002s 0s 16 0 0 0 673 0.010s 0s 17 0 0 15 908 0.032s 0s 18 0 0 21 613 0.037s 0.001s 19 0 1 18 653 0.002s 0s 20 0 0 7 416 0.002s 0s 21 0 0 15 623 0.010s 0s 22 0 0 18 624 0.003s 0s 23 0 0 0 326 0.002s 0s Day Hour Count Avg time (sec) Jul 19 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 19 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 -
Temporary Files
Size of temporary files
Key values
- 9.80 MiB Temp Files size Peak
- 2018-07-19 06:00:40 Date
Number of temporary files
Key values
- 1 per second Temp Files Peak
- 2018-07-19 06:00:41 Date
Temporary Files Activity
Day Hour Count Total size Average size Jul 19 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 1 9.57 MiB 9.57 MiB 06 2 19.54 MiB 9.77 MiB 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 19.60 sec Highest CPU-cost vacuum
Table public.eps
Database pharmisight - 2018-07-19 21:58:27 Date
- 7.96 sec Highest CPU-cost analyze
Table public.eps_header
Database pharmisight - 2018-07-19 19:22:11 Date
Analyzes per table
Key values
- public.sym_node_communication (207) Main table analyzed (database pharmisight)
- 598 analyzes Total
Table Number of analyzes pharmisight.public.sym_node_communication 207 pharmisight.public.sym_data_gap 100 pharmisight.public.sym_sequence 98 pharmisight.public.sym_outgoing_batch 62 pharmisight.public.sym_node_channel_ctl 26 pharmisight.public.sym_incoming_batch 25 pharmisight.public.eps 12 pharmisight.public.sym_data_event 12 pharmisight.public.sym_lock 11 pharmisight.public.sym_data 11 pharmisight.public.eps_detail 10 pharmisight.public.eps_header 10 pharmisight.public.sym_node_host 6 pharmisight.public.item_codes 3 pharmisight.public.flow_reports 1 pharmisight.public.tablets 1 pharmisight.public.order_rounds 1 pharmisight.public.users 1 pharmisight.public.flow_report_summary_delays 1 Total 598 Vacuums per table
Key values
- public.sym_node_communication (203) Main table vacuumed on database pharmisight
- 463 vacuums Total
Table Number of vacuums Index scans pharmisight.public.sym_node_communication 203 0 pharmisight.public.sym_sequence 98 0 pharmisight.public.sym_data_gap 54 54 pharmisight.public.sym_outgoing_batch 28 28 pharmisight.public.sym_node_channel_ctl 25 0 pharmisight.public.sym_lock 11 0 pharmisight.public.sym_incoming_batch 9 9 pharmisight.pg_toast.pg_toast_2619 5 5 pharmisight.public.sym_data 5 5 pharmisight.pg_catalog.pg_statistic 5 5 pharmisight.public.sym_node_host 5 0 pharmisight.public.eps_header 4 4 pharmisight.public.eps 4 4 pharmisight.public.eps_detail 3 3 pharmisight.public.sym_data_event 3 3 pharmisight.public.item_codes 1 1 Total 463 121 Tuples removed per table
Key values
- public.eps_detail (67920) Main table with removed tuples on database pharmisight
- 244825 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.eps_detail 3 3 67920 0 pharmisight.public.sym_data_event 3 3 49640 0 pharmisight.public.eps 4 4 48440 0 pharmisight.public.eps_header 4 4 45886 0 pharmisight.public.sym_node_communication 203 0 11326 0 pharmisight.public.sym_outgoing_batch 28 28 5761 22 pharmisight.public.sym_sequence 98 0 5435 0 pharmisight.public.sym_data_gap 54 54 2753 1 pharmisight.public.sym_data 5 5 1951 0 pharmisight.public.sym_incoming_batch 9 9 1605 0 pharmisight.public.sym_node_channel_ctl 25 0 1342 0 pharmisight.pg_catalog.pg_statistic 5 5 1297 0 pharmisight.public.sym_lock 11 0 572 0 pharmisight.pg_toast.pg_toast_2619 5 5 379 0 pharmisight.public.sym_node_host 5 0 261 0 pharmisight.public.item_codes 1 1 257 0 Total 463 121 244,825 23 Pages removed per table
Key values
- public.sym_outgoing_batch (22) Main table with removed pages on database pharmisight
- 23 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed pharmisight.public.sym_outgoing_batch 28 28 5761 22 pharmisight.public.sym_data_gap 54 54 2753 1 pharmisight.public.sym_node_channel_ctl 25 0 1342 0 pharmisight.public.sym_sequence 98 0 5435 0 pharmisight.public.item_codes 1 1 257 0 pharmisight.public.eps_header 4 4 45886 0 pharmisight.pg_toast.pg_toast_2619 5 5 379 0 pharmisight.public.sym_data 5 5 1951 0 pharmisight.pg_catalog.pg_statistic 5 5 1297 0 pharmisight.public.sym_node_communication 203 0 11326 0 pharmisight.public.sym_incoming_batch 9 9 1605 0 pharmisight.public.eps 4 4 48440 0 pharmisight.public.sym_lock 11 0 572 0 pharmisight.public.eps_detail 3 3 67920 0 pharmisight.public.sym_data_event 3 3 49640 0 pharmisight.public.sym_node_host 5 0 261 0 Total 463 121 244,825 23 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Jul 19 00 9 12 01 12 14 02 10 9 03 11 12 04 10 10 05 12 17 06 35 44 07 32 43 08 33 42 09 26 35 10 27 35 11 31 40 12 29 38 13 29 41 14 22 33 15 27 30 16 16 20 17 16 20 18 15 25 19 14 19 20 10 10 21 15 20 22 12 19 23 10 10 - 19.60 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 6 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 6 11s794ms 1s35ms 2s867ms 1s965ms UPDATE flow_reports SET routenumber = ?, rounddeliverydate = ?, distributionpoint = ?, fullypicked = ?, outbaseroutescorrectlygrouped = ?, causeofdelay = ?, pharmacy100checktime = ?, linesheldback = ?, packtime100 = ?, replenish = ?, COMMENT = ?, pickdatetime = ?, failedtargetpicktime = ?, actualpaperworkcompletetime = ?, changedpickdatetime = ?, manuallychangedpicktime = ?, created = ?, updated = ?, note = ? WHERE flow_report_id = ?;-
UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;
Date: 2018-07-19 17:00:23 Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver
Queries that waited the most
Rank Wait time Query 1 2s867ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-19 13:56:43 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
2 2s594ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-19 13:56:43 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
3 1s965ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-19 06:08:41 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
4 1s673ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-19 17:00:23 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
5 1s657ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-19 13:56:44 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
6 1s35ms UPDATE FLOW_REPORTS SET routeNumber = $1, roundDeliveryDate = $2, distributionPoint = $3, fullyPicked = $4, outbaseRoutesCorrectlyGrouped = $5, causeOfDelay = $6, pharmacy100CheckTime = $7, linesHeldBack = $8, packTime100 = $9, replenish = $10, COMMENT = $11, pickDateTime = $12, failedTargetPickTime = $13, actualPaperworkCompleteTime = $14, changedPickDateTime = $15, manuallyChangedPickTime = $16, CREATED = $17, UPDATED = $18, note = $19 WHERE FLOW_REPORT_ID = $20;[ Date: 2018-07-19 06:06:59 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver ]
-
Queries
Queries by type
Key values
- 1,611,856 Total read queries
- 1,549,811 Total write queries
Queries by database
Key values
- pharmisight Main database
- 4,135,360 Requests
- 14m16s (pharmisight)
- Main time consuming database
Queries by user
Key values
- symmetricds Main user
- 3,307,531 Requests
User Request type Count Duration pharmisight Total 921,014 10m34s DELETE 75 1s547ms INSERT 29,351 30s935ms OTHERS 1,974 65ms SELECT 783,113 7m48s TCL 67,279 9s163ms UPDATE 39,222 2m3s symmetricds Total 3,307,531 3m40s DDL 1 1ms DELETE 5,161 6s213ms INSERT 156,955 10s709ms OTHERS 1,007,764 18s97ms SELECT 858,694 40s193ms TCL 750,894 31s633ms UPDATE 528,062 1m53s tony Total 900 4s556ms SELECT 900 4s556ms Duration by user
Key values
- 10m34s (pharmisight) Main time consuming user
User Request type Count Duration pharmisight Total 921,014 10m34s DELETE 75 1s547ms INSERT 29,351 30s935ms OTHERS 1,974 65ms SELECT 783,113 7m48s TCL 67,279 9s163ms UPDATE 39,222 2m3s symmetricds Total 3,307,531 3m40s DDL 1 1ms DELETE 5,161 6s213ms INSERT 156,955 10s709ms OTHERS 1,007,764 18s97ms SELECT 858,694 40s193ms TCL 750,894 31s633ms UPDATE 528,062 1m53s tony Total 900 4s556ms SELECT 900 4s556ms Queries by host
Key values
- 10.10.10.1 Main host
- 4,228,545 Requests
- 14m14s (10.10.10.1)
- Main time consuming host
Queries by application
Key values
- PostgreSQL JDBC Driver Main application
- 4,130,086 Requests
- 14m11s (PostgreSQL JDBC Driver)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2018-07-19 11:04:28 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 4,045,947 0-1ms duration
Slowest individual queries
Rank Duration Query 1 4s253ms UPDATE FLOW_REPORTS SET routeNumber = '9012531', roundDeliveryDate = '2018-07-20', distributionPoint = 'Redditch', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2018-07-19 13:56:07.868', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-07-19 12:47:18', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2018-07-19 06:02:55.332', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-19 17:00:04.608', UPDATED = '2018-07-19 13:56:07.894', note = NULL WHERE FLOW_REPORT_ID = '200412912';[ Date: 2018-07-19 13:56:44 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 3s566ms UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '306958';[ Date: 2018-07-19 06:01:16 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 2s869ms UPDATE FLOW_REPORTS SET routeNumber = '9012531', roundDeliveryDate = '2018-07-20', distributionPoint = 'Redditch', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2018-07-19 13:56:07.868', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-07-19 12:47:18', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2018-07-19 06:02:55.332', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-19 17:00:04.608', UPDATED = '2018-07-19 13:56:07.894', note = NULL WHERE FLOW_REPORT_ID = '200412912';[ Date: 2018-07-19 13:56:43 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 2s201ms UPDATE ORDERS SET PATIENT_ID = NULL WHERE PATIENT_ID = '200235300';[ Date: 2018-07-19 06:02:24 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 1s966ms UPDATE FLOW_REPORTS SET routeNumber = '9012546', roundDeliveryDate = '2018-07-20', distributionPoint = 'Northern Ireland', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-19 06:02:57.406', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-19 17:00:16.607', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200413062';[ Date: 2018-07-19 06:08:41 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 1s954ms COMMIT;[ Date: 2018-07-19 06:25:06 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 1s674ms UPDATE FLOW_REPORTS SET routeNumber = '9012532', roundDeliveryDate = '2018-07-20', distributionPoint = 'Redditch', fullyPicked = 't', outbaseRoutesCorrectlyGrouped = 't', causeOfDelay = ' ', pharmacy100CheckTime = '2018-07-19 17:00:12.671', linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = '2018-07-19 13:07:54', failedTargetPickTime = 'f', actualPaperworkCompleteTime = '2018-07-19 11:44:00.1', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-19 17:00:58.693', UPDATED = '2018-07-19 17:00:12.68', note = NULL WHERE FLOW_REPORT_ID = '200412922';[ Date: 2018-07-19 17:00:23 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 1s482ms SELECT this_.ORDER_LINE_ID AS ORDER_LI1_22_0_, this_.routeNumber AS routeNum2_22_0_, this_.sapOrderNumber AS sapOrder3_22_0_, this_.orderNumber AS orderNum4_22_0_, this_.answerOrderNumber AS answerOr5_22_0_, this_.partCode AS partCode6_22_0_, this_.partDescription AS partDesc7_22_0_, this_.patientName AS patientN8_22_0_, this_.firstName AS firstNam9_22_0_, this_.middleName AS middleN10_22_0_, this_.lastName AS lastNam11_22_0_, this_.patientDateOfBirth AS patient12_22_0_, this_.patientPostcode AS patient13_22_0_, this_.patientPostcodePrefix AS patient14_22_0_, this_.orderQty AS orderQt15_22_0_, this_.allocQty AS allocQt16_22_0_, this_.shipQty AS shipQty17_22_0_, this_.adjustedQty AS adjuste18_22_0_, this_.scannedQty AS scanned19_22_0_, this_.assignedQty AS assigne20_22_0_, this_.checkedQty AS checked21_22_0_, this_.backOrderQty AS backOrd22_22_0_, this_.cancelQty AS cancelQ23_22_0_, this_.reducedQty AS reduced24_22_0_, this_.status AS status25_22_0_, this_.reason AS reason26_22_0_, this_.deliveryDate AS deliver27_22_0_, this_.customer AS custome28_22_0_, this_.sapCustomerId AS sapCust29_22_0_, this_.billToType AS billToT30_22_0_, this_.barcodeDate AS barcode31_22_0_, this_.barcodeBatch AS barcode32_22_0_, this_.patientId AS patient33_22_0_, this_.isAdded AS isAdded34_22_0_, this_.isNotWithinAge AS isNotWi35_22_0_, this_.isUnderAge AS isUnder36_22_0_, this_.ageCheck AS ageChec37_22_0_, this_.expired AS expired38_22_0_, this_.paperwork AS paperwo39_22_0_, this_.isPaperworkProblem AS isPaper40_22_0_, this_.paperworkResolution AS paperwo41_22_0_, this_.pickerId AS pickerI42_22_0_, this_.specialCare AS special43_22_0_, this_.paperworkEnquiryStarted AS paperwo44_22_0_, this_.paperworkEnquiryFinished AS paperwo45_22_0_, this_.paperworkEnquiryResponse AS paperwo46_22_0_, this_.isNewProduct AS isNewPr47_22_0_, this_.extraProcedure AS extraPr48_22_0_, this_.overAverageQtyMax AS overAve49_22_0_, this_.overAverageQtyResolution AS overAve50_22_0_, this_.createUser AS createU51_22_0_, this_.patientAlert AS patient52_22_0_, this_.itemAlert AS itemAle53_22_0_, this_.checkerId AS checker54_22_0_, this_.reductionSummary AS reducti55_22_0_, this_.isMetabolic AS isMetab56_22_0_, this_.rxStatus AS rxStatu57_22_0_, this_.lastRegUpdateUserType AS lastReg58_22_0_, this_.lastRegUpdateUserName AS lastReg59_22_0_, this_.lastRegUpdateDate AS lastReg60_22_0_, this_.sapPlannedShipDate AS sapPlan61_22_0_, this_.sapPlannedDeliveryDate AS sapPlan62_22_0_, this_.requestedSAPQuantity AS request63_22_0_, this_.orderQuantity AS orderQu64_22_0_, this_.regLineCreatedUserType AS regLine65_22_0_, this_.regLineCreatedUserName AS regLine66_22_0_, this_.regLineCreatedDate AS regLine67_22_0_, this_.audited AS audited68_22_0_, this_.isMetabolicPatient AS isMetab69_22_0_, this_.addedCase AS addedCa70_22_0_, this_.orderType AS orderTy71_22_0_, this_.CREATED AS CREATED72_22_0_, this_.UPDATED AS UPDATED73_22_0_, this_.rxCheckBy AS rxCheck74_22_0_, this_.note AS note75_22_0_, this_.item AS item76_22_0_, this_.alertConfirmation AS alertCo77_22_0_, this_.homewardAction AS homewar78_22_0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate BETWEEN '2018-07-02' AND '2018-07-31';[ Date: 2018-07-19 06:24:01 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 1s36ms UPDATE FLOW_REPORTS SET routeNumber = '9012538', roundDeliveryDate = '2018-07-20', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-19 06:02:56.981', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-19 12:00:28.331', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200412982';[ Date: 2018-07-19 06:06:59 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 919ms UPDATE ORDER_ROUNDS SET routeNumber = '9012522', uploadedByUserId = '200000520', uploadedByUserName = 'Gillian Ball', updatedBy = NULL, updatedByUserName = NULL, orderRoundNote = NULL, firstCheckOut = NULL, allOrdersScannedOK = NULL, STATUS = 'Open', reopenedTimes = '0', lastReopenById = NULL, lastDoneCheckIn = NULL, lastDoneById = NULL, lastDoneByUserName = NULL, missingLabels = NULL, roundDeliveryDate = '2018-07-20', trolley = NULL, stack = NULL, picktime = NULL, uploadUpdated = NULL, patientAlert = NULL, mismatches = NULL, rxStatus = NULL, distributionPoint = 'F Loncol', audited = NULL, auditedBy = NULL, auditStatus = NULL, uploadFinished = NULL, lastRxCompleted = NULL, lastRxCompletedBy = NULL, orderRoundNoteReadBy = NULL, routeOrderLinesQty = '1082', dlxPickedLinesQty = '1082', flowReport = '200412822', CREATED = '2018-07-19 05:55:07.941', createdBy = NULL, UPDATED = NULL, note = NULL WHERE ORDER_ROUND_ID = '200448572';[ Date: 2018-07-19 06:02:57 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 814ms UPDATE FLOW_REPORTS SET routeNumber = '9012546', roundDeliveryDate = '2018-07-20', distributionPoint = 'Northern Ireland', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-19 06:02:57.406', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-19 17:00:16.607', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200413062';[ Date: 2018-07-19 06:08:41 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 578ms UPDATE FLOW_REPORTS SET routeNumber = '9012538', roundDeliveryDate = '2018-07-20', distributionPoint = 'Redditch', fullyPicked = 'f', outbaseRoutesCorrectlyGrouped = 'f', causeOfDelay = NULL, pharmacy100CheckTime = NULL, linesHeldBack = '0', packTime100 = NULL, replenish = NULL, COMMENT = NULL, pickDateTime = NULL, failedTargetPickTime = NULL, actualPaperworkCompleteTime = '2018-07-19 06:02:56.981', changedPickDateTime = 'f', manuallyChangedPickTime = 'f', CREATED = '2018-07-19 12:00:28.331', UPDATED = NULL, note = NULL WHERE FLOW_REPORT_ID = '200412982';[ Date: 2018-07-19 06:06:59 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 498ms SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE (this_.partCode = '88670' OR this_.partCode = 'NEST70');[ Date: 2018-07-19 11:55:29 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 343ms 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 = '4060' AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2018-07-19 12:33:01 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 309ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '210136002';[ Date: 2018-07-19 13:44:00 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 306ms 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 = '200000520' AND _checks.auditedaserror IS TRUE ORDER BY _checks.created DESC;[ Date: 2018-07-19 13:58:20 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 305ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '210131892';[ Date: 2018-07-19 11:04:56 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 305ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '210140292';[ Date: 2018-07-19 10:54:40 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 286ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '210146312';[ Date: 2018-07-19 13:44:00 - Database: pharmisight - User: pharmisight - Remote: 10.10.10.1 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 281ms DELETE FROM RX_LINE_ACTIVITIES WHERE RX_LINE_ACTIVITY_ID = '210149692';[ Date: 2018-07-19 10:54:40 - 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 1m31s 2,436 19ms 77ms 37ms SELECT count (*) AS col_0_0_ FROM order_rounds orderround0_ WHERE orderround0_.status <> '';Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 19 06 170 6s569ms 38ms 07 287 11s199ms 39ms 08 228 9s157ms 40ms 09 265 10s622ms 40ms 10 226 8s681ms 38ms 11 339 13s580ms 40ms 12 75 2s988ms 39ms 13 379 13s37ms 34ms 14 267 8s681ms 32ms 15 59 1s969ms 33ms 16 85 2s774ms 32ms 17 56 1s989ms 35ms [ User: pharmisight - Total duration: 1m31s - Times executed: 2436 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m31s - Times executed: 2436 ]
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
Date: 2018-07-19 14:22:14 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 09:12:36 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 07:19:49 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 54s81ms 70,091 0ms 16ms 0ms SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 19 05 49 37ms 0ms 06 8,177 6s160ms 0ms 07 87 120ms 1ms 08 193 302ms 1ms 09 631 754ms 1ms 10 4,252 3s999ms 0ms 11 2,671 2s482ms 0ms 12 6,504 5s86ms 0ms 13 16,604 12s514ms 0ms 14 14,539 10s180ms 0ms 15 5,644 4s753ms 0ms 16 8,883 6s494ms 0ms 17 1,608 1s20ms 0ms 20 249 173ms 0ms [ User: pharmisight - Total duration: 54s81ms - Times executed: 70091 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 54s81ms - Times executed: 70091 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200448482' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200448802' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200448482' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-07-19 14:01:16 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:58:33 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 15:57:21 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 37s843ms 396,967 0ms 1s954ms 0ms COMMIT;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 19 00 13,287 588ms 0ms 01 12,190 333ms 0ms 02 12,171 321ms 0ms 03 12,217 346ms 0ms 04 12,194 342ms 0ms 05 14,806 486ms 0ms 06 23,852 5s208ms 0ms 07 24,321 3s348ms 0ms 08 22,386 2s943ms 0ms 09 19,656 2s45ms 0ms 10 19,937 2s165ms 0ms 11 23,036 2s818ms 0ms 12 19,592 2s263ms 0ms 13 22,679 2s873ms 0ms 14 18,481 1s689ms 0ms 15 17,811 1s772ms 0ms 16 15,047 1s47ms 0ms 17 14,447 1s294ms 0ms 18 13,832 1s419ms 0ms 19 13,905 1s403ms 0ms 20 11,882 414ms 0ms 21 13,666 1s406ms 0ms 22 13,323 966ms 0ms 23 12,249 342ms 0ms [ User: symmetricds - Total duration: 28s995ms - Times executed: 363355 ]
[ User: pharmisight - Total duration: 8s847ms - Times executed: 33612 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 37s826ms - Times executed: 396930 ]
[ Application: [unknown] - Total duration: 17ms - Times executed: 37 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-07-19 06:25:06 Duration: 1s954ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:24:12 Duration: 63ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 06:01:51 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 34s204ms 2,436 1ms 70ms 14ms SELECT * FROM order_lines WHERE (deliverydate = '' AND STATUS <> '') AND ((agecheck = 0 OR agecheck = 0 OR agecheck = 0) OR (STATUS = '') OR (paperwork IS NOT NULL AND paperwork <> '' AND paperwork <> '' AND paperwork <> '' AND paperwork <> '') OR (paperworkresolution IS NOT NULL) OR (overaverageqtymax IS NOT NULL));Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 19 06 170 2s276ms 13ms 07 287 3s807ms 13ms 08 228 3s350ms 14ms 09 265 3s888ms 14ms 10 226 3s304ms 14ms 11 339 5s273ms 15ms 12 75 1s166ms 15ms 13 379 5s180ms 13ms 14 267 3s297ms 12ms 15 59 805ms 13ms 16 85 1s101ms 12ms 17 56 751ms 13ms [ User: pharmisight - Total duration: 34s204ms - Times executed: 2436 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 34s204ms - Times executed: 2436 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-20' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-20' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-20' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
Date: 2018-07-19 14:32:46 Duration: 70ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:38:03 Duration: 68ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 11:51:54 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 30s917ms 9,744 0ms 17ms 3ms SELECT count (*) AS y0_ FROM order_lines this_ WHERE this_.deliverydate = '' AND this_.rxstatus = '';Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 19 06 680 1s924ms 2ms 07 1,148 3s523ms 3ms 08 912 3s83ms 3ms 09 1,060 3s538ms 3ms 10 904 2s952ms 3ms 11 1,356 4s658ms 3ms 12 300 1s56ms 3ms 13 1,516 4s697ms 3ms 14 1,068 3s56ms 2ms 15 236 701ms 2ms 16 340 1s11ms 2ms 17 224 712ms 3ms [ User: pharmisight - Total duration: 30s917ms - Times executed: 9744 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 30s917ms - Times executed: 9744 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-20' AND this_.rxStatus = '2';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-20' AND this_.rxStatus = '4';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-20' AND this_.rxStatus = '4';
Date: 2018-07-19 13:05:44 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 10:20:22 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 09:26:07 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 28s896ms 159,455 0ms 74ms 0ms UPDATE "public"."eps_detail" SET "additional_instructions" = NULL WHERE "line_uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 19 16 2 1ms 0ms 17 23,776 5s629ms 0ms 18 35,887 6s65ms 0ms 19 36,543 6s270ms 0ms 20 3,136 505ms 0ms 21 36,367 6s243ms 0ms 22 23,744 4s180ms 0ms [ User: symmetricds - Total duration: 28s896ms - Times executed: 159455 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28s896ms - Times executed: 159455 ]
-
UPDATE "public"."eps_detail" SET "additional_instructions" = NULL WHERE "line_uuid" = CAST ('086e2c94-01fa-11e8-b001-af32e3fd645f' AS uuid);
-
UPDATE "public"."eps_detail" SET "additional_instructions" = NULL WHERE "line_uuid" = CAST ('6437d0b6-9a60-4a14-8b8f-28ce3a33f880' AS uuid);
-
UPDATE "public"."eps_detail" SET "additional_instructions" = NULL WHERE "line_uuid" = CAST ('17a54a53-f8f3-40c0-a038-9a8cab280531' AS uuid);
Date: 2018-07-19 17:31:15 Duration: 74ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:25:12 Duration: 63ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:33:12 Duration: 51ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 26s38ms 794 21ms 78ms 32ms SELECT this_.order_round_id AS order_ro1_26_1_, this_.routenumber AS routenum2_26_1_, this_.uploadedbyuserid AS uploaded3_26_1_, this_.uploadedbyusername AS uploaded4_26_1_, this_.updatedby AS updatedb5_26_1_, this_.updatedbyusername AS updatedb6_26_1_, this_.orderroundnote AS orderrou7_26_1_, this_.firstcheckout AS firstche8_26_1_, this_.allordersscannedok AS allorder9_26_1_, this_.status AS status10_26_1_, this_.reopenedtimes AS reopene11_26_1_, this_.lastreopenbyid AS lastreo12_26_1_, this_.lastdonecheckin AS lastdon13_26_1_, this_.lastdonebyid AS lastdon14_26_1_, this_.lastdonebyusername AS lastdon15_26_1_, this_.missinglabels AS missing16_26_1_, this_.rounddeliverydate AS roundde17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadupdated AS uploadu21_26_1_, this_.patientalert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxstatus AS rxstatu24_26_1_, this_.distributionpoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedby AS audited27_26_1_, this_.auditstatus AS auditst28_26_1_, this_.uploadfinished AS uploadf29_26_1_, this_.lastrxcompleted AS lastrxc30_26_1_, this_.lastrxcompletedby AS lastrxc31_26_1_, this_.orderroundnotereadby AS orderro32_26_1_, this_.routeorderlinesqty AS routeor33_26_1_, this_.dlxpickedlinesqty AS dlxpick34_26_1_, this_.flowreport AS flowrep35_26_1_, this_.created AS created36_26_1_, this_.createdby AS created37_26_1_, this_.updated AS updated38_26_1_, this_.note AS note39_26_1_, f1_.flow_report_id AS flow_rep1_7_0_, f1_.routenumber AS routenum2_7_0_, f1_.rounddeliverydate AS rounddel3_7_0_, f1_.distributionpoint AS distribu4_7_0_, f1_.fullypicked AS fullypic5_7_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, f1_.causeofdelay AS causeofd7_7_0_, f1_.pharmacy100checktime AS pharmacy8_7_0_, f1_.linesheldback AS lineshel9_7_0_, f1_.packtime100 AS packtim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickdatetime AS pickdat13_7_0_, f1_.failedtargetpicktime AS failedt14_7_0_, f1_.actualpaperworkcompletetime AS actualp15_7_0_, f1_.changedpickdatetime AS changed16_7_0_, f1_.manuallychangedpicktime AS manuall17_7_0_, f1_.created AS created18_7_0_, f1_.updated AS updated19_7_0_, f1_.note AS note20_7_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> '' AND this_.created > '' AND this_.created < '' ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 19 05 9 378ms 42ms 06 107 3s491ms 32ms 09 7 272ms 38ms 10 45 1s793ms 39ms 11 26 1s20ms 39ms 12 59 1s774ms 30ms 13 198 6s248ms 31ms 14 176 5s331ms 30ms 15 58 2s158ms 37ms 16 89 3s15ms 33ms 17 20 552ms 27ms [ User: pharmisight - Total duration: 26s38ms - Times executed: 794 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s38ms - Times executed: 794 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-19 00:00:00' AND this_.CREATED < '2018-07-19 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-19 00:00:00' AND this_.CREATED < '2018-07-19 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-19 00:00:00' AND this_.CREATED < '2018-07-19 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-19 13:56:34 Duration: 78ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 05:55:04 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 14:08:37 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 25s287ms 276 44ms 115ms 91ms 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 #8
Day Hour Count Duration Avg duration Jul 19 06 51 4s908ms 96ms 07 76 6s652ms 87ms 08 29 2s778ms 95ms 09 35 3s366ms 96ms 10 34 3s133ms 92ms 11 38 3s361ms 88ms 12 10 778ms 77ms 13 1 101ms 101ms 14 2 206ms 103ms [ User: pharmisight - Total duration: 25s287ms - Times executed: 276 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 25s287ms - Times executed: 276 ]
-
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 = '200862462' 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 = '200862972' 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 = '200789232' ORDER BY epscheckli0_.description ASC;
Date: 2018-07-19 09:26:43 Duration: 115ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 09:44:43 Duration: 113ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 12:54:33 Duration: 106ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 24s479ms 78,843 0ms 18ms 0ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 19 05 60 22ms 0ms 06 8,863 2s866ms 0ms 07 1,056 811ms 0ms 08 1,259 707ms 0ms 09 1,605 721ms 0ms 10 5,198 1s856ms 0ms 11 4,027 1s449ms 0ms 12 7,100 2s179ms 0ms 13 17,786 5s121ms 0ms 14 15,095 4s16ms 0ms 15 5,871 1s826ms 0ms 16 9,041 2s458ms 0ms 17 1,678 390ms 0ms 20 204 51ms 0ms [ User: pharmisight - Total duration: 24s479ms - Times executed: 78843 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 24s479ms - Times executed: 78843 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200448472' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200448652' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200448772' ORDER BY orders0_.order_id ASC;
Date: 2018-07-19 10:20:23 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:25:07 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:52:35 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 23s399ms 102,703 0ms 20ms 0ms UPDATE "public"."eps" SET "parse_date" = CAST ('' AS TIMESTAMP WITH time ZONE), "parse_status" = '' WHERE "uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 19 10 75 11ms 0ms 12 5 2ms 0ms 14 342 38ms 0ms 16 1 1ms 1ms 17 15,124 3s702ms 0ms 18 23,208 5s345ms 0ms 19 23,429 5s311ms 0ms 20 2,018 420ms 0ms 21 23,299 5s163ms 0ms 22 15,202 3s401ms 0ms [ User: symmetricds - Total duration: 23s399ms - Times executed: 102703 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s399ms - Times executed: 102703 ]
-
UPDATE "public"."eps" SET "parse_date" = CAST ('2018-07-19 17:34:50' AS TIMESTAMP WITH time ZONE), "parse_status" = '1' WHERE "uuid" = CAST ('432ffeb7-81af-4cb6-939b-45ffdb335f88' AS uuid);
-
UPDATE "public"."eps" SET "parse_date" = CAST ('2018-07-19 18:04:11' AS TIMESTAMP WITH time ZONE), "parse_status" = '2' WHERE "uuid" = CAST ('a3a7f16a-a996-40e9-8588-df0f17e71158' AS uuid);
-
UPDATE "public"."eps" SET "parse_date" = CAST ('2018-07-19 17:23:22' AS TIMESTAMP WITH time ZONE), "parse_status" = '1' WHERE "uuid" = CAST ('177e8451-af3e-11e7-b7a9-a1a9382eb106' AS uuid);
Date: 2018-07-19 18:30:13 Duration: 20ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 21:05:20 Duration: 7ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:45:12 Duration: 6ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 20s710ms 102,280 0ms 3ms 0ms UPDATE "public"."eps" SET "parse_status" = '' WHERE "uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 19 17 102,280 20s710ms 0ms [ User: symmetricds - Total duration: 20s710ms - Times executed: 102280 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s710ms - Times executed: 102280 ]
-
UPDATE "public"."eps" SET "parse_status" = '0' WHERE "uuid" = CAST ('6dbf7e2a-32a4-417c-b1fa-013169be91aa' AS uuid);
-
UPDATE "public"."eps" SET "parse_status" = '0' WHERE "uuid" = CAST ('33d49fa1-b4f1-11e7-939b-bde92882802c' AS uuid);
-
UPDATE "public"."eps" SET "parse_status" = '0' WHERE "uuid" = CAST ('000329d7-3103-4697-9c38-8645fdf02656' AS uuid);
Date: 2018-07-19 17:21:01 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:20:21 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:19:43 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 20s389ms 4,601 0ms 92ms 4ms SELECT this_.order_id AS order_id1_20_0_, this_.sapordernumber AS saporder2_20_0_, this_.answerordernumber AS answeror3_20_0_, this_.ordernumber AS ordernum4_20_0_, this_.routenumber AS routenum5_20_0_, this_.billtotype AS billtoty6_20_0_, this_.patientname AS patientn7_20_0_, this_.firstname AS firstnam8_20_0_, this_.middlename AS middlena9_20_0_, this_.lastname AS lastnam10_20_0_, this_.patientdateofbirth AS patient11_20_0_, this_.patientpostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapcustomerid AS sapcust14_20_0_, this_.status AS status15_20_0_, this_.patientid AS patient16_20_0_, this_.isnotwithinage AS isnotwi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliverybarcode AS deliver20_20_0_, this_.deliverydate AS deliver21_20_0_, this_.rxstatus AS rxstatu22_20_0_, this_.createuser AS createu23_20_0_, this_.subordertype AS suborde24_20_0_, this_.sapcontractid AS sapcont25_20_0_, this_.salesforceordernumber AS salesfo26_20_0_, this_.patienttype AS patient27_20_0_, this_.ordertype AS orderty28_20_0_, this_.orderstatus AS orderst29_20_0_, this_.nhsnumber AS nhsnumb30_20_0_, this_.individuallabelling AS individ31_20_0_, this_.orderid AS orderid32_20_0_, this_.clusterlead AS cluster33_20_0_, this_.clustergroup AS cluster34_20_0_, this_.accountid AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionby AS reducti37_20_0_, this_.alertconfirmation AS alertco38_20_0_, this_.created AS created39_20_0_, this_.updated AS updated40_20_0_, this_.note AS note41_20_0_ FROM orders this_ WHERE this_.status = '' AND this_.deliverydate = '' ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 19 06 348 1s546ms 4ms 07 642 2s788ms 4ms 08 345 1s684ms 4ms 09 399 1s887ms 4ms 10 345 1s605ms 4ms 11 558 2s721ms 4ms 12 168 854ms 5ms 13 852 3s668ms 4ms 14 635 2s367ms 3ms 15 90 375ms 4ms 16 162 608ms 3ms 17 57 279ms 4ms [ User: pharmisight - Total duration: 20s389ms - Times executed: 4601 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s389ms - Times executed: 4601 ]
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-20' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Uploaded' AND this_.deliveryDate = '2018-07-20' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-20' ORDER BY this_.deliveryDate ASC;
Date: 2018-07-19 13:45:50 Duration: 92ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 07:04:17 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:37:19 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 17s377ms 970,579 0ms 10ms 0ms SHOW TRANSACTION ISOLATION LEVEL;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 19 00 38,038 687ms 0ms 01 36,163 678ms 0ms 02 36,106 679ms 0ms 03 36,227 667ms 0ms 04 36,159 664ms 0ms 05 42,792 723ms 0ms 06 46,325 778ms 0ms 07 46,533 826ms 0ms 08 44,863 795ms 0ms 09 42,310 755ms 0ms 10 42,918 769ms 0ms 11 45,770 811ms 0ms 12 43,740 787ms 0ms 13 44,834 777ms 0ms 14 41,542 735ms 0ms 15 41,833 746ms 0ms 16 38,565 686ms 0ms 17 39,068 688ms 0ms 18 39,218 708ms 0ms 19 39,338 694ms 0ms 20 35,036 633ms 0ms 21 38,592 686ms 0ms 22 38,306 704ms 0ms 23 36,303 689ms 0ms [ User: symmetricds - Total duration: 17s351ms - Times executed: 969945 ]
[ User: pharmisight - Total duration: 25ms - Times executed: 634 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s377ms - Times executed: 970573 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 6 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2018-07-19 07:16:24 Duration: 10ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 14:08:49 Duration: 9ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 00:57:29 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 17s31ms 909 12ms 47ms 18ms SELECT this_.flow_report_id AS flow_rep1_7_0_, this_.routenumber AS routenum2_7_0_, this_.rounddeliverydate AS rounddel3_7_0_, this_.distributionpoint AS distribu4_7_0_, this_.fullypicked AS fullypic5_7_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, this_.causeofdelay AS causeofd7_7_0_, this_.pharmacy100checktime AS pharmacy8_7_0_, this_.linesheldback AS lineshel9_7_0_, this_.packtime100 AS packtim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickdatetime AS pickdat13_7_0_, this_.failedtargetpicktime AS failedt14_7_0_, this_.actualpaperworkcompletetime AS actualp15_7_0_, this_.changedpickdatetime AS changed16_7_0_, this_.manuallychangedpicktime AS manuall17_7_0_, this_.created AS created18_7_0_, this_.updated AS updated19_7_0_, this_.note AS note20_7_0_ FROM flow_reports this_ WHERE this_.created > '' AND this_.created < '' ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 19 05 13 311ms 23ms 06 166 3s321ms 20ms 09 7 182ms 26ms 10 45 987ms 21ms 11 32 741ms 23ms 12 83 1s665ms 20ms 13 193 3s309ms 17ms 14 191 3s149ms 16ms 15 63 1s248ms 19ms 16 94 1s751ms 18ms 17 22 361ms 16ms [ User: pharmisight - Total duration: 17s31ms - Times executed: 909 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s31ms - Times executed: 909 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-19 00:00:00' AND this_.CREATED < '2018-07-19 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-19 00:00:00' AND this_.CREATED < '2018-07-19 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-19 00:00:00' AND this_.CREATED < '2018-07-19 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-19 12:10:37 Duration: 47ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 06:08:36 Duration: 43ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:43:31 Duration: 42ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 16s475ms 66,114 0ms 15ms 0ms UPDATE "public"."eps_header" SET "received" = '', "create_date" = '', "update_date" = '' WHERE "uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 19 16 1 4ms 4ms 17 9,564 2s534ms 0ms 18 14,915 3s623ms 0ms 19 15,304 3s782ms 0ms 20 1,309 292ms 0ms 21 15,127 3s770ms 0ms 22 9,894 2s467ms 0ms [ User: symmetricds - Total duration: 16s475ms - Times executed: 66114 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s475ms - Times executed: 66114 ]
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 18:20:10', "update_date" = '2018-07-19 18:20:10' WHERE "uuid" = CAST ('e045ebd0-f200-11e7-b7bb-050893f7b3c6' AS uuid);
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 17:29:37', "update_date" = '2018-07-19 17:29:37' WHERE "uuid" = CAST ('3003da20-78fc-11e7-81b9-176129b3691b' AS uuid);
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 17:18:11', "update_date" = '2018-07-19 17:18:11' WHERE "uuid" = CAST ('04ac9d50-6efe-11e8-b94e-951817ca4b66' AS uuid);
Date: 2018-07-19 22:07:19 Duration: 15ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 18:10:13 Duration: 12ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:28:11 Duration: 10ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 16s217ms 128,835 0ms 23ms 0ms SELECT orderlines0_.order_id AS order_i79_20_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 19 05 383 54ms 0ms 06 7,849 904ms 0ms 07 35,264 3s990ms 0ms 08 22,067 2s832ms 0ms 09 11,276 1s397ms 0ms 10 6,359 1s102ms 0ms 11 9,454 1s799ms 0ms 12 8,193 1s16ms 0ms 13 12,187 1s401ms 0ms 14 6,660 708ms 0ms 15 5,088 599ms 0ms 16 2,493 270ms 0ms 17 1,562 140ms 0ms [ User: pharmisight - Total duration: 16s217ms - Times executed: 128835 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s217ms - Times executed: 128835 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '9330300' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208038482' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208269642' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-07-19 11:59:08 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 11:59:07 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:39:31 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 14s90ms 1,077 1ms 40ms 13ms 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 #17
Day Hour Count Duration Avg duration Jul 19 06 158 1s987ms 12ms 07 108 1s378ms 12ms 08 91 1s156ms 12ms 09 73 936ms 12ms 10 86 1s189ms 13ms 11 187 2s373ms 12ms 12 90 1s137ms 12ms 13 69 897ms 13ms 14 74 1s23ms 13ms 15 112 1s572ms 14ms 16 29 436ms 15ms [ User: pharmisight - Total duration: 14s90ms - Times executed: 1077 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s90ms - Times executed: 1077 ]
-
UPDATE ORDER_LINES SET routeNumber = '9012518', sapOrderNumber = '7755154', orderNumber = '5004252991', answerOrderNumber = NULL, partCode = '40892', partDescription = 'Nutrison Peptisorb Pack 500ml', patientName = 'Susan Toates', firstName = 'Susan', middleName = NULL, lastName = 'Toates', patientDateOfBirth = '1944-12-11', patientPostcode = 'CB21 6BE', patientPostcodePrefix = 'CB', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '24', scannedQty = '24', assignedQty = '0', checkedQty = '24', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-07-20', customer = 'Caroline Burden', sapCustomerId = '685159583', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200213070', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'eRx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001242', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Kate Davey', patientAlert = NULL, itemAlert = NULL, checkerId = '15364', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'natalie.mcclurg@nutricia.connections', lastRegUpdateDate = '2018-06-20 10:19:06', sapPlannedShipDate = '2018-07-19', sapPlannedDeliveryDate = '2018-07-20', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'frances.dobson@nutricia.connections', regLineCreatedDate = '2018-06-18 08:32:34', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-19 05:54:31.961', UPDATED = NULL, rxCheckBy = '100', note = 'EP auto check', item = '3316', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214503292';
-
UPDATE ORDER_LINES SET routeNumber = '9012545', sapOrderNumber = '7755023', orderNumber = '5004257683', answerOrderNumber = NULL, partCode = '132182', partDescription = 'Nutrini Energy MF 500ml', patientName = 'Ala Hazem', firstName = 'Ala', middleName = NULL, lastName = 'Hazem', patientDateOfBirth = '2011-02-04', patientPostcode = 'B25 8AU', patientPostcodePrefix = 'B', 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 = '2018-07-20', customer = 'Johnathan Baysting', sapCustomerId = '685063303', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '404706', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200000750', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Ria Costigan', patientAlert = NULL, itemAlert = NULL, checkerId = '15364', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS System Administrator', lastRegUpdateUserName = 'lyndsay.mizen@nutricia.connections', lastRegUpdateDate = '2018-07-05 15:44:23', sapPlannedShipDate = '2018-07-19', sapPlannedDeliveryDate = '2018-07-20', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS System Administrator', regLineCreatedUserName = 'lyndsay.mizen@nutricia.connections', regLineCreatedDate = '2018-07-05 15:44:23', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-19 05:54:32.046', UPDATED = NULL, rxCheckBy = '4060', note = 'Paul Gray-Scott', item = '3234', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214498872';
-
UPDATE ORDER_LINES SET routeNumber = '9012544', sapOrderNumber = '7755305', orderNumber = '5004257729', answerOrderNumber = NULL, partCode = '41505', partDescription = 'Fortisip Caramel 200ml', patientName = 'Katie Thomas', firstName = 'Katie', middleName = NULL, lastName = 'Thomas', patientDateOfBirth = '1992-05-21', patientPostcode = 'B43 5AN', patientPostcodePrefix = 'B', orderQty = '27', allocQty = '27', shipQty = NULL, adjustedQty = '27', scannedQty = '27', assignedQty = '0', checkedQty = '27', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-07-20', customer = 'Michael Phiri-Thorne', sapCustomerId = '685051107', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '657812', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200000050', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Laura Strickland', patientAlert = NULL, itemAlert = NULL, checkerId = '15364', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinators', lastRegUpdateUserName = 'caroline.burden@nutricia.connections', lastRegUpdateDate = '2018-06-18 12:29:58', sapPlannedShipDate = '2018-07-19', sapPlannedDeliveryDate = '2018-07-20', requestedSAPQuantity = '27', orderQuantity = '27', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 16:27:16', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-19 05:54:31.937', UPDATED = NULL, rxCheckBy = '4060', note = 'Paul Gray-Scott', item = '2882', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214505982';
Date: 2018-07-19 10:57:33 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 14:52:38 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 15:42:04 Duration: 30ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 10s915ms 3,146 0ms 29ms 3ms UPDATE orders SET sapordernumber = '', answerordernumber = NULL, ordernumber = '', routenumber = '', billtotype = NULL, patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', customer = NULL, sapcustomerid = '', STATUS = '', patientid = '', isnotwithinage = NULL, expired = NULL, paperwork = NULL, deliverybarcode = NULL, deliverydate = '', rxstatus = '', createuser = '', subordertype = '', sapcontractid = '', salesforceordernumber = '', patienttype = '', ordertype = '', orderstatus = '', nhsnumber = '', individuallabelling = '', orderid = '', clusterlead = '', clustergroup = '', accountid = '', reduction = NULL, reductionby = NULL, alertconfirmation = NULL, created = '', updated = NULL, note = NULL WHERE order_id = '';Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 19 05 154 165ms 1ms 06 1,506 2s926ms 1ms 07 556 2s509ms 4ms 08 168 906ms 5ms 09 94 515ms 5ms 10 95 547ms 5ms 11 148 799ms 5ms 12 100 573ms 5ms 13 143 805ms 5ms 14 69 407ms 5ms 15 82 509ms 6ms 16 27 217ms 8ms 17 4 30ms 7ms [ User: pharmisight - Total duration: 10s915ms - Times executed: 3146 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s915ms - Times executed: 3146 ]
-
UPDATE ORDERS SET sapOrderNumber = '7754722', answerOrderNumber = NULL, orderNumber = '5004247385', routeNumber = '9012545', billToType = NULL, patientName = 'Dean Mucklow', firstName = 'Dean', middleName = NULL, lastName = 'Mucklow', patientDateOfBirth = '1971-08-06', patientPostcode = 'B76 2QG', customer = NULL, sapCustomerId = '685163154', STATUS = 'Checked', patientId = '200387872', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-20', rxStatus = '1', createUser = 'Ria Costigan', subOrderType = 'Standard', sapContractId = '650105917', salesforceOrderNumber = '11028019', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '6087112340', individualLabelling = 'f', orderId = 'a4r1p0000066W6WAAU', clusterLead = 'Johnathan Baysting', clusterGroup = 'BIRMINGHAM COMMUNITY HCARE NHST', accountId = '53897', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-19 05:54:32.02', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208263182';
-
UPDATE ORDERS SET sapOrderNumber = '7755147', answerOrderNumber = NULL, orderNumber = '5004250915', routeNumber = '9012525', billToType = NULL, patientName = 'Neo Parkinson', firstName = 'Neo', middleName = NULL, lastName = 'Parkinson', patientDateOfBirth = '2016-08-18', patientPostcode = 'SW17 8HS', customer = NULL, sapCustomerId = '685164799', STATUS = 'Checked', patientId = '200235190', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-20', rxStatus = '1', createUser = 'Simon Church', subOrderType = 'Standard', sapContractId = '650105965', salesforceOrderNumber = '11026877', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '7157175568', individualLabelling = 'f', orderId = 'a4r1p0000066UdJAAU', clusterLead = 'Matthew Clement', clusterGroup = 'ST GEORGES HEALTHCARE NHS TRUST', accountId = '57893', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-19 05:54:31.961', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208266382';
-
UPDATE ORDERS SET sapOrderNumber = '7755095', answerOrderNumber = NULL, orderNumber = '5004256811', routeNumber = '9012373', billToType = NULL, patientName = 'Richard Fitton', firstName = 'Richard', middleName = NULL, lastName = 'Fitton', patientDateOfBirth = '1946-05-12', patientPostcode = 'HD9 4HH', customer = NULL, sapCustomerId = '685138042', STATUS = 'Checked', patientId = '200089400', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-20', rxStatus = '1', createUser = 'Sarah Carter', subOrderType = 'Standard', sapContractId = '650105919', salesforceOrderNumber = '11026744', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '4381227786', individualLabelling = 'f', orderId = 'a4r1p0000066USpAAM', clusterLead = 'Gill Feltham', clusterGroup = 'CALDERDALE & HUDDERSFIELD NHSFT', accountId = '886727', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-19 05:54:31.952', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208267702';
Date: 2018-07-19 14:39:50 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 12:41:56 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 08:14:40 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 10s735ms 12,832 0ms 12ms 0ms UPDATE order_line_activities SET order_line_id = '' WHERE order_line_activity_id = '';Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 19 06 976 793ms 0ms 07 1,449 1s242ms 0ms 08 1,697 1s436ms 0ms 09 1,024 825ms 0ms 10 938 831ms 0ms 11 1,721 1s365ms 0ms 12 1,126 969ms 0ms 13 1,970 1s578ms 0ms 14 723 593ms 0ms 15 899 786ms 0ms 16 285 281ms 0ms 17 24 30ms 1ms [ User: pharmisight - Total duration: 10s735ms - Times executed: 12832 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s735ms - Times executed: 12832 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214494282' WHERE ORDER_LINE_ACTIVITY_ID = '284490572';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214500252' WHERE ORDER_LINE_ACTIVITY_ID = '284499582';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214506482' WHERE ORDER_LINE_ACTIVITY_ID = '284542202';
Date: 2018-07-19 07:35:01 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 08:05:30 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 11:30:34 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 10s167ms 452 10ms 41ms 22ms SELECT alerts0_.alert_confirmation_id AS alert_c10_1_0_, alerts0_.alert_id AS alert_id1_0_0_, alerts0_.alert_id AS alert_id1_0_1_, alerts0_.created AS created2_0_1_, alerts0_.patientnote AS patientn3_0_1_, alerts0_.itemnote AS itemnote4_0_1_, alerts0_.confirmedchecker AS confirme5_0_1_, alerts0_.confirmedcheckerby AS confirme6_0_1_, alerts0_.isconfirmedbybarcode AS isconfir7_0_1_, alerts0_.confirmedpharmacist AS confirme8_0_1_, alerts0_.confirmedpharmacistby AS confirme9_0_1_ FROM alerts alerts0_ WHERE alerts0_.alert_confirmation_id = '' ORDER BY alerts0_.created ASC;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 19 06 39 870ms 22ms 07 31 749ms 24ms 08 75 1s698ms 22ms 09 21 470ms 22ms 10 47 1s76ms 22ms 11 64 1s416ms 22ms 12 76 1s712ms 22ms 13 79 1s726ms 21ms 14 6 124ms 20ms 15 12 274ms 22ms 16 2 48ms 24ms [ User: pharmisight - Total duration: 10s167ms - Times executed: 452 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s167ms - Times executed: 452 ]
-
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 = '200508422' 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 = '200508202' 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 = '200508472' ORDER BY alerts0_.created ASC;
Date: 2018-07-19 13:44:01 Duration: 41ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 12:05:29 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 10:26:44 Duration: 39ms 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 970,579 17s377ms 0ms 10ms 0ms SHOW TRANSACTION ISOLATION LEVEL;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 19 00 38,038 687ms 0ms 01 36,163 678ms 0ms 02 36,106 679ms 0ms 03 36,227 667ms 0ms 04 36,159 664ms 0ms 05 42,792 723ms 0ms 06 46,325 778ms 0ms 07 46,533 826ms 0ms 08 44,863 795ms 0ms 09 42,310 755ms 0ms 10 42,918 769ms 0ms 11 45,770 811ms 0ms 12 43,740 787ms 0ms 13 44,834 777ms 0ms 14 41,542 735ms 0ms 15 41,833 746ms 0ms 16 38,565 686ms 0ms 17 39,068 688ms 0ms 18 39,218 708ms 0ms 19 39,338 694ms 0ms 20 35,036 633ms 0ms 21 38,592 686ms 0ms 22 38,306 704ms 0ms 23 36,303 689ms 0ms [ User: symmetricds - Total duration: 17s351ms - Times executed: 969945 ]
[ User: pharmisight - Total duration: 25ms - Times executed: 634 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s377ms - Times executed: 970573 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 6 ]
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
-
SHOW TRANSACTION ISOLATION LEVEL;
Date: 2018-07-19 07:16:24 Duration: 10ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 14:08:49 Duration: 9ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 00:57:29 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 466,234 5s671ms 0ms 4ms 0ms SELECT 0;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 19 00 17,514 217ms 0ms 01 16,032 211ms 0ms 02 15,995 203ms 0ms 03 16,064 206ms 0ms 04 16,029 201ms 0ms 05 22,473 239ms 0ms 06 24,127 281ms 0ms 07 24,126 293ms 0ms 08 23,179 280ms 0ms 09 21,102 255ms 0ms 10 21,565 261ms 0ms 11 23,542 279ms 0ms 12 22,164 264ms 0ms 13 23,238 273ms 0ms 14 20,400 242ms 0ms 15 20,909 252ms 0ms 16 18,037 223ms 0ms 17 17,866 214ms 0ms 18 17,679 220ms 0ms 19 17,755 216ms 0ms 20 15,676 193ms 0ms 21 17,498 216ms 0ms 22 17,166 219ms 0ms 23 16,098 201ms 0ms [ User: symmetricds - Total duration: 5s671ms - Times executed: 466234 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s671ms - Times executed: 466234 ]
-
SELECT 1;
-
SELECT 1;
-
SELECT 1;
Date: 2018-07-19 03:31:33 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 09:25:42 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 10:50:44 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 396,986 2s548ms 0ms 11ms 0ms BEGIN;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 19 00 13,287 82ms 0ms 01 12,190 77ms 0ms 02 12,171 78ms 0ms 03 12,217 77ms 0ms 04 12,195 79ms 0ms 05 14,806 88ms 0ms 06 23,853 152ms 0ms 07 24,324 163ms 0ms 08 22,385 154ms 0ms 09 19,656 129ms 0ms 10 19,937 141ms 0ms 11 23,037 151ms 0ms 12 19,592 122ms 0ms 13 22,682 145ms 0ms 14 18,480 114ms 0ms 15 17,814 116ms 0ms 16 15,050 93ms 0ms 17 14,450 88ms 0ms 18 13,835 86ms 0ms 19 13,905 84ms 0ms 20 11,883 75ms 0ms 21 13,665 83ms 0ms 22 13,324 83ms 0ms 23 12,248 76ms 0ms [ User: symmetricds - Total duration: 2s238ms - Times executed: 363355 ]
[ User: pharmisight - Total duration: 310ms - Times executed: 33631 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s547ms - Times executed: 396931 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 55 ]
-
BEGIN;
-
BEGIN;
-
BEGIN;
Date: 2018-07-19 10:12:37 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 15:19:51 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 05:45:10 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 396,967 37s843ms 0ms 1s954ms 0ms COMMIT;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 19 00 13,287 588ms 0ms 01 12,190 333ms 0ms 02 12,171 321ms 0ms 03 12,217 346ms 0ms 04 12,194 342ms 0ms 05 14,806 486ms 0ms 06 23,852 5s208ms 0ms 07 24,321 3s348ms 0ms 08 22,386 2s943ms 0ms 09 19,656 2s45ms 0ms 10 19,937 2s165ms 0ms 11 23,036 2s818ms 0ms 12 19,592 2s263ms 0ms 13 22,679 2s873ms 0ms 14 18,481 1s689ms 0ms 15 17,811 1s772ms 0ms 16 15,047 1s47ms 0ms 17 14,447 1s294ms 0ms 18 13,832 1s419ms 0ms 19 13,905 1s403ms 0ms 20 11,882 414ms 0ms 21 13,666 1s406ms 0ms 22 13,323 966ms 0ms 23 12,249 342ms 0ms [ User: symmetricds - Total duration: 28s995ms - Times executed: 363355 ]
[ User: pharmisight - Total duration: 8s847ms - Times executed: 33612 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 37s826ms - Times executed: 396930 ]
[ Application: [unknown] - Total duration: 17ms - Times executed: 37 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-07-19 06:25:06 Duration: 1s954ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:24:12 Duration: 63ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 06:01:51 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 159,455 28s896ms 0ms 74ms 0ms UPDATE "public"."eps_detail" SET "additional_instructions" = NULL WHERE "line_uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 19 16 2 1ms 0ms 17 23,776 5s629ms 0ms 18 35,887 6s65ms 0ms 19 36,543 6s270ms 0ms 20 3,136 505ms 0ms 21 36,367 6s243ms 0ms 22 23,744 4s180ms 0ms [ User: symmetricds - Total duration: 28s896ms - Times executed: 159455 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28s896ms - Times executed: 159455 ]
-
UPDATE "public"."eps_detail" SET "additional_instructions" = NULL WHERE "line_uuid" = CAST ('086e2c94-01fa-11e8-b001-af32e3fd645f' AS uuid);
-
UPDATE "public"."eps_detail" SET "additional_instructions" = NULL WHERE "line_uuid" = CAST ('6437d0b6-9a60-4a14-8b8f-28ce3a33f880' AS uuid);
-
UPDATE "public"."eps_detail" SET "additional_instructions" = NULL WHERE "line_uuid" = CAST ('17a54a53-f8f3-40c0-a038-9a8cab280531' AS uuid);
Date: 2018-07-19 17:31:15 Duration: 74ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:25:12 Duration: 63ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:33:12 Duration: 51ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 137,408 7s749ms 0ms 2ms 0ms INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('', '', '', current_timestamp);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 19 00 618 39ms 0ms 01 1,448 101ms 0ms 02 490 27ms 0ms 03 702 50ms 0ms 04 266 18ms 0ms 05 31,036 1s66ms 0ms 06 25,604 1s388ms 0ms 07 12,674 791ms 0ms 08 9,822 654ms 0ms 09 6,702 432ms 0ms 10 6,064 411ms 0ms 11 9,946 656ms 0ms 12 6,366 409ms 0ms 13 10,260 672ms 0ms 14 4,664 294ms 0ms 15 4,602 317ms 0ms 16 1,796 121ms 0ms 17 1,150 73ms 0ms 18 46 5ms 0ms 19 46 5ms 0ms 20 256 18ms 0ms 21 638 43ms 0ms 22 1,080 68ms 0ms 23 1,132 79ms 0ms [ User: symmetricds - Total duration: 7s749ms - Times executed: 137408 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 7s749ms - Times executed: 137408 ]
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('86367882', '7761320', 'redditch_bankstreet', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('86368383', '7761323', 'redditch_cloud', current_timestamp);
-
INSERT INTO sym_data_event (data_id, batch_id, router_id, create_time) VALUES ('86363224', '7761300', 'redditch_bankstreet', current_timestamp);
Date: 2018-07-19 06:02:25 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 06:02:35 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 06:00:32 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 128,835 16s217ms 0ms 23ms 0ms SELECT orderlines0_.order_id AS order_i79_20_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 19 05 383 54ms 0ms 06 7,849 904ms 0ms 07 35,264 3s990ms 0ms 08 22,067 2s832ms 0ms 09 11,276 1s397ms 0ms 10 6,359 1s102ms 0ms 11 9,454 1s799ms 0ms 12 8,193 1s16ms 0ms 13 12,187 1s401ms 0ms 14 6,660 708ms 0ms 15 5,088 599ms 0ms 16 2,493 270ms 0ms 17 1,562 140ms 0ms [ User: pharmisight - Total duration: 16s217ms - Times executed: 128835 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s217ms - Times executed: 128835 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '9330300' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208038482' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208269642' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-07-19 11:59:08 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 11:59:07 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:39:31 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 118,416 5s596ms 0ms 1ms 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 #8
Day Hour Count Duration Avg duration Jul 19 06 5,478 264ms 0ms 07 33,837 1s505ms 0ms 08 21,149 1s1ms 0ms 09 10,545 515ms 0ms 10 5,742 281ms 0ms 11 8,559 426ms 0ms 12 7,768 391ms 0ms 13 11,612 564ms 0ms 14 6,379 288ms 0ms 15 4,787 238ms 0ms 16 2,326 107ms 0ms 17 234 10ms 0ms [ User: pharmisight - Total duration: 5s596ms - Times executed: 118416 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 5s596ms - Times executed: 118416 ]
-
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 = '5004251832';
-
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 = '5004257327';
-
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 = '5004257568';
Date: 2018-07-19 06:28:11 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 06:36:38 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 14:18:35 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 102,703 23s399ms 0ms 20ms 0ms UPDATE "public"."eps" SET "parse_date" = CAST ('' AS TIMESTAMP WITH time ZONE), "parse_status" = '' WHERE "uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 19 10 75 11ms 0ms 12 5 2ms 0ms 14 342 38ms 0ms 16 1 1ms 1ms 17 15,124 3s702ms 0ms 18 23,208 5s345ms 0ms 19 23,429 5s311ms 0ms 20 2,018 420ms 0ms 21 23,299 5s163ms 0ms 22 15,202 3s401ms 0ms [ User: symmetricds - Total duration: 23s399ms - Times executed: 102703 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s399ms - Times executed: 102703 ]
-
UPDATE "public"."eps" SET "parse_date" = CAST ('2018-07-19 17:34:50' AS TIMESTAMP WITH time ZONE), "parse_status" = '1' WHERE "uuid" = CAST ('432ffeb7-81af-4cb6-939b-45ffdb335f88' AS uuid);
-
UPDATE "public"."eps" SET "parse_date" = CAST ('2018-07-19 18:04:11' AS TIMESTAMP WITH time ZONE), "parse_status" = '2' WHERE "uuid" = CAST ('a3a7f16a-a996-40e9-8588-df0f17e71158' AS uuid);
-
UPDATE "public"."eps" SET "parse_date" = CAST ('2018-07-19 17:23:22' AS TIMESTAMP WITH time ZONE), "parse_status" = '1' WHERE "uuid" = CAST ('177e8451-af3e-11e7-b7a9-a1a9382eb106' AS uuid);
Date: 2018-07-19 18:30:13 Duration: 20ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 21:05:20 Duration: 7ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:45:12 Duration: 6ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 102,280 20s710ms 0ms 3ms 0ms UPDATE "public"."eps" SET "parse_status" = '' WHERE "uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 19 17 102,280 20s710ms 0ms [ User: symmetricds - Total duration: 20s710ms - Times executed: 102280 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s710ms - Times executed: 102280 ]
-
UPDATE "public"."eps" SET "parse_status" = '0' WHERE "uuid" = CAST ('6dbf7e2a-32a4-417c-b1fa-013169be91aa' AS uuid);
-
UPDATE "public"."eps" SET "parse_status" = '0' WHERE "uuid" = CAST ('33d49fa1-b4f1-11e7-939b-bde92882802c' AS uuid);
-
UPDATE "public"."eps" SET "parse_status" = '0' WHERE "uuid" = CAST ('000329d7-3103-4697-9c38-8645fdf02656' AS uuid);
Date: 2018-07-19 17:21:01 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:20:21 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:19:43 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 78,843 24s479ms 0ms 18ms 0ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 19 05 60 22ms 0ms 06 8,863 2s866ms 0ms 07 1,056 811ms 0ms 08 1,259 707ms 0ms 09 1,605 721ms 0ms 10 5,198 1s856ms 0ms 11 4,027 1s449ms 0ms 12 7,100 2s179ms 0ms 13 17,786 5s121ms 0ms 14 15,095 4s16ms 0ms 15 5,871 1s826ms 0ms 16 9,041 2s458ms 0ms 17 1,678 390ms 0ms 20 204 51ms 0ms [ User: pharmisight - Total duration: 24s479ms - Times executed: 78843 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 24s479ms - Times executed: 78843 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200448472' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200448652' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200448772' ORDER BY orders0_.order_id ASC;
Date: 2018-07-19 10:20:23 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:25:07 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:52:35 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 77,086 3s598ms 0ms 3ms 0ms SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = '' ORDER BY start_id ASC;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 19 00 3,195 152ms 0ms 01 3,222 149ms 0ms 02 3,213 152ms 0ms 03 3,222 150ms 0ms 04 3,213 153ms 0ms 05 3,204 164ms 0ms 06 3,204 145ms 0ms 07 3,204 149ms 0ms 08 3,204 151ms 0ms 09 3,213 151ms 0ms 10 3,213 149ms 0ms 11 3,204 149ms 0ms 12 3,213 147ms 0ms 13 3,196 145ms 0ms 14 3,213 143ms 0ms 15 3,213 149ms 0ms 16 3,213 147ms 0ms 17 3,213 145ms 0ms 18 3,222 149ms 0ms 19 3,222 151ms 0ms 20 3,213 148ms 0ms 21 3,222 146ms 0ms 22 3,213 149ms 0ms 23 3,222 153ms 0ms [ User: symmetricds - Total duration: 3s598ms - Times executed: 77086 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3s598ms - Times executed: 77086 ]
-
SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = 'GP' ORDER BY start_id ASC;
-
SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = 'GP' ORDER BY start_id ASC;
-
SELECT start_id, end_id, create_time FROM sym_data_gap WHERE STATUS = 'GP' ORDER BY start_id ASC;
Date: 2018-07-19 02:07:31 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 15:33:53 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 23:11:15 Duration: 0ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 70,091 54s81ms 0ms 16ms 0ms SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 19 05 49 37ms 0ms 06 8,177 6s160ms 0ms 07 87 120ms 1ms 08 193 302ms 1ms 09 631 754ms 1ms 10 4,252 3s999ms 0ms 11 2,671 2s482ms 0ms 12 6,504 5s86ms 0ms 13 16,604 12s514ms 0ms 14 14,539 10s180ms 0ms 15 5,644 4s753ms 0ms 16 8,883 6s494ms 0ms 17 1,608 1s20ms 0ms 20 249 173ms 0ms [ User: pharmisight - Total duration: 54s81ms - Times executed: 70091 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 54s81ms - Times executed: 70091 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200448482' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200448802' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200448482' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-07-19 14:01:16 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:58:33 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 15:57:21 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 68,299 2s144ms 0ms 5ms 0ms SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = '' AND ((d.data_id BETWEEN '' AND '')) ORDER BY d.data_id ASC;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 19 00 2,841 67ms 0ms 01 2,869 70ms 0ms 02 2,857 66ms 0ms 03 2,865 68ms 0ms 04 2,856 66ms 0ms 05 2,640 75ms 0ms 06 2,792 179ms 0ms 07 2,852 140ms 0ms 08 2,850 122ms 0ms 09 2,859 102ms 0ms 10 2,858 99ms 0ms 11 2,852 122ms 0ms 12 2,860 104ms 0ms 13 2,843 124ms 0ms 14 2,857 88ms 0ms 15 2,856 91ms 0ms 16 2,856 76ms 0ms 17 2,859 70ms 0ms 18 2,864 66ms 0ms 19 2,864 65ms 0ms 20 2,856 67ms 0ms 21 2,866 67ms 0ms 22 2,859 69ms 0ms 23 2,868 70ms 0ms [ User: symmetricds - Total duration: 2s144ms - Times executed: 68299 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s144ms - Times executed: 68299 ]
-
SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = 'pharmisight' AND ((d.data_id BETWEEN '86369100' AND '136369099')) ORDER BY d.data_id ASC;
-
SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = 'pharmisight' AND ((d.data_id BETWEEN '86369929' AND '136369928')) ORDER BY d.data_id ASC;
-
SELECT d.data_id, d.table_name, d.event_type, d.row_data AS row_data, d.pk_data AS pk_data, d.old_data AS old_data, d.create_time, d.trigger_hist_id, d.channel_id, d.transaction_id, d.source_node_id, d.external_data, d.node_list FROM sym_data d WHERE d.channel_id = 'pharmisight' AND ((d.data_id BETWEEN '86368655' AND '136368654')) ORDER BY d.data_id ASC;
Date: 2018-07-19 06:02:56 Duration: 5ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 06:03:06 Duration: 4ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 06:02:45 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 66,114 16s475ms 0ms 15ms 0ms UPDATE "public"."eps_header" SET "received" = '', "create_date" = '', "update_date" = '' WHERE "uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 19 16 1 4ms 4ms 17 9,564 2s534ms 0ms 18 14,915 3s623ms 0ms 19 15,304 3s782ms 0ms 20 1,309 292ms 0ms 21 15,127 3s770ms 0ms 22 9,894 2s467ms 0ms [ User: symmetricds - Total duration: 16s475ms - Times executed: 66114 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s475ms - Times executed: 66114 ]
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 18:20:10', "update_date" = '2018-07-19 18:20:10' WHERE "uuid" = CAST ('e045ebd0-f200-11e7-b7bb-050893f7b3c6' AS uuid);
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 17:29:37', "update_date" = '2018-07-19 17:29:37' WHERE "uuid" = CAST ('3003da20-78fc-11e7-81b9-176129b3691b' AS uuid);
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 17:18:11', "update_date" = '2018-07-19 17:18:11' WHERE "uuid" = CAST ('04ac9d50-6efe-11e8-b94e-951817ca4b66' AS uuid);
Date: 2018-07-19 22:07:19 Duration: 15ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 18:10:13 Duration: 12ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:28:11 Duration: 10ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 56,952 1s180ms 0ms 1ms 0ms SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = '' AND channel_id = '';Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 19 00 2,440 51ms 0ms 01 2,400 52ms 0ms 02 2,400 52ms 0ms 03 2,400 54ms 0ms 04 2,400 51ms 0ms 05 2,384 48ms 0ms 06 2,192 45ms 0ms 07 2,400 47ms 0ms 08 2,400 49ms 0ms 09 2,400 46ms 0ms 10 2,400 47ms 0ms 11 2,400 46ms 0ms 12 2,400 52ms 0ms 13 2,400 50ms 0ms 14 2,400 49ms 0ms 15 2,400 48ms 0ms 16 2,400 47ms 0ms 17 2,392 48ms 0ms 18 2,400 49ms 0ms 19 2,400 46ms 0ms 20 2,096 43ms 0ms 21 2,248 45ms 0ms 22 2,400 53ms 0ms 23 2,400 51ms 0ms [ User: symmetricds - Total duration: 1s180ms - Times executed: 56952 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s180ms - Times executed: 56952 ]
-
SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = 'redditch' AND channel_id = 'filesync_reload';
-
SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = 'redditch' AND channel_id = 'config';
-
SELECT node_group_id, channel_id, start_time, end_time, enabled FROM sym_node_group_channel_wnd WHERE node_group_id = 'redditch' AND channel_id = 'config';
Date: 2018-07-19 06:41:38 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 08:40:41 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 21:37:00 Duration: 1ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 40,444 1s959ms 0ms 10ms 0ms SELECT * FROM order_rounds r WHERE r.flowreport = '';Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 19 05 30 1ms 0ms 06 4,923 244ms 0ms 09 329 19ms 0ms 10 2,115 116ms 0ms 11 1,504 86ms 0ms 12 3,883 197ms 0ms 13 9,045 421ms 0ms 14 9,230 419ms 0ms 15 3,174 160ms 0ms 16 4,863 227ms 0ms 17 1,143 55ms 0ms 20 205 10ms 0ms [ User: pharmisight - Total duration: 1s959ms - Times executed: 40444 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s959ms - Times executed: 40444 ]
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200412752';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200412802';
-
SELECT * FROM order_rounds r WHERE r.flowreport = '200412622';
Date: 2018-07-19 13:58:52 Duration: 10ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 12:14:30 Duration: 2ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 14:32:48 Duration: 1ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 33,672 2s162ms 0ms 0ms 0ms SELECT itembarcod0_.item_id AS item_id12_13_0_, itembarcod0_.item_barcode_id AS item_bar1_14_0_, itembarcod0_.item_barcode_id AS item_bar1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hassiblings AS hassibli4_14_1_, itembarcod0_.itembarcodetype AS itembarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdby AS createdb8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedby AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.item_id AS item_id12_14_1_ FROM item_barcodes itembarcod0_ WHERE itembarcod0_.item_id = '' ORDER BY itembarcod0_.barcode ASC;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 19 00 876 51ms 0ms 01 876 54ms 0ms 02 876 52ms 0ms 03 876 53ms 0ms 04 876 52ms 0ms 05 883 51ms 0ms 06 1,395 93ms 0ms 07 1,741 124ms 0ms 08 4,831 307ms 0ms 09 1,625 110ms 0ms 10 1,470 98ms 0ms 11 1,945 134ms 0ms 12 2,551 169ms 0ms 13 1,940 136ms 0ms 14 2,178 132ms 0ms 15 1,506 103ms 0ms 16 1,078 68ms 0ms 17 893 55ms 0ms 18 876 51ms 0ms 19 876 52ms 0ms 20 876 52ms 0ms 21 876 52ms 0ms 22 876 51ms 0ms 23 876 51ms 0ms [ User: pharmisight - Total duration: 2s162ms - Times executed: 33672 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s162ms - Times executed: 33672 ]
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '32969228' ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '32964950' ORDER BY itembarcod0_.barcode ASC;
-
SELECT itembarcod0_.ITEM_ID AS ITEM_ID12_13_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_0_, itembarcod0_.ITEM_BARCODE_ID AS ITEM_BAR1_14_1_, itembarcod0_.barcode AS barcode2_14_1_, itembarcod0_.size AS size3_14_1_, itembarcod0_.hasSiblings AS hasSibli4_14_1_, itembarcod0_.itemBarcodeType AS itemBarc5_14_1_, itembarcod0_.status AS status6_14_1_, itembarcod0_.created AS created7_14_1_, itembarcod0_.createdBy AS createdB8_14_1_, itembarcod0_.updated AS updated9_14_1_, itembarcod0_.updatedBy AS updated10_14_1_, itembarcod0_.note AS note11_14_1_, itembarcod0_.ITEM_ID AS ITEM_ID12_14_1_ FROM ITEM_BARCODES itembarcod0_ WHERE itembarcod0_.ITEM_ID = '3091' ORDER BY itembarcod0_.barcode ASC;
Date: 2018-07-19 01:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 07:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 07:40:00 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 32,269 8s737ms 0ms 22ms 0ms UPDATE "public"."eps_header" SET "received" = '', "create_date" = '', "update_date" = '', "claim_date" = CAST (NULL AS TIMESTAMP WITH time ZONE), "claim_status" = '' WHERE "uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 19 17 4,752 1s546ms 0ms 18 7,472 1s929ms 0ms 19 7,276 1s890ms 0ms 20 621 153ms 0ms 21 7,317 1s919ms 0ms 22 4,831 1s297ms 0ms [ User: symmetricds - Total duration: 8s737ms - Times executed: 32269 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s737ms - Times executed: 32269 ]
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 17:13:09', "update_date" = '2018-07-19 17:13:09', "claim_date" = CAST (NULL AS TIMESTAMP WITH time ZONE), "claim_status" = '0' WHERE "uuid" = CAST ('01d3c67a-ad1e-4c21-9c38-b8dfc15135aa' AS uuid);
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 17:12:11', "update_date" = '2018-07-19 17:12:11', "claim_date" = CAST (NULL AS TIMESTAMP WITH time ZONE), "claim_status" = '0' WHERE "uuid" = CAST ('00ef80c9-4c96-4397-be5c-604bb5cb4a31' AS uuid);
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 17:18:03', "update_date" = '2018-07-19 17:18:03', "claim_date" = CAST (NULL AS TIMESTAMP WITH time ZONE), "claim_status" = '0' WHERE "uuid" = CAST ('041c6153-772f-4853-acac-4d3aa353a09d' AS uuid);
Date: 2018-07-19 17:25:11 Duration: 22ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:24:11 Duration: 16ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:27:13 Duration: 11ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 28,942 1s740ms 0ms 12ms 0ms SELECT itemcodes0_.item_id AS item_id11_13_0_, itemcodes0_.item_code_id AS item_cod1_16_0_, itemcodes0_.item_code_id AS item_cod1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemcodetype AS itemcode3_16_1_, itemcodes0_.isprimary AS isprimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdby AS createdb7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedby AS updatedb9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.item_id AS item_id11_16_1_ FROM item_codes itemcodes0_ WHERE itemcodes0_.item_id = '' ORDER BY itemcodes0_.code ASC;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 19 00 984 57ms 0ms 01 984 58ms 0ms 02 984 57ms 0ms 03 984 59ms 0ms 04 984 57ms 0ms 05 996 57ms 0ms 06 1,082 64ms 0ms 07 1,056 65ms 0ms 08 3,708 222ms 0ms 09 1,012 60ms 0ms 10 1,037 62ms 0ms 11 1,186 87ms 0ms 12 2,083 126ms 0ms 13 997 58ms 0ms 14 2,000 117ms 0ms 15 993 58ms 0ms 16 984 58ms 0ms 17 984 59ms 0ms 18 984 59ms 0ms 19 984 58ms 0ms 20 984 58ms 0ms 21 984 59ms 0ms 22 984 57ms 0ms 23 984 57ms 0ms [ User: pharmisight - Total duration: 1s740ms - Times executed: 28942 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s740ms - Times executed: 28942 ]
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_13_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemCodeType AS itemCode3_16_1_, itemcodes0_.isPrimary AS isPrimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdBy AS createdB7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedBy AS updatedB9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_16_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '2979' ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_13_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemCodeType AS itemCode3_16_1_, itemcodes0_.isPrimary AS isPrimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdBy AS createdB7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedBy AS updatedB9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_16_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '33074321' ORDER BY itemcodes0_.code ASC;
-
SELECT itemcodes0_.ITEM_ID AS ITEM_ID11_13_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_0_, itemcodes0_.ITEM_CODE_ID AS ITEM_COD1_16_1_, itemcodes0_.code AS code2_16_1_, itemcodes0_.itemCodeType AS itemCode3_16_1_, itemcodes0_.isPrimary AS isPrimar4_16_1_, itemcodes0_.status AS status5_16_1_, itemcodes0_.created AS created6_16_1_, itemcodes0_.createdBy AS createdB7_16_1_, itemcodes0_.updated AS updated8_16_1_, itemcodes0_.updatedBy AS updatedB9_16_1_, itemcodes0_.note AS note10_16_1_, itemcodes0_.ITEM_ID AS ITEM_ID11_16_1_ FROM ITEM_CODES itemcodes0_ WHERE itemcodes0_.ITEM_ID = '33074052' ORDER BY itemcodes0_.code ASC;
Date: 2018-07-19 11:40:00 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 18:40:01 Duration: 0ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 08:56:32 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 44ms 115ms 91ms 276 25s287ms SELECT epscheckli0_.eps_check_id AS eps_chec9_5_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_0_, epscheckli0_.eps_check_line_id AS eps_chec1_6_1_, epscheckli0_.orderlineid AS orderlin2_6_1_, epscheckli0_.snomed AS snomed3_6_1_, epscheckli0_.description AS descript4_6_1_, epscheckli0_.quantity AS quantity5_6_1_, epscheckli0_.issnomedmismatch AS issnomed6_6_1_, epscheckli0_.isorderqtymismatch AS isorderq7_6_1_, epscheckli0_.ishit AS ishit8_6_1_ FROM eps_check_lines epscheckli0_ WHERE epscheckli0_.eps_check_id = '' ORDER BY epscheckli0_.description ASC;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 19 06 51 4s908ms 96ms 07 76 6s652ms 87ms 08 29 2s778ms 95ms 09 35 3s366ms 96ms 10 34 3s133ms 92ms 11 38 3s361ms 88ms 12 10 778ms 77ms 13 1 101ms 101ms 14 2 206ms 103ms [ User: pharmisight - Total duration: 25s287ms - Times executed: 276 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 25s287ms - Times executed: 276 ]
-
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 = '200862462' 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 = '200862972' 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 = '200789232' ORDER BY epscheckli0_.description ASC;
Date: 2018-07-19 09:26:43 Duration: 115ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 09:44:43 Duration: 113ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 12:54:33 Duration: 106ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
2 19ms 77ms 37ms 2,436 1m31s 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 19 06 170 6s569ms 38ms 07 287 11s199ms 39ms 08 228 9s157ms 40ms 09 265 10s622ms 40ms 10 226 8s681ms 38ms 11 339 13s580ms 40ms 12 75 2s988ms 39ms 13 379 13s37ms 34ms 14 267 8s681ms 32ms 15 59 1s969ms 33ms 16 85 2s774ms 32ms 17 56 1s989ms 35ms [ User: pharmisight - Total duration: 1m31s - Times executed: 2436 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m31s - Times executed: 2436 ]
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
-
SELECT count (*) AS col_0_0_ FROM ORDER_ROUNDS orderround0_ WHERE orderround0_.status <> 'Quarantine';
Date: 2018-07-19 14:22:14 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 09:12:36 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 07:19:49 Duration: 74ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
3 21ms 78ms 32ms 794 26s38ms SELECT this_.order_round_id AS order_ro1_26_1_, this_.routenumber AS routenum2_26_1_, this_.uploadedbyuserid AS uploaded3_26_1_, this_.uploadedbyusername AS uploaded4_26_1_, this_.updatedby AS updatedb5_26_1_, this_.updatedbyusername AS updatedb6_26_1_, this_.orderroundnote AS orderrou7_26_1_, this_.firstcheckout AS firstche8_26_1_, this_.allordersscannedok AS allorder9_26_1_, this_.status AS status10_26_1_, this_.reopenedtimes AS reopene11_26_1_, this_.lastreopenbyid AS lastreo12_26_1_, this_.lastdonecheckin AS lastdon13_26_1_, this_.lastdonebyid AS lastdon14_26_1_, this_.lastdonebyusername AS lastdon15_26_1_, this_.missinglabels AS missing16_26_1_, this_.rounddeliverydate AS roundde17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadupdated AS uploadu21_26_1_, this_.patientalert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxstatus AS rxstatu24_26_1_, this_.distributionpoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedby AS audited27_26_1_, this_.auditstatus AS auditst28_26_1_, this_.uploadfinished AS uploadf29_26_1_, this_.lastrxcompleted AS lastrxc30_26_1_, this_.lastrxcompletedby AS lastrxc31_26_1_, this_.orderroundnotereadby AS orderro32_26_1_, this_.routeorderlinesqty AS routeor33_26_1_, this_.dlxpickedlinesqty AS dlxpick34_26_1_, this_.flowreport AS flowrep35_26_1_, this_.created AS created36_26_1_, this_.createdby AS created37_26_1_, this_.updated AS updated38_26_1_, this_.note AS note39_26_1_, f1_.flow_report_id AS flow_rep1_7_0_, f1_.routenumber AS routenum2_7_0_, f1_.rounddeliverydate AS rounddel3_7_0_, f1_.distributionpoint AS distribu4_7_0_, f1_.fullypicked AS fullypic5_7_0_, f1_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, f1_.causeofdelay AS causeofd7_7_0_, f1_.pharmacy100checktime AS pharmacy8_7_0_, f1_.linesheldback AS lineshel9_7_0_, f1_.packtime100 AS packtim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickdatetime AS pickdat13_7_0_, f1_.failedtargetpicktime AS failedt14_7_0_, f1_.actualpaperworkcompletetime AS actualp15_7_0_, f1_.changedpickdatetime AS changed16_7_0_, f1_.manuallychangedpicktime AS manuall17_7_0_, f1_.created AS created18_7_0_, f1_.updated AS updated19_7_0_, f1_.note AS note20_7_0_ FROM order_rounds this_ LEFT OUTER JOIN flow_reports f1_ ON this_.flowreport = f1_.flow_report_id WHERE this_.status <> '' AND this_.created > '' AND this_.created < '' ORDER BY f1_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 19 05 9 378ms 42ms 06 107 3s491ms 32ms 09 7 272ms 38ms 10 45 1s793ms 39ms 11 26 1s20ms 39ms 12 59 1s774ms 30ms 13 198 6s248ms 31ms 14 176 5s331ms 30ms 15 58 2s158ms 37ms 16 89 3s15ms 33ms 17 20 552ms 27ms [ User: pharmisight - Total duration: 26s38ms - Times executed: 794 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 26s38ms - Times executed: 794 ]
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-19 00:00:00' AND this_.CREATED < '2018-07-19 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-19 00:00:00' AND this_.CREATED < '2018-07-19 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.ORDER_ROUND_ID AS ORDER_RO1_26_1_, this_.routeNumber AS routeNum2_26_1_, this_.uploadedByUserId AS uploaded3_26_1_, this_.uploadedByUserName AS uploaded4_26_1_, this_.updatedBy AS updatedB5_26_1_, this_.updatedByUserName AS updatedB6_26_1_, this_.orderRoundNote AS orderRou7_26_1_, this_.firstCheckOut AS firstChe8_26_1_, this_.allOrdersScannedOK AS allOrder9_26_1_, this_.status AS status10_26_1_, this_.reopenedTimes AS reopene11_26_1_, this_.lastReopenById AS lastReo12_26_1_, this_.lastDoneCheckIn AS lastDon13_26_1_, this_.lastDoneById AS lastDon14_26_1_, this_.lastDoneByUserName AS lastDon15_26_1_, this_.missingLabels AS missing16_26_1_, this_.roundDeliveryDate AS roundDe17_26_1_, this_.trolley AS trolley18_26_1_, this_.stack AS stack19_26_1_, this_.picktime AS picktim20_26_1_, this_.uploadUpdated AS uploadU21_26_1_, this_.patientAlert AS patient22_26_1_, this_.mismatches AS mismatc23_26_1_, this_.rxStatus AS rxStatu24_26_1_, this_.distributionPoint AS distrib25_26_1_, this_.audited AS audited26_26_1_, this_.auditedBy AS audited27_26_1_, this_.auditStatus AS auditSt28_26_1_, this_.uploadFinished AS uploadF29_26_1_, this_.lastRxCompleted AS lastRxC30_26_1_, this_.lastRxCompletedBy AS lastRxC31_26_1_, this_.orderRoundNoteReadBy AS orderRo32_26_1_, this_.routeOrderLinesQty AS routeOr33_26_1_, this_.dlxPickedLinesQty AS dlxPick34_26_1_, this_.flowReport AS flowRep35_26_1_, this_.CREATED AS CREATED36_26_1_, this_.createdBy AS created37_26_1_, this_.UPDATED AS UPDATED38_26_1_, this_.note AS note39_26_1_, f1_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, f1_.routeNumber AS routeNum2_7_0_, f1_.roundDeliveryDate AS roundDel3_7_0_, f1_.distributionPoint AS distribu4_7_0_, f1_.fullyPicked AS fullyPic5_7_0_, f1_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, f1_.causeOfDelay AS causeOfD7_7_0_, f1_.pharmacy100CheckTime AS pharmacy8_7_0_, f1_.linesHeldBack AS linesHel9_7_0_, f1_.packTime100 AS packTim10_7_0_, f1_.replenish AS repleni11_7_0_, f1_.comment AS comment12_7_0_, f1_.pickDateTime AS pickDat13_7_0_, f1_.failedTargetPickTime AS failedT14_7_0_, f1_.actualPaperworkCompleteTime AS actualP15_7_0_, f1_.changedPickDateTime AS changed16_7_0_, f1_.manuallyChangedPickTime AS manuall17_7_0_, f1_.CREATED AS CREATED18_7_0_, f1_.UPDATED AS UPDATED19_7_0_, f1_.note AS note20_7_0_ FROM ORDER_ROUNDS this_ LEFT OUTER JOIN FLOW_REPORTS f1_ ON this_.flowReport = f1_.FLOW_REPORT_ID WHERE this_.status <> 'Quarantine' AND this_.CREATED > '2018-07-19 00:00:00' AND this_.CREATED < '2018-07-19 23:59:59' ORDER BY f1_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-19 13:56:34 Duration: 78ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 05:55:04 Duration: 77ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 14:08:37 Duration: 75ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
4 10ms 41ms 22ms 452 10s167ms 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 #4
Day Hour Count Duration Avg duration Jul 19 06 39 870ms 22ms 07 31 749ms 24ms 08 75 1s698ms 22ms 09 21 470ms 22ms 10 47 1s76ms 22ms 11 64 1s416ms 22ms 12 76 1s712ms 22ms 13 79 1s726ms 21ms 14 6 124ms 20ms 15 12 274ms 22ms 16 2 48ms 24ms [ User: pharmisight - Total duration: 10s167ms - Times executed: 452 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s167ms - Times executed: 452 ]
-
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 = '200508422' 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 = '200508202' 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 = '200508472' ORDER BY alerts0_.created ASC;
Date: 2018-07-19 13:44:01 Duration: 41ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 12:05:29 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 10:26:44 Duration: 39ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
5 12ms 47ms 18ms 909 17s31ms SELECT this_.flow_report_id AS flow_rep1_7_0_, this_.routenumber AS routenum2_7_0_, this_.rounddeliverydate AS rounddel3_7_0_, this_.distributionpoint AS distribu4_7_0_, this_.fullypicked AS fullypic5_7_0_, this_.outbaseroutescorrectlygrouped AS outbaser6_7_0_, this_.causeofdelay AS causeofd7_7_0_, this_.pharmacy100checktime AS pharmacy8_7_0_, this_.linesheldback AS lineshel9_7_0_, this_.packtime100 AS packtim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickdatetime AS pickdat13_7_0_, this_.failedtargetpicktime AS failedt14_7_0_, this_.actualpaperworkcompletetime AS actualp15_7_0_, this_.changedpickdatetime AS changed16_7_0_, this_.manuallychangedpicktime AS manuall17_7_0_, this_.created AS created18_7_0_, this_.updated AS updated19_7_0_, this_.note AS note20_7_0_ FROM flow_reports this_ WHERE this_.created > '' AND this_.created < '' ORDER BY this_.distributionpoint ASC, this_.routenumber ASC;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 19 05 13 311ms 23ms 06 166 3s321ms 20ms 09 7 182ms 26ms 10 45 987ms 21ms 11 32 741ms 23ms 12 83 1s665ms 20ms 13 193 3s309ms 17ms 14 191 3s149ms 16ms 15 63 1s248ms 19ms 16 94 1s751ms 18ms 17 22 361ms 16ms [ User: pharmisight - Total duration: 17s31ms - Times executed: 909 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17s31ms - Times executed: 909 ]
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-19 00:00:00' AND this_.CREATED < '2018-07-19 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-19 00:00:00' AND this_.CREATED < '2018-07-19 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
-
SELECT this_.FLOW_REPORT_ID AS FLOW_REP1_7_0_, this_.routeNumber AS routeNum2_7_0_, this_.roundDeliveryDate AS roundDel3_7_0_, this_.distributionPoint AS distribu4_7_0_, this_.fullyPicked AS fullyPic5_7_0_, this_.outbaseRoutesCorrectlyGrouped AS outbaseR6_7_0_, this_.causeOfDelay AS causeOfD7_7_0_, this_.pharmacy100CheckTime AS pharmacy8_7_0_, this_.linesHeldBack AS linesHel9_7_0_, this_.packTime100 AS packTim10_7_0_, this_.replenish AS repleni11_7_0_, this_.comment AS comment12_7_0_, this_.pickDateTime AS pickDat13_7_0_, this_.failedTargetPickTime AS failedT14_7_0_, this_.actualPaperworkCompleteTime AS actualP15_7_0_, this_.changedPickDateTime AS changed16_7_0_, this_.manuallyChangedPickTime AS manuall17_7_0_, this_.CREATED AS CREATED18_7_0_, this_.UPDATED AS UPDATED19_7_0_, this_.note AS note20_7_0_ FROM FLOW_REPORTS this_ WHERE this_.CREATED > '2018-07-19 00:00:00' AND this_.CREATED < '2018-07-19 23:59:59' ORDER BY this_.distributionPoint ASC, this_.routeNumber ASC;
Date: 2018-07-19 12:10:37 Duration: 47ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 06:08:36 Duration: 43ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:43:31 Duration: 42ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
6 1ms 70ms 14ms 2,436 34s204ms SELECT * FROM order_lines WHERE (deliverydate = '' AND STATUS <> '') AND ((agecheck = 0 OR agecheck = 0 OR agecheck = 0) OR (STATUS = '') OR (paperwork IS NOT NULL AND paperwork <> '' AND paperwork <> '' AND paperwork <> '' AND paperwork <> '') OR (paperworkresolution IS NOT NULL) OR (overaverageqtymax IS NOT NULL));Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 19 06 170 2s276ms 13ms 07 287 3s807ms 13ms 08 228 3s350ms 14ms 09 265 3s888ms 14ms 10 226 3s304ms 14ms 11 339 5s273ms 15ms 12 75 1s166ms 15ms 13 379 5s180ms 13ms 14 267 3s297ms 12ms 15 59 805ms 13ms 16 85 1s101ms 12ms 17 56 751ms 13ms [ User: pharmisight - Total duration: 34s204ms - Times executed: 2436 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 34s204ms - Times executed: 2436 ]
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-20' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-20' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
-
SELECT * FROM order_lines WHERE (deliveryDate = '2018-07-20' AND STATUS <> 'Quarantine') AND ((ageCheck = 10609 OR ageCheck = 10611 OR ageCheck = 10612) OR (STATUS = 'Mismatch') OR (paperwork IS NOT NULL AND paperwork <> 'Rx OK' AND paperwork <> 'Evidence OK' AND paperwork <> 'REG OK' AND paperwork <> 'ES OK') OR (paperworkResolution IS NOT NULL) OR (overAverageQtyMax IS NOT NULL));
Date: 2018-07-19 14:32:46 Duration: 70ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:38:03 Duration: 68ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 11:51:54 Duration: 50ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
7 1ms 40ms 13ms 1,077 14s90ms 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 #7
Day Hour Count Duration Avg duration Jul 19 06 158 1s987ms 12ms 07 108 1s378ms 12ms 08 91 1s156ms 12ms 09 73 936ms 12ms 10 86 1s189ms 13ms 11 187 2s373ms 12ms 12 90 1s137ms 12ms 13 69 897ms 13ms 14 74 1s23ms 13ms 15 112 1s572ms 14ms 16 29 436ms 15ms [ User: pharmisight - Total duration: 14s90ms - Times executed: 1077 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s90ms - Times executed: 1077 ]
-
UPDATE ORDER_LINES SET routeNumber = '9012518', sapOrderNumber = '7755154', orderNumber = '5004252991', answerOrderNumber = NULL, partCode = '40892', partDescription = 'Nutrison Peptisorb Pack 500ml', patientName = 'Susan Toates', firstName = 'Susan', middleName = NULL, lastName = 'Toates', patientDateOfBirth = '1944-12-11', patientPostcode = 'CB21 6BE', patientPostcodePrefix = 'CB', orderQty = '28', allocQty = '28', shipQty = NULL, adjustedQty = '24', scannedQty = '24', assignedQty = '0', checkedQty = '24', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'ScannableOK', reason = NULL, deliveryDate = '2018-07-20', customer = 'Caroline Burden', sapCustomerId = '685159583', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '200213070', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'eRx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200001242', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Kate Davey', patientAlert = NULL, itemAlert = NULL, checkerId = '15364', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinator & Careline', lastRegUpdateUserName = 'natalie.mcclurg@nutricia.connections', lastRegUpdateDate = '2018-06-20 10:19:06', sapPlannedShipDate = '2018-07-19', sapPlannedDeliveryDate = '2018-07-20', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS HCP User Login', regLineCreatedUserName = 'frances.dobson@nutricia.connections', regLineCreatedDate = '2018-06-18 08:32:34', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-19 05:54:31.961', UPDATED = NULL, rxCheckBy = '100', note = 'EP auto check', item = '3316', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214503292';
-
UPDATE ORDER_LINES SET routeNumber = '9012545', sapOrderNumber = '7755023', orderNumber = '5004257683', answerOrderNumber = NULL, partCode = '132182', partDescription = 'Nutrini Energy MF 500ml', patientName = 'Ala Hazem', firstName = 'Ala', middleName = NULL, lastName = 'Hazem', patientDateOfBirth = '2011-02-04', patientPostcode = 'B25 8AU', patientPostcodePrefix = 'B', 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 = '2018-07-20', customer = 'Johnathan Baysting', sapCustomerId = '685063303', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '404706', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200000750', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Ria Costigan', patientAlert = NULL, itemAlert = NULL, checkerId = '15364', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS System Administrator', lastRegUpdateUserName = 'lyndsay.mizen@nutricia.connections', lastRegUpdateDate = '2018-07-05 15:44:23', sapPlannedShipDate = '2018-07-19', sapPlannedDeliveryDate = '2018-07-20', requestedSAPQuantity = '28', orderQuantity = '28', regLineCreatedUserType = 'PMS System Administrator', regLineCreatedUserName = 'lyndsay.mizen@nutricia.connections', regLineCreatedDate = '2018-07-05 15:44:23', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-19 05:54:32.046', UPDATED = NULL, rxCheckBy = '4060', note = 'Paul Gray-Scott', item = '3234', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214498872';
-
UPDATE ORDER_LINES SET routeNumber = '9012544', sapOrderNumber = '7755305', orderNumber = '5004257729', answerOrderNumber = NULL, partCode = '41505', partDescription = 'Fortisip Caramel 200ml', patientName = 'Katie Thomas', firstName = 'Katie', middleName = NULL, lastName = 'Thomas', patientDateOfBirth = '1992-05-21', patientPostcode = 'B43 5AN', patientPostcodePrefix = 'B', orderQty = '27', allocQty = '27', shipQty = NULL, adjustedQty = '27', scannedQty = '27', assignedQty = '0', checkedQty = '27', backOrderQty = '0', cancelQty = '0', reducedQty = '0', STATUS = 'Checked', reason = NULL, deliveryDate = '2018-07-20', customer = 'Michael Phiri-Thorne', sapCustomerId = '685051107', billToType = 'Pharmacy (CURO)', barcodeDate = NULL, barcodeBatch = NULL, patientId = '657812', isAdded = NULL, isNotWithinAge = NULL, isUnderAge = 'f', ageCheck = '10608', expired = NULL, paperwork = 'Rx OK', isPaperworkProblem = 'f', paperworkResolution = NULL, pickerId = '200000050', specialCare = 'f', paperworkEnquiryStarted = NULL, paperworkEnquiryFinished = NULL, paperworkEnquiryResponse = NULL, isNewProduct = NULL, extraProcedure = NULL, overAverageQtyMax = NULL, overAverageQtyResolution = NULL, createUser = 'Laura Strickland', patientAlert = NULL, itemAlert = NULL, checkerId = '15364', reductionSummary = NULL, isMetabolic = NULL, rxStatus = '1', lastRegUpdateUserType = 'PMS Coordinators', lastRegUpdateUserName = 'caroline.burden@nutricia.connections', lastRegUpdateDate = '2018-06-18 12:29:58', sapPlannedShipDate = '2018-07-19', sapPlannedDeliveryDate = '2018-07-20', requestedSAPQuantity = '27', orderQuantity = '27', regLineCreatedUserType = 'CURO PMS Data Migration', regLineCreatedUserName = 'data.migration@nutricia.com', regLineCreatedDate = '2016-05-10 16:27:16', audited = NULL, isMetabolicPatient = NULL, addedCase = NULL, orderType = NULL, CREATED = '2018-07-19 05:54:31.937', UPDATED = NULL, rxCheckBy = '4060', note = 'Paul Gray-Scott', item = '2882', alertConfirmation = NULL, homewardAction = NULL WHERE ORDER_LINE_ID = '214505982';
Date: 2018-07-19 10:57:33 Duration: 40ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 14:52:38 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 15:42:04 Duration: 30ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
8 0ms 92ms 4ms 4,601 20s389ms SELECT this_.order_id AS order_id1_20_0_, this_.sapordernumber AS saporder2_20_0_, this_.answerordernumber AS answeror3_20_0_, this_.ordernumber AS ordernum4_20_0_, this_.routenumber AS routenum5_20_0_, this_.billtotype AS billtoty6_20_0_, this_.patientname AS patientn7_20_0_, this_.firstname AS firstnam8_20_0_, this_.middlename AS middlena9_20_0_, this_.lastname AS lastnam10_20_0_, this_.patientdateofbirth AS patient11_20_0_, this_.patientpostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapcustomerid AS sapcust14_20_0_, this_.status AS status15_20_0_, this_.patientid AS patient16_20_0_, this_.isnotwithinage AS isnotwi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliverybarcode AS deliver20_20_0_, this_.deliverydate AS deliver21_20_0_, this_.rxstatus AS rxstatu22_20_0_, this_.createuser AS createu23_20_0_, this_.subordertype AS suborde24_20_0_, this_.sapcontractid AS sapcont25_20_0_, this_.salesforceordernumber AS salesfo26_20_0_, this_.patienttype AS patient27_20_0_, this_.ordertype AS orderty28_20_0_, this_.orderstatus AS orderst29_20_0_, this_.nhsnumber AS nhsnumb30_20_0_, this_.individuallabelling AS individ31_20_0_, this_.orderid AS orderid32_20_0_, this_.clusterlead AS cluster33_20_0_, this_.clustergroup AS cluster34_20_0_, this_.accountid AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionby AS reducti37_20_0_, this_.alertconfirmation AS alertco38_20_0_, this_.created AS created39_20_0_, this_.updated AS updated40_20_0_, this_.note AS note41_20_0_ FROM orders this_ WHERE this_.status = '' AND this_.deliverydate = '' ORDER BY this_.deliverydate ASC;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 19 06 348 1s546ms 4ms 07 642 2s788ms 4ms 08 345 1s684ms 4ms 09 399 1s887ms 4ms 10 345 1s605ms 4ms 11 558 2s721ms 4ms 12 168 854ms 5ms 13 852 3s668ms 4ms 14 635 2s367ms 3ms 15 90 375ms 4ms 16 162 608ms 3ms 17 57 279ms 4ms [ User: pharmisight - Total duration: 20s389ms - Times executed: 4601 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s389ms - Times executed: 4601 ]
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-20' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Uploaded' AND this_.deliveryDate = '2018-07-20' ORDER BY this_.deliveryDate ASC;
-
SELECT this_.ORDER_ID AS ORDER_ID1_20_0_, this_.sapOrderNumber AS sapOrder2_20_0_, this_.answerOrderNumber AS answerOr3_20_0_, this_.orderNumber AS orderNum4_20_0_, this_.routeNumber AS routeNum5_20_0_, this_.billToType AS billToTy6_20_0_, this_.patientName AS patientN7_20_0_, this_.firstName AS firstNam8_20_0_, this_.middleName AS middleNa9_20_0_, this_.lastName AS lastNam10_20_0_, this_.patientDateOfBirth AS patient11_20_0_, this_.patientPostcode AS patient12_20_0_, this_.customer AS custome13_20_0_, this_.sapCustomerId AS sapCust14_20_0_, this_.status AS status15_20_0_, this_.patientId AS patient16_20_0_, this_.isNotWithinAge AS isNotWi17_20_0_, this_.expired AS expired18_20_0_, this_.paperwork AS paperwo19_20_0_, this_.deliveryBarcode AS deliver20_20_0_, this_.deliveryDate AS deliver21_20_0_, this_.rxStatus AS rxStatu22_20_0_, this_.createUser AS createU23_20_0_, this_.subOrderType AS subOrde24_20_0_, this_.sapContractId AS sapCont25_20_0_, this_.salesforceOrderNumber AS salesfo26_20_0_, this_.patientType AS patient27_20_0_, this_.orderType AS orderTy28_20_0_, this_.orderStatus AS orderSt29_20_0_, this_.NHSnumber AS NHSnumb30_20_0_, this_.individualLabelling AS individ31_20_0_, this_.orderId AS orderId32_20_0_, this_.clusterLead AS cluster33_20_0_, this_.clusterGroup AS cluster34_20_0_, this_.accountId AS account35_20_0_, this_.reduction AS reducti36_20_0_, this_.reductionBy AS reducti37_20_0_, this_.alertConfirmation AS alertCo38_20_0_, this_.CREATED AS CREATED39_20_0_, this_.UPDATED AS UPDATED40_20_0_, this_.note AS note41_20_0_ FROM ORDERS this_ WHERE this_.status = 'Checked' AND this_.deliveryDate = '2018-07-20' ORDER BY this_.deliveryDate ASC;
Date: 2018-07-19 13:45:50 Duration: 92ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 07:04:17 Duration: 48ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:37:19 Duration: 37ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
9 0ms 29ms 3ms 3,146 10s915ms UPDATE orders SET sapordernumber = '', answerordernumber = NULL, ordernumber = '', routenumber = '', billtotype = NULL, patientname = '', firstname = '', middlename = NULL, lastname = '', patientdateofbirth = '', patientpostcode = '', customer = NULL, sapcustomerid = '', STATUS = '', patientid = '', isnotwithinage = NULL, expired = NULL, paperwork = NULL, deliverybarcode = NULL, deliverydate = '', rxstatus = '', createuser = '', subordertype = '', sapcontractid = '', salesforceordernumber = '', patienttype = '', ordertype = '', orderstatus = '', nhsnumber = '', individuallabelling = '', orderid = '', clusterlead = '', clustergroup = '', accountid = '', reduction = NULL, reductionby = NULL, alertconfirmation = NULL, created = '', updated = NULL, note = NULL WHERE order_id = '';Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 19 05 154 165ms 1ms 06 1,506 2s926ms 1ms 07 556 2s509ms 4ms 08 168 906ms 5ms 09 94 515ms 5ms 10 95 547ms 5ms 11 148 799ms 5ms 12 100 573ms 5ms 13 143 805ms 5ms 14 69 407ms 5ms 15 82 509ms 6ms 16 27 217ms 8ms 17 4 30ms 7ms [ User: pharmisight - Total duration: 10s915ms - Times executed: 3146 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s915ms - Times executed: 3146 ]
-
UPDATE ORDERS SET sapOrderNumber = '7754722', answerOrderNumber = NULL, orderNumber = '5004247385', routeNumber = '9012545', billToType = NULL, patientName = 'Dean Mucklow', firstName = 'Dean', middleName = NULL, lastName = 'Mucklow', patientDateOfBirth = '1971-08-06', patientPostcode = 'B76 2QG', customer = NULL, sapCustomerId = '685163154', STATUS = 'Checked', patientId = '200387872', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-20', rxStatus = '1', createUser = 'Ria Costigan', subOrderType = 'Standard', sapContractId = '650105917', salesforceOrderNumber = '11028019', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '6087112340', individualLabelling = 'f', orderId = 'a4r1p0000066W6WAAU', clusterLead = 'Johnathan Baysting', clusterGroup = 'BIRMINGHAM COMMUNITY HCARE NHST', accountId = '53897', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-19 05:54:32.02', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208263182';
-
UPDATE ORDERS SET sapOrderNumber = '7755147', answerOrderNumber = NULL, orderNumber = '5004250915', routeNumber = '9012525', billToType = NULL, patientName = 'Neo Parkinson', firstName = 'Neo', middleName = NULL, lastName = 'Parkinson', patientDateOfBirth = '2016-08-18', patientPostcode = 'SW17 8HS', customer = NULL, sapCustomerId = '685164799', STATUS = 'Checked', patientId = '200235190', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-20', rxStatus = '1', createUser = 'Simon Church', subOrderType = 'Standard', sapContractId = '650105965', salesforceOrderNumber = '11026877', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '7157175568', individualLabelling = 'f', orderId = 'a4r1p0000066UdJAAU', clusterLead = 'Matthew Clement', clusterGroup = 'ST GEORGES HEALTHCARE NHS TRUST', accountId = '57893', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-19 05:54:31.961', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208266382';
-
UPDATE ORDERS SET sapOrderNumber = '7755095', answerOrderNumber = NULL, orderNumber = '5004256811', routeNumber = '9012373', billToType = NULL, patientName = 'Richard Fitton', firstName = 'Richard', middleName = NULL, lastName = 'Fitton', patientDateOfBirth = '1946-05-12', patientPostcode = 'HD9 4HH', customer = NULL, sapCustomerId = '685138042', STATUS = 'Checked', patientId = '200089400', isNotWithinAge = NULL, expired = NULL, paperwork = NULL, deliveryBarcode = NULL, deliveryDate = '2018-07-20', rxStatus = '1', createUser = 'Sarah Carter', subOrderType = 'Standard', sapContractId = '650105919', salesforceOrderNumber = '11026744', patientType = 'Homeward', orderType = 'Scheduled', orderStatus = 'Confirmed', NHSnumber = '4381227786', individualLabelling = 'f', orderId = 'a4r1p0000066USpAAM', clusterLead = 'Gill Feltham', clusterGroup = 'CALDERDALE & HUDDERSFIELD NHSFT', accountId = '886727', reduction = NULL, reductionBy = NULL, alertConfirmation = NULL, CREATED = '2018-07-19 05:54:31.952', UPDATED = NULL, note = NULL WHERE ORDER_ID = '208267702';
Date: 2018-07-19 14:39:50 Duration: 29ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 12:41:56 Duration: 19ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 08:14:40 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
10 0ms 17ms 3ms 9,744 30s917ms 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 19 06 680 1s924ms 2ms 07 1,148 3s523ms 3ms 08 912 3s83ms 3ms 09 1,060 3s538ms 3ms 10 904 2s952ms 3ms 11 1,356 4s658ms 3ms 12 300 1s56ms 3ms 13 1,516 4s697ms 3ms 14 1,068 3s56ms 2ms 15 236 701ms 2ms 16 340 1s11ms 2ms 17 224 712ms 3ms [ User: pharmisight - Total duration: 30s917ms - Times executed: 9744 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 30s917ms - Times executed: 9744 ]
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-20' AND this_.rxStatus = '2';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-20' AND this_.rxStatus = '4';
-
SELECT count (*) AS y0_ FROM ORDER_LINES this_ WHERE this_.deliveryDate = '2018-07-20' AND this_.rxStatus = '4';
Date: 2018-07-19 13:05:44 Duration: 17ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 10:20:22 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 09:26:07 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
11 0ms 12ms 0ms 12,832 10s735ms UPDATE order_line_activities SET order_line_id = '' WHERE order_line_activity_id = '';Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 19 06 976 793ms 0ms 07 1,449 1s242ms 0ms 08 1,697 1s436ms 0ms 09 1,024 825ms 0ms 10 938 831ms 0ms 11 1,721 1s365ms 0ms 12 1,126 969ms 0ms 13 1,970 1s578ms 0ms 14 723 593ms 0ms 15 899 786ms 0ms 16 285 281ms 0ms 17 24 30ms 1ms [ User: pharmisight - Total duration: 10s735ms - Times executed: 12832 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10s735ms - Times executed: 12832 ]
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214494282' WHERE ORDER_LINE_ACTIVITY_ID = '284490572';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214500252' WHERE ORDER_LINE_ACTIVITY_ID = '284499582';
-
UPDATE ORDER_LINE_ACTIVITIES SET ORDER_LINE_ID = '214506482' WHERE ORDER_LINE_ACTIVITY_ID = '284542202';
Date: 2018-07-19 07:35:01 Duration: 12ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 08:05:30 Duration: 11ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 11:30:34 Duration: 7ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
12 0ms 16ms 0ms 70,091 54s81ms SELECT orderlines0_.order_round_id AS order_r80_26_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_round_id = '' ORDER BY orderlines0_.lastname, orderlines0_.partcode ASC;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 19 05 49 37ms 0ms 06 8,177 6s160ms 0ms 07 87 120ms 1ms 08 193 302ms 1ms 09 631 754ms 1ms 10 4,252 3s999ms 0ms 11 2,671 2s482ms 0ms 12 6,504 5s86ms 0ms 13 16,604 12s514ms 0ms 14 14,539 10s180ms 0ms 15 5,644 4s753ms 0ms 16 8,883 6s494ms 0ms 17 1,608 1s20ms 0ms 20 249 173ms 0ms [ User: pharmisight - Total duration: 54s81ms - Times executed: 70091 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 54s81ms - Times executed: 70091 ]
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200448482' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200448802' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
-
SELECT orderlines0_.ORDER_ROUND_ID AS ORDER_R80_26_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ROUND_ID = '200448482' ORDER BY orderlines0_.lastName, orderlines0_.partCode ASC;
Date: 2018-07-19 14:01:16 Duration: 16ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:58:33 Duration: 15ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 15:57:21 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
13 0ms 18ms 0ms 78,843 24s479ms SELECT orders0_.order_round_id AS order_r42_26_0_, orders0_.order_id AS order_id1_20_0_, orders0_.order_id AS order_id1_20_1_, orders0_.sapordernumber AS saporder2_20_1_, orders0_.answerordernumber AS answeror3_20_1_, orders0_.ordernumber AS ordernum4_20_1_, orders0_.routenumber AS routenum5_20_1_, orders0_.billtotype AS billtoty6_20_1_, orders0_.patientname AS patientn7_20_1_, orders0_.firstname AS firstnam8_20_1_, orders0_.middlename AS middlena9_20_1_, orders0_.lastname AS lastnam10_20_1_, orders0_.patientdateofbirth AS patient11_20_1_, orders0_.patientpostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapcustomerid AS sapcust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientid AS patient16_20_1_, orders0_.isnotwithinage AS isnotwi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliverybarcode AS deliver20_20_1_, orders0_.deliverydate AS deliver21_20_1_, orders0_.rxstatus AS rxstatu22_20_1_, orders0_.createuser AS createu23_20_1_, orders0_.subordertype AS suborde24_20_1_, orders0_.sapcontractid AS sapcont25_20_1_, orders0_.salesforceordernumber AS salesfo26_20_1_, orders0_.patienttype AS patient27_20_1_, orders0_.ordertype AS orderty28_20_1_, orders0_.orderstatus AS orderst29_20_1_, orders0_.nhsnumber AS nhsnumb30_20_1_, orders0_.individuallabelling AS individ31_20_1_, orders0_.orderid AS orderid32_20_1_, orders0_.clusterlead AS cluster33_20_1_, orders0_.clustergroup AS cluster34_20_1_, orders0_.accountid AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionby AS reducti37_20_1_, orders0_.alertconfirmation AS alertco38_20_1_, orders0_.created AS created39_20_1_, orders0_.updated AS updated40_20_1_, orders0_.note AS note41_20_1_ FROM orders orders0_ WHERE orders0_.order_round_id = '' ORDER BY orders0_.order_id ASC;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 19 05 60 22ms 0ms 06 8,863 2s866ms 0ms 07 1,056 811ms 0ms 08 1,259 707ms 0ms 09 1,605 721ms 0ms 10 5,198 1s856ms 0ms 11 4,027 1s449ms 0ms 12 7,100 2s179ms 0ms 13 17,786 5s121ms 0ms 14 15,095 4s16ms 0ms 15 5,871 1s826ms 0ms 16 9,041 2s458ms 0ms 17 1,678 390ms 0ms 20 204 51ms 0ms [ User: pharmisight - Total duration: 24s479ms - Times executed: 78843 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 24s479ms - Times executed: 78843 ]
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200448472' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200448652' ORDER BY orders0_.order_id ASC;
-
SELECT orders0_.ORDER_ROUND_ID AS ORDER_R42_26_0_, orders0_.ORDER_ID AS ORDER_ID1_20_0_, orders0_.ORDER_ID AS ORDER_ID1_20_1_, orders0_.sapOrderNumber AS sapOrder2_20_1_, orders0_.answerOrderNumber AS answerOr3_20_1_, orders0_.orderNumber AS orderNum4_20_1_, orders0_.routeNumber AS routeNum5_20_1_, orders0_.billToType AS billToTy6_20_1_, orders0_.patientName AS patientN7_20_1_, orders0_.firstName AS firstNam8_20_1_, orders0_.middleName AS middleNa9_20_1_, orders0_.lastName AS lastNam10_20_1_, orders0_.patientDateOfBirth AS patient11_20_1_, orders0_.patientPostcode AS patient12_20_1_, orders0_.customer AS custome13_20_1_, orders0_.sapCustomerId AS sapCust14_20_1_, orders0_.status AS status15_20_1_, orders0_.patientId AS patient16_20_1_, orders0_.isNotWithinAge AS isNotWi17_20_1_, orders0_.expired AS expired18_20_1_, orders0_.paperwork AS paperwo19_20_1_, orders0_.deliveryBarcode AS deliver20_20_1_, orders0_.deliveryDate AS deliver21_20_1_, orders0_.rxStatus AS rxStatu22_20_1_, orders0_.createUser AS createU23_20_1_, orders0_.subOrderType AS subOrde24_20_1_, orders0_.sapContractId AS sapCont25_20_1_, orders0_.salesforceOrderNumber AS salesfo26_20_1_, orders0_.patientType AS patient27_20_1_, orders0_.orderType AS orderTy28_20_1_, orders0_.orderStatus AS orderSt29_20_1_, orders0_.NHSnumber AS NHSnumb30_20_1_, orders0_.individualLabelling AS individ31_20_1_, orders0_.orderId AS orderId32_20_1_, orders0_.clusterLead AS cluster33_20_1_, orders0_.clusterGroup AS cluster34_20_1_, orders0_.accountId AS account35_20_1_, orders0_.reduction AS reducti36_20_1_, orders0_.reductionBy AS reducti37_20_1_, orders0_.alertConfirmation AS alertCo38_20_1_, orders0_.CREATED AS CREATED39_20_1_, orders0_.UPDATED AS UPDATED40_20_1_, orders0_.note AS note41_20_1_ FROM ORDERS orders0_ WHERE orders0_.ORDER_ROUND_ID = '200448772' ORDER BY orders0_.order_id ASC;
Date: 2018-07-19 10:20:23 Duration: 18ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:25:07 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:52:35 Duration: 13ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
14 0ms 22ms 0ms 32,269 8s737ms UPDATE "public"."eps_header" SET "received" = '', "create_date" = '', "update_date" = '', "claim_date" = CAST (NULL AS TIMESTAMP WITH time ZONE), "claim_status" = '' WHERE "uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 19 17 4,752 1s546ms 0ms 18 7,472 1s929ms 0ms 19 7,276 1s890ms 0ms 20 621 153ms 0ms 21 7,317 1s919ms 0ms 22 4,831 1s297ms 0ms [ User: symmetricds - Total duration: 8s737ms - Times executed: 32269 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8s737ms - Times executed: 32269 ]
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 17:13:09', "update_date" = '2018-07-19 17:13:09', "claim_date" = CAST (NULL AS TIMESTAMP WITH time ZONE), "claim_status" = '0' WHERE "uuid" = CAST ('01d3c67a-ad1e-4c21-9c38-b8dfc15135aa' AS uuid);
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 17:12:11', "update_date" = '2018-07-19 17:12:11', "claim_date" = CAST (NULL AS TIMESTAMP WITH time ZONE), "claim_status" = '0' WHERE "uuid" = CAST ('00ef80c9-4c96-4397-be5c-604bb5cb4a31' AS uuid);
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 17:18:03', "update_date" = '2018-07-19 17:18:03', "claim_date" = CAST (NULL AS TIMESTAMP WITH time ZONE), "claim_status" = '0' WHERE "uuid" = CAST ('041c6153-772f-4853-acac-4d3aa353a09d' AS uuid);
Date: 2018-07-19 17:25:11 Duration: 22ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:24:11 Duration: 16ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:27:13 Duration: 11ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
15 0ms 15ms 0ms 66,114 16s475ms UPDATE "public"."eps_header" SET "received" = '', "create_date" = '', "update_date" = '' WHERE "uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 19 16 1 4ms 4ms 17 9,564 2s534ms 0ms 18 14,915 3s623ms 0ms 19 15,304 3s782ms 0ms 20 1,309 292ms 0ms 21 15,127 3s770ms 0ms 22 9,894 2s467ms 0ms [ User: symmetricds - Total duration: 16s475ms - Times executed: 66114 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s475ms - Times executed: 66114 ]
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 18:20:10', "update_date" = '2018-07-19 18:20:10' WHERE "uuid" = CAST ('e045ebd0-f200-11e7-b7bb-050893f7b3c6' AS uuid);
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 17:29:37', "update_date" = '2018-07-19 17:29:37' WHERE "uuid" = CAST ('3003da20-78fc-11e7-81b9-176129b3691b' AS uuid);
-
UPDATE "public"."eps_header" SET "received" = 'f', "create_date" = '2018-07-19 17:18:11', "update_date" = '2018-07-19 17:18:11' WHERE "uuid" = CAST ('04ac9d50-6efe-11e8-b94e-951817ca4b66' AS uuid);
Date: 2018-07-19 22:07:19 Duration: 15ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 18:10:13 Duration: 12ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:28:11 Duration: 10ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
16 0ms 20ms 0ms 102,703 23s399ms UPDATE "public"."eps" SET "parse_date" = CAST ('' AS TIMESTAMP WITH time ZONE), "parse_status" = '' WHERE "uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 19 10 75 11ms 0ms 12 5 2ms 0ms 14 342 38ms 0ms 16 1 1ms 1ms 17 15,124 3s702ms 0ms 18 23,208 5s345ms 0ms 19 23,429 5s311ms 0ms 20 2,018 420ms 0ms 21 23,299 5s163ms 0ms 22 15,202 3s401ms 0ms [ User: symmetricds - Total duration: 23s399ms - Times executed: 102703 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s399ms - Times executed: 102703 ]
-
UPDATE "public"."eps" SET "parse_date" = CAST ('2018-07-19 17:34:50' AS TIMESTAMP WITH time ZONE), "parse_status" = '1' WHERE "uuid" = CAST ('432ffeb7-81af-4cb6-939b-45ffdb335f88' AS uuid);
-
UPDATE "public"."eps" SET "parse_date" = CAST ('2018-07-19 18:04:11' AS TIMESTAMP WITH time ZONE), "parse_status" = '2' WHERE "uuid" = CAST ('a3a7f16a-a996-40e9-8588-df0f17e71158' AS uuid);
-
UPDATE "public"."eps" SET "parse_date" = CAST ('2018-07-19 17:23:22' AS TIMESTAMP WITH time ZONE), "parse_status" = '1' WHERE "uuid" = CAST ('177e8451-af3e-11e7-b7a9-a1a9382eb106' AS uuid);
Date: 2018-07-19 18:30:13 Duration: 20ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 21:05:20 Duration: 7ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:45:12 Duration: 6ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
17 0ms 3ms 0ms 102,280 20s710ms UPDATE "public"."eps" SET "parse_status" = '' WHERE "uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 19 17 102,280 20s710ms 0ms [ User: symmetricds - Total duration: 20s710ms - Times executed: 102280 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20s710ms - Times executed: 102280 ]
-
UPDATE "public"."eps" SET "parse_status" = '0' WHERE "uuid" = CAST ('6dbf7e2a-32a4-417c-b1fa-013169be91aa' AS uuid);
-
UPDATE "public"."eps" SET "parse_status" = '0' WHERE "uuid" = CAST ('33d49fa1-b4f1-11e7-939b-bde92882802c' AS uuid);
-
UPDATE "public"."eps" SET "parse_status" = '0' WHERE "uuid" = CAST ('000329d7-3103-4697-9c38-8645fdf02656' AS uuid);
Date: 2018-07-19 17:21:01 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:20:21 Duration: 3ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:19:43 Duration: 2ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 74ms 0ms 159,455 28s896ms UPDATE "public"."eps_detail" SET "additional_instructions" = NULL WHERE "line_uuid" = CAST ('' AS uuid);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 19 16 2 1ms 0ms 17 23,776 5s629ms 0ms 18 35,887 6s65ms 0ms 19 36,543 6s270ms 0ms 20 3,136 505ms 0ms 21 36,367 6s243ms 0ms 22 23,744 4s180ms 0ms [ User: symmetricds - Total duration: 28s896ms - Times executed: 159455 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28s896ms - Times executed: 159455 ]
-
UPDATE "public"."eps_detail" SET "additional_instructions" = NULL WHERE "line_uuid" = CAST ('086e2c94-01fa-11e8-b001-af32e3fd645f' AS uuid);
-
UPDATE "public"."eps_detail" SET "additional_instructions" = NULL WHERE "line_uuid" = CAST ('6437d0b6-9a60-4a14-8b8f-28ce3a33f880' AS uuid);
-
UPDATE "public"."eps_detail" SET "additional_instructions" = NULL WHERE "line_uuid" = CAST ('17a54a53-f8f3-40c0-a038-9a8cab280531' AS uuid);
Date: 2018-07-19 17:31:15 Duration: 74ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:25:12 Duration: 63ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:33:12 Duration: 51ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 23ms 0ms 128,835 16s217ms SELECT orderlines0_.order_id AS order_i79_20_0_, orderlines0_.order_line_id AS order_li1_22_0_, orderlines0_.order_line_id AS order_li1_22_1_, orderlines0_.routenumber AS routenum2_22_1_, orderlines0_.sapordernumber AS saporder3_22_1_, orderlines0_.ordernumber AS ordernum4_22_1_, orderlines0_.answerordernumber AS answeror5_22_1_, orderlines0_.partcode AS partcode6_22_1_, orderlines0_.partdescription AS partdesc7_22_1_, orderlines0_.patientname AS patientn8_22_1_, orderlines0_.firstname AS firstnam9_22_1_, orderlines0_.middlename AS middlen10_22_1_, orderlines0_.lastname AS lastnam11_22_1_, orderlines0_.patientdateofbirth AS patient12_22_1_, orderlines0_.patientpostcode AS patient13_22_1_, orderlines0_.patientpostcodeprefix AS patient14_22_1_, orderlines0_.orderqty AS orderqt15_22_1_, orderlines0_.allocqty AS allocqt16_22_1_, orderlines0_.shipqty AS shipqty17_22_1_, orderlines0_.adjustedqty AS adjuste18_22_1_, orderlines0_.scannedqty AS scanned19_22_1_, orderlines0_.assignedqty AS assigne20_22_1_, orderlines0_.checkedqty AS checked21_22_1_, orderlines0_.backorderqty AS backord22_22_1_, orderlines0_.cancelqty AS cancelq23_22_1_, orderlines0_.reducedqty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliverydate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapcustomerid AS sapcust29_22_1_, orderlines0_.billtotype AS billtot30_22_1_, orderlines0_.barcodedate AS barcode31_22_1_, orderlines0_.barcodebatch AS barcode32_22_1_, orderlines0_.patientid AS patient33_22_1_, orderlines0_.isadded AS isadded34_22_1_, orderlines0_.isnotwithinage AS isnotwi35_22_1_, orderlines0_.isunderage AS isunder36_22_1_, orderlines0_.agecheck AS agechec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.ispaperworkproblem AS ispaper40_22_1_, orderlines0_.paperworkresolution AS paperwo41_22_1_, orderlines0_.pickerid AS pickeri42_22_1_, orderlines0_.specialcare AS special43_22_1_, orderlines0_.paperworkenquirystarted AS paperwo44_22_1_, orderlines0_.paperworkenquiryfinished AS paperwo45_22_1_, orderlines0_.paperworkenquiryresponse AS paperwo46_22_1_, orderlines0_.isnewproduct AS isnewpr47_22_1_, orderlines0_.extraprocedure AS extrapr48_22_1_, orderlines0_.overaverageqtymax AS overave49_22_1_, orderlines0_.overaverageqtyresolution AS overave50_22_1_, orderlines0_.createuser AS createu51_22_1_, orderlines0_.patientalert AS patient52_22_1_, orderlines0_.itemalert AS itemale53_22_1_, orderlines0_.checkerid AS checker54_22_1_, orderlines0_.reductionsummary AS reducti55_22_1_, orderlines0_.ismetabolic AS ismetab56_22_1_, orderlines0_.rxstatus AS rxstatu57_22_1_, orderlines0_.lastregupdateusertype AS lastreg58_22_1_, orderlines0_.lastregupdateusername AS lastreg59_22_1_, orderlines0_.lastregupdatedate AS lastreg60_22_1_, orderlines0_.sapplannedshipdate AS sapplan61_22_1_, orderlines0_.sapplanneddeliverydate AS sapplan62_22_1_, orderlines0_.requestedsapquantity AS request63_22_1_, orderlines0_.orderquantity AS orderqu64_22_1_, orderlines0_.reglinecreatedusertype AS regline65_22_1_, orderlines0_.reglinecreatedusername AS regline66_22_1_, orderlines0_.reglinecreateddate AS regline67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.ismetabolicpatient AS ismetab69_22_1_, orderlines0_.addedcase AS addedca70_22_1_, orderlines0_.ordertype AS orderty71_22_1_, orderlines0_.created AS created72_22_1_, orderlines0_.updated AS updated73_22_1_, orderlines0_.rxcheckby AS rxcheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertconfirmation AS alertco77_22_1_, orderlines0_.homewardaction AS homewar78_22_1_ FROM order_lines orderlines0_ WHERE orderlines0_.order_id = '' ORDER BY orderlines0_.partdescription ASC;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 19 05 383 54ms 0ms 06 7,849 904ms 0ms 07 35,264 3s990ms 0ms 08 22,067 2s832ms 0ms 09 11,276 1s397ms 0ms 10 6,359 1s102ms 0ms 11 9,454 1s799ms 0ms 12 8,193 1s16ms 0ms 13 12,187 1s401ms 0ms 14 6,660 708ms 0ms 15 5,088 599ms 0ms 16 2,493 270ms 0ms 17 1,562 140ms 0ms [ User: pharmisight - Total duration: 16s217ms - Times executed: 128835 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s217ms - Times executed: 128835 ]
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '9330300' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208038482' ORDER BY orderlines0_.partDescription ASC;
-
SELECT orderlines0_.ORDER_ID AS ORDER_I79_20_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_0_, orderlines0_.ORDER_LINE_ID AS ORDER_LI1_22_1_, orderlines0_.routeNumber AS routeNum2_22_1_, orderlines0_.sapOrderNumber AS sapOrder3_22_1_, orderlines0_.orderNumber AS orderNum4_22_1_, orderlines0_.answerOrderNumber AS answerOr5_22_1_, orderlines0_.partCode AS partCode6_22_1_, orderlines0_.partDescription AS partDesc7_22_1_, orderlines0_.patientName AS patientN8_22_1_, orderlines0_.firstName AS firstNam9_22_1_, orderlines0_.middleName AS middleN10_22_1_, orderlines0_.lastName AS lastNam11_22_1_, orderlines0_.patientDateOfBirth AS patient12_22_1_, orderlines0_.patientPostcode AS patient13_22_1_, orderlines0_.patientPostcodePrefix AS patient14_22_1_, orderlines0_.orderQty AS orderQt15_22_1_, orderlines0_.allocQty AS allocQt16_22_1_, orderlines0_.shipQty AS shipQty17_22_1_, orderlines0_.adjustedQty AS adjuste18_22_1_, orderlines0_.scannedQty AS scanned19_22_1_, orderlines0_.assignedQty AS assigne20_22_1_, orderlines0_.checkedQty AS checked21_22_1_, orderlines0_.backOrderQty AS backOrd22_22_1_, orderlines0_.cancelQty AS cancelQ23_22_1_, orderlines0_.reducedQty AS reduced24_22_1_, orderlines0_.status AS status25_22_1_, orderlines0_.reason AS reason26_22_1_, orderlines0_.deliveryDate AS deliver27_22_1_, orderlines0_.customer AS custome28_22_1_, orderlines0_.sapCustomerId AS sapCust29_22_1_, orderlines0_.billToType AS billToT30_22_1_, orderlines0_.barcodeDate AS barcode31_22_1_, orderlines0_.barcodeBatch AS barcode32_22_1_, orderlines0_.patientId AS patient33_22_1_, orderlines0_.isAdded AS isAdded34_22_1_, orderlines0_.isNotWithinAge AS isNotWi35_22_1_, orderlines0_.isUnderAge AS isUnder36_22_1_, orderlines0_.ageCheck AS ageChec37_22_1_, orderlines0_.expired AS expired38_22_1_, orderlines0_.paperwork AS paperwo39_22_1_, orderlines0_.isPaperworkProblem AS isPaper40_22_1_, orderlines0_.paperworkResolution AS paperwo41_22_1_, orderlines0_.pickerId AS pickerI42_22_1_, orderlines0_.specialCare AS special43_22_1_, orderlines0_.paperworkEnquiryStarted AS paperwo44_22_1_, orderlines0_.paperworkEnquiryFinished AS paperwo45_22_1_, orderlines0_.paperworkEnquiryResponse AS paperwo46_22_1_, orderlines0_.isNewProduct AS isNewPr47_22_1_, orderlines0_.extraProcedure AS extraPr48_22_1_, orderlines0_.overAverageQtyMax AS overAve49_22_1_, orderlines0_.overAverageQtyResolution AS overAve50_22_1_, orderlines0_.createUser AS createU51_22_1_, orderlines0_.patientAlert AS patient52_22_1_, orderlines0_.itemAlert AS itemAle53_22_1_, orderlines0_.checkerId AS checker54_22_1_, orderlines0_.reductionSummary AS reducti55_22_1_, orderlines0_.isMetabolic AS isMetab56_22_1_, orderlines0_.rxStatus AS rxStatu57_22_1_, orderlines0_.lastRegUpdateUserType AS lastReg58_22_1_, orderlines0_.lastRegUpdateUserName AS lastReg59_22_1_, orderlines0_.lastRegUpdateDate AS lastReg60_22_1_, orderlines0_.sapPlannedShipDate AS sapPlan61_22_1_, orderlines0_.sapPlannedDeliveryDate AS sapPlan62_22_1_, orderlines0_.requestedSAPQuantity AS request63_22_1_, orderlines0_.orderQuantity AS orderQu64_22_1_, orderlines0_.regLineCreatedUserType AS regLine65_22_1_, orderlines0_.regLineCreatedUserName AS regLine66_22_1_, orderlines0_.regLineCreatedDate AS regLine67_22_1_, orderlines0_.audited AS audited68_22_1_, orderlines0_.isMetabolicPatient AS isMetab69_22_1_, orderlines0_.addedCase AS addedCa70_22_1_, orderlines0_.orderType AS orderTy71_22_1_, orderlines0_.CREATED AS CREATED72_22_1_, orderlines0_.UPDATED AS UPDATED73_22_1_, orderlines0_.rxCheckBy AS rxCheck74_22_1_, orderlines0_.note AS note75_22_1_, orderlines0_.item AS item76_22_1_, orderlines0_.alertConfirmation AS alertCo77_22_1_, orderlines0_.homewardAction AS homewar78_22_1_ FROM ORDER_LINES orderlines0_ WHERE orderlines0_.ORDER_ID = '208269642' ORDER BY orderlines0_.partDescription ASC;
Date: 2018-07-19 11:59:08 Duration: 23ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 11:59:07 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 13:39:31 Duration: 8ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
20 0ms 1s954ms 0ms 396,967 37s843ms COMMIT;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 19 00 13,287 588ms 0ms 01 12,190 333ms 0ms 02 12,171 321ms 0ms 03 12,217 346ms 0ms 04 12,194 342ms 0ms 05 14,806 486ms 0ms 06 23,852 5s208ms 0ms 07 24,321 3s348ms 0ms 08 22,386 2s943ms 0ms 09 19,656 2s45ms 0ms 10 19,937 2s165ms 0ms 11 23,036 2s818ms 0ms 12 19,592 2s263ms 0ms 13 22,679 2s873ms 0ms 14 18,481 1s689ms 0ms 15 17,811 1s772ms 0ms 16 15,047 1s47ms 0ms 17 14,447 1s294ms 0ms 18 13,832 1s419ms 0ms 19 13,905 1s403ms 0ms 20 11,882 414ms 0ms 21 13,666 1s406ms 0ms 22 13,323 966ms 0ms 23 12,249 342ms 0ms [ User: symmetricds - Total duration: 28s995ms - Times executed: 363355 ]
[ User: pharmisight - Total duration: 8s847ms - Times executed: 33612 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 37s826ms - Times executed: 396930 ]
[ Application: [unknown] - Total duration: 17ms - Times executed: 37 ]
-
COMMIT;
-
COMMIT;
-
COMMIT;
Date: 2018-07-19 06:25:06 Duration: 1s954ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 17:24:12 Duration: 63ms Database: pharmisight User: symmetricds Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
Date: 2018-07-19 06:01:51 Duration: 31ms Database: pharmisight User: pharmisight Remote: 10.10.10.1 Application: PostgreSQL JDBC Driver Bind query: yes
-
Events
Log levels
Key values
- 13,549,496 Log entries
Events distribution
Key values
- 0 PANIC entries
- 2 FATAL entries
- 7 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 5 Max number of times the same event was reported
- 9 Total events found
Rank Times reported Error 1 5 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 19 06 2 13 2 17 1 - LOG: process 7717 still waiting for ShareLock on transaction 22884290 after 1000.115 ms
- LOG: process 7717 still waiting for ShareLock on transaction 22884416 after 1000.138 ms
- LOG: process 18549 still waiting for ShareLock on transaction 22926349 after 1000.102 ms
Detail: Process holding the lock: 7495. Wait queue: 7717.
Context: while updating tuple (1365,61) in relation "flow_reports"
Statement: update FLOW_REPORTS set routeNumber=$1, roundDeliveryDate=$2, distributionPoint=$3, fullyPicked=$4, outbaseRoutesCorrectlyGrouped=$5, causeOfDelay=$6, pharmacy100CheckTime=$7, linesHeldBack=$8, packTime100=$9, replenish=$10, comment=$11, pickDateTime=$12, failedTargetPickTime=$13, actualPaperworkCompleteTime=$14, changedPickDateTime=$15, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-07-19 06:06:59 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 7705. Wait queue: 7717.
Context: while updating tuple (1365,76) in relation "flow_reports"
Statement: update FLOW_REPORTS set routeNumber=$1, roundDeliveryDate=$2, distributionPoint=$3, fullyPicked=$4, outbaseRoutesCorrectlyGrouped=$5, causeOfDelay=$6, pharmacy100CheckTime=$7, linesHeldBack=$8, packTime100=$9, replenish=$10, comment=$11, pickDateTime=$12, failedTargetPickTime=$13, actualPaperworkCompleteTime=$14, changedPickDateTime=$15, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-07-19 06:08:40 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
Detail: Process holding the lock: 18551. Wait queue: 18549.
Context: while updating tuple (1365,83) in relation "flow_reports"
Statement: update FLOW_REPORTS set routeNumber=$1, roundDeliveryDate=$2, distributionPoint=$3, fullyPicked=$4, outbaseRoutesCorrectlyGrouped=$5, causeOfDelay=$6, pharmacy100CheckTime=$7, linesHeldBack=$8, packTime100=$9, replenish=$10, comment=$11, pickDateTime=$12, failedTargetPickTime=$13, actualPaperworkCompleteTime=$14, changedPickDateTime=$15, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-07-19 13:56:41 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
2 1 FATAL: unsupported frontend protocol 65363.19778: server supports 1.0 to 3.0
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 19 03 1 - FATAL: unsupported frontend protocol 65363.19778: server supports 1.0 to 3.0
Date: 2018-07-19 03:14:37 Database: [unknown] Application: [unknown] User: [unknown] Remote: 45.33.72.47 Code:
3 1 LOG: process ... still waiting for ExclusiveLock on tuple (...) of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 19 13 1 - LOG: process 18429 still waiting for ExclusiveLock on tuple (1365,83) of relation 142522 of database 16389 after 1000.102 ms
Detail: Process holding the lock: 18549. Wait queue: 18429.
Statement: update FLOW_REPORTS set routeNumber=$1, roundDeliveryDate=$2, distributionPoint=$3, fullyPicked=$4, outbaseRoutesCorrectlyGrouped=$5, causeOfDelay=$6, pharmacy100CheckTime=$7, linesHeldBack=$8, packTime100=$9, replenish=$10, comment=$11, pickDateTime=$12, failedTargetPickTime=$13, actualPaperworkCompleteTime=$14, changedPickDateTime=$15, manuallyChangedPickTime=$16, CREATED=$17, UPDATED=$18, note=$19 where FLOW_REPORT_ID=$20Date: 2018-07-19 13:56:41 Database: pharmisight Application: PostgreSQL JDBC Driver User: pharmisight Remote: 10.10.10.1 Code:
4 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 19 00 1 - ERROR: relation "gp_id" does not exist at character 20
Statement: select gpname from gp_id
Date: 2018-07-19 00:00:16 Database: pharmisight Application: PostgreSQL JDBC Driver User: symmetricds Remote: 10.10.10.1 Code:
5 1 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL off
Times Reported Most Frequent Error / Event #5
Day Hour Count Jul 19 02 1 - FATAL: no pg_hba.conf entry for host "14.134.18.222", user "postgres", database "template0", SSL off
Date: 2018-07-19 02:20:29 Database: template0 Application: [unknown] User: postgres Remote: 14.134.18.222 Code: