-
Global information
- Generated on Sun Apr 13 04:15:17 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250412
- Parsed 175,071 log entries in 16s
- Log start from 2025-04-06 00:00:01 to 2025-04-12 23:58:24
-
Overview
Global Stats
- 414 Number of unique normalized queries
- 9,014 Number of queries
- 15h13m18s Total query duration
- 2025-04-06 00:01:01 First query
- 2025-04-12 23:52:43 Last query
- 6 queries/s at 2025-04-08 04:20:24 Query peak
- 15h13m18s Total query duration
- 0ms Prepare/parse total duration
- 1s141ms Bind total duration
- 15h13m17s Execute total duration
- 346 Number of events
- 10 Number of unique normalized events
- 317 Max number of times the same event was reported
- 0 Number of cancellation
- 87 Total number of automatic vacuums
- 233 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 16,581 Total number of sessions
- 88 sessions at 2025-04-09 00:26:09 Session peak
- 283d8h54m27s Total duration of sessions
- 24m36s Average duration of sessions
- 0 Average queries per session
- 3s304ms Average queries duration per session
- 24m33s Average idle time per session
- 16,581 Total number of connections
- 29 connections/s at 2025-04-09 00:40:12 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 6 queries/s Query Peak
- 2025-04-08 04:20:24 Date
SELECT Traffic
Key values
- 6 queries/s Query Peak
- 2025-04-08 04:20:24 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-04-09 16:23:07 Date
Queries duration
Key values
- 15h13m18s 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 06 00 21 0ms 4m37s 15s771ms 2s948ms 5s335ms 4m44s 01 16 0ms 4s12ms 1s605ms 1s505ms 3s40ms 4s12ms 02 18 0ms 3s337ms 1s542ms 2s696ms 3s60ms 3s337ms 03 33 0ms 17s543ms 2s197ms 6s389ms 11s570ms 17s543ms 04 21 0ms 15s471ms 2s472ms 4s383ms 5s832ms 15s471ms 05 53 0ms 6s211ms 2s173ms 14s631ms 21s290ms 24s611ms 06 32 0ms 50s398ms 5s509ms 14s996ms 24s85ms 50s398ms 07 15 0ms 7s395ms 2s129ms 2s584ms 4s792ms 7s395ms 08 19 0ms 15s272ms 2s937ms 4s171ms 6s184ms 15s272ms 09 17 0ms 7s647ms 2s325ms 3s372ms 4s676ms 7s647ms 10 31 0ms 50s203ms 5s643ms 14s893ms 42s98ms 50s203ms 11 15 0ms 15s201ms 3s228ms 5s97ms 8s701ms 15s201ms 12 9 0ms 16s669ms 4s179ms 3s920ms 5s467ms 16s669ms 13 55 0ms 4s735ms 1s971ms 2s806ms 38s854ms 39s609ms 14 23 0ms 50s548ms 7s596ms 10s324ms 24s148ms 50s548ms 15 9 0ms 4s41ms 1s706ms 2s325ms 2s857ms 4s41ms 16 8 0ms 1m10s 10s950ms 3s797ms 4s28ms 1m11s 17 8 0ms 15s195ms 3s126ms 1s371ms 2s720ms 15s195ms 18 22 0ms 2m39s 14s258ms 24s265ms 50s159ms 2m39s 19 25 0ms 4s70ms 1s651ms 2s885ms 3s945ms 4s460ms 20 25 0ms 14s960ms 2s258ms 2s743ms 4s319ms 14s960ms 21 12 0ms 3s894ms 1s526ms 1s439ms 2s287ms 3s894ms 22 24 0ms 10s76ms 2s189ms 4s12ms 4s167ms 10s898ms 23 51 0ms 16s633ms 1s983ms 5s196ms 7s286ms 17s855ms Apr 07 00 43 0ms 4m33s 9s292ms 6s180ms 19s446ms 4m39s 01 39 0ms 16s106ms 3s689ms 15s440ms 16s464ms 17s785ms 02 34 0ms 4s579ms 1s751ms 3s999ms 4s568ms 5s662ms 03 40 0ms 15s79ms 2s730ms 5s477ms 8s329ms 31s18ms 04 43 0ms 15s790ms 4s140ms 14s778ms 15s553ms 18s130ms 05 106 0ms 16s240ms 2s310ms 20s389ms 22s921ms 33s223ms 06 103 0ms 50s447ms 4s728ms 33s738ms 48s245ms 54s48ms 07 111 0ms 49s295ms 4s125ms 20s128ms 39s194ms 1m10s 08 86 0ms 15s933ms 2s754ms 15s667ms 17s915ms 18s636ms 09 68 0ms 15s641ms 2s988ms 11s254ms 15s641ms 18s338ms 10 82 0ms 50s743ms 4s702ms 19s602ms 30s747ms 53s620ms 11 66 0ms 15s358ms 2s515ms 9s523ms 11s608ms 25s971ms 12 49 0ms 10s694ms 1s918ms 5s129ms 7s612ms 13s24ms 13 18 0ms 5s975ms 2s309ms 4s87ms 5s355ms 5s975ms 14 33 0ms 50s440ms 7s201ms 18s787ms 30s46ms 50s440ms 15 40 0ms 6s321ms 2s233ms 8s174ms 12s14ms 24s848ms 16 75 0ms 16s75ms 2s419ms 18s960ms 21s892ms 40s411ms 17 22 0ms 15s84ms 2s532ms 2s634ms 2s949ms 15s84ms 18 47 0ms 50s758ms 4s95ms 7s384ms 24s317ms 50s758ms 19 34 0ms 1s531ms 1s345ms 2s930ms 5s354ms 7s864ms 20 20 0ms 42s212ms 5s113ms 2s545ms 6s587ms 42s212ms 21 36 0ms 8s803ms 2s557ms 5s84ms 5s316ms 10s981ms 22 33 0ms 4s982ms 2s125ms 4s755ms 6s362ms 9s226ms 23 26 0ms 4s56ms 1s601ms 3s199ms 5s33ms 5s275ms Apr 08 00 82 0ms 4m35s 5s424ms 6s99ms 17s399ms 5m10s 01 51 0ms 17s742ms 3s59ms 7s847ms 17s742ms 28s491ms 02 72 0ms 10s856ms 2s272ms 8s850ms 12s301ms 19s82ms 03 47 0ms 5s534ms 1s739ms 5s209ms 5s534ms 8s80ms 04 109 0ms 17s134ms 3s18ms 8s541ms 18s304ms 2m37s 05 107 0ms 6s142ms 2s116ms 12s804ms 20s407ms 34s979ms 06 54 0ms 50s526ms 3s763ms 8s744ms 27s327ms 55s452ms 07 28 0ms 4s759ms 2s130ms 4s357ms 4s802ms 11s136ms 08 52 0ms 14s110ms 1s857ms 5s294ms 5s852ms 14s110ms 09 134 0ms 12s864ms 2s606ms 24s785ms 29s97ms 29s894ms 10 88 0ms 50s698ms 3s764ms 24s313ms 45s597ms 57s398ms 11 56 0ms 17s865ms 3s461ms 14s63ms 17s704ms 19s146ms 12 54 0ms 8s757ms 1s621ms 4s951ms 5s559ms 8s757ms 13 49 0ms 8s691ms 2s379ms 5s995ms 10s665ms 12s721ms 14 23 0ms 50s570ms 7s208ms 10s589ms 29s965ms 50s570ms 15 37 0ms 15s978ms 2s908ms 6s950ms 15s231ms 16s752ms 16 31 0ms 5s601ms 2s145ms 4s590ms 5s601ms 9s23ms 17 18 0ms 5s206ms 1s891ms 2s547ms 5s206ms 6s321ms 18 53 0ms 50s605ms 3s810ms 5s518ms 24s171ms 50s605ms 19 40 0ms 6s611ms 1s507ms 3s697ms 4s205ms 9s332ms 20 44 0ms 4s902ms 1s521ms 4s71ms 6s61ms 7s204ms 21 60 0ms 4s155ms 1s562ms 5s222ms 6s561ms 7s170ms 22 35 0ms 11s380ms 2s718ms 7s900ms 8s15ms 11s519ms 23 23 0ms 6s962ms 2s963ms 5s148ms 6s190ms 13s651ms Apr 09 00 47 0ms 16m48s 1m43s 9s915ms 4m44s 1h6m42s 01 25 0ms 5s283ms 2s63ms 2s870ms 3s911ms 10s488ms 02 39 0ms 4s327ms 1s965ms 4s327ms 5s644ms 8s553ms 03 51 0ms 27s830ms 2s505ms 7s169ms 9s790ms 36s177ms 04 113 0ms 22s825ms 2s456ms 12s557ms 24s133ms 28s210ms 05 219 0ms 14s426ms 2s286ms 21s715ms 24s604ms 38s677ms 06 174 0ms 50s745ms 3s60ms 27s342ms 46s126ms 58s572ms 07 127 0ms 8m56s 6s362ms 9s529ms 20s845ms 8m57s 08 109 0ms 22s610ms 2s40ms 7s317ms 8s915ms 26s906ms 09 140 0ms 4m32s 7s616ms 20s496ms 3m58s 4m33s 10 106 0ms 50s806ms 3s593ms 18s743ms 26s627ms 50s806ms 11 114 0ms 5m17s 7s414ms 19s240ms 22s222ms 5m18s 12 76 0ms 1m30s 3s441ms 6s539ms 11s596ms 1m31s 13 101 0ms 44s230ms 2s975ms 9s709ms 17s862ms 58s282ms 14 104 0ms 2m57s 5s181ms 14s928ms 42s52ms 3m25s 15 87 0ms 6m14s 10s54ms 12s630ms 24s486ms 6m25s 16 82 0ms 41s986ms 3s269ms 12s113ms 19s977ms 45s532ms 17 74 0ms 22s942ms 2s170ms 5s658ms 7s565ms 24s833ms 18 84 0ms 50s507ms 3s618ms 7s943ms 25s641ms 53s348ms 19 105 0ms 1m22s 2s950ms 8s753ms 13s288ms 1m23s 20 118 0ms 4m24s 6s851ms 18s593ms 28s383ms 4m25s 21 79 0ms 22s567ms 2s664ms 9s422ms 18s390ms 31s340ms 22 275 0ms 2m33s 2s458ms 31s106ms 39s634ms 2m38s 23 93 0ms 4m5s 6s17ms 15s920ms 20s659ms 4m8s Apr 10 00 118 0ms 4m42s 6s701ms 14s662ms 19s799ms 4m50s 01 126 0ms 5m12s 5s61ms 16s732ms 23s297ms 5m20s 02 139 0ms 3m17s 4s343ms 14s111ms 24s165ms 3m19s 03 117 0ms 21s909ms 2s657ms 12s437ms 20s700ms 32s660ms 04 83 0ms 12s203ms 2s412ms 9s350ms 12s203ms 18s524ms 05 82 0ms 37s346ms 2s655ms 21s612ms 24s800ms 37s346ms 06 41 0ms 50s898ms 4s360ms 5s601ms 24s199ms 50s898ms 07 25 0ms 8s841ms 2s201ms 3s427ms 6s219ms 10s161ms 08 28 0ms 8s609ms 1s963ms 3s978ms 5s378ms 9s411ms 09 50 0ms 10s619ms 1s872ms 4s79ms 7s472ms 10s619ms 10 37 0ms 50s719ms 5s452ms 11s963ms 24s208ms 53s343ms 11 29 0ms 10s709ms 2s968ms 4s87ms 8s512ms 25s323ms 12 31 0ms 11s987ms 2s359ms 5s150ms 6s556ms 13s188ms 13 22 0ms 5s483ms 2s387ms 3s925ms 4s17ms 20s893ms 14 32 0ms 50s693ms 4s571ms 5s339ms 15s113ms 50s693ms 15 23 0ms 4s572ms 1s637ms 2s834ms 3s414ms 4s572ms 16 56 0ms 15s777ms 2s375ms 8s134ms 15s325ms 18s319ms 17 46 0ms 5s 1s535ms 5s17ms 7s591ms 10s709ms 18 50 0ms 50s943ms 4s650ms 18s437ms 27s324ms 53s476ms 19 33 0ms 16s94ms 3s25ms 5s380ms 15s300ms 18s90ms 20 39 0ms 4s159ms 1s711ms 5s443ms 5s525ms 6s433ms 21 59 0ms 5s704ms 1s803ms 6s298ms 6s552ms 9s237ms 22 127 0ms 50s141ms 4s751ms 48s809ms 59s883ms 1m 23 33 0ms 24s45ms 2s762ms 2s884ms 5s427ms 47s314ms Apr 11 00 20 0ms 4m37s 16s132ms 2s807ms 6s716ms 4m44s 01 32 0ms 17s158ms 3s670ms 10s430ms 17s158ms 26s645ms 02 28 0ms 42s242ms 5s453ms 5s571ms 17s209ms 42s936ms 03 18 0ms 4s149ms 1s756ms 2s676ms 4s127ms 6s503ms 04 18 0ms 4s330ms 2s112ms 3s915ms 4s330ms 6s124ms 05 107 0ms 16s200ms 2s364ms 19s1ms 23s979ms 24s784ms 06 51 0ms 50s635ms 4s111ms 10s271ms 27s417ms 50s635ms 07 39 0ms 16s591ms 3s362ms 12s564ms 16s576ms 18s401ms 08 28 0ms 4s72ms 1s660ms 2s959ms 4s72ms 6s505ms 09 34 0ms 5s556ms 1s700ms 4s387ms 5s556ms 6s18ms 10 26 0ms 50s578ms 6s396ms 6s796ms 24s249ms 50s578ms 11 19 0ms 16s450ms 2s619ms 1s443ms 6s371ms 16s450ms 12 39 0ms 15s737ms 2s581ms 4s83ms 9s682ms 19s792ms 13 22 0ms 15s913ms 3s671ms 3s980ms 15s644ms 18s3ms 14 22 0ms 51s26ms 5s696ms 5s393ms 11s462ms 51s26ms 15 44 0ms 5s173ms 1s459ms 2s788ms 5s66ms 10s305ms 16 47 0ms 4s14ms 1s489ms 4s776ms 4s983ms 6s483ms 17 24 0ms 5s433ms 1s576ms 2s638ms 4s6ms 5s433ms 18 23 0ms 50s480ms 6s900ms 2s762ms 27s921ms 50s480ms 19 17 0ms 3s298ms 1s522ms 2s514ms 2s809ms 3s298ms 20 56 0ms 6s674ms 2s429ms 9s321ms 17s702ms 29s516ms 21 75 0ms 6s478ms 2s61ms 12s574ms 18s375ms 27s790ms 22 31 0ms 6s272ms 2s211ms 2s871ms 12s69ms 12s998ms 23 59 0ms 7s593ms 2s295ms 7s593ms 13s890ms 24s996ms Apr 12 00 69 0ms 4m42s 6s657ms 11s937ms 25s804ms 4m50s 01 86 0ms 5s996ms 1s482ms 5s452ms 6s688ms 15s227ms 02 77 0ms 21s960ms 1s820ms 5s860ms 9s741ms 26s155ms 03 22 0ms 14s221ms 2s283ms 2s883ms 4s422ms 14s221ms 04 51 0ms 26m14s 1m33s 7s447ms 25m51s 26m16s 05 107 0ms 25m56s 24s155ms 20s621ms 57s852ms 25m56s 06 20 0ms 1h32m16s 4m39s 4s80ms 5s149ms 1h32m16s 07 17 0ms 5s420ms 2s330ms 2s845ms 6s57ms 10s503ms 08 47 0ms 37s97ms 3s234ms 5s246ms 10s323ms 1m9s 09 41 0ms 35s313ms 3s388ms 7s396ms 16s34ms 35s313ms 10 31 0ms 5m38s 24s248ms 8s89ms 17s46ms 5m38s 11 34 0ms 5m23s 21s246ms 4s294ms 22s526ms 5m24s 12 16 0ms 1m6s 5s572ms 2s564ms 2s837ms 1m9s 13 21 0ms 15s864ms 2s155ms 2s668ms 3s993ms 15s864ms 14 21 0ms 1s815ms 1s337ms 2s542ms 2s575ms 2s903ms 15 24 0ms 37s894ms 3s129ms 2s522ms 5s198ms 37s894ms 16 12 0ms 4s129ms 1s727ms 1s292ms 3s391ms 4s233ms 17 48 0ms 2s588ms 1s330ms 2s975ms 5s437ms 5s734ms 18 78 0ms 1m12s 6s381ms 42s511ms 1m5s 1m13s 19 58 0ms 25m1s 1m24s 2m4s 7m30s 25m4s 20 21 0ms 50s880ms 5s854ms 4s98ms 5s90ms 1m5s 21 24 0ms 3s937ms 1s465ms 2s778ms 3s937ms 5s509ms 22 23 0ms 4s30ms 1s414ms 2s536ms 2s718ms 6s873ms 23 56 0ms 6s957ms 2s534ms 15s131ms 17s891ms 29s967ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 06 00 20 0 16s239ms 1s424ms 2s948ms 4m37s 01 16 0 1s605ms 1s411ms 1s505ms 4s12ms 02 18 0 1s542ms 1s378ms 2s696ms 3s337ms 03 33 0 2s197ms 2s593ms 6s389ms 17s543ms 04 21 0 2s472ms 1s551ms 4s383ms 15s471ms 05 49 0 2s169ms 4s333ms 14s631ms 24s611ms 06 22 10 5s509ms 2s608ms 14s996ms 50s398ms 07 15 0 2s129ms 1s405ms 2s584ms 7s395ms 08 19 0 2s937ms 1s434ms 4s171ms 15s272ms 09 17 0 2s325ms 1s432ms 3s372ms 7s647ms 10 21 10 5s643ms 3s33ms 14s893ms 50s203ms 11 15 0 3s228ms 1s443ms 5s97ms 15s201ms 12 9 0 4s179ms 1s285ms 3s920ms 16s669ms 13 55 0 1s971ms 1s501ms 2s806ms 39s609ms 14 13 10 7s596ms 4s414ms 10s324ms 50s548ms 15 9 0 1s706ms 0ms 2s325ms 4s41ms 16 8 0 10s950ms 0ms 3s797ms 1m11s 17 8 0 3s126ms 0ms 1s371ms 15s195ms 18 12 10 14s258ms 3s890ms 24s265ms 2m39s 19 25 0 1s651ms 1s462ms 2s885ms 4s460ms 20 25 0 2s258ms 1s391ms 2s743ms 14s960ms 21 12 0 1s526ms 1s272ms 1s439ms 3s894ms 22 24 0 2s189ms 1s388ms 4s12ms 10s898ms 23 51 0 1s983ms 4s75ms 5s196ms 17s855ms Apr 07 00 42 0 9s362ms 3s134ms 6s180ms 4m33s 01 39 0 3s689ms 3s858ms 15s440ms 17s785ms 02 34 0 1s751ms 2s532ms 3s999ms 5s662ms 03 40 0 2s730ms 2s581ms 5s477ms 31s18ms 04 43 0 4s140ms 5s330ms 14s778ms 15s790ms 05 102 0 2s311ms 5s680ms 20s389ms 33s223ms 06 93 10 4s728ms 14s991ms 24s364ms 50s447ms 07 111 0 4s125ms 11s966ms 20s128ms 51s651ms 08 86 0 2s754ms 7s229ms 15s667ms 18s336ms 09 68 0 2s988ms 7s795ms 11s254ms 18s286ms 10 72 10 4s702ms 15s216ms 17s899ms 42s443ms 11 66 0 2s515ms 5s171ms 9s523ms 25s971ms 12 49 0 1s918ms 3s860ms 5s129ms 13s24ms 13 18 0 2s309ms 2s902ms 4s87ms 5s975ms 14 23 10 7s201ms 5s843ms 15s548ms 50s440ms 15 40 0 2s233ms 2s551ms 8s174ms 24s848ms 16 75 0 2s419ms 3s600ms 18s960ms 40s411ms 17 22 0 2s532ms 2s527ms 2s634ms 15s84ms 18 37 10 4s95ms 3s901ms 7s384ms 50s758ms 19 34 0 1s345ms 2s566ms 2s930ms 7s864ms 20 20 0 5s113ms 1s504ms 2s545ms 42s212ms 21 36 0 2s557ms 3s909ms 5s84ms 6s22ms 22 33 0 2s125ms 2s492ms 4s755ms 8s183ms 23 26 0 1s601ms 2s536ms 3s199ms 5s275ms Apr 08 00 71 0 5s836ms 4s36ms 6s99ms 17s399ms 01 51 0 3s59ms 4s189ms 7s847ms 28s491ms 02 72 0 2s272ms 4s309ms 8s850ms 17s453ms 03 47 0 1s739ms 2s883ms 5s209ms 8s80ms 04 107 0 3s1ms 6s247ms 8s541ms 19s997ms 05 103 0 2s109ms 6s583ms 12s804ms 34s979ms 06 44 10 3s763ms 4s128ms 8s744ms 50s526ms 07 28 0 2s130ms 1s879ms 4s357ms 11s136ms 08 52 0 1s857ms 2s773ms 5s294ms 7s116ms 09 134 0 2s606ms 13s394ms 24s785ms 29s144ms 10 78 10 3s764ms 7s991ms 20s960ms 50s698ms 11 56 0 3s461ms 4s404ms 14s63ms 17s865ms 12 53 0 1s611ms 2s837ms 4s951ms 5s617ms 13 49 0 2s379ms 5s485ms 5s995ms 12s721ms 14 13 10 7s208ms 3s11ms 10s589ms 50s570ms 15 36 0 2s889ms 3s51ms 6s950ms 16s752ms 16 31 0 2s145ms 3s68ms 4s590ms 9s23ms 17 18 0 1s891ms 1s343ms 2s547ms 6s321ms 18 43 10 3s810ms 3s934ms 5s518ms 42s187ms 19 40 0 1s507ms 2s854ms 3s697ms 9s332ms 20 44 0 1s521ms 2s722ms 4s71ms 7s204ms 21 60 0 1s562ms 3s924ms 5s222ms 7s170ms 22 35 0 2s718ms 3s53ms 7s900ms 11s519ms 23 23 0 2s963ms 3s852ms 5s148ms 13s651ms Apr 09 00 46 0 1m45s 1s585ms 9s915ms 7m52s 01 25 0 2s63ms 2s751ms 2s870ms 10s488ms 02 39 0 1s965ms 3s822ms 4s327ms 8s553ms 03 51 0 2s505ms 4s45ms 7s169ms 36s177ms 04 112 0 2s446ms 6s890ms 10s318ms 25s851ms 05 215 0 2s286ms 12s994ms 21s715ms 30s27ms 06 162 10 3s65ms 12s243ms 24s350ms 46s126ms 07 124 0 6s443ms 6s769ms 9s529ms 28s67ms 08 108 0 2s39ms 5s846ms 7s317ms 17s976ms 09 138 0 7s682ms 12s958ms 20s496ms 4m1s 10 96 10 3s593ms 8s257ms 18s743ms 42s59ms 11 114 0 7s414ms 8s607ms 19s240ms 4m9s 12 75 0 3s459ms 5s402ms 6s539ms 30s189ms 13 101 0 2s975ms 7s302ms 9s709ms 21s48ms 14 93 10 5s210ms 8s599ms 15s36ms 50s504ms 15 86 0 10s130ms 5s829ms 12s630ms 4m47s 16 80 0 3s301ms 6s248ms 12s113ms 25s160ms 17 71 0 2s147ms 4s289ms 5s658ms 9s37ms 18 72 10 3s637ms 7s37ms 9s73ms 42s226ms 19 104 0 2s957ms 6s408ms 8s753ms 18s304ms 20 118 0 6s851ms 8s51ms 18s593ms 4m14s 21 79 0 2s664ms 7s125ms 9s422ms 18s682ms 22 274 0 2s455ms 14s887ms 31s106ms 46s120ms 23 92 0 6s46ms 6s532ms 15s920ms 1m18s Apr 10 00 117 0 6s703ms 6s307ms 14s662ms 4m23s 01 123 0 5s112ms 8s552ms 16s732ms 23s394ms 02 138 0 4s360ms 11s288ms 14s111ms 24s966ms 03 117 0 2s657ms 9s40ms 12s437ms 23s190ms 04 83 0 2s412ms 6s470ms 9s350ms 12s218ms 05 78 0 2s674ms 5s781ms 21s612ms 37s346ms 06 31 10 4s360ms 2s802ms 5s601ms 50s898ms 07 25 0 2s201ms 1s378ms 3s427ms 8s841ms 08 28 0 1s963ms 1s433ms 3s978ms 8s609ms 09 50 0 1s872ms 2s787ms 4s79ms 7s949ms 10 27 10 5s452ms 4s650ms 11s963ms 50s719ms 11 29 0 2s968ms 2s581ms 4s87ms 25s323ms 12 31 0 2s359ms 2s632ms 5s150ms 13s188ms 13 22 0 2s387ms 1s407ms 3s925ms 20s893ms 14 25 7 4s571ms 2s637ms 5s339ms 50s693ms 15 23 0 1s637ms 2s495ms 2s834ms 4s572ms 16 56 0 2s375ms 5s221ms 8s134ms 18s319ms 17 46 0 1s535ms 2s949ms 5s17ms 10s709ms 18 40 10 4s650ms 4s45ms 16s399ms 50s943ms 19 33 0 3s25ms 2s833ms 5s380ms 18s90ms 20 39 0 1s711ms 2s765ms 5s443ms 6s433ms 21 58 0 1s777ms 4s139ms 6s298ms 9s237ms 22 126 0 4s762ms 20s518ms 45s375ms 1m 23 33 0 2s762ms 2s490ms 2s884ms 47s314ms Apr 11 00 19 0 16s639ms 1s392ms 2s807ms 4m37s 01 32 0 3s670ms 2s612ms 10s430ms 26s645ms 02 28 0 5s453ms 4s178ms 5s571ms 42s936ms 03 18 0 1s756ms 1s270ms 2s676ms 6s503ms 04 18 0 2s112ms 1s497ms 3s915ms 6s124ms 05 103 0 2s368ms 5s857ms 19s1ms 24s712ms 06 41 10 4s111ms 3s781ms 10s271ms 42s203ms 07 39 0 3s362ms 3s861ms 12s564ms 18s401ms 08 28 0 1s660ms 2s408ms 2s959ms 5s122ms 09 34 0 1s700ms 2s695ms 4s387ms 6s18ms 10 16 10 6s396ms 1s933ms 6s796ms 42s464ms 11 19 0 2s619ms 1s270ms 1s443ms 6s606ms 12 39 0 2s581ms 3s891ms 4s83ms 10s570ms 13 22 0 3s671ms 1s517ms 3s980ms 17s141ms 14 15 7 5s696ms 1s968ms 5s393ms 28s253ms 15 44 0 1s459ms 2s393ms 2s788ms 5s299ms 16 47 0 1s489ms 2s760ms 4s776ms 6s483ms 17 24 0 1s576ms 2s9ms 2s638ms 5s433ms 18 13 10 6s900ms 1s337ms 12s783ms 50s480ms 19 17 0 1s522ms 2s191ms 2s514ms 3s298ms 20 56 0 2s429ms 4s29ms 9s321ms 29s516ms 21 75 0 2s61ms 3s115ms 12s574ms 27s790ms 22 31 0 2s211ms 1s284ms 2s871ms 12s998ms 23 59 0 2s295ms 4s11ms 7s593ms 24s996ms Apr 12 00 67 0 6s725ms 7s426ms 11s937ms 25s890ms 01 86 0 1s482ms 4s991ms 5s452ms 9s648ms 02 77 0 1s820ms 3s935ms 5s860ms 12s263ms 03 22 0 2s283ms 2s561ms 2s883ms 14s221ms 04 51 0 1m33s 3s741ms 7s447ms 26m16s 05 103 0 25s5ms 6s513ms 20s621ms 12m53s 06 20 0 4m39s 1s501ms 4s80ms 1h32m16s 07 17 0 2s330ms 1s169ms 2s845ms 10s503ms 08 47 0 3s234ms 3s966ms 5s246ms 1m9s 09 41 0 3s388ms 2s769ms 7s396ms 17s399ms 10 31 0 24s248ms 3s617ms 8s89ms 5m38s 11 34 0 21s246ms 2s713ms 4s294ms 5m24s 12 16 0 5s572ms 1s283ms 2s564ms 1m9s 13 21 0 2s155ms 1s282ms 2s668ms 15s864ms 14 21 0 1s337ms 1s815ms 2s542ms 2s903ms 15 24 0 3s129ms 1s296ms 2s522ms 37s894ms 16 12 0 1s727ms 1s263ms 1s292ms 4s233ms 17 48 0 1s330ms 2s588ms 2s975ms 5s734ms 18 51 27 6s381ms 6s688ms 42s22ms 1m13s 19 11 47 1m24s 1m11s 2m4s 25m4s 20 17 4 5s854ms 1s377ms 4s98ms 1m5s 21 24 0 1s465ms 2s412ms 2s778ms 5s509ms 22 23 0 1s414ms 2s270ms 2s536ms 6s873ms 23 56 0 2s534ms 2s861ms 15s131ms 29s967ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 06 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 07 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 08 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 09 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 10 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 11 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 12 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 06 00 0 19 19.00 0.00% 01 0 16 16.00 0.00% 02 0 18 18.00 0.00% 03 0 33 33.00 0.00% 04 0 21 21.00 0.00% 05 0 53 53.00 0.00% 06 0 22 22.00 0.00% 07 0 15 15.00 0.00% 08 0 19 19.00 0.00% 09 0 17 17.00 0.00% 10 0 21 21.00 0.00% 11 0 15 15.00 0.00% 12 0 9 9.00 0.00% 13 0 55 55.00 0.00% 14 0 12 12.00 0.00% 15 0 9 9.00 0.00% 16 0 8 8.00 0.00% 17 0 8 8.00 0.00% 18 0 12 12.00 0.00% 19 0 25 25.00 0.00% 20 0 25 25.00 0.00% 21 0 12 12.00 0.00% 22 0 24 24.00 0.00% 23 0 51 51.00 0.00% Apr 07 00 0 41 41.00 0.00% 01 0 39 39.00 0.00% 02 0 34 34.00 0.00% 03 0 40 40.00 0.00% 04 0 43 43.00 0.00% 05 0 106 106.00 0.00% 06 0 93 93.00 0.00% 07 0 116 116.00 0.00% 08 0 87 87.00 0.00% 09 0 71 71.00 0.00% 10 0 72 72.00 0.00% 11 0 66 66.00 0.00% 12 0 49 49.00 0.00% 13 0 18 18.00 0.00% 14 0 23 23.00 0.00% 15 0 40 40.00 0.00% 16 0 80 80.00 0.00% 17 0 23 23.00 0.00% 18 0 37 37.00 0.00% 19 0 34 34.00 0.00% 20 0 20 20.00 0.00% 21 0 36 36.00 0.00% 22 0 33 33.00 0.00% 23 0 26 26.00 0.00% Apr 08 00 0 81 81.00 0.00% 01 0 51 51.00 0.00% 02 0 72 72.00 0.00% 03 0 47 47.00 0.00% 04 0 110 110.00 0.00% 05 0 107 107.00 0.00% 06 0 44 44.00 0.00% 07 0 28 28.00 0.00% 08 0 54 54.00 0.00% 09 0 134 134.00 0.00% 10 0 78 78.00 0.00% 11 0 56 56.00 0.00% 12 0 54 54.00 0.00% 13 0 49 49.00 0.00% 14 0 13 13.00 0.00% 15 0 37 37.00 0.00% 16 0 31 31.00 0.00% 17 0 18 18.00 0.00% 18 0 43 43.00 0.00% 19 0 40 40.00 0.00% 20 0 44 44.00 0.00% 21 0 60 60.00 0.00% 22 0 35 35.00 0.00% 23 0 23 23.00 0.00% Apr 09 00 0 45 45.00 0.00% 01 0 25 25.00 0.00% 02 0 39 39.00 0.00% 03 0 51 51.00 0.00% 04 0 114 114.00 0.00% 05 0 219 219.00 0.00% 06 0 164 164.00 0.00% 07 0 127 127.00 0.00% 08 0 109 109.00 0.00% 09 0 140 140.00 0.00% 10 0 96 96.00 0.00% 11 0 114 114.00 0.00% 12 0 76 76.00 0.00% 13 0 101 101.00 0.00% 14 0 94 94.00 0.00% 15 0 87 87.00 0.00% 16 0 82 82.00 0.00% 17 0 74 74.00 0.00% 18 0 74 74.00 0.00% 19 0 105 105.00 0.00% 20 0 119 119.00 0.00% 21 0 79 79.00 0.00% 22 0 275 275.00 0.00% 23 0 93 93.00 0.00% Apr 10 00 0 116 116.00 0.00% 01 0 126 126.00 0.00% 02 0 139 139.00 0.00% 03 0 117 117.00 0.00% 04 0 83 83.00 0.00% 05 0 82 82.00 0.00% 06 0 31 31.00 0.00% 07 0 29 29.00 0.00% 08 0 35 35.00 0.00% 09 0 50 50.00 0.00% 10 0 27 27.00 0.00% 11 0 31 31.00 0.00% 12 0 31 31.00 0.00% 13 0 23 23.00 0.00% 14 0 29 29.00 0.00% 15 0 23 23.00 0.00% 16 0 57 57.00 0.00% 17 0 46 46.00 0.00% 18 0 40 40.00 0.00% 19 0 33 33.00 0.00% 20 0 39 39.00 0.00% 21 0 59 59.00 0.00% 22 0 127 127.00 0.00% 23 0 33 33.00 0.00% Apr 11 00 0 18 18.00 0.00% 01 0 32 32.00 0.00% 02 0 28 28.00 0.00% 03 0 18 18.00 0.00% 04 0 18 18.00 0.00% 05 0 107 107.00 0.00% 06 0 41 41.00 0.00% 07 0 40 40.00 0.00% 08 0 31 31.00 0.00% 09 0 35 35.00 0.00% 10 0 16 16.00 0.00% 11 0 20 20.00 0.00% 12 0 40 40.00 0.00% 13 0 22 22.00 0.00% 14 0 19 19.00 0.00% 15 0 48 48.00 0.00% 16 0 50 50.00 0.00% 17 0 24 24.00 0.00% 18 0 13 13.00 0.00% 19 0 17 17.00 0.00% 20 0 56 56.00 0.00% 21 0 75 75.00 0.00% 22 0 31 31.00 0.00% 23 0 59 59.00 0.00% Apr 12 00 0 67 67.00 0.00% 01 0 86 86.00 0.00% 02 0 77 77.00 0.00% 03 0 22 22.00 0.00% 04 0 51 51.00 0.00% 05 0 107 107.00 0.00% 06 0 20 20.00 0.00% 07 0 17 17.00 0.00% 08 0 47 47.00 0.00% 09 0 41 41.00 0.00% 10 0 31 31.00 0.00% 11 0 34 34.00 0.00% 12 0 16 16.00 0.00% 13 0 21 21.00 0.00% 14 0 21 21.00 0.00% 15 0 24 24.00 0.00% 16 0 12 12.00 0.00% 17 0 48 48.00 0.00% 18 0 52 52.00 0.00% 19 0 11 11.00 0.00% 20 0 17 17.00 0.00% 21 0 24 24.00 0.00% 22 0 23 23.00 0.00% 23 0 56 56.00 0.00% Day Hour Count Average / Second Apr 06 00 92 0.03/s 01 85 0.02/s 02 79 0.02/s 03 76 0.02/s 04 81 0.02/s 05 96 0.03/s 06 85 0.02/s 07 81 0.02/s 08 83 0.02/s 09 87 0.02/s 10 72 0.02/s 11 92 0.03/s 12 82 0.02/s 13 81 0.02/s 14 90 0.03/s 15 80 0.02/s 16 76 0.02/s 17 80 0.02/s 18 81 0.02/s 19 74 0.02/s 20 83 0.02/s 21 75 0.02/s 22 88 0.02/s 23 96 0.03/s Apr 07 00 78 0.02/s 01 85 0.02/s 02 90 0.03/s 03 122 0.03/s 04 100 0.03/s 05 111 0.03/s 06 121 0.03/s 07 118 0.03/s 08 100 0.03/s 09 116 0.03/s 10 141 0.04/s 11 92 0.03/s 12 86 0.02/s 13 82 0.02/s 14 164 0.05/s 15 85 0.02/s 16 87 0.02/s 17 81 0.02/s 18 83 0.02/s 19 76 0.02/s 20 77 0.02/s 21 108 0.03/s 22 86 0.02/s 23 101 0.03/s Apr 08 00 156 0.04/s 01 89 0.02/s 02 216 0.06/s 03 82 0.02/s 04 87 0.02/s 05 112 0.03/s 06 92 0.03/s 07 77 0.02/s 08 93 0.03/s 09 92 0.03/s 10 89 0.02/s 11 86 0.02/s 12 88 0.02/s 13 84 0.02/s 14 79 0.02/s 15 86 0.02/s 16 79 0.02/s 17 74 0.02/s 18 83 0.02/s 19 76 0.02/s 20 81 0.02/s 21 88 0.02/s 22 87 0.02/s 23 87 0.02/s Apr 09 00 959 0.27/s 01 211 0.06/s 02 61 0.02/s 03 64 0.02/s 04 63 0.02/s 05 104 0.03/s 06 96 0.03/s 07 104 0.03/s 08 113 0.03/s 09 412 0.11/s 10 95 0.03/s 11 95 0.03/s 12 88 0.02/s 13 100 0.03/s 14 97 0.03/s 15 87 0.02/s 16 87 0.02/s 17 90 0.03/s 18 83 0.02/s 19 92 0.03/s 20 98 0.03/s 21 87 0.02/s 22 145 0.04/s 23 90 0.03/s Apr 10 00 88 0.02/s 01 92 0.03/s 02 109 0.03/s 03 96 0.03/s 04 125 0.03/s 05 98 0.03/s 06 94 0.03/s 07 83 0.02/s 08 89 0.02/s 09 87 0.02/s 10 92 0.03/s 11 88 0.02/s 12 86 0.02/s 13 83 0.02/s 14 81 0.02/s 15 69 0.02/s 16 91 0.03/s 17 78 0.02/s 18 82 0.02/s 19 76 0.02/s 20 86 0.02/s 21 90 0.03/s 22 104 0.03/s 23 85 0.02/s Apr 11 00 84 0.02/s 01 148 0.04/s 02 123 0.03/s 03 81 0.02/s 04 87 0.02/s 05 114 0.03/s 06 121 0.03/s 07 88 0.02/s 08 84 0.02/s 09 83 0.02/s 10 83 0.02/s 11 85 0.02/s 12 84 0.02/s 13 87 0.02/s 14 81 0.02/s 15 85 0.02/s 16 103 0.03/s 17 83 0.02/s 18 84 0.02/s 19 83 0.02/s 20 79 0.02/s 21 81 0.02/s 22 83 0.02/s 23 82 0.02/s Apr 12 00 91 0.03/s 01 94 0.03/s 02 114 0.03/s 03 76 0.02/s 04 85 0.02/s 05 102 0.03/s 06 83 0.02/s 07 78 0.02/s 08 82 0.02/s 09 116 0.03/s 10 83 0.02/s 11 93 0.03/s 12 84 0.02/s 13 79 0.02/s 14 75 0.02/s 15 78 0.02/s 16 74 0.02/s 17 81 0.02/s 18 87 0.02/s 19 73 0.02/s 20 83 0.02/s 21 86 0.02/s 22 81 0.02/s 23 86 0.02/s Day Hour Count Average Duration Average idle time Apr 06 00 92 26m45s 26m42s 01 85 28m50s 28m49s 02 79 29m54s 29m54s 03 76 32m17s 32m16s 04 81 25m58s 25m57s 05 96 28m4s 28m3s 06 85 28m22s 28m20s 07 81 29m53s 29m53s 08 83 28m32s 28m31s 09 87 27m35s 27m35s 10 72 30m56s 30m54s 11 92 26m21s 26m21s 12 82 30m8s 30m8s 13 81 30m39s 30m38s 14 90 27m21s 27m19s 15 80 30m18s 30m18s 16 76 31m17s 31m16s 17 80 30m4s 30m4s 18 81 30m8s 30m4s 19 74 30m36s 30m35s 20 83 29m8s 29m7s 21 75 29m22s 29m22s 22 88 28m 27m59s 23 96 26m37s 26m36s Apr 07 00 78 29m10s 29m5s 01 85 28m42s 28m41s 02 90 25m59s 25m58s 03 122 19m41s 19m40s 04 100 24m50s 24m48s 05 111 22m33s 22m31s 06 121 20m20s 20m16s 07 118 19m9s 19m5s 08 100 25m8s 25m6s 09 116 20m41s 20m39s 10 141 17m21s 17m19s 11 92 25m32s 25m31s 12 86 26m54s 26m53s 13 82 28m53s 28m53s 14 164 15m25s 15m24s 15 85 28m57s 28m56s 16 87 27m29s 27m27s 17 81 28m36s 28m35s 18 83 26m39s 26m37s 19 76 31m50s 31m50s 20 77 31m17s 31m15s 21 108 21m2s 21m1s 22 86 28m44s 28m43s 23 101 23m24s 23m23s Apr 08 00 156 16m48s 16m45s 01 89 26m41s 26m39s 02 216 11m17s 11m17s 03 82 28m21s 28m20s 04 87 27m6s 27m3s 05 112 21m43s 21m41s 06 92 26m33s 26m30s 07 77 29m51s 29m51s 08 93 27m3s 27m1s 09 92 26m43s 26m39s 10 89 26m49s 26m46s 11 86 27m4s 27m1s 12 88 27m52s 27m51s 13 84 28m44s 28m42s 14 79 30m22s 30m20s 15 86 27m46s 27m45s 16 79 28m43s 28m42s 17 74 33m2s 33m1s 18 83 28m15s 28m13s 19 76 30m47s 30m46s 20 81 31m21s 31m20s 21 88 25m18s 25m17s 22 87 25m51s 25m50s 23 87 30m55s 30m54s Apr 09 00 951 2m59s 2m54s 01 218 10m31s 10m31s 02 61 30m41s 30m40s 03 64 30m39s 30m37s 04 63 30m48s 30m44s 05 105 41m5s 41m 06 96 25m14s 25m9s 07 104 22m58s 22m51s 08 113 21m59s 21m57s 09 412 5m54s 5m51s 10 95 25m29s 25m25s 11 95 25m11s 25m3s 12 88 27m8s 27m5s 13 99 24m23s 24m20s 14 97 24m57s 24m51s 15 88 28m4s 27m54s 16 87 26m5s 26m2s 17 90 26m4s 26m3s 18 83 28m54s 28m51s 19 92 25m40s 25m37s 20 98 24m40s 24m31s 21 87 26m6s 26m4s 22 145 17m6s 17m2s 23 90 26m33s 26m27s Apr 10 00 88 27m18s 27m9s 01 92 26m15s 26m8s 02 109 21m57s 21m52s 03 96 25m51s 25m48s 04 124 20m1s 19m59s 05 99 23m11s 23m9s 06 94 25m59s 25m57s 07 83 29m8s 29m7s 08 89 27m54s 27m53s 09 87 27m11s 27m10s 10 88 27m21s 27m19s 11 88 28m4s 28m3s 12 86 27m58s 27m57s 13 82 29m48s 29m48s 14 81 29m38s 29m36s 15 69 31m20s 31m19s 16 91 27m22s 27m21s 17 78 29m57s 29m56s 18 82 29m30s 29m27s 19 76 31m30s 31m29s 20 86 28m15s 28m14s 21 91 33m5s 33m3s 22 108 48m3s 47m57s 23 85 27m26s 27m24s Apr 11 00 84 29m31s 29m27s 01 148 16m26s 16m25s 02 123 19m30s 19m29s 03 81 29m16s 29m16s 04 87 28m3s 28m3s 05 114 21m1s 20m58s 06 121 19m55s 19m53s 07 88 27m53s 27m52s 08 84 28m15s 28m14s 09 83 27m54s 27m53s 10 83 29m32s 29m30s 11 85 28m41s 28m40s 12 84 28m14s 28m13s 13 87 28m4s 28m4s 14 81 27m4s 27m2s 15 85 29m30s 29m30s 16 103 23m10s 23m9s 17 83 29m14s 29m13s 18 84 29m12s 29m10s 19 83 28m58s 28m58s 20 79 29m16s 29m14s 21 81 28m19s 28m17s 22 83 29m43s 29m43s 23 82 30m12s 30m10s Apr 12 00 91 26m12s 26m7s 01 94 25m38s 25m37s 02 114 21m42s 21m41s 03 76 30m8s 30m8s 04 85 29m 28m4s 05 101 24m23s 23m58s 06 84 28m47s 27m41s 07 78 31m52s 31m51s 08 82 28m33s 28m31s 09 116 21m39s 21m38s 10 83 28m58s 28m49s 11 93 26m37s 26m29s 12 84 28m3s 28m2s 13 79 29m31s 29m31s 14 75 29m35s 29m35s 15 78 32m39s 32m38s 16 74 31m8s 31m8s 17 81 30m38s 30m37s 18 86 27m31s 27m25s 19 73 33m39s 32m31s 20 84 30m34s 30m32s 21 86 26m42s 26m42s 22 81 29m25s 29m25s 23 86 28m49s 28m48s -
Connections
Established Connections
Key values
- 29 connections Connection Peak
- 2025-04-09 00:40:12 Date
Connections per database
Key values
- ctdprd51 Main Database
- 16,581 connections Total
Connections per user
Key values
- pubeu Main User
- 16,581 connections Total
-
Sessions
Simultaneous sessions
Key values
- 88 sessions Session Peak
- 2025-04-09 00:26:09 Date
Histogram of session times
Key values
- 11,816 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 16,581 sessions Total
Sessions per user
Key values
- pubeu Main User
- 16,581 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 16,581 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 144,782 buffers Checkpoint Peak
- 2025-04-10 21:19:57 Date
- 1619.896 seconds Highest write time
- 0.005 seconds Sync time
Checkpoints Wal files
Key values
- 45 files Wal files usage Peak
- 2025-04-10 03:49:56 Date
Checkpoints distance
Key values
- 2,368.87 Mo Distance Peak
- 2025-04-11 08:49:58 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Apr 06 00 1,597 160.096s 0.004s 160.214s 01 459 46.17s 0.002s 46.249s 02 417 41.768s 0.003s 41.8s 03 503 50.651s 0.002s 50.684s 04 2,071 207.293s 0.003s 207.324s 05 629 63.096s 0.003s 63.126s 06 788 79.096s 0.003s 79.174s 07 3,013 301.798s 0.003s 301.875s 08 607 60.893s 0.003s 60.923s 09 11,060 1,107.361s 0.003s 1,107.511s 10 1,125 112.597s 0.004s 112.675s 11 632 63.49s 0.003s 63.52s 12 1,898 190.163s 0.002s 190.193s 13 577 57.959s 0.003s 58.037s 14 3,511 351.668s 0.003s 351.745s 15 798 80.123s 0.004s 80.203s 16 829 83.119s 0.003s 83.148s 17 1,151 115.461s 0.004s 115.491s 18 807 80.909s 0.003s 80.94s 19 4,478 448.424s 0.003s 448.527s 20 913 91.41s 0.004s 91.44s 21 1,164 116.658s 0.003s 116.738s 22 4,681 468.796s 0.003s 468.886s 23 4,889 489.596s 0.002s 489.671s Apr 07 00 64,777 2,362.141s 0.006s 2,362.717s 01 5,139 514.659s 0.003s 514.759s 02 673 67.492s 0.002s 67.521s 03 758 76.01s 0.004s 76.041s 04 721 72.316s 0.004s 72.397s 05 471 47.263s 0.001s 47.278s 06 112,310 2,030.963s 0.003s 2,031.529s 07 6,205 621.57s 0.003s 621.647s 08 1,432 143.487s 0.003s 143.519s 09 2,753 275.869s 0.002s 275.914s 10 1,358 136.241s 0.003s 136.32s 11 1,278 128.205s 0.003s 128.235s 12 958 96.05s 0.002s 96.079s 13 821 82.448s 0.003s 82.481s 14 1,506 150.988s 0.003s 151.065s 15 1,023 102.659s 0.002s 102.736s 16 1,257 125.994s 0.002s 126.025s 17 1,030 103.251s 0.002s 103.281s 18 2,274 227.851s 0.003s 227.93s 19 1,112 111.444s 0.002s 111.474s 20 1,007 100.943s 0.003s 101.019s 21 1,353 135.648s 0.002s 135.68s 22 6,418 642.765s 0.002s 642.878s 23 1,703 170.636s 0.003s 170.667s Apr 08 00 1,177 118.032s 0.003s 118.127s 01 2,403 240.806s 0.004s 240.85s 02 2,705 271.177s 0.004s 271.224s 03 3,376 338.013s 0.002s 338.076s 04 54,052 2,756.899s 0.005s 2,757.402s 05 7,019 702.767s 0.003s 702.879s 06 5,523 552.988s 0.004s 553.056s 07 1,264 126.677s 0.002s 126.706s 08 3,798 380.45s 0.004s 380.497s 09 6,085 609.554s 0.004s 609.622s 10 2,587 259.23s 0.003s 259.274s 11 1,194 119.679s 0.004s 119.759s 12 857 85.907s 0.003s 85.937s 13 338 33.958s 0.001s 33.973s 14 5,346 535.479s 0.004s 535.595s 15 1,115 111.793s 0.003s 111.825s 16 848 85.12s 0.002s 85.199s 17 890 89.151s 0.002s 89.166s 18 6,077 608.663s 0.005s 608.748s 19 1,160 116.192s 0.004s 116.272s 20 1,043 104.607s 0.003s 104.639s 21 882 88.355s 0.001s 88.371s 22 51,587 1,670.112s 0.004s 1,670.601s 23 37,146 1,827.523s 0.005s 1,827.654s Apr 09 00 61,398 1,619.896s 0.003s 1,620.488s 01 5,526 553.359s 0.003s 553.389s 02 130,281 1,641.701s 0.003s 1,642.169s 03 553 55.49s 0.002s 55.521s 04 9,633 964.679s 0.003s 964.804s 05 12,270 1,228.719s 0.002s 1,228.888s 06 7,930 794.2s 0.005s 794.34s 07 1,035 103.66s 0.003s 103.691s 08 1,280 128.338s 0.003s 128.37s 09 1,071 107.392s 0.004s 107.489s 10 1,537 154.032s 0.003s 154.061s 11 1,423 142.531s 0.003s 142.562s 12 1,183 118.673s 0.003s 118.748s 13 1,142 114.48s 0.003s 114.509s 14 1,550 155.345s 0.003s 155.376s 15 1,291 129.398s 0.003s 129.478s 16 1,099 110.19s 0.004s 110.22s 17 1,436 143.838s 0.004s 143.917s 18 1,668 167.147s 0.004s 167.176s 19 1,374 137.629s 0.004s 137.709s 20 1,627 162.978s 0.003s 163.009s 21 637 63.886s 0.002s 63.901s 22 18,997 1,902.196s 0.003s 1,902.371s 23 113,788 2,134.088s 0.004s 2,135.031s Apr 10 00 6,319 632.889s 0.003s 633.079s 01 914 91.647s 0.003s 91.678s 02 872 87.347s 0.004s 87.426s 03 69,966 1,651.585s 0.004s 1,652.188s 04 14,084 1,410.052s 0.003s 1,410.222s 05 1,563 156.677s 0.004s 156.708s 06 1,228 123.085s 0.004s 123.164s 07 1,045 104.765s 0.004s 104.797s 08 4,680 468.722s 0.004s 468.777s 09 1,965 196.91s 0.004s 196.941s 10 1,180 118.285s 0.003s 118.36s 11 5,809 581.954s 0.003s 582.053s 12 2,822 282.743s 0.003s 282.786s 13 680 68.291s 0.003s 68.321s 14 1,044 104.684s 0.002s 104.763s 15 1,234 123.704s 0.003s 123.733s 16 1,079 108.164s 0.004s 108.242s 17 1,602 160.567s 0.003s 160.597s 18 1,034 103.575s 0.006s 103.609s 19 1,200 120.265s 0.002s 120.346s 20 497 49.867s 0.002s 49.882s 21 146,042 1,745.93s 0.005s 1,746.504s 22 2,138 214.278s 0.003s 214.309s 23 1,373 137.615s 0.003s 137.691s Apr 11 00 1,669 167.261s 0.003s 167.39s 01 1,744 174.777s 0.004s 174.855s 02 660 66.21s 0.002s 66.24s 03 695 69.691s 0.003s 69.721s 04 811 81.325s 0.002s 81.354s 05 1,634 163.677s 0.001s 163.741s 06 50,337 1,688.43s 0.003s 1,688.883s 07 61,400 2,197.126s 0.004s 2,197.739s 08 141,611 2,499.236s 0.004s 2,500.288s 09 7,167 717.792s 0.005s 717.887s 10 1,622 162.449s 0.004s 162.48s 11 1,001 100.341s 0.002s 100.418s 12 1,243 124.586s 0.003s 124.616s 13 4,299 430.574s 0.002s 430.666s 14 1,675 167.663s 0.003s 167.695s 15 1,462 146.516s 0.004s 146.595s 16 6,895 690.367s 0.004s 690.482s 17 586 58.774s 0.001s 58.789s 18 12,522 1,253.414s 0.006s 1,253.576s 19 1,261 126.276s 0.007s 126.358s 20 1,463 146.608s 0.003s 146.639s 21 6,144 615.326s 0.003s 615.394s 22 1,851 185.469s 0.003s 185.548s 23 1,867 186.985s 0.003s 187.064s Apr 12 00 3,851 385.677s 0.004s 385.783s 01 733 73.513s 0.002s 73.549s 02 473 47.407s 0.001s 47.423s 03 6,736 674.259s 0.003s 674.388s 04 430 43.066s 0.001s 43.08s 05 6,424 643.302s 0.002s 643.417s 06 7,696 770.558s 0.005s 770.653s 07 1,323 132.593s 0.002s 132.67s 08 819 82.114s 0.002s 82.144s 09 1,054 105.654s 0.006s 105.687s 10 1,903 190.716s 0.002s 190.793s 11 1,094 109.653s 0.002s 109.692s 12 4,910 491.625s 0.002s 491.728s 13 1,076 107.848s 0.002s 107.878s 14 1,121 112.45s 0.002s 112.481s 15 1,192 119.464s 0.002s 119.543s 16 1,090 109.249s 0.002s 109.279s 17 1,257 125.886s 0.003s 125.961s 18 667 66.803s 0.002s 66.818s 19 81,224 2,255.881s 0.004s 2,256.01s 20 1,571 157.429s 0.003s 157.461s 21 1,531 153.336s 0.002s 153.414s 22 1,227 122.97s 0.002s 122.998s 23 2,545 254.986s 0.002s 255.031s Day Hour Added Removed Recycled Synced files Longest sync Average sync Apr 06 00 0 0 1 80 0.001s 0.002s 01 0 0 1 35 0.001s 0.002s 02 0 0 0 37 0.001s 0.002s 03 0 0 0 41 0.001s 0.002s 04 0 0 0 45 0.001s 0.002s 05 0 0 0 32 0.001s 0.002s 06 0 0 1 25 0.001s 0.002s 07 0 0 1 44 0.001s 0.002s 08 0 0 0 30 0.001s 0.002s 09 0 0 7 42 0.001s 0.002s 10 0 0 1 39 0.001s 0.002s 11 0 0 0 22 0.001s 0.002s 12 0 0 0 42 0.001s 0.002s 13 0 0 1 24 0.001s 0.002s 14 0 0 1 31 0.001s 0.002s 15 0 0 1 29 0.001s 0.002s 16 0 0 0 20 0.001s 0.002s 17 0 0 0 32 0.001s 0.002s 18 0 0 0 21 0.001s 0.002s 19 0 0 3 40 0.001s 0.002s 20 0 0 0 23 0.001s 0.002s 21 0 0 1 29 0.001s 0.002s 22 0 0 2 36 0.001s 0.002s 23 0 0 2 22 0.001s 0.001s Apr 07 00 0 0 39 142 0.001s 0.003s 01 0 0 3 46 0.001s 0.002s 02 0 0 0 37 0.001s 0.002s 03 0 0 0 36 0.001s 0.002s 04 0 0 1 40 0.001s 0.002s 05 0 0 0 18 0.001s 0.001s 06 0 0 38 82 0.001s 0.003s 07 0 0 1 82 0.001s 0.002s 08 0 0 0 93 0.001s 0.002s 09 0 0 1 122 0.001s 0.002s 10 0 0 1 51 0.001s 0.002s 11 0 0 0 36 0.002s 0.002s 12 0 0 0 22 0.001s 0.002s 13 0 0 0 28 0.001s 0.002s 14 0 0 1 58 0.001s 0.002s 15 0 0 1 31 0.001s 0.002s 16 0 0 0 127 0.001s 0.002s 17 0 0 0 103 0.001s 0.002s 18 0 0 1 68 0.001s 0.002s 19 0 0 0 31 0.001s 0.002s 20 0 0 1 24 0.001s 0.002s 21 0 0 0 39 0.001s 0.002s 22 0 0 4 36 0.001s 0.002s 23 0 0 0 36 0.001s 0.002s Apr 08 00 0 0 2 83 0.001s 0.002s 01 0 0 1 47 0.001s 0.002s 02 0 0 1 51 0.001s 0.002s 03 0 0 1 33 0.001s 0.001s 04 0 0 33 88 0.001s 0.003s 05 0 0 4 48 0.001s 0.002s 06 0 0 3 52 0.001s 0.002s 07 0 0 0 94 0.001s 0.002s 08 0 0 1 149 0.001s 0.002s 09 0 0 3 43 0.001s 0.002s 10 0 0 1 48 0.001s 0.002s 11 0 0 1 29 0.001s 0.002s 12 0 0 0 28 0.001s 0.002s 13 0 0 0 15 0.001s 0.001s 14 0 0 3 44 0.001s 0.003s 15 0 0 0 42 0.001s 0.002s 16 0 0 1 20 0.001s 0.002s 17 0 0 0 18 0.001s 0.001s 18 0 0 3 48 0.001s 0.003s 19 0 0 1 29 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 0 23 0.001s 0.001s 22 0 0 35 46 0.001s 0.002s 23 0 0 4 82 0.002s 0.003s Apr 09 00 0 0 45 75 0.001s 0.001s 01 0 0 0 46 0.001s 0.002s 02 0 0 34 50 0.001s 0.002s 03 0 0 0 36 0.001s 0.002s 04 0 0 6 52 0.001s 0.002s 05 0 0 10 31 0.001s 0.001s 06 0 0 2 73 0.001s 0.003s 07 0 0 0 40 0.001s 0.002s 08 0 0 0 41 0.001s 0.002s 09 0 0 1 28 0.001s 0.002s 10 0 0 0 41 0.001s 0.002s 11 0 0 0 32 0.001s 0.002s 12 0 0 1 29 0.001s 0.002s 13 0 0 0 36 0.001s 0.002s 14 0 0 0 30 0.001s 0.002s 15 0 0 1 30 0.001s 0.002s 16 0 0 0 20 0.001s 0.002s 17 0 0 1 26 0.001s 0.002s 18 0 0 0 23 0.001s 0.002s 19 0 0 1 28 0.001s 0.002s 20 0 0 0 27 0.002s 0.002s 21 0 0 0 11 0.001s 0.001s 22 0 0 12 45 0.001s 0.002s 23 0 0 70 75 0.001s 0.003s Apr 10 00 0 0 4 91 0.001s 0.002s 01 0 0 0 39 0.001s 0.002s 02 0 0 1 37 0.001s 0.002s 03 0 0 45 50 0.001s 0.002s 04 0 0 9 45 0.001s 0.002s 05 0 0 0 46 0.001s 0.002s 06 0 0 1 37 0.001s 0.002s 07 0 0 0 123 0.001s 0.002s 08 0 0 2 148 0.001s 0.002s 09 0 0 0 132 0.001s 0.002s 10 0 0 1 121 0.001s 0.002s 11 0 0 3 131 0.001s 0.002s 12 0 0 1 141 0.001s 0.002s 13 0 0 0 113 0.001s 0.002s 14 0 0 1 123 0.001s 0.002s 15 0 0 0 127 0.001s 0.002s 16 0 0 1 106 0.001s 0.002s 17 0 0 0 30 0.001s 0.002s 18 0 0 0 25 0.003s 0.002s 19 0 0 1 26 0.001s 0.002s 20 0 0 0 10 0.001s 0.001s 21 0 0 38 72 0.001s 0.003s 22 0 0 0 34 0.001s 0.002s 23 0 0 1 29 0.001s 0.002s Apr 11 00 0 0 2 80 0.001s 0.002s 01 0 0 1 57 0.001s 0.002s 02 0 0 0 32 0.001s 0.002s 03 0 0 0 38 0.001s 0.002s 04 0 0 0 33 0.001s 0.002s 05 0 0 1 31 0.001s 0.001s 06 0 0 33 59 0.001s 0.002s 07 0 0 44 142 0.001s 0.002s 08 0 0 80 158 0.001s 0.002s 09 0 0 1 206 0.001s 0.003s 10 0 0 0 138 0.001s 0.002s 11 0 0 1 69 0.001s 0.002s 12 0 0 0 121 0.001s 0.002s 13 0 0 2 152 0.001s 0.002s 14 0 0 0 132 0.001s 0.002s 15 0 0 1 133 0.001s 0.002s 16 0 0 4 144 0.001s 0.002s 17 0 0 0 10 0.001s 0.001s 18 0 0 7 58 0.001s 0.003s 19 0 0 1 22 0.004s 0.002s 20 0 0 0 27 0.001s 0.002s 21 0 0 3 40 0.001s 0.002s 22 0 0 1 24 0.001s 0.002s 23 0 0 1 36 0.001s 0.002s Apr 12 00 0 0 3 90 0.001s 0.002s 01 0 0 0 41 0.001s 0.002s 02 0 0 0 23 0.001s 0.001s 03 0 0 4 71 0.001s 0.003s 04 0 0 0 20 0.001s 0.001s 05 0 0 4 51 0.001s 0.002s 06 0 0 4 71 0.002s 0.003s 07 0 0 1 41 0.001s 0.002s 08 0 0 0 23 0.001s 0.002s 09 0 0 0 30 0.004s 0.002s 10 0 0 1 44 0.001s 0.002s 11 0 0 0 34 0.001s 0.002s 12 0 0 3 35 0.001s 0.002s 13 0 0 0 30 0.001s 0.002s 14 0 0 0 23 0.001s 0.002s 15 0 0 1 31 0.001s 0.002s 16 0 0 0 22 0.001s 0.002s 17 0 0 1 29 0.002s 0.002s 18 0 0 0 58 0.001s 0.001s 19 0 0 4 122 0.001s 0.003s 20 0 0 0 25 0.002s 0.002s 21 0 0 1 31 0.001s 0.002s 22 0 0 0 24 0.001s 0.002s 23 0 0 1 34 0.001s 0.002s Day Hour Count Avg time (sec) Apr 06 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 07 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 08 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 09 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 10 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 11 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 12 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 06 00 9,365.50 kB 16,264.00 kB 01 1,040.50 kB 13,403.50 kB 02 1,092.50 kB 11,060.00 kB 03 1,232.50 kB 9,187.00 kB 04 3,907.00 kB 8,092.50 kB 05 1,579.50 kB 6,908.50 kB 06 1,209.50 kB 5,862.50 kB 07 10,861.50 kB 12,635.50 kB 08 1,784.50 kB 17,409.00 kB 09 57,082.00 kB 106,623.50 kB 10 3,248.50 kB 86,932.50 kB 11 1,645.00 kB 70,799.50 kB 12 5,500.00 kB 58,069.50 kB 13 1,563.00 kB 47,662.50 kB 14 14,871.00 kB 41,430.00 kB 15 2,022.50 kB 33,897.50 kB 16 2,101.00 kB 27,872.50 kB 17 2,461.50 kB 23,018.50 kB 18 2,345.00 kB 19,110.00 kB 19 19,134.00 kB 33,700.50 kB 20 2,612.00 kB 27,807.50 kB 21 2,880.50 kB 23,043.00 kB 22 16,614.00 kB 25,261.50 kB 23 43,788.00 kB 43,788.00 kB Apr 07 00 210,869.33 kB 508,788.33 kB 01 25,043.00 kB 397,801.50 kB 02 1,761.50 kB 322,541.00 kB 03 1,954.00 kB 261,624.50 kB 04 1,968.50 kB 212,286.50 kB 05 2,379.00 kB 181,337.00 kB 06 190,710.67 kB 495,453.00 kB 07 32,848.00 kB 387,377.50 kB 08 3,594.50 kB 314,365.00 kB 09 8,611.50 kB 256,374.00 kB 10 3,605.50 kB 208,353.00 kB 11 3,418.00 kB 169,417.50 kB 12 1,970.00 kB 137,610.50 kB 13 2,057.00 kB 111,841.00 kB 14 5,408.50 kB 91,325.50 kB 15 3,059.00 kB 74,857.50 kB 16 3,369.50 kB 61,231.50 kB 17 3,010.50 kB 50,187.50 kB 18 5,629.00 kB 41,635.50 kB 19 2,969.00 kB 34,360.00 kB 20 2,830.00 kB 28,377.50 kB 21 3,471.00 kB 23,588.00 kB 22 31,834.00 kB 57,458.50 kB 23 3,956.00 kB 47,265.00 kB Apr 08 00 13,055.00 kB 40,882.50 kB 01 8,830.50 kB 34,789.00 kB 02 4,880.50 kB 28,819.00 kB 03 25,207.00 kB 27,464.00 kB 04 177,729.33 kB 385,078.67 kB 05 31,418.50 kB 304,378.00 kB 06 24,431.50 kB 251,255.50 kB 07 3,294.50 kB 204,039.00 kB 08 10,141.50 kB 167,049.50 kB 09 24,227.50 kB 140,123.50 kB 10 9,145.50 kB 115,242.50 kB 11 3,021.00 kB 93,930.00 kB 12 2,229.00 kB 76,548.50 kB 13 1,721.00 kB 65,518.00 kB 14 16,224.00 kB 57,500.67 kB 15 3,259.50 kB 44,765.00 kB 16 2,435.50 kB 36,718.50 kB 17 3,483.00 kB 31,774.00 kB 18 18,166.00 kB 44,722.33 kB 19 3,097.50 kB 34,986.50 kB 20 2,950.50 kB 28,889.00 kB 21 5,152.00 kB 25,288.00 kB 22 281,423.50 kB 531,266.00 kB 23 23,610.33 kB 415,194.67 kB Apr 09 00 675,134.00 kB 675,134.00 kB 01 27,733.50 kB 582,431.50 kB 02 283,187.50 kB 536,635.00 kB 03 1,658.00 kB 434,983.50 kB 04 47,262.50 kB 361,307.00 kB 05 119,967.00 kB 320,150.00 kB 06 22,090.00 kB 266,048.33 kB 07 2,592.50 kB 204,576.00 kB 08 2,752.50 kB 166,193.50 kB 09 2,675.00 kB 135,170.50 kB 10 4,009.50 kB 110,126.50 kB 11 3,029.00 kB 89,895.50 kB 12 2,571.50 kB 73,318.00 kB 13 2,959.00 kB 59,944.50 kB 14 3,127.00 kB 49,111.00 kB 15 3,324.50 kB 40,396.50 kB 16 3,029.50 kB 33,316.00 kB 17 3,404.50 kB 27,632.00 kB 18 3,440.50 kB 23,014.00 kB 19 3,731.00 kB 19,352.00 kB 20 4,012.50 kB 16,399.00 kB 21 3,660.00 kB 14,556.00 kB 22 98,084.50 kB 102,361.00 kB 23 382,405.00 kB 730,588.00 kB Apr 10 00 31,087.50 kB 853,792.00 kB 01 1,955.50 kB 693,026.50 kB 02 2,171.50 kB 561,754.00 kB 03 370,420.50 kB 701,842.00 kB 04 72,903.50 kB 582,369.00 kB 05 4,755.50 kB 472,369.00 kB 06 2,529.50 kB 383,337.50 kB 07 3,122.00 kB 311,055.00 kB 08 15,260.50 kB 254,307.50 kB 09 5,689.00 kB 207,600.50 kB 10 3,051.00 kB 168,728.50 kB 11 27,004.50 kB 141,677.50 kB 12 8,202.50 kB 116,477.50 kB 13 1,912.00 kB 94,735.50 kB 14 2,931.00 kB 77,251.00 kB 15 3,627.50 kB 63,239.50 kB 16 3,249.50 kB 51,845.50 kB 17 3,468.00 kB 42,645.50 kB 18 2,966.50 kB 35,133.00 kB 19 3,609.50 kB 29,143.50 kB 20 2,944.00 kB 25,283.00 kB 21 206,489.67 kB 552,451.33 kB 22 5,157.00 kB 424,726.00 kB 23 3,837.00 kB 344,779.00 kB Apr 11 00 16,908.00 kB 282,573.00 kB 01 4,968.50 kB 229,780.00 kB 02 1,762.00 kB 186,493.50 kB 03 1,968.50 kB 151,424.00 kB 04 2,155.50 kB 123,046.50 kB 05 10,997.00 kB 106,121.00 kB 06 272,682.00 kB 515,471.50 kB 07 335,524.00 kB 582,862.00 kB 08 651,533.00 kB 860,860.50 kB 09 22,619.00 kB 991,909.00 kB 10 4,852.00 kB 761,376.00 kB 11 2,880.50 kB 617,414.50 kB 12 3,213.00 kB 500,723.50 kB 13 14,017.50 kB 408,183.00 kB 14 4,233.50 kB 331,446.50 kB 15 4,082.50 kB 269,255.00 kB 16 33,389.00 kB 224,421.00 kB 17 3,400.00 kB 191,896.00 kB 18 37,544.33 kB 165,880.33 kB 19 3,664.00 kB 128,025.00 kB 20 3,830.50 kB 104,436.00 kB 21 27,558.00 kB 89,788.00 kB 22 4,289.00 kB 73,530.50 kB 23 5,616.00 kB 60,662.50 kB Apr 12 00 25,907.00 kB 54,147.50 kB 01 2,188.00 kB 44,249.00 kB 02 2,595.00 kB 38,107.00 kB 03 21,638.67 kB 54,553.00 kB 04 2,311.00 kB 44,481.00 kB 05 31,423.50 kB 57,002.00 kB 06 22,190.67 kB 49,135.00 kB 07 2,901.50 kB 39,041.00 kB 08 2,381.50 kB 32,099.00 kB 09 2,748.00 kB 26,525.00 kB 10 5,100.00 kB 22,441.00 kB 11 3,087.50 kB 18,763.00 kB 12 21,057.00 kB 38,286.50 kB 13 2,751.50 kB 31,509.00 kB 14 2,478.00 kB 25,984.00 kB 15 3,062.00 kB 21,599.00 kB 16 3,140.50 kB 18,099.00 kB 17 3,428.50 kB 15,279.00 kB 18 3,865.00 kB 13,599.00 kB 19 22,670.00 kB 55,286.33 kB 20 3,423.50 kB 43,195.00 kB 21 3,963.50 kB 35,699.50 kB 22 3,573.50 kB 29,623.00 kB 23 7,551.50 kB 25,101.50 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Apr 06 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 07 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 08 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 09 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 10 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 11 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 12 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 21.30 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-04-10 20:40:57 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 21.30 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-04-10 20:40:57 Date
Analyzes per table
Key values
- pubc.log_query (214) Main table analyzed (database ctdprd51)
- 233 analyzes Total
Vacuums per table
Key values
- pubc.log_query (72) Main table vacuumed on database ctdprd51
- 87 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 49 84,258 0 14,316 0 2,828 19,790 2,070 16,146,908 ctdprd51.pg_toast.pg_toast_2619 4 4 17,023 0 4,336 0 39,746 12,953 4,150 2,217,758 ctdprd51.pub1.term_set_enrichment_agent 3 0 579,630 0 226,632 0 0 289,507 14 17,186,935 ctdprd51.pub1.term_set_enrichment 3 0 12,007 0 4,704 0 0 5,845 6 380,600 ctdprd51.pg_catalog.pg_statistic 2 2 1,606 0 409 0 232 1,074 382 1,571,120 ctdprd51.pg_toast.pg_toast_486223 2 0 60 0 8 0 0 4 2 16,888 ctdprd51.pub1.term_comp_agent 1 0 201 0 76 0 0 73 1 12,726 Total 87 55 694,785 1,319 250,481 0 42,806 329,246 6,625 37,532,935 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (16102) Main table with removed tuples on database ctdprd51
- 17646 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 4 4 16,102 77,651 0 0 50,368 ctdprd51.pg_catalog.pg_statistic 2 2 1,033 6,466 0 0 820 ctdprd51.pubc.log_query 72 49 511 1,282,657 5 0 52,041 ctdprd51.pub1.term_set_enrichment_agent 3 0 0 122,014,483 0 0 1,386,532 ctdprd51.pub1.term_set_enrichment 3 0 0 1,743,316 0 0 28,883 ctdprd51.pub1.term_comp_agent 1 0 0 65,297 0 0 551 ctdprd51.pg_toast.pg_toast_486223 2 0 0 6 0 0 2 Total 87 55 17,646 125,189,876 5 0 1,519,197 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_catalog.pg_statistic 2 2 1033 0 ctdprd51.pub1.term_set_enrichment_agent 3 0 0 0 ctdprd51.pub1.term_set_enrichment 3 0 0 0 ctdprd51.pg_toast.pg_toast_2619 4 4 16102 0 ctdprd51.pubc.log_query 72 49 511 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 Total 87 55 17,646 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Apr 06 00 2 4 01 1 4 02 0 2 03 2 4 04 2 7 05 1 1 06 0 1 07 0 0 08 0 1 09 1 1 10 1 2 11 0 0 12 0 1 13 0 0 14 0 0 15 0 1 16 0 0 17 1 1 18 0 0 19 0 1 20 0 0 21 0 1 22 1 0 23 0 3 Apr 07 00 2 6 01 1 4 02 0 3 03 1 2 04 1 2 05 2 2 06 1 1 07 0 2 08 0 1 09 1 1 10 1 1 11 0 1 12 1 0 13 0 1 14 0 1 15 0 0 16 0 1 17 0 1 18 1 1 19 0 1 20 0 0 21 0 1 22 0 0 23 1 1 Apr 08 00 3 5 01 0 4 02 2 3 03 1 5 04 1 1 05 1 2 06 0 2 07 0 1 08 1 1 09 0 1 10 0 1 11 1 0 12 0 1 13 0 0 14 0 0 15 0 1 16 1 0 17 0 1 18 0 0 19 0 1 20 0 0 21 1 2 22 0 1 23 0 1 Apr 09 00 2 3 01 1 3 02 2 5 03 0 2 04 1 3 05 1 4 06 1 1 07 0 2 08 1 1 09 0 1 10 1 1 11 0 1 12 0 1 13 0 0 14 1 1 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 2 Apr 10 00 3 5 01 1 4 02 1 3 03 1 2 04 1 2 05 1 1 06 0 1 07 0 1 08 1 1 09 0 1 10 0 1 11 1 0 12 0 1 13 0 0 14 0 0 15 0 1 16 0 0 17 1 1 18 0 1 19 0 0 20 1 2 21 0 0 22 1 0 23 0 1 Apr 11 00 2 6 01 2 5 02 0 3 03 1 2 04 1 2 05 0 2 06 1 2 07 0 1 08 1 3 09 0 1 10 1 1 11 0 0 12 0 1 13 0 1 14 1 0 15 0 1 16 0 1 17 1 0 18 1 1 19 0 1 20 0 0 21 0 1 22 1 0 23 0 0 Apr 12 00 3 6 01 1 5 02 1 3 03 1 2 04 0 2 05 1 2 06 0 1 07 1 1 08 0 1 09 0 0 10 1 1 11 0 1 12 0 0 13 0 1 14 1 0 15 0 1 16 0 0 17 0 1 18 0 0 19 1 1 20 0 0 21 0 1 22 0 0 23 0 0 - 21.30 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
- 8,624 Total read queries
- 383 Total write queries
Queries by database
Key values
- unknown Main database
- 6,525 Requests
- 9h18m26s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 17,601 Requests
User Request type Count Duration edit Total 2 2s112ms select 2 2s112ms editeu Total 2 5s637ms select 2 5s637ms postgres Total 108 58m16s copy to 108 58m16s pubeu Total 8,602 15h25m22s cte 725 40m54s select 7,877 14h44m28s qaeu Total 83 3m23s cte 17 59s671ms select 66 2m24s unknown Total 17,601 1d2h53m11s copy to 708 6h53m57s cte 860 46m18s others 9 58s95ms select 16,024 19h11m57s zbx_monitor Total 3 4s138ms select 3 4s138ms Duration by user
Key values
- 1d2h53m11s (unknown) Main time consuming user
User Request type Count Duration edit Total 2 2s112ms select 2 2s112ms editeu Total 2 5s637ms select 2 5s637ms postgres Total 108 58m16s copy to 108 58m16s pubeu Total 8,602 15h25m22s cte 725 40m54s select 7,877 14h44m28s qaeu Total 83 3m23s cte 17 59s671ms select 66 2m24s unknown Total 17,601 1d2h53m11s copy to 708 6h53m57s cte 860 46m18s others 9 58s95ms select 16,024 19h11m57s zbx_monitor Total 3 4s138ms select 3 4s138ms Queries by host
Key values
- unknown Main host
- 26,401 Requests
- 1d19h20m25s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 8,964 Requests
- 14h46m36s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-04-06 15:17:21 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 8,613 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 1h32m16s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-04-12 06:37:31 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
2 26m14s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-04-12 04:55:45 - Bind query: yes ]
3 25m56s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-04-12 05:27:49 - Bind query: yes ]
4 25m51s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-04-12 04:48:06 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
5 25m51s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-04-12 04:54:24 - Bind query: yes ]
6 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-12 19:02:11 ]
7 24m37s 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-12 19:45:28 ]
8 16m48s 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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-04-09 00:58:56 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
9 16m40s 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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-04-09 00:58:56 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
10 16m40s 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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-04-09 00:58:56 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
11 16m32s 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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-04-09 00:58:56 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 12m10s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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 gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'affects'))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-04-12 05:25:29 - Bind query: yes ]
13 8m56s 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-09 07:45:51 - Bind query: yes ]
14 7m8s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-04-12 19:57:42 ]
15 7m7s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-04-12 19:14:28 ]
16 6m14s 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-09 15:02:56 - Bind query: yes ]
17 5m38s 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 = '1244267') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-12 10:16:07 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 5m24s 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 = '1244267') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-12 10:40:58 - Bind query: yes ]
19 5m23s 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 = '1244267') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-12 11:16:15 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 5m23s 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 = '1244267') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-04-12 11:37:07 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h43m53s 4 25m51s 26m14s 25m58s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr 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 gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?))) 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 = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 12 04 3 1h17m56s 25m58s 05 1 25m56s 25m56s [ User: pubeu - Total duration: 25m51s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-04-12 04:55:45 Duration: 26m14s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-04-12 05:27:49 Duration: 25m56s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-04-12 04:48:06 Duration: 25m51s Database: ctdprd51 User: pubeu Bind query: yes
2 1h35m26s 86 1s154ms 8m56s 1m6s 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 #2
Day Hour Count Duration Avg duration Apr 08 08 1 1s763ms 1s763ms Apr 09 04 1 3s389ms 3s389ms 05 4 8s452ms 2s113ms 06 3 6s467ms 2s155ms 07 4 9m1s 2m15s 08 1 1s683ms 1s683ms 09 3 8m17s 2m45s 10 2 4s120ms 2s60ms 11 4 9m31s 2m22s 12 5 8s389ms 1s677ms 13 3 4s963ms 1s654ms 14 4 3m3s 45s903ms 15 4 11m4s 2m46s 16 3 5s725ms 1s908ms 17 2 4s825ms 2s412ms 18 2 3s784ms 1s892ms 19 4 1m28s 22s167ms 20 3 8m34s 2m51s 21 2 5s4ms 2s502ms 22 2 2m35s 1m17s 23 4 5m25s 1m21s Apr 10 00 1 4m23s 4m23s 01 4 5m20s 1m20s 02 8 3m33s 26s699ms 03 1 1s625ms 1s625ms 04 4 6s713ms 1s678ms 09 1 3s329ms 3s329ms Apr 11 02 1 3s231ms 3s231ms Apr 12 02 1 3s304ms 3s304ms 10 2 11m2s 5m31s 11 2 10m46s 5m23s [ User: pubeu - Total duration: 21m50s - Times executed: 19 ]
-
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-09 07:45:51 Duration: 8m56s 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 = '1244428') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-09 15:02:56 Duration: 6m14s 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 = '1244267') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-12 10:16:07 Duration: 5m38s Database: ctdprd51 User: pubeu Bind query: yes
3 1h32m16s 1 1h32m16s 1h32m16s 1h32m16s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr 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 gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ?))) and 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 = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 12 06 1 1h32m16s 1h32m16s [ User: pubeu - Total duration: 1h32m16s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-04-12 06:37:31 Duration: 1h32m16s Database: ctdprd51 User: pubeu Bind query: yes
4 1h25m48s 174 1s73ms 16m48s 29s587ms 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 #4
Day Hour Count Duration Avg duration Apr 06 00 1 17s724ms 17s724ms 08 1 1s704ms 1s704ms 11 1 15s201ms 15s201ms 16 1 3s797ms 3s797ms Apr 07 02 3 13s577ms 4s525ms 03 4 10s288ms 2s572ms 04 1 12s224ms 12s224ms 06 1 1s621ms 1s621ms 07 1 1s757ms 1s757ms 09 3 4s980ms 1s660ms 10 3 48s709ms 16s236ms 12 1 1s520ms 1s520ms 14 4 1m2s 15s529ms 21 10 25s252ms 2s525ms 23 1 3s199ms 3s199ms Apr 08 00 4 31s560ms 7s890ms 05 5 11s230ms 2s246ms 16 1 3s788ms 3s788ms 22 1 11s380ms 11s380ms Apr 09 00 24 1h15m56s 3m9s 01 1 2s488ms 2s488ms 02 6 16s128ms 2s688ms 03 18 27s47ms 1s502ms 07 1 1s624ms 1s624ms 09 24 48s882ms 2s36ms 11 2 6s726ms 3s363ms 21 2 4s175ms 2s87ms Apr 10 01 1 2s496ms 2s496ms 04 9 32s300ms 3s588ms 05 1 1s256ms 1s256ms 06 2 5s840ms 2s920ms 10 2 9s194ms 4s597ms 11 1 1s441ms 1s441ms 12 1 1s491ms 1s491ms Apr 11 01 5 39s681ms 7s936ms 02 5 8s557ms 1s711ms 05 2 5s264ms 2s632ms 07 1 1s561ms 1s561ms 08 1 1s421ms 1s421ms 13 1 2s374ms 2s374ms 16 1 3s358ms 3s358ms 19 1 3s298ms 3s298ms 21 1 3s283ms 3s283ms Apr 12 00 1 1s127ms 1s127ms 03 1 14s221ms 14s221ms 08 2 2s448ms 1s224ms 09 6 53s842ms 8s973ms 11 1 2s560ms 2s560ms 16 1 3s391ms 3s391ms 20 1 1s79ms 1s79ms 22 1 1s518ms 1s518ms [ User: pubeu - Total duration: 1h20m16s - Times executed: 82 ]
-
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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-09 00:58:56 Duration: 16m48s 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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-09 00:58:56 Duration: 16m40s 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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-09 00:58:56 Duration: 16m40s Database: ctdprd51 User: pubeu Bind query: yes
5 56m16s 2,624 1s136ms 1s936ms 1s286ms 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 #5
Day Hour Count Duration Avg duration Apr 06 00 8 10s489ms 1s311ms 01 6 8s94ms 1s349ms 02 10 13s626ms 1s362ms 03 7 9s483ms 1s354ms 04 11 15s221ms 1s383ms 05 5 6s546ms 1s309ms 06 11 14s241ms 1s294ms 07 3 3s956ms 1s318ms 08 6 7s644ms 1s274ms 09 4 5s71ms 1s267ms 10 4 5s175ms 1s293ms 11 1 1s246ms 1s246ms 12 2 2s582ms 1s291ms 13 6 7s778ms 1s296ms 14 2 2s521ms 1s260ms 15 3 3s805ms 1s268ms 16 2 2s492ms 1s246ms 17 1 1s290ms 1s290ms 18 6 7s709ms 1s284ms 19 6 7s662ms 1s277ms 20 10 12s702ms 1s270ms 21 4 5s75ms 1s268ms 22 8 10s144ms 1s268ms 23 18 22s844ms 1s269ms Apr 07 00 8 10s203ms 1s275ms 01 23 29s300ms 1s273ms 02 5 6s300ms 1s260ms 03 12 15s242ms 1s270ms 04 12 15s311ms 1s275ms 05 17 22s7ms 1s294ms 06 36 46s579ms 1s293ms 07 42 55s316ms 1s317ms 08 35 47s688ms 1s362ms 09 22 30s330ms 1s378ms 10 43 56s834ms 1s321ms 11 24 30s582ms 1s274ms 12 27 34s283ms 1s269ms 13 6 7s720ms 1s286ms 14 5 6s658ms 1s331ms 15 9 11s591ms 1s287ms 16 23 29s331ms 1s275ms 17 16 20s324ms 1s270ms 18 16 20s515ms 1s282ms 19 19 24s300ms 1s278ms 20 10 12s679ms 1s267ms 21 5 6s327ms 1s265ms 22 11 13s882ms 1s262ms 23 12 15s346ms 1s278ms Apr 08 00 37 49s450ms 1s336ms 01 33 43s376ms 1s314ms 02 24 31s663ms 1s319ms 03 15 19s263ms 1s284ms 04 28 36s12ms 1s286ms 05 22 28s558ms 1s298ms 06 19 24s465ms 1s287ms 07 3 3s854ms 1s284ms 08 26 34s882ms 1s341ms 09 26 34s610ms 1s331ms 10 30 39s4ms 1s300ms 11 20 26s308ms 1s315ms 12 29 37s602ms 1s296ms 13 12 16s33ms 1s336ms 14 4 5s309ms 1s327ms 15 4 5s153ms 1s288ms 16 13 16s840ms 1s295ms 17 9 11s623ms 1s291ms 18 14 17s996ms 1s285ms 19 25 32s382ms 1s295ms 20 19 25s389ms 1s336ms 21 27 35s320ms 1s308ms 22 7 9s233ms 1s319ms 23 3 3s938ms 1s312ms Apr 09 00 7 9s386ms 1s340ms 01 3 3s829ms 1s276ms 02 11 14s16ms 1s274ms 03 14 17s508ms 1s250ms 04 25 32s296ms 1s291ms 05 47 1m 1s288ms 06 45 57s491ms 1s277ms 07 37 47s581ms 1s285ms 08 39 50s513ms 1s295ms 09 32 42s395ms 1s324ms 10 31 39s770ms 1s282ms 11 32 41s19ms 1s281ms 12 17 21s604ms 1s270ms 13 18 23s102ms 1s283ms 14 25 31s808ms 1s272ms 15 22 28s192ms 1s281ms 16 18 22s580ms 1s254ms 17 21 25s995ms 1s237ms 18 15 18s664ms 1s244ms 19 21 26s344ms 1s254ms 20 31 39s172ms 1s263ms 21 14 17s584ms 1s256ms 22 27 34s952ms 1s294ms 23 24 30s660ms 1s277ms Apr 10 00 32 41s215ms 1s287ms 01 34 43s271ms 1s272ms 02 26 32s706ms 1s257ms 03 24 30s261ms 1s260ms 04 14 17s880ms 1s277ms 05 15 20s360ms 1s357ms 06 10 12s963ms 1s296ms 07 11 14s137ms 1s285ms 08 10 12s622ms 1s262ms 09 26 33s292ms 1s280ms 10 5 6s516ms 1s303ms 11 7 8s921ms 1s274ms 12 9 11s343ms 1s260ms 13 6 7s520ms 1s253ms 14 9 11s206ms 1s245ms 15 9 11s268ms 1s252ms 16 21 26s879ms 1s279ms 17 25 31s603ms 1s264ms 18 23 30s269ms 1s316ms 19 13 16s310ms 1s254ms 20 11 13s688ms 1s244ms 21 28 35s166ms 1s255ms 22 20 26s339ms 1s316ms 23 8 10s69ms 1s258ms Apr 11 00 6 7s639ms 1s273ms 01 11 14s256ms 1s296ms 02 8 10s245ms 1s280ms 03 10 12s807ms 1s280ms 04 4 5s194ms 1s298ms 05 20 25s981ms 1s299ms 06 20 25s72ms 1s253ms 07 12 15s150ms 1s262ms 08 11 13s696ms 1s245ms 09 10 12s529ms 1s252ms 10 5 6s987ms 1s397ms 11 3 3s788ms 1s262ms 12 10 12s320ms 1s232ms 13 6 7s447ms 1s241ms 14 2 2s498ms 1s249ms 15 30 36s946ms 1s231ms 16 24 29s956ms 1s248ms 17 11 13s345ms 1s213ms 18 7 8s618ms 1s231ms 19 8 9s943ms 1s242ms 20 4 4s972ms 1s243ms 21 23 28s569ms 1s242ms 22 17 21s731ms 1s278ms 23 13 16s696ms 1s284ms Apr 12 00 9 11s618ms 1s290ms 01 47 1m 1s289ms 02 40 51s778ms 1s294ms 03 5 6s374ms 1s274ms 04 21 26s759ms 1s274ms 05 34 44s220ms 1s300ms 06 3 3s873ms 1s291ms 07 4 5s135ms 1s283ms 08 14 17s841ms 1s274ms 09 15 19s340ms 1s289ms 10 7 8s975ms 1s282ms 11 16 20s411ms 1s275ms 12 9 11s587ms 1s287ms 13 11 14s27ms 1s275ms 14 12 15s242ms 1s270ms 15 14 17s654ms 1s261ms 16 6 7s732ms 1s288ms 17 24 30s869ms 1s286ms 18 18 22s819ms 1s267ms 19 8 9s636ms 1s204ms 20 7 8s624ms 1s232ms 21 10 12s227ms 1s222ms 22 8 10s97ms 1s262ms 23 4 5s41ms 1s260ms [ User: pubeu - Total duration: 15m22s - Times executed: 714 ]
-
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 = '1905396' or receptorTerm.id = '1905396' 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-07 06:50:12 Duration: 1s936ms 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 = '1586229' or receptorTerm.id = '1586229' 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-11 10:02:23 Duration: 1s933ms 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 = '1608337' or receptorTerm.id = '1608337' 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-10 18:06:21 Duration: 1s921ms Bind query: yes
6 32m27s 7 4m33s 4m42s 4m38s select maint_query_logs_archive ();Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 06 00 1 4m37s 4m37s Apr 07 00 1 4m33s 4m33s Apr 08 00 1 4m35s 4m35s Apr 09 00 1 4m38s 4m38s Apr 10 00 1 4m42s 4m42s Apr 11 00 1 4m37s 4m37s Apr 12 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-12 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-10 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-09 00:04:39 Duration: 4m38s
7 29m23s 123 1s147ms 25s262ms 14s337ms 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 #7
Day Hour Count Duration Avg duration Apr 06 04 1 15s471ms 15s471ms 08 1 15s272ms 15s272ms 17 1 15s195ms 15s195ms 20 1 14s960ms 14s960ms Apr 07 00 2 31s511ms 15s755ms 01 6 1m32s 15s398ms 03 1 15s79ms 15s79ms 04 7 1m46s 15s256ms 05 2 32s8ms 16s4ms 06 11 3m37s 19s728ms 07 7 1m50s 15s739ms 08 6 1m33s 15s601ms 09 5 1m17s 15s551ms 10 5 1m16s 15s278ms 11 1 15s358ms 15s358ms 16 1 16s75ms 16s75ms 17 2 29s735ms 14s867ms Apr 08 10 1 15s909ms 15s909ms 11 1 1s147ms 1s147ms 15 3 46s873ms 15s624ms 21 2 2s851ms 1s425ms Apr 09 07 2 3s764ms 1s882ms 10 2 30s765ms 15s382ms 11 2 30s246ms 15s123ms 13 2 31s47ms 15s523ms 14 2 29s965ms 14s982ms 16 1 1s397ms 1s397ms 18 1 16s455ms 16s455ms 19 1 15s542ms 15s542ms 20 1 15s638ms 15s638ms 22 2 4s455ms 2s227ms 23 4 1m1s 15s290ms Apr 10 00 1 15s315ms 15s315ms 01 2 30s695ms 15s347ms 09 2 3s571ms 1s785ms 16 3 46s632ms 15s544ms 18 3 47s222ms 15s740ms 19 3 46s976ms 15s658ms Apr 11 04 2 4s702ms 2s351ms 05 4 1m3s 15s917ms 07 3 48s800ms 16s266ms 10 1 7s671ms 7s671ms 11 2 12s977ms 6s488ms 12 2 25s419ms 12s709ms 13 3 47s109ms 15s703ms Apr 12 06 1 17s31ms 17s31ms 10 2 31s153ms 15s576ms 13 1 15s864ms 15s864ms 18 1 16s613ms 16s613ms [ User: pubeu - Total duration: 12m8s - Times executed: 47 ]
-
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 = '2096075') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-07 06:50:23 Duration: 25s262ms 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 = '2091253') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-07 06:50:24 Duration: 25s259ms 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 = '2096075') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-07 06:38:24 Duration: 23s414ms Database: ctdprd51 User: pubeu Bind query: yes
8 28m10s 411 3s818ms 7s949ms 4s112ms 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 #8
Day Hour Count Duration Avg duration Apr 06 00 1 4s34ms 4s34ms 01 1 4s12ms 4s12ms 03 1 4s787ms 4s787ms 04 2 8s692ms 4s346ms 05 1 4s333ms 4s333ms 06 1 4s3ms 4s3ms 08 1 4s171ms 4s171ms 09 2 7s784ms 3s892ms 10 2 8s136ms 4s68ms 12 1 3s920ms 3s920ms 15 1 4s41ms 4s41ms 16 2 8s44ms 4s22ms 18 3 11s841ms 3s947ms 19 3 11s921ms 3s973ms 20 2 8s268ms 4s134ms 21 1 3s894ms 3s894ms 22 2 8s98ms 4s49ms 23 1 4s75ms 4s75ms Apr 07 00 1 3s904ms 3s904ms 01 3 12s504ms 4s168ms 02 2 7s902ms 3s951ms 03 1 3s896ms 3s896ms 04 3 12s31ms 4s10ms 05 8 33s140ms 4s142ms 06 6 24s415ms 4s69ms 07 4 18s2ms 4s500ms 08 2 8s901ms 4s450ms 10 2 8s809ms 4s404ms 11 13 57s641ms 4s433ms 12 3 11s988ms 3s996ms 13 2 8s133ms 4s66ms 14 1 4s184ms 4s184ms 15 1 4s46ms 4s46ms 16 1 3s917ms 3s917ms 18 1 3s901ms 3s901ms 21 7 27s541ms 3s934ms 22 7 28s198ms 4s28ms Apr 08 01 5 21s296ms 4s259ms 02 3 12s829ms 4s276ms 03 1 4s100ms 4s100ms 04 1 4s115ms 4s115ms 05 10 40s698ms 4s69ms 06 2 8s744ms 4s372ms 07 6 24s981ms 4s163ms 08 1 3s858ms 3s858ms 09 8 33s635ms 4s204ms 10 7 30s204ms 4s314ms 11 6 23s974ms 3s995ms 12 2 9s218ms 4s609ms 13 9 43s109ms 4s789ms 15 2 9s81ms 4s540ms 16 4 16s791ms 4s197ms 17 2 8s651ms 4s325ms 18 3 11s843ms 3s947ms 20 1 4s552ms 4s552ms 21 3 11s980ms 3s993ms 22 2 8s737ms 4s368ms 23 5 20s98ms 4s19ms Apr 09 01 3 12s401ms 4s133ms 02 6 24s831ms 4s138ms 03 3 12s376ms 4s125ms 04 9 37s348ms 4s149ms 05 1 3s953ms 3s953ms 06 2 8s560ms 4s280ms 07 2 7s879ms 3s939ms 08 2 8s338ms 4s169ms 09 5 21s297ms 4s259ms 10 2 8s52ms 4s26ms 11 2 8s110ms 4s55ms 12 1 3s855ms 3s855ms 13 6 24s463ms 4s77ms 14 4 18s408ms 4s602ms 15 3 12s641ms 4s213ms 16 2 7s963ms 3s981ms 18 2 7s827ms 3s913ms 19 2 7s756ms 3s878ms 21 1 4s101ms 4s101ms 22 4 16s431ms 4s107ms 23 1 4s294ms 4s294ms Apr 10 00 1 3s994ms 3s994ms 01 3 12s635ms 4s211ms 02 50 3m17s 3s959ms 03 18 1m11s 3s949ms 04 2 8s100ms 4s50ms 07 1 3s951ms 3s951ms 08 4 15s891ms 3s972ms 09 4 17s203ms 4s300ms 10 1 4s369ms 4s369ms 11 4 15s959ms 3s989ms 12 4 15s925ms 3s981ms 13 3 12s111ms 4s37ms 14 2 8s117ms 4s58ms 15 1 4s100ms 4s100ms 16 1 3s981ms 3s981ms 20 3 12s37ms 4s12ms 21 5 20s758ms 4s151ms 22 1 4s45ms 4s45ms Apr 11 02 2 8s225ms 4s112ms 03 2 8s277ms 4s138ms 04 4 16s248ms 4s62ms 05 3 12s85ms 4s28ms 06 2 8s66ms 4s33ms 07 3 12s164ms 4s54ms 08 3 12s9ms 4s3ms 09 2 7s989ms 3s994ms 10 2 8s356ms 4s178ms 12 6 23s998ms 3s999ms 13 3 11s974ms 3s991ms 14 1 3s910ms 3s910ms 16 2 7s989ms 3s994ms 20 3 11s979ms 3s993ms 22 1 4s148ms 4s148ms 23 1 4s71ms 4s71ms Apr 12 00 1 3s952ms 3s952ms 01 1 4s275ms 4s275ms 03 1 4s413ms 4s413ms 06 3 12s373ms 4s124ms 07 1 3s982ms 3s982ms 08 2 8s21ms 4s10ms 09 1 4s192ms 4s192ms 10 3 12s98ms 4s32ms 11 1 4s294ms 4s294ms 13 1 3s993ms 3s993ms 18 1 4s278ms 4s278ms 19 1 4s18ms 4s18ms 20 1 4s10ms 4s10ms 21 1 3s937ms 3s937ms 22 1 4s30ms 4s30ms 23 1 4s70ms 4s70ms [ User: pubeu - Total duration: 11m23s - Times executed: 166 ]
-
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 = '1447334') 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 = '1447334') 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-08 13:00:01 Duration: 7s949ms 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 = '1352221') 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 = '1352221') 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-08 13:21:22 Duration: 5s655ms 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 = '1288234') 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 = '1288234') 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-09 14:46:45 Duration: 5s235ms Bind query: yes
9 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 #9
Day Hour Count Duration Avg duration Apr 12 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-12 19:02:11 Duration: 25m1s
10 24m37s 1 24m37s 24m37s 24m37s 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 #10
Day Hour Count Duration Avg duration Apr 12 19 1 24m37s 24m37s -
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-12 19:45:28 Duration: 24m37s
11 21m5s 25 50s159ms 51s26ms 50s620ms 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 #11
Day Hour Count Duration Avg duration Apr 06 06 1 50s398ms 50s398ms 10 1 50s203ms 50s203ms 14 1 50s548ms 50s548ms 18 1 50s159ms 50s159ms Apr 07 06 1 50s447ms 50s447ms 10 1 50s743ms 50s743ms 14 1 50s440ms 50s440ms 18 1 50s758ms 50s758ms Apr 08 06 1 50s526ms 50s526ms 10 1 50s698ms 50s698ms 14 1 50s570ms 50s570ms 18 1 50s605ms 50s605ms Apr 09 06 1 50s745ms 50s745ms 10 1 50s806ms 50s806ms 14 1 50s504ms 50s504ms 18 1 50s507ms 50s507ms Apr 10 06 1 50s898ms 50s898ms 10 1 50s719ms 50s719ms 14 1 50s693ms 50s693ms 18 1 50s943ms 50s943ms Apr 11 06 1 50s635ms 50s635ms 10 1 50s578ms 50s578ms 14 1 51s26ms 51s26ms 18 1 50s480ms 50s480ms Apr 12 20 1 50s880ms 50s880ms [ User: postgres - Total duration: 20m14s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 20m14s - 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-11 14:05:53 Duration: 51s26ms 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-10 18:05:52 Duration: 50s943ms 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-10 06:05:52 Duration: 50s898ms Database: ctdprd51 User: postgres Application: pg_dump
12 20m29s 392 1s2ms 7s169ms 3s136ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 07 15 7 20s334ms 2s904ms 16 14 40s612ms 2s900ms Apr 08 09 22 1m4s 2s927ms Apr 09 03 2 8s888ms 4s444ms 04 12 31s346ms 2s612ms 05 22 1m9s 3s144ms 06 24 1m25s 3s555ms 07 9 23s994ms 2s666ms 08 9 25s246ms 2s805ms 09 4 11s551ms 2s887ms 10 8 30s543ms 3s817ms 11 9 34s806ms 3s867ms 12 10 41s70ms 4s107ms 13 12 30s928ms 2s577ms 14 13 43s903ms 3s377ms 15 6 23s428ms 3s904ms 16 9 35s85ms 3s898ms 17 13 34s264ms 2s635ms 18 9 32s225ms 3s580ms 19 14 46s656ms 3s332ms 20 17 52s843ms 3s108ms 21 9 23s443ms 2s604ms 22 6 16s759ms 2s793ms 23 10 37s329ms 3s732ms Apr 10 00 14 44s170ms 3s155ms 01 18 53s6ms 2s944ms 02 6 18s74ms 3s12ms 03 5 16s489ms 3s297ms 04 10 36s613ms 3s661ms 05 1 1s993ms 1s993ms 12 1 2s96ms 2s96ms Apr 11 04 1 1s997ms 1s997ms 20 16 45s894ms 2s868ms 21 13 39s554ms 3s42ms 22 1 1s462ms 1s462ms 23 7 20s249ms 2s892ms Apr 12 00 14 40s624ms 2s901ms 02 1 2s12ms 2s12ms 23 14 40s880ms 2s920ms [ User: pubeu - Total duration: 3m52s - Times executed: 69 ]
-
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-09 03:55:59 Duration: 7s169ms 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-12 23:43:58 Duration: 6s957ms 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-10 04:20:31 Duration: 6s921ms Bind query: yes
13 18m19s 307 1s1ms 7s718ms 3s581ms 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 #13
Day Hour Count Duration Avg duration Apr 06 00 1 1s101ms 1s101ms 05 6 6s192ms 1s32ms 06 4 17s567ms 4s391ms 07 1 4s792ms 4s792ms 11 1 5s97ms 5s97ms 12 1 5s467ms 5s467ms 13 6 6s405ms 1s67ms 19 1 1s31ms 1s31ms 23 1 1s37ms 1s37ms Apr 07 00 1 1s36ms 1s36ms 04 1 1s10ms 1s10ms 05 8 18s565ms 2s320ms 06 2 11s361ms 5s680ms 07 4 27s411ms 6s852ms 08 4 19s811ms 4s952ms 09 1 6s266ms 6s266ms 10 1 6s968ms 6s968ms 11 2 11s608ms 5s804ms 12 2 10s486ms 5s243ms 13 1 5s355ms 5s355ms 15 6 23s639ms 3s939ms 16 12 45s884ms 3s823ms 20 1 5s264ms 5s264ms 22 1 4s982ms 4s982ms Apr 08 01 3 12s9ms 4s3ms 02 2 11s368ms 5s684ms 03 5 17s851ms 3s570ms 05 8 17s690ms 2s211ms 06 1 1s25ms 1s25ms 09 19 1m25s 4s494ms 10 5 21s146ms 4s229ms 11 1 4s749ms 4s749ms 13 1 1s84ms 1s84ms 16 1 5s601ms 5s601ms 17 1 5s206ms 5s206ms 18 2 2s259ms 1s129ms 19 1 6s611ms 6s611ms 20 1 4s902ms 4s902ms 22 2 11s519ms 5s759ms 23 1 5s420ms 5s420ms Apr 09 03 1 5s634ms 5s634ms 04 5 17s814ms 3s562ms 05 19 1m3s 3s319ms 06 12 44s343ms 3s695ms 09 1 5s304ms 5s304ms 10 1 5s719ms 5s719ms 11 1 5s603ms 5s603ms 12 3 14s575ms 4s858ms 13 2 6s583ms 3s291ms 15 4 17s255ms 4s313ms 18 1 4s771ms 4s771ms 20 3 16s3ms 5s334ms 21 2 6s811ms 3s405ms 22 3 17s734ms 5s911ms 23 1 1s63ms 1s63ms Apr 10 00 1 5s309ms 5s309ms 01 2 9s579ms 4s789ms 02 3 16s652ms 5s550ms 03 2 2s43ms 1s21ms 04 1 4s982ms 4s982ms 05 6 6s244ms 1s40ms 07 3 15s127ms 5s42ms 10 4 21s550ms 5s387ms 12 1 5s154ms 5s154ms 13 4 20s893ms 5s223ms 14 1 1s36ms 1s36ms 15 1 1s28ms 1s28ms 16 1 1s32ms 1s32ms 21 1 5s704ms 5s704ms Apr 11 02 1 1s20ms 1s20ms 05 6 6s214ms 1s35ms 06 6 14s413ms 2s402ms 13 1 1s55ms 1s55ms 14 1 5s81ms 5s81ms 16 2 2s255ms 1s127ms 17 2 2s58ms 1s29ms 20 8 25s705ms 3s213ms 21 10 32s274ms 3s227ms 22 3 15s800ms 5s266ms 23 7 28s321ms 4s45ms Apr 12 00 13 47s214ms 3s631ms 01 2 11s53ms 5s526ms 03 1 5s338ms 5s338ms 04 3 3s112ms 1s37ms 05 6 6s438ms 1s73ms 07 3 15s716ms 5s238ms 08 1 5s246ms 5s246ms 09 1 5s511ms 5s511ms 10 1 5s313ms 5s313ms 15 2 2s147ms 1s73ms 17 2 2s104ms 1s52ms 23 12 45s294ms 3s774ms [ User: pubeu - Total duration: 4m15s - Times executed: 73 ]
[ User: qaeu - Total duration: 8s403ms - Times executed: 8 ]
-
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-08 09:58:45 Duration: 7s718ms 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 = '1407623' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-07 08:04:20 Duration: 7s689ms 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 = '1308358' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-08 09:22:28 Duration: 7s498ms Bind query: yes
14 16m26s 687 1s309ms 2s49ms 1s436ms 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 #14
Day Hour Count Duration Avg duration Apr 06 00 2 2s986ms 1s493ms 01 4 6s53ms 1s513ms 02 2 3s60ms 1s530ms 03 2 3s58ms 1s529ms 04 1 1s575ms 1s575ms 05 2 3s34ms 1s517ms 06 5 7s723ms 1s544ms 08 1 1s434ms 1s434ms 09 4 5s746ms 1s436ms 10 6 8s536ms 1s422ms 11 6 8s543ms 1s423ms 12 1 1s367ms 1s367ms 13 6 8s739ms 1s456ms 15 3 4s245ms 1s415ms 16 2 2s909ms 1s454ms 17 5 7s138ms 1s427ms 18 1 1s468ms 1s468ms 19 1 1s420ms 1s420ms 20 2 2s751ms 1s375ms 21 2 2s819ms 1s409ms 22 4 5s654ms 1s413ms 23 8 11s337ms 1s417ms Apr 07 00 5 6s987ms 1s397ms 01 5 6s997ms 1s399ms 02 8 11s263ms 1s407ms 03 7 9s801ms 1s400ms 04 5 6s939ms 1s387ms 05 13 18s792ms 1s445ms 06 11 15s595ms 1s417ms 07 18 26s92ms 1s449ms 08 11 16s775ms 1s525ms 09 6 9s35ms 1s505ms 10 2 2s996ms 1s498ms 11 4 5s548ms 1s387ms 12 2 2s874ms 1s437ms 13 2 3s41ms 1s520ms 15 1 1s566ms 1s566ms 18 2 2s897ms 1s448ms 19 2 2s824ms 1s412ms 20 2 2s800ms 1s400ms 21 4 5s919ms 1s479ms 22 2 2s826ms 1s413ms 23 2 2s756ms 1s378ms Apr 08 00 5 7s136ms 1s427ms 01 3 4s474ms 1s491ms 02 8 12s202ms 1s525ms 03 6 8s371ms 1s395ms 04 6 8s477ms 1s412ms 05 4 5s924ms 1s481ms 07 2 2s875ms 1s437ms 08 8 11s701ms 1s462ms 09 7 10s15ms 1s430ms 10 9 13s192ms 1s465ms 11 2 3s141ms 1s570ms 12 4 5s897ms 1s474ms 13 4 5s571ms 1s392ms 14 2 3s11ms 1s505ms 15 7 10s615ms 1s516ms 17 2 2s888ms 1s444ms 18 13 19s526ms 1s502ms 19 6 8s626ms 1s437ms 20 7 10s27ms 1s432ms 21 13 18s680ms 1s436ms 22 6 8s763ms 1s460ms Apr 09 01 4 5s543ms 1s385ms 02 2 2s861ms 1s430ms 03 3 4s625ms 1s541ms 04 4 5s875ms 1s468ms 05 9 13s49ms 1s449ms 06 7 10s59ms 1s437ms 07 4 5s623ms 1s405ms 08 6 8s641ms 1s440ms 09 8 11s552ms 1s444ms 10 2 2s892ms 1s446ms 11 8 11s417ms 1s427ms 13 5 7s90ms 1s418ms 14 5 7s152ms 1s430ms 15 5 7s232ms 1s446ms 16 3 4s14ms 1s338ms 17 2 2s885ms 1s442ms 18 2 2s648ms 1s324ms 19 10 13s802ms 1s380ms 20 10 14s627ms 1s462ms 21 6 8s522ms 1s420ms 22 7 10s173ms 1s453ms 23 7 9s996ms 1s428ms Apr 10 00 8 11s563ms 1s445ms 01 7 9s992ms 1s427ms 02 3 4s229ms 1s409ms 04 3 4s708ms 1s569ms 05 4 6s283ms 1s570ms 06 4 5s645ms 1s411ms 07 5 7s52ms 1s410ms 08 6 8s466ms 1s411ms 09 8 11s275ms 1s409ms 10 1 1s531ms 1s531ms 13 5 6s972ms 1s394ms 14 4 5s559ms 1s389ms 15 4 5s682ms 1s420ms 16 7 10s248ms 1s464ms 17 6 8s243ms 1s373ms 18 6 8s561ms 1s426ms 19 5 7s89ms 1s417ms 20 6 8s306ms 1s384ms 21 8 11s212ms 1s401ms 22 4 5s784ms 1s446ms 23 4 5s666ms 1s416ms Apr 11 00 1 1s392ms 1s392ms 01 2 2s903ms 1s451ms 02 3 4s229ms 1s409ms 03 1 1s400ms 1s400ms 04 2 2s806ms 1s403ms 05 12 17s194ms 1s432ms 06 3 4s637ms 1s545ms 07 8 11s151ms 1s393ms 08 4 5s819ms 1s454ms 09 4 5s433ms 1s358ms 10 5 6s961ms 1s392ms 11 3 4s257ms 1s419ms 12 8 10s949ms 1s368ms 13 2 2s808ms 1s404ms 14 1 1s382ms 1s382ms 15 6 8s320ms 1s386ms 16 2 2s765ms 1s382ms 18 2 2s762ms 1s381ms 19 1 1s402ms 1s402ms 20 1 1s385ms 1s385ms 21 2 2s689ms 1s344ms 22 4 5s721ms 1s430ms 23 1 1s423ms 1s423ms Apr 12 00 2 2s869ms 1s434ms 01 8 11s393ms 1s424ms 02 2 2s904ms 1s452ms 03 5 7s113ms 1s422ms 04 5 7s230ms 1s446ms 05 3 4s482ms 1s494ms 08 7 9s904ms 1s414ms 09 2 2s846ms 1s423ms 10 3 4s337ms 1s445ms 12 1 1s413ms 1s413ms 13 3 4s244ms 1s414ms 14 3 4s254ms 1s418ms 15 3 4s89ms 1s363ms 17 8 11s591ms 1s448ms 18 10 14s134ms 1s413ms 21 1 1s409ms 1s409ms 22 6 8s384ms 1s397ms 23 2 2s861ms 1s430ms [ User: pubeu - Total duration: 4m40s - Times executed: 196 ]
[ User: qaeu - Total duration: 1s532ms - 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.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1271201') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1271201') 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-06 06:10:25 Duration: 2s49ms 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 = '1256878') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1256878') 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-09 20:43:34 Duration: 1s919ms 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 = '1921409') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1921409') 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-08 08:15:09 Duration: 1s865ms Bind query: yes
15 12m46s 328 1s1ms 4s540ms 2s337ms 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 #15
Day Hour Count Duration Avg duration Apr 06 00 1 1s981ms 1s981ms 20 1 1s44ms 1s44ms Apr 07 15 8 16s523ms 2s65ms 16 15 32s300ms 2s153ms Apr 08 09 24 52s624ms 2s192ms 10 1 1s18ms 1s18ms Apr 09 03 2 3s58ms 1s529ms 04 15 41s913ms 2s794ms 05 20 53s543ms 2s677ms 06 22 53s778ms 2s444ms 07 7 17s89ms 2s441ms 08 6 10s115ms 1s685ms 09 9 22s188ms 2s465ms 10 6 14s215ms 2s369ms 11 6 11s809ms 1s968ms 12 6 8s465ms 1s410ms 13 10 26s448ms 2s644ms 14 5 15s839ms 3s167ms 15 6 15s692ms 2s615ms 16 4 6s193ms 1s548ms 17 4 13s606ms 3s401ms 18 5 10s360ms 2s72ms 19 16 40s311ms 2s519ms 20 6 12s339ms 2s56ms 21 7 17s657ms 2s522ms 22 12 32s394ms 2s699ms 23 3 8s609ms 2s869ms Apr 10 00 4 13s635ms 3s408ms 01 6 16s47ms 2s674ms 02 7 15s472ms 2s210ms 03 6 15s233ms 2s538ms 04 4 10s566ms 2s641ms 09 1 1s945ms 1s945ms 16 1 2s53ms 2s53ms Apr 11 20 17 34s828ms 2s48ms 21 14 31s352ms 2s239ms 22 1 1s92ms 1s92ms 23 8 16s693ms 2s86ms Apr 12 00 16 33s448ms 2s90ms 23 16 33s233ms 2s77ms [ User: pubeu - Total duration: 2m29s - Times executed: 64 ]
-
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-09 09:35:49 Duration: 4s540ms 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-09 05:07:36 Duration: 4s413ms 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-10 01:08:38 Duration: 4s381ms Database: ctdprd51 User: pubeu Bind query: yes
16 12m18s 512 1s308ms 1s864ms 1s441ms 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 #16
Day Hour Count Duration Avg duration Apr 06 00 1 1s516ms 1s516ms 02 2 3s52ms 1s526ms 03 1 1s407ms 1s407ms 04 3 4s365ms 1s455ms 05 2 3s107ms 1s553ms 06 1 1s432ms 1s432ms 08 2 2s875ms 1s437ms 09 1 1s427ms 1s427ms 10 1 1s435ms 1s435ms 11 1 1s550ms 1s550ms 13 3 4s670ms 1s556ms 14 1 1s443ms 1s443ms 17 1 1s389ms 1s389ms 18 1 1s397ms 1s397ms 19 8 11s590ms 1s448ms 20 1 1s412ms 1s412ms 21 1 1s439ms 1s439ms Apr 07 00 9 12s837ms 1s426ms 01 1 1s359ms 1s359ms 02 5 7s141ms 1s428ms 03 3 4s246ms 1s415ms 04 4 5s652ms 1s413ms 05 8 11s712ms 1s464ms 06 12 17s33ms 1s419ms 07 7 10s758ms 1s536ms 08 8 12s777ms 1s597ms 09 4 6s223ms 1s555ms 10 4 5s804ms 1s451ms 11 8 11s616ms 1s452ms 12 2 2s925ms 1s462ms 13 3 4s284ms 1s428ms 14 1 1s478ms 1s478ms 16 1 1s410ms 1s410ms 17 2 2s713ms 1s356ms 18 8 11s380ms 1s422ms 19 3 4s334ms 1s444ms 20 3 4s426ms 1s475ms 21 1 1s495ms 1s495ms 22 2 2s707ms 1s353ms 23 2 2s866ms 1s433ms Apr 08 00 5 7s147ms 1s429ms 01 3 4s571ms 1s523ms 02 5 7s566ms 1s513ms 03 4 5s723ms 1s430ms 04 8 11s649ms 1s456ms 05 4 5s968ms 1s492ms 06 7 9s971ms 1s424ms 07 4 5s782ms 1s445ms 08 4 5s703ms 1s425ms 09 5 7s524ms 1s504ms 10 8 11s830ms 1s478ms 11 7 10s652ms 1s521ms 12 6 8s927ms 1s487ms 13 5 7s387ms 1s477ms 14 2 3s52ms 1s526ms 15 5 7s294ms 1s458ms 16 3 4s214ms 1s404ms 18 6 8s616ms 1s436ms 19 1 1s459ms 1s459ms 20 5 7s595ms 1s519ms 21 4 6s98ms 1s524ms 22 2 2s916ms 1s458ms 23 2 2s825ms 1s412ms Apr 09 00 1 1s368ms 1s368ms 01 2 2s870ms 1s435ms 02 4 5s713ms 1s428ms 03 1 1s359ms 1s359ms 04 1 1s548ms 1s548ms 05 19 27s384ms 1s441ms 06 5 7s140ms 1s428ms 07 7 10s214ms 1s459ms 08 5 7s417ms 1s483ms 09 8 12s61ms 1s507ms 10 4 5s753ms 1s438ms 11 4 5s785ms 1s446ms 12 1 1s380ms 1s380ms 13 3 4s462ms 1s487ms 14 5 7s19ms 1s403ms 15 3 4s315ms 1s438ms 17 3 4s279ms 1s426ms 18 1 1s393ms 1s393ms 19 3 4s221ms 1s407ms 20 9 12s458ms 1s384ms 21 2 2s714ms 1s357ms 22 12 17s326ms 1s443ms 23 5 7s144ms 1s428ms Apr 10 00 3 4s279ms 1s426ms 01 2 2s816ms 1s408ms 02 7 9s984ms 1s426ms 03 5 7s60ms 1s412ms 04 7 9s726ms 1s389ms 05 2 3s95ms 1s547ms 07 1 1s403ms 1s403ms 08 2 2s887ms 1s443ms 09 1 1s395ms 1s395ms 10 3 4s223ms 1s407ms 11 2 2s855ms 1s427ms 12 3 4s56ms 1s352ms 13 1 1s407ms 1s407ms 15 3 4s118ms 1s372ms 16 12 16s716ms 1s393ms 18 2 2s745ms 1s372ms 19 2 2s814ms 1s407ms 20 8 11s151ms 1s393ms 21 3 4s215ms 1s405ms 22 9 13s28ms 1s447ms Apr 11 00 3 4s238ms 1s412ms 01 4 5s626ms 1s406ms 02 2 2s805ms 1s402ms 03 1 1s393ms 1s393ms 04 2 2s826ms 1s413ms 05 6 8s823ms 1s470ms 06 2 2s902ms 1s451ms 08 1 1s464ms 1s464ms 09 3 4s178ms 1s392ms 10 1 1s385ms 1s385ms 12 6 8s38ms 1s339ms 13 1 1s345ms 1s345ms 14 1 1s357ms 1s357ms 16 1 1s418ms 1s418ms 17 5 6s713ms 1s342ms 18 1 1s337ms 1s337ms 19 2 2s795ms 1s397ms 21 1 1s391ms 1s391ms 23 1 1s375ms 1s375ms Apr 12 01 9 12s907ms 1s434ms 02 5 7s172ms 1s434ms 04 3 4s279ms 1s426ms 05 6 8s838ms 1s473ms 06 1 1s501ms 1s501ms 07 1 1s388ms 1s388ms 08 2 2s862ms 1s431ms 10 3 4s257ms 1s419ms 11 2 2s824ms 1s412ms 12 2 2s837ms 1s418ms 13 2 2s785ms 1s392ms 14 2 2s853ms 1s426ms 15 1 1s394ms 1s394ms 17 2 2s869ms 1s434ms 20 1 1s377ms 1s377ms 21 3 4s197ms 1s399ms [ User: pubeu - Total duration: 2m59s - Times executed: 125 ]
-
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 = '2093097') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2093097') 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-07 08:15:27 Duration: 1s864ms 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 = '2102769') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2102769') 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-08 02:57:42 Duration: 1s780ms 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.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100483') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100483') 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-09 09:43:05 Duration: 1s779ms Database: ctdprd51 User: pubeu Bind query: yes
17 12m10s 1 12m10s 12m10s 12m10s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr 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 gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?))) 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 gcr.id in ( select gcra.gene_chem_reference_id from gene_chem_reference_axn gcra where (gcra.action_degree_type_nm = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 12 05 1 12m10s 12m10s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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 gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'affects'))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-04-12 05:25:29 Duration: 12m10s Bind query: yes
18 11m26s 107 1s18ms 23s424ms 6s416ms 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 #18
Day Hour Count Duration Avg duration Apr 06 07 1 7s395ms 7s395ms 22 1 10s76ms 10s76ms Apr 07 07 2 2s923ms 1s461ms 22 1 1s143ms 1s143ms Apr 08 08 1 3s487ms 3s487ms Apr 09 04 2 7s330ms 3s665ms 05 3 23s275ms 7s758ms 06 5 37s232ms 7s446ms 07 6 27s138ms 4s523ms 08 5 31s164ms 6s232ms 09 3 56s473ms 18s824ms 10 5 45s574ms 9s114ms 12 2 2s511ms 1s255ms 13 4 22s217ms 5s554ms 14 2 5s169ms 2s584ms 15 2 22s894ms 11s447ms 16 6 47s149ms 7s858ms 17 3 28s126ms 9s375ms 18 6 12s648ms 2s108ms 19 2 6s333ms 3s166ms 20 3 26s999ms 8s999ms 21 4 29s254ms 7s313ms 22 4 19s65ms 4s766ms 23 1 2s88ms 2s88ms Apr 10 00 4 10s187ms 2s546ms 01 9 47s836ms 5s315ms 02 3 31s278ms 10s426ms 03 3 1m2s 20s725ms 04 2 8s668ms 4s334ms Apr 11 05 2 2s84ms 1s42ms 07 2 12s564ms 6s282ms Apr 12 02 2 6s364ms 3s182ms 08 2 20s620ms 10s310ms 11 1 2s713ms 2s713ms 14 1 1s480ms 1s480ms 17 2 2s883ms 1s441ms [ User: pubeu - Total duration: 2m43s - Times executed: 29 ]
-
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-09 09:28:36 Duration: 23s424ms 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-09 17:06:39 Duration: 22s942ms 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-09 08:14:28 Duration: 22s610ms Bind query: yes
19 11m5s 166 1s 12s551ms 4s10ms 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 #19
Day Hour Count Duration Avg duration Apr 06 04 1 3s161ms 3s161ms 05 1 6s211ms 6s211ms 09 1 4s676ms 4s676ms 10 1 10s755ms 10s755ms 11 1 1s239ms 1s239ms 23 4 13s100ms 3s275ms Apr 07 00 1 3s134ms 3s134ms 02 2 2s776ms 1s388ms 03 1 2s196ms 2s196ms 04 2 3s217ms 1s608ms 05 1 4s758ms 4s758ms 06 1 1s401ms 1s401ms 07 3 14s306ms 4s768ms 09 2 2s548ms 1s274ms 10 5 25s940ms 5s188ms 11 2 9s419ms 4s709ms 12 2 15s324ms 7s662ms 14 2 11s593ms 5s796ms 18 3 11s46ms 3s682ms 21 1 1s18ms 1s18ms 22 1 4s755ms 4s755ms 23 1 3s744ms 3s744ms Apr 08 00 1 1s301ms 1s301ms 02 2 11s946ms 5s973ms 05 1 2s781ms 2s781ms 06 1 3s270ms 3s270ms 07 3 8s104ms 2s701ms 10 1 3s171ms 3s171ms 11 1 11s500ms 11s500ms 14 1 10s589ms 10s589ms 16 1 4s591ms 4s591ms 21 2 4s966ms 2s483ms 22 1 1s229ms 1s229ms 23 2 7s553ms 3s776ms Apr 09 02 1 1s609ms 1s609ms 03 1 1s642ms 1s642ms 04 2 3s628ms 1s814ms 05 1 2s103ms 2s103ms 06 3 6s294ms 2s98ms 07 3 19s151ms 6s383ms 08 2 7s967ms 3s983ms 09 2 14s10ms 7s5ms 10 3 9s265ms 3s88ms 11 5 7s329ms 1s465ms 12 2 5s858ms 2s929ms 13 4 17s605ms 4s401ms 14 1 2s240ms 2s240ms 15 2 5s462ms 2s731ms 16 3 23s251ms 7s750ms 18 1 1s745ms 1s745ms 19 3 11s568ms 3s856ms 20 3 16s396ms 5s465ms 21 2 4s616ms 2s308ms 22 3 4s475ms 1s491ms 23 3 15s816ms 5s272ms Apr 10 00 1 4s715ms 4s715ms 01 5 19s485ms 3s897ms 02 5 24s394ms 4s878ms 03 1 4s324ms 4s324ms 04 5 13s282ms 2s656ms 05 3 12s926ms 4s308ms 06 2 3s673ms 1s836ms 10 1 1s652ms 1s652ms 11 2 11s473ms 5s736ms 12 1 11s987ms 11s987ms 14 1 4s685ms 4s685ms 15 1 4s572ms 4s572ms 16 1 6s164ms 6s164ms 17 1 3s49ms 3s49ms 21 1 4s992ms 4s992ms Apr 11 01 1 2s679ms 2s679ms 03 1 1s160ms 1s160ms 05 3 3s660ms 1s220ms 06 3 14s87ms 4s695ms 07 2 5s520ms 2s760ms 09 1 3s195ms 3s195ms 15 3 12s315ms 4s105ms 22 1 5s355ms 5s355ms Apr 12 00 1 10s615ms 10s615ms 01 2 2s502ms 1s251ms 04 1 11s976ms 11s976ms 06 1 1s7ms 1s7ms 09 4 15s398ms 3s849ms 11 4 34s180ms 8s545ms 19 1 1s393ms 1s393ms [ User: pubeu - Total duration: 4m37s - Times executed: 62 ]
-
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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-09 20:22:32 Duration: 12s551ms 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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-10 12:14:53 Duration: 11s987ms 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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-12 04:15:58 Duration: 11s976ms Database: ctdprd51 User: pubeu Bind query: yes
20 10m11s 105 1s13ms 50s141ms 5s827ms 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 #20
Day Hour Count Duration Avg duration Apr 06 02 1 2s159ms 2s159ms Apr 07 04 2 2s285ms 1s142ms 05 1 1s104ms 1s104ms 09 3 3s413ms 1s137ms 13 1 5s975ms 5s975ms Apr 08 03 2 2s166ms 1s83ms 04 3 5s36ms 1s678ms 05 5 5s613ms 1s122ms Apr 10 21 1 1s212ms 1s212ms 22 82 8m54s 6s516ms 23 4 48s536ms 12s134ms [ User: pubeu - Total duration: 2m17s - Times executed: 25 ]
-
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-10 22:39:14 Duration: 50s141ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d011297' "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 = 2098358) 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-10 22:30:54 Duration: 29s364ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d007674' "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 = 2100721) 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-10 22:29:21 Duration: 24s169ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,624 56m16s 1s136ms 1s936ms 1s286ms 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 06 00 8 10s489ms 1s311ms 01 6 8s94ms 1s349ms 02 10 13s626ms 1s362ms 03 7 9s483ms 1s354ms 04 11 15s221ms 1s383ms 05 5 6s546ms 1s309ms 06 11 14s241ms 1s294ms 07 3 3s956ms 1s318ms 08 6 7s644ms 1s274ms 09 4 5s71ms 1s267ms 10 4 5s175ms 1s293ms 11 1 1s246ms 1s246ms 12 2 2s582ms 1s291ms 13 6 7s778ms 1s296ms 14 2 2s521ms 1s260ms 15 3 3s805ms 1s268ms 16 2 2s492ms 1s246ms 17 1 1s290ms 1s290ms 18 6 7s709ms 1s284ms 19 6 7s662ms 1s277ms 20 10 12s702ms 1s270ms 21 4 5s75ms 1s268ms 22 8 10s144ms 1s268ms 23 18 22s844ms 1s269ms Apr 07 00 8 10s203ms 1s275ms 01 23 29s300ms 1s273ms 02 5 6s300ms 1s260ms 03 12 15s242ms 1s270ms 04 12 15s311ms 1s275ms 05 17 22s7ms 1s294ms 06 36 46s579ms 1s293ms 07 42 55s316ms 1s317ms 08 35 47s688ms 1s362ms 09 22 30s330ms 1s378ms 10 43 56s834ms 1s321ms 11 24 30s582ms 1s274ms 12 27 34s283ms 1s269ms 13 6 7s720ms 1s286ms 14 5 6s658ms 1s331ms 15 9 11s591ms 1s287ms 16 23 29s331ms 1s275ms 17 16 20s324ms 1s270ms 18 16 20s515ms 1s282ms 19 19 24s300ms 1s278ms 20 10 12s679ms 1s267ms 21 5 6s327ms 1s265ms 22 11 13s882ms 1s262ms 23 12 15s346ms 1s278ms Apr 08 00 37 49s450ms 1s336ms 01 33 43s376ms 1s314ms 02 24 31s663ms 1s319ms 03 15 19s263ms 1s284ms 04 28 36s12ms 1s286ms 05 22 28s558ms 1s298ms 06 19 24s465ms 1s287ms 07 3 3s854ms 1s284ms 08 26 34s882ms 1s341ms 09 26 34s610ms 1s331ms 10 30 39s4ms 1s300ms 11 20 26s308ms 1s315ms 12 29 37s602ms 1s296ms 13 12 16s33ms 1s336ms 14 4 5s309ms 1s327ms 15 4 5s153ms 1s288ms 16 13 16s840ms 1s295ms 17 9 11s623ms 1s291ms 18 14 17s996ms 1s285ms 19 25 32s382ms 1s295ms 20 19 25s389ms 1s336ms 21 27 35s320ms 1s308ms 22 7 9s233ms 1s319ms 23 3 3s938ms 1s312ms Apr 09 00 7 9s386ms 1s340ms 01 3 3s829ms 1s276ms 02 11 14s16ms 1s274ms 03 14 17s508ms 1s250ms 04 25 32s296ms 1s291ms 05 47 1m 1s288ms 06 45 57s491ms 1s277ms 07 37 47s581ms 1s285ms 08 39 50s513ms 1s295ms 09 32 42s395ms 1s324ms 10 31 39s770ms 1s282ms 11 32 41s19ms 1s281ms 12 17 21s604ms 1s270ms 13 18 23s102ms 1s283ms 14 25 31s808ms 1s272ms 15 22 28s192ms 1s281ms 16 18 22s580ms 1s254ms 17 21 25s995ms 1s237ms 18 15 18s664ms 1s244ms 19 21 26s344ms 1s254ms 20 31 39s172ms 1s263ms 21 14 17s584ms 1s256ms 22 27 34s952ms 1s294ms 23 24 30s660ms 1s277ms Apr 10 00 32 41s215ms 1s287ms 01 34 43s271ms 1s272ms 02 26 32s706ms 1s257ms 03 24 30s261ms 1s260ms 04 14 17s880ms 1s277ms 05 15 20s360ms 1s357ms 06 10 12s963ms 1s296ms 07 11 14s137ms 1s285ms 08 10 12s622ms 1s262ms 09 26 33s292ms 1s280ms 10 5 6s516ms 1s303ms 11 7 8s921ms 1s274ms 12 9 11s343ms 1s260ms 13 6 7s520ms 1s253ms 14 9 11s206ms 1s245ms 15 9 11s268ms 1s252ms 16 21 26s879ms 1s279ms 17 25 31s603ms 1s264ms 18 23 30s269ms 1s316ms 19 13 16s310ms 1s254ms 20 11 13s688ms 1s244ms 21 28 35s166ms 1s255ms 22 20 26s339ms 1s316ms 23 8 10s69ms 1s258ms Apr 11 00 6 7s639ms 1s273ms 01 11 14s256ms 1s296ms 02 8 10s245ms 1s280ms 03 10 12s807ms 1s280ms 04 4 5s194ms 1s298ms 05 20 25s981ms 1s299ms 06 20 25s72ms 1s253ms 07 12 15s150ms 1s262ms 08 11 13s696ms 1s245ms 09 10 12s529ms 1s252ms 10 5 6s987ms 1s397ms 11 3 3s788ms 1s262ms 12 10 12s320ms 1s232ms 13 6 7s447ms 1s241ms 14 2 2s498ms 1s249ms 15 30 36s946ms 1s231ms 16 24 29s956ms 1s248ms 17 11 13s345ms 1s213ms 18 7 8s618ms 1s231ms 19 8 9s943ms 1s242ms 20 4 4s972ms 1s243ms 21 23 28s569ms 1s242ms 22 17 21s731ms 1s278ms 23 13 16s696ms 1s284ms Apr 12 00 9 11s618ms 1s290ms 01 47 1m 1s289ms 02 40 51s778ms 1s294ms 03 5 6s374ms 1s274ms 04 21 26s759ms 1s274ms 05 34 44s220ms 1s300ms 06 3 3s873ms 1s291ms 07 4 5s135ms 1s283ms 08 14 17s841ms 1s274ms 09 15 19s340ms 1s289ms 10 7 8s975ms 1s282ms 11 16 20s411ms 1s275ms 12 9 11s587ms 1s287ms 13 11 14s27ms 1s275ms 14 12 15s242ms 1s270ms 15 14 17s654ms 1s261ms 16 6 7s732ms 1s288ms 17 24 30s869ms 1s286ms 18 18 22s819ms 1s267ms 19 8 9s636ms 1s204ms 20 7 8s624ms 1s232ms 21 10 12s227ms 1s222ms 22 8 10s97ms 1s262ms 23 4 5s41ms 1s260ms [ User: pubeu - Total duration: 15m22s - Times executed: 714 ]
-
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 = '1905396' or receptorTerm.id = '1905396' 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-07 06:50:12 Duration: 1s936ms 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 = '1586229' or receptorTerm.id = '1586229' 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-11 10:02:23 Duration: 1s933ms 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 = '1608337' or receptorTerm.id = '1608337' 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-10 18:06:21 Duration: 1s921ms Bind query: yes
2 687 16m26s 1s309ms 2s49ms 1s436ms 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 #2
Day Hour Count Duration Avg duration Apr 06 00 2 2s986ms 1s493ms 01 4 6s53ms 1s513ms 02 2 3s60ms 1s530ms 03 2 3s58ms 1s529ms 04 1 1s575ms 1s575ms 05 2 3s34ms 1s517ms 06 5 7s723ms 1s544ms 08 1 1s434ms 1s434ms 09 4 5s746ms 1s436ms 10 6 8s536ms 1s422ms 11 6 8s543ms 1s423ms 12 1 1s367ms 1s367ms 13 6 8s739ms 1s456ms 15 3 4s245ms 1s415ms 16 2 2s909ms 1s454ms 17 5 7s138ms 1s427ms 18 1 1s468ms 1s468ms 19 1 1s420ms 1s420ms 20 2 2s751ms 1s375ms 21 2 2s819ms 1s409ms 22 4 5s654ms 1s413ms 23 8 11s337ms 1s417ms Apr 07 00 5 6s987ms 1s397ms 01 5 6s997ms 1s399ms 02 8 11s263ms 1s407ms 03 7 9s801ms 1s400ms 04 5 6s939ms 1s387ms 05 13 18s792ms 1s445ms 06 11 15s595ms 1s417ms 07 18 26s92ms 1s449ms 08 11 16s775ms 1s525ms 09 6 9s35ms 1s505ms 10 2 2s996ms 1s498ms 11 4 5s548ms 1s387ms 12 2 2s874ms 1s437ms 13 2 3s41ms 1s520ms 15 1 1s566ms 1s566ms 18 2 2s897ms 1s448ms 19 2 2s824ms 1s412ms 20 2 2s800ms 1s400ms 21 4 5s919ms 1s479ms 22 2 2s826ms 1s413ms 23 2 2s756ms 1s378ms Apr 08 00 5 7s136ms 1s427ms 01 3 4s474ms 1s491ms 02 8 12s202ms 1s525ms 03 6 8s371ms 1s395ms 04 6 8s477ms 1s412ms 05 4 5s924ms 1s481ms 07 2 2s875ms 1s437ms 08 8 11s701ms 1s462ms 09 7 10s15ms 1s430ms 10 9 13s192ms 1s465ms 11 2 3s141ms 1s570ms 12 4 5s897ms 1s474ms 13 4 5s571ms 1s392ms 14 2 3s11ms 1s505ms 15 7 10s615ms 1s516ms 17 2 2s888ms 1s444ms 18 13 19s526ms 1s502ms 19 6 8s626ms 1s437ms 20 7 10s27ms 1s432ms 21 13 18s680ms 1s436ms 22 6 8s763ms 1s460ms Apr 09 01 4 5s543ms 1s385ms 02 2 2s861ms 1s430ms 03 3 4s625ms 1s541ms 04 4 5s875ms 1s468ms 05 9 13s49ms 1s449ms 06 7 10s59ms 1s437ms 07 4 5s623ms 1s405ms 08 6 8s641ms 1s440ms 09 8 11s552ms 1s444ms 10 2 2s892ms 1s446ms 11 8 11s417ms 1s427ms 13 5 7s90ms 1s418ms 14 5 7s152ms 1s430ms 15 5 7s232ms 1s446ms 16 3 4s14ms 1s338ms 17 2 2s885ms 1s442ms 18 2 2s648ms 1s324ms 19 10 13s802ms 1s380ms 20 10 14s627ms 1s462ms 21 6 8s522ms 1s420ms 22 7 10s173ms 1s453ms 23 7 9s996ms 1s428ms Apr 10 00 8 11s563ms 1s445ms 01 7 9s992ms 1s427ms 02 3 4s229ms 1s409ms 04 3 4s708ms 1s569ms 05 4 6s283ms 1s570ms 06 4 5s645ms 1s411ms 07 5 7s52ms 1s410ms 08 6 8s466ms 1s411ms 09 8 11s275ms 1s409ms 10 1 1s531ms 1s531ms 13 5 6s972ms 1s394ms 14 4 5s559ms 1s389ms 15 4 5s682ms 1s420ms 16 7 10s248ms 1s464ms 17 6 8s243ms 1s373ms 18 6 8s561ms 1s426ms 19 5 7s89ms 1s417ms 20 6 8s306ms 1s384ms 21 8 11s212ms 1s401ms 22 4 5s784ms 1s446ms 23 4 5s666ms 1s416ms Apr 11 00 1 1s392ms 1s392ms 01 2 2s903ms 1s451ms 02 3 4s229ms 1s409ms 03 1 1s400ms 1s400ms 04 2 2s806ms 1s403ms 05 12 17s194ms 1s432ms 06 3 4s637ms 1s545ms 07 8 11s151ms 1s393ms 08 4 5s819ms 1s454ms 09 4 5s433ms 1s358ms 10 5 6s961ms 1s392ms 11 3 4s257ms 1s419ms 12 8 10s949ms 1s368ms 13 2 2s808ms 1s404ms 14 1 1s382ms 1s382ms 15 6 8s320ms 1s386ms 16 2 2s765ms 1s382ms 18 2 2s762ms 1s381ms 19 1 1s402ms 1s402ms 20 1 1s385ms 1s385ms 21 2 2s689ms 1s344ms 22 4 5s721ms 1s430ms 23 1 1s423ms 1s423ms Apr 12 00 2 2s869ms 1s434ms 01 8 11s393ms 1s424ms 02 2 2s904ms 1s452ms 03 5 7s113ms 1s422ms 04 5 7s230ms 1s446ms 05 3 4s482ms 1s494ms 08 7 9s904ms 1s414ms 09 2 2s846ms 1s423ms 10 3 4s337ms 1s445ms 12 1 1s413ms 1s413ms 13 3 4s244ms 1s414ms 14 3 4s254ms 1s418ms 15 3 4s89ms 1s363ms 17 8 11s591ms 1s448ms 18 10 14s134ms 1s413ms 21 1 1s409ms 1s409ms 22 6 8s384ms 1s397ms 23 2 2s861ms 1s430ms [ User: pubeu - Total duration: 4m40s - Times executed: 196 ]
[ User: qaeu - Total duration: 1s532ms - 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.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1271201') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1271201') 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-06 06:10:25 Duration: 2s49ms 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 = '1256878') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1256878') 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-09 20:43:34 Duration: 1s919ms 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 = '1921409') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1921409') 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-08 08:15:09 Duration: 1s865ms Bind query: yes
3 512 12m18s 1s308ms 1s864ms 1s441ms 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 #3
Day Hour Count Duration Avg duration Apr 06 00 1 1s516ms 1s516ms 02 2 3s52ms 1s526ms 03 1 1s407ms 1s407ms 04 3 4s365ms 1s455ms 05 2 3s107ms 1s553ms 06 1 1s432ms 1s432ms 08 2 2s875ms 1s437ms 09 1 1s427ms 1s427ms 10 1 1s435ms 1s435ms 11 1 1s550ms 1s550ms 13 3 4s670ms 1s556ms 14 1 1s443ms 1s443ms 17 1 1s389ms 1s389ms 18 1 1s397ms 1s397ms 19 8 11s590ms 1s448ms 20 1 1s412ms 1s412ms 21 1 1s439ms 1s439ms Apr 07 00 9 12s837ms 1s426ms 01 1 1s359ms 1s359ms 02 5 7s141ms 1s428ms 03 3 4s246ms 1s415ms 04 4 5s652ms 1s413ms 05 8 11s712ms 1s464ms 06 12 17s33ms 1s419ms 07 7 10s758ms 1s536ms 08 8 12s777ms 1s597ms 09 4 6s223ms 1s555ms 10 4 5s804ms 1s451ms 11 8 11s616ms 1s452ms 12 2 2s925ms 1s462ms 13 3 4s284ms 1s428ms 14 1 1s478ms 1s478ms 16 1 1s410ms 1s410ms 17 2 2s713ms 1s356ms 18 8 11s380ms 1s422ms 19 3 4s334ms 1s444ms 20 3 4s426ms 1s475ms 21 1 1s495ms 1s495ms 22 2 2s707ms 1s353ms 23 2 2s866ms 1s433ms Apr 08 00 5 7s147ms 1s429ms 01 3 4s571ms 1s523ms 02 5 7s566ms 1s513ms 03 4 5s723ms 1s430ms 04 8 11s649ms 1s456ms 05 4 5s968ms 1s492ms 06 7 9s971ms 1s424ms 07 4 5s782ms 1s445ms 08 4 5s703ms 1s425ms 09 5 7s524ms 1s504ms 10 8 11s830ms 1s478ms 11 7 10s652ms 1s521ms 12 6 8s927ms 1s487ms 13 5 7s387ms 1s477ms 14 2 3s52ms 1s526ms 15 5 7s294ms 1s458ms 16 3 4s214ms 1s404ms 18 6 8s616ms 1s436ms 19 1 1s459ms 1s459ms 20 5 7s595ms 1s519ms 21 4 6s98ms 1s524ms 22 2 2s916ms 1s458ms 23 2 2s825ms 1s412ms Apr 09 00 1 1s368ms 1s368ms 01 2 2s870ms 1s435ms 02 4 5s713ms 1s428ms 03 1 1s359ms 1s359ms 04 1 1s548ms 1s548ms 05 19 27s384ms 1s441ms 06 5 7s140ms 1s428ms 07 7 10s214ms 1s459ms 08 5 7s417ms 1s483ms 09 8 12s61ms 1s507ms 10 4 5s753ms 1s438ms 11 4 5s785ms 1s446ms 12 1 1s380ms 1s380ms 13 3 4s462ms 1s487ms 14 5 7s19ms 1s403ms 15 3 4s315ms 1s438ms 17 3 4s279ms 1s426ms 18 1 1s393ms 1s393ms 19 3 4s221ms 1s407ms 20 9 12s458ms 1s384ms 21 2 2s714ms 1s357ms 22 12 17s326ms 1s443ms 23 5 7s144ms 1s428ms Apr 10 00 3 4s279ms 1s426ms 01 2 2s816ms 1s408ms 02 7 9s984ms 1s426ms 03 5 7s60ms 1s412ms 04 7 9s726ms 1s389ms 05 2 3s95ms 1s547ms 07 1 1s403ms 1s403ms 08 2 2s887ms 1s443ms 09 1 1s395ms 1s395ms 10 3 4s223ms 1s407ms 11 2 2s855ms 1s427ms 12 3 4s56ms 1s352ms 13 1 1s407ms 1s407ms 15 3 4s118ms 1s372ms 16 12 16s716ms 1s393ms 18 2 2s745ms 1s372ms 19 2 2s814ms 1s407ms 20 8 11s151ms 1s393ms 21 3 4s215ms 1s405ms 22 9 13s28ms 1s447ms Apr 11 00 3 4s238ms 1s412ms 01 4 5s626ms 1s406ms 02 2 2s805ms 1s402ms 03 1 1s393ms 1s393ms 04 2 2s826ms 1s413ms 05 6 8s823ms 1s470ms 06 2 2s902ms 1s451ms 08 1 1s464ms 1s464ms 09 3 4s178ms 1s392ms 10 1 1s385ms 1s385ms 12 6 8s38ms 1s339ms 13 1 1s345ms 1s345ms 14 1 1s357ms 1s357ms 16 1 1s418ms 1s418ms 17 5 6s713ms 1s342ms 18 1 1s337ms 1s337ms 19 2 2s795ms 1s397ms 21 1 1s391ms 1s391ms 23 1 1s375ms 1s375ms Apr 12 01 9 12s907ms 1s434ms 02 5 7s172ms 1s434ms 04 3 4s279ms 1s426ms 05 6 8s838ms 1s473ms 06 1 1s501ms 1s501ms 07 1 1s388ms 1s388ms 08 2 2s862ms 1s431ms 10 3 4s257ms 1s419ms 11 2 2s824ms 1s412ms 12 2 2s837ms 1s418ms 13 2 2s785ms 1s392ms 14 2 2s853ms 1s426ms 15 1 1s394ms 1s394ms 17 2 2s869ms 1s434ms 20 1 1s377ms 1s377ms 21 3 4s197ms 1s399ms [ User: pubeu - Total duration: 2m59s - Times executed: 125 ]
-
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 = '2093097') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2093097') 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-07 08:15:27 Duration: 1s864ms 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 = '2102769') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2102769') 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-08 02:57:42 Duration: 1s780ms 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.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100483') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100483') 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-09 09:43:05 Duration: 1s779ms Database: ctdprd51 User: pubeu Bind query: yes
4 411 28m10s 3s818ms 7s949ms 4s112ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 06 00 1 4s34ms 4s34ms 01 1 4s12ms 4s12ms 03 1 4s787ms 4s787ms 04 2 8s692ms 4s346ms 05 1 4s333ms 4s333ms 06 1 4s3ms 4s3ms 08 1 4s171ms 4s171ms 09 2 7s784ms 3s892ms 10 2 8s136ms 4s68ms 12 1 3s920ms 3s920ms 15 1 4s41ms 4s41ms 16 2 8s44ms 4s22ms 18 3 11s841ms 3s947ms 19 3 11s921ms 3s973ms 20 2 8s268ms 4s134ms 21 1 3s894ms 3s894ms 22 2 8s98ms 4s49ms 23 1 4s75ms 4s75ms Apr 07 00 1 3s904ms 3s904ms 01 3 12s504ms 4s168ms 02 2 7s902ms 3s951ms 03 1 3s896ms 3s896ms 04 3 12s31ms 4s10ms 05 8 33s140ms 4s142ms 06 6 24s415ms 4s69ms 07 4 18s2ms 4s500ms 08 2 8s901ms 4s450ms 10 2 8s809ms 4s404ms 11 13 57s641ms 4s433ms 12 3 11s988ms 3s996ms 13 2 8s133ms 4s66ms 14 1 4s184ms 4s184ms 15 1 4s46ms 4s46ms 16 1 3s917ms 3s917ms 18 1 3s901ms 3s901ms 21 7 27s541ms 3s934ms 22 7 28s198ms 4s28ms Apr 08 01 5 21s296ms 4s259ms 02 3 12s829ms 4s276ms 03 1 4s100ms 4s100ms 04 1 4s115ms 4s115ms 05 10 40s698ms 4s69ms 06 2 8s744ms 4s372ms 07 6 24s981ms 4s163ms 08 1 3s858ms 3s858ms 09 8 33s635ms 4s204ms 10 7 30s204ms 4s314ms 11 6 23s974ms 3s995ms 12 2 9s218ms 4s609ms 13 9 43s109ms 4s789ms 15 2 9s81ms 4s540ms 16 4 16s791ms 4s197ms 17 2 8s651ms 4s325ms 18 3 11s843ms 3s947ms 20 1 4s552ms 4s552ms 21 3 11s980ms 3s993ms 22 2 8s737ms 4s368ms 23 5 20s98ms 4s19ms Apr 09 01 3 12s401ms 4s133ms 02 6 24s831ms 4s138ms 03 3 12s376ms 4s125ms 04 9 37s348ms 4s149ms 05 1 3s953ms 3s953ms 06 2 8s560ms 4s280ms 07 2 7s879ms 3s939ms 08 2 8s338ms 4s169ms 09 5 21s297ms 4s259ms 10 2 8s52ms 4s26ms 11 2 8s110ms 4s55ms 12 1 3s855ms 3s855ms 13 6 24s463ms 4s77ms 14 4 18s408ms 4s602ms 15 3 12s641ms 4s213ms 16 2 7s963ms 3s981ms 18 2 7s827ms 3s913ms 19 2 7s756ms 3s878ms 21 1 4s101ms 4s101ms 22 4 16s431ms 4s107ms 23 1 4s294ms 4s294ms Apr 10 00 1 3s994ms 3s994ms 01 3 12s635ms 4s211ms 02 50 3m17s 3s959ms 03 18 1m11s 3s949ms 04 2 8s100ms 4s50ms 07 1 3s951ms 3s951ms 08 4 15s891ms 3s972ms 09 4 17s203ms 4s300ms 10 1 4s369ms 4s369ms 11 4 15s959ms 3s989ms 12 4 15s925ms 3s981ms 13 3 12s111ms 4s37ms 14 2 8s117ms 4s58ms 15 1 4s100ms 4s100ms 16 1 3s981ms 3s981ms 20 3 12s37ms 4s12ms 21 5 20s758ms 4s151ms 22 1 4s45ms 4s45ms Apr 11 02 2 8s225ms 4s112ms 03 2 8s277ms 4s138ms 04 4 16s248ms 4s62ms 05 3 12s85ms 4s28ms 06 2 8s66ms 4s33ms 07 3 12s164ms 4s54ms 08 3 12s9ms 4s3ms 09 2 7s989ms 3s994ms 10 2 8s356ms 4s178ms 12 6 23s998ms 3s999ms 13 3 11s974ms 3s991ms 14 1 3s910ms 3s910ms 16 2 7s989ms 3s994ms 20 3 11s979ms 3s993ms 22 1 4s148ms 4s148ms 23 1 4s71ms 4s71ms Apr 12 00 1 3s952ms 3s952ms 01 1 4s275ms 4s275ms 03 1 4s413ms 4s413ms 06 3 12s373ms 4s124ms 07 1 3s982ms 3s982ms 08 2 8s21ms 4s10ms 09 1 4s192ms 4s192ms 10 3 12s98ms 4s32ms 11 1 4s294ms 4s294ms 13 1 3s993ms 3s993ms 18 1 4s278ms 4s278ms 19 1 4s18ms 4s18ms 20 1 4s10ms 4s10ms 21 1 3s937ms 3s937ms 22 1 4s30ms 4s30ms 23 1 4s70ms 4s70ms [ User: pubeu - Total duration: 11m23s - Times executed: 166 ]
-
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 = '1447334') 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 = '1447334') 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-08 13:00:01 Duration: 7s949ms 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 = '1352221') 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 = '1352221') 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-08 13:21:22 Duration: 5s655ms 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 = '1288234') 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 = '1288234') 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-09 14:46:45 Duration: 5s235ms Bind query: yes
5 392 20m29s 1s2ms 7s169ms 3s136ms 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 07 15 7 20s334ms 2s904ms 16 14 40s612ms 2s900ms Apr 08 09 22 1m4s 2s927ms Apr 09 03 2 8s888ms 4s444ms 04 12 31s346ms 2s612ms 05 22 1m9s 3s144ms 06 24 1m25s 3s555ms 07 9 23s994ms 2s666ms 08 9 25s246ms 2s805ms 09 4 11s551ms 2s887ms 10 8 30s543ms 3s817ms 11 9 34s806ms 3s867ms 12 10 41s70ms 4s107ms 13 12 30s928ms 2s577ms 14 13 43s903ms 3s377ms 15 6 23s428ms 3s904ms 16 9 35s85ms 3s898ms 17 13 34s264ms 2s635ms 18 9 32s225ms 3s580ms 19 14 46s656ms 3s332ms 20 17 52s843ms 3s108ms 21 9 23s443ms 2s604ms 22 6 16s759ms 2s793ms 23 10 37s329ms 3s732ms Apr 10 00 14 44s170ms 3s155ms 01 18 53s6ms 2s944ms 02 6 18s74ms 3s12ms 03 5 16s489ms 3s297ms 04 10 36s613ms 3s661ms 05 1 1s993ms 1s993ms 12 1 2s96ms 2s96ms Apr 11 04 1 1s997ms 1s997ms 20 16 45s894ms 2s868ms 21 13 39s554ms 3s42ms 22 1 1s462ms 1s462ms 23 7 20s249ms 2s892ms Apr 12 00 14 40s624ms 2s901ms 02 1 2s12ms 2s12ms 23 14 40s880ms 2s920ms [ User: pubeu - Total duration: 3m52s - Times executed: 69 ]
-
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-09 03:55:59 Duration: 7s169ms 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-12 23:43:58 Duration: 6s957ms 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-10 04:20:31 Duration: 6s921ms Bind query: yes
6 328 12m46s 1s1ms 4s540ms 2s337ms 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 #6
Day Hour Count Duration Avg duration Apr 06 00 1 1s981ms 1s981ms 20 1 1s44ms 1s44ms Apr 07 15 8 16s523ms 2s65ms 16 15 32s300ms 2s153ms Apr 08 09 24 52s624ms 2s192ms 10 1 1s18ms 1s18ms Apr 09 03 2 3s58ms 1s529ms 04 15 41s913ms 2s794ms 05 20 53s543ms 2s677ms 06 22 53s778ms 2s444ms 07 7 17s89ms 2s441ms 08 6 10s115ms 1s685ms 09 9 22s188ms 2s465ms 10 6 14s215ms 2s369ms 11 6 11s809ms 1s968ms 12 6 8s465ms 1s410ms 13 10 26s448ms 2s644ms 14 5 15s839ms 3s167ms 15 6 15s692ms 2s615ms 16 4 6s193ms 1s548ms 17 4 13s606ms 3s401ms 18 5 10s360ms 2s72ms 19 16 40s311ms 2s519ms 20 6 12s339ms 2s56ms 21 7 17s657ms 2s522ms 22 12 32s394ms 2s699ms 23 3 8s609ms 2s869ms Apr 10 00 4 13s635ms 3s408ms 01 6 16s47ms 2s674ms 02 7 15s472ms 2s210ms 03 6 15s233ms 2s538ms 04 4 10s566ms 2s641ms 09 1 1s945ms 1s945ms 16 1 2s53ms 2s53ms Apr 11 20 17 34s828ms 2s48ms 21 14 31s352ms 2s239ms 22 1 1s92ms 1s92ms 23 8 16s693ms 2s86ms Apr 12 00 16 33s448ms 2s90ms 23 16 33s233ms 2s77ms [ User: pubeu - Total duration: 2m29s - Times executed: 64 ]
-
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-09 09:35:49 Duration: 4s540ms 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-09 05:07:36 Duration: 4s413ms 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-10 01:08:38 Duration: 4s381ms Database: ctdprd51 User: pubeu Bind query: yes
7 307 18m19s 1s1ms 7s718ms 3s581ms 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 06 00 1 1s101ms 1s101ms 05 6 6s192ms 1s32ms 06 4 17s567ms 4s391ms 07 1 4s792ms 4s792ms 11 1 5s97ms 5s97ms 12 1 5s467ms 5s467ms 13 6 6s405ms 1s67ms 19 1 1s31ms 1s31ms 23 1 1s37ms 1s37ms Apr 07 00 1 1s36ms 1s36ms 04 1 1s10ms 1s10ms 05 8 18s565ms 2s320ms 06 2 11s361ms 5s680ms 07 4 27s411ms 6s852ms 08 4 19s811ms 4s952ms 09 1 6s266ms 6s266ms 10 1 6s968ms 6s968ms 11 2 11s608ms 5s804ms 12 2 10s486ms 5s243ms 13 1 5s355ms 5s355ms 15 6 23s639ms 3s939ms 16 12 45s884ms 3s823ms 20 1 5s264ms 5s264ms 22 1 4s982ms 4s982ms Apr 08 01 3 12s9ms 4s3ms 02 2 11s368ms 5s684ms 03 5 17s851ms 3s570ms 05 8 17s690ms 2s211ms 06 1 1s25ms 1s25ms 09 19 1m25s 4s494ms 10 5 21s146ms 4s229ms 11 1 4s749ms 4s749ms 13 1 1s84ms 1s84ms 16 1 5s601ms 5s601ms 17 1 5s206ms 5s206ms 18 2 2s259ms 1s129ms 19 1 6s611ms 6s611ms 20 1 4s902ms 4s902ms 22 2 11s519ms 5s759ms 23 1 5s420ms 5s420ms Apr 09 03 1 5s634ms 5s634ms 04 5 17s814ms 3s562ms 05 19 1m3s 3s319ms 06 12 44s343ms 3s695ms 09 1 5s304ms 5s304ms 10 1 5s719ms 5s719ms 11 1 5s603ms 5s603ms 12 3 14s575ms 4s858ms 13 2 6s583ms 3s291ms 15 4 17s255ms 4s313ms 18 1 4s771ms 4s771ms 20 3 16s3ms 5s334ms 21 2 6s811ms 3s405ms 22 3 17s734ms 5s911ms 23 1 1s63ms 1s63ms Apr 10 00 1 5s309ms 5s309ms 01 2 9s579ms 4s789ms 02 3 16s652ms 5s550ms 03 2 2s43ms 1s21ms 04 1 4s982ms 4s982ms 05 6 6s244ms 1s40ms 07 3 15s127ms 5s42ms 10 4 21s550ms 5s387ms 12 1 5s154ms 5s154ms 13 4 20s893ms 5s223ms 14 1 1s36ms 1s36ms 15 1 1s28ms 1s28ms 16 1 1s32ms 1s32ms 21 1 5s704ms 5s704ms Apr 11 02 1 1s20ms 1s20ms 05 6 6s214ms 1s35ms 06 6 14s413ms 2s402ms 13 1 1s55ms 1s55ms 14 1 5s81ms 5s81ms 16 2 2s255ms 1s127ms 17 2 2s58ms 1s29ms 20 8 25s705ms 3s213ms 21 10 32s274ms 3s227ms 22 3 15s800ms 5s266ms 23 7 28s321ms 4s45ms Apr 12 00 13 47s214ms 3s631ms 01 2 11s53ms 5s526ms 03 1 5s338ms 5s338ms 04 3 3s112ms 1s37ms 05 6 6s438ms 1s73ms 07 3 15s716ms 5s238ms 08 1 5s246ms 5s246ms 09 1 5s511ms 5s511ms 10 1 5s313ms 5s313ms 15 2 2s147ms 1s73ms 17 2 2s104ms 1s52ms 23 12 45s294ms 3s774ms [ User: pubeu - Total duration: 4m15s - Times executed: 73 ]
[ User: qaeu - Total duration: 8s403ms - Times executed: 8 ]
-
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-08 09:58:45 Duration: 7s718ms 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 = '1407623' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-07 08:04:20 Duration: 7s689ms 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 = '1308358' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-08 09:22:28 Duration: 7s498ms Bind query: yes
8 283 7m14s 1s494ms 1s622ms 1s535ms 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 #8
Day Hour Count Duration Avg duration Apr 06 01 2 3s40ms 1s520ms 04 1 1s582ms 1s582ms 05 2 3s82ms 1s541ms 11 1 1s553ms 1s553ms 13 2 3s73ms 1s536ms 22 1 1s539ms 1s539ms Apr 07 04 1 1s529ms 1s529ms 05 2 3s101ms 1s550ms 19 1 1s531ms 1s531ms 20 2 3s78ms 1s539ms Apr 08 02 1 1s557ms 1s557ms 05 3 4s604ms 1s534ms 13 2 3s58ms 1s529ms 17 1 1s559ms 1s559ms Apr 09 01 1 1s518ms 1s518ms 04 9 13s951ms 1s550ms 05 12 18s428ms 1s535ms 06 9 13s796ms 1s532ms 07 14 21s445ms 1s531ms 08 12 18s565ms 1s547ms 09 8 12s463ms 1s557ms 10 12 18s528ms 1s544ms 11 10 15s593ms 1s559ms 12 11 16s864ms 1s533ms 13 13 20s61ms 1s543ms 14 9 13s741ms 1s526ms 15 9 13s741ms 1s526ms 16 8 12s110ms 1s513ms 17 10 15s232ms 1s523ms 18 16 24s323ms 1s520ms 19 9 13s761ms 1s529ms 20 13 20s10ms 1s539ms 21 10 15s428ms 1s542ms 22 8 12s254ms 1s531ms 23 5 7s755ms 1s551ms Apr 10 00 9 13s868ms 1s540ms 01 8 12s218ms 1s527ms 02 5 7s578ms 1s515ms 03 9 13s722ms 1s524ms 04 3 4s620ms 1s540ms 05 4 6s125ms 1s531ms 06 1 1s526ms 1s526ms Apr 11 05 2 3s90ms 1s545ms 13 2 3s94ms 1s547ms 15 1 1s517ms 1s517ms 20 1 1s546ms 1s546ms 23 1 1s538ms 1s538ms Apr 12 03 2 3s50ms 1s525ms 05 2 3s28ms 1s514ms 11 1 1s525ms 1s525ms 21 2 3s65ms 1s532ms [ User: pubeu - Total duration: 1m45s - Times executed: 69 ]
[ User: qaeu - Total duration: 1s535ms - 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-09 11:52:53 Duration: 1s622ms 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-09 07:35:08 Duration: 1s611ms 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-09 04:57:45 Duration: 1s609ms Bind query: yes
9 174 1h25m48s 1s73ms 16m48s 29s587ms 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 06 00 1 17s724ms 17s724ms 08 1 1s704ms 1s704ms 11 1 15s201ms 15s201ms 16 1 3s797ms 3s797ms Apr 07 02 3 13s577ms 4s525ms 03 4 10s288ms 2s572ms 04 1 12s224ms 12s224ms 06 1 1s621ms 1s621ms 07 1 1s757ms 1s757ms 09 3 4s980ms 1s660ms 10 3 48s709ms 16s236ms 12 1 1s520ms 1s520ms 14 4 1m2s 15s529ms 21 10 25s252ms 2s525ms 23 1 3s199ms 3s199ms Apr 08 00 4 31s560ms 7s890ms 05 5 11s230ms 2s246ms 16 1 3s788ms 3s788ms 22 1 11s380ms 11s380ms Apr 09 00 24 1h15m56s 3m9s 01 1 2s488ms 2s488ms 02 6 16s128ms 2s688ms 03 18 27s47ms 1s502ms 07 1 1s624ms 1s624ms 09 24 48s882ms 2s36ms 11 2 6s726ms 3s363ms 21 2 4s175ms 2s87ms Apr 10 01 1 2s496ms 2s496ms 04 9 32s300ms 3s588ms 05 1 1s256ms 1s256ms 06 2 5s840ms 2s920ms 10 2 9s194ms 4s597ms 11 1 1s441ms 1s441ms 12 1 1s491ms 1s491ms Apr 11 01 5 39s681ms 7s936ms 02 5 8s557ms 1s711ms 05 2 5s264ms 2s632ms 07 1 1s561ms 1s561ms 08 1 1s421ms 1s421ms 13 1 2s374ms 2s374ms 16 1 3s358ms 3s358ms 19 1 3s298ms 3s298ms 21 1 3s283ms 3s283ms Apr 12 00 1 1s127ms 1s127ms 03 1 14s221ms 14s221ms 08 2 2s448ms 1s224ms 09 6 53s842ms 8s973ms 11 1 2s560ms 2s560ms 16 1 3s391ms 3s391ms 20 1 1s79ms 1s79ms 22 1 1s518ms 1s518ms [ User: pubeu - Total duration: 1h20m16s - Times executed: 82 ]
-
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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-09 00:58:56 Duration: 16m48s 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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-09 00:58:56 Duration: 16m40s 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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-09 00:58:56 Duration: 16m40s Database: ctdprd51 User: pubeu Bind query: yes
10 166 11m5s 1s 12s551ms 4s10ms 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 #10
Day Hour Count Duration Avg duration Apr 06 04 1 3s161ms 3s161ms 05 1 6s211ms 6s211ms 09 1 4s676ms 4s676ms 10 1 10s755ms 10s755ms 11 1 1s239ms 1s239ms 23 4 13s100ms 3s275ms Apr 07 00 1 3s134ms 3s134ms 02 2 2s776ms 1s388ms 03 1 2s196ms 2s196ms 04 2 3s217ms 1s608ms 05 1 4s758ms 4s758ms 06 1 1s401ms 1s401ms 07 3 14s306ms 4s768ms 09 2 2s548ms 1s274ms 10 5 25s940ms 5s188ms 11 2 9s419ms 4s709ms 12 2 15s324ms 7s662ms 14 2 11s593ms 5s796ms 18 3 11s46ms 3s682ms 21 1 1s18ms 1s18ms 22 1 4s755ms 4s755ms 23 1 3s744ms 3s744ms Apr 08 00 1 1s301ms 1s301ms 02 2 11s946ms 5s973ms 05 1 2s781ms 2s781ms 06 1 3s270ms 3s270ms 07 3 8s104ms 2s701ms 10 1 3s171ms 3s171ms 11 1 11s500ms 11s500ms 14 1 10s589ms 10s589ms 16 1 4s591ms 4s591ms 21 2 4s966ms 2s483ms 22 1 1s229ms 1s229ms 23 2 7s553ms 3s776ms Apr 09 02 1 1s609ms 1s609ms 03 1 1s642ms 1s642ms 04 2 3s628ms 1s814ms 05 1 2s103ms 2s103ms 06 3 6s294ms 2s98ms 07 3 19s151ms 6s383ms 08 2 7s967ms 3s983ms 09 2 14s10ms 7s5ms 10 3 9s265ms 3s88ms 11 5 7s329ms 1s465ms 12 2 5s858ms 2s929ms 13 4 17s605ms 4s401ms 14 1 2s240ms 2s240ms 15 2 5s462ms 2s731ms 16 3 23s251ms 7s750ms 18 1 1s745ms 1s745ms 19 3 11s568ms 3s856ms 20 3 16s396ms 5s465ms 21 2 4s616ms 2s308ms 22 3 4s475ms 1s491ms 23 3 15s816ms 5s272ms Apr 10 00 1 4s715ms 4s715ms 01 5 19s485ms 3s897ms 02 5 24s394ms 4s878ms 03 1 4s324ms 4s324ms 04 5 13s282ms 2s656ms 05 3 12s926ms 4s308ms 06 2 3s673ms 1s836ms 10 1 1s652ms 1s652ms 11 2 11s473ms 5s736ms 12 1 11s987ms 11s987ms 14 1 4s685ms 4s685ms 15 1 4s572ms 4s572ms 16 1 6s164ms 6s164ms 17 1 3s49ms 3s49ms 21 1 4s992ms 4s992ms Apr 11 01 1 2s679ms 2s679ms 03 1 1s160ms 1s160ms 05 3 3s660ms 1s220ms 06 3 14s87ms 4s695ms 07 2 5s520ms 2s760ms 09 1 3s195ms 3s195ms 15 3 12s315ms 4s105ms 22 1 5s355ms 5s355ms Apr 12 00 1 10s615ms 10s615ms 01 2 2s502ms 1s251ms 04 1 11s976ms 11s976ms 06 1 1s7ms 1s7ms 09 4 15s398ms 3s849ms 11 4 34s180ms 8s545ms 19 1 1s393ms 1s393ms [ User: pubeu - Total duration: 4m37s - Times executed: 62 ]
-
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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-09 20:22:32 Duration: 12s551ms 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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-10 12:14:53 Duration: 11s987ms 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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-12 04:15:58 Duration: 11s976ms Database: ctdprd51 User: pubeu Bind query: yes
11 145 4m19s 1s329ms 10s619ms 1s790ms 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 d.nm_sort, g.nm_sort limit ? offset ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 08 23 1 2s680ms 2s680ms Apr 09 22 142 4m4s 1s725ms Apr 10 09 1 10s619ms 10s619ms Apr 11 20 1 1s329ms 1s329ms [ User: pubeu - Total duration: 39s539ms - Times executed: 18 ]
-
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 d.nm_sort, g.nm_sort LIMIT 50 OFFSET 100;
Date: 2025-04-10 09:04:21 Duration: 10s619ms 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 = '2101786') ORDER BY d.nm_sort, g.nm_sort LIMIT 50 OFFSET 511200;
Date: 2025-04-09 22:12:57 Duration: 3s219ms 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 = '2101786') ORDER BY d.nm_sort, g.nm_sort LIMIT 50 OFFSET 511400;
Date: 2025-04-09 22:12:52 Duration: 3s190ms Bind query: yes
12 141 3m49s 1s255ms 2s61ms 1s625ms 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 #12
Day Hour Count Duration Avg duration Apr 06 09 1 1s876ms 1s876ms Apr 07 12 1 1s870ms 1s870ms 15 2 3s138ms 1s569ms 16 3 4s387ms 1s462ms Apr 08 07 1 1s879ms 1s879ms 09 6 9s732ms 1s622ms 14 1 1s922ms 1s922ms Apr 09 04 7 11s285ms 1s612ms 05 7 12s121ms 1s731ms 06 6 9s579ms 1s596ms 07 3 4s440ms 1s480ms 08 5 7s298ms 1s459ms 09 3 4s732ms 1s577ms 10 6 10s60ms 1s676ms 11 6 9s447ms 1s574ms 12 2 3s159ms 1s579ms 13 3 5s814ms 1s938ms 14 3 5s29ms 1s676ms 15 3 4s480ms 1s493ms 16 3 4s383ms 1s461ms 17 2 3s186ms 1s593ms 18 4 6s239ms 1s559ms 19 3 4s385ms 1s461ms 20 3 5s670ms 1s890ms 21 2 3s161ms 1s580ms 22 7 12s177ms 1s739ms 23 3 5s72ms 1s690ms Apr 10 00 3 4s463ms 1s487ms 01 8 13s942ms 1s742ms 02 3 4s412ms 1s470ms 03 6 8s814ms 1s469ms 04 3 5s24ms 1s674ms 10 1 1s862ms 1s862ms Apr 11 06 1 1s829ms 1s829ms 20 5 8s416ms 1s683ms 21 4 6s313ms 1s578ms 23 3 4s988ms 1s662ms Apr 12 00 4 6s341ms 1s585ms 23 4 6s223ms 1s555ms [ User: pubeu - Total duration: 1m10s - Times executed: 43 ]
-
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-09 13:36:56 Duration: 2s61ms 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-08 09:19:47 Duration: 2s9ms 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-09 08:45:30 Duration: 1s981ms Bind query: yes
13 129 6m2s 1s13ms 8s455ms 2s808ms 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 #13
Day Hour Count Duration Avg duration Apr 06 07 1 2s584ms 2s584ms Apr 07 07 2 2s106ms 1s53ms Apr 08 00 10 32s703ms 3s270ms 04 34 2m10s 3s846ms 13 1 5s995ms 5s995ms 17 1 1s28ms 1s28ms Apr 09 04 1 2s95ms 2s95ms 05 4 11s482ms 2s870ms 06 3 14s972ms 4s990ms 07 3 10s975ms 3s658ms 09 3 5s826ms 1s942ms 10 1 1s671ms 1s671ms 11 2 3s847ms 1s923ms 12 6 13s142ms 2s190ms 13 2 3s866ms 1s933ms 14 2 8s389ms 4s194ms 15 5 10s102ms 2s20ms 16 4 7s862ms 1s965ms 17 3 6s370ms 2s123ms 18 2 3s760ms 1s880ms 19 2 4s234ms 2s117ms 20 4 7s475ms 1s868ms 21 3 9s653ms 3s217ms 22 3 4s431ms 1s477ms 23 1 3s842ms 3s842ms Apr 10 00 6 15s647ms 2s607ms 01 6 11s14ms 1s835ms 02 4 7s498ms 1s874ms 03 4 7s96ms 1s774ms 04 5 10s512ms 2s102ms Apr 11 23 1 1s309ms 1s309ms [ User: pubeu - Total duration: 1m37s - Times executed: 38 ]
-
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-08 04:20:34 Duration: 8s455ms 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 = '156735' 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 = '156735') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-08 04:20:30 Duration: 6s694ms 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 = '156735' 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 = '156735') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-08 04:20:38 Duration: 6s440ms Bind query: yes
14 123 29m23s 1s147ms 25s262ms 14s337ms 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 #14
Day Hour Count Duration Avg duration Apr 06 04 1 15s471ms 15s471ms 08 1 15s272ms 15s272ms 17 1 15s195ms 15s195ms 20 1 14s960ms 14s960ms Apr 07 00 2 31s511ms 15s755ms 01 6 1m32s 15s398ms 03 1 15s79ms 15s79ms 04 7 1m46s 15s256ms 05 2 32s8ms 16s4ms 06 11 3m37s 19s728ms 07 7 1m50s 15s739ms 08 6 1m33s 15s601ms 09 5 1m17s 15s551ms 10 5 1m16s 15s278ms 11 1 15s358ms 15s358ms 16 1 16s75ms 16s75ms 17 2 29s735ms 14s867ms Apr 08 10 1 15s909ms 15s909ms 11 1 1s147ms 1s147ms 15 3 46s873ms 15s624ms 21 2 2s851ms 1s425ms Apr 09 07 2 3s764ms 1s882ms 10 2 30s765ms 15s382ms 11 2 30s246ms 15s123ms 13 2 31s47ms 15s523ms 14 2 29s965ms 14s982ms 16 1 1s397ms 1s397ms 18 1 16s455ms 16s455ms 19 1 15s542ms 15s542ms 20 1 15s638ms 15s638ms 22 2 4s455ms 2s227ms 23 4 1m1s 15s290ms Apr 10 00 1 15s315ms 15s315ms 01 2 30s695ms 15s347ms 09 2 3s571ms 1s785ms 16 3 46s632ms 15s544ms 18 3 47s222ms 15s740ms 19 3 46s976ms 15s658ms Apr 11 04 2 4s702ms 2s351ms 05 4 1m3s 15s917ms 07 3 48s800ms 16s266ms 10 1 7s671ms 7s671ms 11 2 12s977ms 6s488ms 12 2 25s419ms 12s709ms 13 3 47s109ms 15s703ms Apr 12 06 1 17s31ms 17s31ms 10 2 31s153ms 15s576ms 13 1 15s864ms 15s864ms 18 1 16s613ms 16s613ms [ User: pubeu - Total duration: 12m8s - Times executed: 47 ]
-
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 = '2096075') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-07 06:50:23 Duration: 25s262ms 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 = '2091253') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-07 06:50:24 Duration: 25s259ms 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 = '2096075') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-07 06:38:24 Duration: 23s414ms Database: ctdprd51 User: pubeu Bind query: yes
15 123 2m54s 1s331ms 1s663ms 1s420ms 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 #15
Day Hour Count Duration Avg duration Apr 06 00 2 2s948ms 1s474ms 03 1 1s427ms 1s427ms 05 2 2s697ms 1s348ms 07 1 1s347ms 1s347ms 08 1 1s409ms 1s409ms 13 2 2s771ms 1s385ms 19 3 4s141ms 1s380ms 20 3 4s264ms 1s421ms 21 1 1s475ms 1s475ms 22 3 4s67ms 1s355ms Apr 07 02 3 4s139ms 1s379ms 05 3 4s238ms 1s412ms 06 2 3s5ms 1s502ms 07 1 1s357ms 1s357ms 09 1 1s440ms 1s440ms 15 2 2s906ms 1s453ms 18 1 1s455ms 1s455ms 21 1 1s401ms 1s401ms 22 1 1s479ms 1s479ms Apr 08 02 2 3s17ms 1s508ms 03 5 7s5ms 1s401ms 05 4 5s514ms 1s378ms 06 3 4s345ms 1s448ms 08 1 1s626ms 1s626ms 10 2 2s744ms 1s372ms 11 1 1s478ms 1s478ms 12 1 1s652ms 1s652ms 13 1 1s417ms 1s417ms 20 1 1s359ms 1s359ms 22 3 4s675ms 1s558ms Apr 09 02 2 2s859ms 1s429ms 05 2 2s771ms 1s385ms 06 1 1s399ms 1s399ms 07 1 1s509ms 1s509ms 11 3 4s327ms 1s442ms 23 2 2s891ms 1s445ms Apr 10 02 1 1s352ms 1s352ms 03 4 5s398ms 1s349ms 05 4 5s708ms 1s427ms 06 1 1s408ms 1s408ms 11 2 2s774ms 1s387ms 12 1 1s401ms 1s401ms 14 1 1s427ms 1s427ms 19 3 4s233ms 1s411ms 22 2 2s804ms 1s402ms Apr 11 00 1 1s412ms 1s412ms 04 1 1s421ms 1s421ms 05 4 5s573ms 1s393ms 07 1 1s442ms 1s442ms 11 1 1s443ms 1s443ms 23 3 4s287ms 1s429ms Apr 12 00 2 2s911ms 1s455ms 01 1 1s448ms 1s448ms 02 2 2s896ms 1s448ms 03 2 2s730ms 1s365ms 04 8 11s219ms 1s402ms 05 4 5s886ms 1s471ms 06 1 1s386ms 1s386ms 08 1 1s383ms 1s383ms 09 1 1s439ms 1s439ms 19 1 1s396ms 1s396ms 23 1 1s378ms 1s378ms [ User: pubeu - Total duration: 57s857ms - Times executed: 41 ]
[ User: qaeu - Total duration: 1s433ms - Times executed: 1 ]
-
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-08 22:25:48 Duration: 1s663ms 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-08 12:27:01 Duration: 1s652ms 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-08 22:24:40 Duration: 1s643ms Bind query: yes
16 107 11m26s 1s18ms 23s424ms 6s416ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 06 07 1 7s395ms 7s395ms 22 1 10s76ms 10s76ms Apr 07 07 2 2s923ms 1s461ms 22 1 1s143ms 1s143ms Apr 08 08 1 3s487ms 3s487ms Apr 09 04 2 7s330ms 3s665ms 05 3 23s275ms 7s758ms 06 5 37s232ms 7s446ms 07 6 27s138ms 4s523ms 08 5 31s164ms 6s232ms 09 3 56s473ms 18s824ms 10 5 45s574ms 9s114ms 12 2 2s511ms 1s255ms 13 4 22s217ms 5s554ms 14 2 5s169ms 2s584ms 15 2 22s894ms 11s447ms 16 6 47s149ms 7s858ms 17 3 28s126ms 9s375ms 18 6 12s648ms 2s108ms 19 2 6s333ms 3s166ms 20 3 26s999ms 8s999ms 21 4 29s254ms 7s313ms 22 4 19s65ms 4s766ms 23 1 2s88ms 2s88ms Apr 10 00 4 10s187ms 2s546ms 01 9 47s836ms 5s315ms 02 3 31s278ms 10s426ms 03 3 1m2s 20s725ms 04 2 8s668ms 4s334ms Apr 11 05 2 2s84ms 1s42ms 07 2 12s564ms 6s282ms Apr 12 02 2 6s364ms 3s182ms 08 2 20s620ms 10s310ms 11 1 2s713ms 2s713ms 14 1 1s480ms 1s480ms 17 2 2s883ms 1s441ms [ User: pubeu - Total duration: 2m43s - Times executed: 29 ]
-
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-09 09:28:36 Duration: 23s424ms 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-09 17:06:39 Duration: 22s942ms 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-09 08:14:28 Duration: 22s610ms Bind query: yes
17 105 10m11s 1s13ms 50s141ms 5s827ms 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 #17
Day Hour Count Duration Avg duration Apr 06 02 1 2s159ms 2s159ms Apr 07 04 2 2s285ms 1s142ms 05 1 1s104ms 1s104ms 09 3 3s413ms 1s137ms 13 1 5s975ms 5s975ms Apr 08 03 2 2s166ms 1s83ms 04 3 5s36ms 1s678ms 05 5 5s613ms 1s122ms Apr 10 21 1 1s212ms 1s212ms 22 82 8m54s 6s516ms 23 4 48s536ms 12s134ms [ User: pubeu - Total duration: 2m17s - Times executed: 25 ]
-
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-10 22:39:14 Duration: 50s141ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d011297' "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 = 2098358) 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-10 22:30:54 Duration: 29s364ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d007674' "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 = 2100721) 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-10 22:29:21 Duration: 24s169ms Bind query: yes
18 105 6m45s 1s10ms 17s16ms 3s862ms 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 #18
Day Hour Count Duration Avg duration Apr 06 07 1 1s47ms 1s47ms 11 1 4s114ms 4s114ms 15 1 1s39ms 1s39ms 22 3 6s132ms 2s44ms Apr 07 07 1 4s91ms 4s91ms 08 1 1s96ms 1s96ms 13 1 4s87ms 4s87ms 21 2 5s84ms 2s542ms Apr 08 08 1 4s535ms 4s535ms 09 2 5s172ms 2s586ms 14 1 4s145ms 4s145ms 16 1 1s42ms 1s42ms Apr 09 04 3 7s281ms 2s427ms 05 2 13s539ms 6s769ms 06 4 7s288ms 1s822ms 07 5 11s926ms 2s385ms 08 2 17s952ms 8s976ms 09 2 20s454ms 10s227ms 10 2 5s329ms 2s664ms 11 7 1m 8s623ms 12 2 19s392ms 9s696ms 13 2 7s204ms 3s602ms 14 6 21s584ms 3s597ms 15 4 21s175ms 5s293ms 16 5 29s945ms 5s989ms 17 2 4s431ms 2s215ms 18 3 16s899ms 5s633ms 19 4 10s599ms 2s649ms 20 3 10s273ms 3s424ms 22 4 15s776ms 3s944ms 23 5 8s641ms 1s728ms Apr 10 00 3 3s898ms 1s299ms 01 1 11s280ms 11s280ms 02 2 6s461ms 3s230ms 04 1 1s42ms 1s42ms 11 2 5s138ms 2s569ms 18 1 4s45ms 4s45ms 19 1 1s31ms 1s31ms Apr 11 00 1 1s33ms 1s33ms 05 1 4s1ms 4s1ms 11 1 1s75ms 1s75ms 13 1 1s111ms 1s111ms 17 1 4s6ms 4s6ms 23 1 1s43ms 1s43ms Apr 12 00 1 4s66ms 4s66ms 07 1 1s46ms 1s46ms 08 1 1s91ms 1s91ms 18 2 2s512ms 1s256ms [ User: pubeu - Total duration: 1m4s - Times executed: 24 ]
-
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-09 15:13:58 Duration: 17s16ms 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-09 09:06:48 Duration: 16s975ms 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-09 12:41:33 Duration: 16s839ms Bind query: yes
19 95 4m50s 1s17ms 39s704ms 3s54ms 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 #19
Day Hour Count Duration Avg duration Apr 06 01 1 1s711ms 1s711ms 08 1 4s724ms 4s724ms 09 2 3s996ms 1s998ms 10 1 1s245ms 1s245ms 22 1 2s774ms 2s774ms 23 3 9s640ms 3s213ms Apr 07 00 3 15s607ms 5s202ms 03 3 7s36ms 2s345ms 07 4 8s842ms 2s210ms 09 1 1s19ms 1s19ms 10 1 5s45ms 5s45ms 14 1 5s17ms 5s17ms 20 1 31s816ms 31s816ms 22 1 2s608ms 2s608ms 23 1 1s219ms 1s219ms Apr 08 00 2 2s782ms 1s391ms 04 1 2s691ms 2s691ms 11 1 1s214ms 1s214ms 15 4 6s472ms 1s618ms 19 1 1s561ms 1s561ms 22 1 3s127ms 3s127ms 23 5 18s54ms 3s610ms Apr 09 02 2 2s356ms 1s178ms 06 1 1s335ms 1s335ms 07 4 22s653ms 5s663ms 09 1 1s93ms 1s93ms 11 1 1s28ms 1s28ms 17 1 1s284ms 1s284ms 22 9 13s112ms 1s456ms Apr 10 00 2 2s647ms 1s323ms 02 1 2s800ms 2s800ms 04 3 16s538ms 5s512ms 08 1 1s66ms 1s66ms 10 2 2s983ms 1s491ms 18 2 2s615ms 1s307ms 22 2 2s599ms 1s299ms 23 1 1s51ms 1s51ms Apr 11 00 2 7s991ms 3s995ms 02 1 39s704ms 39s704ms 06 2 4s55ms 2s27ms 11 1 1s265ms 1s265ms 12 2 4s434ms 2s217ms 19 1 1s300ms 1s300ms 21 1 1s98ms 1s98ms 23 1 1s208ms 1s208ms Apr 12 02 1 1s416ms 1s416ms 05 3 5s500ms 1s833ms 06 2 2s716ms 1s358ms 09 2 2s370ms 1s185ms 10 1 1s499ms 1s499ms 22 2 2s270ms 1s135ms [ User: pubeu - Total duration: 2m19s - Times executed: 37 ]
-
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 LIMIT 50 OFFSET 6331850;
Date: 2025-04-11 02:17:39 Duration: 39s704ms 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 3751100;
Date: 2025-04-07 20:22:48 Duration: 31s816ms 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 = '2094710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1509950;
Date: 2025-04-10 04:36:30 Duration: 12s203ms Database: ctdprd51 User: pubeu Bind query: yes
20 86 1h35m26s 1s154ms 8m56s 1m6s 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 #20
Day Hour Count Duration Avg duration Apr 08 08 1 1s763ms 1s763ms Apr 09 04 1 3s389ms 3s389ms 05 4 8s452ms 2s113ms 06 3 6s467ms 2s155ms 07 4 9m1s 2m15s 08 1 1s683ms 1s683ms 09 3 8m17s 2m45s 10 2 4s120ms 2s60ms 11 4 9m31s 2m22s 12 5 8s389ms 1s677ms 13 3 4s963ms 1s654ms 14 4 3m3s 45s903ms 15 4 11m4s 2m46s 16 3 5s725ms 1s908ms 17 2 4s825ms 2s412ms 18 2 3s784ms 1s892ms 19 4 1m28s 22s167ms 20 3 8m34s 2m51s 21 2 5s4ms 2s502ms 22 2 2m35s 1m17s 23 4 5m25s 1m21s Apr 10 00 1 4m23s 4m23s 01 4 5m20s 1m20s 02 8 3m33s 26s699ms 03 1 1s625ms 1s625ms 04 4 6s713ms 1s678ms 09 1 3s329ms 3s329ms Apr 11 02 1 3s231ms 3s231ms Apr 12 02 1 3s304ms 3s304ms 10 2 11m2s 5m31s 11 2 10m46s 5m23s [ User: pubeu - Total duration: 21m50s - Times executed: 19 ]
-
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-09 07:45:51 Duration: 8m56s 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 = '1244428') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-09 15:02:56 Duration: 6m14s 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 = '1244267') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-12 10:16:07 Duration: 5m38s Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1h32m16s 1h32m16s 1h32m16s 1 1h32m16s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr 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 gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ?))) and 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 = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 12 06 1 1h32m16s 1h32m16s [ User: pubeu - Total duration: 1h32m16s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-04-12 06:37:31 Duration: 1h32m16s Database: ctdprd51 User: pubeu Bind query: yes
2 25m51s 26m14s 25m58s 4 1h43m53s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr 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 gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?))) 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 = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 12 04 3 1h17m56s 25m58s 05 1 25m56s 25m56s [ User: pubeu - Total duration: 25m51s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-04-12 04:55:45 Duration: 26m14s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-04-12 05:27:49 Duration: 25m56s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-04-12 04:48:06 Duration: 25m51s Database: ctdprd51 User: pubeu Bind query: yes
3 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 #3
Day Hour Count Duration Avg duration Apr 12 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-12 19:02:11 Duration: 25m1s
4 24m37s 24m37s 24m37s 1 24m37s 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 #4
Day Hour Count Duration Avg duration Apr 12 19 1 24m37s 24m37s -
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-12 19:45:28 Duration: 24m37s
5 12m10s 12m10s 12m10s 1 12m10s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr 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 gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?))) 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 gcr.id in ( select gcra.gene_chem_reference_id from gene_chem_reference_axn gcra where (gcra.action_degree_type_nm = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 12 05 1 12m10s 12m10s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr 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.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEOPLASMS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) 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 gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'affects'))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-04-12 05:25:29 Duration: 12m10s Bind query: yes
6 4m33s 4m42s 4m38s 7 32m27s select maint_query_logs_archive ();Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 06 00 1 4m37s 4m37s Apr 07 00 1 4m33s 4m33s Apr 08 00 1 4m35s 4m35s Apr 09 00 1 4m38s 4m38s Apr 10 00 1 4m42s 4m42s Apr 11 00 1 4m37s 4m37s Apr 12 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-12 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-10 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-09 00:04:39 Duration: 4m38s
7 1s154ms 8m56s 1m6s 86 1h35m26s 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 #7
Day Hour Count Duration Avg duration Apr 08 08 1 1s763ms 1s763ms Apr 09 04 1 3s389ms 3s389ms 05 4 8s452ms 2s113ms 06 3 6s467ms 2s155ms 07 4 9m1s 2m15s 08 1 1s683ms 1s683ms 09 3 8m17s 2m45s 10 2 4s120ms 2s60ms 11 4 9m31s 2m22s 12 5 8s389ms 1s677ms 13 3 4s963ms 1s654ms 14 4 3m3s 45s903ms 15 4 11m4s 2m46s 16 3 5s725ms 1s908ms 17 2 4s825ms 2s412ms 18 2 3s784ms 1s892ms 19 4 1m28s 22s167ms 20 3 8m34s 2m51s 21 2 5s4ms 2s502ms 22 2 2m35s 1m17s 23 4 5m25s 1m21s Apr 10 00 1 4m23s 4m23s 01 4 5m20s 1m20s 02 8 3m33s 26s699ms 03 1 1s625ms 1s625ms 04 4 6s713ms 1s678ms 09 1 3s329ms 3s329ms Apr 11 02 1 3s231ms 3s231ms Apr 12 02 1 3s304ms 3s304ms 10 2 11m2s 5m31s 11 2 10m46s 5m23s [ User: pubeu - Total duration: 21m50s - Times executed: 19 ]
-
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-09 07:45:51 Duration: 8m56s 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 = '1244428') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-09 15:02:56 Duration: 6m14s 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 = '1244267') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-04-12 10:16:07 Duration: 5m38s Database: ctdprd51 User: pubeu Bind query: yes
8 50s159ms 51s26ms 50s620ms 25 21m5s 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 #8
Day Hour Count Duration Avg duration Apr 06 06 1 50s398ms 50s398ms 10 1 50s203ms 50s203ms 14 1 50s548ms 50s548ms 18 1 50s159ms 50s159ms Apr 07 06 1 50s447ms 50s447ms 10 1 50s743ms 50s743ms 14 1 50s440ms 50s440ms 18 1 50s758ms 50s758ms Apr 08 06 1 50s526ms 50s526ms 10 1 50s698ms 50s698ms 14 1 50s570ms 50s570ms 18 1 50s605ms 50s605ms Apr 09 06 1 50s745ms 50s745ms 10 1 50s806ms 50s806ms 14 1 50s504ms 50s504ms 18 1 50s507ms 50s507ms Apr 10 06 1 50s898ms 50s898ms 10 1 50s719ms 50s719ms 14 1 50s693ms 50s693ms 18 1 50s943ms 50s943ms Apr 11 06 1 50s635ms 50s635ms 10 1 50s578ms 50s578ms 14 1 51s26ms 51s26ms 18 1 50s480ms 50s480ms Apr 12 20 1 50s880ms 50s880ms [ User: postgres - Total duration: 20m14s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 20m14s - 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-11 14:05:53 Duration: 51s26ms 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-10 18:05:52 Duration: 50s943ms 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-10 06:05:52 Duration: 50s898ms Database: ctdprd51 User: postgres Application: pg_dump
9 1s73ms 16m48s 29s587ms 174 1h25m48s 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 06 00 1 17s724ms 17s724ms 08 1 1s704ms 1s704ms 11 1 15s201ms 15s201ms 16 1 3s797ms 3s797ms Apr 07 02 3 13s577ms 4s525ms 03 4 10s288ms 2s572ms 04 1 12s224ms 12s224ms 06 1 1s621ms 1s621ms 07 1 1s757ms 1s757ms 09 3 4s980ms 1s660ms 10 3 48s709ms 16s236ms 12 1 1s520ms 1s520ms 14 4 1m2s 15s529ms 21 10 25s252ms 2s525ms 23 1 3s199ms 3s199ms Apr 08 00 4 31s560ms 7s890ms 05 5 11s230ms 2s246ms 16 1 3s788ms 3s788ms 22 1 11s380ms 11s380ms Apr 09 00 24 1h15m56s 3m9s 01 1 2s488ms 2s488ms 02 6 16s128ms 2s688ms 03 18 27s47ms 1s502ms 07 1 1s624ms 1s624ms 09 24 48s882ms 2s36ms 11 2 6s726ms 3s363ms 21 2 4s175ms 2s87ms Apr 10 01 1 2s496ms 2s496ms 04 9 32s300ms 3s588ms 05 1 1s256ms 1s256ms 06 2 5s840ms 2s920ms 10 2 9s194ms 4s597ms 11 1 1s441ms 1s441ms 12 1 1s491ms 1s491ms Apr 11 01 5 39s681ms 7s936ms 02 5 8s557ms 1s711ms 05 2 5s264ms 2s632ms 07 1 1s561ms 1s561ms 08 1 1s421ms 1s421ms 13 1 2s374ms 2s374ms 16 1 3s358ms 3s358ms 19 1 3s298ms 3s298ms 21 1 3s283ms 3s283ms Apr 12 00 1 1s127ms 1s127ms 03 1 14s221ms 14s221ms 08 2 2s448ms 1s224ms 09 6 53s842ms 8s973ms 11 1 2s560ms 2s560ms 16 1 3s391ms 3s391ms 20 1 1s79ms 1s79ms 22 1 1s518ms 1s518ms [ User: pubeu - Total duration: 1h20m16s - Times executed: 82 ]
-
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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-09 00:58:56 Duration: 16m48s 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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-09 00:58:56 Duration: 16m40s 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 = '2096699') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-04-09 00:58:56 Duration: 16m40s Database: ctdprd51 User: pubeu Bind query: yes
10 1s147ms 25s262ms 14s337ms 123 29m23s 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 #10
Day Hour Count Duration Avg duration Apr 06 04 1 15s471ms 15s471ms 08 1 15s272ms 15s272ms 17 1 15s195ms 15s195ms 20 1 14s960ms 14s960ms Apr 07 00 2 31s511ms 15s755ms 01 6 1m32s 15s398ms 03 1 15s79ms 15s79ms 04 7 1m46s 15s256ms 05 2 32s8ms 16s4ms 06 11 3m37s 19s728ms 07 7 1m50s 15s739ms 08 6 1m33s 15s601ms 09 5 1m17s 15s551ms 10 5 1m16s 15s278ms 11 1 15s358ms 15s358ms 16 1 16s75ms 16s75ms 17 2 29s735ms 14s867ms Apr 08 10 1 15s909ms 15s909ms 11 1 1s147ms 1s147ms 15 3 46s873ms 15s624ms 21 2 2s851ms 1s425ms Apr 09 07 2 3s764ms 1s882ms 10 2 30s765ms 15s382ms 11 2 30s246ms 15s123ms 13 2 31s47ms 15s523ms 14 2 29s965ms 14s982ms 16 1 1s397ms 1s397ms 18 1 16s455ms 16s455ms 19 1 15s542ms 15s542ms 20 1 15s638ms 15s638ms 22 2 4s455ms 2s227ms 23 4 1m1s 15s290ms Apr 10 00 1 15s315ms 15s315ms 01 2 30s695ms 15s347ms 09 2 3s571ms 1s785ms 16 3 46s632ms 15s544ms 18 3 47s222ms 15s740ms 19 3 46s976ms 15s658ms Apr 11 04 2 4s702ms 2s351ms 05 4 1m3s 15s917ms 07 3 48s800ms 16s266ms 10 1 7s671ms 7s671ms 11 2 12s977ms 6s488ms 12 2 25s419ms 12s709ms 13 3 47s109ms 15s703ms Apr 12 06 1 17s31ms 17s31ms 10 2 31s153ms 15s576ms 13 1 15s864ms 15s864ms 18 1 16s613ms 16s613ms [ User: pubeu - Total duration: 12m8s - Times executed: 47 ]
-
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 = '2096075') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-07 06:50:23 Duration: 25s262ms 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 = '2091253') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-07 06:50:24 Duration: 25s259ms 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 = '2096075') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-07 06:38:24 Duration: 23s414ms Database: ctdprd51 User: pubeu Bind query: yes
11 1s18ms 23s424ms 6s416ms 107 11m26s 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 06 07 1 7s395ms 7s395ms 22 1 10s76ms 10s76ms Apr 07 07 2 2s923ms 1s461ms 22 1 1s143ms 1s143ms Apr 08 08 1 3s487ms 3s487ms Apr 09 04 2 7s330ms 3s665ms 05 3 23s275ms 7s758ms 06 5 37s232ms 7s446ms 07 6 27s138ms 4s523ms 08 5 31s164ms 6s232ms 09 3 56s473ms 18s824ms 10 5 45s574ms 9s114ms 12 2 2s511ms 1s255ms 13 4 22s217ms 5s554ms 14 2 5s169ms 2s584ms 15 2 22s894ms 11s447ms 16 6 47s149ms 7s858ms 17 3 28s126ms 9s375ms 18 6 12s648ms 2s108ms 19 2 6s333ms 3s166ms 20 3 26s999ms 8s999ms 21 4 29s254ms 7s313ms 22 4 19s65ms 4s766ms 23 1 2s88ms 2s88ms Apr 10 00 4 10s187ms 2s546ms 01 9 47s836ms 5s315ms 02 3 31s278ms 10s426ms 03 3 1m2s 20s725ms 04 2 8s668ms 4s334ms Apr 11 05 2 2s84ms 1s42ms 07 2 12s564ms 6s282ms Apr 12 02 2 6s364ms 3s182ms 08 2 20s620ms 10s310ms 11 1 2s713ms 2s713ms 14 1 1s480ms 1s480ms 17 2 2s883ms 1s441ms [ User: pubeu - Total duration: 2m43s - Times executed: 29 ]
-
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-09 09:28:36 Duration: 23s424ms 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-09 17:06:39 Duration: 22s942ms 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-09 08:14:28 Duration: 22s610ms Bind query: yes
12 1s13ms 50s141ms 5s827ms 105 10m11s 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 #12
Day Hour Count Duration Avg duration Apr 06 02 1 2s159ms 2s159ms Apr 07 04 2 2s285ms 1s142ms 05 1 1s104ms 1s104ms 09 3 3s413ms 1s137ms 13 1 5s975ms 5s975ms Apr 08 03 2 2s166ms 1s83ms 04 3 5s36ms 1s678ms 05 5 5s613ms 1s122ms Apr 10 21 1 1s212ms 1s212ms 22 82 8m54s 6s516ms 23 4 48s536ms 12s134ms [ User: pubeu - Total duration: 2m17s - Times executed: 25 ]
-
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-10 22:39:14 Duration: 50s141ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d011297' "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 = 2098358) 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-10 22:30:54 Duration: 29s364ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d007674' "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 = 2100721) 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-10 22:29:21 Duration: 24s169ms Bind query: yes
13 3s818ms 7s949ms 4s112ms 411 28m10s 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 06 00 1 4s34ms 4s34ms 01 1 4s12ms 4s12ms 03 1 4s787ms 4s787ms 04 2 8s692ms 4s346ms 05 1 4s333ms 4s333ms 06 1 4s3ms 4s3ms 08 1 4s171ms 4s171ms 09 2 7s784ms 3s892ms 10 2 8s136ms 4s68ms 12 1 3s920ms 3s920ms 15 1 4s41ms 4s41ms 16 2 8s44ms 4s22ms 18 3 11s841ms 3s947ms 19 3 11s921ms 3s973ms 20 2 8s268ms 4s134ms 21 1 3s894ms 3s894ms 22 2 8s98ms 4s49ms 23 1 4s75ms 4s75ms Apr 07 00 1 3s904ms 3s904ms 01 3 12s504ms 4s168ms 02 2 7s902ms 3s951ms 03 1 3s896ms 3s896ms 04 3 12s31ms 4s10ms 05 8 33s140ms 4s142ms 06 6 24s415ms 4s69ms 07 4 18s2ms 4s500ms 08 2 8s901ms 4s450ms 10 2 8s809ms 4s404ms 11 13 57s641ms 4s433ms 12 3 11s988ms 3s996ms 13 2 8s133ms 4s66ms 14 1 4s184ms 4s184ms 15 1 4s46ms 4s46ms 16 1 3s917ms 3s917ms 18 1 3s901ms 3s901ms 21 7 27s541ms 3s934ms 22 7 28s198ms 4s28ms Apr 08 01 5 21s296ms 4s259ms 02 3 12s829ms 4s276ms 03 1 4s100ms 4s100ms 04 1 4s115ms 4s115ms 05 10 40s698ms 4s69ms 06 2 8s744ms 4s372ms 07 6 24s981ms 4s163ms 08 1 3s858ms 3s858ms 09 8 33s635ms 4s204ms 10 7 30s204ms 4s314ms 11 6 23s974ms 3s995ms 12 2 9s218ms 4s609ms 13 9 43s109ms 4s789ms 15 2 9s81ms 4s540ms 16 4 16s791ms 4s197ms 17 2 8s651ms 4s325ms 18 3 11s843ms 3s947ms 20 1 4s552ms 4s552ms 21 3 11s980ms 3s993ms 22 2 8s737ms 4s368ms 23 5 20s98ms 4s19ms Apr 09 01 3 12s401ms 4s133ms 02 6 24s831ms 4s138ms 03 3 12s376ms 4s125ms 04 9 37s348ms 4s149ms 05 1 3s953ms 3s953ms 06 2 8s560ms 4s280ms 07 2 7s879ms 3s939ms 08 2 8s338ms 4s169ms 09 5 21s297ms 4s259ms 10 2 8s52ms 4s26ms 11 2 8s110ms 4s55ms 12 1 3s855ms 3s855ms 13 6 24s463ms 4s77ms 14 4 18s408ms 4s602ms 15 3 12s641ms 4s213ms 16 2 7s963ms 3s981ms 18 2 7s827ms 3s913ms 19 2 7s756ms 3s878ms 21 1 4s101ms 4s101ms 22 4 16s431ms 4s107ms 23 1 4s294ms 4s294ms Apr 10 00 1 3s994ms 3s994ms 01 3 12s635ms 4s211ms 02 50 3m17s 3s959ms 03 18 1m11s 3s949ms 04 2 8s100ms 4s50ms 07 1 3s951ms 3s951ms 08 4 15s891ms 3s972ms 09 4 17s203ms 4s300ms 10 1 4s369ms 4s369ms 11 4 15s959ms 3s989ms 12 4 15s925ms 3s981ms 13 3 12s111ms 4s37ms 14 2 8s117ms 4s58ms 15 1 4s100ms 4s100ms 16 1 3s981ms 3s981ms 20 3 12s37ms 4s12ms 21 5 20s758ms 4s151ms 22 1 4s45ms 4s45ms Apr 11 02 2 8s225ms 4s112ms 03 2 8s277ms 4s138ms 04 4 16s248ms 4s62ms 05 3 12s85ms 4s28ms 06 2 8s66ms 4s33ms 07 3 12s164ms 4s54ms 08 3 12s9ms 4s3ms 09 2 7s989ms 3s994ms 10 2 8s356ms 4s178ms 12 6 23s998ms 3s999ms 13 3 11s974ms 3s991ms 14 1 3s910ms 3s910ms 16 2 7s989ms 3s994ms 20 3 11s979ms 3s993ms 22 1 4s148ms 4s148ms 23 1 4s71ms 4s71ms Apr 12 00 1 3s952ms 3s952ms 01 1 4s275ms 4s275ms 03 1 4s413ms 4s413ms 06 3 12s373ms 4s124ms 07 1 3s982ms 3s982ms 08 2 8s21ms 4s10ms 09 1 4s192ms 4s192ms 10 3 12s98ms 4s32ms 11 1 4s294ms 4s294ms 13 1 3s993ms 3s993ms 18 1 4s278ms 4s278ms 19 1 4s18ms 4s18ms 20 1 4s10ms 4s10ms 21 1 3s937ms 3s937ms 22 1 4s30ms 4s30ms 23 1 4s70ms 4s70ms [ User: pubeu - Total duration: 11m23s - Times executed: 166 ]
-
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 = '1447334') 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 = '1447334') 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-08 13:00:01 Duration: 7s949ms 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 = '1352221') 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 = '1352221') 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-08 13:21:22 Duration: 5s655ms 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 = '1288234') 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 = '1288234') 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-09 14:46:45 Duration: 5s235ms Bind query: yes
14 1s 12s551ms 4s10ms 166 11m5s 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 06 04 1 3s161ms 3s161ms 05 1 6s211ms 6s211ms 09 1 4s676ms 4s676ms 10 1 10s755ms 10s755ms 11 1 1s239ms 1s239ms 23 4 13s100ms 3s275ms Apr 07 00 1 3s134ms 3s134ms 02 2 2s776ms 1s388ms 03 1 2s196ms 2s196ms 04 2 3s217ms 1s608ms 05 1 4s758ms 4s758ms 06 1 1s401ms 1s401ms 07 3 14s306ms 4s768ms 09 2 2s548ms 1s274ms 10 5 25s940ms 5s188ms 11 2 9s419ms 4s709ms 12 2 15s324ms 7s662ms 14 2 11s593ms 5s796ms 18 3 11s46ms 3s682ms 21 1 1s18ms 1s18ms 22 1 4s755ms 4s755ms 23 1 3s744ms 3s744ms Apr 08 00 1 1s301ms 1s301ms 02 2 11s946ms 5s973ms 05 1 2s781ms 2s781ms 06 1 3s270ms 3s270ms 07 3 8s104ms 2s701ms 10 1 3s171ms 3s171ms 11 1 11s500ms 11s500ms 14 1 10s589ms 10s589ms 16 1 4s591ms 4s591ms 21 2 4s966ms 2s483ms 22 1 1s229ms 1s229ms 23 2 7s553ms 3s776ms Apr 09 02 1 1s609ms 1s609ms 03 1 1s642ms 1s642ms 04 2 3s628ms 1s814ms 05 1 2s103ms 2s103ms 06 3 6s294ms 2s98ms 07 3 19s151ms 6s383ms 08 2 7s967ms 3s983ms 09 2 14s10ms 7s5ms 10 3 9s265ms 3s88ms 11 5 7s329ms 1s465ms 12 2 5s858ms 2s929ms 13 4 17s605ms 4s401ms 14 1 2s240ms 2s240ms 15 2 5s462ms 2s731ms 16 3 23s251ms 7s750ms 18 1 1s745ms 1s745ms 19 3 11s568ms 3s856ms 20 3 16s396ms 5s465ms 21 2 4s616ms 2s308ms 22 3 4s475ms 1s491ms 23 3 15s816ms 5s272ms Apr 10 00 1 4s715ms 4s715ms 01 5 19s485ms 3s897ms 02 5 24s394ms 4s878ms 03 1 4s324ms 4s324ms 04 5 13s282ms 2s656ms 05 3 12s926ms 4s308ms 06 2 3s673ms 1s836ms 10 1 1s652ms 1s652ms 11 2 11s473ms 5s736ms 12 1 11s987ms 11s987ms 14 1 4s685ms 4s685ms 15 1 4s572ms 4s572ms 16 1 6s164ms 6s164ms 17 1 3s49ms 3s49ms 21 1 4s992ms 4s992ms Apr 11 01 1 2s679ms 2s679ms 03 1 1s160ms 1s160ms 05 3 3s660ms 1s220ms 06 3 14s87ms 4s695ms 07 2 5s520ms 2s760ms 09 1 3s195ms 3s195ms 15 3 12s315ms 4s105ms 22 1 5s355ms 5s355ms Apr 12 00 1 10s615ms 10s615ms 01 2 2s502ms 1s251ms 04 1 11s976ms 11s976ms 06 1 1s7ms 1s7ms 09 4 15s398ms 3s849ms 11 4 34s180ms 8s545ms 19 1 1s393ms 1s393ms [ User: pubeu - Total duration: 4m37s - Times executed: 62 ]
-
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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-09 20:22:32 Duration: 12s551ms 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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-10 12:14:53 Duration: 11s987ms 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 = '2095942') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-04-12 04:15:58 Duration: 11s976ms Database: ctdprd51 User: pubeu Bind query: yes
15 1s10ms 17s16ms 3s862ms 105 6m45s 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 06 07 1 1s47ms 1s47ms 11 1 4s114ms 4s114ms 15 1 1s39ms 1s39ms 22 3 6s132ms 2s44ms Apr 07 07 1 4s91ms 4s91ms 08 1 1s96ms 1s96ms 13 1 4s87ms 4s87ms 21 2 5s84ms 2s542ms Apr 08 08 1 4s535ms 4s535ms 09 2 5s172ms 2s586ms 14 1 4s145ms 4s145ms 16 1 1s42ms 1s42ms Apr 09 04 3 7s281ms 2s427ms 05 2 13s539ms 6s769ms 06 4 7s288ms 1s822ms 07 5 11s926ms 2s385ms 08 2 17s952ms 8s976ms 09 2 20s454ms 10s227ms 10 2 5s329ms 2s664ms 11 7 1m 8s623ms 12 2 19s392ms 9s696ms 13 2 7s204ms 3s602ms 14 6 21s584ms 3s597ms 15 4 21s175ms 5s293ms 16 5 29s945ms 5s989ms 17 2 4s431ms 2s215ms 18 3 16s899ms 5s633ms 19 4 10s599ms 2s649ms 20 3 10s273ms 3s424ms 22 4 15s776ms 3s944ms 23 5 8s641ms 1s728ms Apr 10 00 3 3s898ms 1s299ms 01 1 11s280ms 11s280ms 02 2 6s461ms 3s230ms 04 1 1s42ms 1s42ms 11 2 5s138ms 2s569ms 18 1 4s45ms 4s45ms 19 1 1s31ms 1s31ms Apr 11 00 1 1s33ms 1s33ms 05 1 4s1ms 4s1ms 11 1 1s75ms 1s75ms 13 1 1s111ms 1s111ms 17 1 4s6ms 4s6ms 23 1 1s43ms 1s43ms Apr 12 00 1 4s66ms 4s66ms 07 1 1s46ms 1s46ms 08 1 1s91ms 1s91ms 18 2 2s512ms 1s256ms [ User: pubeu - Total duration: 1m4s - Times executed: 24 ]
-
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-09 15:13:58 Duration: 17s16ms 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-09 09:06:48 Duration: 16s975ms 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-09 12:41:33 Duration: 16s839ms Bind query: yes
16 1s1ms 7s718ms 3s581ms 307 18m19s 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 #16
Day Hour Count Duration Avg duration Apr 06 00 1 1s101ms 1s101ms 05 6 6s192ms 1s32ms 06 4 17s567ms 4s391ms 07 1 4s792ms 4s792ms 11 1 5s97ms 5s97ms 12 1 5s467ms 5s467ms 13 6 6s405ms 1s67ms 19 1 1s31ms 1s31ms 23 1 1s37ms 1s37ms Apr 07 00 1 1s36ms 1s36ms 04 1 1s10ms 1s10ms 05 8 18s565ms 2s320ms 06 2 11s361ms 5s680ms 07 4 27s411ms 6s852ms 08 4 19s811ms 4s952ms 09 1 6s266ms 6s266ms 10 1 6s968ms 6s968ms 11 2 11s608ms 5s804ms 12 2 10s486ms 5s243ms 13 1 5s355ms 5s355ms 15 6 23s639ms 3s939ms 16 12 45s884ms 3s823ms 20 1 5s264ms 5s264ms 22 1 4s982ms 4s982ms Apr 08 01 3 12s9ms 4s3ms 02 2 11s368ms 5s684ms 03 5 17s851ms 3s570ms 05 8 17s690ms 2s211ms 06 1 1s25ms 1s25ms 09 19 1m25s 4s494ms 10 5 21s146ms 4s229ms 11 1 4s749ms 4s749ms 13 1 1s84ms 1s84ms 16 1 5s601ms 5s601ms 17 1 5s206ms 5s206ms 18 2 2s259ms 1s129ms 19 1 6s611ms 6s611ms 20 1 4s902ms 4s902ms 22 2 11s519ms 5s759ms 23 1 5s420ms 5s420ms Apr 09 03 1 5s634ms 5s634ms 04 5 17s814ms 3s562ms 05 19 1m3s 3s319ms 06 12 44s343ms 3s695ms 09 1 5s304ms 5s304ms 10 1 5s719ms 5s719ms 11 1 5s603ms 5s603ms 12 3 14s575ms 4s858ms 13 2 6s583ms 3s291ms 15 4 17s255ms 4s313ms 18 1 4s771ms 4s771ms 20 3 16s3ms 5s334ms 21 2 6s811ms 3s405ms 22 3 17s734ms 5s911ms 23 1 1s63ms 1s63ms Apr 10 00 1 5s309ms 5s309ms 01 2 9s579ms 4s789ms 02 3 16s652ms 5s550ms 03 2 2s43ms 1s21ms 04 1 4s982ms 4s982ms 05 6 6s244ms 1s40ms 07 3 15s127ms 5s42ms 10 4 21s550ms 5s387ms 12 1 5s154ms 5s154ms 13 4 20s893ms 5s223ms 14 1 1s36ms 1s36ms 15 1 1s28ms 1s28ms 16 1 1s32ms 1s32ms 21 1 5s704ms 5s704ms Apr 11 02 1 1s20ms 1s20ms 05 6 6s214ms 1s35ms 06 6 14s413ms 2s402ms 13 1 1s55ms 1s55ms 14 1 5s81ms 5s81ms 16 2 2s255ms 1s127ms 17 2 2s58ms 1s29ms 20 8 25s705ms 3s213ms 21 10 32s274ms 3s227ms 22 3 15s800ms 5s266ms 23 7 28s321ms 4s45ms Apr 12 00 13 47s214ms 3s631ms 01 2 11s53ms 5s526ms 03 1 5s338ms 5s338ms 04 3 3s112ms 1s37ms 05 6 6s438ms 1s73ms 07 3 15s716ms 5s238ms 08 1 5s246ms 5s246ms 09 1 5s511ms 5s511ms 10 1 5s313ms 5s313ms 15 2 2s147ms 1s73ms 17 2 2s104ms 1s52ms 23 12 45s294ms 3s774ms [ User: pubeu - Total duration: 4m15s - Times executed: 73 ]
[ User: qaeu - Total duration: 8s403ms - Times executed: 8 ]
-
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-08 09:58:45 Duration: 7s718ms 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 = '1407623' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-07 08:04:20 Duration: 7s689ms 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 = '1308358' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-04-08 09:22:28 Duration: 7s498ms Bind query: yes
17 1s2ms 7s169ms 3s136ms 392 20m29s 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 #17
Day Hour Count Duration Avg duration Apr 07 15 7 20s334ms 2s904ms 16 14 40s612ms 2s900ms Apr 08 09 22 1m4s 2s927ms Apr 09 03 2 8s888ms 4s444ms 04 12 31s346ms 2s612ms 05 22 1m9s 3s144ms 06 24 1m25s 3s555ms 07 9 23s994ms 2s666ms 08 9 25s246ms 2s805ms 09 4 11s551ms 2s887ms 10 8 30s543ms 3s817ms 11 9 34s806ms 3s867ms 12 10 41s70ms 4s107ms 13 12 30s928ms 2s577ms 14 13 43s903ms 3s377ms 15 6 23s428ms 3s904ms 16 9 35s85ms 3s898ms 17 13 34s264ms 2s635ms 18 9 32s225ms 3s580ms 19 14 46s656ms 3s332ms 20 17 52s843ms 3s108ms 21 9 23s443ms 2s604ms 22 6 16s759ms 2s793ms 23 10 37s329ms 3s732ms Apr 10 00 14 44s170ms 3s155ms 01 18 53s6ms 2s944ms 02 6 18s74ms 3s12ms 03 5 16s489ms 3s297ms 04 10 36s613ms 3s661ms 05 1 1s993ms 1s993ms 12 1 2s96ms 2s96ms Apr 11 04 1 1s997ms 1s997ms 20 16 45s894ms 2s868ms 21 13 39s554ms 3s42ms 22 1 1s462ms 1s462ms 23 7 20s249ms 2s892ms Apr 12 00 14 40s624ms 2s901ms 02 1 2s12ms 2s12ms 23 14 40s880ms 2s920ms [ User: pubeu - Total duration: 3m52s - Times executed: 69 ]
-
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-09 03:55:59 Duration: 7s169ms 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-12 23:43:58 Duration: 6s957ms 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-10 04:20:31 Duration: 6s921ms Bind query: yes
18 1s17ms 39s704ms 3s54ms 95 4m50s 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 #18
Day Hour Count Duration Avg duration Apr 06 01 1 1s711ms 1s711ms 08 1 4s724ms 4s724ms 09 2 3s996ms 1s998ms 10 1 1s245ms 1s245ms 22 1 2s774ms 2s774ms 23 3 9s640ms 3s213ms Apr 07 00 3 15s607ms 5s202ms 03 3 7s36ms 2s345ms 07 4 8s842ms 2s210ms 09 1 1s19ms 1s19ms 10 1 5s45ms 5s45ms 14 1 5s17ms 5s17ms 20 1 31s816ms 31s816ms 22 1 2s608ms 2s608ms 23 1 1s219ms 1s219ms Apr 08 00 2 2s782ms 1s391ms 04 1 2s691ms 2s691ms 11 1 1s214ms 1s214ms 15 4 6s472ms 1s618ms 19 1 1s561ms 1s561ms 22 1 3s127ms 3s127ms 23 5 18s54ms 3s610ms Apr 09 02 2 2s356ms 1s178ms 06 1 1s335ms 1s335ms 07 4 22s653ms 5s663ms 09 1 1s93ms 1s93ms 11 1 1s28ms 1s28ms 17 1 1s284ms 1s284ms 22 9 13s112ms 1s456ms Apr 10 00 2 2s647ms 1s323ms 02 1 2s800ms 2s800ms 04 3 16s538ms 5s512ms 08 1 1s66ms 1s66ms 10 2 2s983ms 1s491ms 18 2 2s615ms 1s307ms 22 2 2s599ms 1s299ms 23 1 1s51ms 1s51ms Apr 11 00 2 7s991ms 3s995ms 02 1 39s704ms 39s704ms 06 2 4s55ms 2s27ms 11 1 1s265ms 1s265ms 12 2 4s434ms 2s217ms 19 1 1s300ms 1s300ms 21 1 1s98ms 1s98ms 23 1 1s208ms 1s208ms Apr 12 02 1 1s416ms 1s416ms 05 3 5s500ms 1s833ms 06 2 2s716ms 1s358ms 09 2 2s370ms 1s185ms 10 1 1s499ms 1s499ms 22 2 2s270ms 1s135ms [ User: pubeu - Total duration: 2m19s - Times executed: 37 ]
-
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 LIMIT 50 OFFSET 6331850;
Date: 2025-04-11 02:17:39 Duration: 39s704ms 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 3751100;
Date: 2025-04-07 20:22:48 Duration: 31s816ms 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 = '2094710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1509950;
Date: 2025-04-10 04:36:30 Duration: 12s203ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s13ms 8s455ms 2s808ms 129 6m2s 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 #19
Day Hour Count Duration Avg duration Apr 06 07 1 2s584ms 2s584ms Apr 07 07 2 2s106ms 1s53ms Apr 08 00 10 32s703ms 3s270ms 04 34 2m10s 3s846ms 13 1 5s995ms 5s995ms 17 1 1s28ms 1s28ms Apr 09 04 1 2s95ms 2s95ms 05 4 11s482ms 2s870ms 06 3 14s972ms 4s990ms 07 3 10s975ms 3s658ms 09 3 5s826ms 1s942ms 10 1 1s671ms 1s671ms 11 2 3s847ms 1s923ms 12 6 13s142ms 2s190ms 13 2 3s866ms 1s933ms 14 2 8s389ms 4s194ms 15 5 10s102ms 2s20ms 16 4 7s862ms 1s965ms 17 3 6s370ms 2s123ms 18 2 3s760ms 1s880ms 19 2 4s234ms 2s117ms 20 4 7s475ms 1s868ms 21 3 9s653ms 3s217ms 22 3 4s431ms 1s477ms 23 1 3s842ms 3s842ms Apr 10 00 6 15s647ms 2s607ms 01 6 11s14ms 1s835ms 02 4 7s498ms 1s874ms 03 4 7s96ms 1s774ms 04 5 10s512ms 2s102ms Apr 11 23 1 1s309ms 1s309ms [ User: pubeu - Total duration: 1m37s - Times executed: 38 ]
-
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-08 04:20:34 Duration: 8s455ms 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 = '156735' 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 = '156735') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-08 04:20:30 Duration: 6s694ms 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 = '156735' 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 = '156735') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-04-08 04:20:38 Duration: 6s440ms Bind query: yes
20 1s1ms 4s540ms 2s337ms 328 12m46s 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 #20
Day Hour Count Duration Avg duration Apr 06 00 1 1s981ms 1s981ms 20 1 1s44ms 1s44ms Apr 07 15 8 16s523ms 2s65ms 16 15 32s300ms 2s153ms Apr 08 09 24 52s624ms 2s192ms 10 1 1s18ms 1s18ms Apr 09 03 2 3s58ms 1s529ms 04 15 41s913ms 2s794ms 05 20 53s543ms 2s677ms 06 22 53s778ms 2s444ms 07 7 17s89ms 2s441ms 08 6 10s115ms 1s685ms 09 9 22s188ms 2s465ms 10 6 14s215ms 2s369ms 11 6 11s809ms 1s968ms 12 6 8s465ms 1s410ms 13 10 26s448ms 2s644ms 14 5 15s839ms 3s167ms 15 6 15s692ms 2s615ms 16 4 6s193ms 1s548ms 17 4 13s606ms 3s401ms 18 5 10s360ms 2s72ms 19 16 40s311ms 2s519ms 20 6 12s339ms 2s56ms 21 7 17s657ms 2s522ms 22 12 32s394ms 2s699ms 23 3 8s609ms 2s869ms Apr 10 00 4 13s635ms 3s408ms 01 6 16s47ms 2s674ms 02 7 15s472ms 2s210ms 03 6 15s233ms 2s538ms 04 4 10s566ms 2s641ms 09 1 1s945ms 1s945ms 16 1 2s53ms 2s53ms Apr 11 20 17 34s828ms 2s48ms 21 14 31s352ms 2s239ms 22 1 1s92ms 1s92ms 23 8 16s693ms 2s86ms Apr 12 00 16 33s448ms 2s90ms 23 16 33s233ms 2s77ms [ User: pubeu - Total duration: 2m29s - Times executed: 64 ]
-
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-09 09:35:49 Duration: 4s540ms 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-09 05:07:36 Duration: 4s413ms 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-10 01:08:38 Duration: 4s381ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1s17ms 1 1s17ms 1s17ms 1s17ms 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 = $1) 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 = $2) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3) 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;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Apr 12 06 1 1s17ms 1s17ms -
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 = $1) 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 = $2) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3) 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-05 06:32:31 Duration: 1s17ms Database: postgres parameters: $1 = '659068', $2 = '659068'
2 0ms 180 0ms 0ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration Apr 05 05 1 0ms 0ms 07 3 0ms 0ms 08 1 0ms 0ms 13 1 0ms 0ms Apr 06 20 2 0ms 0ms Apr 07 07 12 0ms 0ms 08 2 0ms 0ms 09 6 0ms 0ms 16 8 0ms 0ms 17 2 0ms 0ms 20 2 0ms 0ms 23 4 0ms 0ms Apr 08 00 2 0ms 0ms 04 2 0ms 0ms 08 6 0ms 0ms 13 2 0ms 0ms 15 2 0ms 0ms 23 2 0ms 0ms Apr 09 02 1 0ms 0ms 04 4 0ms 0ms 09 2 0ms 0ms 16 2 0ms 0ms 20 2 0ms 0ms Apr 10 06 2 0ms 0ms 07 6 0ms 0ms 08 10 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 4 0ms 0ms 13 2 0ms 0ms 14 8 0ms 0ms 15 2 0ms 0ms Apr 11 02 1 0ms 0ms 07 6 0ms 0ms 08 3 0ms 0ms 09 6 0ms 0ms 11 9 0ms 0ms 14 12 0ms 0ms 15 12 0ms 0ms 16 9 0ms 0ms Apr 12 06 6 0ms 0ms 13 3 0ms 0ms 18 3 0ms 0ms Apr 13 00 1 0ms 0ms [ User: pubeu - Total duration: 10m29s - Times executed: 78 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '1827140', $2 = '1827140'
-
Events
Log levels
Key values
- 99,196 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 4 FATAL entries
- 332 ERROR entries
- 2 WARNING entries
- 8 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 317 Max number of times the same event was reported
- 346 Total events found
Rank Times reported Error 1 317 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 06 00 5 01 8 02 1 03 3 05 4 11 2 14 2 15 1 18 1 20 2 Apr 07 00 1 01 2 02 1 04 1 05 2 08 1 10 1 11 2 12 1 13 1 15 1 16 1 19 3 20 5 22 6 23 4 Apr 08 00 3 02 2 03 2 04 1 05 1 06 1 10 2 11 2 12 1 14 2 15 1 17 1 19 2 20 2 22 2 23 1 Apr 09 00 2 01 6 02 1 03 1 05 1 06 2 07 1 08 1 09 1 13 1 17 1 18 2 19 3 20 2 21 6 23 2 Apr 10 00 5 01 7 02 4 04 10 05 3 06 9 07 3 08 2 09 1 13 1 16 1 18 2 20 3 21 2 22 8 23 7 Apr 11 00 7 01 5 02 4 03 5 04 7 05 4 06 2 07 4 10 1 11 2 12 2 17 1 18 1 19 2 21 6 22 4 23 8 Apr 12 00 4 02 1 03 4 04 5 05 2 06 3 07 5 08 1 10 5 11 1 13 3 15 3 16 1 17 1 18 1 19 1 20 6 21 3 22 8 23 5 - ERROR: syntax error in ts"超特急 年齢"
- ERROR: syntax error in ts"親族間売買 & 分割払い 費用"
- ERROR: syntax error in ts"SATELLITE & HEAD & K<T"
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-06 03:55:19 Database: ctdprd51 Application: User: pubeu Remote:
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-06 05:46:39
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-06 14:18:51 Database: ctdprd51 Application: User: pubeu Remote:
2 9 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #2
Day Hour Count Apr 08 03 5 04 1 Apr 09 03 3 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
- ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ 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 WHERE UPPER(li.nm) = $1 AND li.object_type_id = 3 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 3 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-08 03:33:34 Database: ctdprd51 Application: User: pubeu Remote:
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-09 03:36:07
3 5 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 10 21 1 22 4 4 4 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 09 00 4 5 3 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #5
Day Hour Count Apr 06 14 3 6 2 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #6
Day Hour Count Apr 10 08 1 10 1 - ERROR: relation "disease_chem_gene" does not exist at character 369
- ERROR: relation "phenotype_type_reference" does not exist at character 17
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 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 DESC ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort LIMIT 50 OFFSET 450
Date: 2025-04-10 08:35:19 Database: ctdprd51 Application: User: pubeu Remote:
Statement: select * from phenotype_type_reference where source_cd = 'C' limit 100
Date: 2025-04-10 10:25:27
7 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Apr 10 12 2 - ERROR: syntax error at or near ")" at character 99
- ERROR: syntax error at or near "select" at character 281
Statement: SELECT count( distinct ( cdr.chem_id ) ) FROM chem_disease_reference cdr WHERE cdr.source_cd = 'C') i
Date: 2025-04-10 12:26:29
Statement: SELECT 'data_metrics' ,'curated_chem_count' ,COUNT(*) FROM (SELECT gcr.chem_id FROM gene_chem_reference gcr UNION SELECT cdr.chem_id FROM chem_disease_reference cdr WHERE cdr.source_cd = 'C' select ptr.term_id from phenotype_term_reference ptr where source_cd = 'C' and term_object_type_id = 2 ) i
Date: 2025-04-10 12:29:28
8 2 WARNING: is not a PostgreSQL server process
Times Reported Most Frequent Error / Event #8
Day Hour Count Apr 06 14 2 9 1 ERROR: operator does not exist: boolean || boolean
Times Reported Most Frequent Error / Event #9
Day Hour Count Apr 10 10 1 - ERROR: operator does not exist: boolean || boolean at character 108
Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
Statement: select count(*) from term where object_type_id = 2 and secondary_nm is not null and ( has_ixns is true || has_diseases is true || has_genes is true || has_phenotypes is true ) limit 100Date: 2025-04-10 10:09:26 Database: ctdprd51 Application: pgAdmin 4 - CONN:4895553 User: pub1 Remote:
10 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #10
Day Hour Count Apr 10 12 1 - ERROR: column "lc_cum_type_nm" does not exist at character 12
Statement: SELECT lc_cum_type_nm ,'curated_chem_count' ,COUNT(*) FROM (SELECT gcr.chem_id FROM gene_chem_reference gcr UNION SELECT cdr.chem_id FROM chem_disease_reference cdr WHERE cdr.source_cd = 'C') iSELECT gcr.chem_id FROM gene_chem_reference gcr
Date: 2025-04-10 12:24:02 Database: ctdprd51 Application: pgAdmin 4 - CONN:6057567 User: pub1 Remote: