-
Global information
- Generated on Sun Apr 20 04:15:19 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250419
- Parsed 220,081 log entries in 18s
- Log start from 2025-04-13 00:00:01 to 2025-04-19 23:59:54
-
Overview
Global Stats
- 431 Number of unique normalized queries
- 13,138 Number of queries
- 23h21m39s Total query duration
- 2025-04-13 00:01:57 First query
- 2025-04-19 23:59:54 Last query
- 6 queries/s at 2025-04-15 19:52:51 Query peak
- 23h21m39s Total query duration
- 4s549ms Prepare/parse total duration
- 1s69ms Bind total duration
- 23h21m34s Execute total duration
- 278 Number of events
- 17 Number of unique normalized events
- 178 Max number of times the same event was reported
- 0 Number of cancellation
- 92 Total number of automatic vacuums
- 229 Total number of automatic analyzes
- 6 Number temporary file
- 2.02 MiB Max size of temporary file
- 1.07 MiB Average size of temporary file
- 20,170 Total number of sessions
- 83 sessions at 2025-04-19 10:21:54 Session peak
- 924d3h23m34s Total duration of sessions
- 1h5m58s Average duration of sessions
- 0 Average queries per session
- 4s169ms Average queries duration per session
- 1h5m54s Average idle time per session
- 20,171 Total number of connections
- 85 connections/s at 2025-04-15 07:30:53 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 6 queries/s Query Peak
- 2025-04-15 19:52:51 Date
SELECT Traffic
Key values
- 6 queries/s Query Peak
- 2025-04-15 19:52:51 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 4 queries/s Query Peak
- 2025-04-14 13:09:37 Date
Queries duration
Key values
- 23h21m39s 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) Apr 13 00 43 0ms 4m42s 9s950ms 12s802ms 21s523ms 4m49s 01 58 0ms 11s462ms 2s354ms 5s439ms 11s380ms 33s294ms 02 43 0ms 4s130ms 1s445ms 2s817ms 5s222ms 8s509ms 03 67 0ms 1m33s 3s512ms 12s497ms 18s15ms 1m35s 04 72 0ms 6s407ms 2s257ms 11s893ms 19s154ms 21s751ms 05 67 0ms 17s865ms 2s198ms 17s865ms 20s792ms 25s928ms 06 70 0ms 50s897ms 3s681ms 13s782ms 24s135ms 50s897ms 07 49 0ms 5s396ms 2s69ms 5s568ms 8s589ms 12s190ms 08 17 0ms 4s204ms 1s660ms 2s572ms 3s235ms 6s671ms 09 34 0ms 7s594ms 1s944ms 5s22ms 6s615ms 13s165ms 10 51 0ms 51s209ms 5s523ms 15s280ms 39s875ms 52s246ms 11 24 0ms 15s464ms 3s703ms 6s930ms 7s65ms 15s464ms 12 19 0ms 5s337ms 2s361ms 4s347ms 5s337ms 6s694ms 13 29 0ms 15s305ms 2s125ms 3s964ms 5s261ms 15s305ms 14 39 0ms 50s912ms 4s727ms 15s263ms 24s138ms 50s912ms 15 20 0ms 1s630ms 1s342ms 2s569ms 2s779ms 4s133ms 16 20 0ms 5s495ms 1s971ms 3s731ms 4s108ms 5s495ms 17 46 0ms 3s444ms 1s388ms 4s146ms 5s586ms 7s721ms 18 52 0ms 50s924ms 5s41ms 15s615ms 29s876ms 53s488ms 19 21 0ms 1s474ms 1s282ms 2s504ms 2s796ms 3s738ms 20 27 0ms 15s813ms 3s20ms 2s852ms 5s374ms 31s257ms 21 325 0ms 50s270ms 5s748ms 1m37s 1m57s 2m46s 22 179 0ms 49s957ms 6s542ms 56s741ms 1m3s 1m26s 23 407 0ms 50s389ms 7s47ms 1m6s 1m20s 1m24s Apr 14 00 480 1s5ms 4m41s 6s938ms 1m1s 1m8s 5m24s 01 181 0ms 50s279ms 5s486ms 54s469ms 1m3s 1m25s 02 36 0ms 16s466ms 2s559ms 5s67ms 8s253ms 16s466ms 03 21 0ms 5s322ms 2s243ms 2s792ms 4s104ms 15s635ms 04 19 0ms 10s883ms 2s657ms 3s979ms 6s85ms 10s883ms 05 132 0ms 17s847ms 2s493ms 22s82ms 24s605ms 33s655ms 06 134 0ms 56s142ms 4s122ms 39s56ms 44s859ms 57s688ms 07 169 0ms 48s574ms 2s979ms 27s3ms 39s615ms 50s138ms 08 104 0ms 36s269ms 4s104ms 28s168ms 33s126ms 1m39s 09 177 0ms 46s775ms 3s723ms 27s822ms 1m10s 3m2s 10 77 0ms 50s956ms 4s309ms 18s331ms 30s539ms 1m29s 11 85 0ms 6s446ms 1s811ms 18s441ms 25s424ms 40s147ms 12 26 0ms 4s231ms 1s980ms 4s231ms 5s150ms 5s518ms 13 78 0ms 11s403ms 4s115ms 14s664ms 44s905ms 46s335ms 14 47 0ms 50s965ms 3s931ms 5s152ms 24s339ms 50s965ms 15 44 0ms 4s505ms 1s736ms 4s69ms 4s490ms 7s35ms 16 36 0ms 4m30s 11s378ms 10s625ms 24s198ms 4m30s 17 29 0ms 13s228ms 2s45ms 3s349ms 4s184ms 15s708ms 18 46 0ms 50s832ms 6s166ms 24s204ms 43s932ms 52s921ms 19 29 0ms 44s547ms 3s599ms 4s36ms 7s562ms 47s53ms 20 15 0ms 49s162ms 7s826ms 1s435ms 7s531ms 49s162ms 21 33 0ms 4s12ms 1s581ms 2s829ms 6s456ms 8s943ms 22 25 0ms 7s500ms 2s487ms 4s339ms 5s925ms 17s339ms 23 23 0ms 1m3s 15s820ms 39s340ms 51s958ms 1m3s Apr 15 00 4 0ms 33m57s 17m59s 0ms 4m44s 1h7m13s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 50 0ms 4s664ms 2s182ms 18s780ms 24s334ms 25s63ms 06 32 0ms 51s390ms 5s613ms 4s296ms 26s95ms 53s781ms 07 71 0ms 7m29s 9s483ms 13s453ms 24s960ms 7m30s 08 142 0ms 1m43s 4s751ms 23s64ms 33s4ms 3m26s 09 119 0ms 33s774ms 3s393ms 17s281ms 35s671ms 1m22s 10 37 0ms 50s712ms 6s123ms 15s539ms 33s132ms 56s41ms 11 25 0ms 4s229ms 1s859ms 4s77ms 4s682ms 6s992ms 12 56 0ms 10s788ms 2s111ms 7s86ms 10s183ms 25s161ms 13 42 0ms 44s208ms 3s781ms 5s435ms 7s770ms 46s423ms 14 34 0ms 50s941ms 4s744ms 5s365ms 19s543ms 50s941ms 15 32 0ms 7s516ms 2s469ms 4s262ms 5s972ms 7s516ms 16 38 0ms 9s168ms 1s686ms 3s776ms 4s234ms 9s168ms 17 30 0ms 3s968ms 1s397ms 2s783ms 3s695ms 5s347ms 18 53 0ms 50s788ms 3s611ms 6s207ms 27s888ms 53s319ms 19 94 0ms 38s714ms 3s812ms 42s499ms 56s645ms 1m7s 20 61 0ms 1m13s 5s575ms 37s757ms 1m15s 2m33s 21 63 0ms 19s507ms 2s492ms 9s20ms 13s854ms 32s237ms 22 43 0ms 4s915ms 2s616ms 5s167ms 8s422ms 21s892ms 23 59 0ms 6s456ms 2s770ms 6s139ms 17s955ms 34s91ms Apr 16 00 32 0ms 5m38s 1m1s 3m33s 5m29s 11m1s 01 36 0ms 7s591ms 2s113ms 4s307ms 8s710ms 21s278ms 02 203 0ms 6s642ms 1s618ms 13s539ms 18s732ms 23s963ms 03 41 0ms 22s84ms 3s223ms 5s901ms 9s394ms 43s974ms 04 27 0ms 5s 2s54ms 4s678ms 5s356ms 6s656ms 05 113 0ms 16s20ms 1s877ms 21s247ms 24s116ms 27s761ms 06 74 0ms 50s929ms 4s239ms 15s285ms 34s154ms 1m6s 07 44 0ms 14s717ms 2s34ms 4s859ms 8s309ms 14s717ms 08 84 0ms 23s224ms 3s406ms 4s819ms 22s893ms 2m27s 09 84 0ms 14s901ms 2s197ms 6s920ms 9s295ms 29s122ms 10 97 0ms 50s933ms 3s263ms 13s462ms 25s376ms 50s933ms 11 50 0ms 42s559ms 2s669ms 3s982ms 13s291ms 42s559ms 12 36 0ms 16s357ms 1s948ms 4s359ms 4s902ms 16s357ms 13 47 0ms 3m5s 5s715ms 3s995ms 6s77ms 3m9s 14 77 0ms 4m10s 10s294ms 25s407ms 2m35s 4m15s 15 49 0ms 18s188ms 2s444ms 4s796ms 10s55ms 22s597ms 16 33 0ms 5s93ms 2s9ms 4s915ms 6s207ms 9s853ms 17 51 0ms 5m10s 7s974ms 4s945ms 10s808ms 5m10s 18 46 0ms 4m31s 10s704ms 15s340ms 42s162ms 4m31s 19 47 0ms 11m37s 17s12ms 5s832ms 11s386ms 11m42s 20 37 0ms 21s306ms 2s350ms 4s228ms 4s805ms 21s306ms 21 52 0ms 4m13s 18s213ms 16s253ms 45s109ms 8m25s 22 47 0ms 5s379ms 2s3ms 4s903ms 5s379ms 6s311ms 23 118 0ms 22s523ms 2s208ms 9s122ms 10s479ms 31s724ms Apr 17 00 108 0ms 4m40s 4s290ms 6s349ms 13s190ms 4m47s 01 118 0ms 33s613ms 2s922ms 10s965ms 23s731ms 39s145ms 02 91 0ms 16s99ms 2s545ms 9s711ms 14s994ms 17s262ms 03 76 0ms 3m33s 4s860ms 5s250ms 12s639ms 3m39s 04 112 0ms 3m14s 4s160ms 11s598ms 16s600ms 3m14s 05 192 1s3ms 5m58s 7s705ms 21s861ms 28s708ms 11m56s 06 128 0ms 51s319ms 3s150ms 16s258ms 43s699ms 57s574ms 07 118 0ms 5m30s 7s709ms 22s287ms 31s43ms 5m36s 08 115 0ms 3m45s 5s866ms 12s484ms 14s769ms 3m45s 09 120 0ms 48s187ms 2s530ms 9s990ms 15s95ms 49s508ms 10 84 0ms 51s8ms 3s882ms 21s544ms 32s801ms 51s8ms 11 54 0ms 20s878ms 2s137ms 4s625ms 7s95ms 22s369ms 12 88 0ms 17m59s 29s687ms 14s725ms 29s779ms 35m55s 13 80 0ms 6s870ms 2s30ms 7s35ms 9s277ms 12s489ms 14 95 0ms 51s411ms 3s745ms 16s531ms 25s308ms 57s232ms 15 106 0ms 23s186ms 2s603ms 14s598ms 16s782ms 29s258ms 16 127 0ms 3m32s 4s428ms 16s320ms 23s920ms 3m36s 17 105 0ms 5m1s 8s198ms 18s289ms 1m23s 5m1s 18 106 0ms 1m22s 3s779ms 17s673ms 42s214ms 1m22s 19 128 0ms 4m46s 7s5ms 20s380ms 54s767ms 4m46s 20 107 0ms 21s370ms 2s678ms 13s187ms 18s434ms 25s814ms 21 147 0ms 4m14s 4s939ms 16s368ms 30s97ms 4m22s 22 121 0ms 5m2s 4s565ms 10s367ms 20s489ms 5m8s 23 132 0ms 17s564ms 1s932ms 9s417ms 12s307ms 22s650ms Apr 18 00 116 0ms 4m42s 5s243ms 15s100ms 23s889ms 4m48s 01 96 0ms 21s525ms 2s530ms 10s971ms 17s324ms 21s525ms 02 105 0ms 1m55s 3s191ms 9s601ms 10s674ms 1m57s 03 99 0ms 5m23s 7s837ms 11s82ms 35s587ms 5m29s 04 110 0ms 4m22s 4s171ms 8s237ms 9s396ms 4m22s 05 101 0ms 4m29s 4s796ms 12s499ms 23s348ms 4m30s 06 80 0ms 50s942ms 3s222ms 10s515ms 25s267ms 54s713ms 07 54 0ms 7s466ms 1s641ms 3s912ms 4s355ms 10s833ms 08 68 0ms 16s827ms 2s846ms 10s727ms 13s489ms 18s763ms 09 68 0ms 6s477ms 2s100ms 6s267ms 8s83ms 12s255ms 10 89 0ms 12m42s 18s848ms 1m6s 3m54s 12m43s 11 88 0ms 11s623ms 2s282ms 7s714ms 8s450ms 11s623ms 12 56 0ms 6m16s 9s214ms 7s678ms 12s974ms 6m18s 13 34 0ms 28s115ms 2s559ms 3s320ms 6s162ms 31s226ms 14 71 0ms 8m50s 15s259ms 42s126ms 51s192ms 8m53s 15 97 0ms 21s512ms 2s843ms 14s638ms 21s512ms 29s949ms 16 62 0ms 19s469ms 2s516ms 6s356ms 10s463ms 19s469ms 17 76 0ms 5m22s 10s65ms 7s742ms 49s607ms 5m25s 18 81 0ms 17m59s 19s556ms 21s354ms 51s79ms 18m2s 19 57 0ms 5m 12s988ms 7s963ms 24s20ms 5m1s 20 72 0ms 21s774ms 2s492ms 7s296ms 15s845ms 23s51ms 21 73 0ms 5m20s 14s581ms 10s541ms 3m51s 5m25s 22 74 0ms 3m17s 5s213ms 7s761ms 17s525ms 3m26s 23 73 0ms 4m46s 11s83ms 10s480ms 1m37s 4m55s Apr 19 00 85 0ms 4m42s 5s299ms 7s155ms 8s789ms 4m53s 01 99 0ms 18m23s 16s613ms 9s814ms 1m15s 18m26s 02 77 0ms 18s326ms 3s573ms 17s826ms 19s580ms 25s211ms 03 93 0ms 19m32s 14s916ms 9s307ms 19s431ms 19m35s 04 101 0ms 3m30s 4s466ms 11s288ms 15s498ms 3m33s 05 145 0ms 4m13s 4s123ms 19s212ms 25s43ms 4m21s 06 99 0ms 17s980ms 2s12ms 9s726ms 12s402ms 17s980ms 07 108 0ms 5m23s 7s549ms 10s346ms 25s287ms 5m27s 08 77 0ms 3m32s 7s583ms 7s669ms 17s858ms 3m34s 09 110 0ms 1m33s 5s287ms 16s589ms 43s745ms 3m6s 10 9 0ms 30m21s 6m47s 0ms 10s637ms 1h47s 11 64 0ms 21s249ms 2s378ms 7s550ms 22s433ms 41s919ms 12 68 0ms 15s980ms 2s208ms 8s562ms 9s546ms 15s980ms 13 82 0ms 3m16s 4s637ms 6s602ms 21s4ms 3m16s 14 71 0ms 16s58ms 2s455ms 7s143ms 7s476ms 16s58ms 15 105 0ms 11m21s 14s963ms 11s535ms 5m25s 11m23s 16 83 0ms 3m7s 4s989ms 15s766ms 21s712ms 3m12s 17 91 0ms 3m20s 4s364ms 9s31ms 16s361ms 3m21s 18 99 0ms 1m11s 6s147ms 41s385ms 1m8s 1m20s 19 122 0ms 25m1s 41s425ms 2m6s 7m43s 25m48s 20 106 0ms 3m47s 11s800ms 25s774ms 3m40s 4m30s 21 90 0ms 26s528ms 3s92ms 16s88ms 25s19ms 51s97ms 22 89 0ms 16s447ms 2s814ms 12s803ms 17s993ms 19s933ms 23 72 0ms 18s755ms 3s836ms 17s590ms 20s44ms 24s827ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 13 00 42 0 10s32ms 4s41ms 12s802ms 4m42s 01 58 0 2s354ms 3s957ms 5s439ms 33s294ms 02 43 0 1s445ms 2s560ms 2s817ms 6s669ms 03 67 0 3s512ms 5s76ms 12s497ms 1m35s 04 72 0 2s257ms 4s33ms 11s893ms 21s751ms 05 63 0 2s196ms 2s648ms 17s865ms 25s928ms 06 60 10 3s681ms 5s454ms 13s782ms 42s70ms 07 49 0 2s69ms 2s955ms 5s568ms 12s165ms 08 17 0 1s660ms 2s244ms 2s572ms 6s671ms 09 34 0 1s944ms 2s532ms 5s22ms 13s165ms 10 41 10 5s523ms 6s704ms 15s280ms 42s245ms 11 24 0 3s703ms 3s678ms 6s930ms 15s464ms 12 19 0 2s361ms 2s277ms 4s347ms 6s694ms 13 29 0 2s125ms 2s549ms 3s964ms 15s305ms 14 29 10 4s727ms 2s725ms 15s263ms 50s912ms 15 20 0 1s342ms 1s283ms 2s569ms 4s133ms 16 20 0 1s971ms 2s634ms 3s731ms 5s495ms 17 46 0 1s388ms 2s568ms 4s146ms 7s721ms 18 42 10 5s41ms 5s249ms 15s615ms 42s197ms 19 21 0 1s282ms 1s291ms 2s504ms 3s738ms 20 27 0 3s20ms 2s754ms 2s852ms 31s257ms 21 320 0 5s798ms 56s111ms 1m37s 2m27s 22 179 0 6s542ms 51s483ms 56s741ms 1m26s 23 407 0 7s47ms 58s996ms 1m6s 1m20s Apr 14 00 478 0 6s949ms 58s442ms 1m1s 1m35s 01 181 0 5s486ms 46s931ms 54s469ms 1m7s 02 36 0 2s559ms 2s591ms 5s67ms 16s466ms 03 21 0 2s243ms 1s407ms 2s792ms 4s154ms 04 19 0 2s657ms 1s478ms 3s979ms 10s883ms 05 128 0 2s500ms 11s480ms 22s82ms 25s146ms 06 122 10 4s150ms 18s43ms 36s928ms 51s463ms 07 167 0 2s988ms 15s781ms 27s3ms 39s815ms 08 102 0 4s138ms 18s850ms 28s168ms 1m39s 09 173 0 3s754ms 8s602ms 25s688ms 1m21s 10 68 9 4s309ms 6s683ms 28s279ms 46s920ms 11 83 0 1s800ms 1s527ms 18s441ms 35s611ms 12 24 0 1s971ms 2s708ms 4s84ms 5s518ms 13 73 0 4s250ms 6s357ms 13s469ms 45s127ms 14 37 10 3s931ms 2s742ms 5s250ms 42s300ms 15 44 0 1s736ms 3s553ms 4s69ms 6s600ms 16 36 0 11s378ms 1s945ms 10s625ms 50s538ms 17 29 0 2s45ms 1s362ms 3s349ms 7s583ms 18 35 10 6s260ms 4s70ms 24s204ms 50s832ms 19 29 0 3s599ms 2s530ms 4s36ms 47s53ms 20 15 0 7s826ms 1s289ms 1s435ms 49s162ms 21 30 0 1s396ms 2s504ms 2s546ms 6s456ms 22 25 0 2s487ms 2s581ms 4s339ms 17s339ms 23 23 0 15s820ms 10s875ms 39s340ms 1m3s Apr 15 00 3 0 23m57s 0ms 0ms 1h7m13s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 46 0 2s172ms 1s285ms 18s780ms 25s63ms 06 22 10 5s613ms 2s391ms 6s68ms 42s91ms 07 71 0 9s483ms 8s240ms 13s453ms 26s267ms 08 137 0 4s829ms 12s902ms 23s64ms 1m38s 09 119 0 3s393ms 10s170ms 17s281ms 37s337ms 10 28 9 6s123ms 5s1ms 15s539ms 50s712ms 11 25 0 1s859ms 2s470ms 4s77ms 6s992ms 12 56 0 2s111ms 3s773ms 7s86ms 25s161ms 13 42 0 3s781ms 2s738ms 5s435ms 44s208ms 14 27 7 4s744ms 2s800ms 5s365ms 28s101ms 15 31 0 2s481ms 3s546ms 4s262ms 7s501ms 16 38 0 1s686ms 2s515ms 3s776ms 9s168ms 17 30 0 1s397ms 1s403ms 2s783ms 3s968ms 18 43 10 3s611ms 3s650ms 6s207ms 50s788ms 19 91 0 3s861ms 7s590ms 42s499ms 1m7s 20 61 0 5s575ms 9s616ms 37s757ms 2m33s 21 63 0 2s492ms 5s79ms 9s20ms 32s237ms 22 43 0 2s616ms 4s42ms 5s167ms 21s892ms 23 59 0 2s770ms 4s74ms 6s139ms 34s91ms Apr 16 00 31 0 1m3s 4s687ms 3m33s 11m1s 01 35 0 2s120ms 2s605ms 4s307ms 21s278ms 02 203 0 1s618ms 10s443ms 13s539ms 21s328ms 03 41 0 3s223ms 3s901ms 5s901ms 43s974ms 04 27 0 2s54ms 2s341ms 4s678ms 6s656ms 05 109 0 1s866ms 4s790ms 21s247ms 27s761ms 06 63 10 4s251ms 8s962ms 15s599ms 42s510ms 07 44 0 2s34ms 2s340ms 4s859ms 8s935ms 08 83 0 3s423ms 2s608ms 4s819ms 52s253ms 09 84 0 2s197ms 5s560ms 6s920ms 22s211ms 10 87 10 3s263ms 7s39ms 13s462ms 42s46ms 11 48 0 2s686ms 2s368ms 3s584ms 19s384ms 12 36 0 1s948ms 2s453ms 4s359ms 16s357ms 13 47 0 5s715ms 2s898ms 3s995ms 9s884ms 14 67 10 10s294ms 7s117ms 44s638ms 4m15s 15 48 0 2s438ms 2s968ms 4s796ms 22s597ms 16 33 0 2s9ms 2s261ms 4s915ms 9s853ms 17 50 0 8s70ms 3s211ms 4s945ms 5m10s 18 36 10 10s704ms 6s251ms 15s340ms 4m31s 19 47 0 17s12ms 3s425ms 5s832ms 11s848ms 20 37 0 2s350ms 3s322ms 4s228ms 21s306ms 21 51 0 18s522ms 6s3ms 16s253ms 8m25s 22 45 0 1s975ms 3s534ms 4s903ms 6s311ms 23 117 0 2s207ms 7s94ms 9s122ms 26s206ms Apr 17 00 107 0 4s272ms 5s735ms 6s349ms 15s59ms 01 118 0 2s922ms 9s20ms 10s965ms 26s451ms 02 91 0 2s545ms 7s16ms 9s711ms 16s211ms 03 76 0 4s860ms 3s863ms 5s250ms 22s806ms 04 112 0 4s160ms 7s932ms 11s598ms 23s98ms 05 187 0 7s852ms 10s791ms 21s861ms 5m28s 06 118 10 3s150ms 8s587ms 16s258ms 45s721ms 07 118 0 7s709ms 11s21ms 22s287ms 3m23s 08 113 0 5s933ms 7s629ms 12s484ms 3m36s 09 118 0 2s518ms 6s864ms 9s990ms 49s355ms 10 74 10 3s882ms 6s363ms 18s375ms 42s172ms 11 53 0 2s114ms 3s101ms 4s521ms 11s901ms 12 87 0 29s990ms 8s225ms 14s725ms 3m21s 13 78 0 2s29ms 4s485ms 7s35ms 9s554ms 14 82 10 3s791ms 6s380ms 15s370ms 42s157ms 15 103 0 2s608ms 7s265ms 14s598ms 23s186ms 16 127 0 4s428ms 11s23ms 16s320ms 30s649ms 17 105 0 8s198ms 6s828ms 18s289ms 3m42s 18 96 10 3s779ms 6s961ms 15s728ms 51s282ms 19 128 0 7s5ms 10s327ms 20s380ms 4m26s 20 105 0 2s681ms 6s951ms 13s187ms 20s290ms 21 147 0 4s939ms 12s623ms 16s368ms 52s124ms 22 119 0 4s602ms 7s110ms 10s367ms 25s351ms 23 132 0 1s932ms 6s613ms 9s417ms 21s69ms Apr 18 00 114 0 5s247ms 7s853ms 15s100ms 53s555ms 01 96 0 2s530ms 6s546ms 10s971ms 20s37ms 02 102 0 3s196ms 6s323ms 9s289ms 17s288ms 03 98 0 7s884ms 6s341ms 11s82ms 3m22s 04 110 0 4s171ms 6s54ms 8s237ms 21s424ms 05 97 0 4s902ms 4s785ms 12s499ms 26s521ms 06 69 10 3s237ms 4s466ms 10s515ms 41s994ms 07 54 0 1s641ms 3s114ms 3s912ms 6s176ms 08 66 0 2s844ms 5s28ms 7s423ms 16s193ms 09 67 0 2s103ms 4s72ms 6s267ms 12s170ms 10 78 10 19s38ms 12s417ms 1m6s 3m55s 11 86 0 2s284ms 6s604ms 7s714ms 9s5ms 12 55 0 9s322ms 4s767ms 7s678ms 23s734ms 13 34 0 2s559ms 1s913ms 3s320ms 6s646ms 14 61 10 15s259ms 9s965ms 24s245ms 8m53s 15 97 0 2s843ms 7s462ms 14s638ms 22s251ms 16 62 0 2s516ms 4s966ms 6s356ms 16s185ms 17 75 0 10s174ms 4s799ms 7s742ms 4m12s 18 68 10 20s202ms 7s319ms 21s354ms 3m7s 19 56 0 13s161ms 4s618ms 7s963ms 4m51s 20 72 0 2s492ms 5s188ms 7s296ms 16s231ms 21 72 0 14s750ms 6s516ms 10s541ms 4m48s 22 74 0 5s213ms 5s731ms 7s761ms 17s682ms 23 73 0 11s83ms 7s754ms 10s480ms 4m14s Apr 19 00 84 0 5s283ms 6s394ms 7s155ms 12s58ms 01 99 0 16s613ms 7s331ms 9s814ms 4m28s 02 77 0 3s573ms 8s537ms 17s826ms 20s906ms 03 91 0 15s183ms 7s454ms 9s307ms 22s771ms 04 99 0 4s486ms 6s714ms 11s288ms 22s401ms 05 140 0 4s193ms 7s876ms 19s43ms 1m10s 06 99 0 2s12ms 4s906ms 9s726ms 12s404ms 07 108 0 7s549ms 7s492ms 10s346ms 4m10s 08 76 0 7s657ms 6s190ms 7s669ms 3m32s 09 109 0 5s319ms 11s9ms 16s589ms 1m36s 10 9 0 6m47s 0ms 0ms 1h47s 11 62 0 2s381ms 4s46ms 7s550ms 37s339ms 12 67 0 2s191ms 4s541ms 6s436ms 10s673ms 13 82 0 4s637ms 5s100ms 6s602ms 25s120ms 14 71 0 2s455ms 5s15ms 7s143ms 10s520ms 15 105 0 14s963ms 6s665ms 11s535ms 5m45s 16 82 0 5s27ms 6s221ms 15s766ms 26s905ms 17 89 0 4s409ms 5s11ms 9s31ms 22s591ms 18 71 27 6s175ms 12s260ms 41s385ms 1m11s 19 75 45 42s63ms 54s85ms 2m4s 25m33s 20 95 6 12s279ms 7s837ms 50s771ms 3m40s 21 88 0 3s111ms 6s552ms 16s88ms 51s97ms 22 89 0 2s814ms 6s978ms 12s803ms 18s478ms 23 72 0 3s836ms 14s868ms 17s590ms 20s836ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 13 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 Apr 14 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 Apr 15 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 Apr 16 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 Apr 17 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 Apr 18 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 Apr 19 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 Apr 13 00 0 42 42.00 0.00% 01 0 58 58.00 0.00% 02 0 43 43.00 0.00% 03 0 67 67.00 0.00% 04 0 72 72.00 0.00% 05 0 67 67.00 0.00% 06 0 60 60.00 0.00% 07 0 49 49.00 0.00% 08 0 17 17.00 0.00% 09 0 34 34.00 0.00% 10 0 43 43.00 0.00% 11 0 24 24.00 0.00% 12 0 19 19.00 0.00% 13 0 29 29.00 0.00% 14 0 29 29.00 0.00% 15 0 20 20.00 0.00% 16 0 20 20.00 0.00% 17 0 46 46.00 0.00% 18 0 42 42.00 0.00% 19 0 21 21.00 0.00% 20 0 27 27.00 0.00% 21 0 325 325.00 0.00% 22 0 179 179.00 0.00% 23 0 407 407.00 0.00% Apr 14 00 0 481 481.00 0.00% 01 0 181 181.00 0.00% 02 0 36 36.00 0.00% 03 0 21 21.00 0.00% 04 0 19 19.00 0.00% 05 0 132 132.00 0.00% 06 0 125 125.00 0.00% 07 0 169 169.00 0.00% 08 0 104 104.00 0.00% 09 0 181 181.00 0.00% 10 0 69 69.00 0.00% 11 0 85 85.00 0.00% 12 0 26 26.00 0.00% 13 0 80 80.00 0.00% 14 0 39 39.00 0.00% 15 0 49 49.00 0.00% 16 0 39 39.00 0.00% 17 0 34 34.00 0.00% 18 0 36 36.00 0.00% 19 0 29 29.00 0.00% 20 0 15 15.00 0.00% 21 0 33 33.00 0.00% 22 0 25 25.00 0.00% 23 0 23 23.00 0.00% Apr 15 00 0 2 2.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 51 51.00 0.00% 06 0 24 24.00 0.00% 07 0 74 74.00 0.00% 08 0 147 147.00 0.00% 09 0 121 121.00 0.00% 10 0 32 32.00 0.00% 11 0 28 28.00 0.00% 12 0 56 56.00 0.00% 13 0 45 45.00 0.00% 14 0 35 35.00 0.00% 15 0 37 37.00 0.00% 16 0 38 38.00 0.00% 17 0 30 30.00 0.00% 18 0 43 43.00 0.00% 19 0 96 96.00 0.00% 20 0 61 61.00 0.00% 21 0 63 63.00 0.00% 22 0 43 43.00 0.00% 23 0 59 59.00 0.00% Apr 16 00 0 31 31.00 0.00% 01 0 36 36.00 0.00% 02 0 203 203.00 0.00% 03 0 41 41.00 0.00% 04 0 27 27.00 0.00% 05 0 113 113.00 0.00% 06 0 66 66.00 0.00% 07 0 62 62.00 0.00% 08 0 92 92.00 0.00% 09 0 91 91.00 0.00% 10 0 90 90.00 0.00% 11 0 63 63.00 0.00% 12 0 38 38.00 0.00% 13 0 49 49.00 0.00% 14 0 67 67.00 0.00% 15 0 51 51.00 0.00% 16 0 41 41.00 0.00% 17 0 52 52.00 0.00% 18 0 36 36.00 0.00% 19 0 47 47.00 0.00% 20 0 37 37.00 0.00% 21 0 52 52.00 0.00% 22 0 47 47.00 0.00% 23 0 119 119.00 0.00% Apr 17 00 0 109 109.00 0.00% 01 0 118 118.00 0.00% 02 0 91 91.00 0.00% 03 0 76 76.00 0.00% 04 0 112 112.00 0.00% 05 0 192 192.00 0.00% 06 0 118 118.00 0.00% 07 0 118 118.00 0.00% 08 0 115 115.00 0.00% 09 0 120 120.00 0.00% 10 0 85 85.00 0.00% 11 0 70 70.00 0.00% 12 0 90 90.00 0.00% 13 0 80 80.00 0.00% 14 0 84 84.00 0.00% 15 0 112 112.00 0.00% 16 0 127 127.00 0.00% 17 0 105 105.00 0.00% 18 0 96 96.00 0.00% 19 0 128 128.00 0.00% 20 0 107 107.00 0.00% 21 0 147 147.00 0.00% 22 0 121 121.00 0.00% 23 0 132 132.00 0.00% Apr 18 00 0 115 115.00 0.00% 01 0 96 96.00 0.00% 02 0 105 105.00 0.00% 03 0 99 99.00 0.00% 04 0 110 110.00 0.00% 05 0 101 101.00 0.00% 06 0 74 74.00 0.00% 07 0 67 67.00 0.00% 08 0 82 82.00 0.00% 09 0 69 69.00 0.00% 10 0 87 87.00 0.00% 11 0 88 88.00 0.00% 12 0 61 61.00 0.00% 13 0 57 57.00 0.00% 14 0 62 62.00 0.00% 15 0 100 100.00 0.00% 16 0 73 73.00 0.00% 17 0 81 81.00 0.00% 18 0 71 71.00 0.00% 19 0 57 57.00 0.00% 20 0 72 72.00 0.00% 21 0 73 73.00 0.00% 22 0 74 74.00 0.00% 23 0 73 73.00 0.00% Apr 19 00 0 83 83.00 0.00% 01 0 99 99.00 0.00% 02 0 77 77.00 0.00% 03 0 93 93.00 0.00% 04 0 101 101.00 0.00% 05 0 145 145.00 0.00% 06 0 99 99.00 0.00% 07 0 108 108.00 0.00% 08 0 77 77.00 0.00% 09 1 110 110.00 0.91% 10 0 9 9.00 0.00% 11 0 64 64.00 0.00% 12 0 68 68.00 0.00% 13 0 82 82.00 0.00% 14 0 71 71.00 0.00% 15 0 105 105.00 0.00% 16 0 83 83.00 0.00% 17 0 91 91.00 0.00% 18 0 72 72.00 0.00% 19 0 77 77.00 0.00% 20 0 100 100.00 0.00% 21 0 90 90.00 0.00% 22 0 89 89.00 0.00% 23 0 72 72.00 0.00% Day Hour Count Average / Second Apr 13 00 92 0.03/s 01 83 0.02/s 02 96 0.03/s 03 81 0.02/s 04 85 0.02/s 05 105 0.03/s 06 94 0.03/s 07 130 0.04/s 08 84 0.02/s 09 84 0.02/s 10 140 0.04/s 11 165 0.05/s 12 78 0.02/s 13 86 0.02/s 14 92 0.03/s 15 84 0.02/s 16 85 0.02/s 17 99 0.03/s 18 93 0.03/s 19 78 0.02/s 20 80 0.02/s 21 175 0.05/s 22 165 0.05/s 23 297 0.08/s Apr 14 00 183 0.05/s 01 122 0.03/s 02 83 0.02/s 03 100 0.03/s 04 107 0.03/s 05 143 0.04/s 06 220 0.06/s 07 843 0.23/s 08 369 0.10/s 09 216 0.06/s 10 108 0.03/s 11 419 0.12/s 12 88 0.02/s 13 97 0.03/s 14 118 0.03/s 15 96 0.03/s 16 94 0.03/s 17 104 0.03/s 18 88 0.02/s 19 85 0.02/s 20 86 0.02/s 21 80 0.02/s 22 77 0.02/s 23 166 0.05/s Apr 15 00 63 0.02/s 01 63 0.02/s 02 63 0.02/s 03 63 0.02/s 04 63 0.02/s 05 91 0.03/s 06 83 0.02/s 07 410 0.11/s 08 554 0.15/s 09 220 0.06/s 10 74 0.02/s 11 97 0.03/s 12 105 0.03/s 13 92 0.03/s 14 83 0.02/s 15 95 0.03/s 16 82 0.02/s 17 81 0.02/s 18 88 0.02/s 19 145 0.04/s 20 92 0.03/s 21 113 0.03/s 22 88 0.02/s 23 95 0.03/s Apr 16 00 86 0.02/s 01 80 0.02/s 02 182 0.05/s 03 95 0.03/s 04 93 0.03/s 05 126 0.04/s 06 120 0.03/s 07 87 0.02/s 08 114 0.03/s 09 140 0.04/s 10 114 0.03/s 11 177 0.05/s 12 79 0.02/s 13 85 0.02/s 14 92 0.03/s 15 87 0.02/s 16 80 0.02/s 17 88 0.02/s 18 81 0.02/s 19 84 0.02/s 20 85 0.02/s 21 93 0.03/s 22 89 0.02/s 23 125 0.03/s Apr 17 00 97 0.03/s 01 130 0.04/s 02 91 0.03/s 03 89 0.02/s 04 93 0.03/s 05 121 0.03/s 06 124 0.03/s 07 190 0.05/s 08 181 0.05/s 09 132 0.04/s 10 100 0.03/s 11 86 0.02/s 12 91 0.03/s 13 83 0.02/s 14 104 0.03/s 15 95 0.03/s 16 94 0.03/s 17 92 0.03/s 18 93 0.03/s 19 91 0.03/s 20 121 0.03/s 21 299 0.08/s 22 199 0.06/s 23 101 0.03/s Apr 18 00 99 0.03/s 01 97 0.03/s 02 101 0.03/s 03 82 0.02/s 04 94 0.03/s 05 108 0.03/s 06 91 0.03/s 07 88 0.02/s 08 92 0.03/s 09 95 0.03/s 10 95 0.03/s 11 85 0.02/s 12 93 0.03/s 13 80 0.02/s 14 94 0.03/s 15 98 0.03/s 16 86 0.02/s 17 90 0.03/s 18 92 0.03/s 19 83 0.02/s 20 94 0.03/s 21 86 0.02/s 22 85 0.02/s 23 132 0.04/s Apr 19 00 89 0.02/s 01 87 0.02/s 02 112 0.03/s 03 86 0.02/s 04 99 0.03/s 05 105 0.03/s 06 109 0.03/s 07 109 0.03/s 08 89 0.02/s 09 326 0.09/s 10 365 0.10/s 11 135 0.04/s 12 85 0.02/s 13 91 0.03/s 14 82 0.02/s 15 93 0.03/s 16 90 0.03/s 17 93 0.03/s 18 90 0.03/s 19 90 0.03/s 20 95 0.03/s 21 86 0.02/s 22 109 0.03/s 23 91 0.03/s Day Hour Count Average Duration Average idle time Apr 13 00 92 26m1s 25m56s 01 83 29m47s 29m45s 02 96 23m49s 23m49s 03 81 29m34s 29m31s 04 85 28m8s 28m6s 05 105 23m37s 23m35s 06 94 25m41s 25m38s 07 130 17m47s 17m46s 08 84 28m25s 28m25s 09 84 29m14s 29m13s 10 140 17m33s 17m31s 11 165 15m6s 15m6s 12 78 27m36s 27m36s 13 86 28m28s 28m27s 14 92 26m45s 26m43s 15 84 29m18s 29m18s 16 85 27m51s 27m50s 17 99 24m59s 24m59s 18 93 25m29s 25m26s 19 78 31m3s 31m2s 20 80 29m34s 29m33s 21 175 13m14s 13m4s 22 165 15m20s 15m13s 23 296 8m10s 8m Apr 14 00 184 13m12s 12m54s 01 122 18m20s 18m11s 02 83 29m3s 29m2s 03 100 24m52s 24m52s 04 107 22m17s 22m17s 05 143 17m12s 17m10s 06 220 11m49s 11m47s 07 839 3m1s 3m 08 350 7m4s 7m3s 09 237 11m19s 11m17s 10 110 21m20s 21m17s 11 419 5m44s 5m44s 12 88 26m22s 26m22s 13 97 25m12s 25m9s 14 118 21m5s 21m4s 15 94 25m5s 25m4s 16 94 24m59s 24m55s 17 104 25m 25m 18 88 27m23s 27m20s 19 85 28m31s 28m30s 20 86 28m17s 28m16s 21 80 28m51s 28m51s 22 77 30m21s 30m20s 23 161 14m7s 14m5s Apr 15 00 66 30m24s 29m18s 01 63 30m41s 30m41s 02 63 30m39s 30m39s 03 63 30m40s 30m40s 04 63 30m40s 30m40s 05 93 59m54s 59m53s 06 83 28m40s 28m38s 07 409 6m36s 6m35s 08 555 4m18s 4m16s 09 220 10m57s 10m55s 10 74 29m20s 29m17s 11 97 25m47s 25m46s 12 105 22m50s 22m48s 13 92 26m27s 26m25s 14 83 28m30s 28m28s 15 93 26m48s 26m48s 16 82 29m3s 29m2s 17 83 32m31s 32m30s 18 88 27m28s 27m26s 19 147 4d7h56m45s 4d7h56m42s 20 92 26m11s 26m8s 21 113 21m52s 21m50s 22 88 27m15s 27m14s 23 95 26m27s 26m25s Apr 16 00 86 25m42s 25m19s 01 80 26m5s 26m4s 02 182 11m42s 11m40s 03 95 25m53s 25m52s 04 93 26m19s 26m18s 05 126 19m6s 19m4s 06 120 20m19s 20m16s 07 87 27m43s 27m42s 08 114 22m9s 22m7s 09 140 16m44s 16m43s 10 113 21m4s 21m1s 11 177 13m1s 13m 12 79 30m47s 30m46s 13 85 29m14s 29m11s 14 92 26m32s 26m24s 15 87 28m22s 28m21s 16 80 29m14s 29m13s 17 88 27m56s 27m52s 18 81 31m 30m53s 19 84 28m53s 28m43s 20 86 35m21s 35m20s 21 93 25m33s 25m23s 22 89 28m12s 28m11s 23 125 19m36s 19m34s Apr 17 00 97 24m48s 24m44s 01 130 18m14s 18m12s 02 91 25m50s 25m48s 03 89 26m4s 26m 04 93 26m18s 26m13s 05 121 17m20s 17m7s 06 123 20m14s 20m10s 07 191 12m17s 12m12s 08 181 13m41s 13m38s 09 132 18m23s 18m21s 10 100 24m22s 24m18s 11 86 28m4s 28m3s 12 91 26m5s 25m37s 13 83 29m27s 29m25s 14 101 24m49s 24m45s 15 94 25m 24m58s 16 94 25m23s 25m17s 17 92 26m13s 26m4s 18 93 25m45s 25m41s 19 95 38m40s 38m30s 20 121 20m20s 20m17s 21 299 7m54s 7m51s 22 199 12m11s 12m8s 23 101 22m40s 22m37s Apr 18 00 99 24m52s 24m46s 01 97 26m7s 26m4s 02 100 23m7s 23m4s 03 83 27m54s 27m45s 04 94 24m51s 24m47s 05 108 22m3s 21m58s 06 91 26m33s 26m30s 07 88 27m41s 27m40s 08 92 26m52s 26m50s 09 93 26m7s 26m5s 10 95 25m2s 24m44s 11 85 28m53s 28m50s 12 91 26m16s 26m11s 13 80 29m7s 29m6s 14 94 26m44s 26m32s 15 98 24m21s 24m18s 16 85 28m31s 28m30s 17 91 26m10s 26m1s 18 93 30m58s 30m41s 19 86 45m57s 45m48s 20 94 26m20s 26m18s 21 86 26m48s 26m35s 22 85 27m40s 27m36s 23 132 18m40s 18m34s Apr 19 00 89 27m10s 27m5s 01 87 27m57s 27m38s 02 111 20m26s 20m24s 03 87 26m18s 26m2s 04 99 24m59s 24m55s 05 105 23m33s 23m28s 06 109 22m21s 22m19s 07 109 22m1s 21m54s 08 89 27m6s 26m59s 09 312 24m52s 24m50s 10 353 8m52s 8m42s 11 161 20m24s 20m23s 12 85 27m59s 27m58s 13 91 26m39s 26m35s 14 82 29m55s 29m53s 15 93 26m15s 25m58s 16 90 26m24s 26m20s 17 93 25m51s 25m47s 18 89 27m48s 27m41s 19 89 26m14s 25m17s 20 97 24m15s 24m2s 21 86 25m31s 25m28s 22 109 23m17s 23m14s 23 90 26m45s 26m42s -
Connections
Established Connections
Key values
- 85 connections Connection Peak
- 2025-04-15 07:30:53 Date
Connections per database
Key values
- ctdprd51 Main Database
- 20,171 connections Total
Connections per user
Key values
- pubeu Main User
- 20,171 connections Total
-
Sessions
Simultaneous sessions
Key values
- 83 sessions Session Peak
- 2025-04-19 10:21:54 Date
Histogram of session times
Key values
- 11,616 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 20,170 sessions Total
Sessions per user
Key values
- pubeu Main User
- 20,170 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 20,170 sessions Total
Host Count Total Duration Average Duration 10.12.5.122 12 611d11h59m11s 50d22h59m55s 10.12.5.37 9,507 58d19h3m29s 8m54s 10.12.5.38 2,674 55d22h12m31s 30m7s 10.12.5.39 2,583 55d22h46m48s 31m11s 10.12.5.45 2,681 55d23h36m41s 30m4s 10.12.5.46 2,642 56d1h22m13s 30m33s 192.168.201.10 7 2d3m41s 6h51m57s 192.168.201.14 6 20h30m50s 3h25m8s 192.168.201.6 3 2d9h30m42s 19h10m14s ::1 55 24d16h17m24s 10h46m8s Sessions per application
Key values
- unknown Main Application
- 20,170 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 167,164 buffers Checkpoint Peak
- 2025-04-13 06:50:05 Date
- 1620.025 seconds Highest write time
- 0.058 seconds Sync time
Checkpoints Wal files
Key values
- 77 files Wal files usage Peak
- 2025-04-19 04:19:29 Date
Checkpoints distance
Key values
- 2,244.23 Mo Distance Peak
- 2025-04-19 04:19:29 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Apr 13 00 3,397 340.338s 0.004s 340.441s 01 622 62.396s 0.002s 62.427s 02 705 70.704s 0.003s 70.783s 03 803 80.523s 0.003s 80.553s 04 782 78.442s 0.002s 78.473s 05 1,058 105.975s 0.004s 106.058s 06 167,469 1,649.875s 0.004s 1,650.372s 07 3,135 314.072s 0.004s 314.115s 08 1,052 105.454s 0.004s 105.484s 09 1,849 185.275s 0.004s 185.349s 10 2,209 221.327s 0.004s 221.357s 11 898 90.021s 0.004s 90.051s 12 1,322 132.498s 0.003s 132.576s 13 803 80.519s 0.004s 80.55s 14 1,046 104.961s 0.004s 105.04s 15 1,297 129.987s 0.003s 130.017s 16 1,130 113.262s 0.002s 113.293s 17 1,062 106.471s 0.006s 106.551s 18 1,420 142.319s 0.003s 142.348s 19 1,685 168.852s 0.003s 168.928s 20 1,156 115.78s 0.005s 115.813s 21 1,462 146.437s 0.004s 146.468s 22 5,620 562.843s 0.003s 562.924s 23 1,339 134.261s 0.004s 134.292s Apr 14 00 5,117 512.601s 0.009s 512.723s 01 2,182 218.659s 0.004s 218.689s 02 1,303 130.595s 0.003s 130.625s 03 1,441 144.323s 0.003s 144.401s 04 1,397 140.033s 0.002s 140.064s 05 1,707 171.041s 0.004s 171.072s 06 1,777 178.151s 0.003s 178.231s 07 1,695 169.898s 0.003s 169.929s 08 807 80.985s 0.003s 81.015s 09 1,143 114.6s 0.002s 114.662s 10 53,024 1,746.075s 0.005s 1,746.559s 11 1,942 194.604s 0.003s 194.636s 12 924 92.638s 0.003s 92.715s 13 1,530 153.364s 0.003s 153.394s 14 3,007 301.712s 0.004s 301.757s 15 15,282 1,530.018s 0.002s 1,530.472s 16 40,583 1,893.158s 0.006s 1,893.205s 17 1,732 173.629s 0.004s 173.708s 18 8,233 824.535s 0.003s 824.647s 19 1,588 159.146s 0.003s 159.177s 20 1,307 131.011s 0.003s 131.089s 21 1,149 115.162s 0.002s 115.193s 22 59,088 1,662.739s 0.003s 1,663.282s 23 1,087 109.018s 0.003s 109.049s Apr 15 00 2,080 208.426s 0.003s 208.508s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 0 0s 0s 0s 06 5,784 579.057s 0.004s 579.126s 07 21,707 2,173.623s 0.005s 2,173.857s 08 1,653 165.753s 0.003s 165.784s 09 5,848 585.528s 0.002s 585.624s 10 91,632 2,551.274s 0.006s 2,552.006s 11 6,300 630.863s 0.004s 630.894s 12 1,017 101.951s 0.004s 101.982s 13 5,347 535.304s 0.001s 535.391s 14 45,296 2,225.441s 0.006s 2,225.882s 15 6,092 609.761s 0.003s 609.896s 16 1,305 130.778s 0.004s 130.808s 17 944 94.625s 0.004s 94.655s 18 1,179 118.168s 0.003s 118.245s 19 512 51.353s 0.001s 51.369s 20 1,294 129.636s 0.003s 129.668s 21 452 45.283s 0.001s 45.299s 22 53,209 1,902.689s 0.005s 1,903.186s 23 11,734 1,174.706s 0.003s 1,174.843s Apr 16 00 1,547 155.047s 0.005s 155.138s 01 597 59.874s 0.002s 59.904s 02 82,951 1,656.224s 0.004s 1,656.786s 03 5,970 597.67s 0.003s 597.737s 04 924 92.631s 0.003s 92.662s 05 52,334 1,667.011s 0.004s 1,667.483s 06 6,696 670.345s 0.001s 670.448s 07 12,488 1,250.283s 0.006s 1,250.462s 08 645 64.59s 0.001s 64.605s 09 6,552 656.408s 0.004s 656.556s 10 1,180 118.316s 0.003s 118.348s 11 1,703 170.723s 0.004s 170.801s 12 3,516 352.179s 0.004s 352.305s 13 1,247 124.986s 0.004s 125.016s 14 7,938 795.058s 0.004s 795.147s 15 1,385 138.745s 0.004s 138.776s 16 10,772 1,078.354s 0.002s 1,078.489s 17 1,967 197.114s 0.003s 197.19s 18 2,803 280.797s 0.004s 280.873s 19 2,375 237.975s 0.003s 238.051s 20 1,538 154.137s 0.003s 154.168s 21 6,257 626.572s 0.002s 626.668s 22 8,024 803.326s 0.004s 803.441s 23 17,927 1,795.008s 0.006s 1,795.188s Apr 17 00 2,460 246.443s 0.004s 246.547s 01 698 70.022s 0.003s 70.054s 02 1,677 167.979s 0.002s 168.01s 03 406 40.77s 0.002s 40.786s 04 77,369 3,270.986s 0.004s 3,271.707s 05 1,157 115.964s 0.003s 115.996s 06 1,413 141.636s 0.003s 141.713s 07 1,128 113s 0.002s 113.03s 08 928 93.09s 0.003s 93.12s 09 637 63.81s 0.002s 63.873s 10 7,597 760.964s 0.006s 761.132s 11 1,370 137.285s 0.004s 137.316s 12 1,052 105.489s 0.004s 105.573s 13 935 93.858s 0.004s 93.888s 14 3,188 321.467s 0.004s 321.516s 15 2,040 204.326s 0.006s 204.41s 16 1,062 106.551s 0.003s 106.586s 17 1,314 131.714s 0.003s 131.794s 18 1,148 115.077s 0.002s 115.106s 19 1,371 137.427s 0.004s 137.514s 20 1,692 169.447s 0.004s 169.477s 21 1,590 159.373s 0.003s 159.451s 22 54,353 1,789.762s 0.004s 1,790.243s 23 1,847 185.094s 0.004s 185.172s Apr 18 00 3,277 328.065s 0.003s 328.207s 01 620 62.186s 0.002s 62.216s 02 3,635 363.971s 0.003s 364.06s 03 753 75.399s 0.002s 75.431s 04 4,633 463.972s 0.003s 464.058s 05 413 41.358s 0.002s 41.373s 06 28,714 1,737.499s 0.005s 1,737.795s 07 1,108 111.067s 0.003s 111.096s 08 1,600 160.359s 0.004s 160.437s 09 1,256 125.893s 0.003s 125.925s 10 1,203 120.58s 0.002s 120.612s 11 4,349 435.602s 0.004s 435.724s 12 951 95.342s 0.003s 95.417s 13 1,419 142.214s 0.004s 142.247s 14 1,029 103.159s 0.002s 103.191s 15 2,140 214.337s 0.003s 214.412s 16 1,485 148.736s 0.004s 148.818s 17 4,008 401.531s 0.004s 401.609s 18 1,413 141.628s 0.004s 141.703s 19 1,798 180.165s 0.004s 180.194s 20 1,494 149.718s 0.004s 149.797s 21 1,672 167.503s 0.002s 167.534s 22 694 69.595s 0.058s 69.999s 23 67,071 1,654.236s 0.004s 1,654.316s Apr 19 00 11,208 1,138.393s 0.005s 1,138.566s 01 1,870 187.285s 0.004s 187.317s 02 743 74.58s 0.003s 74.661s 03 430 43.005s 0.001s 43.021s 04 115,828 2,745.449s 0.005s 2,746.448s 05 1,159 116.089s 0.004s 116.19s 06 5,638 564.537s 0.004s 564.567s 07 1,015 101.747s 0.004s 101.824s 08 626 62.7s 0.002s 62.716s 09 12,018 1,203.628s 0.004s 1,203.777s 10 223 22.525s 0.002s 22.556s 11 788 79.113s 0.002s 79.144s 12 890 89.117s 0.004s 89.193s 13 790 79.22s 0.002s 79.25s 14 1,628 163.15s 0.003s 163.226s 15 1,338 134.158s 0.004s 134.189s 16 1,122 112.474s 0.003s 112.505s 17 4,042 404.652s 0.003s 404.776s 18 1,775 177.9s 0.004s 177.981s 19 125,731 1,646.627s 0.004s 1,646.657s 20 1,883 188.716s 0.003s 188.785s 21 1,518 152.007s 0.004s 152.038s 22 2,915 291.943s 0.004s 292.02s 23 1,530 153.235s 0.004s 153.314s Day Hour Added Removed Recycled Synced files Longest sync Average sync Apr 13 00 0 0 3 78 0.001s 0.002s 01 0 0 0 39 0.001s 0.002s 02 0 0 1 40 0.001s 0.002s 03 0 0 0 41 0.001s 0.002s 04 0 0 0 41 0.001s 0.002s 05 0 0 1 39 0.001s 0.002s 06 0 0 36 71 0.001s 0.002s 07 0 0 1 59 0.001s 0.002s 08 0 0 0 41 0.001s 0.002s 09 0 0 1 41 0.001s 0.002s 10 0 0 0 84 0.001s 0.002s 11 0 0 0 71 0.001s 0.002s 12 0 0 1 41 0.001s 0.002s 13 0 0 0 24 0.001s 0.002s 14 0 0 1 33 0.001s 0.002s 15 0 0 0 24 0.001s 0.002s 16 0 0 0 34 0.001s 0.002s 17 0 0 1 23 0.004s 0.002s 18 0 0 0 32 0.001s 0.002s 19 0 0 1 33 0.001s 0.002s 20 0 0 0 22 0.004s 0.002s 21 0 0 0 30 0.001s 0.002s 22 0 0 4 35 0.001s 0.002s 23 0 0 0 23 0.001s 0.002s Apr 14 00 0 0 4 80 0.005s 0.002s 01 0 0 0 57 0.001s 0.002s 02 0 0 0 41 0.001s 0.002s 03 0 0 1 41 0.001s 0.002s 04 0 0 0 34 0.001s 0.002s 05 0 0 0 47 0.001s 0.002s 06 0 0 1 41 0.001s 0.002s 07 0 0 0 78 0.001s 0.002s 08 0 0 0 30 0.001s 0.002s 09 0 0 1 70 0.001s 0.001s 10 0 0 34 213 0.002s 0.003s 11 0 0 0 84 0.001s 0.002s 12 0 0 1 28 0.001s 0.002s 13 0 0 0 161 0.001s 0.002s 14 0 0 1 136 0.001s 0.002s 15 0 0 35 84 0.001s 0.001s 16 0 0 0 146 0.001s 0.003s 17 0 0 1 129 0.001s 0.002s 18 0 0 4 57 0.001s 0.002s 19 0 0 0 25 0.001s 0.002s 20 0 0 1 34 0.001s 0.002s 21 0 0 0 25 0.001s 0.002s 22 0 0 40 42 0.001s 0.002s 23 0 0 0 36 0.001s 0.002s Apr 15 00 0 0 2 51 0.001s 0.001s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 0 0s 0s 06 0 0 3 61 0.001s 0.002s 07 0 0 13 250 0.001s 0.003s 08 0 0 0 145 0.001s 0.002s 09 0 0 4 74 0.001s 0.001s 10 0 0 46 189 0.001s 0.003s 11 0 0 0 146 0.001s 0.002s 12 0 0 0 44 0.001s 0.002s 13 0 0 3 69 0.001s 0.001s 14 0 0 27 217 0.001s 0.003s 15 0 0 3 93 0.001s 0.002s 16 0 0 0 43 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 0 1 30 0.001s 0.002s 19 0 0 0 19 0.001s 0.001s 20 0 0 0 32 0.001s 0.002s 21 0 0 0 10 0.001s 0.001s 22 0 0 35 66 0.001s 0.003s 23 0 0 6 43 0.001s 0.002s Apr 16 00 0 0 2 77 0.001s 0.002s 01 0 0 0 35 0.001s 0.002s 02 0 0 40 57 0.001s 0.002s 03 0 0 3 54 0.001s 0.002s 04 0 0 0 41 0.001s 0.002s 05 0 0 34 50 0.001s 0.002s 06 0 0 4 84 0.001s 0.001s 07 0 0 8 221 0.001s 0.003s 08 0 0 0 69 0.001s 0.001s 09 0 0 3 216 0.001s 0.003s 10 0 0 0 80 0.001s 0.002s 11 0 0 1 123 0.001s 0.002s 12 0 0 2 121 0.001s 0.002s 13 0 0 0 124 0.001s 0.002s 14 0 0 2 163 0.001s 0.002s 15 0 0 0 188 0.001s 0.002s 16 0 0 6 82 0.001s 0.002s 17 0 0 1 79 0.001s 0.002s 18 0 0 1 41 0.001s 0.002s 19 0 0 1 42 0.001s 0.002s 20 0 0 0 22 0.001s 0.002s 21 0 0 4 30 0.001s 0.001s 22 0 0 4 43 0.002s 0.002s 23 0 0 11 61 0.001s 0.003s Apr 17 00 0 0 3 81 0.001s 0.002s 01 0 0 0 37 0.001s 0.002s 02 0 0 0 37 0.001s 0.002s 03 0 0 0 27 0.001s 0.001s 04 0 0 51 78 0.001s 0.003s 05 0 0 0 42 0.001s 0.002s 06 0 0 1 33 0.001s 0.002s 07 0 0 0 27 0.001s 0.002s 08 0 0 0 29 0.001s 0.002s 09 0 0 1 18 0.001s 0.001s 10 0 0 4 195 0.001s 0.003s 11 0 0 0 131 0.001s 0.002s 12 0 0 1 78 0.001s 0.002s 13 0 0 0 28 0.001s 0.002s 14 0 0 1 160 0.001s 0.002s 15 0 0 1 177 0.001s 0.002s 16 0 0 0 60 0.001s 0.002s 17 0 0 1 27 0.001s 0.002s 18 0 0 0 27 0.001s 0.002s 19 0 0 1 29 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 1 31 0.001s 0.002s 22 0 0 35 45 0.001s 0.002s 23 0 0 1 29 0.001s 0.002s Apr 18 00 0 0 3 75 0.001s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 0 2 51 0.001s 0.002s 03 0 0 0 32 0.001s 0.002s 04 0 0 2 45 0.001s 0.002s 05 0 0 0 20 0.001s 0.001s 06 0 0 18 115 0.001s 0.003s 07 0 0 0 129 0.001s 0.002s 08 0 0 1 134 0.001s 0.002s 09 0 0 0 125 0.001s 0.002s 10 0 0 0 132 0.001s 0.002s 11 0 0 2 38 0.001s 0.002s 12 0 0 1 71 0.001s 0.002s 13 0 0 0 133 0.001s 0.002s 14 0 0 0 64 0.001s 0.002s 15 0 0 1 87 0.001s 0.002s 16 0 0 1 130 0.001s 0.002s 17 0 0 1 122 0.001s 0.002s 18 0 0 1 33 0.001s 0.002s 19 0 0 0 31 0.001s 0.002s 20 0 0 1 31 0.001s 0.002s 21 0 0 0 31 0.001s 0.002s 22 0 0 25 19 0.032s 0.004s 23 0 0 1 42 0.001s 0.002s Apr 19 00 0 0 6 106 0.001s 0.003s 01 0 0 0 49 0.001s 0.002s 02 0 0 1 31 0.001s 0.002s 03 0 0 0 19 0.001s 0.001s 04 0 0 77 81 0.001s 0.003s 05 0 0 3 39 0.001s 0.002s 06 0 0 0 47 0.001s 0.002s 07 0 0 1 32 0.001s 0.002s 08 0 0 0 21 0.001s 0.001s 09 0 0 6 56 0.001s 0.003s 10 0 0 0 19 0.001s 0.002s 11 0 0 0 26 0.001s 0.002s 12 0 0 1 18 0.001s 0.002s 13 0 0 0 18 0.001s 0.002s 14 0 0 1 30 0.001s 0.002s 15 0 0 0 26 0.001s 0.002s 16 0 0 0 18 0.001s 0.002s 17 0 0 2 43 0.001s 0.002s 18 0 0 1 27 0.001s 0.002s 19 0 0 0 28 0.001s 0.002s 20 0 0 1 28 0.001s 0.002s 21 0 0 0 19 0.001s 0.002s 22 0 0 1 40 0.001s 0.002s 23 0 0 1 21 0.001s 0.002s Day Hour Count Avg time (sec) Apr 13 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 Apr 14 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 Apr 15 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 Apr 16 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 Apr 17 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 Apr 18 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 Apr 19 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Apr 13 00 24,702.00 kB 45,640.50 kB 01 1,790.00 kB 37,292.50 kB 02 2,027.00 kB 30,587.00 kB 03 2,094.00 kB 25,169.00 kB 04 2,197.00 kB 20,798.00 kB 05 3,192.50 kB 17,362.00 kB 06 295,094.50 kB 558,292.00 kB 07 9,274.50 kB 453,490.00 kB 08 3,041.50 kB 368,343.50 kB 09 5,267.50 kB 299,155.50 kB 10 3,530.50 kB 243,162.00 kB 11 2,745.50 kB 197,569.50 kB 12 3,606.00 kB 160,712.50 kB 13 2,339.50 kB 130,638.50 kB 14 2,713.50 kB 106,319.00 kB 15 3,030.50 kB 86,671.00 kB 16 3,017.00 kB 70,790.00 kB 17 3,083.00 kB 57,894.00 kB 18 3,697.00 kB 47,598.00 kB 19 3,737.00 kB 39,232.00 kB 20 3,336.00 kB 32,446.50 kB 21 3,868.00 kB 26,985.00 kB 22 26,241.50 kB 46,839.50 kB 23 3,948.50 kB 38,657.50 kB Apr 14 00 30,129.00 kB 55,796.00 kB 01 3,514.00 kB 45,706.00 kB 02 1,987.50 kB 37,535.50 kB 03 1,961.00 kB 30,766.00 kB 04 2,096.00 kB 25,320.00 kB 05 3,200.00 kB 21,034.00 kB 06 2,452.50 kB 17,597.00 kB 07 2,667.00 kB 14,740.50 kB 08 1,355.50 kB 12,205.00 kB 09 5,821.00 kB 11,098.00 kB 10 187,959.00 kB 503,636.00 kB 11 3,364.50 kB 386,941.00 kB 12 2,064.00 kB 313,856.50 kB 13 4,030.50 kB 254,943.00 kB 14 9,362.50 kB 207,687.50 kB 15 144,286.00 kB 192,270.00 kB 16 143,392.67 kB 382,347.00 kB 17 4,315.00 kB 294,123.50 kB 18 33,076.50 kB 244,211.50 kB 19 3,375.50 kB 198,783.50 kB 20 3,753.50 kB 161,701.50 kB 21 3,689.00 kB 131,692.50 kB 22 322,562.00 kB 609,325.50 kB 23 3,351.50 kB 494,304.00 kB Apr 15 00 30,935.00 kB 424,619.00 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 0.00 kB 0.00 kB 06 23,446.00 kB 367,426.00 kB 07 70,257.00 kB 297,648.33 kB 08 5,238.00 kB 233,770.00 kB 09 58,556.00 kB 205,293.00 kB 10 230,211.67 kB 453,767.67 kB 11 31,593.00 kB 480,808.00 kB 12 2,344.00 kB 389,891.50 kB 13 51,888.00 kB 337,736.00 kB 14 143,274.00 kB 381,544.00 kB 15 25,366.50 kB 297,532.00 kB 16 3,176.50 kB 241,589.00 kB 17 2,568.50 kB 196,178.00 kB 18 2,676.00 kB 159,420.50 kB 19 3,061.00 kB 136,357.00 kB 20 3,808.50 kB 3,808.50 kB 21 2,776.00 kB 3,756.00 kB 22 188,080.00 kB 495,907.67 kB 23 52,038.50 kB 390,802.50 kB Apr 16 00 13,805.50 kB 319,243.50 kB 01 1,659.50 kB 258,902.00 kB 02 330,819.00 kB 626,049.50 kB 03 21,497.00 kB 511,214.50 kB 04 2,474.50 kB 414,529.00 kB 05 280,563.50 kB 529,685.50 kB 06 62,008.00 kB 458,005.00 kB 07 42,017.33 kB 381,900.67 kB 08 3,849.00 kB 310,625.00 kB 09 16,297.67 kB 256,533.67 kB 10 3,084.50 kB 197,570.00 kB 11 4,682.50 kB 160,835.50 kB 12 12,575.00 kB 132,773.50 kB 13 3,151.50 kB 108,119.00 kB 14 13,504.50 kB 89,468.50 kB 15 4,337.50 kB 73,965.00 kB 16 47,160.00 kB 86,110.00 kB 17 5,533.00 kB 70,835.50 kB 18 10,534.00 kB 58,715.00 kB 19 7,210.50 kB 49,588.00 kB 20 3,475.50 kB 40,814.00 kB 21 61,671.00 kB 61,671.00 kB 22 32,258.50 kB 58,664.50 kB 23 61,579.67 kB 110,865.33 kB Apr 17 00 21,109.00 kB 90,947.00 kB 01 2,138.50 kB 74,061.00 kB 02 2,418.50 kB 60,439.00 kB 03 2,718.00 kB 51,909.00 kB 04 275,246.67 kB 444,170.67 kB 05 3,668.50 kB 435,956.50 kB 06 2,782.50 kB 353,771.50 kB 07 2,740.50 kB 287,064.00 kB 08 2,901.50 kB 233,072.50 kB 09 3,166.00 kB 199,161.00 kB 10 23,233.67 kB 167,849.33 kB 11 3,805.00 kB 129,627.00 kB 12 3,281.00 kB 105,642.50 kB 13 2,301.50 kB 86,026.00 kB 14 10,836.00 kB 71,040.50 kB 15 5,888.50 kB 59,260.50 kB 16 3,357.00 kB 48,712.50 kB 17 3,644.00 kB 40,122.50 kB 18 3,439.00 kB 33,174.50 kB 19 3,816.50 kB 27,563.50 kB 20 3,909.50 kB 23,075.00 kB 21 4,169.00 kB 19,471.50 kB 22 291,554.50 kB 542,039.50 kB 23 4,593.00 kB 440,306.50 kB Apr 18 00 24,862.50 kB 361,500.00 kB 01 1,806.50 kB 293,158.00 kB 02 11,892.50 kB 238,822.00 kB 03 2,366.50 kB 194,776.50 kB 04 15,777.00 kB 160,759.00 kB 05 2,349.00 kB 137,417.00 kB 06 97,525.67 kB 259,453.00 kB 07 3,369.50 kB 199,668.50 kB 08 4,143.50 kB 162,510.50 kB 09 3,525.00 kB 132,314.00 kB 10 3,329.50 kB 107,817.00 kB 11 13,672.50 kB 88,939.50 kB 12 2,878.00 kB 73,565.00 kB 13 4,320.00 kB 60,365.50 kB 14 2,981.50 kB 49,519.50 kB 15 5,463.00 kB 40,969.00 kB 16 4,268.00 kB 34,098.50 kB 17 12,682.50 kB 30,040.50 kB 18 3,885.00 kB 25,102.00 kB 19 4,375.00 kB 21,121.00 kB 20 4,537.50 kB 17,996.50 kB 21 4,468.00 kB 15,396.00 kB 22 4,157.00 kB 13,766.00 kB 23 207,244.00 kB 389,883.00 kB Apr 19 00 32,421.00 kB 307,914.00 kB 01 5,698.00 kB 238,461.00 kB 02 2,254.00 kB 193,574.50 kB 03 2,521.00 kB 165,418.00 kB 04 420,574.00 kB 1,045,025.33 kB 05 3,504.50 kB 804,933.00 kB 06 23,203.00 kB 656,431.50 kB 07 3,320.00 kB 532,383.00 kB 08 3,671.00 kB 454,427.00 kB 09 35,024.00 kB 378,639.67 kB 10 674.50 kB 290,710.00 kB 11 1,986.00 kB 235,754.00 kB 12 2,620.50 kB 191,456.00 kB 13 2,339.50 kB 155,544.00 kB 14 3,548.00 kB 126,596.00 kB 15 3,896.50 kB 103,267.50 kB 16 3,589.50 kB 84,360.00 kB 17 12,687.50 kB 69,947.00 kB 18 4,385.50 kB 58,225.00 kB 19 4,320.50 kB 48,019.00 kB 20 4,744.50 kB 39,742.50 kB 21 4,662.50 kB 33,108.50 kB 22 7,433.50 kB 27,979.00 kB 23 4,718.50 kB 23,807.00 kB -
Temporary Files
Size of temporary files
Key values
- 6.45 MiB Temp Files size Peak
- 2025-04-14 00:04:42 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2025-04-14 00:04:42 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Apr 13 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 Apr 14 00 6 6.45 MiB 1.07 MiB 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 Apr 15 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 Apr 16 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 Apr 17 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 Apr 18 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 Apr 19 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 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 6 6.45 MiB 352.00 KiB 2.02 MiB 1.07 MiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2025-04-14 00:04:42 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 2.02 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-04-14 00:04:42 ]
2 1.39 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-04-14 00:04:42 ]
3 1.30 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-04-14 00:04:42 ]
4 712.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-04-14 00:04:42 ]
5 712.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-04-14 00:04:42 ]
6 352.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-04-14 00:04:42 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 35.99 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-04-16 02:18:57 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 35.99 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-04-16 02:18:57 Date
Analyzes per table
Key values
- pubc.log_query (210) Main table analyzed (database ctdprd51)
- 229 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 210 ctdprd51.pub1.term_set_enrichment_agent 4 ctdprd51.pub1.term_set_enrichment 4 ctdprd51.pubc.new_query 3 ctdprd51.pubc.orig_query 3 ctdprd51.pg_catalog.pg_index 1 ctdprd51.pub1.term_comp_agent 1 ctdprd51.pg_catalog.pg_class 1 ctdprd51.pg_catalog.pg_attribute 1 postgres.pg_catalog.pg_shdepend 1 Total 229 Vacuums per table
Key values
- pubc.log_query (72) Main table vacuumed on database ctdprd51
- 92 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 72 42 103,004 0 19,405 0 15,265 30,407 2,213 18,059,132 ctdprd51.pg_toast.pg_toast_2619 4 4 15,578 0 4,539 0 39,871 12,638 4,040 2,198,984 ctdprd51.pg_toast.pg_toast_486223 4 0 108 0 4 0 0 5 1 9,008 ctdprd51.pubc.orig_query 3 0 436 0 12 0 0 180 3 35,598 ctdprd51.pubc.new_query 3 0 412 0 13 0 0 177 4 41,746 ctdprd51.pub1.term_set_enrichment 2 0 10,271 0 5,647 0 0 6,334 4 397,536 ctdprd51.pub1.term_set_enrichment_agent 2 0 471,965 0 253,203 0 0 295,763 11 17,540,628 ctdprd51.pub1.term_comp_agent 1 0 389 0 192 0 0 188 2 23,007 ctdprd51.pg_catalog.pg_statistic 1 1 728 0 187 0 116 450 171 683,842 Total 92 47 602,891 126,490 283,202 0 55,252 346,142 6,449 38,989,481 Tuples removed per table
Key values
- pubc.log_query (52268) Main table with removed tuples on database ctdprd51
- 68437 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 72 42 52,268 1,417,203 0 0 70,663 ctdprd51.pg_toast.pg_toast_2619 4 4 15,674 76,030 0 0 50,368 ctdprd51.pg_catalog.pg_statistic 1 1 495 3,282 43 0 410 ctdprd51.pubc.orig_query 3 0 0 10,916 0 0 177 ctdprd51.pub1.term_set_enrichment 2 0 0 1,988,117 0 0 32,945 ctdprd51.pub1.term_comp_agent 1 0 0 87,300 0 0 737 ctdprd51.pg_toast.pg_toast_486223 4 0 0 1 0 0 1 ctdprd51.pubc.new_query 3 0 0 10,945 0 0 174 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 137,936,093 0 0 1,567,459 Total 92 47 68,437 141,529,887 43 0 1,722,934 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_toast.pg_toast_2619 4 4 15674 0 ctdprd51.pubc.orig_query 3 0 0 0 ctdprd51.pub1.term_set_enrichment 2 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 1 1 495 0 ctdprd51.pg_toast.pg_toast_486223 4 0 0 0 ctdprd51.pubc.log_query 72 42 52268 0 ctdprd51.pubc.new_query 3 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 0 Total 92 47 68,437 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Apr 13 00 2 5 01 1 4 02 1 3 03 0 3 04 1 2 05 1 1 06 2 2 07 1 1 08 0 1 09 0 1 10 2 1 11 0 0 12 0 1 13 0 0 14 0 1 15 1 0 16 0 1 17 0 0 18 0 1 19 1 1 20 0 0 21 0 1 22 0 0 23 0 1 Apr 14 00 2 5 01 1 4 02 1 3 03 0 2 04 1 2 05 1 1 06 0 2 07 1 0 08 0 1 09 0 1 10 1 1 11 0 1 12 0 0 13 0 1 14 0 0 15 1 2 16 0 1 17 0 0 18 0 1 19 1 0 20 0 1 21 0 0 22 0 1 23 0 0 Apr 15 00 2 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 4 06 1 6 07 1 4 08 1 4 09 1 2 10 2 4 11 0 2 12 1 1 13 0 0 14 0 1 15 0 1 16 1 1 17 0 1 18 1 1 19 0 0 20 0 1 21 0 1 22 1 0 23 0 1 Apr 16 00 3 4 01 0 4 02 3 3 03 1 3 04 1 2 05 0 3 06 1 1 07 0 1 08 1 2 09 0 1 10 0 1 11 1 1 12 0 0 13 0 1 14 0 0 15 1 1 16 0 0 17 0 1 18 0 1 19 1 1 20 1 1 21 0 0 22 0 0 23 0 1 Apr 17 00 3 6 01 2 4 02 1 2 03 0 2 04 2 2 05 1 2 06 0 1 07 1 2 08 0 1 09 0 0 10 1 1 11 0 1 12 0 0 13 0 1 14 3 3 15 4 4 16 0 0 17 0 1 18 0 0 19 0 1 20 1 0 21 0 1 22 0 0 23 0 1 Apr 18 00 2 6 01 1 4 02 1 3 03 0 2 04 1 1 05 0 2 06 1 1 07 0 1 08 1 1 09 0 1 10 0 2 11 1 1 12 0 0 13 0 1 14 0 1 15 1 0 16 0 1 17 0 1 18 0 1 19 1 1 20 0 0 21 0 1 22 0 1 23 1 1 Apr 19 00 4 6 01 1 4 02 1 3 03 1 2 04 0 2 05 1 2 06 1 1 07 0 1 08 1 1 09 0 1 10 0 0 11 0 1 12 0 0 13 0 1 14 1 0 15 0 1 16 0 0 17 0 1 18 1 1 19 0 0 20 0 1 21 0 0 22 1 1 23 0 0 - 35.99 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
- 12,680 Total read queries
- 451 Total write queries
Queries by database
Key values
- unknown Main database
- 9,287 Requests
- 14h42m23s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 20,226 Requests
User Request type Count Duration editeu Total 24 1m29s select 24 1m29s postgres Total 108 58m41s copy to 108 58m41s pub1 Total 4 7s978ms select 4 7s978ms pubc Total 8 31s841ms select 8 31s841ms pubeu Total 8,182 19h34m22s cte 99 4m39s select 8,083 19h29m42s qaeu Total 96 4m6s cte 19 1m4s select 77 3m1s unknown Total 20,226 1d12h25m24s copy to 714 6h58m38s cte 186 6m38s ddl 12 28s719ms others 9 58s199ms select 19,305 1d5h18m39s Duration by user
Key values
- 1d12h25m24s (unknown) Main time consuming user
User Request type Count Duration editeu Total 24 1m29s select 24 1m29s postgres Total 108 58m41s copy to 108 58m41s pub1 Total 4 7s978ms select 4 7s978ms pubc Total 8 31s841ms select 8 31s841ms pubeu Total 8,182 19h34m22s cte 99 4m39s select 8,083 19h29m42s qaeu Total 96 4m6s cte 19 1m4s select 77 3m1s unknown Total 20,226 1d12h25m24s copy to 714 6h58m38s cte 186 6m38s ddl 12 28s719ms others 9 58s199ms select 19,305 1d5h18m39s Queries by host
Key values
- unknown Main host
- 28,648 Requests
- 2d9h4m44s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 13,084 Requests
- 22h54m26s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:4895553 Total 1 2s862ms select 1 2s862ms pgAdmin 4 - CONN:5013270 Total 2 5s208ms select 2 5s208ms pgAdmin 4 - CONN:6057567 Total 1 1s126ms select 1 1s126ms pgAdmin 4 - CONN:6757240 Total 1 6s248ms select 1 6s248ms pg_dump Total 49 26m52s copy to 49 26m52s unknown Total 13,084 22h54m26s copy to 264 1h56m40s cte 132 5m24s ddl 6 14s359ms others 7 45s236ms select 12,675 20h51m21s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-04-15 05:37:54 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 12,521 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 33m57s 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-04-15 00:02:34 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
2 33m16s 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 = '2101776') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-04-15 00:02:30 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
3 30m21s 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 = '2095468') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-04-19 10:21:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 30m21s 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 = '2095468') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-04-19 10:21:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
5 25m1s 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: 2025-04-19 19:02:11 ]
6 24m38s 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: 2025-04-19 19:46:01 ]
7 19m32s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-19 03:13:10 - Bind query: yes ]
8 18m23s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-19 01:52:58 - Bind query: yes ]
9 17m59s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-17 12:40:47 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
10 17m59s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-18 18:57:55 - Bind query: yes ]
11 17m54s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-17 12:40:47 - Bind query: yes ]
12 12m42s 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 = '1253087') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-18 10:19:46 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 11m37s 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 = '1253087') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-16 19:59:36 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 11m21s 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 /* 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) = 'R-HSA-2161541' AND tp.pathway_acc_db_cd = 'REACT'))) 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 'CAFFEIC 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)) 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: 2025-04-19 15:17:36 - Bind query: yes ]
15 8m50s 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 = '1271946') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-18 14:46:48 - Bind query: yes ]
16 7m29s 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 = '2100721') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-04-15 07:30:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 7m8s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-04-19 19:58:19 ]
18 7m8s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-04-19 19:14:31 ]
19 6m16s 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 = '1244428') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-18 12:12:21 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 5m58s 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 = '1269311') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-17 05:50:05 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 6h55m46s 279 1s395ms 19m32s 1m29s 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 #1
Day Hour Count Duration Avg duration Apr 14 11 2 4s3ms 2s1ms 19 1 1s711ms 1s711ms 20 2 4s743ms 2s371ms Apr 16 00 6 27m1s 4m30s 11 1 1s499ms 1s499ms 13 2 3m7s 1m33s 14 3 7m9s 2m23s 15 1 1s746ms 1s746ms 16 1 2s261ms 2s261ms 17 2 5m13s 2m36s 18 6 4m40s 46s824ms 19 1 11m37s 11m37s 21 7 12m49s 1m49s 23 5 13s959ms 2s791ms Apr 17 00 3 5s43ms 1s681ms 01 3 6s690ms 2s230ms 02 2 3s155ms 1s577ms 03 5 3m41s 44s274ms 04 3 3m19s 1m6s 05 5 17m4s 3m24s 06 2 3s290ms 1s645ms 07 8 9m5s 1m8s 08 4 7m18s 1m49s 09 5 1m40s 20s172ms 10 3 5s821ms 1s940ms 11 5 9s59ms 1s811ms 12 5 39m14s 7m50s 13 3 6s329ms 2s109ms 14 1 3s81ms 3s81ms 15 3 5s291ms 1s763ms 16 2 3m33s 1m46s 17 4 8m29s 2m7s 18 1 3s130ms 3s130ms 19 3 9m11s 3m3s 21 1 4m14s 4m14s 22 4 5m8s 1m17s 23 5 8s583ms 1s716ms Apr 18 00 3 6s406ms 2s135ms 01 5 8s390ms 1s678ms 02 2 1m57s 58s617ms 03 2 8m44s 4m22s 04 3 4m25s 1m28s 05 3 4m33s 1m31s 06 1 1s995ms 1s995ms 07 2 3s794ms 1s897ms 08 3 6s400ms 2s133ms 10 5 17m33s 3m30s 11 3 5s63ms 1s687ms 12 3 6m19s 2m6s 13 1 1s809ms 1s809ms 14 4 13m8s 3m17s 15 3 5s588ms 1s862ms 16 2 3s739ms 1s869ms 17 7 10m26s 1m29s 18 5 21m11s 4m14s 19 3 9m48s 3m16s 20 2 3s618ms 1s809ms 21 7 14m5s 2m 22 3 3m21s 1m7s 23 5 10m42s 2m8s Apr 19 00 2 3s168ms 1s584ms 01 2 22m47s 11m23s 03 4 19m37s 4m54s 04 4 3m37s 54s309ms 05 5 4m23s 52s678ms 06 3 5s453ms 1s817ms 07 8 9m44s 1m13s 08 5 7m9s 1m25s 09 7 16s775ms 2s396ms 11 1 1s607ms 1s607ms 12 2 3s239ms 1s619ms 13 3 3m22s 1m7s 14 1 3s164ms 3s164ms 15 4 11m9s 2m47s 16 2 3m10s 1m35s 17 6 3m29s 34s955ms 18 2 3s60ms 1s530ms 19 3 6s440ms 2s146ms 20 7 13m54s 1m59s 21 6 12s269ms 2s44ms 22 2 3s391ms 1s695ms 23 3 5s261ms 1s753ms [ User: pubeu - Total duration: 2h32m26s - Times executed: 91 ]
-
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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-19 03:13:10 Duration: 19m32s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-19 01:52:58 Duration: 18m23s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-17 12:40:47 Duration: 17m59s Database: ctdprd51 User: pubeu Bind query: yes
2 2h57m41s 391 1s2ms 33m57s 27s268ms 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 #2
Day Hour Count Duration Avg duration Apr 13 00 3 37s23ms 12s341ms 01 1 7s597ms 7s597ms 06 1 2s996ms 2s996ms 07 12 37s184ms 3s98ms 08 2 6s462ms 3s231ms 09 5 12s85ms 2s417ms 10 11 38s312ms 3s482ms 11 17 1m 3s536ms 13 1 2s677ms 2s677ms 16 1 3s410ms 3s410ms 21 17 19s735ms 1s160ms 22 7 38s35ms 5s433ms 23 13 41s990ms 3s230ms Apr 14 01 1 2s564ms 2s564ms 04 4 10s643ms 2s660ms 05 1 7s424ms 7s424ms 06 10 2m20s 14s44ms 07 27 2m36s 5s811ms 08 5 1m50s 22s134ms 09 6 4m 40s77ms 11 25 47s833ms 1s913ms 12 5 13s24ms 2s604ms 14 1 1s94ms 1s94ms 16 1 3s341ms 3s341ms 19 1 3s347ms 3s347ms 23 8 4m23s 32s958ms Apr 15 00 2 1h7m13s 33m36s 06 1 1s632ms 1s632ms 07 12 9m3s 45s317ms 08 10 1m33s 9s307ms 09 25 52s214ms 2s88ms 11 6 14s594ms 2s432ms 12 3 6s980ms 2s326ms 15 2 8s590ms 4s295ms 21 3 6s654ms 2s218ms Apr 16 01 1 7s591ms 7s591ms 02 5 7s232ms 1s446ms 03 1 1s59ms 1s59ms 09 13 57s783ms 4s444ms 10 3 9s945ms 3s315ms 11 3 3s584ms 1s194ms 13 1 2s857ms 2s857ms 19 1 7s121ms 7s121ms 21 2 4s170ms 2s85ms 22 1 1s59ms 1s59ms 23 2 2s845ms 1s422ms Apr 17 01 6 44s545ms 7s424ms 02 1 2s5ms 2s5ms 03 2 5s47ms 2s523ms 04 1 1s44ms 1s44ms 06 2 48s705ms 24s352ms 07 6 1m32s 15s457ms 08 2 5s99ms 2s549ms 12 2 5s839ms 2s919ms 13 1 2s983ms 2s983ms 20 6 26s895ms 4s482ms 21 36 2m41s 4s484ms 22 7 28s95ms 4s13ms 23 1 3s187ms 3s187ms Apr 18 00 1 3s820ms 3s820ms 05 1 3s464ms 3s464ms 08 1 1s935ms 1s935ms 14 1 3s816ms 3s816ms 20 1 1s113ms 1s113ms 23 7 19s177ms 2s739ms Apr 19 02 2 15s205ms 7s602ms 05 3 4s707ms 1s569ms 06 1 1s523ms 1s523ms 09 10 5m38s 33s866ms 10 2 1h42s 30m21s 14 1 16s58ms 16s58ms 15 3 5s96ms 1s698ms 16 1 1s685ms 1s685ms [ User: pubeu - Total duration: 2h37m43s - Times executed: 192 ]
-
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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-15 00:02:34 Duration: 33m57s 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 = '2101776') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-15 00:02:30 Duration: 33m16s 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 = '2095468') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-19 10:21:54 Duration: 30m21s Database: ctdprd51 User: pubeu Bind query: yes
3 2h37m20s 1,372 1s5ms 50s389ms 6s880ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 13 21 277 29m59s 6s495ms 22 140 17m15s 7s399ms 23 369 45m51s 7s457ms Apr 14 00 434 49m10s 6s798ms 01 151 14m57s 5s946ms Apr 15 19 1 4s993ms 4s993ms [ User: pubeu - Total duration: 34m31s - Times executed: 309 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2091700) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-04-13 23:53:38 Duration: 50s389ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2091700) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-04-14 00:47:39 Duration: 50s385ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2091700) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-04-13 23:41:12 Duration: 50s284ms Bind query: yes
4 1h4m19s 3,202 1s81ms 2s203ms 1s205ms 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 #4
Day Hour Count Duration Avg duration Apr 13 00 6 7s718ms 1s286ms 01 33 41s565ms 1s259ms 02 21 26s725ms 1s272ms 03 25 31s367ms 1s254ms 04 17 21s420ms 1s260ms 05 12 15s494ms 1s291ms 06 32 40s179ms 1s255ms 07 17 21s445ms 1s261ms 08 11 14s21ms 1s274ms 09 13 16s508ms 1s269ms 10 12 15s267ms 1s272ms 11 2 2s514ms 1s257ms 12 4 4s952ms 1s238ms 13 16 20s296ms 1s268ms 14 17 21s484ms 1s263ms 15 10 12s735ms 1s273ms 16 4 5s38ms 1s259ms 17 33 42s129ms 1s276ms 18 19 24s29ms 1s264ms 19 15 18s701ms 1s246ms 20 8 10s112ms 1s264ms 21 16 20s120ms 1s257ms 22 10 12s721ms 1s272ms 23 8 10s205ms 1s275ms Apr 14 00 12 15s392ms 1s282ms 01 16 20s314ms 1s269ms 02 18 22s906ms 1s272ms 03 5 6s262ms 1s252ms 04 3 3s749ms 1s249ms 05 28 36s517ms 1s304ms 06 30 38s911ms 1s297ms 07 28 37s97ms 1s324ms 08 15 19s633ms 1s308ms 09 20 25s980ms 1s299ms 10 8 10s405ms 1s300ms 11 6 7s880ms 1s313ms 12 9 11s379ms 1s264ms 13 22 28s495ms 1s295ms 14 19 24s622ms 1s295ms 15 19 23s784ms 1s251ms 16 5 6s278ms 1s255ms 17 8 10s13ms 1s251ms 18 17 21s377ms 1s257ms 19 10 12s666ms 1s266ms 20 4 5s172ms 1s293ms 21 15 18s984ms 1s265ms 22 9 11s617ms 1s290ms 23 2 2s480ms 1s240ms Apr 15 05 3 4s62ms 1s354ms 06 8 10s242ms 1s280ms 07 23 29s605ms 1s287ms 08 35 45s274ms 1s293ms 09 15 19s580ms 1s305ms 10 6 7s543ms 1s257ms 11 8 9s996ms 1s249ms 12 21 26s656ms 1s269ms 13 21 26s398ms 1s257ms 14 8 10s82ms 1s260ms 15 11 13s792ms 1s253ms 16 24 30s8ms 1s250ms 17 16 19s774ms 1s235ms 18 31 38s204ms 1s232ms 19 11 14s491ms 1s317ms 20 7 8s211ms 1s173ms 21 26 30s338ms 1s166ms 22 13 15s46ms 1s157ms 23 17 19s651ms 1s155ms Apr 16 00 9 11s431ms 1s270ms 01 12 13s885ms 1s157ms 02 16 18s577ms 1s161ms 03 10 11s595ms 1s159ms 04 13 15s542ms 1s195ms 05 47 55s225ms 1s175ms 06 36 41s821ms 1s161ms 07 14 16s62ms 1s147ms 08 19 22s365ms 1s177ms 09 26 30s216ms 1s162ms 10 23 27s22ms 1s174ms 11 19 21s950ms 1s155ms 12 13 14s704ms 1s131ms 13 19 21s527ms 1s133ms 14 29 33s753ms 1s163ms 15 24 27s586ms 1s149ms 16 12 13s907ms 1s158ms 17 20 22s849ms 1s142ms 18 14 16s29ms 1s144ms 19 17 19s418ms 1s142ms 20 15 17s184ms 1s145ms 21 10 12s429ms 1s242ms 22 18 21s425ms 1s190ms 23 39 46s491ms 1s192ms Apr 17 00 41 48s211ms 1s175ms 01 32 38s208ms 1s194ms 02 22 25s455ms 1s157ms 03 25 29s104ms 1s164ms 04 39 45s252ms 1s160ms 05 38 46s801ms 1s231ms 06 48 55s992ms 1s166ms 07 33 39s543ms 1s198ms 08 23 27s209ms 1s183ms 09 45 53s591ms 1s190ms 10 20 23s346ms 1s167ms 11 14 16s452ms 1s175ms 12 13 15s216ms 1s170ms 13 21 24s634ms 1s173ms 14 20 23s360ms 1s168ms 15 17 19s629ms 1s154ms 16 40 46s144ms 1s153ms 17 29 33s950ms 1s170ms 18 40 46s826ms 1s170ms 19 30 35s4ms 1s166ms 20 19 22s396ms 1s178ms 21 30 35s710ms 1s190ms 22 43 51s988ms 1s209ms 23 60 1m10s 1s180ms Apr 18 00 40 47s142ms 1s178ms 01 19 22s423ms 1s180ms 02 33 38s674ms 1s171ms 03 30 35s319ms 1s177ms 04 45 52s867ms 1s174ms 05 18 21s333ms 1s185ms 06 21 24s266ms 1s155ms 07 18 20s800ms 1s155ms 08 10 11s633ms 1s163ms 09 17 19s838ms 1s166ms 10 15 17s451ms 1s163ms 11 23 26s826ms 1s166ms 12 15 17s353ms 1s156ms 13 8 9s202ms 1s150ms 14 10 11s674ms 1s167ms 15 12 13s969ms 1s164ms 16 8 9s413ms 1s176ms 17 10 11s597ms 1s159ms 18 20 23s443ms 1s172ms 19 12 13s982ms 1s165ms 20 19 22s305ms 1s173ms 21 13 15s271ms 1s174ms 22 18 21s335ms 1s185ms 23 10 11s821ms 1s182ms Apr 19 00 24 28s381ms 1s182ms 01 27 31s911ms 1s181ms 02 21 25s475ms 1s213ms 03 34 41s995ms 1s235ms 04 29 34s908ms 1s203ms 05 29 35s563ms 1s226ms 06 40 47s98ms 1s177ms 07 21 24s815ms 1s181ms 08 18 21s508ms 1s194ms 09 19 22s648ms 1s192ms 11 14 16s984ms 1s213ms 12 19 22s402ms 1s179ms 13 22 26s3ms 1s181ms 14 14 16s480ms 1s177ms 15 29 34s190ms 1s178ms 16 27 31s178ms 1s154ms 17 22 25s520ms 1s160ms 18 19 22s640ms 1s191ms 19 21 24s880ms 1s184ms 20 34 39s917ms 1s174ms 21 28 32s444ms 1s158ms 22 27 33s711ms 1s248ms 23 11 13s526ms 1s229ms [ User: pubeu - Total duration: 18m27s - Times executed: 911 ]
-
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 = '1991784' or receptorTerm.id = '1991784' 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: 2025-04-17 05:46:48 Duration: 2s203ms 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 exposureMarkerTerm.id = '1991784' or receptorTerm.id = '1991784' 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: 2025-04-17 05:46:51 Duration: 2s169ms 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 = '1452041' or receptorTerm.id = '1452041' 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: 2025-04-15 19:57:20 Duration: 2s105ms Database: ctdprd51 User: pubeu Bind query: yes
5 38m4s 721 1s1ms 7s463ms 3s168ms 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 #5
Day Hour Count Duration Avg duration Apr 13 00 7 20s197ms 2s885ms 03 7 20s377ms 2s911ms 04 14 40s618ms 2s901ms Apr 14 05 7 20s370ms 2s910ms 06 4 13s379ms 3s344ms 07 10 27s642ms 2s764ms 08 7 20s690ms 2s955ms 09 6 19s231ms 3s205ms 10 8 21s268ms 2s658ms Apr 15 17 2 3s403ms 1s701ms Apr 16 08 3 8s354ms 2s784ms 10 4 9s799ms 2s449ms 11 1 2s174ms 2s174ms 12 2 3s894ms 1s947ms 13 2 6s221ms 3s110ms 14 2 5s258ms 2s629ms 15 2 5s559ms 2s779ms 16 1 2s146ms 2s146ms 18 6 20s982ms 3s497ms 19 1 6s386ms 6s386ms 20 1 2s929ms 2s929ms 21 4 16s700ms 4s175ms 22 5 12s376ms 2s475ms 23 10 30s950ms 3s95ms Apr 17 00 5 19s907ms 3s981ms 01 12 31s178ms 2s598ms 02 8 27s447ms 3s430ms 03 4 16s326ms 4s81ms 04 8 33s54ms 4s131ms 05 9 24s954ms 2s772ms 06 11 35s622ms 3s238ms 07 6 26s33ms 4s338ms 08 9 20s889ms 2s321ms 09 6 17s212ms 2s868ms 10 7 24s302ms 3s471ms 11 4 12s565ms 3s141ms 12 9 29s730ms 3s303ms 13 8 18s307ms 2s288ms 14 6 20s309ms 3s384ms 15 15 39s228ms 2s615ms 16 18 56s929ms 3s162ms 17 10 30s661ms 3s66ms 18 10 32s338ms 3s233ms 19 24 1m13s 3s72ms 20 15 42s177ms 2s811ms 21 11 39s333ms 3s575ms 22 5 12s285ms 2s457ms 23 8 25s240ms 3s155ms Apr 18 00 7 27s568ms 3s938ms 01 13 34s87ms 2s622ms 02 13 41s917ms 3s224ms 03 9 26s949ms 2s994ms 04 6 11s740ms 1s956ms 05 9 22s309ms 2s478ms 06 4 14s6ms 3s501ms 07 8 15s592ms 1s949ms 08 9 33s309ms 3s701ms 09 12 37s15ms 3s84ms 10 10 25s615ms 2s561ms 11 7 28s889ms 4s127ms 12 5 19s108ms 3s821ms 13 3 8s117ms 2s705ms 14 9 27s425ms 3s47ms 15 9 37s859ms 4s206ms 16 8 23s532ms 2s941ms 17 7 24s338ms 3s476ms 18 3 14s703ms 4s901ms 19 9 33s249ms 3s694ms 20 6 22s309ms 3s718ms 21 12 38s925ms 3s243ms 22 8 31s540ms 3s942ms 23 1 2s7ms 2s7ms Apr 19 00 10 28s972ms 2s897ms 01 6 21s401ms 3s566ms 02 8 34s573ms 4s321ms 03 3 6s749ms 2s249ms 04 12 29s496ms 2s458ms 05 5 19s307ms 3s861ms 06 9 32s20ms 3s557ms 07 8 30s91ms 3s761ms 08 5 15s370ms 3s74ms 09 7 21s786ms 3s112ms 10 3 6s167ms 2s55ms 11 2 5s318ms 2s659ms 12 9 26s775ms 2s975ms 13 4 9s527ms 2s381ms 14 17 57s343ms 3s373ms 15 6 22s42ms 3s673ms 16 7 25s591ms 3s655ms 17 10 38s451ms 3s845ms 18 10 39s47ms 3s904ms 19 10 31s370ms 3s137ms 20 5 16s601ms 3s320ms 21 9 38s668ms 4s296ms 22 14 43s804ms 3s128ms 23 11 31s194ms 2s835ms [ User: pubeu - Total duration: 10m10s - Times executed: 194 ]
-
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 = '1407657'))) 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: 2025-04-19 02:22:51 Duration: 7s463ms 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 = '1407657'))) 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: 2025-04-18 15:14:04 Duration: 6s862ms 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 = '1407657'))) 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: 2025-04-18 15:14:04 Duration: 6s841ms Bind query: yes
6 33m52s 334 1s13ms 25s359ms 6s83ms 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 #6
Day Hour Count Duration Avg duration Apr 13 01 1 10s537ms 10s537ms 05 1 17s865ms 17s865ms 06 1 17s399ms 17s399ms 16 1 5s495ms 5s495ms Apr 14 01 1 1s784ms 1s784ms 08 1 10s523ms 10s523ms Apr 15 06 2 7s455ms 3s727ms 09 1 7s996ms 7s996ms 12 1 10s675ms 10s675ms 15 1 1s46ms 1s46ms 19 2 2s549ms 1s274ms 20 1 1s49ms 1s49ms 22 1 1s530ms 1s530ms Apr 16 01 1 1s354ms 1s354ms 03 3 1m5s 21s839ms 06 1 1s55ms 1s55ms 10 5 9s675ms 1s935ms 12 2 3s39ms 1s519ms 13 1 1s387ms 1s387ms 14 1 17s389ms 17s389ms 15 2 35s843ms 17s921ms 17 3 20s81ms 6s693ms 18 1 10s164ms 10s164ms 19 3 4s558ms 1s519ms 20 2 23s198ms 11s599ms 21 2 8s683ms 4s341ms 23 6 48s315ms 8s52ms Apr 17 00 4 16s431ms 4s107ms 01 11 1m9s 6s339ms 02 3 5s621ms 1s873ms 03 2 2s780ms 1s390ms 04 5 31s363ms 6s272ms 05 9 28s226ms 3s136ms 06 4 25s383ms 6s345ms 07 5 46s934ms 9s386ms 08 3 5s521ms 1s840ms 09 2 4s288ms 2s144ms 10 2 43s227ms 21s613ms 11 2 22s95ms 11s47ms 12 7 1m8s 9s836ms 14 5 45s110ms 9s22ms 15 2 9s503ms 4s751ms 16 7 52s990ms 7s570ms 17 4 26s95ms 6s523ms 18 7 30s621ms 4s374ms 19 2 7s894ms 3s947ms 20 6 46s80ms 7s680ms 21 6 41s289ms 6s881ms 22 8 43s66ms 5s383ms 23 8 34s10ms 4s251ms Apr 18 00 8 50s445ms 6s305ms 01 5 57s781ms 11s556ms 02 2 2s160ms 1s80ms 03 9 32s234ms 3s581ms 04 4 25s700ms 6s425ms 05 2 11s460ms 5s730ms 06 1 3s93ms 3s93ms 07 2 2s603ms 1s301ms 08 2 4s553ms 2s276ms 09 3 4s62ms 1s354ms 10 2 2s226ms 1s113ms 11 2 5s161ms 2s580ms 12 5 35s951ms 7s190ms 13 2 4s627ms 2s313ms 14 4 40s57ms 10s14ms 15 6 30s222ms 5s37ms 16 2 4s461ms 2s230ms 18 8 53s477ms 6s684ms 19 4 30s203ms 7s550ms 20 4 30s227ms 7s556ms 21 3 7s594ms 2s531ms 22 3 39s168ms 13s56ms 23 10 29s414ms 2s941ms Apr 19 00 4 5s131ms 1s282ms 01 2 4s278ms 2s139ms 02 4 41s880ms 10s470ms 03 1 3s1ms 3s1ms 04 4 15s593ms 3s898ms 05 3 5s403ms 1s801ms 06 5 27s825ms 5s565ms 07 5 10s404ms 2s80ms 08 3 6s693ms 2s231ms 09 5 20s544ms 4s108ms 11 1 21s249ms 21s249ms 12 5 8s450ms 1s690ms 13 3 24s196ms 8s65ms 14 1 1s27ms 1s27ms 15 2 18s729ms 9s364ms 16 3 24s443ms 8s147ms 17 3 21s635ms 7s211ms 18 7 50s456ms 7s208ms 19 2 23s637ms 11s818ms 20 1 22s128ms 22s128ms 21 7 1m13s 10s502ms 22 4 10s290ms 2s572ms 23 4 31s285ms 7s821ms [ User: pubeu - Total duration: 8m56s - Times executed: 113 ]
-
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 = '1230319') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-17 01:10:47 Duration: 25s359ms 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 = '1230319') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-19 21:08:03 Duration: 22s832ms 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 = '1230319') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-16 23:56:02 Duration: 22s523ms Bind query: yes
7 33m27s 512 1s 6s857ms 3s920ms 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 #7
Day Hour Count Duration Avg duration Apr 13 00 6 22s924ms 3s820ms 01 1 5s252ms 5s252ms 03 8 29s274ms 3s659ms 04 12 46s263ms 3s855ms 05 6 6s173ms 1s28ms 06 4 12s431ms 3s107ms 09 5 13s440ms 2s688ms 10 3 15s355ms 5s118ms 12 4 12s502ms 3s125ms 16 1 1s36ms 1s36ms 18 2 2s272ms 1s136ms 20 2 2s54ms 1s27ms 22 2 6s291ms 3s145ms Apr 14 00 1 5s917ms 5s917ms 02 1 5s384ms 5s384ms 03 3 15s635ms 5s211ms 04 1 6s206ms 6s206ms 05 14 36s711ms 2s622ms 06 7 21s311ms 3s44ms 07 14 51s781ms 3s698ms 08 12 37s257ms 3s104ms 09 11 24s396ms 2s217ms 10 7 30s406ms 4s343ms 11 3 3s205ms 1s68ms 15 2 2s166ms 1s83ms 16 20 1m51s 5s592ms 17 1 5s575ms 5s575ms 21 1 1s27ms 1s27ms 22 1 5s330ms 5s330ms 23 4 17s368ms 4s342ms Apr 15 05 6 6s233ms 1s38ms 06 1 5s764ms 5s764ms 08 5 5s168ms 1s33ms 09 22 1m59s 5s410ms 10 2 6s357ms 3s178ms 12 2 6s347ms 3s173ms 13 2 10s504ms 5s252ms 14 3 15s654ms 5s218ms 17 1 1s30ms 1s30ms 18 1 1s128ms 1s128ms 19 2 8s538ms 4s269ms 20 2 5s880ms 2s940ms 22 6 28s19ms 4s669ms 23 16 1m20s 5s46ms Apr 16 00 3 11s453ms 3s817ms 01 5 21s287ms 4s257ms 02 11 56s913ms 5s173ms 03 4 15s368ms 3s842ms 04 3 14s287ms 4s762ms 05 7 10s864ms 1s552ms 06 4 20s994ms 5s248ms 07 1 4s593ms 4s593ms 09 5 21s132ms 4s226ms 10 5 12s526ms 2s505ms 11 1 1s10ms 1s10ms 12 1 4s902ms 4s902ms 13 4 15s815ms 3s953ms 14 4 19s490ms 4s872ms 15 1 5s34ms 5s34ms 16 3 14s768ms 4s922ms 17 4 15s377ms 3s844ms 18 1 4s953ms 4s953ms 19 4 19s33ms 4s758ms 20 2 9s379ms 4s689ms 21 1 4s842ms 4s842ms 22 5 20s488ms 4s97ms 23 2 6s120ms 3s60ms Apr 17 00 1 5s280ms 5s280ms 01 3 7s562ms 2s520ms 02 2 5s933ms 2s966ms 04 2 10s219ms 5s109ms 05 9 16s982ms 1s886ms 06 4 12s608ms 3s152ms 07 2 6s121ms 3s60ms 08 1 5s438ms 5s438ms 09 4 20s629ms 5s157ms 10 2 6s198ms 3s99ms 12 2 9s906ms 4s953ms 13 2 10s307ms 5s153ms 14 2 6s317ms 3s158ms 15 12 52s867ms 4s405ms 16 9 37s584ms 4s176ms 17 2 10s188ms 5s94ms 18 3 15s729ms 5s243ms 19 11 47s70ms 4s279ms 20 6 25s508ms 4s251ms 21 2 10s949ms 5s474ms 22 1 1s 1s 23 2 9s664ms 4s832ms Apr 18 00 2 9s964ms 4s982ms 01 6 22s485ms 3s747ms 02 6 26s381ms 4s396ms 03 3 14s388ms 4s796ms 04 1 4s813ms 4s813ms 05 1 4s785ms 4s785ms 06 1 4s639ms 4s639ms 07 1 1s6ms 1s6ms 08 3 10s883ms 3s627ms 09 1 1s61ms 1s61ms 10 2 10s35ms 5s17ms 11 3 14s974ms 4s991ms 12 2 10s335ms 5s167ms 13 1 5s49ms 5s49ms 14 1 5s18ms 5s18ms 15 5 25s525ms 5s105ms 17 1 1s12ms 1s12ms 19 2 10s62ms 5s31ms 20 1 1s1ms 1s1ms 21 8 39s972ms 4s996ms 22 1 4s785ms 4s785ms 23 4 20s210ms 5s52ms Apr 19 00 2 9s939ms 4s969ms 01 1 5s230ms 5s230ms 02 4 22s702ms 5s675ms 03 2 6s289ms 3s144ms 04 6 36s45ms 6s7ms 05 8 16s781ms 2s97ms 06 3 10s595ms 3s531ms 07 2 2s44ms 1s22ms 08 5 26s133ms 5s226ms 09 5 18s476ms 3s695ms 10 1 1s95ms 1s95ms 11 2 2s7ms 1s3ms 12 1 5s524ms 5s524ms 13 2 10s728ms 5s364ms 14 1 5s4ms 5s4ms 15 2 2s217ms 1s108ms 16 1 4s786ms 4s786ms 17 2 9s914ms 4s957ms 19 1 5s285ms 5s285ms 20 3 10s920ms 3s640ms 21 2 7s375ms 3s687ms 22 2 10s513ms 5s256ms 23 3 7s517ms 2s505ms [ User: pubeu - Total duration: 9m48s - Times executed: 143 ]
[ User: qaeu - Total duration: 6s232ms - Times executed: 6 ]
-
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 = '1300299' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-14 08:45:24 Duration: 6s857ms 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 = '1299372' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-19 02:39:42 Duration: 6s808ms 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 = '1390524' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-19 04:17:34 Duration: 6s755ms Bind query: yes
8 32m51s 7 4m38s 4m44s 4m41s select maint_query_logs_archive ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 13 00 1 4m42s 4m42s Apr 14 00 1 4m41s 4m41s Apr 15 00 1 4m38s 4m38s Apr 16 00 1 4m44s 4m44s Apr 17 00 1 4m40s 4m40s Apr 18 00 1 4m42s 4m42s Apr 19 00 1 4m42s 4m42s -
/* * 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: 2025-04-16 00:04:45 Duration: 4m44s
-
/* * 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: 2025-04-13 00:04:44 Duration: 4m42s
-
/* * 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: 2025-04-19 00:04:44 Duration: 4m42s
9 26m7s 619 1s1ms 4s691ms 2s531ms 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 #9
Day Hour Count Duration Avg duration Apr 13 00 8 16s380ms 2s47ms 03 8 16s809ms 2s101ms 04 16 32s834ms 2s52ms Apr 14 05 7 15s802ms 2s257ms 06 4 11s418ms 2s854ms 07 11 21s30ms 1s911ms 08 8 16s678ms 2s84ms 09 7 15s988ms 2s284ms 10 8 16s480ms 2s60ms 19 2 2s851ms 1s425ms Apr 16 07 2 2s109ms 1s54ms 08 1 1s3ms 1s3ms 10 3 9s597ms 3s199ms 11 1 4s459ms 4s459ms 13 2 4s174ms 2s87ms 14 2 6s197ms 3s98ms 15 2 4s189ms 2s94ms 16 1 2s252ms 2s252ms 17 1 2s81ms 2s81ms 18 1 2s188ms 2s188ms 19 4 10s621ms 2s655ms 20 2 6s460ms 3s230ms 21 1 1s426ms 1s426ms 22 2 4s152ms 2s76ms 23 13 35s467ms 2s728ms Apr 17 00 8 20s283ms 2s535ms 01 8 23s212ms 2s901ms 02 4 9s871ms 2s467ms 04 8 24s213ms 3s26ms 05 9 17s683ms 1s964ms 06 6 11s394ms 1s899ms 07 11 28s776ms 2s616ms 08 10 26s803ms 2s680ms 09 3 8s273ms 2s757ms 10 7 12s934ms 1s847ms 11 3 8s596ms 2s865ms 12 9 27s445ms 3s49ms 13 7 25s220ms 3s602ms 14 4 12s391ms 3s97ms 15 17 38s859ms 2s285ms 16 14 36s478ms 2s605ms 17 7 18s830ms 2s690ms 18 4 6s232ms 1s558ms 19 23 58s864ms 2s559ms 20 15 39s164ms 2s610ms 21 5 14s126ms 2s825ms 22 4 13s86ms 3s271ms 23 5 8s811ms 1s762ms Apr 18 00 7 21s558ms 3s79ms 01 6 10s606ms 1s767ms 02 7 14s538ms 2s76ms 03 5 13s339ms 2s667ms 04 4 11s446ms 2s861ms 05 8 23s133ms 2s891ms 06 9 21s971ms 2s441ms 07 2 3s235ms 1s617ms 08 3 9s333ms 3s111ms 09 4 14s811ms 3s702ms 10 1 1s60ms 1s60ms 11 10 23s196ms 2s319ms 12 3 8s543ms 2s847ms 13 4 9s398ms 2s349ms 14 6 13s516ms 2s252ms 15 9 23s957ms 2s661ms 16 5 8s556ms 1s711ms 17 8 23s330ms 2s916ms 18 3 7s434ms 2s478ms 19 6 15s611ms 2s601ms 20 10 32s798ms 3s279ms 21 8 18s519ms 2s314ms 22 9 24s860ms 2s762ms 23 7 22s904ms 3s272ms Apr 19 00 6 15s832ms 2s638ms 01 11 28s957ms 2s632ms 02 7 11s768ms 1s681ms 03 7 23s114ms 3s302ms 04 6 15s309ms 2s551ms 05 10 24s432ms 2s443ms 06 6 18s746ms 3s124ms 07 9 25s49ms 2s783ms 08 9 22s335ms 2s481ms 09 9 17s653ms 1s961ms 11 5 11s717ms 2s343ms 12 5 13s701ms 2s740ms 13 9 26s633ms 2s959ms 14 8 19s693ms 2s461ms 15 7 14s 2s 16 6 20s692ms 3s448ms 17 9 21s171ms 2s352ms 18 6 19s186ms 3s197ms 19 7 17s939ms 2s562ms 20 7 24s854ms 3s550ms 21 6 14s57ms 2s342ms 22 5 15s980ms 3s196ms 23 7 12s497ms 1s785ms [ User: pubeu - Total duration: 6m47s - Times executed: 159 ]
-
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 = '1407657') 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 = '1407657') 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: 2025-04-16 23:34:28 Duration: 4s691ms 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 = '1407657') 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 = '1407657') 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: 2025-04-17 22:42:05 Duration: 4s535ms 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 = '1407657') 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 = '1407657') 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: 2025-04-19 04:13:16 Duration: 4s490ms Bind query: yes
10 25m22s 376 3s638ms 10s738ms 4s50ms 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 #10
Day Hour Count Duration Avg duration Apr 13 00 3 12s221ms 4s73ms 02 2 8s156ms 4s78ms 03 2 7s916ms 3s958ms 04 1 4s33ms 4s33ms 06 3 12s254ms 4s84ms 07 4 17s203ms 4s300ms 08 1 4s204ms 4s204ms 09 1 3s910ms 3s910ms 10 2 8s709ms 4s354ms 12 4 16s568ms 4s142ms 13 3 11s991ms 3s997ms 16 2 8s169ms 4s84ms 22 2 8s371ms 4s185ms 23 1 4s158ms 4s158ms Apr 14 00 4 17s66ms 4s266ms 01 3 12s307ms 4s102ms 02 3 12s168ms 4s56ms 03 2 8s259ms 4s129ms 04 2 8s222ms 4s111ms 05 2 8s116ms 4s58ms 06 1 4s128ms 4s128ms 09 2 8s149ms 4s74ms 10 3 12s513ms 4s171ms 12 3 12s225ms 4s75ms 13 1 3s956ms 3s956ms 14 1 3s962ms 3s962ms 15 5 20s291ms 4s58ms 18 5 20s788ms 4s157ms 19 1 4s215ms 4s215ms 21 1 4s12ms 4s12ms 22 5 20s788ms 4s157ms Apr 15 05 2 8s316ms 4s158ms 06 2 8s36ms 4s18ms 07 4 17s222ms 4s305ms 08 5 22s91ms 4s418ms 09 14 1m1s 4s405ms 10 1 3s896ms 3s896ms 11 1 4s77ms 4s77ms 12 1 4s280ms 4s280ms 13 3 12s199ms 4s66ms 14 2 8s344ms 4s172ms 15 3 12s541ms 4s180ms 16 2 8s19ms 4s9ms 17 1 3s968ms 3s968ms 18 2 7s983ms 3s991ms 19 2 8s247ms 4s123ms 20 1 3s936ms 3s936ms 21 4 16s9ms 4s2ms 22 14 55s320ms 3s951ms 23 9 36s117ms 4s13ms Apr 16 00 2 14s592ms 7s296ms 01 3 12s328ms 4s109ms 02 8 32s668ms 4s83ms 03 4 15s485ms 3s871ms 04 4 16s350ms 4s87ms 05 5 18s968ms 3s793ms 06 2 9s383ms 4s691ms 07 7 26s777ms 3s825ms 08 5 19s621ms 3s924ms 09 3 11s778ms 3s926ms 11 1 3s982ms 3s982ms 13 3 11s993ms 3s997ms 14 2 7s971ms 3s985ms 15 1 3s994ms 3s994ms 16 4 15s857ms 3s964ms 18 5 19s649ms 3s929ms 19 3 12s361ms 4s120ms 20 2 8s167ms 4s83ms 22 1 4s58ms 4s58ms Apr 17 01 8 31s301ms 3s912ms 02 13 50s133ms 3s856ms 03 8 31s142ms 3s892ms 04 9 35s40ms 3s893ms 05 34 2m12s 3s905ms 07 10 41s678ms 4s167ms 08 2 7s951ms 3s975ms 09 3 12s407ms 4s135ms 11 1 3s840ms 3s840ms 12 6 24s603ms 4s100ms 13 2 7s978ms 3s989ms 14 6 23s448ms 3s908ms 15 1 3s891ms 3s891ms 16 2 7s784ms 3s892ms 19 1 3s881ms 3s881ms 20 4 18s640ms 4s660ms 21 1 4s157ms 4s157ms 23 1 3s871ms 3s871ms Apr 18 00 1 3s954ms 3s954ms 02 4 16s166ms 4s41ms 03 4 15s888ms 3s972ms 04 3 11s706ms 3s902ms 07 1 3s829ms 3s829ms 09 2 7s958ms 3s979ms 10 1 3s841ms 3s841ms 11 6 23s629ms 3s938ms 12 1 3s863ms 3s863ms 15 2 7s716ms 3s858ms 16 2 7s703ms 3s851ms 18 4 15s759ms 3s939ms 19 2 7s799ms 3s899ms 22 2 8s159ms 4s79ms 23 1 3s826ms 3s826ms Apr 19 01 2 7s891ms 3s945ms 02 1 3s901ms 3s901ms 04 2 8s400ms 4s200ms 08 2 7s813ms 3s906ms 11 1 4s96ms 4s96ms 14 1 3s819ms 3s819ms 15 3 11s473ms 3s824ms 22 3 11s803ms 3s934ms [ User: pubeu - Total duration: 9m27s - Times executed: 138 ]
-
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 = '1348114') 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 = '1348114') 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: 2025-04-16 00:16:51 Duration: 10s738ms Database: ctdprd51 User: pubeu 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 = '1436913') 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 = '1436913') 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: 2025-04-17 20:17:41 Duration: 5s492ms 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 = '1275629') 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 = '1275629') 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: 2025-04-15 09:16:39 Duration: 5s414ms Database: ctdprd51 User: pubeu Bind query: yes
11 25m1s 1 25m1s 25m1s 25m1s 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 #11
Day Hour Count Duration Avg duration Apr 19 19 1 25m1s 25m1s -
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: 2025-04-19 19:02:11 Duration: 25m1s
12 24m38s 1 24m38s 24m38s 24m38s 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 #12
Day Hour Count Duration Avg duration Apr 19 19 1 24m38s 24m38s -
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: 2025-04-19 19:46:01 Duration: 24m38s
13 21m16s 25 50s712ms 51s463ms 51s46ms 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 #13
Day Hour Count Duration Avg duration Apr 13 06 1 50s897ms 50s897ms 10 1 51s209ms 51s209ms 14 1 50s912ms 50s912ms 18 1 50s924ms 50s924ms Apr 14 06 1 51s463ms 51s463ms 10 1 50s956ms 50s956ms 14 1 50s965ms 50s965ms 18 1 50s832ms 50s832ms Apr 15 06 1 51s390ms 51s390ms 10 1 50s712ms 50s712ms 14 1 50s941ms 50s941ms 18 1 50s788ms 50s788ms Apr 16 06 1 50s929ms 50s929ms 10 1 50s933ms 50s933ms 14 1 51s26ms 51s26ms 18 1 50s987ms 50s987ms Apr 17 06 1 51s319ms 51s319ms 10 1 51s8ms 51s8ms 14 1 51s411ms 51s411ms 18 1 51s282ms 51s282ms Apr 18 06 1 50s942ms 50s942ms 10 1 51s285ms 51s285ms 14 1 51s192ms 51s192ms 18 1 51s79ms 51s79ms Apr 19 20 1 50s771ms 50s771ms [ User: postgres - Total duration: 20m25s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 20m25s - 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: 2025-04-14 06:05:53 Duration: 51s463ms 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: 2025-04-17 14:05:53 Duration: 51s411ms 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: 2025-04-15 06:05:52 Duration: 51s390ms Database: ctdprd51 User: postgres Application: pg_dump
14 19m2s 300 1s2ms 12s782ms 3s806ms 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 #14
Day Hour Count Duration Avg duration Apr 13 00 1 10s910ms 10s910ms 01 3 33s294ms 11s98ms 06 2 6s477ms 3s238ms 07 2 6s517ms 3s258ms 10 3 3s854ms 1s284ms 11 1 1s251ms 1s251ms 14 1 1s294ms 1s294ms 20 1 1s623ms 1s623ms 22 10 58s472ms 5s847ms 23 1 1s463ms 1s463ms Apr 14 00 1 1s559ms 1s559ms 02 1 5s430ms 5s430ms 04 1 1s190ms 1s190ms 05 1 1s280ms 1s280ms 06 3 22s835ms 7s611ms 07 3 3s137ms 1s45ms 08 2 23s595ms 11s797ms 09 9 59s927ms 6s658ms 10 1 1s391ms 1s391ms 13 4 39s249ms 9s812ms 14 1 1s257ms 1s257ms 16 1 3s84ms 3s84ms 19 1 1s100ms 1s100ms 21 1 1s279ms 1s279ms 23 6 1m5s 10s985ms Apr 15 07 4 9s454ms 2s363ms 08 2 4s53ms 2s26ms 09 2 2s76ms 1s38ms 10 5 13s800ms 2s760ms 12 3 22s547ms 7s515ms 14 1 10s555ms 10s555ms 20 2 4s189ms 2s94ms 21 2 7s388ms 3s694ms 22 2 4s412ms 2s206ms 23 1 4s821ms 4s821ms Apr 16 01 1 2s490ms 2s490ms 06 2 5s885ms 2s942ms 07 1 1s296ms 1s296ms 09 5 7s656ms 1s531ms 10 2 12s383ms 6s191ms 11 1 1s568ms 1s568ms 13 1 1s31ms 1s31ms 14 1 2s221ms 2s221ms 15 2 5s223ms 2s611ms 16 1 1s505ms 1s505ms 17 1 1s143ms 1s143ms 19 1 1s33ms 1s33ms 20 1 1s759ms 1s759ms 21 3 8s439ms 2s813ms 22 1 5s379ms 5s379ms 23 1 4s523ms 4s523ms Apr 17 01 5 27s369ms 5s473ms 02 1 6s62ms 6s62ms 03 4 17s55ms 4s263ms 04 4 8s719ms 2s179ms 05 4 9s656ms 2s414ms 06 6 19s409ms 3s234ms 07 5 25s432ms 5s86ms 08 3 8s288ms 2s762ms 09 3 8s798ms 2s932ms 10 1 5s193ms 5s193ms 11 1 1s355ms 1s355ms 12 6 17s312ms 2s885ms 13 5 10s432ms 2s86ms 14 2 6s544ms 3s272ms 15 3 10s95ms 3s365ms 16 4 12s522ms 3s130ms 17 1 1s720ms 1s720ms 18 2 2s956ms 1s478ms 19 1 1s359ms 1s359ms 20 4 11s65ms 2s766ms 21 12 34s63ms 2s838ms 22 7 15s546ms 2s220ms 23 1 2s768ms 2s768ms Apr 18 00 2 5s754ms 2s877ms 01 2 2s823ms 1s411ms 02 1 3s12ms 3s12ms 03 1 2s760ms 2s760ms 04 1 4s901ms 4s901ms 05 2 4s464ms 2s232ms 06 3 8s791ms 2s930ms 07 1 1s914ms 1s914ms 08 4 6s254ms 1s563ms 09 3 11s318ms 3s772ms 10 2 2s303ms 1s151ms 11 3 16s538ms 5s512ms 12 1 2s982ms 2s982ms 14 3 9s697ms 3s232ms 15 3 18s7ms 6s2ms 16 2 12s872ms 6s436ms 18 2 3s936ms 1s968ms 20 3 11s797ms 3s932ms 21 3 16s617ms 5s539ms 23 3 9s632ms 3s210ms Apr 19 00 3 12s83ms 4s27ms 01 4 7s306ms 1s826ms 02 2 6s633ms 3s316ms 03 2 5s300ms 2s650ms 04 2 2s818ms 1s409ms 05 1 10s596ms 10s596ms 06 3 6s96ms 2s32ms 07 5 26s498ms 5s299ms 08 4 6s49ms 1s512ms 09 11 41s794ms 3s799ms 12 3 17s533ms 5s844ms 13 4 6s593ms 1s648ms 15 4 23s681ms 5s920ms 16 1 5s92ms 5s92ms 17 1 10s406ms 10s406ms 18 1 1s201ms 1s201ms 19 1 2s344ms 2s344ms 20 2 8s652ms 4s326ms 21 2 3s907ms 1s953ms 22 2 10s681ms 5s340ms 23 2 2s412ms 1s206ms [ User: pubeu - Total duration: 7m3s - Times executed: 115 ]
[ User: qaeu - Total duration: 2s811ms - Times executed: 1 ]
-
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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 09:05:47 Duration: 12s782ms 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 09:05:45 Duration: 12s316ms 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 09:06:00 Duration: 12s69ms Bind query: yes
15 18m32s 203 1s14ms 19s507ms 5s480ms 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 #15
Day Hour Count Duration Avg duration Apr 13 06 1 4s77ms 4s77ms 18 2 2s135ms 1s67ms Apr 14 09 1 4s124ms 4s124ms Apr 15 21 3 51s745ms 17s248ms 22 1 1s72ms 1s72ms Apr 16 02 1 2s552ms 2s552ms 10 1 4s460ms 4s460ms 11 2 13s10ms 6s505ms 12 3 22s337ms 7s445ms 14 3 7s32ms 2s344ms 20 1 1s14ms 1s14ms 21 2 18s767ms 9s383ms 22 1 2s328ms 2s328ms 23 2 6s686ms 3s343ms Apr 17 00 1 2s466ms 2s466ms 01 2 12s107ms 6s53ms 02 2 21s503ms 10s751ms 03 2 2s819ms 1s409ms 04 2 6s191ms 3s95ms 05 5 29s366ms 5s873ms 06 1 5s457ms 5s457ms 07 4 11s599ms 2s899ms 08 7 23s433ms 3s347ms 09 1 1s309ms 1s309ms 10 4 31s190ms 7s797ms 11 1 4s521ms 4s521ms 13 2 5s662ms 2s831ms 14 2 3s827ms 1s913ms 15 3 19s480ms 6s493ms 16 4 10s882ms 2s720ms 17 7 42s234ms 6s33ms 18 2 2s418ms 1s209ms 19 3 10s377ms 3s459ms 21 4 16s347ms 4s86ms 22 1 4s488ms 4s488ms 23 2 12s814ms 6s407ms Apr 18 00 3 16s358ms 5s452ms 01 3 29s577ms 9s859ms 02 3 21s857ms 7s285ms 03 3 25s951ms 8s650ms 04 2 7s467ms 3s733ms 05 2 5s746ms 2s873ms 06 2 2s609ms 1s304ms 08 5 55s959ms 11s191ms 09 2 2s440ms 1s220ms 10 1 5s858ms 5s858ms 11 3 8s508ms 2s836ms 12 1 5s522ms 5s522ms 14 2 20s773ms 10s386ms 15 2 32s901ms 16s450ms 16 2 21s585ms 10s792ms 17 2 2s406ms 1s203ms 18 4 22s787ms 5s696ms 19 2 13s371ms 6s685ms 20 2 17s285ms 8s642ms 21 5 13s631ms 2s726ms 22 3 8s103ms 2s701ms 23 2 6s563ms 3s281ms Apr 19 00 4 7s59ms 1s764ms 01 5 44s688ms 8s937ms 02 1 11s660ms 11s660ms 03 4 11s280ms 2s820ms 04 3 9s597ms 3s199ms 05 3 19s695ms 6s565ms 06 2 3s716ms 1s858ms 07 5 10s511ms 2s102ms 08 2 7s6ms 3s503ms 09 2 5s875ms 2s937ms 12 1 1s316ms 1s316ms 13 4 21s898ms 5s474ms 14 2 4s595ms 2s297ms 15 3 22s57ms 7s352ms 16 1 4s469ms 4s469ms 17 3 9s390ms 3s130ms 18 4 27s794ms 6s948ms 19 1 5s583ms 5s583ms 20 1 16s408ms 16s408ms 21 2 29s120ms 14s560ms 22 5 25s711ms 5s142ms 23 3 44s71ms 14s690ms [ User: pubeu - Total duration: 5m3s - Times executed: 54 ]
-
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 = '1230319'))) 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: 2025-04-15 21:33:55 Duration: 19s507ms 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 = '1230319'))) 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: 2025-04-19 21:32:50 Duration: 18s114ms 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 = '1230319'))) 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: 2025-04-19 05:32:03 Duration: 17s346ms Bind query: yes
16 14m41s 62 1s129ms 16s799ms 14s210ms 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 g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 13 11 1 15s464ms 15s464ms 13 1 15s305ms 15s305ms 14 1 15s532ms 15s532ms 17 2 6s706ms 3s353ms 18 5 1m18s 15s791ms 20 3 46s839ms 15s613ms Apr 14 01 3 46s388ms 15s462ms 02 2 31s714ms 15s857ms 05 1 15s807ms 15s807ms 08 4 1m2s 15s585ms 18 3 46s573ms 15s524ms Apr 15 10 1 15s539ms 15s539ms 19 1 15s696ms 15s696ms Apr 16 05 1 16s20ms 16s20ms 06 5 1m14s 14s990ms 07 1 14s717ms 14s717ms 09 1 14s901ms 14s901ms 14 2 2s303ms 1s151ms Apr 17 00 2 2s330ms 1s165ms 16 1 16s320ms 16s320ms 17 3 47s112ms 15s704ms 22 1 15s518ms 15s518ms Apr 18 00 1 15s100ms 15s100ms Apr 19 07 1 15s179ms 15s179ms 12 1 15s980ms 15s980ms 16 4 1m3s 15s954ms 20 1 16s159ms 16s159ms 22 3 46s11ms 15s337ms 23 6 1m31s 15s292ms [ User: pubeu - Total duration: 6m4s - Times executed: 25 ]
-
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 = '2099357') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-19 16:13:51 Duration: 16s799ms 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 = '2097155') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 08:49:40 Duration: 16s477ms 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 = '2095989') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 02:09:29 Duration: 16s466ms Database: ctdprd51 User: pubeu Bind query: yes
17 13m40s 20 2s93ms 1m13s 41s40ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 14 18 1 47s305ms 47s305ms 19 1 44s547ms 44s547ms 20 2 1m38s 49s71ms Apr 15 09 2 1m6s 33s410ms 10 1 33s132ms 33s132ms 13 2 1m27s 43s937ms 20 3 3m38s 1m12s Apr 16 11 1 42s559ms 42s559ms 20 1 2s93ms 2s93ms Apr 18 03 1 26s989ms 26s989ms 13 1 2s121ms 2s121ms 16 1 19s469ms 19s469ms Apr 19 01 1 57s465ms 57s465ms 05 1 47s457ms 47s457ms 21 1 26s528ms 26s528ms [ User: pubeu - Total duration: 5m50s - Times executed: 8 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1352091')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-15 20:33:56 Duration: 1m13s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1352091')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-15 20:34:10 Duration: 1m12s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1352091')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-15 20:33:40 Duration: 1m12s Bind query: yes
18 12m10s 488 1s448ms 2s264ms 1s495ms 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 #18
Day Hour Count Duration Avg duration Apr 13 05 2 3s66ms 1s533ms 15 4 6s178ms 1s544ms 21 1 1s531ms 1s531ms Apr 14 00 1 1s544ms 1s544ms 01 1 1s533ms 1s533ms 05 2 3s114ms 1s557ms 06 1 1s558ms 1s558ms 07 1 1s583ms 1s583ms 08 1 1s535ms 1s535ms 09 2 3s183ms 1s591ms 11 2 3s120ms 1s560ms 16 4 6s119ms 1s529ms Apr 15 05 2 3s69ms 1s534ms 08 4 6s284ms 1s571ms 10 2 3s103ms 1s551ms 19 1 2s264ms 2s264ms 20 1 1s605ms 1s605ms 23 1 1s472ms 1s472ms Apr 16 04 1 1s546ms 1s546ms 05 3 4s425ms 1s475ms 07 1 1s481ms 1s481ms 08 4 5s917ms 1s479ms 10 1 1s478ms 1s478ms 11 1 1s683ms 1s683ms 12 1 1s504ms 1s504ms 13 2 3s23ms 1s511ms 16 1 1s509ms 1s509ms 17 2 2s960ms 1s480ms 18 1 1s451ms 1s451ms 19 5 7s320ms 1s464ms 20 5 7s359ms 1s471ms 21 1 1s467ms 1s467ms 22 1 1s457ms 1s457ms 23 9 13s445ms 1s493ms Apr 17 00 6 8s866ms 1s477ms 01 3 4s480ms 1s493ms 02 3 4s431ms 1s477ms 03 3 4s476ms 1s492ms 04 7 10s387ms 1s483ms 05 9 13s417ms 1s490ms 06 7 10s374ms 1s482ms 07 7 10s780ms 1s540ms 08 9 13s334ms 1s481ms 09 7 10s690ms 1s527ms 10 3 4s464ms 1s488ms 11 6 8s975ms 1s495ms 12 5 7s423ms 1s484ms 13 5 7s405ms 1s481ms 14 7 10s440ms 1s491ms 15 9 13s545ms 1s505ms 16 4 5s936ms 1s484ms 17 8 11s914ms 1s489ms 18 5 7s431ms 1s486ms 19 7 10s425ms 1s489ms 20 7 10s396ms 1s485ms 21 12 18s66ms 1s505ms 22 4 5s926ms 1s481ms 23 5 7s430ms 1s486ms Apr 18 00 9 13s416ms 1s490ms 01 5 7s500ms 1s500ms 02 4 5s932ms 1s483ms 03 5 7s474ms 1s494ms 04 13 19s366ms 1s489ms 05 6 8s959ms 1s493ms 06 3 4s452ms 1s484ms 07 4 5s982ms 1s495ms 08 8 12s96ms 1s512ms 09 4 5s888ms 1s472ms 10 4 5s939ms 1s484ms 11 6 8s870ms 1s478ms 12 8 11s972ms 1s496ms 14 3 4s426ms 1s475ms 15 8 11s776ms 1s472ms 16 9 13s370ms 1s485ms 17 11 16s412ms 1s492ms 18 4 5s967ms 1s491ms 19 7 10s378ms 1s482ms 20 3 4s506ms 1s502ms 21 6 8s886ms 1s481ms 22 3 4s418ms 1s472ms 23 6 8s957ms 1s492ms Apr 19 00 4 5s921ms 1s480ms 01 5 7s420ms 1s484ms 02 7 10s500ms 1s500ms 03 6 9s22ms 1s503ms 04 4 5s988ms 1s497ms 05 6 9s32ms 1s505ms 06 3 4s421ms 1s473ms 07 8 11s864ms 1s483ms 08 4 6s48ms 1s512ms 09 11 16s481ms 1s498ms 11 3 4s491ms 1s497ms 12 9 13s336ms 1s481ms 13 5 7s421ms 1s484ms 14 7 10s386ms 1s483ms 15 5 7s433ms 1s486ms 16 9 13s298ms 1s477ms 17 8 11s869ms 1s483ms 18 6 8s994ms 1s499ms 19 6 8s946ms 1s491ms 20 1 1s479ms 1s479ms 21 2 2s931ms 1s465ms 22 2 2s930ms 1s465ms 23 8 11s918ms 1s489ms [ User: pubeu - Total duration: 3m50s - Times executed: 154 ]
[ User: qaeu - Total duration: 1s484ms - Times executed: 1 ]
-
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: 2025-04-15 19:57:21 Duration: 2s264ms 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: 2025-04-16 11:09:51 Duration: 1s683ms 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: 2025-04-17 07:00:13 Duration: 1s676ms Database: ctdprd51 User: pubeu Bind query: yes
19 11m33s 511 1s187ms 1s630ms 1s358ms 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 #19
Day Hour Count Duration Avg duration Apr 13 00 1 1s453ms 1s453ms 01 8 11s90ms 1s386ms 02 2 2s763ms 1s381ms 03 4 5s555ms 1s388ms 04 4 5s502ms 1s375ms 05 5 7s251ms 1s450ms 06 9 12s506ms 1s389ms 07 4 5s551ms 1s387ms 09 4 5s586ms 1s396ms 10 2 2s843ms 1s421ms 12 2 2s874ms 1s437ms 13 3 4s242ms 1s414ms 14 2 2s800ms 1s400ms 15 2 2s779ms 1s389ms 16 4 5s609ms 1s402ms 17 2 2s972ms 1s486ms 18 4 5s518ms 1s379ms 19 2 2s796ms 1s398ms 20 11 15s430ms 1s402ms 21 2 3s172ms 1s586ms 22 2 2s772ms 1s386ms 23 3 4s387ms 1s462ms Apr 14 00 4 5s657ms 1s414ms 02 2 2s708ms 1s354ms 03 2 2s855ms 1s427ms 05 16 23s58ms 1s441ms 06 9 12s803ms 1s422ms 07 10 14s415ms 1s441ms 08 9 13s369ms 1s485ms 09 4 5s975ms 1s493ms 10 5 7s243ms 1s448ms 11 1 1s575ms 1s575ms 13 6 8s653ms 1s442ms 14 4 5s801ms 1s450ms 15 3 4s164ms 1s388ms 16 2 2s874ms 1s437ms 17 4 5s743ms 1s435ms 19 1 1s444ms 1s444ms 20 2 2s787ms 1s393ms 21 6 8s442ms 1s407ms 22 4 5s958ms 1s489ms Apr 15 05 2 3s66ms 1s533ms 07 4 5s850ms 1s462ms 08 11 15s732ms 1s430ms 12 2 2s806ms 1s403ms 13 2 2s757ms 1s378ms 14 4 5s564ms 1s391ms 15 2 2s720ms 1s360ms 17 4 5s656ms 1s414ms 18 6 8s46ms 1s341ms 19 1 1s420ms 1s420ms 20 1 1s417ms 1s417ms 21 2 2s543ms 1s271ms 23 3 3s749ms 1s249ms Apr 16 00 2 2s618ms 1s309ms 01 6 7s762ms 1s293ms 04 1 1s288ms 1s288ms 05 9 11s875ms 1s319ms 07 3 3s846ms 1s282ms 09 4 5s162ms 1s290ms 10 3 3s925ms 1s308ms 11 3 3s841ms 1s280ms 12 4 5s13ms 1s253ms 13 1 1s264ms 1s264ms 14 6 7s724ms 1s287ms 15 2 2s535ms 1s267ms 16 2 2s531ms 1s265ms 17 4 5s163ms 1s290ms 21 2 2s695ms 1s347ms 22 4 5s138ms 1s284ms 23 10 13s245ms 1s324ms Apr 17 00 12 15s693ms 1s307ms 01 1 1s344ms 1s344ms 02 6 7s692ms 1s282ms 04 4 5s192ms 1s298ms 05 3 3s977ms 1s325ms 06 5 6s536ms 1s307ms 07 4 5s315ms 1s328ms 08 4 5s112ms 1s278ms 09 11 14s492ms 1s317ms 10 6 7s763ms 1s293ms 11 2 2s572ms 1s286ms 12 1 1s326ms 1s326ms 13 1 1s252ms 1s252ms 14 2 2s531ms 1s265ms 15 1 1s250ms 1s250ms 16 2 2s574ms 1s287ms 17 3 3s814ms 1s271ms 18 9 11s619ms 1s291ms 19 2 2s595ms 1s297ms 20 3 3s923ms 1s307ms 21 2 2s521ms 1s260ms 22 9 12s402ms 1s378ms Apr 18 00 3 4s20ms 1s340ms 01 5 6s480ms 1s296ms 02 7 9s208ms 1s315ms 03 3 3s985ms 1s328ms 04 3 3s817ms 1s272ms 05 3 4s108ms 1s369ms 06 3 3s837ms 1s279ms 07 1 1s261ms 1s261ms 09 2 2s637ms 1s318ms 10 1 1s290ms 1s290ms 11 1 1s285ms 1s285ms 13 2 2s472ms 1s236ms 14 1 1s267ms 1s267ms 15 1 1s285ms 1s285ms 17 1 1s374ms 1s374ms 19 1 1s347ms 1s347ms 20 5 6s485ms 1s297ms 23 2 2s743ms 1s371ms Apr 19 00 4 5s321ms 1s330ms 01 6 8s54ms 1s342ms 02 1 1s368ms 1s368ms 03 4 5s650ms 1s412ms 04 1 1s294ms 1s294ms 05 6 8s276ms 1s379ms 06 4 5s206ms 1s301ms 07 10 13s153ms 1s315ms 08 2 2s608ms 1s304ms 09 2 2s715ms 1s357ms 11 3 4s49ms 1s349ms 12 2 2s624ms 1s312ms 13 2 2s658ms 1s329ms 14 3 3s734ms 1s244ms 15 7 9s174ms 1s310ms 16 4 5s90ms 1s272ms 17 4 5s159ms 1s289ms 18 2 2s640ms 1s320ms 19 3 3s787ms 1s262ms 20 6 7s770ms 1s295ms 21 4 5s72ms 1s268ms 22 5 7s410ms 1s482ms 23 2 2s779ms 1s389ms [ User: pubeu - Total duration: 3m7s - Times executed: 137 ]
-
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 = '1238691') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1238691') 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: 2025-04-13 21:07:46 Duration: 1s630ms 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 = '1252747') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1252747') 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: 2025-04-14 22:30:42 Duration: 1s619ms 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 = '1230322') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1230322') 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: 2025-04-14 09:13:31 Duration: 1s589ms Bind query: yes
20 11m21s 1 11m21s 11m21s 11m21s 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 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 #20
Day Hour Count Duration Avg duration Apr 19 15 1 11m21s 11m21s -
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 /* 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) = 'R-HSA-2161541' AND tp.pathway_acc_db_cd = 'REACT'))) 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 'CAFFEIC 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)) 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: 2025-04-19 15:17:36 Duration: 11m21s Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 3,202 1h4m19s 1s81ms 2s203ms 1s205ms 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 #1
Day Hour Count Duration Avg duration Apr 13 00 6 7s718ms 1s286ms 01 33 41s565ms 1s259ms 02 21 26s725ms 1s272ms 03 25 31s367ms 1s254ms 04 17 21s420ms 1s260ms 05 12 15s494ms 1s291ms 06 32 40s179ms 1s255ms 07 17 21s445ms 1s261ms 08 11 14s21ms 1s274ms 09 13 16s508ms 1s269ms 10 12 15s267ms 1s272ms 11 2 2s514ms 1s257ms 12 4 4s952ms 1s238ms 13 16 20s296ms 1s268ms 14 17 21s484ms 1s263ms 15 10 12s735ms 1s273ms 16 4 5s38ms 1s259ms 17 33 42s129ms 1s276ms 18 19 24s29ms 1s264ms 19 15 18s701ms 1s246ms 20 8 10s112ms 1s264ms 21 16 20s120ms 1s257ms 22 10 12s721ms 1s272ms 23 8 10s205ms 1s275ms Apr 14 00 12 15s392ms 1s282ms 01 16 20s314ms 1s269ms 02 18 22s906ms 1s272ms 03 5 6s262ms 1s252ms 04 3 3s749ms 1s249ms 05 28 36s517ms 1s304ms 06 30 38s911ms 1s297ms 07 28 37s97ms 1s324ms 08 15 19s633ms 1s308ms 09 20 25s980ms 1s299ms 10 8 10s405ms 1s300ms 11 6 7s880ms 1s313ms 12 9 11s379ms 1s264ms 13 22 28s495ms 1s295ms 14 19 24s622ms 1s295ms 15 19 23s784ms 1s251ms 16 5 6s278ms 1s255ms 17 8 10s13ms 1s251ms 18 17 21s377ms 1s257ms 19 10 12s666ms 1s266ms 20 4 5s172ms 1s293ms 21 15 18s984ms 1s265ms 22 9 11s617ms 1s290ms 23 2 2s480ms 1s240ms Apr 15 05 3 4s62ms 1s354ms 06 8 10s242ms 1s280ms 07 23 29s605ms 1s287ms 08 35 45s274ms 1s293ms 09 15 19s580ms 1s305ms 10 6 7s543ms 1s257ms 11 8 9s996ms 1s249ms 12 21 26s656ms 1s269ms 13 21 26s398ms 1s257ms 14 8 10s82ms 1s260ms 15 11 13s792ms 1s253ms 16 24 30s8ms 1s250ms 17 16 19s774ms 1s235ms 18 31 38s204ms 1s232ms 19 11 14s491ms 1s317ms 20 7 8s211ms 1s173ms 21 26 30s338ms 1s166ms 22 13 15s46ms 1s157ms 23 17 19s651ms 1s155ms Apr 16 00 9 11s431ms 1s270ms 01 12 13s885ms 1s157ms 02 16 18s577ms 1s161ms 03 10 11s595ms 1s159ms 04 13 15s542ms 1s195ms 05 47 55s225ms 1s175ms 06 36 41s821ms 1s161ms 07 14 16s62ms 1s147ms 08 19 22s365ms 1s177ms 09 26 30s216ms 1s162ms 10 23 27s22ms 1s174ms 11 19 21s950ms 1s155ms 12 13 14s704ms 1s131ms 13 19 21s527ms 1s133ms 14 29 33s753ms 1s163ms 15 24 27s586ms 1s149ms 16 12 13s907ms 1s158ms 17 20 22s849ms 1s142ms 18 14 16s29ms 1s144ms 19 17 19s418ms 1s142ms 20 15 17s184ms 1s145ms 21 10 12s429ms 1s242ms 22 18 21s425ms 1s190ms 23 39 46s491ms 1s192ms Apr 17 00 41 48s211ms 1s175ms 01 32 38s208ms 1s194ms 02 22 25s455ms 1s157ms 03 25 29s104ms 1s164ms 04 39 45s252ms 1s160ms 05 38 46s801ms 1s231ms 06 48 55s992ms 1s166ms 07 33 39s543ms 1s198ms 08 23 27s209ms 1s183ms 09 45 53s591ms 1s190ms 10 20 23s346ms 1s167ms 11 14 16s452ms 1s175ms 12 13 15s216ms 1s170ms 13 21 24s634ms 1s173ms 14 20 23s360ms 1s168ms 15 17 19s629ms 1s154ms 16 40 46s144ms 1s153ms 17 29 33s950ms 1s170ms 18 40 46s826ms 1s170ms 19 30 35s4ms 1s166ms 20 19 22s396ms 1s178ms 21 30 35s710ms 1s190ms 22 43 51s988ms 1s209ms 23 60 1m10s 1s180ms Apr 18 00 40 47s142ms 1s178ms 01 19 22s423ms 1s180ms 02 33 38s674ms 1s171ms 03 30 35s319ms 1s177ms 04 45 52s867ms 1s174ms 05 18 21s333ms 1s185ms 06 21 24s266ms 1s155ms 07 18 20s800ms 1s155ms 08 10 11s633ms 1s163ms 09 17 19s838ms 1s166ms 10 15 17s451ms 1s163ms 11 23 26s826ms 1s166ms 12 15 17s353ms 1s156ms 13 8 9s202ms 1s150ms 14 10 11s674ms 1s167ms 15 12 13s969ms 1s164ms 16 8 9s413ms 1s176ms 17 10 11s597ms 1s159ms 18 20 23s443ms 1s172ms 19 12 13s982ms 1s165ms 20 19 22s305ms 1s173ms 21 13 15s271ms 1s174ms 22 18 21s335ms 1s185ms 23 10 11s821ms 1s182ms Apr 19 00 24 28s381ms 1s182ms 01 27 31s911ms 1s181ms 02 21 25s475ms 1s213ms 03 34 41s995ms 1s235ms 04 29 34s908ms 1s203ms 05 29 35s563ms 1s226ms 06 40 47s98ms 1s177ms 07 21 24s815ms 1s181ms 08 18 21s508ms 1s194ms 09 19 22s648ms 1s192ms 11 14 16s984ms 1s213ms 12 19 22s402ms 1s179ms 13 22 26s3ms 1s181ms 14 14 16s480ms 1s177ms 15 29 34s190ms 1s178ms 16 27 31s178ms 1s154ms 17 22 25s520ms 1s160ms 18 19 22s640ms 1s191ms 19 21 24s880ms 1s184ms 20 34 39s917ms 1s174ms 21 28 32s444ms 1s158ms 22 27 33s711ms 1s248ms 23 11 13s526ms 1s229ms [ User: pubeu - Total duration: 18m27s - Times executed: 911 ]
-
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 = '1991784' or receptorTerm.id = '1991784' 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: 2025-04-17 05:46:48 Duration: 2s203ms 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 exposureMarkerTerm.id = '1991784' or receptorTerm.id = '1991784' 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: 2025-04-17 05:46:51 Duration: 2s169ms 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 = '1452041' or receptorTerm.id = '1452041' 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: 2025-04-15 19:57:20 Duration: 2s105ms Database: ctdprd51 User: pubeu Bind query: yes
2 1,372 2h37m20s 1s5ms 50s389ms 6s880ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 13 21 277 29m59s 6s495ms 22 140 17m15s 7s399ms 23 369 45m51s 7s457ms Apr 14 00 434 49m10s 6s798ms 01 151 14m57s 5s946ms Apr 15 19 1 4s993ms 4s993ms [ User: pubeu - Total duration: 34m31s - Times executed: 309 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2091700) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-04-13 23:53:38 Duration: 50s389ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2091700) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-04-14 00:47:39 Duration: 50s385ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2091700) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-04-13 23:41:12 Duration: 50s284ms Bind query: yes
3 721 38m4s 1s1ms 7s463ms 3s168ms 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 #3
Day Hour Count Duration Avg duration Apr 13 00 7 20s197ms 2s885ms 03 7 20s377ms 2s911ms 04 14 40s618ms 2s901ms Apr 14 05 7 20s370ms 2s910ms 06 4 13s379ms 3s344ms 07 10 27s642ms 2s764ms 08 7 20s690ms 2s955ms 09 6 19s231ms 3s205ms 10 8 21s268ms 2s658ms Apr 15 17 2 3s403ms 1s701ms Apr 16 08 3 8s354ms 2s784ms 10 4 9s799ms 2s449ms 11 1 2s174ms 2s174ms 12 2 3s894ms 1s947ms 13 2 6s221ms 3s110ms 14 2 5s258ms 2s629ms 15 2 5s559ms 2s779ms 16 1 2s146ms 2s146ms 18 6 20s982ms 3s497ms 19 1 6s386ms 6s386ms 20 1 2s929ms 2s929ms 21 4 16s700ms 4s175ms 22 5 12s376ms 2s475ms 23 10 30s950ms 3s95ms Apr 17 00 5 19s907ms 3s981ms 01 12 31s178ms 2s598ms 02 8 27s447ms 3s430ms 03 4 16s326ms 4s81ms 04 8 33s54ms 4s131ms 05 9 24s954ms 2s772ms 06 11 35s622ms 3s238ms 07 6 26s33ms 4s338ms 08 9 20s889ms 2s321ms 09 6 17s212ms 2s868ms 10 7 24s302ms 3s471ms 11 4 12s565ms 3s141ms 12 9 29s730ms 3s303ms 13 8 18s307ms 2s288ms 14 6 20s309ms 3s384ms 15 15 39s228ms 2s615ms 16 18 56s929ms 3s162ms 17 10 30s661ms 3s66ms 18 10 32s338ms 3s233ms 19 24 1m13s 3s72ms 20 15 42s177ms 2s811ms 21 11 39s333ms 3s575ms 22 5 12s285ms 2s457ms 23 8 25s240ms 3s155ms Apr 18 00 7 27s568ms 3s938ms 01 13 34s87ms 2s622ms 02 13 41s917ms 3s224ms 03 9 26s949ms 2s994ms 04 6 11s740ms 1s956ms 05 9 22s309ms 2s478ms 06 4 14s6ms 3s501ms 07 8 15s592ms 1s949ms 08 9 33s309ms 3s701ms 09 12 37s15ms 3s84ms 10 10 25s615ms 2s561ms 11 7 28s889ms 4s127ms 12 5 19s108ms 3s821ms 13 3 8s117ms 2s705ms 14 9 27s425ms 3s47ms 15 9 37s859ms 4s206ms 16 8 23s532ms 2s941ms 17 7 24s338ms 3s476ms 18 3 14s703ms 4s901ms 19 9 33s249ms 3s694ms 20 6 22s309ms 3s718ms 21 12 38s925ms 3s243ms 22 8 31s540ms 3s942ms 23 1 2s7ms 2s7ms Apr 19 00 10 28s972ms 2s897ms 01 6 21s401ms 3s566ms 02 8 34s573ms 4s321ms 03 3 6s749ms 2s249ms 04 12 29s496ms 2s458ms 05 5 19s307ms 3s861ms 06 9 32s20ms 3s557ms 07 8 30s91ms 3s761ms 08 5 15s370ms 3s74ms 09 7 21s786ms 3s112ms 10 3 6s167ms 2s55ms 11 2 5s318ms 2s659ms 12 9 26s775ms 2s975ms 13 4 9s527ms 2s381ms 14 17 57s343ms 3s373ms 15 6 22s42ms 3s673ms 16 7 25s591ms 3s655ms 17 10 38s451ms 3s845ms 18 10 39s47ms 3s904ms 19 10 31s370ms 3s137ms 20 5 16s601ms 3s320ms 21 9 38s668ms 4s296ms 22 14 43s804ms 3s128ms 23 11 31s194ms 2s835ms [ User: pubeu - Total duration: 10m10s - Times executed: 194 ]
-
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 = '1407657'))) 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: 2025-04-19 02:22:51 Duration: 7s463ms 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 = '1407657'))) 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: 2025-04-18 15:14:04 Duration: 6s862ms 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 = '1407657'))) 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: 2025-04-18 15:14:04 Duration: 6s841ms Bind query: yes
4 619 26m7s 1s1ms 4s691ms 2s531ms 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 #4
Day Hour Count Duration Avg duration Apr 13 00 8 16s380ms 2s47ms 03 8 16s809ms 2s101ms 04 16 32s834ms 2s52ms Apr 14 05 7 15s802ms 2s257ms 06 4 11s418ms 2s854ms 07 11 21s30ms 1s911ms 08 8 16s678ms 2s84ms 09 7 15s988ms 2s284ms 10 8 16s480ms 2s60ms 19 2 2s851ms 1s425ms Apr 16 07 2 2s109ms 1s54ms 08 1 1s3ms 1s3ms 10 3 9s597ms 3s199ms 11 1 4s459ms 4s459ms 13 2 4s174ms 2s87ms 14 2 6s197ms 3s98ms 15 2 4s189ms 2s94ms 16 1 2s252ms 2s252ms 17 1 2s81ms 2s81ms 18 1 2s188ms 2s188ms 19 4 10s621ms 2s655ms 20 2 6s460ms 3s230ms 21 1 1s426ms 1s426ms 22 2 4s152ms 2s76ms 23 13 35s467ms 2s728ms Apr 17 00 8 20s283ms 2s535ms 01 8 23s212ms 2s901ms 02 4 9s871ms 2s467ms 04 8 24s213ms 3s26ms 05 9 17s683ms 1s964ms 06 6 11s394ms 1s899ms 07 11 28s776ms 2s616ms 08 10 26s803ms 2s680ms 09 3 8s273ms 2s757ms 10 7 12s934ms 1s847ms 11 3 8s596ms 2s865ms 12 9 27s445ms 3s49ms 13 7 25s220ms 3s602ms 14 4 12s391ms 3s97ms 15 17 38s859ms 2s285ms 16 14 36s478ms 2s605ms 17 7 18s830ms 2s690ms 18 4 6s232ms 1s558ms 19 23 58s864ms 2s559ms 20 15 39s164ms 2s610ms 21 5 14s126ms 2s825ms 22 4 13s86ms 3s271ms 23 5 8s811ms 1s762ms Apr 18 00 7 21s558ms 3s79ms 01 6 10s606ms 1s767ms 02 7 14s538ms 2s76ms 03 5 13s339ms 2s667ms 04 4 11s446ms 2s861ms 05 8 23s133ms 2s891ms 06 9 21s971ms 2s441ms 07 2 3s235ms 1s617ms 08 3 9s333ms 3s111ms 09 4 14s811ms 3s702ms 10 1 1s60ms 1s60ms 11 10 23s196ms 2s319ms 12 3 8s543ms 2s847ms 13 4 9s398ms 2s349ms 14 6 13s516ms 2s252ms 15 9 23s957ms 2s661ms 16 5 8s556ms 1s711ms 17 8 23s330ms 2s916ms 18 3 7s434ms 2s478ms 19 6 15s611ms 2s601ms 20 10 32s798ms 3s279ms 21 8 18s519ms 2s314ms 22 9 24s860ms 2s762ms 23 7 22s904ms 3s272ms Apr 19 00 6 15s832ms 2s638ms 01 11 28s957ms 2s632ms 02 7 11s768ms 1s681ms 03 7 23s114ms 3s302ms 04 6 15s309ms 2s551ms 05 10 24s432ms 2s443ms 06 6 18s746ms 3s124ms 07 9 25s49ms 2s783ms 08 9 22s335ms 2s481ms 09 9 17s653ms 1s961ms 11 5 11s717ms 2s343ms 12 5 13s701ms 2s740ms 13 9 26s633ms 2s959ms 14 8 19s693ms 2s461ms 15 7 14s 2s 16 6 20s692ms 3s448ms 17 9 21s171ms 2s352ms 18 6 19s186ms 3s197ms 19 7 17s939ms 2s562ms 20 7 24s854ms 3s550ms 21 6 14s57ms 2s342ms 22 5 15s980ms 3s196ms 23 7 12s497ms 1s785ms [ User: pubeu - Total duration: 6m47s - Times executed: 159 ]
-
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 = '1407657') 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 = '1407657') 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: 2025-04-16 23:34:28 Duration: 4s691ms 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 = '1407657') 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 = '1407657') 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: 2025-04-17 22:42:05 Duration: 4s535ms 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 = '1407657') 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 = '1407657') 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: 2025-04-19 04:13:16 Duration: 4s490ms Bind query: yes
5 512 33m27s 1s 6s857ms 3s920ms 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 #5
Day Hour Count Duration Avg duration Apr 13 00 6 22s924ms 3s820ms 01 1 5s252ms 5s252ms 03 8 29s274ms 3s659ms 04 12 46s263ms 3s855ms 05 6 6s173ms 1s28ms 06 4 12s431ms 3s107ms 09 5 13s440ms 2s688ms 10 3 15s355ms 5s118ms 12 4 12s502ms 3s125ms 16 1 1s36ms 1s36ms 18 2 2s272ms 1s136ms 20 2 2s54ms 1s27ms 22 2 6s291ms 3s145ms Apr 14 00 1 5s917ms 5s917ms 02 1 5s384ms 5s384ms 03 3 15s635ms 5s211ms 04 1 6s206ms 6s206ms 05 14 36s711ms 2s622ms 06 7 21s311ms 3s44ms 07 14 51s781ms 3s698ms 08 12 37s257ms 3s104ms 09 11 24s396ms 2s217ms 10 7 30s406ms 4s343ms 11 3 3s205ms 1s68ms 15 2 2s166ms 1s83ms 16 20 1m51s 5s592ms 17 1 5s575ms 5s575ms 21 1 1s27ms 1s27ms 22 1 5s330ms 5s330ms 23 4 17s368ms 4s342ms Apr 15 05 6 6s233ms 1s38ms 06 1 5s764ms 5s764ms 08 5 5s168ms 1s33ms 09 22 1m59s 5s410ms 10 2 6s357ms 3s178ms 12 2 6s347ms 3s173ms 13 2 10s504ms 5s252ms 14 3 15s654ms 5s218ms 17 1 1s30ms 1s30ms 18 1 1s128ms 1s128ms 19 2 8s538ms 4s269ms 20 2 5s880ms 2s940ms 22 6 28s19ms 4s669ms 23 16 1m20s 5s46ms Apr 16 00 3 11s453ms 3s817ms 01 5 21s287ms 4s257ms 02 11 56s913ms 5s173ms 03 4 15s368ms 3s842ms 04 3 14s287ms 4s762ms 05 7 10s864ms 1s552ms 06 4 20s994ms 5s248ms 07 1 4s593ms 4s593ms 09 5 21s132ms 4s226ms 10 5 12s526ms 2s505ms 11 1 1s10ms 1s10ms 12 1 4s902ms 4s902ms 13 4 15s815ms 3s953ms 14 4 19s490ms 4s872ms 15 1 5s34ms 5s34ms 16 3 14s768ms 4s922ms 17 4 15s377ms 3s844ms 18 1 4s953ms 4s953ms 19 4 19s33ms 4s758ms 20 2 9s379ms 4s689ms 21 1 4s842ms 4s842ms 22 5 20s488ms 4s97ms 23 2 6s120ms 3s60ms Apr 17 00 1 5s280ms 5s280ms 01 3 7s562ms 2s520ms 02 2 5s933ms 2s966ms 04 2 10s219ms 5s109ms 05 9 16s982ms 1s886ms 06 4 12s608ms 3s152ms 07 2 6s121ms 3s60ms 08 1 5s438ms 5s438ms 09 4 20s629ms 5s157ms 10 2 6s198ms 3s99ms 12 2 9s906ms 4s953ms 13 2 10s307ms 5s153ms 14 2 6s317ms 3s158ms 15 12 52s867ms 4s405ms 16 9 37s584ms 4s176ms 17 2 10s188ms 5s94ms 18 3 15s729ms 5s243ms 19 11 47s70ms 4s279ms 20 6 25s508ms 4s251ms 21 2 10s949ms 5s474ms 22 1 1s 1s 23 2 9s664ms 4s832ms Apr 18 00 2 9s964ms 4s982ms 01 6 22s485ms 3s747ms 02 6 26s381ms 4s396ms 03 3 14s388ms 4s796ms 04 1 4s813ms 4s813ms 05 1 4s785ms 4s785ms 06 1 4s639ms 4s639ms 07 1 1s6ms 1s6ms 08 3 10s883ms 3s627ms 09 1 1s61ms 1s61ms 10 2 10s35ms 5s17ms 11 3 14s974ms 4s991ms 12 2 10s335ms 5s167ms 13 1 5s49ms 5s49ms 14 1 5s18ms 5s18ms 15 5 25s525ms 5s105ms 17 1 1s12ms 1s12ms 19 2 10s62ms 5s31ms 20 1 1s1ms 1s1ms 21 8 39s972ms 4s996ms 22 1 4s785ms 4s785ms 23 4 20s210ms 5s52ms Apr 19 00 2 9s939ms 4s969ms 01 1 5s230ms 5s230ms 02 4 22s702ms 5s675ms 03 2 6s289ms 3s144ms 04 6 36s45ms 6s7ms 05 8 16s781ms 2s97ms 06 3 10s595ms 3s531ms 07 2 2s44ms 1s22ms 08 5 26s133ms 5s226ms 09 5 18s476ms 3s695ms 10 1 1s95ms 1s95ms 11 2 2s7ms 1s3ms 12 1 5s524ms 5s524ms 13 2 10s728ms 5s364ms 14 1 5s4ms 5s4ms 15 2 2s217ms 1s108ms 16 1 4s786ms 4s786ms 17 2 9s914ms 4s957ms 19 1 5s285ms 5s285ms 20 3 10s920ms 3s640ms 21 2 7s375ms 3s687ms 22 2 10s513ms 5s256ms 23 3 7s517ms 2s505ms [ User: pubeu - Total duration: 9m48s - Times executed: 143 ]
[ User: qaeu - Total duration: 6s232ms - Times executed: 6 ]
-
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 = '1300299' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-14 08:45:24 Duration: 6s857ms 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 = '1299372' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-19 02:39:42 Duration: 6s808ms 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 = '1390524' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-19 04:17:34 Duration: 6s755ms Bind query: yes
6 511 11m33s 1s187ms 1s630ms 1s358ms 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 #6
Day Hour Count Duration Avg duration Apr 13 00 1 1s453ms 1s453ms 01 8 11s90ms 1s386ms 02 2 2s763ms 1s381ms 03 4 5s555ms 1s388ms 04 4 5s502ms 1s375ms 05 5 7s251ms 1s450ms 06 9 12s506ms 1s389ms 07 4 5s551ms 1s387ms 09 4 5s586ms 1s396ms 10 2 2s843ms 1s421ms 12 2 2s874ms 1s437ms 13 3 4s242ms 1s414ms 14 2 2s800ms 1s400ms 15 2 2s779ms 1s389ms 16 4 5s609ms 1s402ms 17 2 2s972ms 1s486ms 18 4 5s518ms 1s379ms 19 2 2s796ms 1s398ms 20 11 15s430ms 1s402ms 21 2 3s172ms 1s586ms 22 2 2s772ms 1s386ms 23 3 4s387ms 1s462ms Apr 14 00 4 5s657ms 1s414ms 02 2 2s708ms 1s354ms 03 2 2s855ms 1s427ms 05 16 23s58ms 1s441ms 06 9 12s803ms 1s422ms 07 10 14s415ms 1s441ms 08 9 13s369ms 1s485ms 09 4 5s975ms 1s493ms 10 5 7s243ms 1s448ms 11 1 1s575ms 1s575ms 13 6 8s653ms 1s442ms 14 4 5s801ms 1s450ms 15 3 4s164ms 1s388ms 16 2 2s874ms 1s437ms 17 4 5s743ms 1s435ms 19 1 1s444ms 1s444ms 20 2 2s787ms 1s393ms 21 6 8s442ms 1s407ms 22 4 5s958ms 1s489ms Apr 15 05 2 3s66ms 1s533ms 07 4 5s850ms 1s462ms 08 11 15s732ms 1s430ms 12 2 2s806ms 1s403ms 13 2 2s757ms 1s378ms 14 4 5s564ms 1s391ms 15 2 2s720ms 1s360ms 17 4 5s656ms 1s414ms 18 6 8s46ms 1s341ms 19 1 1s420ms 1s420ms 20 1 1s417ms 1s417ms 21 2 2s543ms 1s271ms 23 3 3s749ms 1s249ms Apr 16 00 2 2s618ms 1s309ms 01 6 7s762ms 1s293ms 04 1 1s288ms 1s288ms 05 9 11s875ms 1s319ms 07 3 3s846ms 1s282ms 09 4 5s162ms 1s290ms 10 3 3s925ms 1s308ms 11 3 3s841ms 1s280ms 12 4 5s13ms 1s253ms 13 1 1s264ms 1s264ms 14 6 7s724ms 1s287ms 15 2 2s535ms 1s267ms 16 2 2s531ms 1s265ms 17 4 5s163ms 1s290ms 21 2 2s695ms 1s347ms 22 4 5s138ms 1s284ms 23 10 13s245ms 1s324ms Apr 17 00 12 15s693ms 1s307ms 01 1 1s344ms 1s344ms 02 6 7s692ms 1s282ms 04 4 5s192ms 1s298ms 05 3 3s977ms 1s325ms 06 5 6s536ms 1s307ms 07 4 5s315ms 1s328ms 08 4 5s112ms 1s278ms 09 11 14s492ms 1s317ms 10 6 7s763ms 1s293ms 11 2 2s572ms 1s286ms 12 1 1s326ms 1s326ms 13 1 1s252ms 1s252ms 14 2 2s531ms 1s265ms 15 1 1s250ms 1s250ms 16 2 2s574ms 1s287ms 17 3 3s814ms 1s271ms 18 9 11s619ms 1s291ms 19 2 2s595ms 1s297ms 20 3 3s923ms 1s307ms 21 2 2s521ms 1s260ms 22 9 12s402ms 1s378ms Apr 18 00 3 4s20ms 1s340ms 01 5 6s480ms 1s296ms 02 7 9s208ms 1s315ms 03 3 3s985ms 1s328ms 04 3 3s817ms 1s272ms 05 3 4s108ms 1s369ms 06 3 3s837ms 1s279ms 07 1 1s261ms 1s261ms 09 2 2s637ms 1s318ms 10 1 1s290ms 1s290ms 11 1 1s285ms 1s285ms 13 2 2s472ms 1s236ms 14 1 1s267ms 1s267ms 15 1 1s285ms 1s285ms 17 1 1s374ms 1s374ms 19 1 1s347ms 1s347ms 20 5 6s485ms 1s297ms 23 2 2s743ms 1s371ms Apr 19 00 4 5s321ms 1s330ms 01 6 8s54ms 1s342ms 02 1 1s368ms 1s368ms 03 4 5s650ms 1s412ms 04 1 1s294ms 1s294ms 05 6 8s276ms 1s379ms 06 4 5s206ms 1s301ms 07 10 13s153ms 1s315ms 08 2 2s608ms 1s304ms 09 2 2s715ms 1s357ms 11 3 4s49ms 1s349ms 12 2 2s624ms 1s312ms 13 2 2s658ms 1s329ms 14 3 3s734ms 1s244ms 15 7 9s174ms 1s310ms 16 4 5s90ms 1s272ms 17 4 5s159ms 1s289ms 18 2 2s640ms 1s320ms 19 3 3s787ms 1s262ms 20 6 7s770ms 1s295ms 21 4 5s72ms 1s268ms 22 5 7s410ms 1s482ms 23 2 2s779ms 1s389ms [ User: pubeu - Total duration: 3m7s - Times executed: 137 ]
-
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 = '1238691') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1238691') 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: 2025-04-13 21:07:46 Duration: 1s630ms 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 = '1252747') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1252747') 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: 2025-04-14 22:30:42 Duration: 1s619ms 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 = '1230322') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1230322') 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: 2025-04-14 09:13:31 Duration: 1s589ms Bind query: yes
7 488 12m10s 1s448ms 2s264ms 1s495ms 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 #7
Day Hour Count Duration Avg duration Apr 13 05 2 3s66ms 1s533ms 15 4 6s178ms 1s544ms 21 1 1s531ms 1s531ms Apr 14 00 1 1s544ms 1s544ms 01 1 1s533ms 1s533ms 05 2 3s114ms 1s557ms 06 1 1s558ms 1s558ms 07 1 1s583ms 1s583ms 08 1 1s535ms 1s535ms 09 2 3s183ms 1s591ms 11 2 3s120ms 1s560ms 16 4 6s119ms 1s529ms Apr 15 05 2 3s69ms 1s534ms 08 4 6s284ms 1s571ms 10 2 3s103ms 1s551ms 19 1 2s264ms 2s264ms 20 1 1s605ms 1s605ms 23 1 1s472ms 1s472ms Apr 16 04 1 1s546ms 1s546ms 05 3 4s425ms 1s475ms 07 1 1s481ms 1s481ms 08 4 5s917ms 1s479ms 10 1 1s478ms 1s478ms 11 1 1s683ms 1s683ms 12 1 1s504ms 1s504ms 13 2 3s23ms 1s511ms 16 1 1s509ms 1s509ms 17 2 2s960ms 1s480ms 18 1 1s451ms 1s451ms 19 5 7s320ms 1s464ms 20 5 7s359ms 1s471ms 21 1 1s467ms 1s467ms 22 1 1s457ms 1s457ms 23 9 13s445ms 1s493ms Apr 17 00 6 8s866ms 1s477ms 01 3 4s480ms 1s493ms 02 3 4s431ms 1s477ms 03 3 4s476ms 1s492ms 04 7 10s387ms 1s483ms 05 9 13s417ms 1s490ms 06 7 10s374ms 1s482ms 07 7 10s780ms 1s540ms 08 9 13s334ms 1s481ms 09 7 10s690ms 1s527ms 10 3 4s464ms 1s488ms 11 6 8s975ms 1s495ms 12 5 7s423ms 1s484ms 13 5 7s405ms 1s481ms 14 7 10s440ms 1s491ms 15 9 13s545ms 1s505ms 16 4 5s936ms 1s484ms 17 8 11s914ms 1s489ms 18 5 7s431ms 1s486ms 19 7 10s425ms 1s489ms 20 7 10s396ms 1s485ms 21 12 18s66ms 1s505ms 22 4 5s926ms 1s481ms 23 5 7s430ms 1s486ms Apr 18 00 9 13s416ms 1s490ms 01 5 7s500ms 1s500ms 02 4 5s932ms 1s483ms 03 5 7s474ms 1s494ms 04 13 19s366ms 1s489ms 05 6 8s959ms 1s493ms 06 3 4s452ms 1s484ms 07 4 5s982ms 1s495ms 08 8 12s96ms 1s512ms 09 4 5s888ms 1s472ms 10 4 5s939ms 1s484ms 11 6 8s870ms 1s478ms 12 8 11s972ms 1s496ms 14 3 4s426ms 1s475ms 15 8 11s776ms 1s472ms 16 9 13s370ms 1s485ms 17 11 16s412ms 1s492ms 18 4 5s967ms 1s491ms 19 7 10s378ms 1s482ms 20 3 4s506ms 1s502ms 21 6 8s886ms 1s481ms 22 3 4s418ms 1s472ms 23 6 8s957ms 1s492ms Apr 19 00 4 5s921ms 1s480ms 01 5 7s420ms 1s484ms 02 7 10s500ms 1s500ms 03 6 9s22ms 1s503ms 04 4 5s988ms 1s497ms 05 6 9s32ms 1s505ms 06 3 4s421ms 1s473ms 07 8 11s864ms 1s483ms 08 4 6s48ms 1s512ms 09 11 16s481ms 1s498ms 11 3 4s491ms 1s497ms 12 9 13s336ms 1s481ms 13 5 7s421ms 1s484ms 14 7 10s386ms 1s483ms 15 5 7s433ms 1s486ms 16 9 13s298ms 1s477ms 17 8 11s869ms 1s483ms 18 6 8s994ms 1s499ms 19 6 8s946ms 1s491ms 20 1 1s479ms 1s479ms 21 2 2s931ms 1s465ms 22 2 2s930ms 1s465ms 23 8 11s918ms 1s489ms [ User: pubeu - Total duration: 3m50s - Times executed: 154 ]
[ User: qaeu - Total duration: 1s484ms - Times executed: 1 ]
-
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: 2025-04-15 19:57:21 Duration: 2s264ms 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: 2025-04-16 11:09:51 Duration: 1s683ms 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: 2025-04-17 07:00:13 Duration: 1s676ms Database: ctdprd51 User: pubeu Bind query: yes
8 408 9m14s 1s207ms 1s667ms 1s359ms 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 Apr 13 01 1 1s407ms 1s407ms 02 8 11s193ms 1s399ms 05 6 8s774ms 1s462ms 06 2 2s857ms 1s428ms 07 2 2s691ms 1s345ms 09 2 2s824ms 1s412ms 13 4 5s743ms 1s435ms 14 1 1s436ms 1s436ms 15 3 4s121ms 1s373ms 16 1 1s439ms 1s439ms 17 2 2s781ms 1s390ms 18 3 4s281ms 1s427ms 19 1 1s388ms 1s388ms 21 1 1s337ms 1s337ms 22 3 4s165ms 1s388ms 23 2 3s26ms 1s513ms Apr 14 00 2 2s881ms 1s440ms 02 2 2s868ms 1s434ms 03 3 4s165ms 1s388ms 04 3 4s330ms 1s443ms 05 4 6s83ms 1s520ms 06 9 13s303ms 1s478ms 07 6 8s654ms 1s442ms 08 1 1s564ms 1s564ms 09 13 19s17ms 1s462ms 10 2 2s954ms 1s477ms 11 1 1s588ms 1s588ms 12 4 5s832ms 1s458ms 13 1 1s526ms 1s526ms 14 2 2s816ms 1s408ms 17 1 1s362ms 1s362ms 18 2 3s90ms 1s545ms 19 1 1s367ms 1s367ms 21 4 5s656ms 1s414ms 22 1 1s431ms 1s431ms Apr 15 05 2 3s123ms 1s561ms 06 3 4s347ms 1s449ms 07 3 4s377ms 1s459ms 08 6 8s799ms 1s466ms 09 7 9s931ms 1s418ms 10 2 2s815ms 1s407ms 11 2 2s741ms 1s370ms 13 2 2s768ms 1s384ms 14 4 5s609ms 1s402ms 15 1 1s380ms 1s380ms 17 3 4s187ms 1s395ms 18 2 2s643ms 1s321ms 19 1 1s433ms 1s433ms 20 1 1s467ms 1s467ms 21 4 5s162ms 1s290ms 23 2 2s691ms 1s345ms Apr 16 01 2 2s508ms 1s254ms 03 1 1s316ms 1s316ms 04 2 2s846ms 1s423ms 05 2 2s846ms 1s423ms 06 4 5s288ms 1s322ms 07 1 1s339ms 1s339ms 08 1 1s364ms 1s364ms 09 5 6s529ms 1s305ms 10 4 5s63ms 1s265ms 12 2 2s588ms 1s294ms 13 1 1s223ms 1s223ms 14 2 2s700ms 1s350ms 15 2 2s519ms 1s259ms 16 2 2s429ms 1s214ms 17 6 7s749ms 1s291ms 20 2 2s605ms 1s302ms 21 1 1s207ms 1s207ms 23 2 2s651ms 1s325ms Apr 17 00 6 7s861ms 1s310ms 01 1 1s288ms 1s288ms 02 5 6s563ms 1s312ms 03 4 5s92ms 1s273ms 04 4 5s62ms 1s265ms 05 4 5s363ms 1s340ms 06 6 7s697ms 1s282ms 07 4 5s261ms 1s315ms 08 2 2s676ms 1s338ms 09 1 1s307ms 1s307ms 10 4 5s187ms 1s296ms 11 2 2s502ms 1s251ms 12 3 3s941ms 1s313ms 13 2 2s721ms 1s360ms 14 2 2s641ms 1s320ms 16 5 6s376ms 1s275ms 17 4 5s468ms 1s367ms 19 2 2s623ms 1s311ms 20 7 9s83ms 1s297ms 21 5 6s672ms 1s334ms 22 6 8s144ms 1s357ms 23 6 7s887ms 1s314ms Apr 18 00 2 2s639ms 1s319ms 01 7 9s35ms 1s290ms 02 4 5s325ms 1s331ms 03 3 3s936ms 1s312ms 04 2 2s650ms 1s325ms 05 5 7s140ms 1s428ms 07 1 1s336ms 1s336ms 08 5 6s446ms 1s289ms 09 1 1s287ms 1s287ms 10 2 2s586ms 1s293ms 11 3 3s905ms 1s301ms 12 1 1s329ms 1s329ms 13 1 1s329ms 1s329ms 14 3 3s893ms 1s297ms 15 3 3s765ms 1s255ms 16 2 2s614ms 1s307ms 17 1 1s328ms 1s328ms 18 1 1s303ms 1s303ms 19 2 2s560ms 1s280ms 20 2 2s592ms 1s296ms 22 4 5s260ms 1s315ms 23 3 4s236ms 1s412ms Apr 19 01 2 2s640ms 1s320ms 02 2 2s635ms 1s317ms 03 3 4s78ms 1s359ms 04 7 9s515ms 1s359ms 05 4 5s629ms 1s407ms 06 1 1s223ms 1s223ms 07 3 3s848ms 1s282ms 08 5 6s684ms 1s336ms 09 1 1s304ms 1s304ms 11 3 4s33ms 1s344ms 12 1 1s276ms 1s276ms 13 6 8s31ms 1s338ms 14 1 1s269ms 1s269ms 15 7 9s308ms 1s329ms 16 3 3s762ms 1s254ms 17 2 2s561ms 1s280ms 18 1 1s338ms 1s338ms 19 4 5s499ms 1s374ms 20 7 9s162ms 1s308ms 21 8 10s577ms 1s322ms 22 1 1s388ms 1s388ms 23 2 2s872ms 1s436ms [ User: pubeu - Total duration: 2m42s - Times executed: 119 ]
[ User: qaeu - Total duration: 1s467ms - Times executed: 1 ]
-
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 = '2092335') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2092335') 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: 2025-04-14 09:07:17 Duration: 1s667ms 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 = '2092335') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2092335') 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: 2025-04-14 09:13:34 Duration: 1s641ms 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 = '2092335') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2092335') 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: 2025-04-14 07:51:33 Duration: 1s608ms Bind query: yes
9 391 2h57m41s 1s2ms 33m57s 27s268ms 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 #9
Day Hour Count Duration Avg duration Apr 13 00 3 37s23ms 12s341ms 01 1 7s597ms 7s597ms 06 1 2s996ms 2s996ms 07 12 37s184ms 3s98ms 08 2 6s462ms 3s231ms 09 5 12s85ms 2s417ms 10 11 38s312ms 3s482ms 11 17 1m 3s536ms 13 1 2s677ms 2s677ms 16 1 3s410ms 3s410ms 21 17 19s735ms 1s160ms 22 7 38s35ms 5s433ms 23 13 41s990ms 3s230ms Apr 14 01 1 2s564ms 2s564ms 04 4 10s643ms 2s660ms 05 1 7s424ms 7s424ms 06 10 2m20s 14s44ms 07 27 2m36s 5s811ms 08 5 1m50s 22s134ms 09 6 4m 40s77ms 11 25 47s833ms 1s913ms 12 5 13s24ms 2s604ms 14 1 1s94ms 1s94ms 16 1 3s341ms 3s341ms 19 1 3s347ms 3s347ms 23 8 4m23s 32s958ms Apr 15 00 2 1h7m13s 33m36s 06 1 1s632ms 1s632ms 07 12 9m3s 45s317ms 08 10 1m33s 9s307ms 09 25 52s214ms 2s88ms 11 6 14s594ms 2s432ms 12 3 6s980ms 2s326ms 15 2 8s590ms 4s295ms 21 3 6s654ms 2s218ms Apr 16 01 1 7s591ms 7s591ms 02 5 7s232ms 1s446ms 03 1 1s59ms 1s59ms 09 13 57s783ms 4s444ms 10 3 9s945ms 3s315ms 11 3 3s584ms 1s194ms 13 1 2s857ms 2s857ms 19 1 7s121ms 7s121ms 21 2 4s170ms 2s85ms 22 1 1s59ms 1s59ms 23 2 2s845ms 1s422ms Apr 17 01 6 44s545ms 7s424ms 02 1 2s5ms 2s5ms 03 2 5s47ms 2s523ms 04 1 1s44ms 1s44ms 06 2 48s705ms 24s352ms 07 6 1m32s 15s457ms 08 2 5s99ms 2s549ms 12 2 5s839ms 2s919ms 13 1 2s983ms 2s983ms 20 6 26s895ms 4s482ms 21 36 2m41s 4s484ms 22 7 28s95ms 4s13ms 23 1 3s187ms 3s187ms Apr 18 00 1 3s820ms 3s820ms 05 1 3s464ms 3s464ms 08 1 1s935ms 1s935ms 14 1 3s816ms 3s816ms 20 1 1s113ms 1s113ms 23 7 19s177ms 2s739ms Apr 19 02 2 15s205ms 7s602ms 05 3 4s707ms 1s569ms 06 1 1s523ms 1s523ms 09 10 5m38s 33s866ms 10 2 1h42s 30m21s 14 1 16s58ms 16s58ms 15 3 5s96ms 1s698ms 16 1 1s685ms 1s685ms [ User: pubeu - Total duration: 2h37m43s - Times executed: 192 ]
-
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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-15 00:02:34 Duration: 33m57s 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 = '2101776') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-15 00:02:30 Duration: 33m16s 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 = '2095468') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-19 10:21:54 Duration: 30m21s Database: ctdprd51 User: pubeu Bind query: yes
10 376 25m22s 3s638ms 10s738ms 4s50ms 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 #10
Day Hour Count Duration Avg duration Apr 13 00 3 12s221ms 4s73ms 02 2 8s156ms 4s78ms 03 2 7s916ms 3s958ms 04 1 4s33ms 4s33ms 06 3 12s254ms 4s84ms 07 4 17s203ms 4s300ms 08 1 4s204ms 4s204ms 09 1 3s910ms 3s910ms 10 2 8s709ms 4s354ms 12 4 16s568ms 4s142ms 13 3 11s991ms 3s997ms 16 2 8s169ms 4s84ms 22 2 8s371ms 4s185ms 23 1 4s158ms 4s158ms Apr 14 00 4 17s66ms 4s266ms 01 3 12s307ms 4s102ms 02 3 12s168ms 4s56ms 03 2 8s259ms 4s129ms 04 2 8s222ms 4s111ms 05 2 8s116ms 4s58ms 06 1 4s128ms 4s128ms 09 2 8s149ms 4s74ms 10 3 12s513ms 4s171ms 12 3 12s225ms 4s75ms 13 1 3s956ms 3s956ms 14 1 3s962ms 3s962ms 15 5 20s291ms 4s58ms 18 5 20s788ms 4s157ms 19 1 4s215ms 4s215ms 21 1 4s12ms 4s12ms 22 5 20s788ms 4s157ms Apr 15 05 2 8s316ms 4s158ms 06 2 8s36ms 4s18ms 07 4 17s222ms 4s305ms 08 5 22s91ms 4s418ms 09 14 1m1s 4s405ms 10 1 3s896ms 3s896ms 11 1 4s77ms 4s77ms 12 1 4s280ms 4s280ms 13 3 12s199ms 4s66ms 14 2 8s344ms 4s172ms 15 3 12s541ms 4s180ms 16 2 8s19ms 4s9ms 17 1 3s968ms 3s968ms 18 2 7s983ms 3s991ms 19 2 8s247ms 4s123ms 20 1 3s936ms 3s936ms 21 4 16s9ms 4s2ms 22 14 55s320ms 3s951ms 23 9 36s117ms 4s13ms Apr 16 00 2 14s592ms 7s296ms 01 3 12s328ms 4s109ms 02 8 32s668ms 4s83ms 03 4 15s485ms 3s871ms 04 4 16s350ms 4s87ms 05 5 18s968ms 3s793ms 06 2 9s383ms 4s691ms 07 7 26s777ms 3s825ms 08 5 19s621ms 3s924ms 09 3 11s778ms 3s926ms 11 1 3s982ms 3s982ms 13 3 11s993ms 3s997ms 14 2 7s971ms 3s985ms 15 1 3s994ms 3s994ms 16 4 15s857ms 3s964ms 18 5 19s649ms 3s929ms 19 3 12s361ms 4s120ms 20 2 8s167ms 4s83ms 22 1 4s58ms 4s58ms Apr 17 01 8 31s301ms 3s912ms 02 13 50s133ms 3s856ms 03 8 31s142ms 3s892ms 04 9 35s40ms 3s893ms 05 34 2m12s 3s905ms 07 10 41s678ms 4s167ms 08 2 7s951ms 3s975ms 09 3 12s407ms 4s135ms 11 1 3s840ms 3s840ms 12 6 24s603ms 4s100ms 13 2 7s978ms 3s989ms 14 6 23s448ms 3s908ms 15 1 3s891ms 3s891ms 16 2 7s784ms 3s892ms 19 1 3s881ms 3s881ms 20 4 18s640ms 4s660ms 21 1 4s157ms 4s157ms 23 1 3s871ms 3s871ms Apr 18 00 1 3s954ms 3s954ms 02 4 16s166ms 4s41ms 03 4 15s888ms 3s972ms 04 3 11s706ms 3s902ms 07 1 3s829ms 3s829ms 09 2 7s958ms 3s979ms 10 1 3s841ms 3s841ms 11 6 23s629ms 3s938ms 12 1 3s863ms 3s863ms 15 2 7s716ms 3s858ms 16 2 7s703ms 3s851ms 18 4 15s759ms 3s939ms 19 2 7s799ms 3s899ms 22 2 8s159ms 4s79ms 23 1 3s826ms 3s826ms Apr 19 01 2 7s891ms 3s945ms 02 1 3s901ms 3s901ms 04 2 8s400ms 4s200ms 08 2 7s813ms 3s906ms 11 1 4s96ms 4s96ms 14 1 3s819ms 3s819ms 15 3 11s473ms 3s824ms 22 3 11s803ms 3s934ms [ User: pubeu - Total duration: 9m27s - Times executed: 138 ]
-
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 = '1348114') 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 = '1348114') 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: 2025-04-16 00:16:51 Duration: 10s738ms Database: ctdprd51 User: pubeu 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 = '1436913') 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 = '1436913') 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: 2025-04-17 20:17:41 Duration: 5s492ms 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 = '1275629') 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 = '1275629') 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: 2025-04-15 09:16:39 Duration: 5s414ms Database: ctdprd51 User: pubeu Bind query: yes
11 334 33m52s 1s13ms 25s359ms 6s83ms 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 #11
Day Hour Count Duration Avg duration Apr 13 01 1 10s537ms 10s537ms 05 1 17s865ms 17s865ms 06 1 17s399ms 17s399ms 16 1 5s495ms 5s495ms Apr 14 01 1 1s784ms 1s784ms 08 1 10s523ms 10s523ms Apr 15 06 2 7s455ms 3s727ms 09 1 7s996ms 7s996ms 12 1 10s675ms 10s675ms 15 1 1s46ms 1s46ms 19 2 2s549ms 1s274ms 20 1 1s49ms 1s49ms 22 1 1s530ms 1s530ms Apr 16 01 1 1s354ms 1s354ms 03 3 1m5s 21s839ms 06 1 1s55ms 1s55ms 10 5 9s675ms 1s935ms 12 2 3s39ms 1s519ms 13 1 1s387ms 1s387ms 14 1 17s389ms 17s389ms 15 2 35s843ms 17s921ms 17 3 20s81ms 6s693ms 18 1 10s164ms 10s164ms 19 3 4s558ms 1s519ms 20 2 23s198ms 11s599ms 21 2 8s683ms 4s341ms 23 6 48s315ms 8s52ms Apr 17 00 4 16s431ms 4s107ms 01 11 1m9s 6s339ms 02 3 5s621ms 1s873ms 03 2 2s780ms 1s390ms 04 5 31s363ms 6s272ms 05 9 28s226ms 3s136ms 06 4 25s383ms 6s345ms 07 5 46s934ms 9s386ms 08 3 5s521ms 1s840ms 09 2 4s288ms 2s144ms 10 2 43s227ms 21s613ms 11 2 22s95ms 11s47ms 12 7 1m8s 9s836ms 14 5 45s110ms 9s22ms 15 2 9s503ms 4s751ms 16 7 52s990ms 7s570ms 17 4 26s95ms 6s523ms 18 7 30s621ms 4s374ms 19 2 7s894ms 3s947ms 20 6 46s80ms 7s680ms 21 6 41s289ms 6s881ms 22 8 43s66ms 5s383ms 23 8 34s10ms 4s251ms Apr 18 00 8 50s445ms 6s305ms 01 5 57s781ms 11s556ms 02 2 2s160ms 1s80ms 03 9 32s234ms 3s581ms 04 4 25s700ms 6s425ms 05 2 11s460ms 5s730ms 06 1 3s93ms 3s93ms 07 2 2s603ms 1s301ms 08 2 4s553ms 2s276ms 09 3 4s62ms 1s354ms 10 2 2s226ms 1s113ms 11 2 5s161ms 2s580ms 12 5 35s951ms 7s190ms 13 2 4s627ms 2s313ms 14 4 40s57ms 10s14ms 15 6 30s222ms 5s37ms 16 2 4s461ms 2s230ms 18 8 53s477ms 6s684ms 19 4 30s203ms 7s550ms 20 4 30s227ms 7s556ms 21 3 7s594ms 2s531ms 22 3 39s168ms 13s56ms 23 10 29s414ms 2s941ms Apr 19 00 4 5s131ms 1s282ms 01 2 4s278ms 2s139ms 02 4 41s880ms 10s470ms 03 1 3s1ms 3s1ms 04 4 15s593ms 3s898ms 05 3 5s403ms 1s801ms 06 5 27s825ms 5s565ms 07 5 10s404ms 2s80ms 08 3 6s693ms 2s231ms 09 5 20s544ms 4s108ms 11 1 21s249ms 21s249ms 12 5 8s450ms 1s690ms 13 3 24s196ms 8s65ms 14 1 1s27ms 1s27ms 15 2 18s729ms 9s364ms 16 3 24s443ms 8s147ms 17 3 21s635ms 7s211ms 18 7 50s456ms 7s208ms 19 2 23s637ms 11s818ms 20 1 22s128ms 22s128ms 21 7 1m13s 10s502ms 22 4 10s290ms 2s572ms 23 4 31s285ms 7s821ms [ User: pubeu - Total duration: 8m56s - Times executed: 113 ]
-
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 = '1230319') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-17 01:10:47 Duration: 25s359ms 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 = '1230319') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-19 21:08:03 Duration: 22s832ms 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 = '1230319') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-16 23:56:02 Duration: 22s523ms Bind query: yes
12 300 19m2s 1s2ms 12s782ms 3s806ms 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 #12
Day Hour Count Duration Avg duration Apr 13 00 1 10s910ms 10s910ms 01 3 33s294ms 11s98ms 06 2 6s477ms 3s238ms 07 2 6s517ms 3s258ms 10 3 3s854ms 1s284ms 11 1 1s251ms 1s251ms 14 1 1s294ms 1s294ms 20 1 1s623ms 1s623ms 22 10 58s472ms 5s847ms 23 1 1s463ms 1s463ms Apr 14 00 1 1s559ms 1s559ms 02 1 5s430ms 5s430ms 04 1 1s190ms 1s190ms 05 1 1s280ms 1s280ms 06 3 22s835ms 7s611ms 07 3 3s137ms 1s45ms 08 2 23s595ms 11s797ms 09 9 59s927ms 6s658ms 10 1 1s391ms 1s391ms 13 4 39s249ms 9s812ms 14 1 1s257ms 1s257ms 16 1 3s84ms 3s84ms 19 1 1s100ms 1s100ms 21 1 1s279ms 1s279ms 23 6 1m5s 10s985ms Apr 15 07 4 9s454ms 2s363ms 08 2 4s53ms 2s26ms 09 2 2s76ms 1s38ms 10 5 13s800ms 2s760ms 12 3 22s547ms 7s515ms 14 1 10s555ms 10s555ms 20 2 4s189ms 2s94ms 21 2 7s388ms 3s694ms 22 2 4s412ms 2s206ms 23 1 4s821ms 4s821ms Apr 16 01 1 2s490ms 2s490ms 06 2 5s885ms 2s942ms 07 1 1s296ms 1s296ms 09 5 7s656ms 1s531ms 10 2 12s383ms 6s191ms 11 1 1s568ms 1s568ms 13 1 1s31ms 1s31ms 14 1 2s221ms 2s221ms 15 2 5s223ms 2s611ms 16 1 1s505ms 1s505ms 17 1 1s143ms 1s143ms 19 1 1s33ms 1s33ms 20 1 1s759ms 1s759ms 21 3 8s439ms 2s813ms 22 1 5s379ms 5s379ms 23 1 4s523ms 4s523ms Apr 17 01 5 27s369ms 5s473ms 02 1 6s62ms 6s62ms 03 4 17s55ms 4s263ms 04 4 8s719ms 2s179ms 05 4 9s656ms 2s414ms 06 6 19s409ms 3s234ms 07 5 25s432ms 5s86ms 08 3 8s288ms 2s762ms 09 3 8s798ms 2s932ms 10 1 5s193ms 5s193ms 11 1 1s355ms 1s355ms 12 6 17s312ms 2s885ms 13 5 10s432ms 2s86ms 14 2 6s544ms 3s272ms 15 3 10s95ms 3s365ms 16 4 12s522ms 3s130ms 17 1 1s720ms 1s720ms 18 2 2s956ms 1s478ms 19 1 1s359ms 1s359ms 20 4 11s65ms 2s766ms 21 12 34s63ms 2s838ms 22 7 15s546ms 2s220ms 23 1 2s768ms 2s768ms Apr 18 00 2 5s754ms 2s877ms 01 2 2s823ms 1s411ms 02 1 3s12ms 3s12ms 03 1 2s760ms 2s760ms 04 1 4s901ms 4s901ms 05 2 4s464ms 2s232ms 06 3 8s791ms 2s930ms 07 1 1s914ms 1s914ms 08 4 6s254ms 1s563ms 09 3 11s318ms 3s772ms 10 2 2s303ms 1s151ms 11 3 16s538ms 5s512ms 12 1 2s982ms 2s982ms 14 3 9s697ms 3s232ms 15 3 18s7ms 6s2ms 16 2 12s872ms 6s436ms 18 2 3s936ms 1s968ms 20 3 11s797ms 3s932ms 21 3 16s617ms 5s539ms 23 3 9s632ms 3s210ms Apr 19 00 3 12s83ms 4s27ms 01 4 7s306ms 1s826ms 02 2 6s633ms 3s316ms 03 2 5s300ms 2s650ms 04 2 2s818ms 1s409ms 05 1 10s596ms 10s596ms 06 3 6s96ms 2s32ms 07 5 26s498ms 5s299ms 08 4 6s49ms 1s512ms 09 11 41s794ms 3s799ms 12 3 17s533ms 5s844ms 13 4 6s593ms 1s648ms 15 4 23s681ms 5s920ms 16 1 5s92ms 5s92ms 17 1 10s406ms 10s406ms 18 1 1s201ms 1s201ms 19 1 2s344ms 2s344ms 20 2 8s652ms 4s326ms 21 2 3s907ms 1s953ms 22 2 10s681ms 5s340ms 23 2 2s412ms 1s206ms [ User: pubeu - Total duration: 7m3s - Times executed: 115 ]
[ User: qaeu - Total duration: 2s811ms - Times executed: 1 ]
-
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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 09:05:47 Duration: 12s782ms 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 09:05:45 Duration: 12s316ms 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 09:06:00 Duration: 12s69ms Bind query: yes
13 291 7m55s 1s236ms 2s92ms 1s633ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 13 00 2 3s173ms 1s586ms 03 2 3s162ms 1s581ms 04 4 6s442ms 1s610ms 05 2 3s762ms 1s881ms 08 1 1s303ms 1s303ms 11 1 1s846ms 1s846ms 18 1 1s857ms 1s857ms Apr 14 05 2 3s132ms 1s566ms 06 1 1s848ms 1s848ms 07 3 4s440ms 1s480ms 08 2 3s114ms 1s557ms 09 2 3s105ms 1s552ms 10 2 3s146ms 1s573ms Apr 15 10 1 1s841ms 1s841ms Apr 16 08 2 3s105ms 1s552ms 09 1 1s849ms 1s849ms 10 2 3s662ms 1s831ms 13 2 3s117ms 1s558ms 15 2 3s118ms 1s559ms 16 1 1s863ms 1s863ms 20 1 1s852ms 1s852ms 21 3 4s992ms 1s664ms 22 2 3s143ms 1s571ms 23 3 5s503ms 1s834ms Apr 17 00 3 5s16ms 1s672ms 01 7 11s822ms 1s688ms 02 3 5s9ms 1s669ms 03 1 1s870ms 1s870ms 04 3 3s827ms 1s275ms 05 2 3s363ms 1s681ms 06 4 6s225ms 1s556ms 07 2 3s175ms 1s587ms 08 1 1s261ms 1s261ms 09 3 4s610ms 1s536ms 10 3 5s540ms 1s846ms 11 3 4s945ms 1s648ms 12 4 6s241ms 1s560ms 13 5 7s520ms 1s504ms 14 1 1s265ms 1s265ms 15 7 11s854ms 1s693ms 16 5 8s715ms 1s743ms 17 3 5s575ms 1s858ms 18 4 6s853ms 1s713ms 19 8 13s641ms 1s705ms 20 3 5s73ms 1s691ms 21 2 3s202ms 1s601ms 22 3 4s506ms 1s502ms 23 5 8s170ms 1s634ms Apr 18 00 4 6s274ms 1s568ms 01 6 8s846ms 1s474ms 02 2 3s117ms 1s558ms 03 4 7s353ms 1s838ms 04 5 6s928ms 1s385ms 05 2 3s97ms 1s548ms 06 6 9s911ms 1s651ms 07 4 5s121ms 1s280ms 08 3 4s391ms 1s463ms 09 3 4s956ms 1s652ms 10 1 1s288ms 1s288ms 11 2 3s673ms 1s836ms 12 5 8s123ms 1s624ms 13 2 3s144ms 1s572ms 14 3 3s815ms 1s271ms 15 3 5s34ms 1s678ms 16 2 3s669ms 1s834ms 17 7 11s264ms 1s609ms 18 1 1s840ms 1s840ms 19 2 3s760ms 1s880ms 20 5 7s602ms 1s520ms 21 2 3s164ms 1s582ms 22 4 6s825ms 1s706ms 23 2 3s152ms 1s576ms Apr 19 00 4 5s665ms 1s416ms 01 6 8s794ms 1s465ms 02 5 8s814ms 1s762ms 03 4 7s364ms 1s841ms 04 4 6s386ms 1s596ms 06 2 3s692ms 1s846ms 07 5 9s503ms 1s900ms 08 1 1s871ms 1s871ms 09 3 4s451ms 1s483ms 10 1 2s53ms 2s53ms 11 2 3s687ms 1s843ms 12 1 1s862ms 1s862ms 13 2 3s696ms 1s848ms 14 6 10s567ms 1s761ms 15 7 11s844ms 1s692ms 16 4 6s265ms 1s566ms 17 7 11s147ms 1s592ms 18 2 3s111ms 1s555ms 19 6 10s120ms 1s686ms 20 3 5s558ms 1s852ms 21 1 1s272ms 1s272ms 22 3 4s397ms 1s465ms 23 2 3s197ms 1s598ms [ User: pubeu - Total duration: 2m49s - Times executed: 102 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-19 03:52:17 Duration: 2s92ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-13 04:49:13 Duration: 2s61ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1407657') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-04-19 10:50:24 Duration: 2s53ms Database: ctdprd51 User: pubeu Bind query: yes
14 279 6h55m46s 1s395ms 19m32s 1m29s 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 #14
Day Hour Count Duration Avg duration Apr 14 11 2 4s3ms 2s1ms 19 1 1s711ms 1s711ms 20 2 4s743ms 2s371ms Apr 16 00 6 27m1s 4m30s 11 1 1s499ms 1s499ms 13 2 3m7s 1m33s 14 3 7m9s 2m23s 15 1 1s746ms 1s746ms 16 1 2s261ms 2s261ms 17 2 5m13s 2m36s 18 6 4m40s 46s824ms 19 1 11m37s 11m37s 21 7 12m49s 1m49s 23 5 13s959ms 2s791ms Apr 17 00 3 5s43ms 1s681ms 01 3 6s690ms 2s230ms 02 2 3s155ms 1s577ms 03 5 3m41s 44s274ms 04 3 3m19s 1m6s 05 5 17m4s 3m24s 06 2 3s290ms 1s645ms 07 8 9m5s 1m8s 08 4 7m18s 1m49s 09 5 1m40s 20s172ms 10 3 5s821ms 1s940ms 11 5 9s59ms 1s811ms 12 5 39m14s 7m50s 13 3 6s329ms 2s109ms 14 1 3s81ms 3s81ms 15 3 5s291ms 1s763ms 16 2 3m33s 1m46s 17 4 8m29s 2m7s 18 1 3s130ms 3s130ms 19 3 9m11s 3m3s 21 1 4m14s 4m14s 22 4 5m8s 1m17s 23 5 8s583ms 1s716ms Apr 18 00 3 6s406ms 2s135ms 01 5 8s390ms 1s678ms 02 2 1m57s 58s617ms 03 2 8m44s 4m22s 04 3 4m25s 1m28s 05 3 4m33s 1m31s 06 1 1s995ms 1s995ms 07 2 3s794ms 1s897ms 08 3 6s400ms 2s133ms 10 5 17m33s 3m30s 11 3 5s63ms 1s687ms 12 3 6m19s 2m6s 13 1 1s809ms 1s809ms 14 4 13m8s 3m17s 15 3 5s588ms 1s862ms 16 2 3s739ms 1s869ms 17 7 10m26s 1m29s 18 5 21m11s 4m14s 19 3 9m48s 3m16s 20 2 3s618ms 1s809ms 21 7 14m5s 2m 22 3 3m21s 1m7s 23 5 10m42s 2m8s Apr 19 00 2 3s168ms 1s584ms 01 2 22m47s 11m23s 03 4 19m37s 4m54s 04 4 3m37s 54s309ms 05 5 4m23s 52s678ms 06 3 5s453ms 1s817ms 07 8 9m44s 1m13s 08 5 7m9s 1m25s 09 7 16s775ms 2s396ms 11 1 1s607ms 1s607ms 12 2 3s239ms 1s619ms 13 3 3m22s 1m7s 14 1 3s164ms 3s164ms 15 4 11m9s 2m47s 16 2 3m10s 1m35s 17 6 3m29s 34s955ms 18 2 3s60ms 1s530ms 19 3 6s440ms 2s146ms 20 7 13m54s 1m59s 21 6 12s269ms 2s44ms 22 2 3s391ms 1s695ms 23 3 5s261ms 1s753ms [ User: pubeu - Total duration: 2h32m26s - Times executed: 91 ]
-
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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-19 03:13:10 Duration: 19m32s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-19 01:52:58 Duration: 18m23s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-17 12:40:47 Duration: 17m59s Database: ctdprd51 User: pubeu Bind query: yes
15 244 9m55s 1s2ms 6s521ms 2s439ms 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 #15
Day Hour Count Duration Avg duration Apr 13 16 1 2s777ms 2s777ms Apr 14 03 1 2s792ms 2s792ms 22 1 5s925ms 5s925ms Apr 15 14 1 2s177ms 2s177ms 16 1 1s72ms 1s72ms 18 1 1s10ms 1s10ms 19 2 3s852ms 1s926ms 20 1 3s629ms 3s629ms Apr 16 03 1 1s243ms 1s243ms 07 1 2s765ms 2s765ms 09 1 2s156ms 2s156ms 10 4 7s217ms 1s804ms 12 1 1s232ms 1s232ms 13 2 3s137ms 1s568ms 16 1 1s532ms 1s532ms 17 5 10s341ms 2s68ms 19 1 5s777ms 5s777ms 20 2 2s965ms 1s482ms 21 1 2s344ms 2s344ms 22 1 1s589ms 1s589ms 23 5 18s480ms 3s696ms Apr 17 00 3 5s384ms 1s794ms 01 4 11s743ms 2s935ms 02 1 3s525ms 3s525ms 03 4 8s516ms 2s129ms 04 2 4s402ms 2s201ms 05 3 7s221ms 2s407ms 06 4 8s811ms 2s202ms 07 2 7s513ms 3s756ms 08 7 14s920ms 2s131ms 09 2 3s515ms 1s757ms 10 2 4s202ms 2s101ms 11 1 1s221ms 1s221ms 12 7 21s342ms 3s48ms 13 5 10s747ms 2s149ms 14 2 8s38ms 4s19ms 15 2 3s855ms 1s927ms 16 3 9s220ms 3s73ms 17 6 13s688ms 2s281ms 18 2 3s522ms 1s761ms 19 4 8s668ms 2s167ms 20 2 7s620ms 3s810ms 21 4 9s6ms 2s251ms 22 1 2s660ms 2s660ms 23 1 2s777ms 2s777ms Apr 18 00 4 8s23ms 2s5ms 01 4 9s349ms 2s337ms 02 2 4s239ms 2s119ms 03 4 15s466ms 3s866ms 04 3 5s777ms 1s925ms 05 2 4s206ms 2s103ms 06 6 10s944ms 1s824ms 07 1 2s112ms 2s112ms 08 5 10s134ms 2s26ms 09 1 2s798ms 2s798ms 10 1 5s941ms 5s941ms 11 5 13s45ms 2s609ms 14 3 5s223ms 1s741ms 15 3 9s663ms 3s221ms 16 1 1s586ms 1s586ms 17 6 15s454ms 2s575ms 18 2 4s296ms 2s148ms 19 1 2s70ms 2s70ms 20 2 4s436ms 2s218ms 21 2 4s424ms 2s212ms 22 7 17s136ms 2s448ms 23 3 4s727ms 1s575ms Apr 19 00 5 13s898ms 2s779ms 01 5 13s546ms 2s709ms 02 2 8s621ms 4s310ms 03 2 4s664ms 2s332ms 04 4 8s239ms 2s59ms 05 3 7s419ms 2s473ms 06 1 1s279ms 1s279ms 07 2 4s455ms 2s227ms 08 3 5s515ms 1s838ms 09 3 6s632ms 2s210ms 12 5 8s446ms 1s689ms 13 8 19s466ms 2s433ms 14 1 2s89ms 2s89ms 15 2 10s50ms 5s25ms 16 2 2s862ms 1s431ms 17 3 3s599ms 1s199ms 18 1 1s26ms 1s26ms 19 3 10s943ms 3s647ms 20 3 12s687ms 4s229ms 21 2 4s316ms 2s158ms 22 3 10s617ms 3s539ms 23 4 7s758ms 1s939ms [ User: pubeu - Total duration: 2m31s - 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 = '659068' 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 = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-19 02:56:40 Duration: 6s521ms 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 = '659068' 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 = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-19 15:59:07 Duration: 6s258ms 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 = '659068' 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 = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-17 07:42:47 Duration: 6s79ms Bind query: yes
16 204 4m30s 1s1ms 4s675ms 1s326ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (g.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm_sort, "DirectEvidence", c.nm;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 14 14 4 5s152ms 1s288ms 15 3 3s553ms 1s184ms Apr 15 06 2 2s391ms 1s195ms 11 2 2s465ms 1s232ms 15 2 2s372ms 1s186ms 19 5 8s900ms 1s780ms 20 16 37s311ms 2s331ms 21 4 5s141ms 1s285ms Apr 16 01 2 2s384ms 1s192ms 02 154 3m8s 1s227ms 03 7 8s211ms 1s173ms Apr 17 08 1 1s508ms 1s508ms 09 2 2s127ms 1s63ms [ User: pubeu - Total duration: 1m21s - Times executed: 66 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'fos' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (g.id = 1467648) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm_sort, "DirectEvidence", c.nm;
Date: 2025-04-15 20:39:40 Duration: 4s675ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'cxcl8' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (g.id = 1452026) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm_sort, "DirectEvidence", c.nm;
Date: 2025-04-15 20:39:48 Duration: 4s91ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'ahr' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (g.id = 2071780) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm_sort, "DirectEvidence", c.nm;
Date: 2025-04-15 19:57:16 Duration: 3s810ms Bind query: yes
17 203 18m32s 1s14ms 19s507ms 5s480ms 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 #17
Day Hour Count Duration Avg duration Apr 13 06 1 4s77ms 4s77ms 18 2 2s135ms 1s67ms Apr 14 09 1 4s124ms 4s124ms Apr 15 21 3 51s745ms 17s248ms 22 1 1s72ms 1s72ms Apr 16 02 1 2s552ms 2s552ms 10 1 4s460ms 4s460ms 11 2 13s10ms 6s505ms 12 3 22s337ms 7s445ms 14 3 7s32ms 2s344ms 20 1 1s14ms 1s14ms 21 2 18s767ms 9s383ms 22 1 2s328ms 2s328ms 23 2 6s686ms 3s343ms Apr 17 00 1 2s466ms 2s466ms 01 2 12s107ms 6s53ms 02 2 21s503ms 10s751ms 03 2 2s819ms 1s409ms 04 2 6s191ms 3s95ms 05 5 29s366ms 5s873ms 06 1 5s457ms 5s457ms 07 4 11s599ms 2s899ms 08 7 23s433ms 3s347ms 09 1 1s309ms 1s309ms 10 4 31s190ms 7s797ms 11 1 4s521ms 4s521ms 13 2 5s662ms 2s831ms 14 2 3s827ms 1s913ms 15 3 19s480ms 6s493ms 16 4 10s882ms 2s720ms 17 7 42s234ms 6s33ms 18 2 2s418ms 1s209ms 19 3 10s377ms 3s459ms 21 4 16s347ms 4s86ms 22 1 4s488ms 4s488ms 23 2 12s814ms 6s407ms Apr 18 00 3 16s358ms 5s452ms 01 3 29s577ms 9s859ms 02 3 21s857ms 7s285ms 03 3 25s951ms 8s650ms 04 2 7s467ms 3s733ms 05 2 5s746ms 2s873ms 06 2 2s609ms 1s304ms 08 5 55s959ms 11s191ms 09 2 2s440ms 1s220ms 10 1 5s858ms 5s858ms 11 3 8s508ms 2s836ms 12 1 5s522ms 5s522ms 14 2 20s773ms 10s386ms 15 2 32s901ms 16s450ms 16 2 21s585ms 10s792ms 17 2 2s406ms 1s203ms 18 4 22s787ms 5s696ms 19 2 13s371ms 6s685ms 20 2 17s285ms 8s642ms 21 5 13s631ms 2s726ms 22 3 8s103ms 2s701ms 23 2 6s563ms 3s281ms Apr 19 00 4 7s59ms 1s764ms 01 5 44s688ms 8s937ms 02 1 11s660ms 11s660ms 03 4 11s280ms 2s820ms 04 3 9s597ms 3s199ms 05 3 19s695ms 6s565ms 06 2 3s716ms 1s858ms 07 5 10s511ms 2s102ms 08 2 7s6ms 3s503ms 09 2 5s875ms 2s937ms 12 1 1s316ms 1s316ms 13 4 21s898ms 5s474ms 14 2 4s595ms 2s297ms 15 3 22s57ms 7s352ms 16 1 4s469ms 4s469ms 17 3 9s390ms 3s130ms 18 4 27s794ms 6s948ms 19 1 5s583ms 5s583ms 20 1 16s408ms 16s408ms 21 2 29s120ms 14s560ms 22 5 25s711ms 5s142ms 23 3 44s71ms 14s690ms [ User: pubeu - Total duration: 5m3s - Times executed: 54 ]
-
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 = '1230319'))) 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: 2025-04-15 21:33:55 Duration: 19s507ms 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 = '1230319'))) 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: 2025-04-19 21:32:50 Duration: 18s114ms 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 = '1230319'))) 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: 2025-04-19 05:32:03 Duration: 17s346ms Bind query: yes
18 190 4m31s 1s261ms 2s674ms 1s430ms 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 #18
Day Hour Count Duration Avg duration Apr 13 05 2 2s753ms 1s376ms 09 1 1s358ms 1s358ms 13 1 1s376ms 1s376ms 22 3 4s276ms 1s425ms 23 1 1s424ms 1s424ms Apr 14 03 2 2s917ms 1s458ms 04 1 1s395ms 1s395ms 05 2 2s915ms 1s457ms 06 1 1s503ms 1s503ms 07 3 4s293ms 1s431ms 08 1 1s577ms 1s577ms 09 3 4s480ms 1s493ms 11 1 1s560ms 1s560ms 13 1 1s570ms 1s570ms 15 1 1s385ms 1s385ms 19 2 2s957ms 1s478ms 20 1 1s414ms 1s414ms Apr 15 05 2 2s733ms 1s366ms 07 2 2s899ms 1s449ms 08 7 10s297ms 1s471ms 09 1 1s410ms 1s410ms 10 1 1s382ms 1s382ms 12 4 5s710ms 1s427ms 13 1 1s461ms 1s461ms 14 3 4s356ms 1s452ms 15 1 1s466ms 1s466ms 16 1 1s418ms 1s418ms 19 1 2s674ms 2s674ms 20 1 1s357ms 1s357ms 23 3 4s146ms 1s382ms Apr 16 02 4 5s727ms 1s431ms 03 2 2s651ms 1s325ms 05 4 5s580ms 1s395ms 09 4 5s693ms 1s423ms 10 2 2s733ms 1s366ms 21 1 1s261ms 1s261ms 22 1 1s317ms 1s317ms Apr 17 01 1 1s405ms 1s405ms 04 1 1s406ms 1s406ms 05 2 2s884ms 1s442ms 08 1 1s381ms 1s381ms 09 4 5s792ms 1s448ms 17 1 1s343ms 1s343ms 22 2 2s774ms 1s387ms 23 5 6s765ms 1s353ms Apr 18 02 2 2s790ms 1s395ms 03 7 9s485ms 1s355ms 04 1 1s352ms 1s352ms 05 2 2s771ms 1s385ms 06 3 4s257ms 1s419ms 08 1 1s377ms 1s377ms 10 1 1s359ms 1s359ms 11 1 1s365ms 1s365ms 15 18 26s681ms 1s482ms 16 6 8s623ms 1s437ms 17 5 7s588ms 1s517ms 18 4 5s479ms 1s369ms 19 2 2s699ms 1s349ms 20 1 1s373ms 1s373ms 22 4 5s476ms 1s369ms 23 1 1s407ms 1s407ms Apr 19 00 1 1s385ms 1s385ms 01 1 1s378ms 1s378ms 02 1 1s485ms 1s485ms 03 1 1s522ms 1s522ms 04 1 1s408ms 1s408ms 05 16 23s652ms 1s478ms 06 1 1s380ms 1s380ms 07 1 1s395ms 1s395ms 08 1 1s397ms 1s397ms 09 2 2s785ms 1s392ms 11 2 2s909ms 1s454ms 13 1 1s389ms 1s389ms 14 2 2s669ms 1s334ms 16 1 1s343ms 1s343ms 17 2 2s724ms 1s362ms 18 2 2s805ms 1s402ms 20 1 1s497ms 1s497ms 21 1 1s280ms 1s280ms 22 2 2s720ms 1s360ms 23 1 1s289ms 1s289ms [ User: pubeu - Total duration: 1m24s - Times executed: 58 ]
-
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: 2025-04-15 19:53:18 Duration: 2s674ms Database: ctdprd51 User: pubeu 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: 2025-04-18 15:56:09 Duration: 1s778ms Database: ctdprd51 User: pubeu 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: 2025-04-18 15:56:09 Duration: 1s775ms Bind query: yes
19 131 5m22s 1s2ms 4s421ms 2s460ms 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 #19
Day Hour Count Duration Avg duration Apr 13 05 4 8s871ms 2s217ms 21 5 12s710ms 2s542ms Apr 14 00 1 2s35ms 2s35ms 05 4 9s127ms 2s281ms 06 2 4s641ms 2s320ms 07 2 4s603ms 2s301ms 08 2 4s748ms 2s374ms 09 4 9s565ms 2s391ms 11 2 4s536ms 2s268ms 12 2 4s178ms 2s89ms 13 5 10s708ms 2s141ms 18 1 1s915ms 1s915ms 21 3 10s266ms 3s422ms Apr 15 05 4 9s172ms 2s293ms 08 5 13s123ms 2s624ms 15 1 2s86ms 2s86ms 19 3 6s920ms 2s306ms Apr 16 01 1 1s871ms 1s871ms 05 4 8s803ms 2s200ms 06 1 3s380ms 3s380ms 08 1 2s6ms 2s6ms 11 2 4s496ms 2s248ms 15 1 2s758ms 2s758ms 17 1 3s188ms 3s188ms 21 1 2s463ms 2s463ms 22 2 5s265ms 2s632ms 23 1 2s399ms 2s399ms Apr 17 05 5 10s943ms 2s188ms 08 2 4s75ms 2s37ms 09 2 6s576ms 3s288ms 11 1 3s312ms 3s312ms 12 1 3s271ms 3s271ms 13 2 4s184ms 2s92ms 20 2 5s46ms 2s523ms 22 2 4s744ms 2s372ms Apr 18 00 1 3s326ms 3s326ms 02 3 9s151ms 3s50ms 03 1 3s245ms 3s245ms 05 4 8s885ms 2s221ms 06 1 1s983ms 1s983ms 08 2 5s839ms 2s919ms 09 1 1s913ms 1s913ms 11 2 4s396ms 2s198ms 12 1 3s265ms 3s265ms 17 1 1s954ms 1s954ms 18 3 8s267ms 2s755ms 19 1 3s264ms 3s264ms 21 1 2s441ms 2s441ms Apr 19 03 2 5s534ms 2s767ms 04 2 6s906ms 3s453ms 05 5 10s779ms 2s155ms 08 1 1s915ms 1s915ms 09 1 1s857ms 1s857ms 11 2 4s579ms 2s289ms 12 1 3s335ms 3s335ms 16 1 1s864ms 1s864ms 17 2 4s714ms 2s357ms 18 1 3s436ms 3s436ms 19 2 6s292ms 3s146ms 20 5 10s637ms 2s127ms 21 2 4s500ms 2s250ms [ User: pubeu - Total duration: 2m4s - Times executed: 44 ]
[ User: qaeu - Total duration: 27s370ms - Times executed: 8 ]
-
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 = '597697' 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: 2025-04-15 19:52:54 Duration: 4s421ms 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 = '659068' 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 <= 4 ORDER BY sn.path;
Date: 2025-04-15 08:30:50 Duration: 3s682ms 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 = '597697' 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: 2025-04-14 08:23:42 Duration: 3s658ms Database: ctdprd51 User: pubeu Bind query: yes
20 75 3m14s 1s2ms 12s45ms 2s589ms 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 #20
Day Hour Count Duration Avg duration Apr 13 00 1 2s209ms 2s209ms 01 1 2s695ms 2s695ms 03 2 2s257ms 1s128ms 06 3 11s220ms 3s740ms 07 2 3s98ms 1s549ms 11 1 1s345ms 1s345ms 12 1 2s277ms 2s277ms 14 2 2s869ms 1s434ms 20 1 2s737ms 2s737ms 23 1 1s969ms 1s969ms Apr 14 01 1 1s461ms 1s461ms 05 1 1s285ms 1s285ms 06 2 2s48ms 1s24ms 07 4 8s760ms 2s190ms 09 4 8s889ms 2s222ms 11 1 1s635ms 1s635ms 19 1 2s735ms 2s735ms 23 1 12s45ms 12s45ms Apr 15 07 1 7s257ms 7s257ms 08 1 7s6ms 7s6ms 11 2 4s261ms 2s130ms 12 3 9s88ms 3s29ms 13 2 3s460ms 1s730ms 23 2 4s522ms 2s261ms Apr 16 09 2 2s171ms 1s85ms 10 6 7s255ms 1s209ms Apr 17 01 1 1s413ms 1s413ms 05 1 1s335ms 1s335ms 13 1 6s870ms 6s870ms 15 2 2s531ms 1s265ms 20 2 2s231ms 1s115ms Apr 18 02 1 1s262ms 1s262ms 05 2 2s679ms 1s339ms 06 1 1s250ms 1s250ms 09 1 1s543ms 1s543ms 11 1 1s413ms 1s413ms 18 1 1s306ms 1s306ms 20 1 1s434ms 1s434ms 23 1 6s903ms 6s903ms Apr 19 01 1 6s907ms 6s907ms 08 2 5s176ms 2s588ms 09 5 25s582ms 5s116ms 11 1 6s345ms 6s345ms 18 1 1s492ms 1s492ms [ User: pubeu - Total duration: 1m15s - Times executed: 22 ]
-
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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2025-04-14 23:20:07 Duration: 12s45ms 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2025-04-19 09:01:14 Duration: 9s938ms 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 = '2100721') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 968850;
Date: 2025-04-15 07:23:12 Duration: 7s257ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 25m1s 25m1s 25m1s 1 25m1s 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 Apr 19 19 1 25m1s 25m1s -
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: 2025-04-19 19:02:11 Duration: 25m1s
2 24m38s 24m38s 24m38s 1 24m38s 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 Apr 19 19 1 24m38s 24m38s -
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: 2025-04-19 19:46:01 Duration: 24m38s
3 11m21s 11m21s 11m21s 1 11m21s 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 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 #3
Day Hour Count Duration Avg duration Apr 19 15 1 11m21s 11m21s -
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 /* 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) = 'R-HSA-2161541' AND tp.pathway_acc_db_cd = 'REACT'))) 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 'CAFFEIC 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)) 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: 2025-04-19 15:17:36 Duration: 11m21s Bind query: yes
4 4m38s 4m44s 4m41s 7 32m51s select maint_query_logs_archive ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 13 00 1 4m42s 4m42s Apr 14 00 1 4m41s 4m41s Apr 15 00 1 4m38s 4m38s Apr 16 00 1 4m44s 4m44s Apr 17 00 1 4m40s 4m40s Apr 18 00 1 4m42s 4m42s Apr 19 00 1 4m42s 4m42s -
/* * 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: 2025-04-16 00:04:45 Duration: 4m44s
-
/* * 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: 2025-04-13 00:04:44 Duration: 4m42s
-
/* * 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: 2025-04-19 00:04:44 Duration: 4m42s
5 1s395ms 19m32s 1m29s 279 6h55m46s 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 #5
Day Hour Count Duration Avg duration Apr 14 11 2 4s3ms 2s1ms 19 1 1s711ms 1s711ms 20 2 4s743ms 2s371ms Apr 16 00 6 27m1s 4m30s 11 1 1s499ms 1s499ms 13 2 3m7s 1m33s 14 3 7m9s 2m23s 15 1 1s746ms 1s746ms 16 1 2s261ms 2s261ms 17 2 5m13s 2m36s 18 6 4m40s 46s824ms 19 1 11m37s 11m37s 21 7 12m49s 1m49s 23 5 13s959ms 2s791ms Apr 17 00 3 5s43ms 1s681ms 01 3 6s690ms 2s230ms 02 2 3s155ms 1s577ms 03 5 3m41s 44s274ms 04 3 3m19s 1m6s 05 5 17m4s 3m24s 06 2 3s290ms 1s645ms 07 8 9m5s 1m8s 08 4 7m18s 1m49s 09 5 1m40s 20s172ms 10 3 5s821ms 1s940ms 11 5 9s59ms 1s811ms 12 5 39m14s 7m50s 13 3 6s329ms 2s109ms 14 1 3s81ms 3s81ms 15 3 5s291ms 1s763ms 16 2 3m33s 1m46s 17 4 8m29s 2m7s 18 1 3s130ms 3s130ms 19 3 9m11s 3m3s 21 1 4m14s 4m14s 22 4 5m8s 1m17s 23 5 8s583ms 1s716ms Apr 18 00 3 6s406ms 2s135ms 01 5 8s390ms 1s678ms 02 2 1m57s 58s617ms 03 2 8m44s 4m22s 04 3 4m25s 1m28s 05 3 4m33s 1m31s 06 1 1s995ms 1s995ms 07 2 3s794ms 1s897ms 08 3 6s400ms 2s133ms 10 5 17m33s 3m30s 11 3 5s63ms 1s687ms 12 3 6m19s 2m6s 13 1 1s809ms 1s809ms 14 4 13m8s 3m17s 15 3 5s588ms 1s862ms 16 2 3s739ms 1s869ms 17 7 10m26s 1m29s 18 5 21m11s 4m14s 19 3 9m48s 3m16s 20 2 3s618ms 1s809ms 21 7 14m5s 2m 22 3 3m21s 1m7s 23 5 10m42s 2m8s Apr 19 00 2 3s168ms 1s584ms 01 2 22m47s 11m23s 03 4 19m37s 4m54s 04 4 3m37s 54s309ms 05 5 4m23s 52s678ms 06 3 5s453ms 1s817ms 07 8 9m44s 1m13s 08 5 7m9s 1m25s 09 7 16s775ms 2s396ms 11 1 1s607ms 1s607ms 12 2 3s239ms 1s619ms 13 3 3m22s 1m7s 14 1 3s164ms 3s164ms 15 4 11m9s 2m47s 16 2 3m10s 1m35s 17 6 3m29s 34s955ms 18 2 3s60ms 1s530ms 19 3 6s440ms 2s146ms 20 7 13m54s 1m59s 21 6 12s269ms 2s44ms 22 2 3s391ms 1s695ms 23 3 5s261ms 1s753ms [ User: pubeu - Total duration: 2h32m26s - Times executed: 91 ]
-
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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-19 03:13:10 Duration: 19m32s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-19 01:52:58 Duration: 18m23s 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 = '1254131') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-17 12:40:47 Duration: 17m59s Database: ctdprd51 User: pubeu Bind query: yes
6 50s712ms 51s463ms 51s46ms 25 21m16s 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 #6
Day Hour Count Duration Avg duration Apr 13 06 1 50s897ms 50s897ms 10 1 51s209ms 51s209ms 14 1 50s912ms 50s912ms 18 1 50s924ms 50s924ms Apr 14 06 1 51s463ms 51s463ms 10 1 50s956ms 50s956ms 14 1 50s965ms 50s965ms 18 1 50s832ms 50s832ms Apr 15 06 1 51s390ms 51s390ms 10 1 50s712ms 50s712ms 14 1 50s941ms 50s941ms 18 1 50s788ms 50s788ms Apr 16 06 1 50s929ms 50s929ms 10 1 50s933ms 50s933ms 14 1 51s26ms 51s26ms 18 1 50s987ms 50s987ms Apr 17 06 1 51s319ms 51s319ms 10 1 51s8ms 51s8ms 14 1 51s411ms 51s411ms 18 1 51s282ms 51s282ms Apr 18 06 1 50s942ms 50s942ms 10 1 51s285ms 51s285ms 14 1 51s192ms 51s192ms 18 1 51s79ms 51s79ms Apr 19 20 1 50s771ms 50s771ms [ User: postgres - Total duration: 20m25s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 20m25s - 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: 2025-04-14 06:05:53 Duration: 51s463ms 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: 2025-04-17 14:05:53 Duration: 51s411ms 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: 2025-04-15 06:05:52 Duration: 51s390ms Database: ctdprd51 User: postgres Application: pg_dump
7 2s93ms 1m13s 41s40ms 20 13m40s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 14 18 1 47s305ms 47s305ms 19 1 44s547ms 44s547ms 20 2 1m38s 49s71ms Apr 15 09 2 1m6s 33s410ms 10 1 33s132ms 33s132ms 13 2 1m27s 43s937ms 20 3 3m38s 1m12s Apr 16 11 1 42s559ms 42s559ms 20 1 2s93ms 2s93ms Apr 18 03 1 26s989ms 26s989ms 13 1 2s121ms 2s121ms 16 1 19s469ms 19s469ms Apr 19 01 1 57s465ms 57s465ms 05 1 47s457ms 47s457ms 21 1 26s528ms 26s528ms [ User: pubeu - Total duration: 5m50s - Times executed: 8 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1352091')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-15 20:33:56 Duration: 1m13s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1352091')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-15 20:34:10 Duration: 1m12s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1352091')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-04-15 20:33:40 Duration: 1m12s Bind query: yes
8 1s2ms 33m57s 27s268ms 391 2h57m41s 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 #8
Day Hour Count Duration Avg duration Apr 13 00 3 37s23ms 12s341ms 01 1 7s597ms 7s597ms 06 1 2s996ms 2s996ms 07 12 37s184ms 3s98ms 08 2 6s462ms 3s231ms 09 5 12s85ms 2s417ms 10 11 38s312ms 3s482ms 11 17 1m 3s536ms 13 1 2s677ms 2s677ms 16 1 3s410ms 3s410ms 21 17 19s735ms 1s160ms 22 7 38s35ms 5s433ms 23 13 41s990ms 3s230ms Apr 14 01 1 2s564ms 2s564ms 04 4 10s643ms 2s660ms 05 1 7s424ms 7s424ms 06 10 2m20s 14s44ms 07 27 2m36s 5s811ms 08 5 1m50s 22s134ms 09 6 4m 40s77ms 11 25 47s833ms 1s913ms 12 5 13s24ms 2s604ms 14 1 1s94ms 1s94ms 16 1 3s341ms 3s341ms 19 1 3s347ms 3s347ms 23 8 4m23s 32s958ms Apr 15 00 2 1h7m13s 33m36s 06 1 1s632ms 1s632ms 07 12 9m3s 45s317ms 08 10 1m33s 9s307ms 09 25 52s214ms 2s88ms 11 6 14s594ms 2s432ms 12 3 6s980ms 2s326ms 15 2 8s590ms 4s295ms 21 3 6s654ms 2s218ms Apr 16 01 1 7s591ms 7s591ms 02 5 7s232ms 1s446ms 03 1 1s59ms 1s59ms 09 13 57s783ms 4s444ms 10 3 9s945ms 3s315ms 11 3 3s584ms 1s194ms 13 1 2s857ms 2s857ms 19 1 7s121ms 7s121ms 21 2 4s170ms 2s85ms 22 1 1s59ms 1s59ms 23 2 2s845ms 1s422ms Apr 17 01 6 44s545ms 7s424ms 02 1 2s5ms 2s5ms 03 2 5s47ms 2s523ms 04 1 1s44ms 1s44ms 06 2 48s705ms 24s352ms 07 6 1m32s 15s457ms 08 2 5s99ms 2s549ms 12 2 5s839ms 2s919ms 13 1 2s983ms 2s983ms 20 6 26s895ms 4s482ms 21 36 2m41s 4s484ms 22 7 28s95ms 4s13ms 23 1 3s187ms 3s187ms Apr 18 00 1 3s820ms 3s820ms 05 1 3s464ms 3s464ms 08 1 1s935ms 1s935ms 14 1 3s816ms 3s816ms 20 1 1s113ms 1s113ms 23 7 19s177ms 2s739ms Apr 19 02 2 15s205ms 7s602ms 05 3 4s707ms 1s569ms 06 1 1s523ms 1s523ms 09 10 5m38s 33s866ms 10 2 1h42s 30m21s 14 1 16s58ms 16s58ms 15 3 5s96ms 1s698ms 16 1 1s685ms 1s685ms [ User: pubeu - Total duration: 2h37m43s - Times executed: 192 ]
-
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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-15 00:02:34 Duration: 33m57s 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 = '2101776') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-15 00:02:30 Duration: 33m16s 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 = '2095468') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-19 10:21:54 Duration: 30m21s Database: ctdprd51 User: pubeu Bind query: yes
9 1s129ms 16s799ms 14s210ms 62 14m41s 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 g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 13 11 1 15s464ms 15s464ms 13 1 15s305ms 15s305ms 14 1 15s532ms 15s532ms 17 2 6s706ms 3s353ms 18 5 1m18s 15s791ms 20 3 46s839ms 15s613ms Apr 14 01 3 46s388ms 15s462ms 02 2 31s714ms 15s857ms 05 1 15s807ms 15s807ms 08 4 1m2s 15s585ms 18 3 46s573ms 15s524ms Apr 15 10 1 15s539ms 15s539ms 19 1 15s696ms 15s696ms Apr 16 05 1 16s20ms 16s20ms 06 5 1m14s 14s990ms 07 1 14s717ms 14s717ms 09 1 14s901ms 14s901ms 14 2 2s303ms 1s151ms Apr 17 00 2 2s330ms 1s165ms 16 1 16s320ms 16s320ms 17 3 47s112ms 15s704ms 22 1 15s518ms 15s518ms Apr 18 00 1 15s100ms 15s100ms Apr 19 07 1 15s179ms 15s179ms 12 1 15s980ms 15s980ms 16 4 1m3s 15s954ms 20 1 16s159ms 16s159ms 22 3 46s11ms 15s337ms 23 6 1m31s 15s292ms [ User: pubeu - Total duration: 6m4s - Times executed: 25 ]
-
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 = '2099357') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-19 16:13:51 Duration: 16s799ms 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 = '2097155') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 08:49:40 Duration: 16s477ms 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 = '2095989') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 02:09:29 Duration: 16s466ms Database: ctdprd51 User: pubeu Bind query: yes
10 1s5ms 50s389ms 6s880ms 1,372 2h37m20s select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 13 21 277 29m59s 6s495ms 22 140 17m15s 7s399ms 23 369 45m51s 7s457ms Apr 14 00 434 49m10s 6s798ms 01 151 14m57s 5s946ms Apr 15 19 1 4s993ms 4s993ms [ User: pubeu - Total duration: 34m31s - Times executed: 309 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2091700) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-04-13 23:53:38 Duration: 50s389ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2091700) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-04-14 00:47:39 Duration: 50s385ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2091700) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-04-13 23:41:12 Duration: 50s284ms Bind query: yes
11 1s13ms 25s359ms 6s83ms 334 33m52s 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 #11
Day Hour Count Duration Avg duration Apr 13 01 1 10s537ms 10s537ms 05 1 17s865ms 17s865ms 06 1 17s399ms 17s399ms 16 1 5s495ms 5s495ms Apr 14 01 1 1s784ms 1s784ms 08 1 10s523ms 10s523ms Apr 15 06 2 7s455ms 3s727ms 09 1 7s996ms 7s996ms 12 1 10s675ms 10s675ms 15 1 1s46ms 1s46ms 19 2 2s549ms 1s274ms 20 1 1s49ms 1s49ms 22 1 1s530ms 1s530ms Apr 16 01 1 1s354ms 1s354ms 03 3 1m5s 21s839ms 06 1 1s55ms 1s55ms 10 5 9s675ms 1s935ms 12 2 3s39ms 1s519ms 13 1 1s387ms 1s387ms 14 1 17s389ms 17s389ms 15 2 35s843ms 17s921ms 17 3 20s81ms 6s693ms 18 1 10s164ms 10s164ms 19 3 4s558ms 1s519ms 20 2 23s198ms 11s599ms 21 2 8s683ms 4s341ms 23 6 48s315ms 8s52ms Apr 17 00 4 16s431ms 4s107ms 01 11 1m9s 6s339ms 02 3 5s621ms 1s873ms 03 2 2s780ms 1s390ms 04 5 31s363ms 6s272ms 05 9 28s226ms 3s136ms 06 4 25s383ms 6s345ms 07 5 46s934ms 9s386ms 08 3 5s521ms 1s840ms 09 2 4s288ms 2s144ms 10 2 43s227ms 21s613ms 11 2 22s95ms 11s47ms 12 7 1m8s 9s836ms 14 5 45s110ms 9s22ms 15 2 9s503ms 4s751ms 16 7 52s990ms 7s570ms 17 4 26s95ms 6s523ms 18 7 30s621ms 4s374ms 19 2 7s894ms 3s947ms 20 6 46s80ms 7s680ms 21 6 41s289ms 6s881ms 22 8 43s66ms 5s383ms 23 8 34s10ms 4s251ms Apr 18 00 8 50s445ms 6s305ms 01 5 57s781ms 11s556ms 02 2 2s160ms 1s80ms 03 9 32s234ms 3s581ms 04 4 25s700ms 6s425ms 05 2 11s460ms 5s730ms 06 1 3s93ms 3s93ms 07 2 2s603ms 1s301ms 08 2 4s553ms 2s276ms 09 3 4s62ms 1s354ms 10 2 2s226ms 1s113ms 11 2 5s161ms 2s580ms 12 5 35s951ms 7s190ms 13 2 4s627ms 2s313ms 14 4 40s57ms 10s14ms 15 6 30s222ms 5s37ms 16 2 4s461ms 2s230ms 18 8 53s477ms 6s684ms 19 4 30s203ms 7s550ms 20 4 30s227ms 7s556ms 21 3 7s594ms 2s531ms 22 3 39s168ms 13s56ms 23 10 29s414ms 2s941ms Apr 19 00 4 5s131ms 1s282ms 01 2 4s278ms 2s139ms 02 4 41s880ms 10s470ms 03 1 3s1ms 3s1ms 04 4 15s593ms 3s898ms 05 3 5s403ms 1s801ms 06 5 27s825ms 5s565ms 07 5 10s404ms 2s80ms 08 3 6s693ms 2s231ms 09 5 20s544ms 4s108ms 11 1 21s249ms 21s249ms 12 5 8s450ms 1s690ms 13 3 24s196ms 8s65ms 14 1 1s27ms 1s27ms 15 2 18s729ms 9s364ms 16 3 24s443ms 8s147ms 17 3 21s635ms 7s211ms 18 7 50s456ms 7s208ms 19 2 23s637ms 11s818ms 20 1 22s128ms 22s128ms 21 7 1m13s 10s502ms 22 4 10s290ms 2s572ms 23 4 31s285ms 7s821ms [ User: pubeu - Total duration: 8m56s - Times executed: 113 ]
-
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 = '1230319') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-17 01:10:47 Duration: 25s359ms 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 = '1230319') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-19 21:08:03 Duration: 22s832ms 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 = '1230319') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-04-16 23:56:02 Duration: 22s523ms Bind query: yes
12 1s14ms 19s507ms 5s480ms 203 18m32s 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 #12
Day Hour Count Duration Avg duration Apr 13 06 1 4s77ms 4s77ms 18 2 2s135ms 1s67ms Apr 14 09 1 4s124ms 4s124ms Apr 15 21 3 51s745ms 17s248ms 22 1 1s72ms 1s72ms Apr 16 02 1 2s552ms 2s552ms 10 1 4s460ms 4s460ms 11 2 13s10ms 6s505ms 12 3 22s337ms 7s445ms 14 3 7s32ms 2s344ms 20 1 1s14ms 1s14ms 21 2 18s767ms 9s383ms 22 1 2s328ms 2s328ms 23 2 6s686ms 3s343ms Apr 17 00 1 2s466ms 2s466ms 01 2 12s107ms 6s53ms 02 2 21s503ms 10s751ms 03 2 2s819ms 1s409ms 04 2 6s191ms 3s95ms 05 5 29s366ms 5s873ms 06 1 5s457ms 5s457ms 07 4 11s599ms 2s899ms 08 7 23s433ms 3s347ms 09 1 1s309ms 1s309ms 10 4 31s190ms 7s797ms 11 1 4s521ms 4s521ms 13 2 5s662ms 2s831ms 14 2 3s827ms 1s913ms 15 3 19s480ms 6s493ms 16 4 10s882ms 2s720ms 17 7 42s234ms 6s33ms 18 2 2s418ms 1s209ms 19 3 10s377ms 3s459ms 21 4 16s347ms 4s86ms 22 1 4s488ms 4s488ms 23 2 12s814ms 6s407ms Apr 18 00 3 16s358ms 5s452ms 01 3 29s577ms 9s859ms 02 3 21s857ms 7s285ms 03 3 25s951ms 8s650ms 04 2 7s467ms 3s733ms 05 2 5s746ms 2s873ms 06 2 2s609ms 1s304ms 08 5 55s959ms 11s191ms 09 2 2s440ms 1s220ms 10 1 5s858ms 5s858ms 11 3 8s508ms 2s836ms 12 1 5s522ms 5s522ms 14 2 20s773ms 10s386ms 15 2 32s901ms 16s450ms 16 2 21s585ms 10s792ms 17 2 2s406ms 1s203ms 18 4 22s787ms 5s696ms 19 2 13s371ms 6s685ms 20 2 17s285ms 8s642ms 21 5 13s631ms 2s726ms 22 3 8s103ms 2s701ms 23 2 6s563ms 3s281ms Apr 19 00 4 7s59ms 1s764ms 01 5 44s688ms 8s937ms 02 1 11s660ms 11s660ms 03 4 11s280ms 2s820ms 04 3 9s597ms 3s199ms 05 3 19s695ms 6s565ms 06 2 3s716ms 1s858ms 07 5 10s511ms 2s102ms 08 2 7s6ms 3s503ms 09 2 5s875ms 2s937ms 12 1 1s316ms 1s316ms 13 4 21s898ms 5s474ms 14 2 4s595ms 2s297ms 15 3 22s57ms 7s352ms 16 1 4s469ms 4s469ms 17 3 9s390ms 3s130ms 18 4 27s794ms 6s948ms 19 1 5s583ms 5s583ms 20 1 16s408ms 16s408ms 21 2 29s120ms 14s560ms 22 5 25s711ms 5s142ms 23 3 44s71ms 14s690ms [ User: pubeu - Total duration: 5m3s - Times executed: 54 ]
-
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 = '1230319'))) 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: 2025-04-15 21:33:55 Duration: 19s507ms 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 = '1230319'))) 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: 2025-04-19 21:32:50 Duration: 18s114ms 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 = '1230319'))) 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: 2025-04-19 05:32:03 Duration: 17s346ms Bind query: yes
13 3s638ms 10s738ms 4s50ms 376 25m22s 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 #13
Day Hour Count Duration Avg duration Apr 13 00 3 12s221ms 4s73ms 02 2 8s156ms 4s78ms 03 2 7s916ms 3s958ms 04 1 4s33ms 4s33ms 06 3 12s254ms 4s84ms 07 4 17s203ms 4s300ms 08 1 4s204ms 4s204ms 09 1 3s910ms 3s910ms 10 2 8s709ms 4s354ms 12 4 16s568ms 4s142ms 13 3 11s991ms 3s997ms 16 2 8s169ms 4s84ms 22 2 8s371ms 4s185ms 23 1 4s158ms 4s158ms Apr 14 00 4 17s66ms 4s266ms 01 3 12s307ms 4s102ms 02 3 12s168ms 4s56ms 03 2 8s259ms 4s129ms 04 2 8s222ms 4s111ms 05 2 8s116ms 4s58ms 06 1 4s128ms 4s128ms 09 2 8s149ms 4s74ms 10 3 12s513ms 4s171ms 12 3 12s225ms 4s75ms 13 1 3s956ms 3s956ms 14 1 3s962ms 3s962ms 15 5 20s291ms 4s58ms 18 5 20s788ms 4s157ms 19 1 4s215ms 4s215ms 21 1 4s12ms 4s12ms 22 5 20s788ms 4s157ms Apr 15 05 2 8s316ms 4s158ms 06 2 8s36ms 4s18ms 07 4 17s222ms 4s305ms 08 5 22s91ms 4s418ms 09 14 1m1s 4s405ms 10 1 3s896ms 3s896ms 11 1 4s77ms 4s77ms 12 1 4s280ms 4s280ms 13 3 12s199ms 4s66ms 14 2 8s344ms 4s172ms 15 3 12s541ms 4s180ms 16 2 8s19ms 4s9ms 17 1 3s968ms 3s968ms 18 2 7s983ms 3s991ms 19 2 8s247ms 4s123ms 20 1 3s936ms 3s936ms 21 4 16s9ms 4s2ms 22 14 55s320ms 3s951ms 23 9 36s117ms 4s13ms Apr 16 00 2 14s592ms 7s296ms 01 3 12s328ms 4s109ms 02 8 32s668ms 4s83ms 03 4 15s485ms 3s871ms 04 4 16s350ms 4s87ms 05 5 18s968ms 3s793ms 06 2 9s383ms 4s691ms 07 7 26s777ms 3s825ms 08 5 19s621ms 3s924ms 09 3 11s778ms 3s926ms 11 1 3s982ms 3s982ms 13 3 11s993ms 3s997ms 14 2 7s971ms 3s985ms 15 1 3s994ms 3s994ms 16 4 15s857ms 3s964ms 18 5 19s649ms 3s929ms 19 3 12s361ms 4s120ms 20 2 8s167ms 4s83ms 22 1 4s58ms 4s58ms Apr 17 01 8 31s301ms 3s912ms 02 13 50s133ms 3s856ms 03 8 31s142ms 3s892ms 04 9 35s40ms 3s893ms 05 34 2m12s 3s905ms 07 10 41s678ms 4s167ms 08 2 7s951ms 3s975ms 09 3 12s407ms 4s135ms 11 1 3s840ms 3s840ms 12 6 24s603ms 4s100ms 13 2 7s978ms 3s989ms 14 6 23s448ms 3s908ms 15 1 3s891ms 3s891ms 16 2 7s784ms 3s892ms 19 1 3s881ms 3s881ms 20 4 18s640ms 4s660ms 21 1 4s157ms 4s157ms 23 1 3s871ms 3s871ms Apr 18 00 1 3s954ms 3s954ms 02 4 16s166ms 4s41ms 03 4 15s888ms 3s972ms 04 3 11s706ms 3s902ms 07 1 3s829ms 3s829ms 09 2 7s958ms 3s979ms 10 1 3s841ms 3s841ms 11 6 23s629ms 3s938ms 12 1 3s863ms 3s863ms 15 2 7s716ms 3s858ms 16 2 7s703ms 3s851ms 18 4 15s759ms 3s939ms 19 2 7s799ms 3s899ms 22 2 8s159ms 4s79ms 23 1 3s826ms 3s826ms Apr 19 01 2 7s891ms 3s945ms 02 1 3s901ms 3s901ms 04 2 8s400ms 4s200ms 08 2 7s813ms 3s906ms 11 1 4s96ms 4s96ms 14 1 3s819ms 3s819ms 15 3 11s473ms 3s824ms 22 3 11s803ms 3s934ms [ User: pubeu - Total duration: 9m27s - Times executed: 138 ]
-
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 = '1348114') 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 = '1348114') 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: 2025-04-16 00:16:51 Duration: 10s738ms Database: ctdprd51 User: pubeu 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 = '1436913') 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 = '1436913') 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: 2025-04-17 20:17:41 Duration: 5s492ms 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 = '1275629') 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 = '1275629') 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: 2025-04-15 09:16:39 Duration: 5s414ms Database: ctdprd51 User: pubeu Bind query: yes
14 1s 6s857ms 3s920ms 512 33m27s 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 Apr 13 00 6 22s924ms 3s820ms 01 1 5s252ms 5s252ms 03 8 29s274ms 3s659ms 04 12 46s263ms 3s855ms 05 6 6s173ms 1s28ms 06 4 12s431ms 3s107ms 09 5 13s440ms 2s688ms 10 3 15s355ms 5s118ms 12 4 12s502ms 3s125ms 16 1 1s36ms 1s36ms 18 2 2s272ms 1s136ms 20 2 2s54ms 1s27ms 22 2 6s291ms 3s145ms Apr 14 00 1 5s917ms 5s917ms 02 1 5s384ms 5s384ms 03 3 15s635ms 5s211ms 04 1 6s206ms 6s206ms 05 14 36s711ms 2s622ms 06 7 21s311ms 3s44ms 07 14 51s781ms 3s698ms 08 12 37s257ms 3s104ms 09 11 24s396ms 2s217ms 10 7 30s406ms 4s343ms 11 3 3s205ms 1s68ms 15 2 2s166ms 1s83ms 16 20 1m51s 5s592ms 17 1 5s575ms 5s575ms 21 1 1s27ms 1s27ms 22 1 5s330ms 5s330ms 23 4 17s368ms 4s342ms Apr 15 05 6 6s233ms 1s38ms 06 1 5s764ms 5s764ms 08 5 5s168ms 1s33ms 09 22 1m59s 5s410ms 10 2 6s357ms 3s178ms 12 2 6s347ms 3s173ms 13 2 10s504ms 5s252ms 14 3 15s654ms 5s218ms 17 1 1s30ms 1s30ms 18 1 1s128ms 1s128ms 19 2 8s538ms 4s269ms 20 2 5s880ms 2s940ms 22 6 28s19ms 4s669ms 23 16 1m20s 5s46ms Apr 16 00 3 11s453ms 3s817ms 01 5 21s287ms 4s257ms 02 11 56s913ms 5s173ms 03 4 15s368ms 3s842ms 04 3 14s287ms 4s762ms 05 7 10s864ms 1s552ms 06 4 20s994ms 5s248ms 07 1 4s593ms 4s593ms 09 5 21s132ms 4s226ms 10 5 12s526ms 2s505ms 11 1 1s10ms 1s10ms 12 1 4s902ms 4s902ms 13 4 15s815ms 3s953ms 14 4 19s490ms 4s872ms 15 1 5s34ms 5s34ms 16 3 14s768ms 4s922ms 17 4 15s377ms 3s844ms 18 1 4s953ms 4s953ms 19 4 19s33ms 4s758ms 20 2 9s379ms 4s689ms 21 1 4s842ms 4s842ms 22 5 20s488ms 4s97ms 23 2 6s120ms 3s60ms Apr 17 00 1 5s280ms 5s280ms 01 3 7s562ms 2s520ms 02 2 5s933ms 2s966ms 04 2 10s219ms 5s109ms 05 9 16s982ms 1s886ms 06 4 12s608ms 3s152ms 07 2 6s121ms 3s60ms 08 1 5s438ms 5s438ms 09 4 20s629ms 5s157ms 10 2 6s198ms 3s99ms 12 2 9s906ms 4s953ms 13 2 10s307ms 5s153ms 14 2 6s317ms 3s158ms 15 12 52s867ms 4s405ms 16 9 37s584ms 4s176ms 17 2 10s188ms 5s94ms 18 3 15s729ms 5s243ms 19 11 47s70ms 4s279ms 20 6 25s508ms 4s251ms 21 2 10s949ms 5s474ms 22 1 1s 1s 23 2 9s664ms 4s832ms Apr 18 00 2 9s964ms 4s982ms 01 6 22s485ms 3s747ms 02 6 26s381ms 4s396ms 03 3 14s388ms 4s796ms 04 1 4s813ms 4s813ms 05 1 4s785ms 4s785ms 06 1 4s639ms 4s639ms 07 1 1s6ms 1s6ms 08 3 10s883ms 3s627ms 09 1 1s61ms 1s61ms 10 2 10s35ms 5s17ms 11 3 14s974ms 4s991ms 12 2 10s335ms 5s167ms 13 1 5s49ms 5s49ms 14 1 5s18ms 5s18ms 15 5 25s525ms 5s105ms 17 1 1s12ms 1s12ms 19 2 10s62ms 5s31ms 20 1 1s1ms 1s1ms 21 8 39s972ms 4s996ms 22 1 4s785ms 4s785ms 23 4 20s210ms 5s52ms Apr 19 00 2 9s939ms 4s969ms 01 1 5s230ms 5s230ms 02 4 22s702ms 5s675ms 03 2 6s289ms 3s144ms 04 6 36s45ms 6s7ms 05 8 16s781ms 2s97ms 06 3 10s595ms 3s531ms 07 2 2s44ms 1s22ms 08 5 26s133ms 5s226ms 09 5 18s476ms 3s695ms 10 1 1s95ms 1s95ms 11 2 2s7ms 1s3ms 12 1 5s524ms 5s524ms 13 2 10s728ms 5s364ms 14 1 5s4ms 5s4ms 15 2 2s217ms 1s108ms 16 1 4s786ms 4s786ms 17 2 9s914ms 4s957ms 19 1 5s285ms 5s285ms 20 3 10s920ms 3s640ms 21 2 7s375ms 3s687ms 22 2 10s513ms 5s256ms 23 3 7s517ms 2s505ms [ User: pubeu - Total duration: 9m48s - Times executed: 143 ]
[ User: qaeu - Total duration: 6s232ms - Times executed: 6 ]
-
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 = '1300299' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-14 08:45:24 Duration: 6s857ms 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 = '1299372' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-19 02:39:42 Duration: 6s808ms 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 = '1390524' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-19 04:17:34 Duration: 6s755ms Bind query: yes
15 1s2ms 12s782ms 3s806ms 300 19m2s 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 #15
Day Hour Count Duration Avg duration Apr 13 00 1 10s910ms 10s910ms 01 3 33s294ms 11s98ms 06 2 6s477ms 3s238ms 07 2 6s517ms 3s258ms 10 3 3s854ms 1s284ms 11 1 1s251ms 1s251ms 14 1 1s294ms 1s294ms 20 1 1s623ms 1s623ms 22 10 58s472ms 5s847ms 23 1 1s463ms 1s463ms Apr 14 00 1 1s559ms 1s559ms 02 1 5s430ms 5s430ms 04 1 1s190ms 1s190ms 05 1 1s280ms 1s280ms 06 3 22s835ms 7s611ms 07 3 3s137ms 1s45ms 08 2 23s595ms 11s797ms 09 9 59s927ms 6s658ms 10 1 1s391ms 1s391ms 13 4 39s249ms 9s812ms 14 1 1s257ms 1s257ms 16 1 3s84ms 3s84ms 19 1 1s100ms 1s100ms 21 1 1s279ms 1s279ms 23 6 1m5s 10s985ms Apr 15 07 4 9s454ms 2s363ms 08 2 4s53ms 2s26ms 09 2 2s76ms 1s38ms 10 5 13s800ms 2s760ms 12 3 22s547ms 7s515ms 14 1 10s555ms 10s555ms 20 2 4s189ms 2s94ms 21 2 7s388ms 3s694ms 22 2 4s412ms 2s206ms 23 1 4s821ms 4s821ms Apr 16 01 1 2s490ms 2s490ms 06 2 5s885ms 2s942ms 07 1 1s296ms 1s296ms 09 5 7s656ms 1s531ms 10 2 12s383ms 6s191ms 11 1 1s568ms 1s568ms 13 1 1s31ms 1s31ms 14 1 2s221ms 2s221ms 15 2 5s223ms 2s611ms 16 1 1s505ms 1s505ms 17 1 1s143ms 1s143ms 19 1 1s33ms 1s33ms 20 1 1s759ms 1s759ms 21 3 8s439ms 2s813ms 22 1 5s379ms 5s379ms 23 1 4s523ms 4s523ms Apr 17 01 5 27s369ms 5s473ms 02 1 6s62ms 6s62ms 03 4 17s55ms 4s263ms 04 4 8s719ms 2s179ms 05 4 9s656ms 2s414ms 06 6 19s409ms 3s234ms 07 5 25s432ms 5s86ms 08 3 8s288ms 2s762ms 09 3 8s798ms 2s932ms 10 1 5s193ms 5s193ms 11 1 1s355ms 1s355ms 12 6 17s312ms 2s885ms 13 5 10s432ms 2s86ms 14 2 6s544ms 3s272ms 15 3 10s95ms 3s365ms 16 4 12s522ms 3s130ms 17 1 1s720ms 1s720ms 18 2 2s956ms 1s478ms 19 1 1s359ms 1s359ms 20 4 11s65ms 2s766ms 21 12 34s63ms 2s838ms 22 7 15s546ms 2s220ms 23 1 2s768ms 2s768ms Apr 18 00 2 5s754ms 2s877ms 01 2 2s823ms 1s411ms 02 1 3s12ms 3s12ms 03 1 2s760ms 2s760ms 04 1 4s901ms 4s901ms 05 2 4s464ms 2s232ms 06 3 8s791ms 2s930ms 07 1 1s914ms 1s914ms 08 4 6s254ms 1s563ms 09 3 11s318ms 3s772ms 10 2 2s303ms 1s151ms 11 3 16s538ms 5s512ms 12 1 2s982ms 2s982ms 14 3 9s697ms 3s232ms 15 3 18s7ms 6s2ms 16 2 12s872ms 6s436ms 18 2 3s936ms 1s968ms 20 3 11s797ms 3s932ms 21 3 16s617ms 5s539ms 23 3 9s632ms 3s210ms Apr 19 00 3 12s83ms 4s27ms 01 4 7s306ms 1s826ms 02 2 6s633ms 3s316ms 03 2 5s300ms 2s650ms 04 2 2s818ms 1s409ms 05 1 10s596ms 10s596ms 06 3 6s96ms 2s32ms 07 5 26s498ms 5s299ms 08 4 6s49ms 1s512ms 09 11 41s794ms 3s799ms 12 3 17s533ms 5s844ms 13 4 6s593ms 1s648ms 15 4 23s681ms 5s920ms 16 1 5s92ms 5s92ms 17 1 10s406ms 10s406ms 18 1 1s201ms 1s201ms 19 1 2s344ms 2s344ms 20 2 8s652ms 4s326ms 21 2 3s907ms 1s953ms 22 2 10s681ms 5s340ms 23 2 2s412ms 1s206ms [ User: pubeu - Total duration: 7m3s - Times executed: 115 ]
[ User: qaeu - Total duration: 2s811ms - Times executed: 1 ]
-
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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 09:05:47 Duration: 12s782ms 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 09:05:45 Duration: 12s316ms 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-14 09:06:00 Duration: 12s69ms Bind query: yes
16 1s1ms 7s463ms 3s168ms 721 38m4s 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 #16
Day Hour Count Duration Avg duration Apr 13 00 7 20s197ms 2s885ms 03 7 20s377ms 2s911ms 04 14 40s618ms 2s901ms Apr 14 05 7 20s370ms 2s910ms 06 4 13s379ms 3s344ms 07 10 27s642ms 2s764ms 08 7 20s690ms 2s955ms 09 6 19s231ms 3s205ms 10 8 21s268ms 2s658ms Apr 15 17 2 3s403ms 1s701ms Apr 16 08 3 8s354ms 2s784ms 10 4 9s799ms 2s449ms 11 1 2s174ms 2s174ms 12 2 3s894ms 1s947ms 13 2 6s221ms 3s110ms 14 2 5s258ms 2s629ms 15 2 5s559ms 2s779ms 16 1 2s146ms 2s146ms 18 6 20s982ms 3s497ms 19 1 6s386ms 6s386ms 20 1 2s929ms 2s929ms 21 4 16s700ms 4s175ms 22 5 12s376ms 2s475ms 23 10 30s950ms 3s95ms Apr 17 00 5 19s907ms 3s981ms 01 12 31s178ms 2s598ms 02 8 27s447ms 3s430ms 03 4 16s326ms 4s81ms 04 8 33s54ms 4s131ms 05 9 24s954ms 2s772ms 06 11 35s622ms 3s238ms 07 6 26s33ms 4s338ms 08 9 20s889ms 2s321ms 09 6 17s212ms 2s868ms 10 7 24s302ms 3s471ms 11 4 12s565ms 3s141ms 12 9 29s730ms 3s303ms 13 8 18s307ms 2s288ms 14 6 20s309ms 3s384ms 15 15 39s228ms 2s615ms 16 18 56s929ms 3s162ms 17 10 30s661ms 3s66ms 18 10 32s338ms 3s233ms 19 24 1m13s 3s72ms 20 15 42s177ms 2s811ms 21 11 39s333ms 3s575ms 22 5 12s285ms 2s457ms 23 8 25s240ms 3s155ms Apr 18 00 7 27s568ms 3s938ms 01 13 34s87ms 2s622ms 02 13 41s917ms 3s224ms 03 9 26s949ms 2s994ms 04 6 11s740ms 1s956ms 05 9 22s309ms 2s478ms 06 4 14s6ms 3s501ms 07 8 15s592ms 1s949ms 08 9 33s309ms 3s701ms 09 12 37s15ms 3s84ms 10 10 25s615ms 2s561ms 11 7 28s889ms 4s127ms 12 5 19s108ms 3s821ms 13 3 8s117ms 2s705ms 14 9 27s425ms 3s47ms 15 9 37s859ms 4s206ms 16 8 23s532ms 2s941ms 17 7 24s338ms 3s476ms 18 3 14s703ms 4s901ms 19 9 33s249ms 3s694ms 20 6 22s309ms 3s718ms 21 12 38s925ms 3s243ms 22 8 31s540ms 3s942ms 23 1 2s7ms 2s7ms Apr 19 00 10 28s972ms 2s897ms 01 6 21s401ms 3s566ms 02 8 34s573ms 4s321ms 03 3 6s749ms 2s249ms 04 12 29s496ms 2s458ms 05 5 19s307ms 3s861ms 06 9 32s20ms 3s557ms 07 8 30s91ms 3s761ms 08 5 15s370ms 3s74ms 09 7 21s786ms 3s112ms 10 3 6s167ms 2s55ms 11 2 5s318ms 2s659ms 12 9 26s775ms 2s975ms 13 4 9s527ms 2s381ms 14 17 57s343ms 3s373ms 15 6 22s42ms 3s673ms 16 7 25s591ms 3s655ms 17 10 38s451ms 3s845ms 18 10 39s47ms 3s904ms 19 10 31s370ms 3s137ms 20 5 16s601ms 3s320ms 21 9 38s668ms 4s296ms 22 14 43s804ms 3s128ms 23 11 31s194ms 2s835ms [ User: pubeu - Total duration: 10m10s - Times executed: 194 ]
-
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 = '1407657'))) 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: 2025-04-19 02:22:51 Duration: 7s463ms 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 = '1407657'))) 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: 2025-04-18 15:14:04 Duration: 6s862ms 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 = '1407657'))) 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: 2025-04-18 15:14:04 Duration: 6s841ms Bind query: yes
17 1s2ms 12s45ms 2s589ms 75 3m14s 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 #17
Day Hour Count Duration Avg duration Apr 13 00 1 2s209ms 2s209ms 01 1 2s695ms 2s695ms 03 2 2s257ms 1s128ms 06 3 11s220ms 3s740ms 07 2 3s98ms 1s549ms 11 1 1s345ms 1s345ms 12 1 2s277ms 2s277ms 14 2 2s869ms 1s434ms 20 1 2s737ms 2s737ms 23 1 1s969ms 1s969ms Apr 14 01 1 1s461ms 1s461ms 05 1 1s285ms 1s285ms 06 2 2s48ms 1s24ms 07 4 8s760ms 2s190ms 09 4 8s889ms 2s222ms 11 1 1s635ms 1s635ms 19 1 2s735ms 2s735ms 23 1 12s45ms 12s45ms Apr 15 07 1 7s257ms 7s257ms 08 1 7s6ms 7s6ms 11 2 4s261ms 2s130ms 12 3 9s88ms 3s29ms 13 2 3s460ms 1s730ms 23 2 4s522ms 2s261ms Apr 16 09 2 2s171ms 1s85ms 10 6 7s255ms 1s209ms Apr 17 01 1 1s413ms 1s413ms 05 1 1s335ms 1s335ms 13 1 6s870ms 6s870ms 15 2 2s531ms 1s265ms 20 2 2s231ms 1s115ms Apr 18 02 1 1s262ms 1s262ms 05 2 2s679ms 1s339ms 06 1 1s250ms 1s250ms 09 1 1s543ms 1s543ms 11 1 1s413ms 1s413ms 18 1 1s306ms 1s306ms 20 1 1s434ms 1s434ms 23 1 6s903ms 6s903ms Apr 19 01 1 6s907ms 6s907ms 08 2 5s176ms 2s588ms 09 5 25s582ms 5s116ms 11 1 6s345ms 6s345ms 18 1 1s492ms 1s492ms [ User: pubeu - Total duration: 1m15s - Times executed: 22 ]
-
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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2025-04-14 23:20:07 Duration: 12s45ms 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 = '2102769') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2025-04-19 09:01:14 Duration: 9s938ms 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 = '2100721') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 968850;
Date: 2025-04-15 07:23:12 Duration: 7s257ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s1ms 4s691ms 2s531ms 619 26m7s 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 #18
Day Hour Count Duration Avg duration Apr 13 00 8 16s380ms 2s47ms 03 8 16s809ms 2s101ms 04 16 32s834ms 2s52ms Apr 14 05 7 15s802ms 2s257ms 06 4 11s418ms 2s854ms 07 11 21s30ms 1s911ms 08 8 16s678ms 2s84ms 09 7 15s988ms 2s284ms 10 8 16s480ms 2s60ms 19 2 2s851ms 1s425ms Apr 16 07 2 2s109ms 1s54ms 08 1 1s3ms 1s3ms 10 3 9s597ms 3s199ms 11 1 4s459ms 4s459ms 13 2 4s174ms 2s87ms 14 2 6s197ms 3s98ms 15 2 4s189ms 2s94ms 16 1 2s252ms 2s252ms 17 1 2s81ms 2s81ms 18 1 2s188ms 2s188ms 19 4 10s621ms 2s655ms 20 2 6s460ms 3s230ms 21 1 1s426ms 1s426ms 22 2 4s152ms 2s76ms 23 13 35s467ms 2s728ms Apr 17 00 8 20s283ms 2s535ms 01 8 23s212ms 2s901ms 02 4 9s871ms 2s467ms 04 8 24s213ms 3s26ms 05 9 17s683ms 1s964ms 06 6 11s394ms 1s899ms 07 11 28s776ms 2s616ms 08 10 26s803ms 2s680ms 09 3 8s273ms 2s757ms 10 7 12s934ms 1s847ms 11 3 8s596ms 2s865ms 12 9 27s445ms 3s49ms 13 7 25s220ms 3s602ms 14 4 12s391ms 3s97ms 15 17 38s859ms 2s285ms 16 14 36s478ms 2s605ms 17 7 18s830ms 2s690ms 18 4 6s232ms 1s558ms 19 23 58s864ms 2s559ms 20 15 39s164ms 2s610ms 21 5 14s126ms 2s825ms 22 4 13s86ms 3s271ms 23 5 8s811ms 1s762ms Apr 18 00 7 21s558ms 3s79ms 01 6 10s606ms 1s767ms 02 7 14s538ms 2s76ms 03 5 13s339ms 2s667ms 04 4 11s446ms 2s861ms 05 8 23s133ms 2s891ms 06 9 21s971ms 2s441ms 07 2 3s235ms 1s617ms 08 3 9s333ms 3s111ms 09 4 14s811ms 3s702ms 10 1 1s60ms 1s60ms 11 10 23s196ms 2s319ms 12 3 8s543ms 2s847ms 13 4 9s398ms 2s349ms 14 6 13s516ms 2s252ms 15 9 23s957ms 2s661ms 16 5 8s556ms 1s711ms 17 8 23s330ms 2s916ms 18 3 7s434ms 2s478ms 19 6 15s611ms 2s601ms 20 10 32s798ms 3s279ms 21 8 18s519ms 2s314ms 22 9 24s860ms 2s762ms 23 7 22s904ms 3s272ms Apr 19 00 6 15s832ms 2s638ms 01 11 28s957ms 2s632ms 02 7 11s768ms 1s681ms 03 7 23s114ms 3s302ms 04 6 15s309ms 2s551ms 05 10 24s432ms 2s443ms 06 6 18s746ms 3s124ms 07 9 25s49ms 2s783ms 08 9 22s335ms 2s481ms 09 9 17s653ms 1s961ms 11 5 11s717ms 2s343ms 12 5 13s701ms 2s740ms 13 9 26s633ms 2s959ms 14 8 19s693ms 2s461ms 15 7 14s 2s 16 6 20s692ms 3s448ms 17 9 21s171ms 2s352ms 18 6 19s186ms 3s197ms 19 7 17s939ms 2s562ms 20 7 24s854ms 3s550ms 21 6 14s57ms 2s342ms 22 5 15s980ms 3s196ms 23 7 12s497ms 1s785ms [ User: pubeu - Total duration: 6m47s - Times executed: 159 ]
-
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 = '1407657') 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 = '1407657') 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: 2025-04-16 23:34:28 Duration: 4s691ms 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 = '1407657') 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 = '1407657') 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: 2025-04-17 22:42:05 Duration: 4s535ms 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 = '1407657') 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 = '1407657') 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: 2025-04-19 04:13:16 Duration: 4s490ms Bind query: yes
19 1s2ms 4s421ms 2s460ms 131 5m22s 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 #19
Day Hour Count Duration Avg duration Apr 13 05 4 8s871ms 2s217ms 21 5 12s710ms 2s542ms Apr 14 00 1 2s35ms 2s35ms 05 4 9s127ms 2s281ms 06 2 4s641ms 2s320ms 07 2 4s603ms 2s301ms 08 2 4s748ms 2s374ms 09 4 9s565ms 2s391ms 11 2 4s536ms 2s268ms 12 2 4s178ms 2s89ms 13 5 10s708ms 2s141ms 18 1 1s915ms 1s915ms 21 3 10s266ms 3s422ms Apr 15 05 4 9s172ms 2s293ms 08 5 13s123ms 2s624ms 15 1 2s86ms 2s86ms 19 3 6s920ms 2s306ms Apr 16 01 1 1s871ms 1s871ms 05 4 8s803ms 2s200ms 06 1 3s380ms 3s380ms 08 1 2s6ms 2s6ms 11 2 4s496ms 2s248ms 15 1 2s758ms 2s758ms 17 1 3s188ms 3s188ms 21 1 2s463ms 2s463ms 22 2 5s265ms 2s632ms 23 1 2s399ms 2s399ms Apr 17 05 5 10s943ms 2s188ms 08 2 4s75ms 2s37ms 09 2 6s576ms 3s288ms 11 1 3s312ms 3s312ms 12 1 3s271ms 3s271ms 13 2 4s184ms 2s92ms 20 2 5s46ms 2s523ms 22 2 4s744ms 2s372ms Apr 18 00 1 3s326ms 3s326ms 02 3 9s151ms 3s50ms 03 1 3s245ms 3s245ms 05 4 8s885ms 2s221ms 06 1 1s983ms 1s983ms 08 2 5s839ms 2s919ms 09 1 1s913ms 1s913ms 11 2 4s396ms 2s198ms 12 1 3s265ms 3s265ms 17 1 1s954ms 1s954ms 18 3 8s267ms 2s755ms 19 1 3s264ms 3s264ms 21 1 2s441ms 2s441ms Apr 19 03 2 5s534ms 2s767ms 04 2 6s906ms 3s453ms 05 5 10s779ms 2s155ms 08 1 1s915ms 1s915ms 09 1 1s857ms 1s857ms 11 2 4s579ms 2s289ms 12 1 3s335ms 3s335ms 16 1 1s864ms 1s864ms 17 2 4s714ms 2s357ms 18 1 3s436ms 3s436ms 19 2 6s292ms 3s146ms 20 5 10s637ms 2s127ms 21 2 4s500ms 2s250ms [ User: pubeu - Total duration: 2m4s - Times executed: 44 ]
[ User: qaeu - Total duration: 27s370ms - Times executed: 8 ]
-
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 = '597697' 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: 2025-04-15 19:52:54 Duration: 4s421ms 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 = '659068' 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 <= 4 ORDER BY sn.path;
Date: 2025-04-15 08:30:50 Duration: 3s682ms 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 = '597697' 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: 2025-04-14 08:23:42 Duration: 3s658ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s2ms 6s521ms 2s439ms 244 9m55s 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 #20
Day Hour Count Duration Avg duration Apr 13 16 1 2s777ms 2s777ms Apr 14 03 1 2s792ms 2s792ms 22 1 5s925ms 5s925ms Apr 15 14 1 2s177ms 2s177ms 16 1 1s72ms 1s72ms 18 1 1s10ms 1s10ms 19 2 3s852ms 1s926ms 20 1 3s629ms 3s629ms Apr 16 03 1 1s243ms 1s243ms 07 1 2s765ms 2s765ms 09 1 2s156ms 2s156ms 10 4 7s217ms 1s804ms 12 1 1s232ms 1s232ms 13 2 3s137ms 1s568ms 16 1 1s532ms 1s532ms 17 5 10s341ms 2s68ms 19 1 5s777ms 5s777ms 20 2 2s965ms 1s482ms 21 1 2s344ms 2s344ms 22 1 1s589ms 1s589ms 23 5 18s480ms 3s696ms Apr 17 00 3 5s384ms 1s794ms 01 4 11s743ms 2s935ms 02 1 3s525ms 3s525ms 03 4 8s516ms 2s129ms 04 2 4s402ms 2s201ms 05 3 7s221ms 2s407ms 06 4 8s811ms 2s202ms 07 2 7s513ms 3s756ms 08 7 14s920ms 2s131ms 09 2 3s515ms 1s757ms 10 2 4s202ms 2s101ms 11 1 1s221ms 1s221ms 12 7 21s342ms 3s48ms 13 5 10s747ms 2s149ms 14 2 8s38ms 4s19ms 15 2 3s855ms 1s927ms 16 3 9s220ms 3s73ms 17 6 13s688ms 2s281ms 18 2 3s522ms 1s761ms 19 4 8s668ms 2s167ms 20 2 7s620ms 3s810ms 21 4 9s6ms 2s251ms 22 1 2s660ms 2s660ms 23 1 2s777ms 2s777ms Apr 18 00 4 8s23ms 2s5ms 01 4 9s349ms 2s337ms 02 2 4s239ms 2s119ms 03 4 15s466ms 3s866ms 04 3 5s777ms 1s925ms 05 2 4s206ms 2s103ms 06 6 10s944ms 1s824ms 07 1 2s112ms 2s112ms 08 5 10s134ms 2s26ms 09 1 2s798ms 2s798ms 10 1 5s941ms 5s941ms 11 5 13s45ms 2s609ms 14 3 5s223ms 1s741ms 15 3 9s663ms 3s221ms 16 1 1s586ms 1s586ms 17 6 15s454ms 2s575ms 18 2 4s296ms 2s148ms 19 1 2s70ms 2s70ms 20 2 4s436ms 2s218ms 21 2 4s424ms 2s212ms 22 7 17s136ms 2s448ms 23 3 4s727ms 1s575ms Apr 19 00 5 13s898ms 2s779ms 01 5 13s546ms 2s709ms 02 2 8s621ms 4s310ms 03 2 4s664ms 2s332ms 04 4 8s239ms 2s59ms 05 3 7s419ms 2s473ms 06 1 1s279ms 1s279ms 07 2 4s455ms 2s227ms 08 3 5s515ms 1s838ms 09 3 6s632ms 2s210ms 12 5 8s446ms 1s689ms 13 8 19s466ms 2s433ms 14 1 2s89ms 2s89ms 15 2 10s50ms 5s25ms 16 2 2s862ms 1s431ms 17 3 3s599ms 1s199ms 18 1 1s26ms 1s26ms 19 3 10s943ms 3s647ms 20 3 12s687ms 4s229ms 21 2 4s316ms 2s158ms 22 3 10s617ms 3s539ms 23 4 7s758ms 1s939ms [ User: pubeu - Total duration: 2m31s - 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 = '659068' 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 = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-19 02:56:40 Duration: 6s521ms 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 = '659068' 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 = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-19 15:59:07 Duration: 6s258ms 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 = '659068' 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 = '659068') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-17 07:42:47 Duration: 6s79ms 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 2s138ms 2 1s69ms 1s69ms 1s69ms SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Apr 19 08 2 2s138ms 1s69ms -
SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;
Date: 2025-04-17 08:14:11 Duration: 1s69ms Database: postgres parameters: $1 = '1642006', $2 = '1642006'
2 0ms 509 0ms 0ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration Apr 12 06 2 0ms 0ms 13 1 0ms 0ms 18 1 0ms 0ms Apr 13 00 1 0ms 0ms 10 2 0ms 0ms 15 2 0ms 0ms Apr 14 00 2 0ms 0ms 03 2 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 8 0ms 0ms 10 2 0ms 0ms 13 2 0ms 0ms 14 8 0ms 0ms 15 6 0ms 0ms 16 6 0ms 0ms 17 12 0ms 0ms Apr 15 05 2 0ms 0ms 06 4 0ms 0ms 07 6 0ms 0ms 08 8 0ms 0ms 09 2 0ms 0ms 10 6 0ms 0ms 11 4 0ms 0ms 13 8 0ms 0ms 14 14 0ms 0ms 15 4 0ms 0ms 19 4 0ms 0ms 23 2 0ms 0ms Apr 16 00 1 0ms 0ms 06 8 0ms 0ms 07 16 0ms 0ms 08 8 0ms 0ms 09 10 0ms 0ms 10 4 0ms 0ms 11 18 0ms 0ms 12 2 0ms 0ms 13 4 0ms 0ms 15 4 0ms 0ms 16 8 0ms 0ms 17 2 0ms 0ms 23 4 0ms 0ms Apr 17 00 2 0ms 0ms 10 18 0ms 0ms 11 18 0ms 0ms 12 4 0ms 0ms 13 4 0ms 0ms 14 16 0ms 0ms 15 14 0ms 0ms 22 2 0ms 0ms Apr 18 00 1 0ms 0ms 05 3 0ms 0ms 06 12 0ms 0ms 07 30 0ms 0ms 08 27 0ms 0ms 09 9 0ms 0ms 10 18 0ms 0ms 12 21 0ms 0ms 13 42 0ms 0ms 15 15 0ms 0ms 16 30 0ms 0ms 17 9 0ms 0ms [ User: pubeu - Total duration: 15m32s - Times executed: 190 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '1407657', $2 = '1407657', $3 = 'chem%'
-
Events
Log levels
Key values
- 125,584 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 46 FATAL entries
- 189 ERROR entries
- 0 WARNING entries
- 43 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 178 Max number of times the same event was reported
- 278 Total events found
Rank Times reported Error 1 178 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 13 01 6 02 3 03 1 04 4 05 4 06 5 07 5 08 1 09 1 10 4 11 1 12 4 13 2 15 1 18 3 19 4 20 2 21 4 23 5 Apr 14 00 2 01 7 02 6 03 6 04 17 05 6 06 2 09 1 11 2 15 1 20 1 Apr 15 07 1 08 2 09 1 10 1 12 3 14 2 15 1 17 1 18 3 19 1 20 2 21 1 Apr 16 00 1 04 2 08 1 10 1 11 1 12 1 16 1 17 1 19 2 21 1 22 1 Apr 17 00 1 04 3 06 2 07 1 11 1 12 1 14 1 16 1 17 1 19 1 22 2 Apr 18 00 1 17 2 20 1 21 2 22 2 Apr 19 00 1 01 2 03 2 05 1 06 2 17 1 18 2 19 1 - ERROR: syntax error in ts"WOWOW & 岡村孝子 SPECIAL LIVE 2024“CHRISTMAS PICNIC"
- ERROR: syntax error in ts"わらう こども イラスト"
- ERROR: syntax error in ts"デュッセルドルフ & オランダ & 40分 ブログ"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-04-13 04:05:29
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-04-13 04:15:20
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-04-13 06:34:44 Database: ctdprd51 Application: User: pubeu Remote:
2 23 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #2
Day Hour Count Apr 14 07 2 08 8 23 1 Apr 15 07 7 Apr 19 09 3 10 2 3 14 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 14 06 1 07 2 08 2 09 4 Apr 15 05 1 08 2 Apr 19 11 2 4 13 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 14 07 1 09 2 11 1 Apr 16 19 1 Apr 17 12 2 Apr 18 10 1 18 1 Apr 19 01 1 03 1 09 2 - FATAL: connection to client lost
- FATAL: connection to client lost
Statement: 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 = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-04-14 07:49:18
Statement: 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
Date: 2025-04-14 09:05:06
5 10 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #5
Day Hour Count Apr 14 06 1 07 1 09 5 11 3 - LOG: could not send data to client: Connection reset by peer
- LOG: could not send data to client: Connection reset by peer
- LOG: could not send data to client: Connection reset by peer
Statement: 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, '|')
Date: 2025-04-14 06:55:01 Database: ctdprd51 Application: User: pubeu Remote:
Statement: 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 = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-04-14 07:49:18 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd
Date: 2025-04-14 09:05:06 Database: ctdprd51 Application: User: pubeu Remote:
6 9 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #6
Day Hour Count Apr 15 17 1 Apr 16 20 1 Apr 17 19 4 Apr 18 18 1 19 2 7 9 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #7
Day Hour Count Apr 16 19 1 Apr 17 12 2 Apr 18 10 1 18 1 Apr 19 01 1 03 1 09 2 8 5 FATAL: connection to client lost 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 (...) 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 (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #8
Day Hour Count Apr 14 09 3 11 2 - FATAL: connection to client lost 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 = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2025-04-14 09:05:06
9 4 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #9
Day Hour Count Apr 15 19 4 10 4 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Apr 17 04 2 14 1 15 1 - ERROR: syntax error at or near ")" at character 4937
- ERROR: syntax error at or near ")" at character 236
- ERROR: syntax error at or near ")" at character 235
Statement: select distinct e.reference_acc_txt as "Reference", pref.abbr_authors_txt as "Author", referenceExp.author_summary as "AuthorSummary", (Select STRING_AGG( distinct eventproject.project_nm, '|')) as "AssociatedStudyTitles", eevent.collection_start_yr as "EnrollmentStartYear", eevent.collection_end_yr as "EnrollmentEndYear", (Select STRING_AGG( distinct studyFactor.nm, '|')) as "StudyFactors", (Select STRING_AGG(distinct stressorSrcType.nm, '|')) as "StressorSourceCategory", stressor.chem_term_nm as "ExposureStressorName", stressor.src_details as "StressorSourceDetails", stressor.sample_qty as "NumberOfStressorSamples", stressor.note as "StressorNotes", ereceptor.qty as "NumberOfReceptors", ereceptor.description as "Receptors", ereceptor.term_nm as "ReceptorDescription", ereceptor.term_acc_txt as "ReceptorID", ereceptor.note as "ReceptorNotes", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' || tobaccoUse.nm, COALESCE(COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' , tobaccoUse.nm)), '|')) as "SmokingStatus", ereceptor.age || ' ' || age_uom.nm as "Age", age_qualifier.nm as "AgeQualifier", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(pct as int),0)) || '% ' || gender.nm, COALESCE(COALESCE(NULLIF(CAST(pct as int),0)) || '% ' , gender.nm)), '|') from exp_receptor_gender expgender left outer join gender on expgender.gender_id=gender.id where exp_receptor_id = ereceptor.id ) as "Sex", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' || race.nm, COALESCE(COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' , race.nm)), '|')) as "Race", (Select STRING_AGG( distinct eventAssayMethod.nm, '|')) as "Methods" , eevent.detection_limit as "DetectionLimit", eevent.detection_limit_uom as "DetectionLimitUnitsOfMeasurement", eevent.detection_freq as "DetectionFrequency", emedium.nm as "Medium", eevent.exp_marker_term_nm as "ExposureMarker", eevent.exp_marker_lvl as "MarkerLevel", eevent.assay_uom as "MarkerUnitsOfMeasurement", eevent.assay_measurement_stat as "MarkerMeasurementStatistic", eevent.assay_note as "AssayNotes", (Select STRING_AGG( distinct country.nm, '|')) as "StudyCountries", (Select STRING_AGG( distinct eventLocation.geographic_region_nm, '|')) as "StateOrProvince", (Select STRING_AGG( distinct eventLocation.locality_txt, '|')) as "CityTownRegionOrArea", eevent.note as "ExposureEventNotes", eiot.description as "OutcomeRelationship", outcome.disease_term_nm as "DiseaseName", outcome.phenotype_action_degree_type_nm as "PhenotypeActionDegreeType", outcome.phenotype_term_nm as "PhenotypeName", (Select STRING_AGG( distinct expAnatomy.anatomy_term_nm, '|')) as "Anatomy", outcome.note as "ExposureOutcomeNotes" from exposure e left outer join reference pref on pref.acc_txt = e.reference_acc_txt left outer join reference_exp referenceExp on referenceExp.reference_acc_txt = e.reference_acc_txt left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id left outer join study_factor studyFactor on studyFactor.id = expStudyFactor.study_factor_id left outer join exp_event_project eventproject on eventproject.exp_event_id = e.exp_event_id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor ereceptor on e.exp_receptor_id = ereceptor.id left outer join age_uom age_uom on ereceptor.age_uom_id = age_uom.id left outer join age_qualifier age_qualifier on ereceptor.age_qualifier_id = age_qualifier.id left outer join exp_event eevent on e.exp_event_id = eevent.id left outer join medium emedium on eevent.medium_id = emedium.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 ereceptor.id = receptorTobaccoUse.exp_receptor_id left outer join tobacco_use tobaccoUse on receptorTobaccoUse.tobacco_use_id = tobaccoUse.id left outer join exp_receptor_race receptorRace on ereceptor.id = receptorRace.exp_receptor_id left outer join race race on receptorRace.race_id = race.id left outer join exp_event_location eventLocation on eevent.id = eventLocation.exp_event_id left outer join country on eventLocation.country_id = country.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 exp_anatomy expAnatomy on outcome.id = expAnatomy.exp_outcome_id left outer join exp_event_assay_method eventAssayMethod on eevent.id = eventAssayMethod.exp_event_id where stressor.chem_acc_txt in ( select acc_txt from term where id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( ))) or eevent.exp_marker_acc_txt in ( select acc_txt from term where id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( ))) group by "Reference", "Author", "AuthorSummary", "EnrollmentStartYear", "EnrollmentEndYear", "ExposureStressorName", "StressorSourceDetails", "NumberOfStressorSamples", "StressorNotes", "NumberOfReceptors", "Receptors", "ReceptorDescription", "ReceptorID", "ReceptorNotes", "Age", "AgeQualifier", "DetectionLimit", "DetectionLimitUnitsOfMeasurement", "DetectionFrequency", "Medium", "ExposureMarker", "MarkerLevel", "MarkerUnitsOfMeasurement", "MarkerMeasurementStatistic", "AssayNotes", "ExposureEventNotes", "OutcomeRelationship", "DiseaseName", "PhenotypeActionDegreeType", "PhenotypeName", "ExposureOutcomeNotes", ereceptor.id, eventLocation.exp_event_id
Date: 2025-04-17 04:15:23
Statement: SELECT 1.id FROM log_query AS l --3541 , excluded_user_agent AS ua WHERE UPPER(l.http_user_agent) LIKE UPPER(ua.user_agent_pattern) AND l.id NOT IN (SELECT a.id FROM log_query_bots a))
Date: 2025-04-17 14:54:21
Statement: SELECT * FROM log_query AS l --3541 , excluded_user_agent AS ua WHERE UPPER(l.http_user_agent) LIKE UPPER(ua.user_agent_pattern) AND l.id NOT IN (SELECT a.id FROM log_query_bots a) )
Date: 2025-04-17 15:22:26
11 2 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #11
Day Hour Count Apr 19 09 2 - ERROR: canceling statement due to user request
Statement: SELECT row_to_json (T) FROM ( SELECT checkpoints_timed , checkpoints_req , checkpoint_write_time , checkpoint_sync_time , buffers_checkpoint , buffers_clean , maxwritten_clean , buffers_backend , buffers_backend_fsync , buffers_alloc FROM pg_catalog.pg_stat_bgwriter ) T ;
Date: 2025-04-19 09:53:18
12 2 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #12
Day Hour Count Apr 17 17 1 Apr 18 10 1 - ERROR: relation "disease_chem_gene" does not exist at character 369
- ERROR: relation "excluded_remote_address" does not exist at character 15
Statement: SELECT /* DiseaseIxnsDAO */ dcg.chem_id chemid ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,dcg.gene_id geneid ,g.nm genesymbol ,g.acc_txt geneacc ,dcg.ixn_id ixnId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,dcg.reference_qty refCount ,dcg.taxon_qty taxonCount FROM disease_chem_gene dcg INNER JOIN ixn i ON dcg.ixn_id = i.id INNER JOIN term g ON dcg.gene_id = g.id INNER JOIN term c ON dcg.chem_id = c.id WHERE dcg.disease_id = $1 AND g.object_type_id = 4 AND c.object_type_id = 2 ORDER BY g.nm_sort ,c.nm_sort LIMIT 50
Date: 2025-04-17 17:52:06
Statement: select * from excluded_remote_address
Date: 2025-04-18 10:17:21
13 1 ERROR: table "..." does not exist
Times Reported Most Frequent Error / Event #13
Day Hour Count Apr 17 15 1 - ERROR: table "orig_query" does not exist
Statement: drop table orig_query
Date: 2025-04-17 15:17:53
14 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #14
Day Hour Count Apr 15 19 1 15 1 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #15
Day Hour Count Apr 16 02 1 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* GeneIdBySymbolAccDAO */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li INNER JOIN term_label_type lti ON li.term_label_type_id = lti.id AND li.object_type_id = lti.object_type_id AND UPPER(li.nm) = $1 AND lti.object_type_id = 4 AND lti.nm = 'SYMBOL' UNION SELECT l.object_id FROM db_link l WHERE l.acc_txt = $2 AND l.object_type_id = 4 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2025-04-16 02:03:23
16 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #16
Day Hour Count Apr 16 13 1 - ERROR: duplicate key value violates unique constraint "ixn_action_pk"
Detail: Key (ixn_id, action_type_id, action_degree_type_id)=(9058470, 1, 1) already exists.
Context: SQL statement "INSERT INTO edit.ixn_action (ixn_id ,action_type_id ,action_degree_type_id ,position_seq ,create_by ,mod_by ,create_tm ,mod_tm ) VALUES (p_ixn_id ,p_action_type_id ,p_action_degree_type_id ,p_position_seq ,p_create_by ,p_mod_by ,p_create_tm ,p_mod_tm )" PL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 9 at SQL statement
Statement: select * from edit.ins_ixn_action($1, $2, $3, $4, $5, $6, $7, $8) as resultDate: 2025-04-16 13:11:29
17 1 FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc
Times Reported Most Frequent Error / Event #17
Day Hour Count Apr 14 06 1 - FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2025-04-14 06:55:01