-
Global information
- Generated on Sun Aug 11 04:15:14 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240810
- Parsed 292,919 log entries in 12s
- Log start from 2024-08-04 00:00:01 to 2024-08-10 23:59:15
-
Overview
Global Stats
- 338 Number of unique normalized queries
- 11,462 Number of queries
- 4d15h4m46s Total query duration
- 2024-08-04 00:16:26 First query
- 2024-08-10 23:59:15 Last query
- 5 queries/s at 2024-08-07 16:27:58 Query peak
- 4d15h4m46s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 4d15h4m46s Execute total duration
- 133 Number of events
- 10 Number of unique normalized events
- 102 Max number of times the same event was reported
- 0 Number of cancellation
- 39 Total number of automatic vacuums
- 146 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 22,143 Total number of sessions
- 53 sessions at 2024-08-06 18:43:17 Session peak
- 287d5h7m59s Total duration of sessions
- 18m40s Average duration of sessions
- 0 Average queries per session
- 18s59ms Average queries duration per session
- 18m22s Average idle time per session
- 22,143 Total number of connections
- 40 connections/s at 2024-08-09 12:42:50 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 5 queries/s Query Peak
- 2024-08-07 16:27:58 Date
SELECT Traffic
Key values
- 5 queries/s Query Peak
- 2024-08-07 16:27:58 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-08-05 14:01:10 Date
Queries duration
Key values
- 4d15h4m46s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 04 00 10 0ms 16m25s 1m39s 1s214ms 2s484ms 16m30s 01 6 0ms 1s860ms 1s369ms 1s206ms 1s320ms 1s860ms 02 6 0ms 4s335ms 1s903ms 1s386ms 2s422ms 4s335ms 03 7 0ms 6s510ms 2s791ms 2s77ms 2s433ms 6s510ms 04 3 0ms 1s307ms 1s261ms 0ms 1s183ms 2s600ms 05 50 0ms 5s421ms 2s231ms 5s421ms 16s108ms 24s949ms 06 12 0ms 33s407ms 9s65ms 1s306ms 9s561ms 53s957ms 07 10 0ms 13s237ms 4s89ms 4s362ms 4s611ms 13s237ms 08 7 0ms 4s934ms 2s187ms 1s285ms 1s359ms 4s934ms 09 24 0ms 4s857ms 2s392ms 4s276ms 5s337ms 7s961ms 10 24 0ms 33s433ms 6s287ms 8s565ms 20s702ms 53s931ms 11 13 0ms 5s429ms 3s360ms 1s182ms 1s800ms 36s107ms 12 8 0ms 5s164ms 3s232ms 3s945ms 4s944ms 5s216ms 13 19 0ms 7s524ms 3s552ms 1s906ms 6s403ms 49s431ms 14 21 0ms 33s339ms 5s700ms 6s877ms 41s278ms 54s305ms 15 12 0ms 5s222ms 2s227ms 2s444ms 3s873ms 5s222ms 16 12 0ms 4s3ms 1s798ms 1s286ms 3s796ms 6s217ms 17 11 0ms 6s189ms 3s784ms 4s121ms 4s511ms 6s189ms 18 27 0ms 33s405ms 4s862ms 5s42ms 41s374ms 54s990ms 19 9 0ms 3s872ms 1s549ms 1s264ms 2s304ms 5s141ms 20 17 0ms 41s350ms 24s505ms 42s107ms 1m20s 1m21s 21 86 1s173ms 42s324ms 39s693ms 1m21s 1m22s 1m22s 22 96 1s103ms 42s198ms 35s958ms 1m22s 1m22s 1m24s 23 99 1s142ms 42s409ms 35s361ms 1m22s 1m25s 1m38s Aug 05 00 98 1s35ms 16m28s 45s388ms 1m22s 1m24s 17m54s 01 93 1s224ms 44s207ms 37s10ms 1m22s 1m26s 1m29s 02 110 1s54ms 42s668ms 31s770ms 1m24s 1m28s 1m33s 03 118 1s163ms 43s427ms 30s640ms 1m24s 1m30s 1m37s 04 93 1s304ms 42s315ms 37s200ms 1m23s 1m24s 1m28s 05 107 0ms 42s376ms 20s487ms 1m23s 1m23s 1m23s 06 19 0ms 33s484ms 6s613ms 3s944ms 9s521ms 53s918ms 07 10 0ms 5s108ms 1s922ms 1s225ms 1s496ms 5s108ms 08 77 0ms 43s284ms 36s504ms 1m23s 1m25s 1m26s 09 95 1s172ms 42s675ms 36s841ms 1m24s 1m25s 1m31s 10 93 1s1ms 46s21ms 37s782ms 1m23s 1m24s 1m35s 11 92 1s126ms 54s618ms 38s117ms 1m23s 1m23s 1m36s 12 93 1s110ms 42s896ms 37s255ms 1m24s 1m24s 1m26s 13 87 1s110ms 43s64ms 39s314ms 1m23s 1m24s 1m24s 14 96 1s28ms 42s990ms 37s225ms 1m24s 1m24s 2m18s 15 111 1s8ms 42s902ms 31s846ms 1m27s 1m29s 1m54s 16 89 1s96ms 43s367ms 38s616ms 1m23s 1m24s 1m27s 17 93 1s113ms 43s108ms 37s636ms 1m24s 1m26s 1m39s 18 100 1s21ms 43s482ms 35s819ms 1m24s 1m25s 2m4s 19 85 1s119ms 43s849ms 40s459ms 1m23s 1m24s 1m24s 20 92 1s68ms 43s115ms 37s494ms 1m24s 1m25s 1m26s 21 93 1s23ms 43s586ms 37s614ms 1m24s 1m25s 1m27s 22 90 1s15ms 43s205ms 38s195ms 1m24s 1m24s 1m25s 23 98 1s147ms 43s80ms 35s424ms 1m24s 1m25s 1m26s Aug 06 00 90 1s135ms 16m23s 49s250ms 1m24s 1m25s 17m10s 01 91 1s127ms 43s515ms 37s879ms 1m25s 1m26s 1m29s 02 99 1s16ms 2m3s 36s642ms 1m26s 1m31s 2m45s 03 106 1s10ms 43s642ms 33s161ms 1m25s 1m27s 1m59s 04 106 1s35ms 43s389ms 32s923ms 1m26s 1m26s 1m32s 05 101 0ms 43s486ms 21s447ms 1m25s 1m25s 1m33s 06 28 0ms 33s510ms 5s787ms 6s582ms 15s752ms 54s61ms 07 26 0ms 10s792ms 2s701ms 4s7ms 5s15ms 10s792ms 08 19 0ms 5s647ms 2s617ms 5s40ms 5s342ms 6s64ms 09 23 0ms 7s388ms 3s273ms 5s185ms 5s407ms 15s465ms 10 21 0ms 33s429ms 6s3ms 4s31ms 9s510ms 53s937ms 11 7 0ms 7s287ms 2s695ms 1s231ms 2s848ms 7s287ms 12 2 0ms 3s585ms 2s370ms 0ms 0ms 3s585ms 13 7 0ms 3s955ms 1s820ms 1s242ms 1s912ms 3s955ms 14 27 0ms 33s400ms 6s103ms 8s76ms 9s529ms 54s144ms 15 3 0ms 3s979ms 3s187ms 0ms 0ms 7s929ms 16 4 0ms 4s60ms 2s432ms 0ms 1s176ms 4s60ms 17 7 0ms 6s32ms 3s241ms 3s851ms 5s259ms 6s32ms 18 12 0ms 33s344ms 9s117ms 0ms 10s871ms 53s930ms 19 3 0ms 3s117ms 2s94ms 0ms 1s356ms 3s117ms 20 5 0ms 3s929ms 1s802ms 1s12ms 1s322ms 3s929ms 21 6 0ms 2s888ms 1s562ms 1s188ms 1s356ms 2s888ms 22 4 0ms 1s323ms 1s306ms 0ms 1s301ms 2s598ms 23 31 0ms 43s176ms 37s2ms 1m23s 1m24s 1m27s Aug 07 00 95 1s162ms 16m24s 47s260ms 1m24s 1m26s 17m11s 01 101 1s130ms 44s549ms 35s114ms 1m27s 1m29s 2m11s 02 96 1s97ms 43s363ms 36s472ms 1m26s 1m26s 1m28s 03 95 1s147ms 43s910ms 36s481ms 1m25s 1m27s 1m33s 04 90 1s186ms 43s362ms 38s482ms 1m25s 1m25s 1m30s 05 100 0ms 43s653ms 21s482ms 1m24s 1m25s 1m28s 06 105 1s14ms 43s878ms 33s911ms 1m26s 1m26s 2m14s 07 90 1s178ms 44s79ms 38s747ms 1m26s 1m27s 1m30s 08 97 1s134ms 44s828ms 35s832ms 1m25s 1m30s 1m31s 09 96 1s154ms 43s853ms 36s98ms 1m27s 1m27s 1m28s 10 104 0ms 4m28s 36s551ms 1m28s 1m30s 5m11s 11 107 1s120ms 15m10s 41s432ms 1m28s 1m31s 15m55s 12 96 1s134ms 44s596ms 36s467ms 1m26s 1m30s 1m37s 13 96 1s86ms 44s204ms 36s119ms 1m26s 1m27s 1m29s 14 102 1s23ms 44s712ms 35s223ms 1m26s 1m31s 2m22s 15 105 1s16ms 45s206ms 33s617ms 1m27s 1m35s 1m40s 16 124 1s68ms 45s828ms 29s987ms 1m28s 1m36s 3m49s 17 88 1s161ms 44s502ms 39s133ms 1m27s 1m29s 1m32s 18 109 1s2ms 44s739ms 33s372ms 1m30s 1m32s 2m25s 19 100 1s117ms 44s727ms 34s563ms 1m27s 1m28s 1m30s 20 92 1s106ms 45s444ms 38s208ms 1m28s 1m28s 1m39s 21 92 1s5ms 47s181ms 37s724ms 1m27s 1m27s 1m32s 22 94 1s176ms 45s127ms 36s776ms 1m27s 1m28s 1m31s 23 93 1s131ms 44s640ms 37s648ms 1m27s 1m28s 1m30s Aug 08 00 88 1s147ms 16m25s 50s484ms 1m27s 1m28s 17m20s 01 95 1s63ms 45s231ms 36s530ms 1m27s 1m29s 1m37s 02 93 1s8ms 45s181ms 37s194ms 1m27s 1m28s 1m33s 03 111 1s91ms 45s185ms 32s605ms 1m28s 1m33s 2m26s 04 140 1s132ms 3m40s 47s19ms 3m25s 4m47s 7m26s 05 144 0ms 48s992ms 26s334ms 1m57s 2m31s 2m48s 06 95 1s13ms 44s951ms 36s755ms 1m28s 1m28s 2m10s 07 86 0ms 45s248ms 39s543ms 1m28s 1m29s 1m47s 08 89 1s144ms 44s950ms 38s927ms 1m29s 1m31s 1m32s 09 97 1s125ms 45s500ms 36s131ms 1m29s 1m29s 1m42s 10 105 1s16ms 45s880ms 34s20ms 1m29s 1m30s 1m37s 11 84 1s176ms 45s463ms 41s273ms 1m28s 1m29s 1m42s 12 91 1s126ms 45s365ms 38s485ms 1m28s 1m33s 1m39s 13 93 1s76ms 45s522ms 37s239ms 1m28s 1m30s 1m35s 14 97 1s24ms 45s109ms 36s621ms 1m28s 1m30s 2m2s 15 88 1s114ms 45s749ms 39s300ms 1m28s 1m29s 1m33s 16 81 1s112ms 45s615ms 42s590ms 1m28s 1m28s 1m29s 17 83 1s306ms 45s644ms 41s717ms 1m29s 1m29s 1m30s 18 95 1s15ms 45s520ms 37s543ms 1m28s 1m30s 2m10s 19 88 1s104ms 45s662ms 39s394ms 1m28s 1m29s 1m30s 20 93 1s3ms 45s515ms 37s74ms 1m29s 1m30s 1m32s 21 88 1s66ms 45s658ms 39s584ms 1m29s 1m30s 1m31s 22 105 1s106ms 11m4s 46s49ms 1m30s 1m40s 12m33s 23 99 1s127ms 45s734ms 35s892ms 1m29s 1m30s 1m39s Aug 09 00 85 1s149ms 16m27s 52s248ms 1m29s 1m32s 17m16s 01 85 1s61ms 46s150ms 40s596ms 1m29s 1m30s 1m33s 02 96 1s140ms 45s743ms 36s740ms 1m29s 1m30s 1m35s 03 100 1s130ms 46s958ms 35s63ms 1m32s 1m32s 1m33s 04 84 1s175ms 46s343ms 40s819ms 1m29s 1m30s 1m30s 05 95 0ms 3m38s 25s124ms 1m30s 1m33s 4m23s 06 54 0ms 46s172ms 27s778ms 1m29s 1m29s 1m32s 07 85 1s171ms 46s62ms 40s455ms 1m30s 1m31s 1m34s 08 96 1s29ms 10m55s 43s491ms 1m30s 1m31s 12m26s 09 103 1s24ms 46s521ms 34s233ms 1m30s 1m31s 1m34s 10 109 1s11ms 46s270ms 32s996ms 1m34s 1m36s 1m41s 11 108 1s5ms 53s896ms 32s398ms 1m31s 1m34s 1m38s 12 105 1s16ms 50s805ms 33s341ms 1m31s 1m32s 1m49s 13 98 1s128ms 46s293ms 35s901ms 1m30s 1m31s 1m40s 14 100 1s15ms 46s625ms 35s841ms 1m30s 1m31s 1m39s 15 94 1s111ms 46s414ms 37s367ms 1m30s 1m32s 1m32s 16 89 1s116ms 10m54s 53s545ms 1m31s 1m35s 11m39s 17 87 1s4ms 2m51s 41s777ms 1m31s 1m33s 3m38s 18 112 1s29ms 50s753ms 32s332ms 1m34s 1m39s 2m26s 19 100 1s104ms 46s79ms 35s688ms 1m31s 1m37s 2m3s 20 94 1s107ms 17m34s 1m 1m32s 1m34s 19m1s 21 91 1s10ms 46s537ms 37s864ms 1m32s 1m32s 1m35s 22 100 1s134ms 48s438ms 35s511ms 1m31s 1m31s 1m38s 23 93 1s3ms 47s74ms 37s336ms 1m31s 1m32s 1m38s Aug 10 00 103 1s4ms 16m29s 44s103ms 1m31s 1m32s 17m21s 01 94 1s33ms 46s494ms 37s312ms 1m31s 1m37s 1m39s 02 105 1s44ms 46s875ms 33s470ms 1m31s 1m34s 1m36s 03 84 1s12ms 47s188ms 41s206ms 1m31s 1m32s 1m34s 04 90 1s78ms 48s334ms 39s21ms 1m31s 1m32s 1m57s 05 123 0ms 3m59s 20s991ms 1m31s 1m33s 4m45s 06 20 0ms 3s949ms 1s872ms 2s662ms 3s891ms 4s404ms 07 19 0ms 3m59s 14s567ms 2s473ms 6s608ms 3m59s 08 18 0ms 15s711ms 2s987ms 3s493ms 7s674ms 15s711ms 09 32 0ms 4m9s 10s108ms 6s96ms 7s675ms 4m9s 10 19 0ms 6s213ms 2s712ms 5s87ms 5s315ms 6s213ms 11 23 0ms 38s574ms 4s702ms 5s287ms 6s312ms 40s573ms 12 32 0ms 6s493ms 2s522ms 5s414ms 7s873ms 13s138ms 13 55 0ms 19s312ms 3s876ms 8s893ms 10s238ms 32s13ms 14 8 0ms 5s411ms 1s796ms 1s182ms 1s449ms 5s411ms 15 7 0ms 3s985ms 1s994ms 1s222ms 3s973ms 3s985ms 16 7 0ms 1s622ms 1s285ms 1s190ms 1s312ms 1s622ms 17 10 0ms 5s55ms 2s158ms 1s924ms 3s285ms 5s55ms 18 28 0ms 1m10s 14s215ms 58s601ms 1m5s 1m10s 19 55 0ms 23m37s 1m26s 1m55s 7m8s 24m 20 5 0ms 1s156ms 1s113ms 1s27ms 1s131ms 1s156ms 21 4 0ms 1s477ms 1s328ms 0ms 1s453ms 2s716ms 22 6 0ms 1s264ms 1s186ms 1s134ms 1s201ms 2s326ms 23 8 0ms 5s134ms 1s687ms 1s178ms 1s188ms 5s134ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 04 00 9 0 1m50s 1s80ms 1s214ms 16m25s 01 6 0 1s369ms 0ms 1s206ms 1s860ms 02 6 0 1s903ms 0ms 1s386ms 4s335ms 03 7 0 2s791ms 0ms 2s77ms 6s510ms 04 3 0 1s261ms 0ms 0ms 2s600ms 05 47 0 2s207ms 1s993ms 5s421ms 24s949ms 06 2 10 9s65ms 0ms 1s306ms 53s957ms 07 10 0 4s89ms 1s199ms 4s362ms 13s237ms 08 7 0 2s187ms 0ms 1s285ms 4s934ms 09 24 0 2s392ms 1s382ms 4s276ms 7s961ms 10 14 10 6s287ms 1s355ms 8s565ms 53s931ms 11 13 0 3s360ms 0ms 1s182ms 36s107ms 12 8 0 3s232ms 0ms 3s945ms 5s216ms 13 19 0 3s552ms 1s292ms 1s906ms 49s431ms 14 11 10 5s700ms 1s190ms 6s877ms 54s305ms 15 12 0 2s227ms 1s324ms 2s444ms 5s222ms 16 12 0 1s798ms 1s8ms 1s286ms 6s217ms 17 11 0 3s784ms 2s865ms 4s121ms 6s189ms 18 17 10 4s862ms 2s331ms 5s42ms 53s852ms 19 9 0 1s549ms 0ms 1s264ms 5s141ms 20 17 0 24s505ms 3s376ms 42s107ms 1m21s 21 86 0 39s693ms 1m20s 1m21s 1m22s 22 96 0 35s958ms 1m21s 1m22s 1m23s 23 99 0 35s361ms 1m22s 1m22s 1m26s Aug 05 00 97 0 45s804ms 1m22s 1m22s 1m25s 01 93 0 37s10ms 1m22s 1m22s 1m27s 02 110 0 31s770ms 1m22s 1m24s 1m30s 03 118 0 30s640ms 1m23s 1m24s 1m31s 04 93 0 37s200ms 1m22s 1m23s 1m24s 05 103 0 21s198ms 1m21s 1m23s 1m23s 06 8 10 6s874ms 1s306ms 3s944ms 53s918ms 07 10 0 1s922ms 0ms 1s225ms 3s886ms 08 77 0 36s504ms 1m23s 1m23s 1m25s 09 95 0 36s841ms 1m23s 1m24s 1m25s 10 83 10 37s782ms 1m22s 1m23s 1m24s 11 92 0 38s117ms 1m23s 1m23s 1m24s 12 93 0 37s255ms 1m23s 1m24s 1m25s 13 87 0 39s314ms 1m23s 1m23s 1m24s 14 87 9 37s225ms 1m23s 1m24s 1m24s 15 111 0 31s846ms 1m23s 1m27s 1m34s 16 89 0 38s616ms 1m23s 1m23s 1m24s 17 93 0 37s636ms 1m23s 1m24s 1m27s 18 91 9 35s819ms 1m23s 1m24s 1m25s 19 85 0 40s459ms 1m23s 1m23s 1m24s 20 92 0 37s494ms 1m23s 1m24s 1m25s 21 93 0 37s614ms 1m23s 1m24s 1m25s 22 90 0 38s195ms 1m24s 1m24s 1m25s 23 98 0 35s424ms 1m24s 1m24s 1m25s Aug 06 00 89 0 49s747ms 1m23s 1m24s 1m25s 01 91 0 37s879ms 1m24s 1m25s 1m27s 02 99 0 36s642ms 1m25s 1m26s 1m32s 03 106 0 33s161ms 1m24s 1m25s 1m29s 04 106 0 32s923ms 1m25s 1m26s 1m28s 05 97 0 22s243ms 1m24s 1m25s 1m25s 06 14 10 6s204ms 2s146ms 3s996ms 41s499ms 07 26 0 2s701ms 2s764ms 4s7ms 5s876ms 08 19 0 2s617ms 1s251ms 5s40ms 6s64ms 09 23 0 3s273ms 3s987ms 5s185ms 6s919ms 10 11 10 6s3ms 1s198ms 4s31ms 53s937ms 11 7 0 2s695ms 0ms 1s231ms 7s287ms 12 2 0 2s370ms 0ms 0ms 3s585ms 13 5 0 1s779ms 0ms 1s174ms 3s955ms 14 17 10 6s103ms 3s948ms 8s76ms 54s144ms 15 3 0 3s187ms 0ms 0ms 7s929ms 16 3 0 2s130ms 0ms 0ms 4s60ms 17 7 0 3s241ms 0ms 3s851ms 6s32ms 18 2 10 9s117ms 0ms 1s313ms 53s930ms 19 3 0 2s94ms 0ms 0ms 3s117ms 20 5 0 1s802ms 0ms 1s12ms 3s929ms 21 6 0 1s562ms 0ms 1s188ms 2s888ms 22 4 0 1s306ms 0ms 0ms 2s598ms 23 31 0 37s2ms 43s17ms 1m23s 1m27s Aug 07 00 94 0 47s712ms 1m24s 1m24s 1m27s 01 101 0 35s114ms 1m24s 1m27s 1m30s 02 96 0 36s472ms 1m24s 1m26s 1m28s 03 95 0 36s481ms 1m24s 1m25s 1m27s 04 90 0 38s482ms 1m24s 1m25s 1m26s 05 97 0 22s68ms 1m22s 1m24s 1m27s 06 95 10 33s911ms 1m25s 1m25s 1m26s 07 90 0 38s747ms 1m25s 1m26s 1m28s 08 97 0 35s832ms 1m24s 1m25s 1m31s 09 96 0 36s98ms 1m25s 1m27s 1m28s 10 94 10 36s551ms 1m26s 1m27s 1m30s 11 107 0 41s432ms 1m26s 1m28s 1m32s 12 96 0 36s467ms 1m26s 1m26s 1m35s 13 96 0 36s119ms 1m25s 1m26s 1m28s 14 92 10 35s223ms 1m26s 1m26s 1m31s 15 105 0 33s617ms 1m25s 1m27s 1m39s 16 124 0 29s987ms 1m26s 1m28s 1m48s 17 88 0 39s133ms 1m26s 1m27s 1m29s 18 99 10 33s372ms 1m26s 1m30s 1m32s 19 100 0 34s563ms 1m26s 1m27s 1m29s 20 92 0 38s208ms 1m27s 1m28s 1m34s 21 92 0 37s724ms 1m26s 1m27s 1m28s 22 94 0 36s776ms 1m26s 1m27s 1m30s 23 93 0 37s648ms 1m26s 1m27s 1m28s Aug 08 00 86 0 51s577ms 1m26s 1m27s 1m28s 01 94 0 36s898ms 1m27s 1m27s 1m30s 02 92 0 37s577ms 1m27s 1m27s 1m29s 03 111 0 32s605ms 1m27s 1m28s 1m39s 04 140 0 47s19ms 3m11s 3m25s 5m27s 05 141 0 26s839ms 1m29s 1m57s 2m31s 06 87 8 36s755ms 1m27s 1m28s 1m28s 07 86 0 39s543ms 1m27s 1m28s 1m29s 08 89 0 38s927ms 1m28s 1m29s 1m32s 09 97 0 36s131ms 1m28s 1m29s 1m31s 10 95 10 34s20ms 1m28s 1m28s 1m30s 11 84 0 41s273ms 1m27s 1m28s 1m31s 12 91 0 38s485ms 1m27s 1m28s 1m34s 13 93 0 37s239ms 1m27s 1m28s 1m32s 14 90 7 36s621ms 1m28s 1m28s 1m30s 15 88 0 39s300ms 1m28s 1m28s 1m29s 16 81 0 42s590ms 1m28s 1m28s 1m29s 17 83 0 41s717ms 1m28s 1m29s 1m29s 18 85 10 37s543ms 1m28s 1m28s 1m29s 19 88 0 39s394ms 1m28s 1m28s 1m29s 20 93 0 37s74ms 1m28s 1m29s 1m31s 21 88 0 39s584ms 1m28s 1m29s 1m30s 22 105 0 46s49ms 1m28s 1m30s 11m43s 23 99 0 35s892ms 1m29s 1m29s 1m37s Aug 09 00 84 0 52s809ms 1m28s 1m29s 1m39s 01 85 0 40s596ms 1m28s 1m29s 1m32s 02 96 0 36s740ms 1m28s 1m29s 1m33s 03 100 0 35s63ms 1m29s 1m32s 1m32s 04 84 0 40s819ms 1m29s 1m29s 1m30s 05 90 0 26s395ms 1m28s 1m30s 1m33s 06 44 10 27s778ms 45s987ms 1m29s 1m31s 07 85 0 40s455ms 1m29s 1m30s 1m31s 08 96 0 43s491ms 1m29s 1m30s 1m35s 09 103 0 34s233ms 1m29s 1m30s 1m32s 10 99 10 32s996ms 1m30s 1m32s 1m36s 11 108 0 32s398ms 1m30s 1m31s 1m35s 12 105 0 33s341ms 1m29s 1m31s 1m33s 13 98 0 35s901ms 1m29s 1m30s 1m35s 14 90 10 35s841ms 1m29s 1m30s 1m31s 15 94 0 37s367ms 1m29s 1m30s 1m32s 16 89 0 53s545ms 1m30s 1m31s 11m29s 17 86 0 42s224ms 1m30s 1m31s 1m34s 18 102 10 32s332ms 1m29s 1m31s 1m37s 19 100 0 35s688ms 1m29s 1m31s 1m38s 20 92 0 1m1s 1m30s 1m32s 18m19s 21 91 0 37s864ms 1m30s 1m32s 1m32s 22 100 0 35s511ms 1m30s 1m31s 1m32s 23 93 0 37s336ms 1m30s 1m31s 1m33s Aug 10 00 102 0 44s485ms 1m30s 1m31s 1m36s 01 94 0 37s312ms 1m30s 1m31s 1m37s 02 104 0 33s765ms 1m31s 1m31s 1m35s 03 84 0 41s206ms 1m30s 1m31s 1m32s 04 89 0 39s423ms 1m30s 1m31s 1m32s 05 120 0 21s452ms 51s712ms 1m31s 2m49s 06 20 0 1s872ms 2s76ms 2s662ms 4s404ms 07 19 0 14s567ms 1s335ms 2s473ms 3m59s 08 18 0 2s987ms 1s493ms 3s493ms 15s711ms 09 32 0 10s108ms 3s554ms 6s96ms 4m9s 10 19 0 2s712ms 1s945ms 5s87ms 6s213ms 11 23 0 4s702ms 2s970ms 5s287ms 40s573ms 12 30 0 2s563ms 3s433ms 5s414ms 11s208ms 13 55 0 3s876ms 7s515ms 8s893ms 32s13ms 14 8 0 1s796ms 0ms 1s182ms 5s411ms 15 7 0 1s994ms 0ms 1s222ms 3s985ms 16 7 0 1s285ms 0ms 1s190ms 1s622ms 17 10 0 2s158ms 1s124ms 1s924ms 5s55ms 18 3 25 14s215ms 1s199ms 58s601ms 1m10s 19 9 46 1m26s 1m4s 1m55s 23m39s 20 5 0 1s113ms 0ms 1s27ms 1s156ms 21 4 0 1s328ms 0ms 0ms 2s716ms 22 6 0 1s186ms 0ms 1s134ms 2s326ms 23 8 0 1s687ms 0ms 1s178ms 5s134ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 04 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 05 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 06 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 07 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 08 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 09 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 10 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Aug 04 00 0 8 8.00 0.00% 01 0 6 6.00 0.00% 02 0 6 6.00 0.00% 03 0 7 7.00 0.00% 04 0 3 3.00 0.00% 05 0 50 50.00 0.00% 06 0 2 2.00 0.00% 07 0 11 11.00 0.00% 08 0 8 8.00 0.00% 09 0 24 24.00 0.00% 10 0 14 14.00 0.00% 11 0 13 13.00 0.00% 12 0 8 8.00 0.00% 13 0 19 19.00 0.00% 14 0 11 11.00 0.00% 15 0 12 12.00 0.00% 16 0 12 12.00 0.00% 17 0 12 12.00 0.00% 18 0 17 17.00 0.00% 19 0 9 9.00 0.00% 20 0 17 17.00 0.00% 21 0 86 86.00 0.00% 22 0 96 96.00 0.00% 23 0 99 99.00 0.00% Aug 05 00 0 96 96.00 0.00% 01 0 93 93.00 0.00% 02 0 110 110.00 0.00% 03 0 118 118.00 0.00% 04 0 93 93.00 0.00% 05 0 107 107.00 0.00% 06 0 13 13.00 0.00% 07 0 13 13.00 0.00% 08 0 77 77.00 0.00% 09 0 95 95.00 0.00% 10 0 83 83.00 0.00% 11 0 92 92.00 0.00% 12 0 93 93.00 0.00% 13 0 87 87.00 0.00% 14 0 87 87.00 0.00% 15 0 111 111.00 0.00% 16 0 89 89.00 0.00% 17 0 93 93.00 0.00% 18 0 91 91.00 0.00% 19 0 85 85.00 0.00% 20 0 92 92.00 0.00% 21 0 93 93.00 0.00% 22 0 90 90.00 0.00% 23 0 98 98.00 0.00% Aug 06 00 0 88 88.00 0.00% 01 0 91 91.00 0.00% 02 0 99 99.00 0.00% 03 0 106 106.00 0.00% 04 0 106 106.00 0.00% 05 0 103 103.00 0.00% 06 0 23 23.00 0.00% 07 0 30 30.00 0.00% 08 0 20 20.00 0.00% 09 0 24 24.00 0.00% 10 0 11 11.00 0.00% 11 0 8 8.00 0.00% 12 0 2 2.00 0.00% 13 0 7 7.00 0.00% 14 0 17 17.00 0.00% 15 0 3 3.00 0.00% 16 0 4 4.00 0.00% 17 0 7 7.00 0.00% 18 0 2 2.00 0.00% 19 0 3 3.00 0.00% 20 0 5 5.00 0.00% 21 0 6 6.00 0.00% 22 0 4 4.00 0.00% 23 0 31 31.00 0.00% Aug 07 00 0 93 93.00 0.00% 01 0 101 101.00 0.00% 02 0 96 96.00 0.00% 03 0 95 95.00 0.00% 04 0 90 90.00 0.00% 05 0 100 100.00 0.00% 06 0 95 95.00 0.00% 07 0 90 90.00 0.00% 08 0 97 97.00 0.00% 09 0 96 96.00 0.00% 10 0 95 95.00 0.00% 11 0 107 107.00 0.00% 12 0 96 96.00 0.00% 13 0 96 96.00 0.00% 14 0 92 92.00 0.00% 15 0 105 105.00 0.00% 16 0 124 124.00 0.00% 17 0 88 88.00 0.00% 18 0 99 99.00 0.00% 19 0 100 100.00 0.00% 20 0 92 92.00 0.00% 21 0 92 92.00 0.00% 22 0 94 94.00 0.00% 23 0 93 93.00 0.00% Aug 08 00 0 86 86.00 0.00% 01 0 95 95.00 0.00% 02 0 93 93.00 0.00% 03 0 111 111.00 0.00% 04 0 140 140.00 0.00% 05 0 147 147.00 0.00% 06 0 88 88.00 0.00% 07 0 88 88.00 0.00% 08 0 89 89.00 0.00% 09 0 97 97.00 0.00% 10 0 95 95.00 0.00% 11 0 84 84.00 0.00% 12 0 91 91.00 0.00% 13 0 93 93.00 0.00% 14 0 91 91.00 0.00% 15 0 88 88.00 0.00% 16 0 81 81.00 0.00% 17 0 83 83.00 0.00% 18 0 85 85.00 0.00% 19 0 88 88.00 0.00% 20 0 93 93.00 0.00% 21 0 88 88.00 0.00% 22 0 105 105.00 0.00% 23 0 99 99.00 0.00% Aug 09 00 0 83 83.00 0.00% 01 0 85 85.00 0.00% 02 0 96 96.00 0.00% 03 0 100 100.00 0.00% 04 0 84 84.00 0.00% 05 0 95 95.00 0.00% 06 0 44 44.00 0.00% 07 0 85 85.00 0.00% 08 0 96 96.00 0.00% 09 0 103 103.00 0.00% 10 0 99 99.00 0.00% 11 0 108 108.00 0.00% 12 0 105 105.00 0.00% 13 0 98 98.00 0.00% 14 0 90 90.00 0.00% 15 0 93 93.00 0.00% 16 0 89 89.00 0.00% 17 0 85 85.00 0.00% 18 0 102 102.00 0.00% 19 0 100 100.00 0.00% 20 0 94 94.00 0.00% 21 0 91 91.00 0.00% 22 0 100 100.00 0.00% 23 0 93 93.00 0.00% Aug 10 00 0 101 101.00 0.00% 01 0 94 94.00 0.00% 02 0 105 105.00 0.00% 03 0 84 84.00 0.00% 04 0 90 90.00 0.00% 05 0 123 123.00 0.00% 06 0 20 20.00 0.00% 07 0 19 19.00 0.00% 08 0 18 18.00 0.00% 09 0 32 32.00 0.00% 10 0 19 19.00 0.00% 11 0 23 23.00 0.00% 12 0 32 32.00 0.00% 13 0 55 55.00 0.00% 14 0 8 8.00 0.00% 15 0 7 7.00 0.00% 16 0 7 7.00 0.00% 17 0 10 10.00 0.00% 18 0 3 3.00 0.00% 19 0 9 9.00 0.00% 20 0 5 5.00 0.00% 21 0 4 4.00 0.00% 22 0 6 6.00 0.00% 23 0 8 8.00 0.00% Day Hour Count Average / Second Aug 04 00 76 0.02/s 01 78 0.02/s 02 79 0.02/s 03 81 0.02/s 04 79 0.02/s 05 93 0.03/s 06 81 0.02/s 07 82 0.02/s 08 77 0.02/s 09 116 0.03/s 10 145 0.04/s 11 76 0.02/s 12 82 0.02/s 13 72 0.02/s 14 78 0.02/s 15 77 0.02/s 16 78 0.02/s 17 74 0.02/s 18 76 0.02/s 19 80 0.02/s 20 86 0.02/s 21 158 0.04/s 22 166 0.05/s 23 163 0.05/s Aug 05 00 172 0.05/s 01 166 0.05/s 02 164 0.05/s 03 164 0.05/s 04 165 0.05/s 05 143 0.04/s 06 80 0.02/s 07 78 0.02/s 08 148 0.04/s 09 161 0.04/s 10 184 0.05/s 11 158 0.04/s 12 160 0.04/s 13 157 0.04/s 14 160 0.04/s 15 169 0.05/s 16 152 0.04/s 17 155 0.04/s 18 166 0.05/s 19 160 0.04/s 20 160 0.04/s 21 154 0.04/s 22 161 0.04/s 23 173 0.05/s Aug 06 00 160 0.04/s 01 160 0.04/s 02 156 0.04/s 03 162 0.04/s 04 158 0.04/s 05 135 0.04/s 06 87 0.02/s 07 104 0.03/s 08 78 0.02/s 09 80 0.02/s 10 83 0.02/s 11 76 0.02/s 12 83 0.02/s 13 77 0.02/s 14 80 0.02/s 15 73 0.02/s 16 74 0.02/s 17 75 0.02/s 18 80 0.02/s 19 74 0.02/s 20 75 0.02/s 21 73 0.02/s 22 78 0.02/s 23 105 0.03/s Aug 07 00 180 0.05/s 01 164 0.05/s 02 155 0.04/s 03 160 0.04/s 04 155 0.04/s 05 139 0.04/s 06 155 0.04/s 07 165 0.05/s 08 163 0.05/s 09 156 0.04/s 10 158 0.04/s 11 159 0.04/s 12 159 0.04/s 13 173 0.05/s 14 158 0.04/s 15 157 0.04/s 16 167 0.05/s 17 157 0.04/s 18 156 0.04/s 19 154 0.04/s 20 153 0.04/s 21 157 0.04/s 22 163 0.05/s 23 156 0.04/s Aug 08 00 166 0.05/s 01 162 0.04/s 02 155 0.04/s 03 162 0.04/s 04 160 0.04/s 05 165 0.05/s 06 158 0.04/s 07 154 0.04/s 08 159 0.04/s 09 158 0.04/s 10 165 0.05/s 11 160 0.04/s 12 171 0.05/s 13 158 0.04/s 14 153 0.04/s 15 152 0.04/s 16 154 0.04/s 17 155 0.04/s 18 160 0.04/s 19 160 0.04/s 20 163 0.05/s 21 154 0.04/s 22 163 0.05/s 23 153 0.04/s Aug 09 00 159 0.04/s 01 155 0.04/s 02 156 0.04/s 03 168 0.05/s 04 158 0.04/s 05 136 0.04/s 06 113 0.03/s 07 159 0.04/s 08 163 0.05/s 09 148 0.04/s 10 156 0.04/s 11 171 0.05/s 12 212 0.06/s 13 153 0.04/s 14 156 0.04/s 15 153 0.04/s 16 154 0.04/s 17 157 0.04/s 18 184 0.05/s 19 155 0.04/s 20 154 0.04/s 21 147 0.04/s 22 166 0.05/s 23 158 0.04/s Aug 10 00 157 0.04/s 01 150 0.04/s 02 151 0.04/s 03 148 0.04/s 04 162 0.04/s 05 172 0.05/s 06 84 0.02/s 07 79 0.02/s 08 80 0.02/s 09 79 0.02/s 10 78 0.02/s 11 85 0.02/s 12 82 0.02/s 13 86 0.02/s 14 78 0.02/s 15 76 0.02/s 16 79 0.02/s 17 77 0.02/s 18 79 0.02/s 19 77 0.02/s 20 78 0.02/s 21 73 0.02/s 22 77 0.02/s 23 77 0.02/s Day Hour Count Average Duration Average idle time Aug 04 00 76 31m24s 31m11s 01 78 31m52s 31m52s 02 79 30m53s 30m53s 03 81 29m41s 29m41s 04 79 30m51s 30m51s 05 93 25m52s 25m51s 06 81 29m40s 29m39s 07 82 29m58s 29m57s 08 77 31m40s 31m40s 09 116 20m50s 20m50s 10 145 17m18s 17m17s 11 76 30m24s 30m24s 12 82 29m54s 29m53s 13 72 31m59s 31m58s 14 78 31m25s 31m23s 15 77 31m33s 31m32s 16 78 30m51s 30m51s 17 74 30m3s 30m2s 18 76 30m41s 30m39s 19 80 30m 30m 20 86 27m55s 27m50s 21 157 14m47s 14m26s 22 166 15m7s 14m47s 23 164 14m58s 14m37s Aug 05 00 172 14m23s 13m57s 01 165 15m1s 14m40s 02 164 14m52s 14m31s 03 164 15m2s 14m40s 04 165 14m53s 14m32s 05 144 16m34s 16m19s 06 80 29m49s 29m47s 07 78 31m15s 31m14s 08 144 17m31s 17m12s 09 162 15m15s 14m54s 10 183 13m39s 13m20s 11 158 15m15s 14m53s 12 160 15m5s 14m43s 13 157 15m50s 15m28s 14 161 15m13s 14m51s 15 168 14m39s 14m18s 16 152 14m42s 14m19s 17 156 15m7s 14m45s 18 165 15m11s 14m49s 19 160 15m19s 14m57s 20 162 23m50s 23m29s 21 156 20m11s 19m49s 22 160 15m21s 15m 23 173 14m35s 14m15s Aug 06 00 160 15m36s 15m9s 01 160 15m16s 14m55s 02 157 15m27s 15m4s 03 161 15m28s 15m6s 04 158 15m19s 14m57s 05 136 16m40s 16m24s 06 87 27m1s 26m59s 07 104 24m2s 24m2s 08 78 31m19s 31m18s 09 79 30m27s 30m26s 10 83 29m4s 29m3s 11 77 33m12s 33m12s 12 78 31m36s 31m36s 13 77 31m3s 31m3s 14 80 30m47s 30m45s 15 73 31m37s 31m37s 16 74 31m44s 31m44s 17 75 31m35s 31m35s 18 85 50m52s 50m50s 19 74 31m52s 31m52s 20 75 31m50s 31m50s 21 73 31m 31m 22 78 31m15s 31m15s 23 104 23m59s 23m48s Aug 07 00 181 13m48s 13m23s 01 163 14m50s 14m28s 02 156 15m21s 14m58s 03 160 15m30s 15m8s 04 154 15m57s 15m35s 05 140 16m46s 16m30s 06 154 15m36s 15m13s 07 166 15m45s 15m24s 08 162 15m 14m38s 09 156 15m44s 15m21s 10 158 15m9s 14m45s 11 159 15m53s 15m25s 12 159 15m35s 15m13s 13 173 14m6s 13m46s 14 158 14m43s 14m21s 15 157 15m12s 14m49s 16 168 15m14s 14m51s 17 156 15m8s 14m46s 18 157 15m46s 15m23s 19 153 15m47s 15m25s 20 153 15m44s 15m21s 21 157 14m51s 14m29s 22 163 14m59s 14m38s 23 157 15m24s 15m2s Aug 08 00 166 15m30s 15m3s 01 161 14m41s 14m20s 02 155 16m 15m37s 03 162 15m33s 15m10s 04 159 15m26s 14m45s 05 167 14m15s 13m52s 06 157 15m37s 15m14s 07 155 15m26s 15m4s 08 158 15m33s 15m11s 09 158 15m30s 15m7s 10 165 15m15s 14m54s 11 160 15m10s 14m48s 12 171 14m23s 14m3s 13 158 15m5s 14m43s 14 153 15m13s 14m50s 15 152 15m52s 15m29s 16 154 15m41s 15m19s 17 155 16m8s 15m46s 18 160 15m38s 15m16s 19 160 15m14s 14m53s 20 163 15m17s 14m56s 21 154 14m59s 14m36s 22 163 15m8s 14m38s 23 153 15m38s 15m15s Aug 09 00 159 15m56s 15m28s 01 155 15m55s 15m33s 02 156 15m40s 15m17s 03 169 14m22s 14m1s 04 157 15m34s 15m13s 05 137 17m38s 17m21s 06 113 20m47s 20m33s 07 158 16m5s 15m44s 08 163 15m24s 14m58s 09 149 16m34s 16m10s 10 156 15m7s 14m44s 11 170 14m28s 14m8s 12 212 11m17s 11m 13 152 15m13s 14m49s 14 155 16m1s 15m38s 15 153 15m56s 15m33s 16 154 15m56s 15m25s 17 152 15m59s 15m36s 18 183 13m38s 13m18s 19 156 18m39s 18m16s 20 160 20m9s 19m34s 21 148 17m43s 17m20s 22 166 15m19s 14m57s 23 158 15m35s 15m13s Aug 10 00 157 15m52s 15m23s 01 150 16m17s 15m54s 02 151 16m6s 15m42s 03 148 16m18s 15m55s 04 162 15m 14m38s 05 173 14m38s 14m23s 06 83 28m42s 28m42s 07 80 30m41s 30m37s 08 79 30m16s 30m15s 09 80 30m23s 30m18s 10 78 30m38s 30m37s 11 85 27m6s 27m5s 12 82 28m24s 28m23s 13 86 28m26s 28m24s 14 78 30m42s 30m42s 15 76 31m7s 31m7s 16 79 30m47s 30m47s 17 77 31m1s 31m1s 18 78 31m1s 30m56s 19 78 32m14s 31m13s 20 78 31m2s 31m2s 21 73 31m18s 31m18s 22 77 31m3s 31m3s 23 77 30m55s 30m55s -
Connections
Established Connections
Key values
- 40 connections Connection Peak
- 2024-08-09 12:42:50 Date
Connections per database
Key values
- ctdprd51 Main Database
- 22,143 connections Total
Connections per user
Key values
- pubeu Main User
- 22,143 connections Total
-
Sessions
Simultaneous sessions
Key values
- 53 sessions Session Peak
- 2024-08-06 18:43:17 Date
Histogram of session times
Key values
- 12,244 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 22,143 sessions Total
Sessions per user
Key values
- pubeu Main User
- 22,143 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 22,143 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 11,565 59d4m23s 7m20s 10.12.5.38 2,621 56d3m24s 30m46s 10.12.5.39 2,593 56d7m23s 31m6s 10.12.5.40 1 2m59s 2m59s 10.12.5.45 2,661 55d23h53m34s 30m18s 10.12.5.46 2,632 56d1h16m18s 30m40s 192.168.201.10 14 2d9h31m50s 4h6m33s 192.168.201.14 5 1d15h56m4s 7h59m12s ::1 51 2h11m59s 2m35s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 126,128 buffers Checkpoint Peak
- 2024-08-10 12:07:38 Date
- 1620.008 seconds Highest write time
- 0.100 seconds Sync time
Checkpoints Wal files
Key values
- 40 files Wal files usage Peak
- 2024-08-10 12:07:38 Date
Checkpoints distance
Key values
- 2,293.63 Mo Distance Peak
- 2024-08-05 02:07:19 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Aug 04 00 866 86.975s 0.004s 87.095s 01 215 21.714s 0.002s 21.744s 02 268 27.036s 0.002s 27.068s 03 190 19.219s 0.002s 19.249s 04 423 42.562s 0.003s 42.592s 05 369 37.172s 0.002s 37.201s 06 438 44.078s 0.002s 44.108s 07 460 46.294s 0.003s 46.325s 08 5,421 543.128s 0.004s 543.216s 09 290 29.241s 0.002s 29.271s 10 300 30.236s 0.002s 30.316s 11 181 18.313s 0.002s 18.344s 12 964 96.769s 0.003s 96.798s 13 1,634 163.889s 0.002s 163.969s 14 500 50.286s 0.003s 50.317s 15 249 25.138s 0.002s 25.168s 16 237 23.937s 0.002s 23.967s 17 470 47.295s 0.003s 47.327s 18 198 20.031s 0.002s 20.061s 19 254 25.63s 0.002s 25.661s 20 185 18.711s 0.002s 18.742s 21 172 17.411s 0.002s 17.453s 22 308 31.043s 0.002s 31.076s 23 189 19.014s 0.002s 19.047s Aug 05 00 894 89.807s 0.004s 89.888s 01 179 18.047s 0.001s 18.063s 02 109,693 1,657.725s 0.004s 1,658.01s 03 6,047 605.851s 0.003s 605.939s 04 301 30.369s 0.002s 30.4s 05 11,504 1,152.122s 0.003s 1,152.226s 06 4,183 418.944s 0.003s 418.975s 07 638 64.11s 0.003s 64.143s 08 444 44.676s 0.003s 44.708s 09 374 37.676s 0.002s 37.707s 10 257 25.96s 0.002s 25.992s 11 350 35.266s 0.003s 35.344s 12 165 16.736s 0.002s 16.771s 13 467 46.989s 0.002s 47.019s 14 506 50.896s 0.002s 50.925s 15 239 24.144s 0.002s 24.175s 16 391 39.371s 0.002s 39.4s 17 302 30.457s 0.003s 30.487s 18 9,855 987.553s 0.002s 987.645s 19 192 19.432s 0.002s 19.464s 20 217 21.941s 0.002s 21.972s 21 60,642 1,619.293s 0.002s 1,619.484s 22 29,406 2,167.752s 0.005s 2,167.852s 23 158 16.017s 0.002s 16.048s Aug 06 00 918 92.202s 0.003s 92.282s 01 330 33.276s 0.002s 33.306s 02 361 36.389s 0.002s 36.419s 03 328 33.054s 0.002s 33.085s 04 305 30.745s 0.002s 30.783s 05 696 69.927s 0.003s 69.958s 06 5,934 594.128s 0.003s 594.212s 07 798 80.145s 0.003s 80.176s 08 593 59.604s 0.002s 59.635s 09 537 54s 0.003s 54.034s 10 2,811 281.763s 0.003s 281.842s 11 2,085 209.023s 0.002s 209.085s 12 15,222 1,524.552s 0.005s 1,524.6s 13 3,455 345.94s 0.006s 346.029s 14 329 33.142s 0.007s 33.178s 15 229 23.132s 0.002s 23.163s 16 3,833 384.009s 0.003s 384.056s 17 223 22.517s 0.002s 22.548s 18 219 22.116s 0.002s 22.147s 19 144 14.61s 0.002s 14.641s 20 121 12.295s 0.002s 12.324s 21 157 15.912s 0.002s 15.942s 22 325 32.741s 0.002s 32.771s 23 218 22.03s 0.002s 22.06s Aug 07 00 1,028 103.257s 0.003s 103.291s 01 69,793 1,629.568s 0.003s 1,629.769s 02 9,049 906.882s 0.004s 906.973s 03 1,976 198.24s 0.002s 198.312s 04 553 55.638s 0.003s 55.67s 05 387 38.969s 0.002s 39.001s 06 53,031 1,640.384s 0.003s 1,640.557s 07 556 55.897s 0.002s 55.927s 08 656 65.908s 0.004s 65.939s 09 201 20.321s 0.002s 20.353s 10 5,349 536.058s 0.003s 536.141s 11 474 47.763s 0.002s 47.792s 12 413 41.391s 0.002s 41.423s 13 4,333 434.563s 0.003s 434.643s 14 465 46.795s 0.003s 46.826s 15 883 88.687s 0.003s 88.719s 16 434 43.684s 0.002s 43.715s 17 160 16.218s 0.002s 16.249s 18 206 20.826s 0.002s 20.858s 19 151 15.329s 0.002s 15.364s 20 169 17.126s 0.002s 17.157s 21 507 51.011s 0.002s 51.084s 22 203 20.534s 0.003s 20.567s 23 157 15.914s 0.003s 15.946s Aug 08 00 890 89.394s 0.004s 89.427s 01 686 68.929s 0.003s 68.96s 02 79,867 1,633.093s 0.003s 1,633.273s 03 235 23.748s 0.002s 23.78s 04 255 25.738s 0.002s 25.769s 05 364 36.667s 0.002s 36.699s 06 4,628 463.791s 0.004s 463.875s 07 444 44.695s 0.002s 44.726s 08 51,005 1,628.952s 0.003s 1,629.122s 09 38,896 2,765.26s 0.003s 2,765.398s 10 5,426 543.852s 0.003s 543.932s 11 251 25.378s 0.002s 25.457s 12 439 44.18s 0.003s 44.21s 13 304 30.653s 0.003s 30.685s 14 332 33.448s 0.002s 33.478s 15 150 15.209s 0.002s 15.239s 16 407 40.973s 0.002s 41.004s 17 126 12.802s 0.002s 12.833s 18 186 18.822s 0.002s 18.852s 19 141 14.322s 0.002s 14.36s 20 299 30.152s 0.002s 30.184s 21 655 65.844s 0.003s 65.876s 22 5,578 558.812s 0.003s 558.893s 23 5,440 545.312s 0.003s 545.39s Aug 09 00 1,812 181.821s 0.003s 181.897s 01 237 23.95s 0.002s 23.98s 02 1,128 113.133s 0.001s 113.149s 03 112,193 1,994.056s 0.006s 1,994.249s 04 231 23.34s 0.002s 23.372s 05 1,148 115.245s 0.003s 115.325s 06 348 35.076s 0.003s 35.106s 07 5,546 539.25s 0.002s 539.411s 08 56,653 1,969.707s 0.004s 1,969.859s 09 195 19.736s 0.002s 19.766s 10 4,894 490.372s 0.001s 490.463s 11 76,047 1,637.81s 0.004s 1,638.331s 12 367 36.964s 0.002s 36.995s 13 196 19.826s 0.002s 19.856s 14 220 22.223s 0.002s 22.253s 15 401 40.368s 0.003s 40.399s 16 225 22.74s 0.003s 22.771s 17 118 12.024s 0.002s 12.057s 18 227 22.983s 0.002s 23.015s 19 150 15.223s 0.002s 15.253s 20 145 14.711s 0.002s 14.742s 21 282 28.453s 0.002s 28.482s 22 159 16.13s 0.002s 16.16s 23 204 20.633s 0.003s 20.665s Aug 10 00 873 87.707s 0.003s 87.783s 01 5,280 529.207s 0.003s 529.313s 02 206 20.856s 0.002s 20.887s 03 5,014 502.399s 0.002s 502.542s 04 1,503 150.81s 0.003s 150.845s 05 317 31.961s 0.101s 32.239s 06 33,050 1,620.008s 0.002s 1,620.193s 07 4,558 456.84s 0.003s 456.944s 08 200 20.251s 0.002s 20.282s 09 158 16.012s 0.002s 16.042s 10 235 23.731s 0.002s 23.762s 11 95 9.611s 0.001s 9.626s 12 137,984 2,806.535s 0.004s 2,807.166s 13 95 9.61s 0.001s 9.626s 14 36,434 2,205.509s 0.005s 2,205.879s 15 138 14.002s 0.002s 14.032s 16 124 12.602s 0.002s 12.633s 17 207 20.921s 0.002s 20.953s 18 125 12.705s 0.002s 12.735s 19 82 8.304s 0.001s 8.32s 20 19,018 1,639.424s 0.003s 1,639.469s 21 236 23.83s 0.002s 23.86s 22 103 10.511s 0.002s 10.542s 23 128 13.002s 0.002s 13.033s Day Hour Added Removed Recycled Synced files Longest sync Average sync Aug 04 00 0 1 0 73 0.001s 0.002s 01 0 0 0 29 0.001s 0.002s 02 0 0 0 32 0.001s 0.002s 03 0 0 0 29 0.001s 0.002s 04 0 0 0 39 0.001s 0.002s 05 0 0 0 41 0.001s 0.002s 06 0 0 0 80 0.001s 0.002s 07 0 0 0 129 0.001s 0.002s 08 0 3 0 132 0.001s 0.002s 09 0 0 0 69 0.001s 0.002s 10 0 1 0 37 0.001s 0.002s 11 0 0 0 27 0.001s 0.002s 12 0 0 0 38 0.001s 0.002s 13 0 1 0 40 0.001s 0.002s 14 0 0 0 32 0.001s 0.002s 15 0 0 0 78 0.001s 0.002s 16 0 0 0 27 0.001s 0.002s 17 0 0 0 114 0.001s 0.002s 18 0 0 0 25 0.001s 0.002s 19 0 0 0 30 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 0 0 22 0.001s 0.002s Aug 05 00 0 1 0 77 0.001s 0.002s 01 0 0 0 20 0.001s 0.001s 02 0 71 0 67 0.001s 0.003s 03 0 4 0 57 0.001s 0.002s 04 0 0 0 31 0.001s 0.002s 05 0 10 0 50 0.001s 0.002s 06 0 0 0 96 0.001s 0.002s 07 0 0 0 132 0.001s 0.002s 08 0 0 0 121 0.001s 0.002s 09 0 0 0 35 0.001s 0.002s 10 0 0 0 25 0.001s 0.002s 11 0 1 0 34 0.001s 0.002s 12 0 0 0 20 0.001s 0.002s 13 0 0 0 71 0.001s 0.002s 14 0 0 0 115 0.001s 0.002s 15 0 0 0 63 0.001s 0.002s 16 0 0 0 65 0.001s 0.002s 17 0 0 0 72 0.001s 0.002s 18 0 6 0 59 0.001s 0.002s 19 0 0 0 22 0.001s 0.002s 20 0 0 0 25 0.001s 0.002s 21 0 50 0 30 0.001s 0.001s 22 0 3 0 63 0.001s 0.003s 23 0 0 0 23 0.001s 0.002s Aug 06 00 0 1 0 72 0.001s 0.002s 01 0 0 0 35 0.001s 0.002s 02 0 0 0 35 0.001s 0.002s 03 0 0 0 32 0.001s 0.002s 04 0 0 0 26 0.001s 0.002s 05 0 0 0 88 0.001s 0.002s 06 0 4 0 150 0.001s 0.002s 07 0 0 0 140 0.001s 0.002s 08 0 0 0 140 0.001s 0.002s 09 0 0 0 172 0.001s 0.002s 10 0 2 0 146 0.001s 0.002s 11 0 1 0 65 0.001s 0.001s 12 0 0 0 152 0.001s 0.003s 13 0 2 0 112 0.001s 0.002s 14 0 0 0 35 0.005s 0.002s 15 0 0 0 30 0.001s 0.002s 16 0 3 0 31 0.001s 0.002s 17 0 0 0 69 0.001s 0.002s 18 0 0 0 30 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 0 27 0.001s 0.002s 22 0 0 0 31 0.001s 0.002s 23 0 0 0 29 0.001s 0.002s Aug 07 00 0 0 0 85 0.001s 0.002s 01 0 37 0 45 0.001s 0.002s 02 0 5 0 55 0.002s 0.002s 03 0 1 0 36 0.001s 0.002s 04 0 0 0 43 0.001s 0.002s 05 0 0 0 28 0.001s 0.002s 06 0 34 0 141 0.001s 0.002s 07 0 0 0 126 0.001s 0.002s 08 0 0 0 55 0.001s 0.002s 09 0 0 0 24 0.001s 0.002s 10 0 3 0 147 0.001s 0.002s 11 0 0 0 122 0.001s 0.002s 12 0 0 0 46 0.001s 0.002s 13 0 3 0 85 0.001s 0.002s 14 0 0 0 126 0.001s 0.002s 15 0 0 0 34 0.001s 0.002s 16 0 0 0 39 0.001s 0.002s 17 0 0 0 33 0.001s 0.002s 18 0 0 0 23 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 1 0 41 0.001s 0.002s 22 0 0 0 20 0.002s 0.002s 23 0 0 0 21 0.001s 0.002s Aug 08 00 0 0 0 79 0.001s 0.002s 01 0 0 0 39 0.001s 0.002s 02 0 36 0 47 0.001s 0.002s 03 0 0 0 34 0.001s 0.002s 04 0 0 0 27 0.001s 0.002s 05 0 0 0 41 0.001s 0.002s 06 0 3 0 162 0.001s 0.002s 07 0 0 0 124 0.001s 0.002s 08 0 34 0 33 0.001s 0.002s 09 0 10 0 54 0.001s 0.002s 10 0 3 0 44 0.001s 0.002s 11 0 1 0 34 0.001s 0.002s 12 0 0 0 36 0.001s 0.002s 13 0 0 0 77 0.001s 0.002s 14 0 0 0 106 0.001s 0.002s 15 0 0 0 27 0.001s 0.002s 16 0 0 0 120 0.001s 0.002s 17 0 0 0 19 0.001s 0.002s 18 0 0 0 24 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 0 0 28 0.001s 0.002s 21 0 0 0 31 0.001s 0.002s 22 0 4 0 42 0.001s 0.002s 23 0 3 0 33 0.001s 0.002s Aug 09 00 0 1 0 79 0.001s 0.002s 01 0 0 0 31 0.001s 0.002s 02 0 0 0 23 0.001s 0.001s 03 0 38 0 76 0.001s 0.003s 04 0 0 0 27 0.001s 0.002s 05 0 1 0 46 0.001s 0.002s 06 0 0 0 76 0.001s 0.002s 07 0 35 0 78 0.001s 0.001s 08 0 0 5 111 0.001s 0.003s 09 0 0 0 19 0.001s 0.002s 10 0 0 3 33 0.001s 0.001s 11 0 0 36 55 0.001s 0.003s 12 0 0 0 41 0.001s 0.002s 13 0 0 0 24 0.001s 0.002s 14 0 0 0 20 0.001s 0.002s 15 0 0 0 70 0.001s 0.002s 16 0 0 0 71 0.002s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 24 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 29 0.001s 0.002s 22 0 0 0 22 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Aug 10 00 0 0 0 73 0.001s 0.002s 01 0 0 3 38 0.001s 0.002s 02 0 0 0 27 0.001s 0.002s 03 0 0 3 67 0.001s 0.002s 04 0 0 0 29 0.002s 0.002s 05 0 2 9 45 0.052s 0.005s 06 0 0 11 31 0.001s 0.001s 07 0 0 3 39 0.002s 0.002s 08 0 0 0 28 0.001s 0.002s 09 0 0 0 20 0.001s 0.002s 10 0 0 0 31 0.001s 0.002s 11 0 0 0 12 0.001s 0.001s 12 0 0 43 81 0.001s 0.003s 13 0 0 0 11 0.001s 0.001s 14 0 0 24 90 0.001s 0.003s 15 0 0 0 25 0.001s 0.002s 16 0 0 0 23 0.001s 0.002s 17 0 0 0 30 0.001s 0.002s 18 0 0 0 32 0.001s 0.002s 19 0 0 0 13 0.001s 0.001s 20 0 0 0 34 0.001s 0.003s 21 0 0 0 32 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Day Hour Count Avg time (sec) Aug 04 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 Aug 05 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 06 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 Aug 07 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 08 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 09 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 Aug 10 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 Aug 04 00 2,340.00 kB 7,678.50 kB 01 191.50 kB 6,307.00 kB 02 232.00 kB 5,163.50 kB 03 211.00 kB 4,225.00 kB 04 855.00 kB 3,528.00 kB 05 510.50 kB 2,986.00 kB 06 653.50 kB 2,539.50 kB 07 967.00 kB 2,227.00 kB 08 28,369.00 kB 52,592.50 kB 09 515.00 kB 42,757.00 kB 10 451.50 kB 34,690.50 kB 11 185.50 kB 28,161.00 kB 12 3,102.50 kB 23,137.00 kB 13 6,540.00 kB 19,673.50 kB 14 1,465.00 kB 16,789.00 kB 15 420.50 kB 13,653.50 kB 16 369.50 kB 11,132.50 kB 17 1,255.00 kB 9,251.50 kB 18 142.00 kB 7,547.50 kB 19 407.50 kB 6,188.50 kB 20 174.50 kB 5,046.00 kB 21 181.50 kB 4,121.00 kB 22 404.50 kB 3,414.50 kB 23 222.00 kB 2,806.00 kB Aug 05 00 2,499.50 kB 2,641.50 kB 01 346.00 kB 2,410.00 kB 02 391,770.67 kB 1,060,867.33 kB 03 30,089.50 kB 819,060.50 kB 04 364.00 kB 663,523.50 kB 05 58,812.00 kB 543,369.00 kB 06 22,559.00 kB 449,648.50 kB 07 1,378.50 kB 364,441.50 kB 08 1,065.00 kB 295,424.50 kB 09 471.00 kB 239,416.50 kB 10 245.50 kB 193,973.00 kB 11 525.50 kB 157,219.00 kB 12 217.00 kB 127,392.00 kB 13 1,184.50 kB 103,325.00 kB 14 989.50 kB 83,946.00 kB 15 324.50 kB 68,068.00 kB 16 763.00 kB 55,248.50 kB 17 664.50 kB 44,927.50 kB 18 51,710.50 kB 56,443.00 kB 19 219.00 kB 47,843.00 kB 20 326.00 kB 38,810.50 kB 21 547,543.00 kB 547,543.00 kB 22 106,730.67 kB 470,816.00 kB 23 197.50 kB 364,413.00 kB Aug 06 00 2,507.00 kB 295,541.50 kB 01 342.50 kB 239,556.00 kB 02 395.50 kB 194,114.00 kB 03 397.00 kB 157,308.00 kB 04 289.50 kB 127,486.00 kB 05 1,411.50 kB 103,432.00 kB 06 30,062.50 kB 89,541.50 kB 07 1,805.00 kB 72,844.00 kB 08 1,358.50 kB 59,277.00 kB 09 1,300.50 kB 48,308.50 kB 10 11,485.50 kB 41,298.00 kB 11 16,778.00 kB 36,928.00 kB 12 1,053.33 kB 30,234.67 kB 13 20,733.50 kB 32,631.00 kB 14 183.50 kB 34,832.50 kB 15 338.00 kB 28,279.00 kB 16 17,939.50 kB 29,949.50 kB 17 431.50 kB 30,661.00 kB 18 348.50 kB 24,884.00 kB 19 147.50 kB 20,202.50 kB 20 122.50 kB 16,386.50 kB 21 194.00 kB 13,308.50 kB 22 483.50 kB 10,847.50 kB 23 234.00 kB 8,854.00 kB Aug 07 00 2,729.50 kB 7,548.50 kB 01 298,356.50 kB 566,824.50 kB 02 45,816.50 kB 463,828.00 kB 03 7,244.50 kB 380,451.00 kB 04 1,009.50 kB 308,918.00 kB 05 388.50 kB 250,342.00 kB 06 272,731.00 kB 517,275.50 kB 07 1,062.50 kB 419,224.00 kB 08 1,268.00 kB 339,789.00 kB 09 195.50 kB 275,296.50 kB 10 25,119.00 kB 227,723.50 kB 11 868.00 kB 184,626.00 kB 12 1,547.50 kB 149,872.00 kB 13 20,890.00 kB 123,508.50 kB 14 947.00 kB 102,058.50 kB 15 2,599.00 kB 83,185.00 kB 16 846.00 kB 67,484.50 kB 17 221.50 kB 54,757.00 kB 18 235.00 kB 44,402.00 kB 19 183.50 kB 35,999.50 kB 20 247.50 kB 29,205.00 kB 21 1,042.50 kB 23,809.00 kB 22 327.00 kB 19,389.50 kB 23 285.00 kB 15,757.50 kB Aug 08 00 2,268.50 kB 13,102.50 kB 01 1,335.00 kB 10,972.50 kB 02 294,555.50 kB 559,415.00 kB 03 237.00 kB 453,164.00 kB 04 226.00 kB 367,107.50 kB 05 627.00 kB 297,460.50 kB 06 19,841.50 kB 244,243.00 kB 07 1,015.00 kB 198,473.00 kB 08 276,528.50 kB 525,209.00 kB 09 86,433.50 kB 436,356.00 kB 10 27,755.00 kB 361,758.00 kB 11 495.00 kB 295,572.00 kB 12 1,328.00 kB 239,559.50 kB 13 592.50 kB 194,222.50 kB 14 707.50 kB 157,470.00 kB 15 231.00 kB 127,615.00 kB 16 881.00 kB 103,514.00 kB 17 157.50 kB 83,898.00 kB 18 143.00 kB 67,985.50 kB 19 214.00 kB 55,104.00 kB 20 451.50 kB 44,700.50 kB 21 1,746.00 kB 36,429.50 kB 22 29,190.00 kB 54,608.00 kB 23 28,914.50 kB 54,584.50 kB Aug 09 00 2,498.00 kB 44,571.00 kB 01 196.50 kB 36,259.00 kB 02 7,062.00 kB 31,638.00 kB 03 207,982.00 kB 538,541.67 kB 04 264.50 kB 413,787.50 kB 05 3,972.50 kB 335,897.00 kB 06 642.50 kB 272,203.00 kB 07 52,780.00 kB 237,392.00 kB 08 202,555.67 kB 537,503.67 kB 09 169.00 kB 412,879.00 kB 10 48,444.00 kB 356,886.00 kB 11 194,392.67 kB 526,402.33 kB 12 593.50 kB 403,689.00 kB 13 189.50 kB 327,031.00 kB 14 171.50 kB 264,929.50 kB 15 543.50 kB 214,663.00 kB 16 374.50 kB 173,978.00 kB 17 162.50 kB 140,956.50 kB 18 173.50 kB 114,208.50 kB 19 170.00 kB 92,541.50 kB 20 147.50 kB 74,984.00 kB 21 354.00 kB 60,787.00 kB 22 204.00 kB 49,292.00 kB 23 165.00 kB 39,961.00 kB Aug 10 00 2,075.00 kB 32,669.00 kB 01 24,803.50 kB 38,774.00 kB 02 156.50 kB 42,412.50 kB 03 17,344.50 kB 36,984.00 kB 04 4,308.00 kB 31,068.00 kB 05 435.50 kB 25,609.00 kB 06 361,452.00 kB 361,452.00 kB 07 22,420.50 kB 311,304.50 kB 08 271.50 kB 254,184.50 kB 09 111.50 kB 205,927.00 kB 10 287.00 kB 166,838.50 kB 11 120.00 kB 142,286.00 kB 12 235,422.00 kB 558,780.00 kB 13 160.00 kB 455,295.00 kB 14 128,902.67 kB 403,590.67 kB 15 135.50 kB 311,012.50 kB 16 140.00 kB 251,944.00 kB 17 342.00 kB 204,142.50 kB 18 148.50 kB 165,380.50 kB 19 164.00 kB 141,033.00 kB 20 205.00 kB 114,699.33 kB 21 390.00 kB 88,017.50 kB 22 152.00 kB 71,326.00 kB 23 180.50 kB 57,804.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Aug 04 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 05 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 06 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 07 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 08 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 09 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 10 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 16.70 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-08-10 11:18:52 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 16.70 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-08-10 11:18:52 Date
Analyzes per table
Key values
- pubc.log_query (110) Main table analyzed (database ctdprd51)
- 146 analyzes Total
Vacuums per table
Key values
- pubc.log_query (17) Main table vacuumed on database ctdprd51
- 39 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 17 14 7,031 0 1,700 0 0 3,590 478 2,907,426 ctdprd51.pub1.term_set_enrichment 7 0 14,127 0 5,431 0 0 6,366 14 477,871 ctdprd51.pub1.term_set_enrichment_agent 7 0 645,909 0 183,751 0 0 292,954 17 17,421,179 ctdprd51.pub1.term_comp 2 0 228 0 17 0 0 34 4 21,452 ctdprd51.pub1.term_comp_agent 2 0 381 0 77 0 0 99 4 35,063 ctdprd51.pg_toast.pg_toast_486223 2 0 121 0 7 0 0 19 1 9,576 ctdprd51.pg_toast.pg_toast_2619 1 1 3,901 0 1,284 0 9,946 3,375 1,068 532,781 ctdprd51.pg_catalog.pg_statistic 1 1 697 0 141 0 0 414 127 593,614 Total 39 16 672,395 1,162 192,408 0 9,946 306,851 1,713 21,998,962 Tuples removed per table
Key values
- pubc.log_query (15482) Main table with removed tuples on database ctdprd51
- 20113 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 17 14 15,482 19,250 5,757 8 1,493 ctdprd51.pg_toast.pg_toast_2619 1 1 4,233 20,007 0 0 12,592 ctdprd51.pg_catalog.pg_statistic 1 1 398 2,253 0 0 290 ctdprd51.pub1.term_comp 2 0 0 4,745 0 0 46 ctdprd51.pub1.term_comp_agent 2 0 0 41,360 0 0 354 ctdprd51.pg_toast.pg_toast_486223 2 0 0 157 0 0 33 ctdprd51.pub1.term_set_enrichment 7 0 0 1,857,873 0 0 30,745 ctdprd51.pub1.term_set_enrichment_agent 7 0 0 126,986,939 0 0 1,443,040 Total 39 16 20,113 128,932,584 5,757 8 1,488,593 Pages removed per table
Key values
- pubc.log_query (8) Main table with removed pages on database ctdprd51
- 8 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pubc.log_query 17 14 15482 8 ctdprd51.pg_toast.pg_toast_2619 1 1 4233 0 ctdprd51.pg_catalog.pg_statistic 1 1 398 0 ctdprd51.pub1.term_comp 2 0 0 0 ctdprd51.pub1.term_comp_agent 2 0 0 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.pub1.term_set_enrichment 7 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 7 0 0 0 Total 39 16 20,113 8 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Aug 04 00 0 0 01 0 1 02 0 2 03 0 1 04 0 1 05 0 3 06 0 0 07 0 1 08 0 1 09 0 0 10 0 1 11 0 0 12 0 1 13 0 2 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 0 0 Aug 05 00 0 2 01 0 6 02 0 2 03 0 3 04 0 0 05 0 3 06 0 0 07 0 1 08 0 1 09 0 0 10 0 1 11 0 0 12 0 0 13 0 1 14 0 1 15 0 0 16 0 0 17 0 0 18 0 2 19 0 0 20 0 2 21 0 1 22 0 0 23 0 0 Aug 06 00 0 1 01 0 2 02 0 2 03 0 1 04 0 2 05 0 3 06 0 0 07 0 1 08 0 1 09 0 2 10 0 0 11 0 2 12 0 1 13 0 0 14 0 1 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 1 23 0 0 Aug 07 00 0 4 01 0 1 02 0 1 03 0 2 04 0 1 05 0 5 06 0 1 07 0 0 08 0 1 09 0 0 10 0 1 11 0 1 12 0 1 13 0 1 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 Aug 08 00 0 0 01 0 1 02 0 3 03 0 1 04 0 2 05 0 4 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 2 13 0 1 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 Aug 09 00 0 0 01 0 1 02 0 3 03 0 2 04 0 2 05 0 3 06 0 0 07 0 1 08 0 0 09 0 1 10 0 2 11 0 1 12 0 0 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 Aug 10 00 0 0 01 0 1 02 0 3 03 0 1 04 0 1 05 0 3 06 0 1 07 0 0 08 0 1 09 0 0 10 0 1 11 0 2 12 0 1 13 0 2 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 - 16.70 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 11,108 Total read queries
- 347 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 9,308 Requests
- 3d21h16m32s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 19,083 Requests
User Request type Count Duration load Total 2 26s352ms select 2 26s352ms postgres Total 108 42m28s copy to 108 42m28s pub1 Total 3 8m35s select 3 8m35s pubeu Total 19,083 7d22h23m54s cte 50 2m24s select 19,033 7d22h21m29s qaeu Total 62 2m38s cte 17 56s885ms select 45 1m41s unknown Total 4,954 1d15h18m10s copy to 683 6h29m45s cte 33 50s91ms others 9 45s292ms select 4,229 1d8h46m50s Duration by user
Key values
- 7d22h23m54s (pubeu) Main time consuming user
User Request type Count Duration load Total 2 26s352ms select 2 26s352ms postgres Total 108 42m28s copy to 108 42m28s pub1 Total 3 8m35s select 3 8m35s pubeu Total 19,083 7d22h23m54s cte 50 2m24s select 19,033 7d22h21m29s qaeu Total 62 2m38s cte 17 56s885ms select 45 1m41s unknown Total 4,954 1d15h18m10s copy to 683 6h29m45s cte 33 50s91ms others 9 45s292ms select 4,229 1d8h46m50s Queries by host
Key values
- unknown Main host
- 24,212 Requests
- 9d14h36m12s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 11,412 Requests
- 4d14h42m31s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-08-08 06:55:38 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 8,745 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 23m37s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-08-10 19:00:31 ]
2 23m24s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-08-10 19:41:22 ]
3 17m34s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1237714') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-08-09 20:20:02 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 17m31s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1237714') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-08-09 20:00:57 - Bind query: yes ]
5 16m29s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-10 00:16:31 ]
6 16m28s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-05 00:16:29 ]
7 16m27s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-09 00:16:29 ]
8 16m25s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-08 00:16:27 ]
9 16m25s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-04 00:16:26 ]
10 16m24s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-07 00:16:25 ]
11 16m23s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-06 00:16:25 ]
12 15m10s select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', '50') AND t.object_type_id = 2) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;[ Date: 2024-08-07 11:26:49 - Bind query: yes ]
13 11m4s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOID RECEPTOR AGONISTS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'activity')) AND (gcra.action_degree_type_nm = 'increases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-08 22:48:33 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 10m56s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOIDS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-08 22:38:39 - Bind query: yes ]
15 10m55s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOID RECEPTOR AGONISTS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'activity'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-09 08:51:58 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 10m54s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'CNR2') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABIGEROLIC ACID' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;[ Date: 2024-08-09 16:19:22 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 10m41s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG') INTERSECT ( SELECT /* GAIQH.getGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'CNR2') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'ALZHEIMER DISEASE' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-08-09 16:52:42 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 6m47s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-08-10 19:12:10 ]
19 6m41s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-08-10 19:52:51 ]
20 4m28s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1219162') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-08-07 10:31:42 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 4d5h38m15s 8,469 1s152ms 53s896ms 43s204ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 04 08 1 4s934ms 4s934ms 18 1 2s544ms 2s544ms 20 11 6m47s 37s43ms 21 84 56m47s 40s567ms 22 84 57m13s 40s870ms 23 89 57m31s 38s783ms Aug 05 00 84 57m13s 40s880ms 01 83 56m57s 41s177ms 02 83 57m3s 41s249ms 03 83 57m15s 41s396ms 04 83 57m15s 41s396ms 05 50 34m2s 40s846ms 07 1 1s496ms 1s496ms 08 67 46m25s 41s573ms 09 84 57m35s 41s142ms 10 82 56m47s 41s557ms 11 83 57m14s 41s384ms 12 83 57m23s 41s489ms 13 82 56m51s 41s602ms 14 83 57m40s 41s688ms 15 82 56m59s 41s700ms 16 82 56m55s 41s649ms 17 83 57m50s 41s812ms 18 82 57m7s 41s793ms 19 82 57m14s 41s885ms 20 82 57m14s 41s881ms 21 82 57m18s 41s932ms 22 81 56m42s 42s 23 82 57m26s 42s30ms Aug 06 00 82 57m16s 41s904ms 01 81 56m59s 42s210ms 02 82 57m44s 42s255ms 03 83 57m6s 41s288ms 04 82 57m9s 41s819ms 05 48 33m54s 42s389ms 23 27 18m56s 42s89ms Aug 07 00 83 57m46s 41s769ms 01 81 56m55s 42s160ms 02 82 57m42s 42s223ms 03 83 57m17s 41s409ms 04 81 57m 42s222ms 05 48 33m44s 42s183ms 06 80 56m54s 42s681ms 07 81 57m35s 42s657ms 08 81 57m 42s228ms 09 80 57m5s 42s817ms 10 79 56m29s 42s899ms 11 80 57m19s 42s995ms 12 80 57m15s 42s948ms 13 80 57m13s 42s922ms 14 81 57m23s 42s517ms 15 80 57m29s 43s121ms 16 80 57m32s 43s160ms 17 80 56m59s 42s738ms 18 80 57m45s 43s323ms 19 80 57m5s 42s823ms 20 79 57m17s 43s507ms 21 79 57m22s 43s573ms 22 79 57m8s 43s396ms 23 82 57m54s 42s369ms Aug 08 00 79 57m13s 43s456ms 01 79 57m13s 43s459ms 02 79 56m51s 43s181ms 03 81 57m44s 42s777ms 04 78 57m1s 43s869ms 05 65 47m28s 43s818ms 06 77 56m18s 43s880ms 07 77 56m11s 43s790ms 08 78 57m10s 43s983ms 09 79 57m18s 43s520ms 10 78 57m15s 44s47ms 11 79 57m24s 43s597ms 12 79 57m22s 43s573ms 13 79 57m19s 43s537ms 14 78 57m28s 44s206ms 15 78 57m20s 44s106ms 16 78 57m26s 44s185ms 17 79 57m32s 43s708ms 18 78 57m24s 44s162ms 19 78 57m26s 44s185ms 20 77 56m52s 44s323ms 21 78 57m45s 44s435ms 22 77 57m21s 44s688ms 23 77 57m14s 44s604ms Aug 09 00 77 57m6s 44s496ms 01 78 57m19s 44s97ms 02 78 57m52s 44s512ms 03 77 57m33s 44s854ms 04 76 56m48s 44s845ms 05 46 34m20s 44s791ms 06 30 22m25s 44s847ms 07 77 56m54s 44s340ms 08 77 57m39s 44s934ms 09 77 57m40s 44s946ms 10 76 57m16s 45s215ms 11 76 57m11s 45s149ms 12 77 57m12s 44s574ms 13 77 57m50s 45s70ms 14 76 57m16s 45s213ms 15 77 57m52s 45s93ms 16 76 57m20s 45s265ms 17 76 57m21s 45s283ms 18 75 57m11s 45s757ms 19 76 57m20s 45s267ms 20 77 58m7s 45s294ms 21 75 56m48s 45s450ms 22 76 57m44s 45s581ms 23 75 57m2s 45s631ms Aug 10 00 77 57m53s 45s114ms 01 76 57m37s 45s489ms 02 75 57m9s 45s731ms 03 75 57m14s 45s787ms 04 75 57m20s 45s872ms 05 45 34m23s 45s856ms [ User: pubeu - Total duration: 3d17h40m1s - Times executed: 7475 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2353200;
Date: 2024-08-09 11:11:03 Duration: 53s896ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2359050;
Date: 2024-08-09 12:42:54 Duration: 50s805ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2379950;
Date: 2024-08-09 18:12:47 Duration: 50s753ms Database: ctdprd51 User: pubeu Bind query: yes
2 1h55m4s 7 16m23s 16m29s 16m26s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 04 00 1 16m25s 16m25s Aug 05 00 1 16m28s 16m28s Aug 06 00 1 16m23s 16m23s Aug 07 00 1 16m24s 16m24s Aug 08 00 1 16m25s 16m25s Aug 09 00 1 16m27s 16m27s Aug 10 00 1 16m29s 16m29s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-08-10 00:16:31 Duration: 16m29s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-08-05 00:16:29 Duration: 16m28s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-08-09 00:16:29 Duration: 16m27s
3 1h3m10s 36 1s244ms 17m34s 1m45s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 04 03 1 1s444ms 1s444ms Aug 05 05 1 1s883ms 1s883ms Aug 06 02 2 2m6s 1m3s 04 1 1s503ms 1s503ms 20 1 1s565ms 1s565ms Aug 07 10 1 4m28s 4m28s 22 1 3s199ms 3s199ms Aug 08 01 1 1s244ms 1s244ms 04 1 3m40s 3m40s 06 1 1s322ms 1s322ms 10 1 1s387ms 1s387ms 13 1 1s498ms 1s498ms Aug 09 05 1 3m38s 3m38s 09 1 1s720ms 1s720ms 13 2 4s646ms 2s323ms 14 1 2s204ms 2s204ms 20 2 35m5s 17m32s 21 1 1s337ms 1s337ms 22 1 1s373ms 1s373ms Aug 10 00 1 1s947ms 1s947ms 01 1 3s12ms 3s12ms 02 1 1s645ms 1s645ms 05 2 5m17s 2m38s 07 2 4m1s 2m 08 1 1s493ms 1s493ms 09 2 4m10s 2m5s 12 2 3s542ms 1s771ms 16 1 1s622ms 1s622ms 17 1 1s924ms 1s924ms [ User: pubeu - Total duration: 37m15s - Times executed: 26 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1237714') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-09 20:20:02 Duration: 17m34s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1237714') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-09 20:00:57 Duration: 17m31s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1219162') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-07 10:31:42 Duration: 4m28s Database: ctdprd51 User: pubeu Bind query: yes
4 28m27s 411 3s760ms 16s756ms 4s154ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 04 07 3 12s764ms 4s254ms 08 1 4s11ms 4s11ms 09 3 11s916ms 3s972ms 10 2 8s106ms 4s53ms 12 3 12s24ms 4s8ms 15 2 7s789ms 3s894ms 16 1 4s3ms 4s3ms 17 4 16s909ms 4s227ms 19 1 3s872ms 3s872ms 23 7 44s907ms 6s415ms Aug 05 00 1 4s56ms 4s56ms 01 3 12s950ms 4s316ms 02 5 19s805ms 3s961ms 03 3 11s862ms 3s954ms 04 3 11s886ms 3s962ms 06 1 3s944ms 3s944ms 07 1 3s886ms 3s886ms 08 2 7s802ms 3s901ms 09 5 20s139ms 4s27ms 11 2 7s867ms 3s933ms 12 3 11s680ms 3s893ms 13 1 3s963ms 3s963ms 15 20 1m38s 4s915ms 16 3 12s439ms 4s146ms 17 6 23s757ms 3s959ms 18 2 8s78ms 4s39ms 20 1 3s952ms 3s952ms 22 1 4s266ms 4s266ms Aug 06 01 3 11s600ms 3s866ms 03 5 21s24ms 4s204ms 05 1 3s892ms 3s892ms 06 1 3s996ms 3s996ms 07 4 15s932ms 3s983ms 08 5 19s434ms 3s886ms 09 9 35s857ms 3s984ms 10 3 11s847ms 3s949ms 11 1 3s960ms 3s960ms 13 1 3s955ms 3s955ms 14 14 55s919ms 3s994ms 15 2 7s929ms 3s964ms 16 1 4s60ms 4s60ms 17 2 7s771ms 3s885ms 20 1 3s929ms 3s929ms 23 2 8s101ms 4s50ms Aug 07 00 2 8s290ms 4s145ms 01 8 31s677ms 3s959ms 02 8 31s886ms 3s985ms 03 4 17s294ms 4s323ms 04 3 11s801ms 3s933ms 05 5 20s5ms 4s1ms 06 5 19s972ms 3s994ms 07 6 24s211ms 4s35ms 08 13 51s572ms 3s967ms 09 1 4s46ms 4s46ms 10 7 27s493ms 3s927ms 11 17 1m7s 3s961ms 12 3 11s877ms 3s959ms 13 2 7s848ms 3s924ms 14 6 23s834ms 3s972ms 15 11 43s20ms 3s910ms 16 3 15s126ms 5s42ms 17 4 15s691ms 3s922ms 18 15 1m1s 4s103ms 19 1 3s850ms 3s850ms 23 5 19s677ms 3s935ms Aug 08 00 1 4s1ms 4s1ms 01 2 7s815ms 3s907ms 02 6 23s746ms 3s957ms 03 3 11s729ms 3s909ms 04 2 7s972ms 3s986ms 05 2 7s831ms 3s915ms 06 3 11s863ms 3s954ms 08 7 27s731ms 3s961ms 09 5 21s459ms 4s291ms 10 1 4s49ms 4s49ms 11 1 4s191ms 4s191ms 12 1 16s163ms 16s163ms 13 2 8s410ms 4s205ms 14 2 7s864ms 3s932ms 15 2 7s649ms 3s824ms 18 1 4s93ms 4s93ms 19 3 12s187ms 4s62ms 20 4 16s70ms 4s17ms 21 1 3s886ms 3s886ms 22 2 8s70ms 4s35ms 23 3 11s773ms 3s924ms Aug 09 00 2 7s949ms 3s974ms 02 3 12s754ms 4s251ms 03 3 11s789ms 3s929ms 04 2 8s112ms 4s56ms 05 2 8s95ms 4s47ms 06 1 16s599ms 16s599ms 07 3 12s126ms 4s42ms 08 2 7s788ms 3s894ms 09 3 11s845ms 3s948ms 10 2 7s830ms 3s915ms 11 2 8s74ms 4s37ms 12 1 3s841ms 3s841ms 13 1 4s4ms 4s4ms 14 2 7s884ms 3s942ms 15 1 3s981ms 3s981ms 16 4 15s650ms 3s912ms 17 1 3s989ms 3s989ms 18 1 4s56ms 4s56ms 21 1 3s904ms 3s904ms 23 2 8s9ms 4s4ms Aug 10 01 2 8s170ms 4s85ms 02 4 16s402ms 4s100ms 05 3 13s56ms 4s352ms 06 2 7s840ms 3s920ms 10 1 3s978ms 3s978ms 11 1 4s305ms 4s305ms 12 7 28s13ms 4s1ms 13 21 1m22s 3s930ms 15 2 7s959ms 3s979ms 17 1 3s992ms 3s992ms [ User: pubeu - Total duration: 21m16s - Times executed: 316 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-08-05 15:42:35 Duration: 16s756ms Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-08-09 06:31:50 Duration: 16s599ms Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-08-08 12:05:22 Duration: 16s163ms Bind query: yes
5 23m37s 1 23m37s 23m37s 23m37s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 10 19 1 23m37s 23m37s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-08-10 19:00:31 Duration: 23m37s
6 23m24s 1 23m24s 23m24s 23m24s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 10 19 1 23m24s 23m24s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-08-10 19:41:22 Duration: 23m24s
7 21m51s 2 10m55s 10m56s 10m55s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.nm = ?))) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 08 22 1 10m56s 10m56s Aug 09 08 1 10m55s 10m55s [ User: pubeu - Total duration: 10m55s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOIDS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-08 22:38:39 Duration: 10m56s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOID RECEPTOR AGONISTS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'activity'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-09 08:51:58 Duration: 10m55s Database: ctdprd51 User: pubeu Bind query: yes
8 15m12s 2 1s616ms 15m10s 7m36s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select t.id from term t where t.nm_fts @@ to_tsquery(?, ?) and t.object_type_id = ?) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 07 11 2 15m12s 7m36s [ User: pubeu - Total duration: 1s616ms - Times executed: 1 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', '50') AND t.object_type_id = 2) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-08-07 11:26:49 Duration: 15m10s Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'FORM') AND t.object_type_id = 2) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-08-07 11:11:18 Duration: 1s616ms Database: ctdprd51 User: pubeu Bind query: yes
9 13m56s 25 32s890ms 34s112ms 33s445ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 04 06 1 33s407ms 33s407ms 10 1 33s433ms 33s433ms 14 1 33s339ms 33s339ms 18 1 33s405ms 33s405ms Aug 05 06 1 33s484ms 33s484ms 10 1 33s341ms 33s341ms 14 1 33s448ms 33s448ms 18 1 33s366ms 33s366ms Aug 06 06 1 33s510ms 33s510ms 10 1 33s429ms 33s429ms 14 1 33s400ms 33s400ms 18 1 33s344ms 33s344ms Aug 07 06 1 33s853ms 33s853ms 10 1 33s486ms 33s486ms 14 1 33s386ms 33s386ms 18 1 33s456ms 33s456ms Aug 08 06 1 33s454ms 33s454ms 10 1 33s381ms 33s381ms 14 1 33s313ms 33s313ms 18 1 33s515ms 33s515ms Aug 09 06 1 33s458ms 33s458ms 10 1 33s501ms 33s501ms 14 1 33s422ms 33s422ms 18 1 34s112ms 34s112ms Aug 10 19 1 32s890ms 32s890ms [ User: postgres - Total duration: 13m23s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m23s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-09 18:05:36 Duration: 34s112ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-07 06:05:35 Duration: 33s853ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-08 18:05:35 Duration: 33s515ms Database: ctdprd51 User: postgres Application: pg_dump
10 11m4s 1 11m4s 11m4s 11m4s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.nm = ?)) and (gcra.action_degree_type_nm = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 08 22 1 11m4s 11m4s [ User: pubeu - Total duration: 11m4s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOID RECEPTOR AGONISTS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'activity')) AND (gcra.action_degree_type_nm = 'increases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-08 22:48:33 Duration: 11m4s Database: ctdprd51 User: pubeu Bind query: yes
11 10m54s 1 10m54s 10m54s 10m54s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by i.sort_txt, g.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 09 16 1 10m54s 10m54s [ User: pubeu - Total duration: 10m54s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'CNR2') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABIGEROLIC ACID' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-08-09 16:19:22 Duration: 10m54s Database: ctdprd51 User: pubeu Bind query: yes
12 10m41s 1 10m41s 10m41s 10m41s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in (( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ? union select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?) intersect ( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 09 16 1 10m41s 10m41s [ User: pubeu - Total duration: 10m41s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG') INTERSECT ( SELECT /* GAIQH.getGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'CNR2') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'ALZHEIMER DISEASE' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-08-09 16:52:42 Duration: 10m41s Database: ctdprd51 User: pubeu Bind query: yes
13 10m40s 8 1m19s 1m21s 1m20s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ? reference ? pg_catalog.english ? coh1 & and & select & ? & from & select & count &, || & ? x7171717171) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like)) ii group by ii.cd;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 08 04 8 10m40s 1m20s [ User: pubeu - Total duration: 2m40s - Times executed: 2 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:46:53 Duration: 1m21s Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:45:22 Duration: 1m21s Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JTBV' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JTBV' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:47:53 Duration: 1m20s Database: ctdprd51 User: pubeu Bind query: yes
14 10m7s 140 1s 5s978ms 4s336ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 04 05 4 12s658ms 3s164ms 09 1 4s857ms 4s857ms 10 1 5s766ms 5s766ms 11 7 36s107ms 5s158ms 18 1 5s42ms 5s42ms 19 1 1s9ms 1s9ms 21 1 4s821ms 4s821ms Aug 05 02 2 6s708ms 3s354ms 05 1 5s424ms 5s424ms 06 1 5s47ms 5s47ms 07 1 5s108ms 5s108ms 15 1 5s354ms 5s354ms 16 1 5s405ms 5s405ms 18 1 1s21ms 1s21ms 21 1 1s23ms 1s23ms 22 3 16s239ms 5s413ms Aug 06 01 1 5s192ms 5s192ms 02 1 5s313ms 5s313ms 03 1 5s753ms 5s753ms 04 2 5s862ms 2s931ms 05 3 7s142ms 2s380ms 06 3 15s752ms 5s250ms 07 2 10s892ms 5s446ms 09 6 22s668ms 3s778ms Aug 07 05 4 8s 2s 06 2 10s543ms 5s271ms 07 1 5s98ms 5s98ms 09 1 5s384ms 5s384ms 12 5 27s456ms 5s491ms 15 1 4s912ms 4s912ms 16 1 1s68ms 1s68ms 20 1 5s290ms 5s290ms 21 3 16s140ms 5s380ms 22 1 5s430ms 5s430ms Aug 08 02 3 15s848ms 5s282ms 06 1 1s13ms 1s13ms 07 1 5s36ms 5s36ms 10 3 11s179ms 3s726ms 12 1 4s866ms 4s866ms 22 7 38s866ms 5s552ms 23 9 47s774ms 5s308ms Aug 09 02 5 27s195ms 5s439ms 03 2 10s812ms 5s406ms 05 3 3s24ms 1s8ms 06 2 10s585ms 5s292ms 08 2 6s607ms 3s303ms 09 1 5s419ms 5s419ms 10 3 11s357ms 3s785ms 11 1 1s5ms 1s5ms 12 1 1s16ms 1s16ms 14 1 4s846ms 4s846ms 17 1 5s155ms 5s155ms 20 1 5s363ms 5s363ms 22 2 10s279ms 5s139ms 23 1 1s17ms 1s17ms Aug 10 00 2 10s399ms 5s199ms 01 1 5s448ms 5s448ms 02 1 5s398ms 5s398ms 03 1 1s12ms 1s12ms 05 5 13s624ms 2s724ms 07 2 6s299ms 3s149ms 08 1 1s16ms 1s16ms 09 1 4s884ms 4s884ms 10 3 15s537ms 5s179ms 13 2 10s163ms 5s81ms 14 1 5s411ms 5s411ms 17 1 5s55ms 5s55ms 23 1 5s134ms 5s134ms [ User: pubeu - Total duration: 7m2s - Times executed: 92 ]
[ User: qaeu - Total duration: 3s27ms - Times executed: 3 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1259211' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-05 22:58:20 Duration: 5s978ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1258348' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-06 07:58:18 Duration: 5s876ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1283850' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-07 12:12:58 Duration: 5s801ms Database: ctdprd51 User: pubeu Bind query: yes
15 8m23s 430 1s87ms 1s429ms 1s170ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 04 00 5 6s1ms 1s200ms 01 2 2s394ms 1s197ms 02 3 3s593ms 1s197ms 04 1 1s183ms 1s183ms 05 4 4s949ms 1s237ms 07 2 2s400ms 1s200ms 08 2 2s405ms 1s202ms 09 6 7s219ms 1s203ms 10 3 3s540ms 1s180ms 11 2 2s346ms 1s173ms 12 1 1s134ms 1s134ms 13 2 2s279ms 1s139ms 14 2 2s368ms 1s184ms 15 2 2s350ms 1s175ms 16 2 2s347ms 1s173ms 17 1 1s177ms 1s177ms 18 10 11s621ms 1s162ms 19 4 4s669ms 1s167ms 20 2 2s313ms 1s156ms 21 1 1s173ms 1s173ms 22 6 6s967ms 1s161ms 23 1 1s142ms 1s142ms Aug 05 00 5 6s73ms 1s214ms 01 1 1s225ms 1s225ms 02 8 9s305ms 1s163ms 03 1 1s179ms 1s179ms 05 4 4s974ms 1s243ms 07 3 3s589ms 1s196ms 08 2 2s306ms 1s153ms 09 2 2s383ms 1s191ms 11 4 4s599ms 1s149ms 12 5 5s791ms 1s158ms 13 2 2s244ms 1s122ms 14 2 2s228ms 1s114ms 15 3 3s427ms 1s142ms 16 1 1s109ms 1s109ms 17 2 2s307ms 1s153ms 18 2 2s360ms 1s180ms 19 2 2s242ms 1s121ms 20 3 3s472ms 1s157ms 22 1 1s202ms 1s202ms 23 4 4s618ms 1s154ms Aug 06 00 4 4s584ms 1s146ms 01 3 3s414ms 1s138ms 02 4 4s626ms 1s156ms 03 5 5s904ms 1s180ms 04 7 8s32ms 1s147ms 05 4 4s911ms 1s227ms 07 1 1s183ms 1s183ms 08 4 4s767ms 1s191ms 09 4 4s702ms 1s175ms 10 2 2s384ms 1s192ms 11 2 2s371ms 1s185ms 12 1 1s156ms 1s156ms 13 2 2s378ms 1s189ms 16 2 2s330ms 1s165ms 17 2 2s349ms 1s174ms 20 1 1s182ms 1s182ms 21 1 1s188ms 1s188ms 23 1 1s204ms 1s204ms Aug 07 00 2 2s350ms 1s175ms 01 2 2s334ms 1s167ms 02 3 3s519ms 1s173ms 03 1 1s147ms 1s147ms 05 3 3s751ms 1s250ms 06 6 6s956ms 1s159ms 07 1 1s178ms 1s178ms 08 2 2s305ms 1s152ms 09 4 4s764ms 1s191ms 10 3 3s473ms 1s157ms 11 4 4s574ms 1s143ms 12 1 1s134ms 1s134ms 13 6 6s918ms 1s153ms 14 4 4s561ms 1s140ms 15 1 1s161ms 1s161ms 16 3 3s517ms 1s172ms 17 1 1s161ms 1s161ms 18 1 1s117ms 1s117ms 19 3 3s418ms 1s139ms 20 2 2s281ms 1s140ms 21 2 2s267ms 1s133ms 22 2 2s367ms 1s183ms 23 5 5s830ms 1s166ms Aug 08 01 3 3s555ms 1s185ms 03 4 4s915ms 1s228ms 04 5 5s858ms 1s171ms 05 4 4s864ms 1s216ms 06 3 3s389ms 1s129ms 07 1 1s155ms 1s155ms 08 2 2s353ms 1s176ms 09 1 1s125ms 1s125ms 10 4 4s617ms 1s154ms 11 1 1s190ms 1s190ms 12 3 3s468ms 1s156ms 13 5 5s685ms 1s137ms 14 4 4s647ms 1s161ms 15 6 7s92ms 1s182ms 16 3 3s384ms 1s128ms 18 1 1s175ms 1s175ms 19 4 4s664ms 1s166ms 20 8 9s164ms 1s145ms 21 2 2s237ms 1s118ms 22 2 2s365ms 1s182ms 23 3 3s433ms 1s144ms Aug 09 00 2 2s329ms 1s164ms 01 2 2s372ms 1s186ms 02 2 2s304ms 1s152ms 03 6 6s964ms 1s160ms 04 2 2s382ms 1s191ms 05 3 3s728ms 1s242ms 06 1 1s207ms 1s207ms 07 1 1s171ms 1s171ms 08 3 3s538ms 1s179ms 09 7 8s320ms 1s188ms 10 3 3s343ms 1s114ms 11 1 1s140ms 1s140ms 12 3 3s498ms 1s166ms 13 3 3s436ms 1s145ms 14 1 1s130ms 1s130ms 15 2 2s292ms 1s146ms 16 1 1s164ms 1s164ms 17 2 2s247ms 1s123ms 18 1 1s137ms 1s137ms 19 3 3s419ms 1s139ms 20 1 1s107ms 1s107ms 21 3 3s408ms 1s136ms 22 6 6s978ms 1s163ms Aug 10 00 3 3s520ms 1s173ms 01 2 2s295ms 1s147ms 04 1 1s153ms 1s153ms 05 5 6s121ms 1s224ms 06 4 4s742ms 1s185ms 07 4 4s823ms 1s205ms 08 2 2s385ms 1s192ms 09 4 4s784ms 1s196ms 10 3 3s612ms 1s204ms 11 3 3s667ms 1s222ms 12 1 1s185ms 1s185ms 13 3 3s511ms 1s170ms 14 2 2s331ms 1s165ms 15 2 2s332ms 1s166ms 16 3 3s535ms 1s178ms 17 3 3s498ms 1s166ms 18 3 3s514ms 1s171ms 19 5 5s636ms 1s127ms 20 4 4s538ms 1s134ms 21 1 1s143ms 1s143ms 22 5 5s857ms 1s171ms 23 6 7s2ms 1s167ms [ User: pubeu - Total duration: 6m10s - Times executed: 318 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1435399' or receptorTerm.id = '1435399' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-10 05:43:47 Duration: 1s429ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1435399' or receptorTerm.id = '1435399' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-07 05:38:49 Duration: 1s310ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1435399' or receptorTerm.id = '1435399' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-09 05:38:52 Duration: 1s304ms Bind query: yes
16 7m56s 4 1m58s 1m59s 1m59s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ? reference ? pg_catalog.english ? coh1 % & and & ? = convert & int) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 08 04 4 7m56s 1m59s [ User: pubeu - Total duration: 5m57s - Times executed: 3 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:53:40 Duration: 1m59s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:54:10 Duration: 1m59s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:53:09 Duration: 1m59s Database: ctdprd51 User: pubeu Bind query: yes
17 6m57s 104 1s3ms 11s945ms 4s17ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 04 05 1 1s178ms 1s178ms 10 1 1s355ms 1s355ms 12 1 4s944ms 4s944ms 18 1 1s387ms 1s387ms Aug 05 03 1 2s167ms 2s167ms 04 1 2s683ms 2s683ms 09 1 10s631ms 10s631ms 22 1 5s699ms 5s699ms 23 1 1s208ms 1s208ms Aug 06 00 1 1s651ms 1s651ms 05 3 12s382ms 4s127ms 06 2 4s806ms 2s403ms 07 3 17s685ms 5s895ms 08 4 16s572ms 4s143ms 14 2 2s251ms 1s125ms 21 2 4s90ms 2s45ms Aug 07 00 1 2s650ms 2s650ms 01 1 1s267ms 1s267ms 02 1 1s97ms 1s97ms 04 1 6s518ms 6s518ms 07 1 1s501ms 1s501ms 09 1 1s227ms 1s227ms 13 3 3s330ms 1s110ms 16 1 1s916ms 1s916ms Aug 08 01 1 10s716ms 10s716ms 03 14 1m46s 7s594ms 05 1 2s644ms 2s644ms 17 1 2s651ms 2s651ms 20 2 2s405ms 1s202ms 21 1 2s562ms 2s562ms 22 2 2s266ms 1s133ms Aug 09 00 1 10s467ms 10s467ms 02 1 2s592ms 2s592ms 05 1 2s653ms 2s653ms 09 2 14s432ms 7s216ms 10 1 4s86ms 4s86ms 12 2 7s955ms 3s977ms 13 3 10s569ms 3s523ms 15 2 6s439ms 3s219ms 16 1 4s225ms 4s225ms 18 1 11s13ms 11s13ms 19 2 3s8ms 1s504ms 21 2 13s245ms 6s622ms 22 2 7s375ms 3s687ms 23 1 6s132ms 6s132ms Aug 10 00 1 4s937ms 4s937ms 01 2 8s173ms 4s86ms 02 4 10s693ms 2s673ms 04 1 1s191ms 1s191ms 05 1 10s476ms 10s476ms 06 1 3s55ms 3s55ms 07 1 5s671ms 5s671ms 09 3 8s455ms 2s818ms 11 2 4s224ms 2s112ms 12 1 1s60ms 1s60ms 13 4 12s98ms 3s24ms 16 1 1s315ms 1s315ms 19 1 1s227ms 1s227ms 22 1 1s264ms 1s264ms [ User: pubeu - Total duration: 4m46s - Times executed: 75 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:48:16 Duration: 11s945ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2073928') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-09 09:54:08 Duration: 11s932ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:48:14 Duration: 11s384ms Database: ctdprd51 User: pubeu Bind query: yes
18 6m47s 1 6m47s 6m47s 6m47s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 10 19 1 6m47s 6m47s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-08-10 19:12:10 Duration: 6m47s
19 6m41s 1 6m41s 6m41s 6m41s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 10 19 1 6m41s 6m41s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-08-10 19:52:51 Duration: 6m41s
20 6m 25 14s271ms 14s801ms 14s425ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 04 06 1 14s352ms 14s352ms 10 1 14s350ms 14s350ms 14 1 14s437ms 14s437ms 18 1 14s352ms 14s352ms Aug 05 06 1 14s390ms 14s390ms 10 1 14s354ms 14s354ms 14 1 14s469ms 14s469ms 18 1 14s432ms 14s432ms Aug 06 06 1 14s495ms 14s495ms 10 1 14s429ms 14s429ms 14 1 14s413ms 14s413ms 18 1 14s350ms 14s350ms Aug 07 06 1 14s413ms 14s413ms 10 1 14s484ms 14s484ms 14 1 14s546ms 14s546ms 18 1 14s801ms 14s801ms Aug 08 06 1 14s401ms 14s401ms 10 1 14s395ms 14s395ms 14 1 14s442ms 14s442ms 18 1 14s456ms 14s456ms Aug 09 06 1 14s343ms 14s343ms 10 1 14s404ms 14s404ms 14 1 14s435ms 14s435ms 18 1 14s404ms 14s404ms Aug 10 18 1 14s271ms 14s271ms [ User: postgres - Total duration: 6m - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-07 18:00:17 Duration: 14s801ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-07 14:00:16 Duration: 14s546ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-06 06:00:17 Duration: 14s495ms Database: ctdprd51 User: postgres Application: pg_dump
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 8,469 4d5h38m15s 1s152ms 53s896ms 43s204ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 04 08 1 4s934ms 4s934ms 18 1 2s544ms 2s544ms 20 11 6m47s 37s43ms 21 84 56m47s 40s567ms 22 84 57m13s 40s870ms 23 89 57m31s 38s783ms Aug 05 00 84 57m13s 40s880ms 01 83 56m57s 41s177ms 02 83 57m3s 41s249ms 03 83 57m15s 41s396ms 04 83 57m15s 41s396ms 05 50 34m2s 40s846ms 07 1 1s496ms 1s496ms 08 67 46m25s 41s573ms 09 84 57m35s 41s142ms 10 82 56m47s 41s557ms 11 83 57m14s 41s384ms 12 83 57m23s 41s489ms 13 82 56m51s 41s602ms 14 83 57m40s 41s688ms 15 82 56m59s 41s700ms 16 82 56m55s 41s649ms 17 83 57m50s 41s812ms 18 82 57m7s 41s793ms 19 82 57m14s 41s885ms 20 82 57m14s 41s881ms 21 82 57m18s 41s932ms 22 81 56m42s 42s 23 82 57m26s 42s30ms Aug 06 00 82 57m16s 41s904ms 01 81 56m59s 42s210ms 02 82 57m44s 42s255ms 03 83 57m6s 41s288ms 04 82 57m9s 41s819ms 05 48 33m54s 42s389ms 23 27 18m56s 42s89ms Aug 07 00 83 57m46s 41s769ms 01 81 56m55s 42s160ms 02 82 57m42s 42s223ms 03 83 57m17s 41s409ms 04 81 57m 42s222ms 05 48 33m44s 42s183ms 06 80 56m54s 42s681ms 07 81 57m35s 42s657ms 08 81 57m 42s228ms 09 80 57m5s 42s817ms 10 79 56m29s 42s899ms 11 80 57m19s 42s995ms 12 80 57m15s 42s948ms 13 80 57m13s 42s922ms 14 81 57m23s 42s517ms 15 80 57m29s 43s121ms 16 80 57m32s 43s160ms 17 80 56m59s 42s738ms 18 80 57m45s 43s323ms 19 80 57m5s 42s823ms 20 79 57m17s 43s507ms 21 79 57m22s 43s573ms 22 79 57m8s 43s396ms 23 82 57m54s 42s369ms Aug 08 00 79 57m13s 43s456ms 01 79 57m13s 43s459ms 02 79 56m51s 43s181ms 03 81 57m44s 42s777ms 04 78 57m1s 43s869ms 05 65 47m28s 43s818ms 06 77 56m18s 43s880ms 07 77 56m11s 43s790ms 08 78 57m10s 43s983ms 09 79 57m18s 43s520ms 10 78 57m15s 44s47ms 11 79 57m24s 43s597ms 12 79 57m22s 43s573ms 13 79 57m19s 43s537ms 14 78 57m28s 44s206ms 15 78 57m20s 44s106ms 16 78 57m26s 44s185ms 17 79 57m32s 43s708ms 18 78 57m24s 44s162ms 19 78 57m26s 44s185ms 20 77 56m52s 44s323ms 21 78 57m45s 44s435ms 22 77 57m21s 44s688ms 23 77 57m14s 44s604ms Aug 09 00 77 57m6s 44s496ms 01 78 57m19s 44s97ms 02 78 57m52s 44s512ms 03 77 57m33s 44s854ms 04 76 56m48s 44s845ms 05 46 34m20s 44s791ms 06 30 22m25s 44s847ms 07 77 56m54s 44s340ms 08 77 57m39s 44s934ms 09 77 57m40s 44s946ms 10 76 57m16s 45s215ms 11 76 57m11s 45s149ms 12 77 57m12s 44s574ms 13 77 57m50s 45s70ms 14 76 57m16s 45s213ms 15 77 57m52s 45s93ms 16 76 57m20s 45s265ms 17 76 57m21s 45s283ms 18 75 57m11s 45s757ms 19 76 57m20s 45s267ms 20 77 58m7s 45s294ms 21 75 56m48s 45s450ms 22 76 57m44s 45s581ms 23 75 57m2s 45s631ms Aug 10 00 77 57m53s 45s114ms 01 76 57m37s 45s489ms 02 75 57m9s 45s731ms 03 75 57m14s 45s787ms 04 75 57m20s 45s872ms 05 45 34m23s 45s856ms [ User: pubeu - Total duration: 3d17h40m1s - Times executed: 7475 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2353200;
Date: 2024-08-09 11:11:03 Duration: 53s896ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2359050;
Date: 2024-08-09 12:42:54 Duration: 50s805ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2379950;
Date: 2024-08-09 18:12:47 Duration: 50s753ms Database: ctdprd51 User: pubeu Bind query: yes
2 430 8m23s 1s87ms 1s429ms 1s170ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 04 00 5 6s1ms 1s200ms 01 2 2s394ms 1s197ms 02 3 3s593ms 1s197ms 04 1 1s183ms 1s183ms 05 4 4s949ms 1s237ms 07 2 2s400ms 1s200ms 08 2 2s405ms 1s202ms 09 6 7s219ms 1s203ms 10 3 3s540ms 1s180ms 11 2 2s346ms 1s173ms 12 1 1s134ms 1s134ms 13 2 2s279ms 1s139ms 14 2 2s368ms 1s184ms 15 2 2s350ms 1s175ms 16 2 2s347ms 1s173ms 17 1 1s177ms 1s177ms 18 10 11s621ms 1s162ms 19 4 4s669ms 1s167ms 20 2 2s313ms 1s156ms 21 1 1s173ms 1s173ms 22 6 6s967ms 1s161ms 23 1 1s142ms 1s142ms Aug 05 00 5 6s73ms 1s214ms 01 1 1s225ms 1s225ms 02 8 9s305ms 1s163ms 03 1 1s179ms 1s179ms 05 4 4s974ms 1s243ms 07 3 3s589ms 1s196ms 08 2 2s306ms 1s153ms 09 2 2s383ms 1s191ms 11 4 4s599ms 1s149ms 12 5 5s791ms 1s158ms 13 2 2s244ms 1s122ms 14 2 2s228ms 1s114ms 15 3 3s427ms 1s142ms 16 1 1s109ms 1s109ms 17 2 2s307ms 1s153ms 18 2 2s360ms 1s180ms 19 2 2s242ms 1s121ms 20 3 3s472ms 1s157ms 22 1 1s202ms 1s202ms 23 4 4s618ms 1s154ms Aug 06 00 4 4s584ms 1s146ms 01 3 3s414ms 1s138ms 02 4 4s626ms 1s156ms 03 5 5s904ms 1s180ms 04 7 8s32ms 1s147ms 05 4 4s911ms 1s227ms 07 1 1s183ms 1s183ms 08 4 4s767ms 1s191ms 09 4 4s702ms 1s175ms 10 2 2s384ms 1s192ms 11 2 2s371ms 1s185ms 12 1 1s156ms 1s156ms 13 2 2s378ms 1s189ms 16 2 2s330ms 1s165ms 17 2 2s349ms 1s174ms 20 1 1s182ms 1s182ms 21 1 1s188ms 1s188ms 23 1 1s204ms 1s204ms Aug 07 00 2 2s350ms 1s175ms 01 2 2s334ms 1s167ms 02 3 3s519ms 1s173ms 03 1 1s147ms 1s147ms 05 3 3s751ms 1s250ms 06 6 6s956ms 1s159ms 07 1 1s178ms 1s178ms 08 2 2s305ms 1s152ms 09 4 4s764ms 1s191ms 10 3 3s473ms 1s157ms 11 4 4s574ms 1s143ms 12 1 1s134ms 1s134ms 13 6 6s918ms 1s153ms 14 4 4s561ms 1s140ms 15 1 1s161ms 1s161ms 16 3 3s517ms 1s172ms 17 1 1s161ms 1s161ms 18 1 1s117ms 1s117ms 19 3 3s418ms 1s139ms 20 2 2s281ms 1s140ms 21 2 2s267ms 1s133ms 22 2 2s367ms 1s183ms 23 5 5s830ms 1s166ms Aug 08 01 3 3s555ms 1s185ms 03 4 4s915ms 1s228ms 04 5 5s858ms 1s171ms 05 4 4s864ms 1s216ms 06 3 3s389ms 1s129ms 07 1 1s155ms 1s155ms 08 2 2s353ms 1s176ms 09 1 1s125ms 1s125ms 10 4 4s617ms 1s154ms 11 1 1s190ms 1s190ms 12 3 3s468ms 1s156ms 13 5 5s685ms 1s137ms 14 4 4s647ms 1s161ms 15 6 7s92ms 1s182ms 16 3 3s384ms 1s128ms 18 1 1s175ms 1s175ms 19 4 4s664ms 1s166ms 20 8 9s164ms 1s145ms 21 2 2s237ms 1s118ms 22 2 2s365ms 1s182ms 23 3 3s433ms 1s144ms Aug 09 00 2 2s329ms 1s164ms 01 2 2s372ms 1s186ms 02 2 2s304ms 1s152ms 03 6 6s964ms 1s160ms 04 2 2s382ms 1s191ms 05 3 3s728ms 1s242ms 06 1 1s207ms 1s207ms 07 1 1s171ms 1s171ms 08 3 3s538ms 1s179ms 09 7 8s320ms 1s188ms 10 3 3s343ms 1s114ms 11 1 1s140ms 1s140ms 12 3 3s498ms 1s166ms 13 3 3s436ms 1s145ms 14 1 1s130ms 1s130ms 15 2 2s292ms 1s146ms 16 1 1s164ms 1s164ms 17 2 2s247ms 1s123ms 18 1 1s137ms 1s137ms 19 3 3s419ms 1s139ms 20 1 1s107ms 1s107ms 21 3 3s408ms 1s136ms 22 6 6s978ms 1s163ms Aug 10 00 3 3s520ms 1s173ms 01 2 2s295ms 1s147ms 04 1 1s153ms 1s153ms 05 5 6s121ms 1s224ms 06 4 4s742ms 1s185ms 07 4 4s823ms 1s205ms 08 2 2s385ms 1s192ms 09 4 4s784ms 1s196ms 10 3 3s612ms 1s204ms 11 3 3s667ms 1s222ms 12 1 1s185ms 1s185ms 13 3 3s511ms 1s170ms 14 2 2s331ms 1s165ms 15 2 2s332ms 1s166ms 16 3 3s535ms 1s178ms 17 3 3s498ms 1s166ms 18 3 3s514ms 1s171ms 19 5 5s636ms 1s127ms 20 4 4s538ms 1s134ms 21 1 1s143ms 1s143ms 22 5 5s857ms 1s171ms 23 6 7s2ms 1s167ms [ User: pubeu - Total duration: 6m10s - Times executed: 318 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1435399' or receptorTerm.id = '1435399' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-10 05:43:47 Duration: 1s429ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1435399' or receptorTerm.id = '1435399' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-07 05:38:49 Duration: 1s310ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1435399' or receptorTerm.id = '1435399' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-09 05:38:52 Duration: 1s304ms Bind query: yes
3 411 28m27s 3s760ms 16s756ms 4s154ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 04 07 3 12s764ms 4s254ms 08 1 4s11ms 4s11ms 09 3 11s916ms 3s972ms 10 2 8s106ms 4s53ms 12 3 12s24ms 4s8ms 15 2 7s789ms 3s894ms 16 1 4s3ms 4s3ms 17 4 16s909ms 4s227ms 19 1 3s872ms 3s872ms 23 7 44s907ms 6s415ms Aug 05 00 1 4s56ms 4s56ms 01 3 12s950ms 4s316ms 02 5 19s805ms 3s961ms 03 3 11s862ms 3s954ms 04 3 11s886ms 3s962ms 06 1 3s944ms 3s944ms 07 1 3s886ms 3s886ms 08 2 7s802ms 3s901ms 09 5 20s139ms 4s27ms 11 2 7s867ms 3s933ms 12 3 11s680ms 3s893ms 13 1 3s963ms 3s963ms 15 20 1m38s 4s915ms 16 3 12s439ms 4s146ms 17 6 23s757ms 3s959ms 18 2 8s78ms 4s39ms 20 1 3s952ms 3s952ms 22 1 4s266ms 4s266ms Aug 06 01 3 11s600ms 3s866ms 03 5 21s24ms 4s204ms 05 1 3s892ms 3s892ms 06 1 3s996ms 3s996ms 07 4 15s932ms 3s983ms 08 5 19s434ms 3s886ms 09 9 35s857ms 3s984ms 10 3 11s847ms 3s949ms 11 1 3s960ms 3s960ms 13 1 3s955ms 3s955ms 14 14 55s919ms 3s994ms 15 2 7s929ms 3s964ms 16 1 4s60ms 4s60ms 17 2 7s771ms 3s885ms 20 1 3s929ms 3s929ms 23 2 8s101ms 4s50ms Aug 07 00 2 8s290ms 4s145ms 01 8 31s677ms 3s959ms 02 8 31s886ms 3s985ms 03 4 17s294ms 4s323ms 04 3 11s801ms 3s933ms 05 5 20s5ms 4s1ms 06 5 19s972ms 3s994ms 07 6 24s211ms 4s35ms 08 13 51s572ms 3s967ms 09 1 4s46ms 4s46ms 10 7 27s493ms 3s927ms 11 17 1m7s 3s961ms 12 3 11s877ms 3s959ms 13 2 7s848ms 3s924ms 14 6 23s834ms 3s972ms 15 11 43s20ms 3s910ms 16 3 15s126ms 5s42ms 17 4 15s691ms 3s922ms 18 15 1m1s 4s103ms 19 1 3s850ms 3s850ms 23 5 19s677ms 3s935ms Aug 08 00 1 4s1ms 4s1ms 01 2 7s815ms 3s907ms 02 6 23s746ms 3s957ms 03 3 11s729ms 3s909ms 04 2 7s972ms 3s986ms 05 2 7s831ms 3s915ms 06 3 11s863ms 3s954ms 08 7 27s731ms 3s961ms 09 5 21s459ms 4s291ms 10 1 4s49ms 4s49ms 11 1 4s191ms 4s191ms 12 1 16s163ms 16s163ms 13 2 8s410ms 4s205ms 14 2 7s864ms 3s932ms 15 2 7s649ms 3s824ms 18 1 4s93ms 4s93ms 19 3 12s187ms 4s62ms 20 4 16s70ms 4s17ms 21 1 3s886ms 3s886ms 22 2 8s70ms 4s35ms 23 3 11s773ms 3s924ms Aug 09 00 2 7s949ms 3s974ms 02 3 12s754ms 4s251ms 03 3 11s789ms 3s929ms 04 2 8s112ms 4s56ms 05 2 8s95ms 4s47ms 06 1 16s599ms 16s599ms 07 3 12s126ms 4s42ms 08 2 7s788ms 3s894ms 09 3 11s845ms 3s948ms 10 2 7s830ms 3s915ms 11 2 8s74ms 4s37ms 12 1 3s841ms 3s841ms 13 1 4s4ms 4s4ms 14 2 7s884ms 3s942ms 15 1 3s981ms 3s981ms 16 4 15s650ms 3s912ms 17 1 3s989ms 3s989ms 18 1 4s56ms 4s56ms 21 1 3s904ms 3s904ms 23 2 8s9ms 4s4ms Aug 10 01 2 8s170ms 4s85ms 02 4 16s402ms 4s100ms 05 3 13s56ms 4s352ms 06 2 7s840ms 3s920ms 10 1 3s978ms 3s978ms 11 1 4s305ms 4s305ms 12 7 28s13ms 4s1ms 13 21 1m22s 3s930ms 15 2 7s959ms 3s979ms 17 1 3s992ms 3s992ms [ User: pubeu - Total duration: 21m16s - Times executed: 316 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-08-05 15:42:35 Duration: 16s756ms Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-08-09 06:31:50 Duration: 16s599ms Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-08-08 12:05:22 Duration: 16s163ms Bind query: yes
4 140 10m7s 1s 5s978ms 4s336ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 04 05 4 12s658ms 3s164ms 09 1 4s857ms 4s857ms 10 1 5s766ms 5s766ms 11 7 36s107ms 5s158ms 18 1 5s42ms 5s42ms 19 1 1s9ms 1s9ms 21 1 4s821ms 4s821ms Aug 05 02 2 6s708ms 3s354ms 05 1 5s424ms 5s424ms 06 1 5s47ms 5s47ms 07 1 5s108ms 5s108ms 15 1 5s354ms 5s354ms 16 1 5s405ms 5s405ms 18 1 1s21ms 1s21ms 21 1 1s23ms 1s23ms 22 3 16s239ms 5s413ms Aug 06 01 1 5s192ms 5s192ms 02 1 5s313ms 5s313ms 03 1 5s753ms 5s753ms 04 2 5s862ms 2s931ms 05 3 7s142ms 2s380ms 06 3 15s752ms 5s250ms 07 2 10s892ms 5s446ms 09 6 22s668ms 3s778ms Aug 07 05 4 8s 2s 06 2 10s543ms 5s271ms 07 1 5s98ms 5s98ms 09 1 5s384ms 5s384ms 12 5 27s456ms 5s491ms 15 1 4s912ms 4s912ms 16 1 1s68ms 1s68ms 20 1 5s290ms 5s290ms 21 3 16s140ms 5s380ms 22 1 5s430ms 5s430ms Aug 08 02 3 15s848ms 5s282ms 06 1 1s13ms 1s13ms 07 1 5s36ms 5s36ms 10 3 11s179ms 3s726ms 12 1 4s866ms 4s866ms 22 7 38s866ms 5s552ms 23 9 47s774ms 5s308ms Aug 09 02 5 27s195ms 5s439ms 03 2 10s812ms 5s406ms 05 3 3s24ms 1s8ms 06 2 10s585ms 5s292ms 08 2 6s607ms 3s303ms 09 1 5s419ms 5s419ms 10 3 11s357ms 3s785ms 11 1 1s5ms 1s5ms 12 1 1s16ms 1s16ms 14 1 4s846ms 4s846ms 17 1 5s155ms 5s155ms 20 1 5s363ms 5s363ms 22 2 10s279ms 5s139ms 23 1 1s17ms 1s17ms Aug 10 00 2 10s399ms 5s199ms 01 1 5s448ms 5s448ms 02 1 5s398ms 5s398ms 03 1 1s12ms 1s12ms 05 5 13s624ms 2s724ms 07 2 6s299ms 3s149ms 08 1 1s16ms 1s16ms 09 1 4s884ms 4s884ms 10 3 15s537ms 5s179ms 13 2 10s163ms 5s81ms 14 1 5s411ms 5s411ms 17 1 5s55ms 5s55ms 23 1 5s134ms 5s134ms [ User: pubeu - Total duration: 7m2s - Times executed: 92 ]
[ User: qaeu - Total duration: 3s27ms - Times executed: 3 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1259211' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-05 22:58:20 Duration: 5s978ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1258348' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-06 07:58:18 Duration: 5s876ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1283850' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-07 12:12:58 Duration: 5s801ms Database: ctdprd51 User: pubeu Bind query: yes
5 106 2m19s 1s186ms 2s215ms 1s315ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 04 00 2 2s609ms 1s304ms 01 2 2s634ms 1s317ms 02 1 1s386ms 1s386ms 05 4 5s453ms 1s363ms 07 1 1s525ms 1s525ms 08 1 1s359ms 1s359ms 09 1 1s318ms 1s318ms 12 1 1s295ms 1s295ms 13 2 2s513ms 1s256ms 14 1 1s278ms 1s278ms 15 2 2s528ms 1s264ms 16 4 5s36ms 1s259ms 18 1 1s293ms 1s293ms 19 2 2s533ms 1s266ms Aug 05 00 2 2s654ms 1s327ms 03 1 1s250ms 1s250ms 04 2 2s622ms 1s311ms 05 3 5s11ms 1s670ms 06 1 1s306ms 1s306ms 07 1 1s242ms 1s242ms 08 1 1s265ms 1s265ms 11 1 1s221ms 1s221ms 13 1 1s267ms 1s267ms 20 2 2s601ms 1s300ms 21 2 2s411ms 1s205ms 23 1 1s220ms 1s220ms Aug 06 00 1 1s240ms 1s240ms 02 1 1s211ms 1s211ms 03 1 1s372ms 1s372ms 04 1 1s282ms 1s282ms 05 3 4s167ms 1s389ms 08 3 3s791ms 1s263ms 10 1 1s328ms 1s328ms 11 1 1s231ms 1s231ms 19 1 1s356ms 1s356ms 22 3 3s922ms 1s307ms Aug 07 00 2 2s609ms 1s304ms 03 2 3s453ms 1s726ms 05 2 2s731ms 1s365ms 09 2 2s608ms 1s304ms 10 1 1s233ms 1s233ms 17 2 2s525ms 1s262ms 20 1 1s218ms 1s218ms 21 2 2s478ms 1s239ms Aug 08 05 2 2s758ms 1s379ms 07 1 1s371ms 1s371ms 09 2 2s438ms 1s219ms 14 1 1s220ms 1s220ms 15 1 1s305ms 1s305ms 21 2 2s422ms 1s211ms Aug 09 00 1 1s299ms 1s299ms 02 1 1s186ms 1s186ms 05 2 2s831ms 1s415ms 06 1 1s282ms 1s282ms 08 1 1s294ms 1s294ms 19 1 1s289ms 1s289ms 20 1 1s302ms 1s302ms 21 2 2s497ms 1s248ms 22 1 1s261ms 1s261ms 23 1 1s231ms 1s231ms Aug 10 01 1 1s495ms 1s495ms 02 1 1s242ms 1s242ms 03 1 1s299ms 1s299ms 05 3 4s32ms 1s344ms 06 1 1s306ms 1s306ms 07 2 2s632ms 1s316ms 08 1 1s289ms 1s289ms 12 1 1s273ms 1s273ms 16 1 1s312ms 1s312ms [ User: pubeu - Total duration: 1m41s - Times executed: 78 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1244856') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1244856') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-07 03:21:23 Duration: 2s215ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1213901') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1213901') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-05 05:39:17 Duration: 2s187ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1245384') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1245384') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-04 07:24:33 Duration: 1s525ms Database: ctdprd51 User: pubeu Bind query: yes
6 104 6m57s 1s3ms 11s945ms 4s17ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 04 05 1 1s178ms 1s178ms 10 1 1s355ms 1s355ms 12 1 4s944ms 4s944ms 18 1 1s387ms 1s387ms Aug 05 03 1 2s167ms 2s167ms 04 1 2s683ms 2s683ms 09 1 10s631ms 10s631ms 22 1 5s699ms 5s699ms 23 1 1s208ms 1s208ms Aug 06 00 1 1s651ms 1s651ms 05 3 12s382ms 4s127ms 06 2 4s806ms 2s403ms 07 3 17s685ms 5s895ms 08 4 16s572ms 4s143ms 14 2 2s251ms 1s125ms 21 2 4s90ms 2s45ms Aug 07 00 1 2s650ms 2s650ms 01 1 1s267ms 1s267ms 02 1 1s97ms 1s97ms 04 1 6s518ms 6s518ms 07 1 1s501ms 1s501ms 09 1 1s227ms 1s227ms 13 3 3s330ms 1s110ms 16 1 1s916ms 1s916ms Aug 08 01 1 10s716ms 10s716ms 03 14 1m46s 7s594ms 05 1 2s644ms 2s644ms 17 1 2s651ms 2s651ms 20 2 2s405ms 1s202ms 21 1 2s562ms 2s562ms 22 2 2s266ms 1s133ms Aug 09 00 1 10s467ms 10s467ms 02 1 2s592ms 2s592ms 05 1 2s653ms 2s653ms 09 2 14s432ms 7s216ms 10 1 4s86ms 4s86ms 12 2 7s955ms 3s977ms 13 3 10s569ms 3s523ms 15 2 6s439ms 3s219ms 16 1 4s225ms 4s225ms 18 1 11s13ms 11s13ms 19 2 3s8ms 1s504ms 21 2 13s245ms 6s622ms 22 2 7s375ms 3s687ms 23 1 6s132ms 6s132ms Aug 10 00 1 4s937ms 4s937ms 01 2 8s173ms 4s86ms 02 4 10s693ms 2s673ms 04 1 1s191ms 1s191ms 05 1 10s476ms 10s476ms 06 1 3s55ms 3s55ms 07 1 5s671ms 5s671ms 09 3 8s455ms 2s818ms 11 2 4s224ms 2s112ms 12 1 1s60ms 1s60ms 13 4 12s98ms 3s24ms 16 1 1s315ms 1s315ms 19 1 1s227ms 1s227ms 22 1 1s264ms 1s264ms [ User: pubeu - Total duration: 4m46s - Times executed: 75 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:48:16 Duration: 11s945ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2073928') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-09 09:54:08 Duration: 11s932ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:48:14 Duration: 11s384ms Database: ctdprd51 User: pubeu Bind query: yes
7 91 3m20s 1s5ms 5s714ms 2s207ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 04 03 2 4s201ms 2s100ms 17 1 1s544ms 1s544ms 20 1 2s158ms 2s158ms Aug 05 02 3 3s404ms 1s134ms 04 1 2s85ms 2s85ms 05 1 2s153ms 2s153ms 07 1 1s480ms 1s480ms 12 1 2s269ms 2s269ms 15 1 1s959ms 1s959ms 19 1 2s196ms 2s196ms 22 1 2s30ms 2s30ms Aug 07 21 1 1s5ms 1s5ms Aug 08 01 1 2s90ms 2s90ms Aug 09 08 1 1s971ms 1s971ms 10 2 4s64ms 2s32ms 11 3 8s902ms 2s967ms 12 3 6s68ms 2s22ms 13 5 8s768ms 1s753ms 14 1 2s100ms 2s100ms 15 1 2s73ms 2s73ms 16 1 1s116ms 1s116ms 18 10 22s270ms 2s227ms 19 6 25s485ms 4s247ms 20 2 3s117ms 1s558ms 21 2 3s806ms 1s903ms 22 1 2s44ms 2s44ms 23 2 3s281ms 1s640ms Aug 10 00 3 6s236ms 2s78ms 02 4 15s356ms 3s839ms 03 2 7s137ms 3s568ms 05 6 10s332ms 1s722ms 06 4 8s381ms 2s95ms 07 2 4s156ms 2s78ms 08 2 4s194ms 2s97ms 09 8 14s737ms 1s842ms 11 1 2s93ms 2s93ms 12 3 4s608ms 1s536ms [ User: pubeu - Total duration: 2m18s - Times executed: 63 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '651438' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '651438') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-08-09 18:27:28 Duration: 5s714ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '651438' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '651438') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-08-10 02:40:16 Duration: 5s679ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '651438' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '651438') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-08-10 03:59:27 Duration: 5s642ms Bind query: yes
8 88 1m56s 1s201ms 1s608ms 1s327ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 04 01 1 1s328ms 1s328ms 04 2 2s600ms 1s300ms 05 2 2s904ms 1s452ms 08 1 1s285ms 1s285ms 09 1 1s292ms 1s292ms 11 1 1s303ms 1s303ms 12 1 1s293ms 1s293ms 13 2 2s639ms 1s319ms 14 1 1s268ms 1s268ms 15 1 1s324ms 1s324ms 20 1 1s268ms 1s268ms 22 1 1s267ms 1s267ms Aug 05 00 1 1s314ms 1s314ms 01 3 3s791ms 1s263ms 03 1 1s344ms 1s344ms 05 4 5s564ms 1s391ms 08 1 1s268ms 1s268ms 12 1 1s333ms 1s333ms 20 1 1s329ms 1s329ms 23 1 1s232ms 1s232ms Aug 06 02 2 2s460ms 1s230ms 05 2 2s909ms 1s454ms 07 1 1s271ms 1s271ms 09 1 1s329ms 1s329ms 13 1 1s242ms 1s242ms 17 1 1s281ms 1s281ms 18 1 1s313ms 1s313ms 20 1 1s322ms 1s322ms 21 1 1s356ms 1s356ms 22 1 1s301ms 1s301ms 23 1 1s374ms 1s374ms Aug 07 03 1 1s277ms 1s277ms 05 3 4s123ms 1s374ms 06 1 1s245ms 1s245ms 09 1 1s350ms 1s350ms 11 1 1s211ms 1s211ms 13 1 1s225ms 1s225ms 15 1 1s298ms 1s298ms 22 3 3s947ms 1s315ms Aug 08 01 1 1s375ms 1s375ms 02 1 1s265ms 1s265ms 03 1 1s330ms 1s330ms 04 1 1s291ms 1s291ms 05 2 2s817ms 1s408ms 13 1 1s201ms 1s201ms 14 1 1s608ms 1s608ms 18 1 1s346ms 1s346ms 20 1 1s298ms 1s298ms 21 1 1s349ms 1s349ms Aug 09 01 2 2s625ms 1s312ms 03 1 1s346ms 1s346ms 05 3 4s249ms 1s416ms 08 1 1s289ms 1s289ms 09 1 1s288ms 1s288ms 12 1 1s294ms 1s294ms 15 1 1s239ms 1s239ms 20 1 1s247ms 1s247ms 22 1 1s420ms 1s420ms Aug 10 00 1 1s297ms 1s297ms 01 2 2s704ms 1s352ms 02 2 2s641ms 1s320ms 05 2 2s923ms 1s461ms 14 1 1s363ms 1s363ms 15 1 1s293ms 1s293ms 16 1 1s209ms 1s209ms 21 2 2s692ms 1s346ms [ User: pubeu - Total duration: 1m7s - Times executed: 52 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073928') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073928') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-08 14:59:52 Duration: 1s608ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2074262') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2074262') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-10 05:43:49 Duration: 1s548ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2074262') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2074262') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-04 05:38:47 Duration: 1s462ms Bind query: yes
9 86 2m1s 1s335ms 1s557ms 1s415ms select t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, t.acc_txt acc, ? || t.nm accquerystr, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term t where t.object_type_id = ? and regexp_replace(upper(substring(t.nm, ?, ?)), ?, ?) = ? order by t.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 04 05 3 4s329ms 1s443ms 09 1 1s382ms 1s382ms 13 1 1s448ms 1s448ms 14 1 1s442ms 1s442ms 15 2 2s881ms 1s440ms 18 1 1s339ms 1s339ms 22 1 1s430ms 1s430ms Aug 05 02 1 1s455ms 1s455ms 03 2 2s797ms 1s398ms 04 1 1s373ms 1s373ms 05 3 4s266ms 1s422ms 13 1 1s408ms 1s408ms 21 2 2s728ms 1s364ms 23 2 2s810ms 1s405ms Aug 06 01 1 1s356ms 1s356ms 02 1 1s450ms 1s450ms 03 1 1s356ms 1s356ms 04 1 1s348ms 1s348ms 05 2 2s890ms 1s445ms 08 1 1s457ms 1s457ms 14 1 1s448ms 1s448ms Aug 07 01 1 1s344ms 1s344ms 03 1 1s392ms 1s392ms 05 2 2s908ms 1s454ms 08 1 1s381ms 1s381ms 11 1 1s351ms 1s351ms 16 1 1s350ms 1s350ms 19 8 11s507ms 1s438ms Aug 08 01 3 4s278ms 1s426ms 04 1 1s355ms 1s355ms 05 5 7s166ms 1s433ms 06 1 1s416ms 1s416ms 07 2 2s813ms 1s406ms 13 1 1s364ms 1s364ms 14 1 1s341ms 1s341ms 22 2 2s885ms 1s442ms Aug 09 02 1 1s451ms 1s451ms 03 1 1s440ms 1s440ms 05 2 2s933ms 1s466ms 08 1 1s411ms 1s411ms 09 1 1s392ms 1s392ms 10 2 2s961ms 1s480ms 12 1 1s382ms 1s382ms 16 1 1s359ms 1s359ms 18 1 1s399ms 1s399ms Aug 10 01 1 1s386ms 1s386ms 03 1 1s399ms 1s399ms 05 2 2s876ms 1s438ms 06 1 1s382ms 1s382ms 07 1 1s464ms 1s464ms 09 1 1s469ms 1s469ms 10 1 1s335ms 1s335ms 12 2 2s808ms 1s404ms 13 2 2s895ms 1s447ms 17 1 1s394ms 1s394ms 23 1 1s366ms 1s366ms [ User: pubeu - Total duration: 1m8s - Times executed: 49 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-08-04 05:37:08 Duration: 1s557ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-08-09 10:36:13 Duration: 1s493ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-08-09 05:42:09 Duration: 1s480ms Bind query: yes
10 81 3m9s 1s50ms 11s744ms 2s336ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 04 05 1 1s620ms 1s620ms 10 7 27s296ms 3s899ms 22 1 1s548ms 1s548ms Aug 05 23 3 6s384ms 2s128ms Aug 06 06 2 3s200ms 1s600ms 07 12 17s224ms 1s435ms 10 4 4s417ms 1s104ms Aug 07 00 2 14s860ms 7s430ms 05 1 2s37ms 2s37ms 06 1 2s110ms 2s110ms 13 3 9s93ms 3s31ms 22 2 2s896ms 1s448ms Aug 08 02 1 1s563ms 1s563ms 03 1 1s952ms 1s952ms 04 2 3s228ms 1s614ms 11 1 1s176ms 1s176ms 12 1 11s744ms 11s744ms 13 1 1s118ms 1s118ms 20 1 6s48ms 6s48ms 22 1 2s908ms 2s908ms Aug 09 01 1 1s425ms 1s425ms 03 7 16s191ms 2s313ms 04 2 4s673ms 2s336ms 11 5 8s354ms 1s670ms 12 7 12s322ms 1s760ms 15 1 1s932ms 1s932ms Aug 10 05 9 20s748ms 2s305ms 08 1 1s137ms 1s137ms [ User: pubeu - Total duration: 2m16s - Times executed: 59 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2078434') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-08 12:23:00 Duration: 11s744ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2073582') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-07 00:51:00 Duration: 7s451ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2073582') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-07 00:52:33 Duration: 7s409ms Bind query: yes
11 56 2m49s 1s57ms 5s343ms 3s22ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 04 13 1 5s233ms 5s233ms 22 1 5s343ms 5s343ms Aug 05 21 1 1s233ms 1s233ms Aug 06 03 1 2s203ms 2s203ms 05 1 1s609ms 1s609ms 06 3 7s240ms 2s413ms 09 1 2s345ms 2s345ms 17 1 5s259ms 5s259ms 21 1 1s741ms 1s741ms Aug 07 00 1 2s802ms 2s802ms 04 2 4s161ms 2s80ms Aug 08 09 1 1s551ms 1s551ms 12 1 5s38ms 5s38ms Aug 09 06 1 5s173ms 5s173ms 11 3 7s510ms 2s503ms 13 1 3s840ms 3s840ms 15 3 12s507ms 4s169ms 16 1 2s514ms 2s514ms 18 4 14s817ms 3s704ms 19 1 1s862ms 1s862ms 20 2 6s441ms 3s220ms 21 1 1s334ms 1s334ms 22 2 6s221ms 3s110ms Aug 10 00 4 14s861ms 3s715ms 01 1 5s269ms 5s269ms 02 2 6s729ms 3s364ms 05 1 1s320ms 1s320ms 06 1 1s674ms 1s674ms 07 1 1s474ms 1s474ms 08 1 2s598ms 2s598ms 09 1 2s888ms 2s888ms 10 1 5s315ms 5s315ms 11 3 4s805ms 1s601ms 13 5 14s360ms 2s872ms [ User: pubeu - Total duration: 1m44s - Times executed: 36 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1391044') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1391044') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-08-04 22:26:16 Duration: 5s343ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1391044') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1391044') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-08-10 10:44:39 Duration: 5s315ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1391044') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1391044') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-08-10 13:12:03 Duration: 5s314ms Database: ctdprd51 User: pubeu Bind query: yes
12 48 2m27s 1s220ms 6s213ms 3s63ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 04 17 2 9s55ms 4s527ms Aug 05 01 1 2s32ms 2s32ms 08 1 1s989ms 1s989ms 21 1 1s233ms 1s233ms Aug 06 04 1 2s791ms 2s791ms 05 2 7s195ms 3s597ms 07 1 2s764ms 2s764ms 11 1 2s848ms 2s848ms 17 1 6s32ms 6s32ms 18 1 3s301ms 3s301ms Aug 07 01 1 2s17ms 2s17ms 09 1 1s321ms 1s321ms 15 1 1s917ms 1s917ms 21 1 2s1ms 2s1ms Aug 08 12 1 5s990ms 5s990ms Aug 09 08 1 2s800ms 2s800ms 09 3 6s938ms 2s312ms 10 3 11s421ms 3s807ms 11 1 2s778ms 2s778ms 12 2 3s523ms 1s761ms 14 1 5s989ms 5s989ms 15 1 1s614ms 1s614ms 18 1 2s836ms 2s836ms 19 2 8s22ms 4s11ms 20 2 9s269ms 4s634ms 21 1 2s115ms 2s115ms 22 1 1s914ms 1s914ms 23 1 1s734ms 1s734ms Aug 10 02 2 4s464ms 2s232ms 04 2 4s804ms 2s402ms 08 1 1s984ms 1s984ms 09 2 5s215ms 2s607ms 10 2 8s158ms 4s79ms 11 1 6s98ms 6s98ms 13 1 2s875ms 2s875ms [ User: pubeu - Total duration: 1m48s - Times executed: 36 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-08-10 10:04:06 Duration: 6s213ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-08-04 17:22:16 Duration: 6s189ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1391044'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-08-10 11:07:45 Duration: 6s98ms Database: ctdprd51 User: pubeu Bind query: yes
13 43 1m47s 1s 3s400ms 2s488ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 04 05 3 7s837ms 2s612ms Aug 05 05 4 8s711ms 2s177ms 06 1 1s926ms 1s926ms Aug 06 05 4 8s599ms 2s149ms 06 4 13s151ms 3s287ms 13 2 3s844ms 1s922ms 16 1 3s340ms 3s340ms Aug 07 05 3 7s634ms 2s544ms Aug 08 00 1 1s813ms 1s813ms 01 1 1s860ms 1s860ms 02 1 1s971ms 1s971ms 05 3 7s779ms 2s593ms Aug 09 05 5 11s229ms 2s245ms 17 1 3s328ms 3s328ms 20 2 6s505ms 3s252ms Aug 10 02 1 2s790ms 2s790ms 04 1 3s246ms 3s246ms 05 3 7s634ms 2s544ms 12 2 3s813ms 1s906ms [ User: pubeu - Total duration: 1m1s - Times executed: 22 ]
[ User: qaeu - Total duration: 23s441ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '591154' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-08-04 05:35:12 Duration: 3s400ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '591154' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-08-09 05:40:12 Duration: 3s398ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '591154' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-08-04 05:40:12 Duration: 3s385ms Database: ctdprd51 User: qaeu Bind query: yes
14 41 56s866ms 1s354ms 1s543ms 1s386ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 04 05 2 2s811ms 1s405ms Aug 05 04 1 1s356ms 1s356ms 05 2 2s750ms 1s375ms 06 2 2s785ms 1s392ms 21 1 1s417ms 1s417ms Aug 06 05 1 1s383ms 1s383ms Aug 07 01 1 1s381ms 1s381ms 05 3 4s111ms 1s370ms Aug 08 05 2 2s770ms 1s385ms Aug 09 05 3 4s122ms 1s374ms 06 2 2s746ms 1s373ms 10 1 1s393ms 1s393ms 11 2 2s725ms 1s362ms 13 1 1s393ms 1s393ms 14 2 2s910ms 1s455ms 17 1 1s368ms 1s368ms 22 1 1s393ms 1s393ms 23 1 1s390ms 1s390ms Aug 10 00 3 4s150ms 1s383ms 02 1 1s369ms 1s369ms 05 4 5s597ms 1s399ms 09 1 1s393ms 1s393ms 10 1 1s370ms 1s370ms 12 2 2s769ms 1s384ms [ User: pubeu - Total duration: 27s767ms - Times executed: 20 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-08-09 14:12:55 Duration: 1s543ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-08-04 05:38:37 Duration: 1s447ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-08-10 05:43:39 Duration: 1s432ms Bind query: yes
15 36 1h3m10s 1s244ms 17m34s 1m45s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 04 03 1 1s444ms 1s444ms Aug 05 05 1 1s883ms 1s883ms Aug 06 02 2 2m6s 1m3s 04 1 1s503ms 1s503ms 20 1 1s565ms 1s565ms Aug 07 10 1 4m28s 4m28s 22 1 3s199ms 3s199ms Aug 08 01 1 1s244ms 1s244ms 04 1 3m40s 3m40s 06 1 1s322ms 1s322ms 10 1 1s387ms 1s387ms 13 1 1s498ms 1s498ms Aug 09 05 1 3m38s 3m38s 09 1 1s720ms 1s720ms 13 2 4s646ms 2s323ms 14 1 2s204ms 2s204ms 20 2 35m5s 17m32s 21 1 1s337ms 1s337ms 22 1 1s373ms 1s373ms Aug 10 00 1 1s947ms 1s947ms 01 1 3s12ms 3s12ms 02 1 1s645ms 1s645ms 05 2 5m17s 2m38s 07 2 4m1s 2m 08 1 1s493ms 1s493ms 09 2 4m10s 2m5s 12 2 3s542ms 1s771ms 16 1 1s622ms 1s622ms 17 1 1s924ms 1s924ms [ User: pubeu - Total duration: 37m15s - Times executed: 26 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1237714') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-09 20:20:02 Duration: 17m34s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1237714') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-09 20:00:57 Duration: 17m31s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1219162') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-07 10:31:42 Duration: 4m28s Database: ctdprd51 User: pubeu Bind query: yes
16 34 4m51s 1s4ms 22s503ms 8s574ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 04 06 1 1s306ms 1s306ms 22 1 1s103ms 1s103ms Aug 05 05 1 10s18ms 10s18ms Aug 06 04 1 1s859ms 1s859ms 08 1 1s239ms 1s239ms 12 1 3s585ms 3s585ms Aug 07 01 4 1m28s 22s10ms 16 1 6s752ms 6s752ms Aug 08 12 1 1s666ms 1s666ms Aug 09 04 1 3s547ms 3s547ms 10 1 2s5ms 2s5ms 11 1 1s692ms 1s692ms 12 1 9s37ms 9s37ms 13 1 1s208ms 1s208ms 18 1 1s311ms 1s311ms 19 2 35s181ms 17s590ms 20 2 11s248ms 5s624ms 22 1 1s883ms 1s883ms 23 1 3s476ms 3s476ms Aug 10 00 2 17s42ms 8s521ms 04 2 21s852ms 10s926ms 08 1 15s711ms 15s711ms 09 1 7s148ms 7s148ms 11 1 19s865ms 19s865ms 13 1 19s312ms 19s312ms 15 1 1s154ms 1s154ms 17 1 3s285ms 3s285ms [ User: pubeu - Total duration: 3m13s - Times executed: 26 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1213902') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-08-07 01:06:04 Duration: 22s503ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1213902') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-08-07 01:06:07 Duration: 22s254ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1213902') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-08-07 01:06:10 Duration: 22s164ms Database: ctdprd51 User: pubeu Bind query: yes
17 31 42s183ms 1s61ms 1s650ms 1s360ms select fg.nm fromgenesymbol, fg.acc_txt fromgeneacc, tg.nm togenesymbol, tg.acc_txt togeneacc, ft.nm fromtaxonnm, ft.secondary_nm fromtaxoncommonnm, ft.acc_txt fromtaxonacc, tt.nm totaxonnm, tt.secondary_nm totaxoncommonnm, tt.acc_txt totaxonacc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( select string_agg(ggt.throughput_txt, ? order by ggt.throughput_txt) from gene_gene_ref_throughput ggt where ggt.gene_gene_reference_id = ggr.id) throughput, count(*) over () fullrowcount from gene_gene_reference ggr inner join term fg on ggr.from_gene_id = fg.id inner join term tg on ggr.to_gene_id = tg.id inner join term ft on ggr.from_taxon_id = ft.id inner join term tt on ggr.to_taxon_id = tt.id where ggr.reference_id = ? order by fg.nm_sort, tg.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 04 05 4 5s428ms 1s357ms Aug 05 05 4 5s130ms 1s282ms 20 1 1s68ms 1s68ms Aug 06 05 4 5s402ms 1s350ms Aug 07 05 4 5s596ms 1s399ms Aug 08 05 4 5s808ms 1s452ms Aug 09 01 1 1s61ms 1s61ms 05 4 6s52ms 1s513ms Aug 10 05 4 5s533ms 1s383ms 14 1 1s100ms 1s100ms [ User: pubeu - Total duration: 13s443ms - Times executed: 10 ]
[ User: qaeu - Total duration: 9s24ms - Times executed: 7 ]
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-08-04 05:38:11 Duration: 1s650ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-08-09 05:38:19 Duration: 1s628ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-08-08 05:38:17 Duration: 1s620ms Database: ctdprd51 User: pubeu Bind query: yes
18 29 3m24s 6s128ms 7s973ms 7s56ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where diseaseterm.id = any (array ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 07 16 29 3m24s 7s56ms [ User: pubeu - Total duration: 1m40s - Times executed: 14 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and upper(baseTerm.nm) LIKE 'CARCINOMA, NON-SMALL-CELL LUNG')) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 50;
Date: 2024-08-07 16:27:58 Duration: 7s973ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and upper(baseTerm.nm) LIKE 'CARCINOMA, NON-SMALL-CELL LUNG')) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 50;
Date: 2024-08-07 16:27:57 Duration: 7s800ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and upper(baseTerm.nm) LIKE 'CARCINOMA, NON-SMALL-CELL LUNG')) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 50;
Date: 2024-08-07 16:27:58 Duration: 7s788ms Database: ctdprd51 User: pubeu Bind query: yes
19 27 3m9s 1s8ms 16s507ms 7s35ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 04 00 1 1s80ms 1s80ms 09 1 1s349ms 1s349ms Aug 05 05 2 11s630ms 5s815ms 15 1 1s8ms 1s8ms Aug 06 02 2 5s219ms 2s609ms 04 1 15s493ms 15s493ms 05 1 3s825ms 3s825ms Aug 07 01 1 1s306ms 1s306ms 05 1 2s880ms 2s880ms 14 1 15s370ms 15s370ms Aug 08 23 2 32s680ms 16s340ms Aug 09 09 1 5s609ms 5s609ms 13 1 2s810ms 2s810ms 14 1 3s780ms 3s780ms 19 1 4s196ms 4s196ms 22 2 32s181ms 16s90ms Aug 10 00 1 4s398ms 4s398ms 02 1 1s99ms 1s99ms 03 2 11s598ms 5s799ms 04 1 15s470ms 15s470ms 05 1 15s881ms 15s881ms 06 1 1s86ms 1s86ms [ User: pubeu - Total duration: 2m21s - Times executed: 20 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1213902'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-08-08 23:15:18 Duration: 16s507ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1213902'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-08-08 23:15:11 Duration: 16s172ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1213902'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-08-09 22:45:32 Duration: 16s93ms Database: ctdprd51 User: pubeu Bind query: yes
20 25 13m56s 32s890ms 34s112ms 33s445ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 04 06 1 33s407ms 33s407ms 10 1 33s433ms 33s433ms 14 1 33s339ms 33s339ms 18 1 33s405ms 33s405ms Aug 05 06 1 33s484ms 33s484ms 10 1 33s341ms 33s341ms 14 1 33s448ms 33s448ms 18 1 33s366ms 33s366ms Aug 06 06 1 33s510ms 33s510ms 10 1 33s429ms 33s429ms 14 1 33s400ms 33s400ms 18 1 33s344ms 33s344ms Aug 07 06 1 33s853ms 33s853ms 10 1 33s486ms 33s486ms 14 1 33s386ms 33s386ms 18 1 33s456ms 33s456ms Aug 08 06 1 33s454ms 33s454ms 10 1 33s381ms 33s381ms 14 1 33s313ms 33s313ms 18 1 33s515ms 33s515ms Aug 09 06 1 33s458ms 33s458ms 10 1 33s501ms 33s501ms 14 1 33s422ms 33s422ms 18 1 34s112ms 34s112ms Aug 10 19 1 32s890ms 32s890ms [ User: postgres - Total duration: 13m23s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m23s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-09 18:05:36 Duration: 34s112ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-07 06:05:35 Duration: 33s853ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-08 18:05:35 Duration: 33s515ms Database: ctdprd51 User: postgres Application: pg_dump
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m37s 23m37s 23m37s 1 23m37s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 10 19 1 23m37s 23m37s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-08-10 19:00:31 Duration: 23m37s
2 23m24s 23m24s 23m24s 1 23m24s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 10 19 1 23m24s 23m24s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-08-10 19:41:22 Duration: 23m24s
3 16m23s 16m29s 16m26s 7 1h55m4s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 04 00 1 16m25s 16m25s Aug 05 00 1 16m28s 16m28s Aug 06 00 1 16m23s 16m23s Aug 07 00 1 16m24s 16m24s Aug 08 00 1 16m25s 16m25s Aug 09 00 1 16m27s 16m27s Aug 10 00 1 16m29s 16m29s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-08-10 00:16:31 Duration: 16m29s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-08-05 00:16:29 Duration: 16m28s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-08-09 00:16:29 Duration: 16m27s
4 11m4s 11m4s 11m4s 1 11m4s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.nm = ?)) and (gcra.action_degree_type_nm = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 08 22 1 11m4s 11m4s [ User: pubeu - Total duration: 11m4s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOID RECEPTOR AGONISTS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'activity')) AND (gcra.action_degree_type_nm = 'increases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-08 22:48:33 Duration: 11m4s Database: ctdprd51 User: pubeu Bind query: yes
5 10m55s 10m56s 10m55s 2 21m51s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.nm = ?))) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 08 22 1 10m56s 10m56s Aug 09 08 1 10m55s 10m55s [ User: pubeu - Total duration: 10m55s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOIDS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-08 22:38:39 Duration: 10m56s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOID RECEPTOR AGONISTS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'activity'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-09 08:51:58 Duration: 10m55s Database: ctdprd51 User: pubeu Bind query: yes
6 10m54s 10m54s 10m54s 1 10m54s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by i.sort_txt, g.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 09 16 1 10m54s 10m54s [ User: pubeu - Total duration: 10m54s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'CNR2') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABIGEROLIC ACID' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-08-09 16:19:22 Duration: 10m54s Database: ctdprd51 User: pubeu Bind query: yes
7 10m41s 10m41s 10m41s 1 10m41s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in (( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ? union select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?) intersect ( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 09 16 1 10m41s 10m41s [ User: pubeu - Total duration: 10m41s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG') INTERSECT ( SELECT /* GAIQH.getGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'CNR2') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'ALZHEIMER DISEASE' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-08-09 16:52:42 Duration: 10m41s Database: ctdprd51 User: pubeu Bind query: yes
8 1s616ms 15m10s 7m36s 2 15m12s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select t.id from term t where t.nm_fts @@ to_tsquery(?, ?) and t.object_type_id = ?) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 07 11 2 15m12s 7m36s [ User: pubeu - Total duration: 1s616ms - Times executed: 1 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', '50') AND t.object_type_id = 2) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-08-07 11:26:49 Duration: 15m10s Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'FORM') AND t.object_type_id = 2) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-08-07 11:11:18 Duration: 1s616ms Database: ctdprd51 User: pubeu Bind query: yes
9 6m47s 6m47s 6m47s 1 6m47s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 10 19 1 6m47s 6m47s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-08-10 19:12:10 Duration: 6m47s
10 6m41s 6m41s 6m41s 1 6m41s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 10 19 1 6m41s 6m41s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-08-10 19:52:51 Duration: 6m41s
11 1m58s 1m59s 1m59s 4 7m56s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ? reference ? pg_catalog.english ? coh1 % & and & ? = convert & int) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 08 04 4 7m56s 1m59s [ User: pubeu - Total duration: 5m57s - Times executed: 3 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:53:40 Duration: 1m59s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:54:10 Duration: 1m59s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:53:09 Duration: 1m59s Database: ctdprd51 User: pubeu Bind query: yes
12 1s244ms 17m34s 1m45s 36 1h3m10s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 04 03 1 1s444ms 1s444ms Aug 05 05 1 1s883ms 1s883ms Aug 06 02 2 2m6s 1m3s 04 1 1s503ms 1s503ms 20 1 1s565ms 1s565ms Aug 07 10 1 4m28s 4m28s 22 1 3s199ms 3s199ms Aug 08 01 1 1s244ms 1s244ms 04 1 3m40s 3m40s 06 1 1s322ms 1s322ms 10 1 1s387ms 1s387ms 13 1 1s498ms 1s498ms Aug 09 05 1 3m38s 3m38s 09 1 1s720ms 1s720ms 13 2 4s646ms 2s323ms 14 1 2s204ms 2s204ms 20 2 35m5s 17m32s 21 1 1s337ms 1s337ms 22 1 1s373ms 1s373ms Aug 10 00 1 1s947ms 1s947ms 01 1 3s12ms 3s12ms 02 1 1s645ms 1s645ms 05 2 5m17s 2m38s 07 2 4m1s 2m 08 1 1s493ms 1s493ms 09 2 4m10s 2m5s 12 2 3s542ms 1s771ms 16 1 1s622ms 1s622ms 17 1 1s924ms 1s924ms [ User: pubeu - Total duration: 37m15s - Times executed: 26 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1237714') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-09 20:20:02 Duration: 17m34s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1237714') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-09 20:00:57 Duration: 17m31s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1219162') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-07 10:31:42 Duration: 4m28s Database: ctdprd51 User: pubeu Bind query: yes
13 1m19s 1m21s 1m20s 8 10m40s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ? reference ? pg_catalog.english ? coh1 & and & select & ? & from & select & count &, || & ? x7171717171) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like)) ii group by ii.cd;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 08 04 8 10m40s 1m20s [ User: pubeu - Total duration: 2m40s - Times executed: 2 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:46:53 Duration: 1m21s Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:45:22 Duration: 1m21s Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JTBV' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JTBV' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:47:53 Duration: 1m20s Database: ctdprd51 User: pubeu Bind query: yes
14 1s152ms 53s896ms 43s204ms 8,469 4d5h38m15s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 04 08 1 4s934ms 4s934ms 18 1 2s544ms 2s544ms 20 11 6m47s 37s43ms 21 84 56m47s 40s567ms 22 84 57m13s 40s870ms 23 89 57m31s 38s783ms Aug 05 00 84 57m13s 40s880ms 01 83 56m57s 41s177ms 02 83 57m3s 41s249ms 03 83 57m15s 41s396ms 04 83 57m15s 41s396ms 05 50 34m2s 40s846ms 07 1 1s496ms 1s496ms 08 67 46m25s 41s573ms 09 84 57m35s 41s142ms 10 82 56m47s 41s557ms 11 83 57m14s 41s384ms 12 83 57m23s 41s489ms 13 82 56m51s 41s602ms 14 83 57m40s 41s688ms 15 82 56m59s 41s700ms 16 82 56m55s 41s649ms 17 83 57m50s 41s812ms 18 82 57m7s 41s793ms 19 82 57m14s 41s885ms 20 82 57m14s 41s881ms 21 82 57m18s 41s932ms 22 81 56m42s 42s 23 82 57m26s 42s30ms Aug 06 00 82 57m16s 41s904ms 01 81 56m59s 42s210ms 02 82 57m44s 42s255ms 03 83 57m6s 41s288ms 04 82 57m9s 41s819ms 05 48 33m54s 42s389ms 23 27 18m56s 42s89ms Aug 07 00 83 57m46s 41s769ms 01 81 56m55s 42s160ms 02 82 57m42s 42s223ms 03 83 57m17s 41s409ms 04 81 57m 42s222ms 05 48 33m44s 42s183ms 06 80 56m54s 42s681ms 07 81 57m35s 42s657ms 08 81 57m 42s228ms 09 80 57m5s 42s817ms 10 79 56m29s 42s899ms 11 80 57m19s 42s995ms 12 80 57m15s 42s948ms 13 80 57m13s 42s922ms 14 81 57m23s 42s517ms 15 80 57m29s 43s121ms 16 80 57m32s 43s160ms 17 80 56m59s 42s738ms 18 80 57m45s 43s323ms 19 80 57m5s 42s823ms 20 79 57m17s 43s507ms 21 79 57m22s 43s573ms 22 79 57m8s 43s396ms 23 82 57m54s 42s369ms Aug 08 00 79 57m13s 43s456ms 01 79 57m13s 43s459ms 02 79 56m51s 43s181ms 03 81 57m44s 42s777ms 04 78 57m1s 43s869ms 05 65 47m28s 43s818ms 06 77 56m18s 43s880ms 07 77 56m11s 43s790ms 08 78 57m10s 43s983ms 09 79 57m18s 43s520ms 10 78 57m15s 44s47ms 11 79 57m24s 43s597ms 12 79 57m22s 43s573ms 13 79 57m19s 43s537ms 14 78 57m28s 44s206ms 15 78 57m20s 44s106ms 16 78 57m26s 44s185ms 17 79 57m32s 43s708ms 18 78 57m24s 44s162ms 19 78 57m26s 44s185ms 20 77 56m52s 44s323ms 21 78 57m45s 44s435ms 22 77 57m21s 44s688ms 23 77 57m14s 44s604ms Aug 09 00 77 57m6s 44s496ms 01 78 57m19s 44s97ms 02 78 57m52s 44s512ms 03 77 57m33s 44s854ms 04 76 56m48s 44s845ms 05 46 34m20s 44s791ms 06 30 22m25s 44s847ms 07 77 56m54s 44s340ms 08 77 57m39s 44s934ms 09 77 57m40s 44s946ms 10 76 57m16s 45s215ms 11 76 57m11s 45s149ms 12 77 57m12s 44s574ms 13 77 57m50s 45s70ms 14 76 57m16s 45s213ms 15 77 57m52s 45s93ms 16 76 57m20s 45s265ms 17 76 57m21s 45s283ms 18 75 57m11s 45s757ms 19 76 57m20s 45s267ms 20 77 58m7s 45s294ms 21 75 56m48s 45s450ms 22 76 57m44s 45s581ms 23 75 57m2s 45s631ms Aug 10 00 77 57m53s 45s114ms 01 76 57m37s 45s489ms 02 75 57m9s 45s731ms 03 75 57m14s 45s787ms 04 75 57m20s 45s872ms 05 45 34m23s 45s856ms [ User: pubeu - Total duration: 3d17h40m1s - Times executed: 7475 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2353200;
Date: 2024-08-09 11:11:03 Duration: 53s896ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2359050;
Date: 2024-08-09 12:42:54 Duration: 50s805ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2379950;
Date: 2024-08-09 18:12:47 Duration: 50s753ms Database: ctdprd51 User: pubeu Bind query: yes
15 32s890ms 34s112ms 33s445ms 25 13m56s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 04 06 1 33s407ms 33s407ms 10 1 33s433ms 33s433ms 14 1 33s339ms 33s339ms 18 1 33s405ms 33s405ms Aug 05 06 1 33s484ms 33s484ms 10 1 33s341ms 33s341ms 14 1 33s448ms 33s448ms 18 1 33s366ms 33s366ms Aug 06 06 1 33s510ms 33s510ms 10 1 33s429ms 33s429ms 14 1 33s400ms 33s400ms 18 1 33s344ms 33s344ms Aug 07 06 1 33s853ms 33s853ms 10 1 33s486ms 33s486ms 14 1 33s386ms 33s386ms 18 1 33s456ms 33s456ms Aug 08 06 1 33s454ms 33s454ms 10 1 33s381ms 33s381ms 14 1 33s313ms 33s313ms 18 1 33s515ms 33s515ms Aug 09 06 1 33s458ms 33s458ms 10 1 33s501ms 33s501ms 14 1 33s422ms 33s422ms 18 1 34s112ms 34s112ms Aug 10 19 1 32s890ms 32s890ms [ User: postgres - Total duration: 13m23s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m23s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-09 18:05:36 Duration: 34s112ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-07 06:05:35 Duration: 33s853ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-08 18:05:35 Duration: 33s515ms Database: ctdprd51 User: postgres Application: pg_dump
16 14s271ms 14s801ms 14s425ms 25 6m copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 04 06 1 14s352ms 14s352ms 10 1 14s350ms 14s350ms 14 1 14s437ms 14s437ms 18 1 14s352ms 14s352ms Aug 05 06 1 14s390ms 14s390ms 10 1 14s354ms 14s354ms 14 1 14s469ms 14s469ms 18 1 14s432ms 14s432ms Aug 06 06 1 14s495ms 14s495ms 10 1 14s429ms 14s429ms 14 1 14s413ms 14s413ms 18 1 14s350ms 14s350ms Aug 07 06 1 14s413ms 14s413ms 10 1 14s484ms 14s484ms 14 1 14s546ms 14s546ms 18 1 14s801ms 14s801ms Aug 08 06 1 14s401ms 14s401ms 10 1 14s395ms 14s395ms 14 1 14s442ms 14s442ms 18 1 14s456ms 14s456ms Aug 09 06 1 14s343ms 14s343ms 10 1 14s404ms 14s404ms 14 1 14s435ms 14s435ms 18 1 14s404ms 14s404ms Aug 10 18 1 14s271ms 14s271ms [ User: postgres - Total duration: 6m - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-07 18:00:17 Duration: 14s801ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-07 14:00:16 Duration: 14s546ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-06 06:00:17 Duration: 14s495ms Database: ctdprd51 User: postgres Application: pg_dump
17 1s4ms 22s503ms 8s574ms 34 4m51s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 04 06 1 1s306ms 1s306ms 22 1 1s103ms 1s103ms Aug 05 05 1 10s18ms 10s18ms Aug 06 04 1 1s859ms 1s859ms 08 1 1s239ms 1s239ms 12 1 3s585ms 3s585ms Aug 07 01 4 1m28s 22s10ms 16 1 6s752ms 6s752ms Aug 08 12 1 1s666ms 1s666ms Aug 09 04 1 3s547ms 3s547ms 10 1 2s5ms 2s5ms 11 1 1s692ms 1s692ms 12 1 9s37ms 9s37ms 13 1 1s208ms 1s208ms 18 1 1s311ms 1s311ms 19 2 35s181ms 17s590ms 20 2 11s248ms 5s624ms 22 1 1s883ms 1s883ms 23 1 3s476ms 3s476ms Aug 10 00 2 17s42ms 8s521ms 04 2 21s852ms 10s926ms 08 1 15s711ms 15s711ms 09 1 7s148ms 7s148ms 11 1 19s865ms 19s865ms 13 1 19s312ms 19s312ms 15 1 1s154ms 1s154ms 17 1 3s285ms 3s285ms [ User: pubeu - Total duration: 3m13s - Times executed: 26 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1213902') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-08-07 01:06:04 Duration: 22s503ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1213902') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-08-07 01:06:07 Duration: 22s254ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1213902') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-08-07 01:06:10 Duration: 22s164ms Database: ctdprd51 User: pubeu Bind query: yes
18 6s128ms 7s973ms 7s56ms 29 3m24s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where diseaseterm.id = any (array ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 07 16 29 3m24s 7s56ms [ User: pubeu - Total duration: 1m40s - Times executed: 14 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and upper(baseTerm.nm) LIKE 'CARCINOMA, NON-SMALL-CELL LUNG')) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 50;
Date: 2024-08-07 16:27:58 Duration: 7s973ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and upper(baseTerm.nm) LIKE 'CARCINOMA, NON-SMALL-CELL LUNG')) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 50;
Date: 2024-08-07 16:27:57 Duration: 7s800ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and upper(baseTerm.nm) LIKE 'CARCINOMA, NON-SMALL-CELL LUNG')) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 50;
Date: 2024-08-07 16:27:58 Duration: 7s788ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s8ms 16s507ms 7s35ms 27 3m9s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 04 00 1 1s80ms 1s80ms 09 1 1s349ms 1s349ms Aug 05 05 2 11s630ms 5s815ms 15 1 1s8ms 1s8ms Aug 06 02 2 5s219ms 2s609ms 04 1 15s493ms 15s493ms 05 1 3s825ms 3s825ms Aug 07 01 1 1s306ms 1s306ms 05 1 2s880ms 2s880ms 14 1 15s370ms 15s370ms Aug 08 23 2 32s680ms 16s340ms Aug 09 09 1 5s609ms 5s609ms 13 1 2s810ms 2s810ms 14 1 3s780ms 3s780ms 19 1 4s196ms 4s196ms 22 2 32s181ms 16s90ms Aug 10 00 1 4s398ms 4s398ms 02 1 1s99ms 1s99ms 03 2 11s598ms 5s799ms 04 1 15s470ms 15s470ms 05 1 15s881ms 15s881ms 06 1 1s86ms 1s86ms [ User: pubeu - Total duration: 2m21s - Times executed: 20 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1213902'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-08-08 23:15:18 Duration: 16s507ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1213902'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-08-08 23:15:11 Duration: 16s172ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1213902'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-08-09 22:45:32 Duration: 16s93ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s 5s978ms 4s336ms 140 10m7s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 04 05 4 12s658ms 3s164ms 09 1 4s857ms 4s857ms 10 1 5s766ms 5s766ms 11 7 36s107ms 5s158ms 18 1 5s42ms 5s42ms 19 1 1s9ms 1s9ms 21 1 4s821ms 4s821ms Aug 05 02 2 6s708ms 3s354ms 05 1 5s424ms 5s424ms 06 1 5s47ms 5s47ms 07 1 5s108ms 5s108ms 15 1 5s354ms 5s354ms 16 1 5s405ms 5s405ms 18 1 1s21ms 1s21ms 21 1 1s23ms 1s23ms 22 3 16s239ms 5s413ms Aug 06 01 1 5s192ms 5s192ms 02 1 5s313ms 5s313ms 03 1 5s753ms 5s753ms 04 2 5s862ms 2s931ms 05 3 7s142ms 2s380ms 06 3 15s752ms 5s250ms 07 2 10s892ms 5s446ms 09 6 22s668ms 3s778ms Aug 07 05 4 8s 2s 06 2 10s543ms 5s271ms 07 1 5s98ms 5s98ms 09 1 5s384ms 5s384ms 12 5 27s456ms 5s491ms 15 1 4s912ms 4s912ms 16 1 1s68ms 1s68ms 20 1 5s290ms 5s290ms 21 3 16s140ms 5s380ms 22 1 5s430ms 5s430ms Aug 08 02 3 15s848ms 5s282ms 06 1 1s13ms 1s13ms 07 1 5s36ms 5s36ms 10 3 11s179ms 3s726ms 12 1 4s866ms 4s866ms 22 7 38s866ms 5s552ms 23 9 47s774ms 5s308ms Aug 09 02 5 27s195ms 5s439ms 03 2 10s812ms 5s406ms 05 3 3s24ms 1s8ms 06 2 10s585ms 5s292ms 08 2 6s607ms 3s303ms 09 1 5s419ms 5s419ms 10 3 11s357ms 3s785ms 11 1 1s5ms 1s5ms 12 1 1s16ms 1s16ms 14 1 4s846ms 4s846ms 17 1 5s155ms 5s155ms 20 1 5s363ms 5s363ms 22 2 10s279ms 5s139ms 23 1 1s17ms 1s17ms Aug 10 00 2 10s399ms 5s199ms 01 1 5s448ms 5s448ms 02 1 5s398ms 5s398ms 03 1 1s12ms 1s12ms 05 5 13s624ms 2s724ms 07 2 6s299ms 3s149ms 08 1 1s16ms 1s16ms 09 1 4s884ms 4s884ms 10 3 15s537ms 5s179ms 13 2 10s163ms 5s81ms 14 1 5s411ms 5s411ms 17 1 5s55ms 5s55ms 23 1 5s134ms 5s134ms [ User: pubeu - Total duration: 7m2s - Times executed: 92 ]
[ User: qaeu - Total duration: 3s27ms - Times executed: 3 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1259211' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-05 22:58:20 Duration: 5s978ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1258348' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-06 07:58:18 Duration: 5s876ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1283850' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-07 12:12:58 Duration: 5s801ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 113 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Aug 04 07 2 0ms 0ms 08 2 0ms 0ms 17 2 0ms 0ms Aug 05 06 4 0ms 0ms 07 6 0ms 0ms Aug 06 02 1 0ms 0ms 05 4 0ms 0ms 06 8 0ms 0ms 07 8 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 11 2 0ms 0ms Aug 07 10 2 0ms 0ms Aug 08 04 56 0ms 0ms 05 4 0ms 0ms 06 2 0ms 0ms 07 4 0ms 0ms 14 2 0ms 0ms [ User: pubeu - Total duration: 36m11s - Times executed: 63 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
Events
Log levels
Key values
- 198,524 Log entries
Events distribution
Key values
- 0 PANIC entries
- 3 FATAL entries
- 129 ERROR entries
- 1 WARNING entries
Most Frequent Errors/Events
Key values
- 102 Max number of times the same event was reported
- 133 Total events found
Rank Times reported Error 1 102 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Aug 08 04 27 05 75 - ERROR: syntax error in ts"COH1 & ZFWWCP< & >GMFCZQ"
- ERROR: syntax error in ts"COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171, & SELECT & ELT & 7012=7012,1 & ,0X716B706271,FLOOR & RAND & 0 & *2 & X & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & GROUP & BY & X & A & (-- | ) & MNJK"
- ERROR: syntax error in ts"COH1 & AND & 5696=CAST & CHR & 113 & CHR & 113 & CHR & 113 & CHR & 113 & CHR & 113 & || & SELECT & CASE & WHEN & 5696=5696 & THEN & 1 & ELSE & 0 & END & TEXT & CHR & 113 & CHR & 107 & CHR & 112 & CHR & 98 & CHR & 113 & AS & NUMERIC & AND & 2787=2787"
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $6 OR upper( l.acc_txt ) LIKE $7 OR upper( l.acc_txt ) LIKE $8 ) ) ii GROUP BY ii.cd
Date: 2024-08-08 04:34:06
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $7 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $8 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $9 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $10 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $11 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $12 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $13 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $14 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $15 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $16 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $17 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $18 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $19 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $20 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $21 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $22 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $23 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $24 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $25 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $26 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $27 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $28 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $29 OR upper( l.acc_txt ) LIKE $30 OR upper( l.acc_txt ) LIKE $31 OR upper( l.acc_txt ) LIKE $32 OR upper( l.acc_txt ) LIKE $33 OR upper( l.acc_txt ) LIKE $34 OR upper( l.acc_txt ) LIKE $35 OR upper( l.acc_txt ) LIKE $36 OR upper( l.acc_txt ) LIKE $37 OR upper( l.acc_txt ) LIKE $38 OR upper( l.acc_txt ) LIKE $39 OR upper( l.acc_txt ) LIKE $40 OR upper( l.acc_txt ) LIKE $41 OR upper( l.acc_txt ) LIKE $42 OR upper( l.acc_txt ) LIKE $43 OR upper( l.acc_txt ) LIKE $44 OR upper( l.acc_txt ) LIKE $45 OR upper( l.acc_txt ) LIKE $46 OR upper( l.acc_txt ) LIKE $47 OR upper( l.acc_txt ) LIKE $48 OR upper( l.acc_txt ) LIKE $49 OR upper( l.acc_txt ) LIKE $50 OR upper( l.acc_txt ) LIKE $51 OR upper( l.acc_txt ) LIKE $52 OR upper( l.acc_txt ) LIKE $53 ) ) ii GROUP BY ii.cd
Date: 2024-08-08 04:50:06
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $7 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $8 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $9 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $10 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $11 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $12 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $13 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $14 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $15 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $16 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $17 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $18 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $19 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $20 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $21 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $22 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $23 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $24 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $25 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $26 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $27 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $28 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $29 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $30 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $31 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $32 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $33 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $34 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $35 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $36 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $37 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $38 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $39 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $40 OR upper( l.acc_txt ) LIKE $41 OR upper( l.acc_txt ) LIKE $42 OR upper( l.acc_txt ) LIKE $43 OR upper( l.acc_txt ) LIKE $44 OR upper( l.acc_txt ) LIKE $45 OR upper( l.acc_txt ) LIKE $46 OR upper( l.acc_txt ) LIKE $47 OR upper( l.acc_txt ) LIKE $48 OR upper( l.acc_txt ) LIKE $49 OR upper( l.acc_txt ) LIKE $50 OR upper( l.acc_txt ) LIKE $51 OR upper( l.acc_txt ) LIKE $52 OR upper( l.acc_txt ) LIKE $53 OR upper( l.acc_txt ) LIKE $54 OR upper( l.acc_txt ) LIKE $55 OR upper( l.acc_txt ) LIKE $56 OR upper( l.acc_txt ) LIKE $57 OR upper( l.acc_txt ) LIKE $58 OR upper( l.acc_txt ) LIKE $59 OR upper( l.acc_txt ) LIKE $60 OR upper( l.acc_txt ) LIKE $61 OR upper( l.acc_txt ) LIKE $62 OR upper( l.acc_txt ) LIKE $63 OR upper( l.acc_txt ) LIKE $64 OR upper( l.acc_txt ) LIKE $65 OR upper( l.acc_txt ) LIKE $66 OR upper( l.acc_txt ) LIKE $67 OR upper( l.acc_txt ) LIKE $68 OR upper( l.acc_txt ) LIKE $69 OR upper( l.acc_txt ) LIKE $70 OR upper( l.acc_txt ) LIKE $71 OR upper( l.acc_txt ) LIKE $72 OR upper( l.acc_txt ) LIKE $73 OR upper( l.acc_txt ) LIKE $74 OR upper( l.acc_txt ) LIKE $75 OR upper( l.acc_txt ) LIKE $76 ) ) ii GROUP BY ii.cd
Date: 2024-08-08 04:50:08
2 16 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #2
Day Hour Count Aug 05 20 2 21 1 Aug 06 18 5 Aug 09 19 2 20 4 21 2 3 3 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #3
Day Hour Count Aug 07 11 1 Aug 09 20 2 4 3 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #4
Day Hour Count Aug 09 15 1 17 2 - ERROR: relation "reference_ixn" does not exist at character 76
- ERROR: relation "phenotype_term_reference" does not exist at character 494
- ERROR: relation "phenotype_term_reference" does not exist at character 15
Statement: select r.acc_txt from pub1.reference r where exists ( select 1 from reference_ixn ri ,ixn i where ri.reference_acc_txt = r.acc_txt and ri.ixn_id = i.root_id and i.ixn_type_id = 1 ) and r.acc_txt = '30240538'
Date: 2024-08-09 15:10:59 Database: ctdprd51 Application: pgAdmin 4 - CONN:7245958 User: load Remote:
Statement: SELECT count(*) FROM ( select distinct phenotypeTerm.nm AS goNm ,phenotypeTerm.acc_txt AS goAcc ,diseaseTerm.nm AS diseaseNm ,diseaseTerm.acc_txt AS diseaseAcc ,diseaseTerm.acc_db_cd AS diseaseAccDbCd ,chemTerm.nm AS chemNm ,chemTerm.acc_txt AS chemAcc ,geneTerm.nm AS geneSymbol ,geneTerm.acc_txt AS geneAcc from PHENOTYPE_TERM_REFERENCE viaChemPTR ,PHENOTYPE_TERM_REFERENCE viaGenePTR ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm WHERE diseaseTerm.id in ( select descendant_object_id from pub1.DAG_PATH where ancestor_object_id = ( select id from pub1.TERM term where nm = 'Diseases' and object_type_id = ( select id from pub1.OBJECT_TYPE where cd = 'disease') ) ) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id -- and exists ( select 1 from GENE_CHEM_REFERENCE where gene_id = geneTerm.id and chem_id = chemTerm.id ) -- GROUP BY -- phenotypeTerm.nm -- ,phenotypeTerm.nm_html -- ,phenotypeTerm.acc_txt -- ,diseaseTerm.nm -- ,diseaseTerm.nm_html -- ,diseaseTerm.acc_txt -- ,diseaseTerm.acc_db_cd -- ,chemTerm.nm -- ,chemTerm.nm_html -- ,chemTerm.acc_txt -- ,geneTerm.nm -- ,geneTerm.nm_html -- ,geneTerm.acc_txt ) AS test
Date: 2024-08-09 17:30:49 Database: ctdprd51 Application: pgAdmin 4 - CONN:1531323 User: load Remote:
Statement: select * from PHENOTYPE_TERM_REFERENCE where object_type_id = ( select id from pub1.OBJECT_TYPE where cd = 'disease') limit 100
Date: 2024-08-09 17:46:38 Database: ctdprd51 Application: pgAdmin 4 - CONN:7329128 User: pubc Remote:
5 3 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #5
Day Hour Count Aug 07 11 1 Aug 09 20 2 6 2 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #6
Day Hour Count Aug 05 08 1 Aug 09 17 1 - ERROR: column "version" does not exist at character 8
- ERROR: column "object_type_id" does not exist at character 46
Statement: select version
Date: 2024-08-05 08:14:37 Database: ctdprd51 Application: pgAdmin 4 - CONN:3533038 User: pub1 Remote:
Statement: select * from PHENOTYPE_TERM_REFERENCE where object_type_id = ( select id from pub1.OBJECT_TYPE where cd = 'disease') limit 100
Date: 2024-08-09 17:47:02 Database: ctdprd51 Application: pgAdmin 4 - CONN:9653228 User: pub1 Remote:
7 1 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #7
Day Hour Count Aug 09 18 1 - ERROR: canceling statement due to user request
Statement: SELECT count(*) FROM ( select distinct phenotypeTerm.nm AS goNm ,phenotypeTerm.acc_txt AS goAcc ,diseaseTerm.nm AS diseaseNm ,diseaseTerm.acc_txt AS diseaseAcc ,diseaseTerm.acc_db_cd AS diseaseAccDbCd ,chemTerm.nm AS chemNm ,chemTerm.acc_txt AS chemAcc ,geneTerm.nm AS geneSymbol ,geneTerm.acc_txt AS geneAcc from PHENOTYPE_TERM_REFERENCE viaChemPTR ,PHENOTYPE_TERM_REFERENCE viaGenePTR ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm WHERE diseaseTerm.id in ( select descendant_object_id from pub1.DAG_PATH where ancestor_object_id = ( select id from pub1.TERM term where nm = 'Diseases' and object_type_id = ( select id from pub1.OBJECT_TYPE where cd = 'disease') ) ) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from GENE_CHEM_REFERENCE where gene_id = geneTerm.id and chem_id = chemTerm.id ) -- GROUP BY -- phenotypeTerm.nm -- ,phenotypeTerm.nm_html -- ,phenotypeTerm.acc_txt -- ,diseaseTerm.nm -- ,diseaseTerm.nm_html -- ,diseaseTerm.acc_txt -- ,diseaseTerm.acc_db_cd -- ,chemTerm.nm -- ,chemTerm.nm_html -- ,chemTerm.acc_txt -- ,geneTerm.nm -- ,geneTerm.nm_html -- ,geneTerm.acc_txt ) AS test
Date: 2024-08-09 18:49:24
8 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #8
Day Hour Count Aug 06 11 1 9 1 WARNING: is not a PostgreSQL server process
Times Reported Most Frequent Error / Event #9
Day Hour Count Aug 09 17 1 10 1 ERROR: permission denied for schema ...
Times Reported Most Frequent Error / Event #10
Day Hour Count Aug 09 13 1 - ERROR: permission denied for schema edit at character 17
Statement: select * from edit.ixn_type
Date: 2024-08-09 13:45:08 Database: ctdprd51 Application: pgAdmin 4 - CONN:7905244 User: pubc Remote: