-
Global information
- Generated on Sun May 19 04:15:15 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240518
- Parsed 303,981 log entries in 14s
- Log start from 2024-05-12 00:00:01 to 2024-05-18 23:59:54
-
Overview
Global Stats
- 336 Number of unique normalized queries
- 24,345 Number of queries
- 4d18h31m12s Total query duration
- 2024-05-12 00:15:47 First query
- 2024-05-18 23:59:54 Last query
- 12 queries/s at 2024-05-12 03:58:40 Query peak
- 4d18h31m12s Total query duration
- 25s834ms Prepare/parse total duration
- 37s98ms Bind total duration
- 4d18h30m9s Execute total duration
- 153 Number of events
- 9 Number of unique normalized events
- 41 Max number of times the same event was reported
- 0 Number of cancellation
- 52 Total number of automatic vacuums
- 188 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 27,582 Total number of sessions
- 95 sessions at 2024-05-12 10:03:41 Session peak
- 311d17h6m36s Total duration of sessions
- 16m16s Average duration of sessions
- 0 Average queries per session
- 14s947ms Average queries duration per session
- 16m1s Average idle time per session
- 27,583 Total number of connections
- 66 connections/s at 2024-05-12 04:46:09 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 12 queries/s Query Peak
- 2024-05-12 03:58:40 Date
SELECT Traffic
Key values
- 12 queries/s Query Peak
- 2024-05-12 03:58:40 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-05-18 18:31:48 Date
Queries duration
Key values
- 4d18h31m12s 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) May 12 00 10 0ms 15m46s 1m40s 4s796ms 15s277ms 15m51s 01 19 0ms 3m35s 13s218ms 2s540ms 4s792ms 3m35s 02 7 0ms 1s965ms 1s482ms 1s798ms 2s387ms 2s436ms 03 553 0ms 31s980ms 3s594ms 1m44s 3m21s 17m6s 04 665 0ms 4s923ms 1s740ms 1m35s 3m22s 4m5s 05 115 0ms 1m24s 13s296ms 1m24s 1m57s 2m41s 06 26 0ms 1m20s 17s642ms 33s154ms 1m39s 2m10s 07 16 0ms 57s116ms 8s400ms 2s388ms 4s870ms 59s501ms 08 60 0ms 10s11ms 6s506ms 47s159ms 47s797ms 55s401ms 09 300 1s43ms 20s340ms 9s560ms 51s61ms 52s463ms 1m19s 10 330 1s13ms 32s279ms 9s411ms 54s238ms 1m29s 2m12s 11 295 1s41ms 56s913ms 10s100ms 54s861ms 59s633ms 1m38s 12 276 1s56ms 11s399ms 10s483ms 55s258ms 57s666ms 59s625ms 13 278 1s52ms 19s808ms 10s754ms 57s393ms 57s934ms 1m7s 14 285 1s10ms 32s344ms 10s908ms 59s4ms 1m15s 1m38s 15 262 1s205ms 12s512ms 11s407ms 58s649ms 58s781ms 59s490ms 16 255 1s59ms 12s833ms 11s738ms 59s727ms 1m 1m 17 252 1s42ms 13s104ms 11s946ms 51s950ms 1m1s 1m3s 18 266 1s32ms 32s765ms 11s874ms 57s839ms 1m 1m43s 19 245 1s46ms 13s980ms 12s393ms 53s716ms 54s719ms 57s153ms 20 238 1s87ms 14s84ms 12s796ms 54s212ms 55s919ms 1m3s 21 236 1s180ms 14s243ms 13s1ms 55s529ms 57s463ms 1m3s 22 243 1s258ms 14s693ms 12s794ms 58s993ms 59s821ms 1m1s 23 236 1s199ms 56s702ms 13s488ms 59s977ms 1m7s 1m41s May 13 00 229 1s36ms 15m50s 17s664ms 59s830ms 1m1s 16m52s 01 221 1s77ms 15s704ms 14s32ms 58s629ms 1m 1m7s 02 226 1s132ms 1m13s 14s142ms 1m1s 1m3s 2m5s 03 219 1s194ms 16s69ms 14s405ms 1m2s 1m5s 1m16s 04 227 1s69ms 17s164ms 13s999ms 1m2s 1m6s 1m9s 05 185 0ms 41s536ms 11s330ms 1m2s 1m3s 1m6s 06 45 0ms 32s365ms 11s284ms 47s108ms 52s194ms 1m1s 07 198 1s187ms 16s539ms 15s53ms 1m3s 1m12s 1m35s 08 213 1s176ms 35s773ms 14s584ms 1m7s 1m8s 1m24s 09 202 1s24ms 17s88ms 15s402ms 1m4s 1m6s 1m10s 10 214 1s46ms 32s305ms 15s149ms 1m5s 1m7s 1m59s 11 209 1s192ms 19s321ms 15s318ms 1m5s 1m7s 1m9s 12 204 1s66ms 17s904ms 15s642ms 1m6s 1m6s 1m9s 13 199 1s180ms 18s78ms 15s907ms 58s59ms 1m7s 1m9s 14 202 1s24ms 32s640ms 15s670ms 1m4s 1m8s 1m48s 15 188 1s33ms 18s550ms 16s935ms 55s92ms 57s763ms 1m8s 16 188 1s12ms 9m35s 19s759ms 54s878ms 57s173ms 10m28s 17 191 1s76ms 26s638ms 16s633ms 59s727ms 1m2s 1m20s 18 197 1s27ms 32s583ms 16s637ms 56s921ms 58s892ms 1m46s 19 193 1s41ms 9m43s 19s657ms 57s641ms 59s862ms 10m39s 20 182 1s21ms 19s622ms 17s679ms 57s572ms 59s77ms 1m14s 21 178 1s193ms 19s697ms 17s923ms 57s491ms 58s220ms 1m1s 22 177 1s165ms 44s614ms 18s357ms 58s842ms 1m1s 1m23s 23 191 1s29ms 57s64ms 17s466ms 1m2s 1m7s 1m55s May 14 00 175 1s45ms 15m51s 23s830ms 1m 1m2s 16m54s 01 184 1s46ms 20s765ms 17s845ms 1m2s 1m10s 1m21s 02 182 1s16ms 22s771ms 17s930ms 1m1s 1m3s 1m13s 03 176 1s124ms 22s628ms 18s332ms 1m2s 1m7s 1m8s 04 178 1s66ms 20s942ms 18s276ms 1m2s 1m4s 1m8s 05 147 0ms 21s259ms 13s849ms 1m2s 1m2s 1m5s 06 121 0ms 32s252ms 16s375ms 1m2s 1m4s 1m5s 07 173 1s25ms 21s451ms 18s800ms 1m3s 1m7s 1m11s 08 183 1s107ms 22s203ms 18s15ms 1m5s 1m6s 1m18s 09 168 1s74ms 21s863ms 19s336ms 1m3s 1m5s 1m5s 10 171 1s21ms 32s347ms 18s879ms 1m6s 1m21s 1m34s 11 156 1s18ms 22s208ms 19s621ms 1m3s 1m5s 1m25s 12 161 1s57ms 23s444ms 19s808ms 1m6s 1m7s 1m11s 13 157 1s55ms 22s833ms 20s457ms 1m4s 1m4s 1m6s 14 186 1s47ms 32s586ms 18s338ms 1m9s 1m15s 2m 15 163 1s2ms 23s424ms 20s193ms 1m7s 1m11s 1m25s 16 158 1s68ms 23s471ms 20s375ms 1m6s 1m8s 1m8s 17 146 1s79ms 23s370ms 20s854ms 1m6s 1m8s 1m10s 18 165 1s20ms 32s304ms 20s347ms 1m8s 1m22s 1m45s 19 159 1s166ms 23s766ms 20s591ms 1m7s 1m9s 1m16s 20 169 1s164ms 3m36s 20s776ms 1m8s 1m10s 4m20s 21 162 1s63ms 2m10s 21s155ms 1m9s 1m22s 3m17s 22 159 1s63ms 24s787ms 20s649ms 1m9s 1m11s 1m14s 23 163 1s1ms 24s486ms 20s384ms 1m11s 1m14s 1m28s May 15 00 88 0ms 15m55s 31s896ms 1m9s 1m10s 17m5s 01 13 0ms 4s792ms 1s577ms 1s388ms 2s354ms 4s792ms 02 13 0ms 5s924ms 2s845ms 4s323ms 5s924ms 6s817ms 03 11 0ms 14s781ms 3s477ms 2s353ms 7s537ms 14s781ms 04 13 0ms 5s277ms 2s749ms 3s948ms 5s277ms 6s837ms 05 180 0ms 54s80ms 16s129ms 1m16s 16m55s 21m37s 06 36 0ms 32s264ms 5s825ms 15s773ms 21s101ms 1m4s 07 29 0ms 12s633ms 3s240ms 1s315ms 3s943ms 43s825ms 08 20 0ms 14s440ms 3s999ms 7s456ms 15s687ms 23s762ms 09 17 0ms 6s447ms 4s116ms 6s447ms 10s451ms 26s256ms 10 21 0ms 32s215ms 6s729ms 11s834ms 38s914ms 52s624ms 11 6 0ms 2m10s 23s171ms 1s222ms 2s350ms 2m10s 12 18 0ms 17s791ms 3s845ms 4s 8s832ms 20s646ms 13 13 0ms 5s539ms 3s463ms 4s517ms 8s685ms 10s459ms 14 25 0ms 1m35s 9s257ms 7s632ms 38s914ms 1m35s 15 8 0ms 3s936ms 1s966ms 2s176ms 3s303ms 3s936ms 16 5 0ms 1s885ms 1s392ms 1s68ms 1s379ms 1s885ms 17 13 0ms 5s138ms 1s645ms 1s557ms 1s838ms 5s138ms 18 97 0ms 32s188ms 17s707ms 1m8s 1m9s 1m11s 19 157 1s44ms 24s547ms 21s212ms 1m9s 1m10s 1m11s 20 150 1s164ms 24s318ms 22s114ms 1m9s 1m12s 1m12s 21 147 1s58ms 24s666ms 22s513ms 1m10s 1m11s 1m15s 22 170 1s181ms 25s386ms 19s822ms 1m12s 1m18s 1m20s 23 156 1s48ms 1m52s 22s792ms 1m13s 1m14s 4m34s May 16 00 157 1s51ms 15m50s 27s517ms 1m13s 1m20s 17m7s 01 164 1s45ms 4m48s 22s281ms 1m13s 1m18s 5m36s 02 151 1s70ms 47s297ms 22s496ms 1m12s 1m18s 1m39s 03 144 1s180ms 25s996ms 22s912ms 1m13s 1m13s 1m17s 04 154 1s162ms 25s761ms 21s771ms 1m13s 1m14s 1m16s 05 130 0ms 25s865ms 15s923ms 1m13s 1m13s 1m18s 06 27 0ms 32s325ms 5s797ms 4s284ms 23s165ms 57s277ms 07 19 0ms 16s119ms 3s820ms 3s895ms 16s119ms 16s823ms 08 45 0ms 8m30s 15s666ms 8s260ms 37s481ms 8m30s 09 27 0ms 6s636ms 1s576ms 3s456ms 3s966ms 7s785ms 10 67 0ms 58s806ms 10s383ms 47s674ms 1m35s 1m46s 11 35 0ms 5s340ms 1s848ms 3s947ms 5s201ms 9s948ms 12 53 0ms 18s28ms 2s130ms 6s241ms 8s804ms 19s168ms 13 42 0ms 5s917ms 1s740ms 4s191ms 5s461ms 7s560ms 14 44 0ms 48s175ms 5s526ms 10s532ms 39s66ms 56s315ms 15 56 0ms 16s371ms 2s175ms 5s886ms 14s40ms 16s371ms 16 42 0ms 17s887ms 2s649ms 6s237ms 9s285ms 17s887ms 17 35 0ms 8m26s 16s395ms 3s299ms 5s928ms 8m29s 18 53 0ms 32s239ms 3s315ms 7s487ms 12s889ms 52s320ms 19 161 0ms 26s418ms 18s412ms 1m13s 1m16s 1m22s 20 187 1s96ms 25s984ms 18s205ms 1m14s 1m15s 1m19s 21 179 1s80ms 25s912ms 18s973ms 1m14s 1m16s 1m27s 22 170 1s77ms 26s733ms 19s865ms 1m15s 1m17s 1m19s 23 175 1s49ms 5m58s 21s494ms 1m15s 1m17s 6m52s May 17 00 180 1s42ms 15m57s 24s349ms 1m17s 1m20s 16m49s 01 172 1s78ms 26s681ms 19s796ms 1m16s 1m20s 1m25s 02 176 1s 26s988ms 19s273ms 1m17s 1m18s 1m20s 03 175 1s10ms 27s829ms 19s485ms 1m16s 1m17s 1m21s 04 177 1s46ms 27s206ms 19s439ms 1m17s 1m18s 1m23s 05 150 0ms 26s964ms 14s143ms 1m 1m17s 1m19s 06 43 0ms 32s353ms 3s668ms 4s27ms 10s573ms 52s519ms 07 40 0ms 1m25s 3s723ms 4s66ms 5s435ms 1m25s 08 77 0ms 1m39s 17s110ms 55s798ms 1m17s 1m39s 09 179 1s9ms 27s147ms 18s674ms 1m18s 1m19s 1m24s 10 178 1s21ms 32s506ms 19s420ms 1m19s 1m23s 1m47s 11 161 1s62ms 27s719ms 20s715ms 1m18s 1m19s 1m23s 12 180 1s16ms 27s561ms 18s570ms 1m19s 1m22s 1m23s 13 178 1s46ms 27s667ms 19s114ms 1m17s 1m22s 1m29s 14 195 1s10ms 32s385ms 18s202ms 1m18s 1m30s 1m50s 15 192 1s24ms 28s192ms 18s16ms 1m18s 1m20s 1m28s 16 166 1s83ms 28s212ms 20s798ms 1m10s 1m21s 1m47s 17 188 1s18ms 28s65ms 18s463ms 1m12s 1m20s 1m39s 18 189 1s18ms 1m4s 19s180ms 1m20s 1m33s 2m2s 19 154 1s120ms 28s303ms 22s82ms 1m9s 1m19s 1m30s 20 139 1s62ms 27s934ms 24s143ms 1m 1m19s 1m20s 21 146 1s62ms 28s179ms 23s154ms 1m5s 1m19s 1m19s 22 144 1s33ms 29s51ms 23s467ms 59s785ms 1m 1m23s 23 135 1s4ms 29s593ms 24s836ms 58s335ms 1m 1m22s May 18 00 145 1s54ms 15m52s 30s781ms 1m4s 1m23s 16m58s 01 142 1s7ms 17m33s 31s436ms 1m3s 1m21s 18m31s 02 170 1s62ms 29s441ms 20s271ms 1m1s 1m3s 1m21s 03 137 0ms 30s625ms 24s924ms 1m2s 1m11s 1m22s 04 142 1s164ms 3m23s 25s483ms 1m 1m17s 4m25s 05 132 0ms 29s467ms 15s812ms 58s234ms 59s822ms 1m20s 06 21 0ms 4s18ms 2s311ms 2s752ms 3s902ms 7s961ms 07 17 0ms 6s831ms 2s556ms 3s86ms 4s825ms 10s807ms 08 18 0ms 17s873ms 2s866ms 2s630ms 3s926ms 17s873ms 09 31 0ms 4m21s 11s22ms 5s342ms 9s784ms 4m24s 10 21 0ms 7s39ms 2s778ms 4s52ms 5s485ms 7s39ms 11 43 0ms 28s462ms 18s782ms 56s402ms 59s613ms 1m3s 12 145 1s46ms 30s770ms 23s403ms 1m 1m1s 1m6s 13 141 1s100ms 29s839ms 23s994ms 1m2s 1m4s 1m22s 14 144 1s143ms 30s614ms 23s229ms 1m1s 1m4s 1m7s 15 151 1s145ms 30s862ms 22s852ms 1m2s 1m7s 1m10s 16 137 1s20ms 31s382ms 24s749ms 1m 1m3s 1m5s 17 146 1s 1m34s 24s419ms 1m4s 1m11s 2m41s 18 178 1s10ms 23m12s 31s997ms 1m56s 2m17s 23m44s 19 182 1s2ms 23m13s 37s172ms 2m26s 8m3s 23m47s 20 138 1s26ms 30s881ms 24s429ms 1m 1m1s 1m12s 21 140 1s46ms 31s202ms 24s294ms 1m 1m4s 1m6s 22 135 1s50ms 1m36s 26s72ms 1m2s 1m5s 2m38s 23 144 1s119ms 31s76ms 23s568ms 1m1s 1m4s 1m4s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 12 00 9 0 1m51s 1s43ms 4s796ms 15m46s 01 19 0 13s218ms 1s456ms 2s540ms 3m35s 02 7 0 1s482ms 0ms 1s798ms 2s436ms 03 553 0 3s594ms 3s910ms 1m44s 17m6s 04 665 0 1s740ms 4s645ms 1m35s 4m5s 05 111 0 13s670ms 1m1s 1m24s 2m27s 06 15 11 17s642ms 2s581ms 48s486ms 1m59s 07 16 0 8s400ms 1s309ms 2s388ms 59s501ms 08 60 0 6s506ms 7s352ms 47s159ms 55s401ms 09 300 0 9s560ms 49s978ms 51s61ms 52s625ms 10 319 10 9s436ms 51s589ms 53s49ms 56s293ms 11 295 0 10s100ms 53s581ms 54s861ms 1m12s 12 276 0 10s483ms 54s381ms 55s258ms 58s367ms 13 278 0 10s754ms 55s904ms 57s393ms 1m4s 14 275 10 10s908ms 56s945ms 57s804ms 1m4s 15 262 0 11s407ms 58s155ms 58s649ms 59s174ms 16 255 0 11s738ms 49s803ms 59s727ms 1m 17 252 0 11s946ms 50s667ms 51s950ms 1m1s 18 256 10 11s874ms 51s853ms 53s701ms 57s947ms 19 245 0 12s393ms 52s369ms 53s716ms 55s577ms 20 238 0 12s796ms 53s382ms 54s212ms 56s643ms 21 236 0 13s1ms 54s280ms 55s529ms 58s245ms 22 243 0 12s794ms 56s657ms 58s993ms 1m1s 23 236 0 13s488ms 56s782ms 59s977ms 1m11s May 13 00 228 0 17s719ms 57s802ms 59s830ms 1m5s 01 221 0 14s32ms 58s287ms 58s629ms 1m1s 02 226 0 14s142ms 59s686ms 1m1s 1m5s 03 219 0 14s405ms 1m 1m2s 1m10s 04 227 0 13s999ms 1m1s 1m2s 1m7s 05 182 0 11s473ms 1m1s 1m2s 1m3s 06 34 10 11s466ms 18s705ms 47s108ms 1m1s 07 198 0 15s53ms 1m1s 1m3s 1m23s 08 213 0 14s584ms 1m3s 1m7s 1m12s 09 202 0 15s402ms 1m3s 1m4s 1m6s 10 204 10 15s149ms 54s222ms 1m5s 1m6s 11 209 0 15s318ms 56s61ms 1m5s 1m9s 12 204 0 15s642ms 55s22ms 1m6s 1m7s 13 199 0 15s907ms 53s804ms 58s59ms 1m7s 14 189 10 15s855ms 53s153ms 55s238ms 1m8s 15 188 0 16s935ms 54s434ms 55s92ms 1m3s 16 188 0 19s759ms 53s561ms 54s878ms 1m1s 17 191 0 16s633ms 56s742ms 59s727ms 1m5s 18 187 10 16s637ms 55s206ms 56s357ms 58s431ms 19 193 0 19s657ms 56s698ms 57s641ms 1m2s 20 182 0 17s679ms 56s111ms 57s572ms 1m14s 21 178 0 17s923ms 56s630ms 57s491ms 59s505ms 22 177 0 18s357ms 57s309ms 58s842ms 1m2s 23 191 0 17s466ms 59s130ms 1m2s 1m40s May 14 00 174 0 23s936ms 59s102ms 1m 1m2s 01 184 0 17s845ms 58s833ms 1m2s 1m18s 02 182 0 17s930ms 59s990ms 1m1s 1m5s 03 176 0 18s332ms 1m 1m2s 1m7s 04 178 0 18s276ms 1m1s 1m2s 1m5s 05 143 0 14s175ms 1m 1m2s 1m5s 06 111 10 16s375ms 1m1s 1m2s 1m4s 07 173 0 18s800ms 1m1s 1m3s 1m9s 08 183 0 18s15ms 1m1s 1m5s 1m8s 09 168 0 19s336ms 1m2s 1m3s 1m5s 10 160 10 18s971ms 1m2s 1m4s 1m7s 11 156 0 19s621ms 1m2s 1m3s 1m23s 12 161 0 19s808ms 1m4s 1m6s 1m7s 13 157 0 20s457ms 1m4s 1m4s 1m6s 14 175 10 18s426ms 1m4s 1m7s 1m14s 15 163 0 20s193ms 1m5s 1m7s 1m21s 16 158 0 20s375ms 1m5s 1m6s 1m8s 17 146 0 20s854ms 1m5s 1m6s 1m9s 18 158 7 20s347ms 1m6s 1m7s 1m11s 19 159 0 20s591ms 1m6s 1m7s 1m9s 20 169 0 20s776ms 1m7s 1m8s 1m15s 21 162 0 21s155ms 1m7s 1m9s 1m24s 22 159 0 20s649ms 1m8s 1m9s 1m12s 23 163 0 20s384ms 1m8s 1m11s 1m15s May 15 00 87 0 32s202ms 1m8s 1m9s 1m11s 01 13 0 1s577ms 1s108ms 1s388ms 4s792ms 02 13 0 2s845ms 2s163ms 4s323ms 6s817ms 03 11 0 3s477ms 1s48ms 2s353ms 14s781ms 04 13 0 2s749ms 1s594ms 3s948ms 6s837ms 05 176 0 16s446ms 28s833ms 1m16s 21m37s 06 26 10 5s825ms 2s533ms 17s492ms 52s507ms 07 29 0 3s240ms 1s154ms 1s315ms 43s825ms 08 20 0 3s999ms 3s487ms 7s456ms 23s762ms 09 17 0 4s116ms 2s750ms 6s447ms 26s256ms 10 11 10 6s729ms 1s294ms 11s834ms 52s624ms 11 6 0 23s171ms 0ms 1s222ms 2m10s 12 18 0 3s845ms 1s410ms 4s 20s646ms 13 13 0 3s463ms 1s895ms 4s517ms 10s459ms 14 15 10 9s257ms 3s569ms 7s632ms 1m35s 15 8 0 1s966ms 0ms 2s176ms 3s936ms 16 5 0 1s392ms 0ms 1s68ms 1s885ms 17 13 0 1s645ms 1s211ms 1s557ms 5s138ms 18 87 10 17s707ms 1m7s 1m8s 1m11s 19 157 0 21s212ms 1m8s 1m9s 1m10s 20 150 0 22s114ms 1m9s 1m9s 1m12s 21 147 0 22s513ms 1m9s 1m10s 1m14s 22 170 0 19s822ms 1m10s 1m12s 1m18s 23 156 0 22s792ms 1m11s 1m13s 1m15s May 16 00 156 0 27s660ms 1m11s 1m13s 1m22s 01 164 0 22s281ms 1m11s 1m13s 1m28s 02 151 0 22s496ms 1m12s 1m12s 1m20s 03 144 0 22s912ms 1m12s 1m13s 1m16s 04 154 0 21s771ms 1m12s 1m13s 1m15s 05 126 0 16s359ms 50s942ms 1m13s 1m14s 06 17 10 5s797ms 2s115ms 4s876ms 39s8ms 07 19 0 3s820ms 1s164ms 3s895ms 16s823ms 08 45 0 15s666ms 3s782ms 8s260ms 54s106ms 09 27 0 1s576ms 1s166ms 3s456ms 7s785ms 10 57 10 10s383ms 13s270ms 47s674ms 1m37s 11 32 0 1s711ms 1s604ms 3s937ms 6s473ms 12 52 0 2s134ms 2s750ms 5s286ms 11s137ms 13 42 0 1s740ms 2s381ms 4s191ms 5s917ms 14 34 10 5s526ms 3s906ms 9s374ms 49s297ms 15 56 0 2s175ms 3s106ms 5s886ms 16s371ms 16 42 0 2s649ms 3s463ms 6s237ms 17s887ms 17 35 0 16s395ms 1s280ms 3s299ms 8m29s 18 43 9 3s332ms 3s611ms 5s274ms 52s320ms 19 161 0 18s412ms 1m12s 1m13s 1m19s 20 187 0 18s205ms 1m12s 1m14s 1m16s 21 179 0 18s973ms 1m13s 1m14s 1m21s 22 169 0 19s968ms 1m14s 1m15s 1m17s 23 175 0 21s494ms 1m13s 1m15s 1m17s May 17 00 179 0 24s457ms 1m15s 1m17s 1m22s 01 172 0 19s796ms 1m4s 1m16s 1m22s 02 176 0 19s273ms 56s813ms 1m17s 1m18s 03 175 0 19s485ms 58s878ms 1m16s 1m20s 04 177 0 19s439ms 1m 1m17s 1m20s 05 147 0 14s379ms 54s579ms 1m 1m18s 06 33 10 3s668ms 1s617ms 4s27ms 39s60ms 07 38 0 3s817ms 2s801ms 4s13ms 1m25s 08 77 0 17s110ms 52s780ms 55s798ms 1m18s 09 179 0 18s674ms 55s725ms 1m18s 1m19s 10 168 10 19s420ms 55s526ms 1m17s 1m20s 11 161 0 20s715ms 56s657ms 1m18s 1m21s 12 180 0 18s570ms 56s231ms 1m19s 1m23s 13 178 0 19s114ms 58s799ms 1m17s 1m22s 14 185 10 18s202ms 59s107ms 1m18s 1m27s 15 192 0 18s16ms 1m1s 1m18s 1m21s 16 166 0 20s798ms 58s843ms 1m10s 1m21s 17 188 0 18s463ms 59s425ms 1m12s 1m21s 18 179 10 19s180ms 59s793ms 1m19s 1m22s 19 154 0 22s82ms 55s997ms 1m9s 1m19s 20 139 0 24s143ms 55s696ms 1m 1m20s 21 146 0 23s154ms 56s120ms 1m5s 1m19s 22 144 0 23s467ms 57s33ms 59s785ms 1m22s 23 135 0 24s836ms 56s579ms 58s335ms 1m May 18 00 144 0 30s959ms 59s829ms 1m4s 2m38s 01 142 0 31s436ms 57s713ms 1m3s 1m22s 02 170 0 20s271ms 59s476ms 1m1s 1m5s 03 137 0 24s924ms 1m 1m2s 1m21s 04 142 0 25s483ms 58s987ms 1m 1m21s 05 128 0 16s238ms 57s62ms 58s234ms 1m20s 06 21 0 2s311ms 2s263ms 2s752ms 7s961ms 07 17 0 2s556ms 1s362ms 3s86ms 10s807ms 08 18 0 2s866ms 1s811ms 2s630ms 17s873ms 09 31 0 11s22ms 3s139ms 5s342ms 4m24s 10 21 0 2s778ms 2s749ms 4s52ms 7s39ms 11 41 0 19s540ms 55s434ms 56s345ms 1m3s 12 145 0 23s403ms 59s797ms 1m 1m2s 13 141 0 23s994ms 58s788ms 1m2s 1m4s 14 144 0 23s229ms 58s459ms 1m1s 1m6s 15 151 0 22s852ms 1m 1m2s 1m9s 16 137 0 24s749ms 59s659ms 1m 1m4s 17 146 0 24s419ms 59s811ms 1m4s 2m3s 18 151 27 31s997ms 1m1s 1m6s 9m23s 19 137 45 37s172ms 1m9s 1m26s 7m8s 20 138 0 24s429ms 59s109ms 1m 1m2s 21 140 0 24s294ms 1m 1m 1m4s 22 135 0 26s72ms 1m 1m2s 1m13s 23 144 0 23s568ms 1m 1m1s 1m4s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 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 May 13 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 14 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 15 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 16 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 17 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 18 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare May 12 00 0 8 8.00 0.00% 01 0 19 19.00 0.00% 02 0 7 7.00 0.00% 03 0 554 554.00 0.00% 04 0 665 665.00 0.00% 05 2 115 57.50 1.74% 06 0 15 15.00 0.00% 07 0 18 18.00 0.00% 08 0 65 65.00 0.00% 09 0 307 307.00 0.00% 10 0 320 320.00 0.00% 11 0 301 301.00 0.00% 12 0 284 284.00 0.00% 13 0 278 278.00 0.00% 14 0 275 275.00 0.00% 15 0 262 262.00 0.00% 16 0 255 255.00 0.00% 17 0 252 252.00 0.00% 18 0 256 256.00 0.00% 19 0 245 245.00 0.00% 20 0 238 238.00 0.00% 21 0 236 236.00 0.00% 22 0 243 243.00 0.00% 23 0 236 236.00 0.00% May 13 00 0 227 227.00 0.00% 01 0 221 221.00 0.00% 02 0 226 226.00 0.00% 03 0 219 219.00 0.00% 04 0 227 227.00 0.00% 05 0 185 185.00 0.00% 06 0 36 36.00 0.00% 07 0 211 211.00 0.00% 08 0 223 223.00 0.00% 09 0 204 204.00 0.00% 10 0 206 206.00 0.00% 11 0 209 209.00 0.00% 12 0 204 204.00 0.00% 13 0 201 201.00 0.00% 14 0 198 198.00 0.00% 15 0 188 188.00 0.00% 16 0 191 191.00 0.00% 17 0 195 195.00 0.00% 18 0 187 187.00 0.00% 19 0 193 193.00 0.00% 20 0 182 182.00 0.00% 21 0 178 178.00 0.00% 22 0 177 177.00 0.00% 23 0 191 191.00 0.00% May 14 00 0 173 173.00 0.00% 01 0 184 184.00 0.00% 02 0 182 182.00 0.00% 03 0 176 176.00 0.00% 04 0 178 178.00 0.00% 05 0 147 147.00 0.00% 06 0 111 111.00 0.00% 07 0 173 173.00 0.00% 08 0 183 183.00 0.00% 09 0 168 168.00 0.00% 10 0 168 168.00 0.00% 11 0 168 168.00 0.00% 12 0 164 164.00 0.00% 13 0 157 157.00 0.00% 14 0 176 176.00 0.00% 15 0 163 163.00 0.00% 16 0 161 161.00 0.00% 17 0 156 156.00 0.00% 18 0 158 158.00 0.00% 19 0 159 159.00 0.00% 20 0 169 169.00 0.00% 21 0 162 162.00 0.00% 22 0 159 159.00 0.00% 23 0 163 163.00 0.00% May 15 00 0 86 86.00 0.00% 01 0 13 13.00 0.00% 02 0 13 13.00 0.00% 03 0 11 11.00 0.00% 04 0 13 13.00 0.00% 05 0 180 180.00 0.00% 06 0 26 26.00 0.00% 07 0 33 33.00 0.00% 08 0 21 21.00 0.00% 09 0 17 17.00 0.00% 10 0 11 11.00 0.00% 11 0 7 7.00 0.00% 12 0 18 18.00 0.00% 13 0 13 13.00 0.00% 14 0 15 15.00 0.00% 15 0 8 8.00 0.00% 16 0 6 6.00 0.00% 17 0 13 13.00 0.00% 18 0 87 87.00 0.00% 19 0 157 157.00 0.00% 20 0 150 150.00 0.00% 21 0 147 147.00 0.00% 22 0 170 170.00 0.00% 23 0 156 156.00 0.00% May 16 00 0 155 155.00 0.00% 01 0 164 164.00 0.00% 02 0 151 151.00 0.00% 03 0 144 144.00 0.00% 04 0 154 154.00 0.00% 05 0 131 131.00 0.00% 06 0 21 21.00 0.00% 07 0 21 21.00 0.00% 08 0 50 50.00 0.00% 09 0 27 27.00 0.00% 10 0 61 61.00 0.00% 11 0 40 40.00 0.00% 12 0 54 54.00 0.00% 13 0 44 44.00 0.00% 14 0 38 38.00 0.00% 15 0 56 56.00 0.00% 16 0 47 47.00 0.00% 17 0 40 40.00 0.00% 18 0 44 44.00 0.00% 19 0 161 161.00 0.00% 20 0 187 187.00 0.00% 21 0 179 179.00 0.00% 22 0 170 170.00 0.00% 23 0 175 175.00 0.00% May 17 00 0 178 178.00 0.00% 01 0 172 172.00 0.00% 02 0 176 176.00 0.00% 03 0 175 175.00 0.00% 04 0 177 177.00 0.00% 05 0 150 150.00 0.00% 06 0 43 43.00 0.00% 07 0 54 54.00 0.00% 08 0 80 80.00 0.00% 09 0 181 181.00 0.00% 10 0 169 169.00 0.00% 11 0 165 165.00 0.00% 12 0 185 185.00 0.00% 13 0 181 181.00 0.00% 14 0 187 187.00 0.00% 15 0 193 193.00 0.00% 16 0 166 166.00 0.00% 17 0 190 190.00 0.00% 18 0 179 179.00 0.00% 19 0 154 154.00 0.00% 20 0 139 139.00 0.00% 21 0 146 146.00 0.00% 22 0 144 144.00 0.00% 23 0 135 135.00 0.00% May 18 00 0 143 143.00 0.00% 01 0 142 142.00 0.00% 02 0 170 170.00 0.00% 03 0 137 137.00 0.00% 04 0 142 142.00 0.00% 05 0 132 132.00 0.00% 06 0 21 21.00 0.00% 07 0 17 17.00 0.00% 08 0 18 18.00 0.00% 09 0 31 31.00 0.00% 10 0 21 21.00 0.00% 11 0 43 43.00 0.00% 12 0 146 146.00 0.00% 13 0 141 141.00 0.00% 14 0 146 146.00 0.00% 15 0 151 151.00 0.00% 16 0 137 137.00 0.00% 17 0 146 146.00 0.00% 18 0 151 151.00 0.00% 19 0 137 137.00 0.00% 20 0 138 138.00 0.00% 21 0 140 140.00 0.00% 22 0 135 135.00 0.00% 23 0 144 144.00 0.00% Day Hour Count Average / Second May 12 00 83 0.02/s 01 81 0.02/s 02 83 0.02/s 03 487 0.14/s 04 622 0.17/s 05 197 0.05/s 06 84 0.02/s 07 75 0.02/s 08 86 0.02/s 09 178 0.05/s 10 221 0.06/s 11 174 0.05/s 12 167 0.05/s 13 174 0.05/s 14 175 0.05/s 15 176 0.05/s 16 180 0.05/s 17 183 0.05/s 18 174 0.05/s 19 185 0.05/s 20 173 0.05/s 21 179 0.05/s 22 179 0.05/s 23 182 0.05/s May 13 00 184 0.05/s 01 181 0.05/s 02 183 0.05/s 03 180 0.05/s 04 197 0.05/s 05 208 0.06/s 06 97 0.03/s 07 185 0.05/s 08 183 0.05/s 09 176 0.05/s 10 183 0.05/s 11 197 0.05/s 12 182 0.05/s 13 185 0.05/s 14 182 0.05/s 15 178 0.05/s 16 189 0.05/s 17 199 0.06/s 18 185 0.05/s 19 174 0.05/s 20 186 0.05/s 21 181 0.05/s 22 187 0.05/s 23 189 0.05/s May 14 00 192 0.05/s 01 189 0.05/s 02 191 0.05/s 03 202 0.06/s 04 190 0.05/s 05 160 0.04/s 06 139 0.04/s 07 184 0.05/s 08 188 0.05/s 09 183 0.05/s 10 196 0.05/s 11 182 0.05/s 12 201 0.06/s 13 192 0.05/s 14 188 0.05/s 15 190 0.05/s 16 190 0.05/s 17 182 0.05/s 18 177 0.05/s 19 188 0.05/s 20 215 0.06/s 21 183 0.05/s 22 198 0.06/s 23 202 0.06/s May 15 00 141 0.04/s 01 79 0.02/s 02 79 0.02/s 03 78 0.02/s 04 76 0.02/s 05 132 0.04/s 06 99 0.03/s 07 142 0.04/s 08 74 0.02/s 09 83 0.02/s 10 87 0.02/s 11 110 0.03/s 12 80 0.02/s 13 76 0.02/s 14 91 0.03/s 15 73 0.02/s 16 79 0.02/s 17 67 0.02/s 18 132 0.04/s 19 183 0.05/s 20 188 0.05/s 21 186 0.05/s 22 193 0.05/s 23 187 0.05/s May 16 00 190 0.05/s 01 187 0.05/s 02 187 0.05/s 03 186 0.05/s 04 188 0.05/s 05 157 0.04/s 06 84 0.02/s 07 85 0.02/s 08 99 0.03/s 09 97 0.03/s 10 90 0.03/s 11 77 0.02/s 12 84 0.02/s 13 97 0.03/s 14 89 0.02/s 15 81 0.02/s 16 74 0.02/s 17 74 0.02/s 18 86 0.02/s 19 188 0.05/s 20 192 0.05/s 21 184 0.05/s 22 188 0.05/s 23 194 0.05/s May 17 00 198 0.06/s 01 206 0.06/s 02 207 0.06/s 03 207 0.06/s 04 195 0.05/s 05 168 0.05/s 06 91 0.03/s 07 79 0.02/s 08 121 0.03/s 09 201 0.06/s 10 195 0.05/s 11 201 0.06/s 12 189 0.05/s 13 186 0.05/s 14 195 0.05/s 15 198 0.06/s 16 205 0.06/s 17 188 0.05/s 18 193 0.05/s 19 190 0.05/s 20 189 0.05/s 21 190 0.05/s 22 188 0.05/s 23 194 0.05/s May 18 00 189 0.05/s 01 185 0.05/s 02 194 0.05/s 03 168 0.05/s 04 217 0.06/s 05 145 0.04/s 06 77 0.02/s 07 78 0.02/s 08 79 0.02/s 09 82 0.02/s 10 73 0.02/s 11 108 0.03/s 12 211 0.06/s 13 179 0.05/s 14 182 0.05/s 15 197 0.05/s 16 194 0.05/s 17 192 0.05/s 18 197 0.05/s 19 254 0.07/s 20 192 0.05/s 21 191 0.05/s 22 189 0.05/s 23 192 0.05/s Day Hour Count Average Duration Average idle time May 12 00 83 29m2s 28m50s 01 81 30m25s 30m22s 02 83 29m34s 29m33s 03 485 5m21s 5m17s 04 624 3m45s 3m43s 05 183 4h3m7s 4h2m59s 06 98 29m49s 29m45s 07 75 32m12s 32m10s 08 86 28m14s 28m9s 09 178 13m50s 13m34s 10 221 11m13s 10m59s 11 174 13m51s 13m34s 12 167 14m25s 14m8s 13 174 13m55s 13m37s 14 174 13m44s 13m27s 15 177 13m55s 13m38s 16 179 13m42s 13m26s 17 183 13m13s 12m57s 18 175 14m1s 13m43s 19 184 13m22s 13m5s 20 174 12m53s 12m35s 21 179 12m41s 12m23s 22 179 13m5s 12m48s 23 182 13m16s 12m59s May 13 00 184 13m4s 12m42s 01 181 13m24s 13m7s 02 183 13m14s 12m56s 03 180 13m35s 13m18s 04 197 12m24s 12m8s 05 208 11m37s 11m26s 06 97 24m16s 24m11s 07 185 13m43s 13m27s 08 183 13m1s 12m44s 09 176 13m38s 13m20s 10 183 13m30s 13m12s 11 196 12m29s 12m13s 12 183 13m8s 12m51s 13 185 12m59s 12m42s 14 181 13m41s 13m23s 15 177 13m32s 13m14s 16 191 12m32s 12m13s 17 199 12m8s 11m52s 18 184 13m54s 13m36s 19 175 12m23s 12m1s 20 185 12m51s 12m34s 21 181 12m37s 12m19s 22 187 13m10s 12m52s 23 189 12m48s 12m31s May 14 00 192 12m55s 12m33s 01 189 12m42s 12m25s 02 192 13m5s 12m48s 03 201 12m5s 11m49s 04 191 12m49s 12m32s 05 160 14m39s 14m26s 06 139 18m31s 18m17s 07 184 13m27s 13m9s 08 187 12m59s 12m42s 09 184 12m59s 12m41s 10 195 12m16s 11m59s 11 183 13m7s 12m50s 12 201 12m22s 12m6s 13 191 12m22s 12m5s 14 189 12m29s 12m11s 15 189 13m10s 12m53s 16 190 12m30s 12m13s 17 182 13m34s 13m17s 18 177 12m28s 12m9s 19 188 13m2s 12m45s 20 215 11m15s 10m59s 21 183 12m15s 11m57s 22 198 12m29s 12m12s 23 203 11m58s 11m42s May 15 00 141 17m21s 17m1s 01 79 30m55s 30m55s 02 79 30m56s 30m55s 03 78 31m15s 31m15s 04 76 31m3s 31m3s 05 132 18m49s 18m27s 06 99 23m54s 23m52s 07 142 18m34s 18m34s 08 74 31m9s 31m8s 09 83 29m51s 29m50s 10 87 27m4s 27m2s 11 110 22m23s 22m21s 12 80 30m 29m59s 13 76 31m15s 31m15s 14 91 26m55s 26m53s 15 73 31m38s 31m38s 16 79 31m7s 31m7s 17 67 30m42s 30m42s 18 132 19m4s 18m51s 19 183 13m15s 12m57s 20 188 12m46s 12m29s 21 186 12m16s 11m58s 22 192 12m30s 12m13s 23 187 12m58s 12m39s May 16 00 191 13m16s 12m53s 01 186 13m8s 12m48s 02 188 13m11s 12m53s 03 185 13m9s 12m52s 04 188 13m6s 12m48s 05 158 14m32s 14m19s 06 84 29m15s 29m13s 07 85 28m44s 28m43s 08 99 24m30s 24m23s 09 97 25m3s 25m3s 10 90 27m1s 26m54s 11 77 31m16s 31m16s 12 84 29m3s 29m1s 13 97 26m14s 26m13s 14 89 27m36s 27m33s 15 81 29m25s 29m24s 16 74 30m1s 30m 17 74 31m44s 31m36s 18 86 28m6s 28m4s 19 188 12m26s 12m10s 20 191 12m44s 12m26s 21 184 12m21s 12m3s 22 188 13m6s 12m48s 23 194 12m44s 12m24s May 17 00 199 12m13s 11m51s 01 206 11m35s 11m18s 02 206 12m2s 11m46s 03 207 11m54s 11m37s 04 195 12m28s 12m10s 05 169 14m10s 13m58s 06 91 25m24s 25m22s 07 79 31m8s 31m6s 08 121 20m49s 20m38s 09 201 12m25s 12m9s 10 195 12m27s 12m9s 11 201 12m4s 11m48s 12 189 13m6s 12m49s 13 186 12m40s 12m22s 14 194 13m15s 12m57s 15 199 11m13s 10m55s 16 204 11m58s 11m41s 17 188 12m51s 12m33s 18 194 12m42s 12m23s 19 189 12m44s 12m26s 20 189 12m5s 11m47s 21 190 12m20s 12m2s 22 188 12m39s 12m21s 23 193 12m57s 12m40s May 18 00 190 13m5s 12m41s 01 186 13m4s 12m40s 02 194 12m41s 12m23s 03 168 14m27s 14m7s 04 217 11m13s 10m57s 05 145 16m6s 15m51s 06 77 31m23s 31m22s 07 78 31m21s 31m21s 08 79 31m25s 31m25s 09 82 29m34s 29m30s 10 73 31m 30m59s 11 107 24m47s 24m39s 12 212 11m46s 11m30s 13 178 13m11s 12m52s 14 182 12m31s 12m12s 15 198 12m10s 11m53s 16 194 12m35s 12m17s 17 191 12m40s 12m21s 18 196 12m30s 12m1s 19 255 9m51s 9m24s 20 192 12m31s 12m13s 21 191 12m3s 11m45s 22 190 13m10s 12m51s 23 191 12m48s 12m30s -
Connections
Established Connections
Key values
- 66 connections Connection Peak
- 2024-05-12 04:46:09 Date
Connections per database
Key values
- ctdprd51 Main Database
- 27,583 connections Total
Connections per user
Key values
- pubeu Main User
- 27,583 connections Total
-
Sessions
Simultaneous sessions
Key values
- 95 sessions Session Peak
- 2024-05-12 10:03:41 Date
Histogram of session times
Key values
- 11,906 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 27,582 sessions Total
Sessions per user
Key values
- pubeu Main User
- 27,582 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 27,582 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 298,246 buffers Checkpoint Peak
- 2024-05-13 06:10:09 Date
- 1619.960 seconds Highest write time
- 0.033 seconds Sync time
Checkpoints Wal files
Key values
- 171 files Wal files usage Peak
- 2024-05-13 06:10:09 Date
Checkpoints distance
Key values
- 5,936.46 Mo Distance Peak
- 2024-05-13 06:10:09 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 12 00 295 29.667s 0.001s 29.682s 01 57,182 1,632.131s 0.005s 1,632.653s 02 115 11.707s 0.002s 11.738s 03 141 14.312s 0.002s 14.344s 04 339 34.077s 0.002s 34.109s 05 373 38.277s 0.034s 38.657s 06 409 41.199s 0.002s 41.284s 07 479 48.189s 0.003s 48.221s 08 473 47.524s 0.003s 47.555s 09 345 34.79s 0.002s 34.826s 10 232 23.456s 0.003s 23.488s 11 169 17.15s 0.002s 17.182s 12 4,403 441.395s 0.003s 441.517s 13 120 12.231s 0.002s 12.261s 14 128 13.012s 0.002s 13.042s 15 166 16.831s 0.002s 16.904s 16 115 11.726s 0.002s 11.757s 17 97 9.907s 0.002s 9.943s 18 120 12.213s 0.002s 12.245s 19 86 8.833s 0.002s 8.863s 20 80 8.197s 0.002s 8.227s 21 97 9.923s 0.002s 9.954s 22 185 18.757s 0.002s 18.788s 23 49,996 1,640.833s 0.003s 1,641.298s May 13 00 950 95.449s 0.003s 95.537s 01 167 16.926s 0.002s 16.956s 02 4,095 410.535s 0.003s 410.63s 03 259 26.074s 0.002s 26.103s 04 21,414 1,619.752s 0.002s 1,620.071s 05 147,843 2,718.301s 0.004s 2,718.971s 06 323,975 3,267.945s 0.006s 3,270.05s 07 235 23.656s 0.001s 23.671s 08 50,375 1,662.28s 0.004s 1,662.777s 09 356 35.909s 0.002s 35.941s 10 5,692 570.593s 0.003s 570.694s 11 9,221 924.043s 0.003s 924.122s 12 136 13.843s 0.002s 13.879s 13 57 5.705s 0.001s 5.721s 14 11,378 1,140.203s 0.005s 1,140.356s 15 298 30.07s 0.003s 30.101s 16 294 29.452s 0.002s 29.529s 17 285 28.753s 0.002s 28.784s 18 508 51.01s 0.003s 51.042s 19 126 12.806s 0.002s 12.839s 20 3,709 371.803s 0.003s 371.89s 21 140 14.229s 0.002s 14.26s 22 171 17.336s 0.002s 17.366s 23 421 42.409s 0.002s 42.44s May 14 00 6,104 638.491s 0.004s 638.582s 01 43,785 1,714.289s 0.004s 1,714.679s 02 2,347 235.339s 0.003s 235.387s 03 970 97.437s 0.002s 97.469s 04 2,074 207.945s 0.003s 207.99s 05 6,209 622.055s 0.002s 622.167s 06 535 53.805s 0.003s 53.835s 07 157 15.94s 0.002s 15.971s 08 54,947 1,741.84s 0.004s 1,742.366s 09 1,363 136.748s 0.002s 136.779s 10 326 32.871s 0.003s 32.903s 11 791 79.381s 0.003s 79.412s 12 4,883 489.574s 0.003s 489.728s 13 918 92.197s 0.002s 92.232s 14 2,082 208.76s 0.002s 208.792s 15 151 15.348s 0.002s 15.382s 16 185 18.734s 0.002s 18.814s 17 403 40.612s 0.003s 40.644s 18 418 41.999s 0.002s 42.035s 19 97 9.91s 0.002s 9.939s 20 98 10.02s 0.002s 10.052s 21 1,755 176.061s 0.003s 176.14s 22 122,663 1,623.961s 0.003s 1,624.798s 23 133 13.545s 0.002s 13.577s May 15 00 12,837 1,315.601s 0.004s 1,315.716s 01 171 17.315s 0.002s 17.346s 02 1,250 125.366s 0.002s 125.441s 03 10,791 1,081.419s 0.004s 1,081.573s 04 5,670 568.113s 0.003s 568.349s 05 147,976 1,655.068s 0.019s 1,655.198s 06 15,800 1,582.509s 0.002s 1,582.696s 07 645 64.732s 0.004s 64.812s 08 8,745 876.116s 0.003s 876.242s 09 223 22.551s 0.002s 22.581s 10 46,982 1,727.126s 0.004s 1,727.565s 11 180 18.227s 0.002s 18.273s 12 6,513 652.558s 0.003s 652.658s 13 169 17.022s 0.001s 17.038s 14 61,934 1,623.399s 0.003s 1,623.858s 15 170,706 2,706.305s 0.005s 2,707.723s 16 342 34.459s 0.002s 34.538s 17 261 26.339s 0.002s 26.369s 18 145 14.728s 0.002s 14.759s 19 102 10.434s 0.002s 10.465s 20 135 13.714s 0.002s 13.749s 21 140 14.22s 0.002s 14.25s 22 98 9.955s 0.001s 9.97s 23 91,579 2,127.623s 0.005s 2,128.152s May 16 00 4,876 488.907s 0.004s 488.988s 01 6,034 604.666s 0.002s 604.766s 02 1,335 133.928s 0.002s 134.009s 03 53,173 1,625.158s 0.002s 1,625.639s 04 174,789 1,634.472s 0.003s 1,634.648s 05 105 10.62s 0.001s 10.636s 06 95,653 3,737.786s 0.004s 3,738.669s 07 456 45.88s 0.002s 45.961s 08 1,739 174.374s 0.003s 174.406s 09 491 49.418s 0.002s 49.45s 10 317 31.966s 0.003s 32.048s 11 4,287 429.714s 0.003s 429.792s 12 403 40.474s 0.002s 40.505s 13 588 59.124s 0.002s 59.202s 14 486 48.912s 0.002s 48.943s 15 210 21.141s 0.002s 21.171s 16 422 42.483s 0.002s 42.513s 17 725 72.87s 0.003s 72.901s 18 289 29.039s 0.002s 29.069s 19 374 37.676s 0.003s 37.718s 20 282 28.463s 0.003s 28.496s 21 1,386 139.073s 0.002s 139.154s 22 10,372 1,039.259s 0.003s 1,039.402s 23 699 70.272s 0.003s 70.35s May 17 00 10,136 1,015.422s 0.002s 1,015.576s 01 526 52.926s 0.002s 52.957s 02 728 73.122s 0.003s 73.154s 03 793 79.669s 0.003s 79.702s 04 844 84.698s 0.002s 84.762s 05 16,577 1,660.916s 0.005s 1,661.116s 06 45,741 1,619.441s 0.002s 1,620.095s 07 85,150 1,700.41s 0.006s 1,700.788s 08 788 79.184s 0.003s 79.259s 09 5,093 510.519s 0.004s 510.586s 10 1,428 143.461s 0.003s 143.493s 11 1,478 148.264s 0.003s 148.342s 12 830 83.405s 0.004s 83.437s 13 745 74.884s 0.002s 74.914s 14 627 62.941s 0.004s 62.975s 15 951 95.52s 0.004s 95.553s 16 2,459 246.632s 0.004s 246.713s 17 1,558 156.369s 0.004s 156.448s 18 561 56.422s 0.002s 56.453s 19 247 24.846s 0.002s 24.876s 20 91 9.337s 0.002s 9.368s 21 121 12.313s 0.003s 12.345s 22 113 11.514s 0.003s 11.545s 23 132 13.438s 0.002s 13.475s May 18 00 3,381 338.922s 0.003s 339s 01 247 24.962s 0.002s 24.997s 02 233 23.578s 0.002s 23.61s 03 196 19.825s 0.002s 19.858s 04 274 27.656s 0.002s 27.689s 05 263 26.545s 0.002s 26.622s 06 162 16.425s 0.002s 16.455s 07 277 27.944s 0.002s 27.975s 08 5,407 541.767s 0.002s 541.869s 09 461 46.382s 0.002s 46.413s 10 436 43.78s 0.003s 43.811s 11 197 19.956s 0.002s 19.987s 12 251 25.382s 0.002s 25.413s 13 496 49.924s 0.002s 49.956s 14 270 27.278s 0.002s 27.316s 15 260 26.254s 0.002s 26.285s 16 213 21.542s 0.002s 21.575s 17 285 28.763s 0.003s 28.795s 18 148 15.014s 0.002s 15.046s 19 113 11.552s 0.002s 11.588s 20 78,526 1,619.781s 0.002s 1,619.797s 21 50,374 1,629.77s 0.005s 1,630.256s 22 129 13.115s 0.002s 13.145s 23 123 12.514s 0.002s 12.545s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 12 00 0 0 0 16 0.001s 0.001s 01 0 0 36 83 0.001s 0.003s 02 0 0 0 24 0.001s 0.002s 03 0 0 0 27 0.001s 0.002s 04 0 0 0 35 0.001s 0.002s 05 0 0 0 36 0.022s 0.003s 06 0 0 1 73 0.001s 0.002s 07 0 0 0 139 0.001s 0.002s 08 0 0 0 139 0.001s 0.002s 09 0 0 0 111 0.001s 0.002s 10 0 0 0 32 0.001s 0.002s 11 0 0 0 62 0.001s 0.002s 12 0 0 3 119 0.001s 0.002s 13 0 0 0 18 0.001s 0.002s 14 0 0 0 23 0.001s 0.002s 15 0 0 0 26 0.001s 0.002s 16 0 0 0 20 0.001s 0.002s 17 0 0 0 18 0.001s 0.002s 18 0 0 0 19 0.001s 0.002s 19 0 0 0 17 0.001s 0.002s 20 0 0 0 17 0.001s 0.002s 21 0 0 0 18 0.001s 0.002s 22 0 0 0 27 0.001s 0.002s 23 0 0 33 43 0.001s 0.002s May 13 00 0 0 1 74 0.001s 0.002s 01 0 0 0 26 0.001s 0.002s 02 0 0 2 32 0.001s 0.002s 03 0 0 0 36 0.001s 0.002s 04 0 31 15 31 0.001s 0.001s 05 0 0 50 56 0.001s 0.002s 06 0 0 171 185 0.001s 0.003s 07 0 0 0 71 0.001s 0.001s 08 0 0 34 211 0.001s 0.003s 09 0 0 0 112 0.001s 0.002s 10 0 0 3 113 0.001s 0.002s 11 0 0 1 80 0.001s 0.002s 12 0 0 0 18 0.001s 0.002s 13 0 0 0 9 0.001s 0.001s 14 0 0 6 189 0.001s 0.003s 15 0 0 0 68 0.001s 0.002s 16 0 0 1 72 0.001s 0.002s 17 0 0 0 78 0.001s 0.002s 18 0 0 0 80 0.002s 0.002s 19 0 0 0 17 0.001s 0.002s 20 0 0 2 29 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 0 0 28 0.001s 0.002s 23 0 0 0 29 0.001s 0.002s May 14 00 0 0 2 89 0.001s 0.002s 01 0 0 27 63 0.001s 0.002s 02 0 0 1 57 0.002s 0.002s 03 0 0 0 49 0.001s 0.002s 04 0 0 1 44 0.002s 0.002s 05 0 0 4 51 0.001s 0.002s 06 0 0 0 42 0.001s 0.002s 07 0 0 0 22 0.001s 0.002s 08 0 0 37 61 0.002s 0.002s 09 0 0 0 54 0.001s 0.002s 10 0 0 0 82 0.001s 0.002s 11 0 0 0 145 0.001s 0.002s 12 0 0 4 128 0.001s 0.002s 13 0 0 0 40 0.001s 0.002s 14 0 0 0 44 0.001s 0.002s 15 0 0 0 18 0.001s 0.002s 16 0 0 1 57 0.001s 0.002s 17 0 0 0 114 0.002s 0.002s 18 0 0 0 75 0.001s 0.002s 19 0 0 0 18 0.001s 0.002s 20 0 0 0 17 0.001s 0.002s 21 0 0 1 29 0.001s 0.002s 22 0 0 66 39 0.001s 0.002s 23 0 0 0 22 0.001s 0.002s May 15 00 0 0 4 97 0.001s 0.002s 01 0 0 0 27 0.001s 0.002s 02 0 0 1 27 0.001s 0.001s 03 0 0 6 57 0.001s 0.003s 04 0 0 14 47 0.001s 0.002s 05 0 0 4 62 0.011s 0.002s 06 0 0 10 68 0.001s 0.002s 07 0 0 1 139 0.001s 0.002s 08 0 0 5 101 0.001s 0.002s 09 0 0 0 22 0.001s 0.002s 10 0 0 31 51 0.001s 0.002s 11 0 0 0 62 0.001s 0.002s 12 0 0 3 82 0.001s 0.002s 13 0 0 0 18 0.001s 0.001s 14 0 0 33 45 0.001s 0.002s 15 0 0 113 83 0.001s 0.003s 16 0 0 1 112 0.001s 0.002s 17 0 0 0 85 0.001s 0.002s 18 0 0 0 25 0.001s 0.002s 19 0 0 0 16 0.001s 0.002s 20 0 0 0 18 0.001s 0.002s 21 0 0 0 19 0.001s 0.002s 22 0 0 0 8 0.001s 0.001s 23 0 0 37 64 0.001s 0.003s May 16 00 0 0 1 79 0.001s 0.002s 01 0 0 3 57 0.001s 0.002s 02 0 0 1 65 0.001s 0.002s 03 0 0 35 42 0.001s 0.002s 04 0 0 8 47 0.001s 0.002s 05 0 0 0 47 0.001s 0.001s 06 0 0 64 192 0.001s 0.003s 07 0 0 1 125 0.001s 0.002s 08 0 0 0 130 0.001s 0.002s 09 0 0 0 96 0.001s 0.002s 10 0 0 1 76 0.001s 0.002s 11 0 0 1 131 0.001s 0.002s 12 0 0 0 77 0.001s 0.002s 13 0 0 1 123 0.001s 0.002s 14 0 0 0 129 0.001s 0.002s 15 0 0 0 26 0.001s 0.002s 16 0 0 0 78 0.001s 0.002s 17 0 0 0 136 0.001s 0.002s 18 0 0 0 26 0.001s 0.002s 19 0 0 0 29 0.001s 0.002s 20 0 0 0 18 0.001s 0.002s 21 0 0 1 37 0.001s 0.002s 22 0 0 6 35 0.001s 0.002s 23 0 0 1 39 0.001s 0.002s May 17 00 0 0 4 93 0.001s 0.002s 01 0 0 0 42 0.001s 0.002s 02 0 0 0 41 0.001s 0.002s 03 0 0 0 56 0.001s 0.002s 04 0 0 1 31 0.001s 0.001s 05 0 0 9 90 0.001s 0.003s 06 0 0 52 49 0.001s 0.001s 07 0 0 25 217 0.001s 0.003s 08 0 0 1 150 0.001s 0.002s 09 0 0 3 128 0.001s 0.002s 10 0 0 0 143 0.001s 0.002s 11 0 0 1 86 0.001s 0.002s 12 0 0 0 129 0.001s 0.002s 13 0 0 0 115 0.001s 0.002s 14 0 0 0 120 0.001s 0.002s 15 0 0 0 137 0.002s 0.002s 16 0 0 1 131 0.001s 0.002s 17 0 0 1 125 0.001s 0.002s 18 0 0 0 35 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 0 18 0.001s 0.002s 22 0 0 0 18 0.001s 0.002s 23 0 0 0 21 0.001s 0.002s May 18 00 0 0 1 75 0.001s 0.002s 01 0 0 0 31 0.001s 0.002s 02 0 0 0 28 0.001s 0.002s 03 0 0 0 25 0.001s 0.002s 04 0 0 0 44 0.001s 0.002s 05 0 0 1 28 0.001s 0.002s 06 0 0 0 25 0.001s 0.002s 07 0 0 0 35 0.001s 0.002s 08 0 0 3 33 0.001s 0.002s 09 0 0 0 38 0.001s 0.002s 10 0 0 0 23 0.001s 0.002s 11 0 0 0 30 0.001s 0.002s 12 0 0 0 105 0.001s 0.002s 13 0 0 0 113 0.001s 0.002s 14 0 0 0 109 0.001s 0.002s 15 0 0 0 30 0.001s 0.002s 16 0 0 0 63 0.001s 0.002s 17 0 0 0 28 0.001s 0.002s 18 0 0 0 32 0.001s 0.002s 19 0 0 0 18 0.001s 0.002s 20 0 0 0 24 0.001s 0.001s 21 0 0 34 40 0.003s 0.003s 22 0 0 0 19 0.001s 0.002s 23 0 0 0 18 0.001s 0.002s Day Hour Count Avg time (sec) May 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 May 13 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 14 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 15 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 16 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 17 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 18 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate May 12 00 1,928.00 kB 81,197.00 kB 01 199,728.00 kB 540,981.00 kB 02 186.50 kB 414,800.50 kB 03 190.50 kB 336,024.00 kB 04 729.50 kB 272,292.50 kB 05 672.00 kB 220,686.00 kB 06 802.00 kB 178,913.00 kB 07 1,420.50 kB 145,139.50 kB 08 1,150.00 kB 117,788.50 kB 09 840.00 kB 95,607.50 kB 10 374.50 kB 77,515.50 kB 11 363.00 kB 62,853.00 kB 12 20,937.00 kB 54,877.50 kB 13 116.50 kB 44,507.00 kB 14 236.50 kB 36,095.50 kB 15 317.00 kB 29,279.50 kB 16 80.50 kB 23,750.00 kB 17 116.00 kB 19,259.00 kB 18 135.00 kB 15,625.00 kB 19 101.00 kB 12,675.50 kB 20 87.00 kB 10,286.00 kB 21 131.50 kB 8,354.00 kB 22 384.00 kB 6,837.50 kB 23 274,228.00 kB 520,111.50 kB May 13 00 2,753.00 kB 421,747.50 kB 01 159.00 kB 341,744.00 kB 02 15,999.50 kB 279,864.50 kB 03 346.00 kB 226,741.50 kB 04 228,262.00 kB 228,262.00 kB 05 415,794.00 kB 685,774.00 kB 06 1,106,497.67 kB 2,763,351.00 kB 07 1,117.00 kB 2,238,578.00 kB 08 183,846.00 kB 1,869,685.67 kB 09 894.50 kB 1,433,653.50 kB 10 29,490.00 kB 1,164,270.00 kB 11 3,839.00 kB 946,403.00 kB 12 264.50 kB 766,639.00 kB 13 253.00 kB 653,698.00 kB 14 35,354.00 kB 540,740.33 kB 15 562.00 kB 414,977.00 kB 16 826.00 kB 336,256.50 kB 17 720.50 kB 272,512.50 kB 18 1,457.50 kB 221,001.50 kB 19 193.00 kB 179,080.50 kB 20 14,989.00 kB 146,571.00 kB 21 262.00 kB 120,100.50 kB 22 386.00 kB 97,344.50 kB 23 1,085.00 kB 78,988.50 kB May 14 00 17,796.50 kB 67,269.50 kB 01 222,625.50 kB 418,159.00 kB 02 7,381.50 kB 339,807.00 kB 03 2,388.00 kB 276,183.50 kB 04 6,313.50 kB 224,949.50 kB 05 31,035.00 kB 187,929.50 kB 06 737.00 kB 152,534.50 kB 07 186.50 kB 123,601.00 kB 08 298,460.50 kB 557,444.50 kB 09 3,766.50 kB 452,650.50 kB 10 730.50 kB 366,830.50 kB 11 2,434.00 kB 297,533.00 kB 12 24,050.00 kB 243,592.50 kB 13 2,440.50 kB 199,818.00 kB 14 6,721.00 kB 162,561.00 kB 15 267.50 kB 132,312.00 kB 16 426.50 kB 107,234.50 kB 17 1,287.50 kB 87,100.00 kB 18 1,264.00 kB 70,772.50 kB 19 174.00 kB 57,403.50 kB 20 174.50 kB 46,529.00 kB 21 5,317.00 kB 38,698.50 kB 22 542,757.00 kB 1,031,072.00 kB 23 261.50 kB 835,213.50 kB May 15 00 34,425.00 kB 682,840.50 kB 01 188.00 kB 553,357.00 kB 02 8,232.00 kB 472,649.00 kB 03 37,800.67 kB 394,484.00 kB 04 29,420.50 kB 305,421.00 kB 05 115,857.00 kB 271,960.50 kB 06 83,767.00 kB 236,247.00 kB 07 2,252.50 kB 191,734.00 kB 08 39,972.00 kB 162,255.00 kB 09 267.50 kB 132,196.00 kB 10 253,018.00 kB 474,888.00 kB 11 330.00 kB 384,993.00 kB 12 25,411.50 kB 314,429.50 kB 13 551.00 kB 270,531.00 kB 14 274,013.00 kB 520,531.00 kB 15 619,090.00 kB 1,580,541.33 kB 16 778.50 kB 1,215,160.50 kB 17 686.50 kB 984,426.50 kB 18 186.50 kB 797,425.00 kB 19 132.50 kB 645,940.50 kB 20 173.50 kB 523,244.00 kB 21 258.50 kB 423,871.50 kB 22 313.00 kB 361,450.00 kB 23 201,068.67 kB 495,857.00 kB May 16 00 7,709.00 kB 383,109.50 kB 01 30,301.50 kB 313,628.50 kB 02 3,555.00 kB 257,267.00 kB 03 289,723.00 kB 550,319.00 kB 04 62,941.50 kB 457,693.00 kB 05 318.00 kB 390,309.00 kB 06 353,088.00 kB 517,837.00 kB 07 1,597.50 kB 473,061.00 kB 08 5,839.00 kB 383,912.50 kB 09 1,055.00 kB 311,592.00 kB 10 696.50 kB 252,504.50 kB 11 14,441.50 kB 207,287.50 kB 12 977.00 kB 168,075.50 kB 13 1,313.50 kB 136,394.00 kB 14 1,338.00 kB 110,697.00 kB 15 531.50 kB 89,822.50 kB 16 1,004.50 kB 72,924.50 kB 17 1,749.00 kB 59,357.00 kB 18 644.50 kB 48,263.00 kB 19 844.00 kB 39,252.00 kB 20 735.50 kB 31,932.00 kB 21 3,931.50 kB 26,340.50 kB 22 53,274.50 kB 100,589.00 kB 23 1,465.50 kB 81,740.00 kB May 17 00 37,331.00 kB 70,579.50 kB 01 788.00 kB 60,057.50 kB 02 813.00 kB 48,793.00 kB 03 1,408.50 kB 39,742.00 kB 04 4,123.00 kB 34,389.00 kB 05 53,117.67 kB 93,217.33 kB 06 325,684.00 kB 325,684.00 kB 07 312,116.00 kB 842,412.00 kB 08 2,011.00 kB 646,317.50 kB 09 23,358.50 kB 527,990.00 kB 10 4,344.00 kB 428,489.00 kB 11 3,656.50 kB 347,766.00 kB 12 1,919.00 kB 282,028.50 kB 13 1,705.00 kB 228,780.50 kB 14 1,647.00 kB 185,627.50 kB 15 2,101.00 kB 150,785.00 kB 16 7,510.50 kB 123,078.50 kB 17 4,474.00 kB 101,025.00 kB 18 1,109.50 kB 82,059.50 kB 19 576.00 kB 66,601.50 kB 20 193.00 kB 53,990.50 kB 21 246.00 kB 43,775.00 kB 22 178.00 kB 35,495.50 kB 23 257.50 kB 28,799.50 kB May 18 00 9,131.50 kB 24,731.50 kB 01 303.00 kB 20,417.00 kB 02 188.00 kB 16,571.50 kB 03 191.00 kB 13,460.00 kB 04 430.00 kB 10,978.50 kB 05 358.50 kB 8,951.00 kB 06 265.00 kB 7,327.00 kB 07 575.50 kB 6,044.00 kB 08 25,279.00 kB 27,813.50 kB 09 1,004.00 kB 43,329.00 kB 10 230.00 kB 35,130.00 kB 11 318.50 kB 28,525.00 kB 12 515.00 kB 23,183.00 kB 13 1,212.00 kB 19,018.00 kB 14 576.00 kB 15,497.00 kB 15 362.00 kB 12,650.00 kB 16 353.50 kB 10,313.00 kB 17 375.00 kB 8,404.00 kB 18 186.50 kB 6,861.50 kB 19 131.50 kB 5,585.00 kB 20 917.00 kB 4,860.00 kB 21 182,565.67 kB 494,557.33 kB 22 127.00 kB 379,186.50 kB 23 142.50 kB 307,166.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 May 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 May 13 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 14 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 May 15 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 16 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 17 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 18 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 38.18 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-05-16 04:09:06 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 38.18 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-05-16 04:09:06 Date
Analyzes per table
Key values
- pubc.log_query (166) Main table analyzed (database ctdprd51)
- 188 analyzes Total
Vacuums per table
Key values
- pubc.log_query (37) Main table vacuumed on database ctdprd51
- 52 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 37 35 29,453 0 6,569 0 1,118 13,125 878 6,126,211 ctdprd51.pub2.term_set_enrichment_agent 4 0 1,046,568 0 382,430 0 0 516,832 24 30,684,542 ctdprd51.pub2.term_set_enrichment 3 0 15,513 0 6,077 0 0 7,594 6 488,651 ctdprd51.pub2.term_comp_agent 2 0 267 0 68 0 0 61 3 27,229 ctdprd51.pg_toast.pg_toast_486223 2 0 76 0 8 0 0 12 2 17,360 ctdprd51.pg_catalog.pg_statistic 2 2 1,315 0 231 0 37 640 220 985,937 ctdprd51.pg_toast.pg_toast_2619 1 1 4,369 0 1,141 0 9,971 3,291 1,084 580,517 ctdprd51.pub2.term_comp 1 0 139 0 23 0 0 19 2 16,152 Total 52 38 1,097,700 1,291 396,547 0 11,126 541,574 2,219 38,926,599 Tuples removed per table
Key values
- pubc.log_query (59488) Main table with removed tuples on database ctdprd51
- 64308 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 37 35 59,488 139,413 26 4 8,991 ctdprd51.pg_toast.pg_toast_2619 1 1 4,108 20,569 143 0 12,592 ctdprd51.pg_catalog.pg_statistic 2 2 712 4,854 86 0 580 ctdprd51.pub2.term_set_enrichment_agent 4 0 0 223,992,500 0 0 2,545,375 ctdprd51.pub2.term_set_enrichment 3 0 0 2,232,743 0 0 36,975 ctdprd51.pub2.term_comp_agent 2 0 0 29,079 0 0 254 ctdprd51.pg_toast.pg_toast_486223 2 0 0 43 0 0 10 ctdprd51.pub2.term_comp 1 0 0 1,818 0 0 18 Total 52 38 64,308 226,421,019 255 4 2,604,795 Pages removed per table
Key values
- pubc.log_query (4) Main table with removed pages on database ctdprd51
- 4 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pubc.log_query 37 35 59488 4 ctdprd51.pub2.term_set_enrichment_agent 4 0 0 0 ctdprd51.pub2.term_set_enrichment 3 0 0 0 ctdprd51.pg_toast.pg_toast_2619 1 1 4108 0 ctdprd51.pub2.term_comp_agent 2 0 0 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.pg_catalog.pg_statistic 2 2 712 0 ctdprd51.pub2.term_comp 1 0 0 0 Total 52 38 64,308 4 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 12 00 0 3 01 0 1 02 0 1 03 0 5 04 0 4 05 0 3 06 0 1 07 0 2 08 0 2 09 0 0 10 0 1 11 0 0 12 0 1 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 May 13 00 0 0 01 0 1 02 0 1 03 0 1 04 0 4 05 0 8 06 0 3 07 0 3 08 0 2 09 0 0 10 0 1 11 0 1 12 0 0 13 0 1 14 0 2 15 0 0 16 0 1 17 0 1 18 0 2 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 May 14 00 0 1 01 0 2 02 0 1 03 0 1 04 0 2 05 0 5 06 0 1 07 0 1 08 0 4 09 0 4 10 0 0 11 0 3 12 0 1 13 0 0 14 0 1 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 1 23 0 0 May 15 00 0 1 01 0 1 02 0 2 03 0 2 04 0 3 05 0 5 06 0 4 07 0 2 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 2 14 0 1 15 0 2 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 1 23 0 1 May 16 00 0 1 01 0 5 02 0 5 03 0 0 04 0 1 05 0 3 06 0 0 07 0 0 08 0 1 09 0 3 10 0 1 11 0 0 12 0 1 13 0 1 14 0 1 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 1 21 0 0 22 0 0 23 0 1 May 17 00 0 5 01 0 3 02 0 2 03 0 2 04 0 1 05 0 3 06 0 3 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 0 15 0 1 16 0 1 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 May 18 00 0 1 01 0 1 02 0 1 03 0 1 04 0 1 05 0 4 06 0 0 07 0 1 08 0 0 09 0 1 10 0 0 11 0 1 12 0 1 13 0 0 14 0 1 15 0 0 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 0 22 0 0 23 0 1 - 38.18 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
- 23,986 Total read queries
- 352 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 14,272 Requests
- 3d29m31s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 31,953 Requests
User Request type Count Duration editeu Total 6 16s498ms select 6 16s498ms postgres Total 108 40m36s copy to 108 40m36s pubeu Total 31,953 6d19h40m13s cte 45 2m13s select 31,908 6d19h37m59s qaeu Total 93 3m49s cte 17 59s682ms select 76 2m49s unknown Total 23,502 3d22h35m18s copy to 692 6h26m33s cte 40 1m3s others 9 46s72ms select 22,761 3d16h6m55s zbx_monitor Total 4 7s785ms select 4 7s785ms Duration by user
Key values
- 6d19h40m13s (pubeu) Main time consuming user
User Request type Count Duration editeu Total 6 16s498ms select 6 16s498ms postgres Total 108 40m36s copy to 108 40m36s pubeu Total 31,953 6d19h40m13s cte 45 2m13s select 31,908 6d19h37m59s qaeu Total 93 3m49s cte 17 59s682ms select 76 2m49s unknown Total 23,502 3d22h35m18s copy to 692 6h26m33s cte 40 1m3s others 9 46s72ms select 22,761 3d16h6m55s zbx_monitor Total 4 7s785ms select 4 7s785ms Queries by host
Key values
- unknown Main host
- 55,666 Requests
- 10d19h21s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 24,296 Requests
- 4d18h11m36s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-05-15 00:02:15 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 18,717 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 23m13s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-05-18 19:41:37 ]
2 23m12s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-05-18 18:59:54 ]
3 17m33s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-18 01:11:28 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 15m57s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-17 00:15:59 ]
5 15m55s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-15 00:15:57 ]
6 15m52s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-18 00:15:53 ]
7 15m51s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-14 00:15:52 ]
8 15m50s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-16 00:15:51 ]
9 15m50s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-13 00:15:52 ]
10 15m46s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-05-12 00:15:47 ]
11 9m43s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RABGGTB') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA_M00095' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'GERANIOL' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;[ Date: 2024-05-13 19:55:42 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 9m35s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RABGGTB') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA_M00095' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'GERANIOL' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;[ Date: 2024-05-13 16:00:32 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 8m30s 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 = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-16 08:12:19 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 8m26s 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 = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-18 18:52:05 - Bind query: yes ]
15 8m26s 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 = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-16 17:16:43 - Bind query: yes ]
16 6m46s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-05-18 19:53:06 ]
17 6m38s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-05-18 19:11:13 ]
18 5m58s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1223120') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-16 23:35:34 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 4m48s 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 = '1227968') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-16 01:08:20 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 4m21s 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 = '1235454') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;[ Date: 2024-05-18 09:37:27 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 4d7h30m3s 18,557 1s74ms 59s978ms 20s78ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 12 04 1 1s694ms 1s694ms 08 32 5m7s 9s594ms 09 287 46m52s 9s799ms 10 283 48m5s 10s196ms 11 272 47m33s 10s489ms 12 262 47m23s 10s853ms 13 264 49m1s 11s141ms 14 258 49m18s 11s466ms 15 253 49m34s 11s756ms 16 247 49m40s 12s65ms 17 243 49m55s 12s326ms 18 239 50m13s 12s607ms 19 233 50m14s 12s937ms 20 229 50m22s 13s200ms 21 226 50m44s 13s469ms 22 221 50m45s 13s780ms 23 218 51m2s 14s48ms May 13 00 214 50m54s 14s272ms 01 212 51m15s 14s507ms 02 209 51m24s 14s756ms 03 206 51m26s 14s980ms 04 207 51m39s 14s973ms 05 117 30m18s 15s543ms 06 22 5m39s 15s419ms 07 187 48m46s 15s650ms 08 187 49m39s 15s931ms 09 191 51m25s 16s155ms 10 189 51m47s 16s442ms 11 188 52m2s 16s607ms 12 187 52m24s 16s816ms 13 184 51m58s 16s946ms 14 176 50m27s 17s198ms 15 180 52m37s 17s538ms 16 177 51m52s 17s587ms 17 172 51m41s 18s31ms 18 175 52m33s 18s17ms 19 173 52m54s 18s348ms 20 171 52m42s 18s495ms 21 170 52m56s 18s682ms 22 169 53m6s 18s853ms 23 166 52m56s 19s137ms May 14 00 165 53m12s 19s349ms 01 165 53m18s 19s385ms 02 163 53m27s 19s677ms 03 160 53m8s 19s927ms 04 160 53m13s 19s956ms 05 94 31m35s 20s164ms 06 90 30m31s 20s346ms 07 157 53m20s 20s383ms 08 156 53m24s 20s541ms 09 157 53m47s 20s555ms 10 147 51m11s 20s897ms 11 143 50m1s 20s989ms 12 148 52m38s 21s341ms 13 150 53m22s 21s349ms 14 151 53m54s 21s423ms 15 148 53m28s 21s680ms 16 145 52m41s 21s806ms 17 138 50m22s 21s904ms 18 147 53m59s 22s35ms 19 146 53m51s 22s132ms 20 145 53m54s 22s307ms 21 143 53m42s 22s537ms 22 142 53m58s 22s809ms 23 144 53m52s 22s447ms May 15 00 78 30m3s 23s122ms 01 1 4s792ms 4s792ms 05 13 8m28s 39s149ms 06 4 9s357ms 2s339ms 09 1 6s447ms 6s447ms 18 71 26m30s 22s398ms 19 143 54m44s 22s965ms 20 141 54m39s 23s258ms 21 141 54m52s 23s351ms 22 138 54m27s 23s674ms 23 138 54m54s 23s874ms May 16 00 138 55m4s 23s948ms 01 136 54m31s 24s58ms 02 137 55m10s 24s167ms 03 135 54m37s 24s277ms 04 135 54m53s 24s396ms 05 79 32m18s 24s542ms 06 1 23s165ms 23s165ms 07 1 2s617ms 2s617ms 09 1 6s636ms 6s636ms 10 1 2s662ms 2s662ms 11 1 1s203ms 1s203ms 12 1 2s913ms 2s913ms 16 1 1s111ms 1s111ms 19 118 47m49s 24s317ms 20 135 54m47s 24s352ms 21 134 55m 24s628ms 22 132 55m4s 25s34ms 23 132 54m59s 24s993ms May 17 00 134 55m34s 24s886ms 01 130 55m8s 25s446ms 02 131 55m9s 25s266ms 03 130 55m15s 25s500ms 04 130 55m5s 25s428ms 05 78 32m50s 25s267ms 06 1 4s250ms 4s250ms 07 1 1s149ms 1s149ms 08 45 19m21s 25s808ms 09 126 54m17s 25s851ms 10 127 54m44s 25s866ms 11 128 54m29s 25s543ms 12 125 54m7s 25s978ms 13 127 54m47s 25s882ms 14 128 55m26s 25s989ms 15 127 55m11s 26s75ms 16 126 55m7s 26s251ms 17 124 55m1s 26s622ms 18 126 55m30s 26s435ms 19 126 55m12s 26s286ms 20 125 55m19s 26s557ms 21 125 55m24s 26s597ms 22 123 55m31s 27s88ms 23 121 55m19s 27s430ms May 18 00 121 55m22s 27s454ms 01 122 55m43s 27s403ms 02 122 55m44s 27s411ms 03 119 55m30s 27s990ms 04 119 55m41s 28s79ms 05 70 32m24s 27s778ms 07 1 6s831ms 6s831ms 08 1 2s630ms 2s630ms 09 2 13s829ms 6s914ms 11 27 12m30s 27s796ms 12 120 55m33s 27s778ms 13 118 55m15s 28s100ms 14 116 54m31s 28s198ms 15 120 55m54s 27s950ms 16 119 55m50s 28s155ms 17 118 56m34s 28s762ms 18 117 55m36s 28s513ms 19 111 56m2s 30s289ms 20 116 55m36s 28s765ms 21 116 55m47s 28s854ms 22 116 56m3s 28s996ms 23 114 55m29s 29s209ms [ User: pubeu - Total duration: 2d19h47m50s - Times executed: 11455 ]
-
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 = '2064774') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8864150;
Date: 2024-05-18 17:58:36 Duration: 59s978ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-05-15 05:16:01 Duration: 54s80ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-05-15 05:15:59 Duration: 53s901ms Bind query: yes
2 1h51m4s 7 15m46s 15m57s 15m52s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 12 00 1 15m46s 15m46s May 13 00 1 15m50s 15m50s May 14 00 1 15m51s 15m51s May 15 00 1 15m55s 15m55s May 16 00 1 15m50s 15m50s May 17 00 1 15m57s 15m57s May 18 00 1 15m52s 15m52s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-17 00:15:59 Duration: 15m57s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-15 00:15:57 Duration: 15m55s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-18 00:15:53 Duration: 15m52s
3 1h12m35s 85 1s208ms 17m33s 51s242ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 12 01 1 3m35s 3m35s 10 1 1s541ms 1s541ms 14 1 1s541ms 1s541ms 18 1 3s196ms 3s196ms 20 1 1s570ms 1s570ms May 13 05 1 1s564ms 1s564ms 08 1 3s182ms 3s182ms 12 1 1s598ms 1s598ms 20 1 1s728ms 1s728ms May 14 06 1 2s778ms 2s778ms 09 1 3s249ms 3s249ms 16 1 2s363ms 2s363ms 18 1 2s37ms 2s37ms 19 1 1s636ms 1s636ms 20 1 3m36s 3m36s 21 1 2m10s 2m10s May 15 05 1 1s497ms 1s497ms 11 1 2m10s 2m10s 12 1 1s410ms 1s410ms 16 1 1s379ms 1s379ms 17 1 1s557ms 1s557ms 18 1 1s452ms 1s452ms May 16 00 1 1s414ms 1s414ms 01 1 4m48s 4m48s 08 1 8m30s 8m30s 10 1 1s316ms 1s316ms 17 2 8m28s 4m14s 18 1 1s306ms 1s306ms 23 3 6m1s 2m May 17 09 1 1s461ms 1s461ms 11 1 1s408ms 1s408ms 12 1 2s321ms 2s321ms 13 1 1s951ms 1s951ms 14 2 3s881ms 1s940ms 16 1 3s103ms 3s103ms 17 1 1s804ms 1s804ms 19 3 4s633ms 1s544ms 20 1 1s455ms 1s455ms 21 2 4s726ms 2s363ms 22 5 11s446ms 2s289ms 23 1 2s985ms 2s985ms May 18 00 2 3s430ms 1s715ms 01 2 17m35s 8m47s 02 2 3s181ms 1s590ms 04 3 3m26s 1m8s 05 2 3s426ms 1s713ms 07 4 8s573ms 2s143ms 09 1 1s942ms 1s942ms 10 2 4s480ms 2s240ms 11 1 2s944ms 2s944ms 12 1 1s752ms 1s752ms 13 1 1s308ms 1s308ms 14 1 1s386ms 1s386ms 16 2 2s925ms 1s462ms 17 3 4s181ms 1s393ms 18 1 8m26s 8m26s 19 1 3s511ms 3s511ms 22 2 1m38s 49s65ms 23 2 3s581ms 1s790ms [ User: pubeu - Total duration: 51m35s - Times executed: 63 ]
-
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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-18 01:11:28 Duration: 17m33s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-16 08:12:19 Duration: 8m30s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-18 18:52:05 Duration: 8m26s Bind query: yes
4 1h7m4s 532 1s 54s77ms 7s565ms 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 #4
Day Hour Count Duration Avg duration May 12 00 1 6s102ms 6s102ms 01 1 2s136ms 2s136ms 03 78 9m29s 7s303ms 04 86 4m26s 3s96ms 06 1 2s581ms 2s581ms 07 1 2s366ms 2s366ms 08 2 7s982ms 3s991ms 11 1 1s41ms 1s41ms 13 1 1s357ms 1s357ms 14 5 26s871ms 5s374ms 16 1 2s666ms 2s666ms 17 1 2s150ms 2s150ms 20 1 1s963ms 1s963ms 21 1 2s123ms 2s123ms 22 1 2s252ms 2s252ms 23 2 8s39ms 4s19ms May 13 02 3 9s267ms 3s89ms 04 3 14s874ms 4s958ms 05 9 1m30s 10s61ms 07 1 2s290ms 2s290ms 08 2 4s776ms 2s388ms 09 1 1s174ms 1s174ms 10 1 1s107ms 1s107ms 11 6 18s431ms 3s71ms 15 1 5s204ms 5s204ms 17 2 8s864ms 4s432ms 19 2 7s279ms 3s639ms 20 2 5s192ms 2s596ms 22 1 2s376ms 2s376ms 23 2 7s209ms 3s604ms May 14 02 1 2s530ms 2s530ms 04 1 2s687ms 2s687ms 05 1 4s820ms 4s820ms 06 2 4s365ms 2s182ms 07 1 2s135ms 2s135ms 08 4 20s451ms 5s112ms 09 1 3s99ms 3s99ms 10 1 2s844ms 2s844ms 12 2 7s400ms 3s700ms 15 2 5s623ms 2s811ms 16 1 12s168ms 12s168ms 18 1 2s187ms 2s187ms 19 4 16s388ms 4s97ms 20 3 5s527ms 1s842ms 22 1 2s718ms 2s718ms 23 1 2s716ms 2s716ms May 15 01 1 2s354ms 2s354ms 02 1 2s163ms 2s163ms 05 63 33m34s 31s980ms 06 2 8s882ms 4s441ms 07 1 1s226ms 1s226ms 10 1 11s834ms 11s834ms 12 2 14s13ms 7s6ms 13 1 5s539ms 5s539ms 14 2 4s510ms 2s255ms 15 1 2s176ms 2s176ms 18 1 1s79ms 1s79ms May 16 01 1 2s253ms 2s253ms 05 1 5s71ms 5s71ms 06 3 6s991ms 2s330ms 07 1 3s 3s 08 2 13s158ms 6s579ms 10 1 11s953ms 11s953ms 12 1 4s14ms 4s14ms 13 5 17s4ms 3s400ms 15 1 3s25ms 3s25ms 16 1 4s231ms 4s231ms 17 2 8s542ms 4s271ms 18 1 5s45ms 5s45ms 19 1 2s526ms 2s526ms 21 2 5s534ms 2s767ms 23 2 14s880ms 7s440ms May 17 00 2 3s882ms 1s941ms 01 2 5s323ms 2s661ms 02 2 6s738ms 3s369ms 03 1 1s710ms 1s710ms 05 1 2s716ms 2s716ms 06 3 5s609ms 1s869ms 08 2 5s144ms 2s572ms 09 2 6s277ms 3s138ms 10 1 6s569ms 6s569ms 12 6 17s554ms 2s925ms 13 7 31s948ms 4s564ms 14 9 42s691ms 4s743ms 15 6 22s3ms 3s667ms 16 3 8s340ms 2s780ms 17 5 20s390ms 4s78ms 18 5 28s351ms 5s670ms 19 7 25s914ms 3s702ms 20 5 18s194ms 3s638ms 21 7 18s390ms 2s627ms 22 1 1s996ms 1s996ms 23 3 5s177ms 1s725ms May 18 00 6 28s657ms 4s776ms 01 5 15s933ms 3s186ms 02 11 28s204ms 2s564ms 03 4 20s891ms 5s222ms 04 4 19s323ms 4s830ms 05 3 11s313ms 3s771ms 06 5 11s515ms 2s303ms 07 2 6s829ms 3s414ms 08 4 11s692ms 2s923ms 09 4 13s582ms 3s395ms 10 7 29s962ms 4s280ms 11 4 24s258ms 6s64ms 12 4 10s11ms 2s502ms 13 4 17s372ms 4s343ms 14 4 21s231ms 5s307ms 15 4 17s117ms 4s279ms 16 5 13s923ms 2s784ms 17 7 21s575ms 3s82ms 18 3 10s274ms 3s424ms 19 2 9s287ms 4s643ms 20 2 4s189ms 2s94ms 21 1 2s726ms 2s726ms 22 5 18s558ms 3s711ms 23 4 13s958ms 3s489ms [ User: pubeu - Total duration: 41m58s - Times executed: 296 ]
-
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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-15 05:15:54 Duration: 54s77ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-15 05:15:54 Duration: 53s360ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-15 05:16:04 Duration: 53s165ms Bind query: yes
5 25m34s 1,273 1s76ms 5s471ms 1s205ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 12 01 2 2s331ms 1s165ms 02 4 4s824ms 1s206ms 03 2 9s868ms 4s934ms 04 245 5m30s 1s348ms 05 4 6s780ms 1s695ms 07 4 4s744ms 1s186ms 08 7 8s245ms 1s177ms 09 3 3s637ms 1s212ms 11 2 2s505ms 1s252ms 13 2 2s382ms 1s191ms 14 3 3s679ms 1s226ms 15 4 4s877ms 1s219ms 16 3 3s661ms 1s220ms 17 2 2s439ms 1s219ms 18 2 2s401ms 1s200ms 19 2 2s389ms 1s194ms 20 4 4s865ms 1s216ms 21 5 6s26ms 1s205ms 22 2 2s668ms 1s334ms 23 2 2s437ms 1s218ms May 13 00 2 2s434ms 1s217ms 01 1 1s237ms 1s237ms 02 4 4s834ms 1s208ms 03 3 3s644ms 1s214ms 04 1 1s238ms 1s238ms 05 7 8s573ms 1s224ms 06 1 1s196ms 1s196ms 07 3 3s620ms 1s206ms 08 3 3s570ms 1s190ms 09 1 1s241ms 1s241ms 10 2 2s422ms 1s211ms 11 1 1s192ms 1s192ms 12 2 2s423ms 1s211ms 13 2 2s397ms 1s198ms 14 4 4s750ms 1s187ms 15 1 1s231ms 1s231ms 16 1 1s269ms 1s269ms 17 4 4s778ms 1s194ms 18 5 5s947ms 1s189ms 19 7 8s430ms 1s204ms 20 1 1s224ms 1s224ms 21 2 2s428ms 1s214ms 22 1 1s369ms 1s369ms 23 3 3s674ms 1s224ms May 14 01 1 1s223ms 1s223ms 04 4 4s780ms 1s195ms 05 3 3s784ms 1s261ms 06 2 2s417ms 1s208ms 07 2 2s425ms 1s212ms 08 1 1s194ms 1s194ms 09 2 2s380ms 1s190ms 10 3 3s696ms 1s232ms 11 3 3s636ms 1s212ms 12 1 1s219ms 1s219ms 13 2 2s445ms 1s222ms 14 1 1s253ms 1s253ms 15 2 2s392ms 1s196ms 16 2 2s376ms 1s188ms 18 1 1s197ms 1s197ms 19 3 3s527ms 1s175ms 20 2 2s351ms 1s175ms 21 3 3s552ms 1s184ms 22 3 3s622ms 1s207ms May 15 00 1 1s229ms 1s229ms 01 4 4s749ms 1s187ms 02 1 1s248ms 1s248ms 03 2 2s353ms 1s176ms 05 4 4s933ms 1s233ms 06 6 6s949ms 1s158ms 07 4 4s638ms 1s159ms 08 2 2s270ms 1s135ms 09 1 1s185ms 1s185ms 10 3 3s479ms 1s159ms 11 2 2s350ms 1s175ms 14 1 1s160ms 1s160ms 15 3 3s476ms 1s158ms 17 3 3s624ms 1s208ms 18 4 4s737ms 1s184ms 19 4 4s699ms 1s174ms 20 3 3s533ms 1s177ms 22 4 4s855ms 1s213ms 23 5 5s894ms 1s178ms May 16 00 2 2s356ms 1s178ms 01 2 2s352ms 1s176ms 02 4 4s790ms 1s197ms 03 2 2s382ms 1s191ms 04 3 3s537ms 1s179ms 05 3 3s659ms 1s219ms 06 1 1s173ms 1s173ms 07 7 7s990ms 1s141ms 08 19 21s704ms 1s142ms 09 18 20s543ms 1s141ms 10 17 19s378ms 1s139ms 11 14 15s902ms 1s135ms 12 28 31s964ms 1s141ms 13 17 19s326ms 1s136ms 14 10 11s372ms 1s137ms 15 33 38s490ms 1s166ms 16 21 23s963ms 1s141ms 17 21 23s856ms 1s136ms 18 18 20s225ms 1s123ms 19 18 20s356ms 1s130ms 20 24 27s215ms 1s133ms 21 22 24s909ms 1s132ms 22 19 22s111ms 1s163ms 23 16 18s983ms 1s186ms May 17 00 24 28s19ms 1s167ms 01 15 17s682ms 1s178ms 02 17 19s946ms 1s173ms 03 17 20s87ms 1s181ms 04 21 24s617ms 1s172ms 05 21 24s812ms 1s181ms 06 16 18s551ms 1s159ms 07 11 12s518ms 1s138ms 08 11 12s618ms 1s147ms 09 24 27s682ms 1s153ms 10 22 25s181ms 1s144ms 11 18 20s882ms 1s160ms 12 28 32s66ms 1s145ms 13 22 25s125ms 1s142ms 14 26 29s307ms 1s127ms 15 30 33s930ms 1s131ms 16 15 16s876ms 1s125ms 17 23 25s966ms 1s128ms 18 20 22s294ms 1s114ms 19 4 4s505ms 1s126ms 22 3 3s498ms 1s166ms May 18 02 1 1s221ms 1s221ms 03 2 2s344ms 1s172ms 04 5 5s927ms 1s185ms 05 4 4s816ms 1s204ms 06 1 1s190ms 1s190ms 07 2 2s340ms 1s170ms 08 2 2s306ms 1s153ms 09 4 4s648ms 1s162ms 10 4 4s671ms 1s167ms 11 1 1s136ms 1s136ms 12 3 3s548ms 1s182ms 13 3 3s495ms 1s165ms 14 7 8s158ms 1s165ms 15 5 5s922ms 1s184ms 16 2 2s321ms 1s160ms 17 3 3s614ms 1s204ms 18 8 9s282ms 1s160ms 19 5 5s998ms 1s199ms 20 6 7s143ms 1s190ms 21 5 6s29ms 1s205ms 22 1 1s206ms 1s206ms 23 8 9s438ms 1s179ms [ User: pubeu - Total duration: 12m14s - Times executed: 624 ]
[ User: qaeu - Total duration: 5s95ms - Times executed: 4 ]
-
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 = '1596964' or receptorTerm.id = '1596964' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 03:58:58 Duration: 5s471ms 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 = '2044043' or receptorTerm.id = '2044043' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 03:58:56 Duration: 4s397ms 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 = '2044043' or receptorTerm.id = '2044043' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 04:01:24 Duration: 2s741ms Database: ctdprd51 User: pubeu Bind query: yes
6 25m12s 26 1s362ms 1m24s 58s179ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select t.id from term t where t.nm_fts @@ to_tsquery(?, ?) and t.object_type_id = ?) and diseaseterm.id = any (array ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?))) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ? offset ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 12 05 14 14m47s 1m3s 06 5 5m17s 1m3s 07 1 54s302ms 54s302ms 11 1 1s362ms 1s362ms May 16 10 5 4m11s 50s378ms [ User: pubeu - Total duration: 13m4s - Times executed: 14 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'METALS') AND t.object_type_id = 2) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 750;
Date: 2024-05-12 05:56:08 Duration: 1m24s Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'METALS') AND t.object_type_id = 2) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 900;
Date: 2024-05-12 06:00:04 Duration: 1m20s Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'METALS') AND t.object_type_id = 2) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 600;
Date: 2024-05-12 05:48:51 Duration: 1m16s Bind query: yes
7 23m13s 1 23m13s 23m13s 23m13s 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 #7
Day Hour Count Duration Avg duration May 18 19 1 23m13s 23m13s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-05-18 19:41:37 Duration: 23m13s
8 23m12s 1 23m12s 23m12s 23m12s 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 #8
Day Hour Count Duration Avg duration May 18 18 1 23m12s 23m12s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-05-18 18:59:54 Duration: 23m12s
9 21m40s 276 1s8ms 20s340ms 4s710ms 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 #9
Day Hour Count Duration Avg duration May 12 00 2 18s888ms 9s444ms 01 3 5s403ms 1s801ms 03 1 7s651ms 7s651ms 04 1 1s556ms 1s556ms 05 1 1s765ms 1s765ms 06 2 2s374ms 1s187ms 08 1 5s629ms 5s629ms 09 4 42s931ms 10s732ms 11 3 22s32ms 7s344ms 12 1 1s72ms 1s72ms 13 4 23s3ms 5s750ms 16 1 1s88ms 1s88ms 17 2 2s941ms 1s470ms 19 2 2s94ms 1s47ms 22 2 7s691ms 3s845ms 23 1 8s42ms 8s42ms May 13 00 4 12s845ms 3s211ms 01 1 1s77ms 1s77ms 04 2 2s523ms 1s261ms 06 3 20s982ms 6s994ms 08 2 12s616ms 6s308ms 10 7 13s535ms 1s933ms 11 4 31s624ms 7s906ms 12 2 2s142ms 1s71ms 13 4 19s538ms 4s884ms 15 1 1s564ms 1s564ms 16 1 1s621ms 1s621ms 17 4 14s750ms 3s687ms 18 2 2s404ms 1s202ms 19 3 3s480ms 1s160ms 20 4 41s987ms 10s496ms May 14 00 1 1s56ms 1s56ms 01 4 24s813ms 6s203ms 02 3 7s823ms 2s607ms 03 1 7s982ms 7s982ms 04 2 2s350ms 1s175ms 05 3 23s392ms 7s797ms 06 3 3s588ms 1s196ms 07 1 1s318ms 1s318ms 08 2 3s902ms 1s951ms 09 1 1s101ms 1s101ms 10 2 20s119ms 10s59ms 11 3 39s712ms 13s237ms 12 3 3s454ms 1s151ms 13 1 1s55ms 1s55ms 15 2 21s871ms 10s935ms 16 4 25s493ms 6s373ms 17 1 1s79ms 1s79ms 19 1 2s775ms 2s775ms 20 3 11s56ms 3s685ms 21 5 26s275ms 5s255ms 22 2 2s314ms 1s157ms 23 4 1m1s 15s381ms May 15 00 2 19s141ms 9s570ms 01 3 3s171ms 1s57ms 02 3 5s387ms 1s795ms 03 2 2s652ms 1s326ms 04 1 1s594ms 1s594ms 05 2 2s325ms 1s162ms 06 4 4s400ms 1s100ms 07 2 2s302ms 1s151ms 08 1 7s513ms 7s513ms 10 1 1s294ms 1s294ms 12 3 20s210ms 6s736ms 13 1 1s58ms 1s58ms 14 1 7s632ms 7s632ms 15 1 1s40ms 1s40ms 16 1 1s68ms 1s68ms 18 2 2s781ms 1s390ms 19 2 20s113ms 10s56ms 20 1 19s8ms 19s8ms 21 2 2s133ms 1s66ms May 16 00 3 11s928ms 3s976ms 01 2 9s6ms 4s503ms 02 2 4s419ms 2s209ms 03 1 1s528ms 1s528ms 04 1 3s256ms 3s256ms 05 1 1s39ms 1s39ms 06 1 1s636ms 1s636ms 08 3 20s207ms 6s735ms 11 1 1s604ms 1s604ms 12 2 25s571ms 12s785ms 14 1 8s549ms 8s549ms 15 1 3s221ms 3s221ms 16 4 45s191ms 11s297ms 17 4 21s640ms 5s410ms 18 1 1s128ms 1s128ms 19 2 4s293ms 2s146ms 21 2 3s876ms 1s938ms 23 1 3s274ms 3s274ms May 17 00 2 20s646ms 10s323ms 01 2 3s930ms 1s965ms 02 1 1s71ms 1s71ms 03 2 16s393ms 8s196ms 04 4 48s130ms 12s32ms 06 2 2s674ms 1s337ms 07 1 3s178ms 3s178ms 08 1 2s592ms 2s592ms 09 4 4s559ms 1s139ms 10 2 4s273ms 2s136ms 12 1 3s287ms 3s287ms 13 2 3s838ms 1s919ms 15 5 43s92ms 8s618ms 16 2 8s867ms 4s433ms 17 3 21s701ms 7s233ms 18 3 7s250ms 2s416ms 19 2 20s334ms 10s167ms 21 2 2s483ms 1s241ms 22 1 1s267ms 1s267ms May 18 00 3 10s204ms 3s401ms 01 5 29s359ms 5s871ms 03 2 4s320ms 2s160ms 04 1 18s932ms 18s932ms 05 1 3s861ms 3s861ms 07 2 4s617ms 2s308ms 08 3 19s926ms 6s642ms 09 3 4s276ms 1s425ms 10 3 7s768ms 2s589ms 11 1 7s701ms 7s701ms 12 2 4s262ms 2s131ms 13 1 1s708ms 1s708ms 17 1 1s675ms 1s675ms 19 2 11s781ms 5s890ms 20 2 2s159ms 1s79ms 21 3 11s109ms 3s703ms 22 1 3s291ms 3s291ms 23 3 6s382ms 2s127ms [ User: pubeu - Total duration: 15m39s - Times executed: 178 ]
-
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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-12 09:16:19 Duration: 20s340ms 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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-12 09:16:17 Duration: 20s218ms 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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-12 13:20:16 Duration: 19s808ms Database: ctdprd51 User: pubeu Bind query: yes
10 19m18s 2 9m35s 9m43s 9m39s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.nm = ?))) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by i.sort_txt, g.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 13 16 1 9m35s 9m35s 19 1 9m43s 9m43s [ User: pubeu - Total duration: 19m18s - Times executed: 2 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RABGGTB') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA_M00095' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'GERANIOL' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-05-13 19:55:42 Duration: 9m43s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RABGGTB') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA_M00095' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'GERANIOL' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-05-13 16:00:32 Duration: 9m35s Database: ctdprd51 User: pubeu Bind query: yes
11 18m47s 278 3s713ms 16s371ms 4s54ms 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 #11
Day Hour Count Duration Avg duration May 12 00 1 3s815ms 3s815ms 03 4 15s669ms 3s917ms 04 1 3s929ms 3s929ms 08 3 11s692ms 3s897ms 10 1 3s992ms 3s992ms 11 5 20s97ms 4s19ms 12 3 11s956ms 3s985ms 13 1 4s3ms 4s3ms 15 1 4s30ms 4s30ms 20 1 3s979ms 3s979ms 22 8 31s755ms 3s969ms 23 7 27s711ms 3s958ms May 13 00 4 15s843ms 3s960ms 01 3 12s115ms 4s38ms 02 4 16s261ms 4s65ms 04 6 24s28ms 4s4ms 05 2 8s181ms 4s90ms 06 3 11s771ms 3s923ms 07 3 12s609ms 4s203ms 08 12 47s460ms 3s955ms 09 2 7s887ms 3s943ms 10 3 12s705ms 4s235ms 11 3 12s123ms 4s41ms 12 6 23s934ms 3s989ms 13 1 4s30ms 4s30ms 15 1 4s9ms 4s9ms 17 3 12s252ms 4s84ms 18 3 12s222ms 4s74ms 19 1 3s993ms 3s993ms 22 1 4s116ms 4s116ms 23 4 17s169ms 4s292ms May 14 00 3 11s985ms 3s995ms 01 4 15s783ms 3s945ms 02 1 4s9ms 4s9ms 03 1 4s216ms 4s216ms 04 3 12s77ms 4s25ms 05 2 8s233ms 4s116ms 06 2 7s957ms 3s978ms 07 4 16s610ms 4s152ms 08 4 16s101ms 4s25ms 09 1 4s57ms 4s57ms 10 1 4s34ms 4s34ms 12 3 11s915ms 3s971ms 14 3 12s277ms 4s92ms 15 1 3s994ms 3s994ms 16 1 3s953ms 3s953ms 17 1 3s932ms 3s932ms 19 1 3s974ms 3s974ms 21 1 4s168ms 4s168ms 22 2 8s56ms 4s28ms May 15 02 3 11s903ms 3s967ms 03 2 7s537ms 3s768ms 04 4 15s740ms 3s935ms 05 2 7s898ms 3s949ms 07 2 9s282ms 4s641ms 08 3 11s193ms 3s731ms 09 2 7s801ms 3s900ms 11 1 4s21ms 4s21ms 12 1 4s 4s 13 2 8s26ms 4s13ms 14 1 4s21ms 4s21ms 15 1 3s936ms 3s936ms 19 3 11s910ms 3s970ms 21 1 4s40ms 4s40ms 22 16 1m3s 3s978ms 23 1 3s966ms 3s966ms May 16 01 1 4s70ms 4s70ms 02 4 16s2ms 4s 03 2 7s960ms 3s980ms 04 5 19s997ms 3s999ms 05 1 3s816ms 3s816ms 06 1 3s964ms 3s964ms 07 1 3s895ms 3s895ms 08 2 7s878ms 3s939ms 09 2 7s931ms 3s965ms 10 1 3s908ms 3s908ms 13 1 4s191ms 4s191ms 14 3 11s851ms 3s950ms 15 3 24s140ms 8s46ms 16 1 3s876ms 3s876ms 20 1 3s952ms 3s952ms 21 2 8s468ms 4s234ms 22 1 4s67ms 4s67ms 23 3 12s492ms 4s164ms May 17 00 2 8s51ms 4s25ms 01 2 8s59ms 4s29ms 02 1 3s930ms 3s930ms 04 2 8s7ms 4s3ms 05 1 3s988ms 3s988ms 06 1 4s27ms 4s27ms 07 3 11s861ms 3s953ms 09 1 4s135ms 4s135ms 11 1 4s55ms 4s55ms 12 1 4s92ms 4s92ms 13 3 12s177ms 4s59ms 14 1 4s6ms 4s6ms 15 3 11s935ms 3s978ms 16 1 4s92ms 4s92ms 17 2 7s954ms 3s977ms 19 1 3s941ms 3s941ms 23 1 3s901ms 3s901ms May 18 00 1 3s954ms 3s954ms 01 2 7s952ms 3s976ms 02 1 3s955ms 3s955ms 04 2 7s855ms 3s927ms 06 4 15s860ms 3s965ms 07 1 3s975ms 3s975ms 08 1 3s926ms 3s926ms 09 1 4s92ms 4s92ms 10 1 4s52ms 4s52ms 12 1 3s887ms 3s887ms 13 4 15s845ms 3s961ms 14 4 16s145ms 4s36ms 15 6 23s802ms 3s967ms 18 1 3s919ms 3s919ms 23 1 5s719ms 5s719ms [ User: pubeu - Total duration: 10m40s - Times executed: 160 ]
-
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 = '1384112') 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 = '1384112') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-16 15:06:04 Duration: 16s371ms 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 = '1329725') 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 = '1329725') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-18 23:12:38 Duration: 5s719ms 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 = '1379382') 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 = '1379382') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-15 07:59:07 Duration: 5s338ms Bind query: yes
12 14m10s 21 1s74ms 1m39s 40s477ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 12 03 1 1s74ms 1s74ms 18 1 1s973ms 1s973ms May 13 02 1 1m13s 1m13s 08 1 35s773ms 35s773ms 23 2 1m39s 49s593ms May 14 00 1 2s85ms 2s85ms 11 1 2s21ms 2s21ms May 15 05 1 26s129ms 26s129ms 06 1 21s101ms 21s101ms 07 1 2s846ms 2s846ms 12 1 2s54ms 2s54ms 14 1 1m35s 1m35s May 16 02 1 47s297ms 47s297ms 14 1 48s175ms 48s175ms 20 1 2s133ms 2s133ms May 17 07 1 1m25s 1m25s 08 1 1m39s 1m39s 16 1 24s988ms 24s988ms May 18 00 1 1m25s 1m25s 17 1 1m34s 1m34s [ User: pubeu - Total duration: 8m47s - Times executed: 12 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1423262')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-05-17 08:25:50 Duration: 1m39s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1421762')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-05-15 14:40:47 Duration: 1m35s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1421762')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-05-18 17:34:56 Duration: 1m34s Database: ctdprd51 User: pubeu Bind query: yes
13 13m42s 161 1s1ms 6s883ms 5s107ms 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 May 12 00 1 4s796ms 4s796ms 01 1 4s792ms 4s792ms 04 1 4s923ms 4s923ms 08 3 15s494ms 5s164ms 10 3 17s834ms 5s944ms 12 2 10s695ms 5s347ms 14 1 5s699ms 5s699ms 18 1 5s409ms 5s409ms 19 1 5s236ms 5s236ms 21 1 4s992ms 4s992ms 22 1 5s266ms 5s266ms 23 1 5s206ms 5s206ms May 13 03 2 10s486ms 5s243ms 05 1 1s4ms 1s4ms 09 2 6s463ms 3s231ms 12 1 5s126ms 5s126ms 13 1 5s33ms 5s33ms 19 1 5s387ms 5s387ms 20 1 1s21ms 1s21ms 21 1 5s350ms 5s350ms 22 1 5s560ms 5s560ms 23 2 6s369ms 3s184ms May 14 00 1 1s45ms 1s45ms 01 6 33s962ms 5s660ms 02 1 5s264ms 5s264ms 03 1 5s425ms 5s425ms 04 2 10s803ms 5s401ms 07 1 5s654ms 5s654ms 08 5 27s428ms 5s485ms 10 1 5s576ms 5s576ms 11 1 5s629ms 5s629ms 14 3 16s482ms 5s494ms 18 1 5s464ms 5s464ms 21 2 11s20ms 5s510ms 23 2 11s456ms 5s728ms May 15 02 1 5s158ms 5s158ms 04 1 5s277ms 5s277ms 07 1 6s883ms 6s883ms 08 1 5s369ms 5s369ms 09 8 41s809ms 5s226ms 10 3 14s358ms 4s786ms 12 1 1s1ms 1s1ms 13 2 10s459ms 5s229ms 14 1 5s117ms 5s117ms 17 1 5s138ms 5s138ms 20 1 5s646ms 5s646ms 22 3 16s762ms 5s587ms 23 3 15s824ms 5s274ms May 16 00 1 5s535ms 5s535ms 01 8 44s155ms 5s519ms 04 3 16s700ms 5s566ms 05 4 21s42ms 5s260ms 06 1 4s284ms 4s284ms 08 1 5s197ms 5s197ms 10 1 5s197ms 5s197ms 11 2 10s541ms 5s270ms 12 4 21s69ms 5s267ms 17 1 5s330ms 5s330ms 18 1 5s274ms 5s274ms 19 1 5s729ms 5s729ms 20 2 6s822ms 3s411ms 21 2 9s742ms 4s871ms 22 1 5s724ms 5s724ms 23 1 5s381ms 5s381ms May 17 01 1 5s512ms 5s512ms 02 2 11s246ms 5s623ms 03 2 6s671ms 3s335ms 04 2 11s225ms 5s612ms 05 1 5s950ms 5s950ms 08 2 10s445ms 5s222ms 09 2 11s714ms 5s857ms 10 1 5s400ms 5s400ms 11 1 5s606ms 5s606ms 14 4 22s102ms 5s525ms 16 2 11s460ms 5s730ms 17 4 17s396ms 4s349ms 18 1 1s103ms 1s103ms 22 1 5s741ms 5s741ms 23 2 6s510ms 3s255ms May 18 00 1 5s482ms 5s482ms 01 1 5s492ms 5s492ms 02 3 16s100ms 5s366ms 03 1 5s710ms 5s710ms 04 1 5s708ms 5s708ms 09 3 15s213ms 5s71ms 11 1 4s859ms 4s859ms 12 1 5s652ms 5s652ms 14 1 5s323ms 5s323ms 17 1 5s672ms 5s672ms 19 1 5s146ms 5s146ms [ User: pubeu - Total duration: 7m52s - Times executed: 92 ]
-
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 = '1384112' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-15 07:58:53 Duration: 6s883ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1277159' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-12 10:03:51 Duration: 6s599ms 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 = '1412974' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-17 05:37:24 Duration: 5s950ms Database: ctdprd51 User: pubeu Bind query: yes
14 13m30s 25 32s188ms 33s419ms 32s429ms 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 #14
Day Hour Count Duration Avg duration May 12 06 1 33s419ms 33s419ms 10 1 32s279ms 32s279ms 14 1 32s344ms 32s344ms 18 1 32s765ms 32s765ms May 13 06 1 32s365ms 32s365ms 10 1 32s305ms 32s305ms 14 1 32s640ms 32s640ms 18 1 32s583ms 32s583ms May 14 06 1 32s252ms 32s252ms 10 1 32s347ms 32s347ms 14 1 32s586ms 32s586ms 18 1 32s304ms 32s304ms May 15 06 1 32s264ms 32s264ms 10 1 32s215ms 32s215ms 14 1 32s215ms 32s215ms 18 1 32s188ms 32s188ms May 16 06 1 32s325ms 32s325ms 10 1 32s212ms 32s212ms 14 1 32s295ms 32s295ms 18 1 32s239ms 32s239ms May 17 06 1 32s353ms 32s353ms 10 1 32s506ms 32s506ms 14 1 32s385ms 32s385ms 18 1 32s927ms 32s927ms May 18 19 1 32s409ms 32s409ms [ User: postgres - Total duration: 12m58s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 12m58s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-05-12 06:05:35 Duration: 33s419ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-05-17 18:05:35 Duration: 32s927ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-05-12 18:05:35 Duration: 32s765ms Database: ctdprd51 User: postgres Application: pg_dump
15 11m58s 433 1s188ms 14s162ms 1s658ms 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 #15
Day Hour Count Duration Avg duration May 12 03 108 4m4s 2s266ms 04 129 3m29s 1s622ms 05 2 4s637ms 2s318ms 06 1 1s340ms 1s340ms 07 3 3s836ms 1s278ms 08 2 2s706ms 1s353ms 11 2 2s836ms 1s418ms 13 1 1s304ms 1s304ms 14 1 1s413ms 1s413ms 15 1 1s403ms 1s403ms 19 3 3s961ms 1s320ms 22 1 1s432ms 1s432ms 23 2 2s915ms 1s457ms May 13 02 1 1s591ms 1s591ms 04 1 1s409ms 1s409ms 05 3 4s523ms 1s507ms 11 2 2s935ms 1s467ms 15 1 1s562ms 1s562ms 19 2 2s606ms 1s303ms 20 1 1s260ms 1s260ms 21 1 1s341ms 1s341ms 23 3 4s630ms 1s543ms May 14 04 1 1s466ms 1s466ms 05 4 5s580ms 1s395ms 07 2 2s770ms 1s385ms 09 1 1s331ms 1s331ms 10 1 1s389ms 1s389ms 11 2 2s692ms 1s346ms 12 1 1s368ms 1s368ms 13 1 1s428ms 1s428ms 18 2 2s734ms 1s367ms 19 1 1s716ms 1s716ms 20 3 3s828ms 1s276ms 21 1 1s288ms 1s288ms 22 1 1s396ms 1s396ms 23 1 1s354ms 1s354ms May 15 01 1 1s331ms 1s331ms 05 2 2s821ms 1s410ms 07 1 1s315ms 1s315ms 09 1 1s314ms 1s314ms 14 3 3s706ms 1s235ms 16 1 1s249ms 1s249ms 17 1 1s318ms 1s318ms 22 1 1s349ms 1s349ms 23 1 1s276ms 1s276ms May 16 00 1 1s370ms 1s370ms 04 1 1s363ms 1s363ms 05 3 4s171ms 1s390ms 06 2 2s624ms 1s312ms 07 1 1s333ms 1s333ms 10 6 7s542ms 1s257ms 11 2 2s481ms 1s240ms 12 3 3s735ms 1s245ms 13 4 5s320ms 1s330ms 14 4 5s261ms 1s315ms 15 1 1s275ms 1s275ms 16 2 2s531ms 1s265ms 17 2 2s610ms 1s305ms 18 4 4s821ms 1s205ms 19 4 4s983ms 1s245ms 20 3 3s655ms 1s218ms 21 3 4s64ms 1s354ms 22 6 8s584ms 1s430ms 23 1 1s219ms 1s219ms May 17 00 2 2s717ms 1s358ms 01 4 5s646ms 1s411ms 02 2 2s733ms 1s366ms 03 2 2s617ms 1s308ms 04 2 2s656ms 1s328ms 05 3 4s168ms 1s389ms 06 1 1s205ms 1s205ms 07 3 3s780ms 1s260ms 08 2 2s459ms 1s229ms 09 2 2s495ms 1s247ms 10 3 3s903ms 1s301ms 11 2 2s554ms 1s277ms 12 2 2s560ms 1s280ms 13 2 2s475ms 1s237ms 14 2 2s514ms 1s257ms 15 3 3s890ms 1s296ms 16 3 4s32ms 1s344ms 18 4 5s19ms 1s254ms 19 1 1s195ms 1s195ms May 18 01 3 4s9ms 1s336ms 02 2 2s693ms 1s346ms 05 7 9s847ms 1s406ms 07 2 2s693ms 1s346ms 09 2 2s461ms 1s230ms 10 1 2s5ms 2s5ms 12 1 1s315ms 1s315ms 14 2 2s598ms 1s299ms 15 2 2s518ms 1s259ms 16 3 3s806ms 1s268ms 19 2 2s682ms 1s341ms 21 1 1s363ms 1s363ms 23 2 2s613ms 1s306ms [ User: pubeu - Total duration: 4m - Times executed: 149 ]
-
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 = '2071345') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2071345') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 03:58:49 Duration: 14s162ms 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 = '2074104') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2074104') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 03:58:54 Duration: 13s966ms 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 = '2075837') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2075837') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 03:58:57 Duration: 11s124ms Bind query: yes
16 10m38s 140 1s16ms 13s698ms 4s557ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 12 03 77 7m38s 5s949ms 04 18 29s131ms 1s618ms May 15 05 42 2m24s 3s429ms May 17 09 3 6s731ms 2s243ms [ User: pubeu - Total duration: 3m7s - Times executed: 37 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2075488');
Date: 2024-05-12 03:58:48 Duration: 13s698ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2064559');
Date: 2024-05-12 03:58:49 Duration: 13s21ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2071350');
Date: 2024-05-12 03:58:49 Duration: 12s920ms Bind query: yes
17 8m15s 11 1s349ms 1m7s 45s16ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select t.id from term t where t.nm_fts @@ to_tsquery(?, ?) and t.object_type_id = ?) and diseaseterm.id = any (array ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?))) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 12 05 2 2m1s 1m 07 1 57s116ms 57s116ms 11 3 1m 20s151ms 23 1 56s702ms 56s702ms May 16 10 4 3m19s 49s920ms [ User: pubeu - Total duration: 3m29s - Times executed: 4 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'METALS') AND t.object_type_id = 2) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-05-12 05:34:27 Duration: 1m7s Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'METALS') AND t.object_type_id = 2) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'KIDNEY DISEASES' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-05-16 10:40:09 Duration: 57s864ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'METALS') AND t.object_type_id = 2) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'KIDNEY DISEASES' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-05-12 07:29:59 Duration: 57s116ms Bind query: yes
18 7m16s 272 1s303ms 8s860ms 1s603ms select t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, t.acc_txt acc, ? || t.nm accquerystr, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term t where t.object_type_id = ? and regexp_replace(upper(substring(t.nm, ?, ?)), ?, ?) = ? order by t.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 12 01 4 5s545ms 1s386ms 03 65 2m14s 2s76ms 04 45 1m12s 1s605ms 05 3 5s658ms 1s886ms 08 1 1s366ms 1s366ms 11 2 2s847ms 1s423ms 13 1 1s392ms 1s392ms 15 1 1s415ms 1s415ms 18 1 1s407ms 1s407ms 22 4 5s673ms 1s418ms May 13 02 2 2s810ms 1s405ms 04 1 1s411ms 1s411ms 05 2 2s840ms 1s420ms 08 1 1s395ms 1s395ms 14 2 2s811ms 1s405ms 23 2 2s835ms 1s417ms May 14 02 1 1s414ms 1s414ms 05 2 2s737ms 1s368ms 08 1 1s423ms 1s423ms 12 1 1s427ms 1s427ms 14 1 1s417ms 1s417ms 15 1 1s436ms 1s436ms 23 1 1s419ms 1s419ms May 15 01 3 4s107ms 1s369ms 02 1 1s404ms 1s404ms 03 1 1s410ms 1s410ms 04 1 1s385ms 1s385ms 05 4 5s512ms 1s378ms 06 1 1s370ms 1s370ms 09 2 2s750ms 1s375ms 18 1 1s424ms 1s424ms 19 2 2s806ms 1s403ms 22 2 2s811ms 1s405ms May 16 01 5 7s35ms 1s407ms 03 2 2s830ms 1s415ms 05 3 4s191ms 1s397ms 07 3 4s96ms 1s365ms 08 1 1s393ms 1s393ms 09 1 1s413ms 1s413ms 10 3 4s132ms 1s377ms 12 2 2s794ms 1s397ms 13 1 1s399ms 1s399ms 19 1 1s407ms 1s407ms 20 2 2s835ms 1s417ms 21 2 2s849ms 1s424ms 23 1 1s436ms 1s436ms May 17 00 2 2s836ms 1s418ms 01 2 2s850ms 1s425ms 02 3 4s266ms 1s422ms 03 2 2s764ms 1s382ms 04 2 2s859ms 1s429ms 05 3 4s296ms 1s432ms 06 2 2s718ms 1s359ms 07 7 9s620ms 1s374ms 08 2 2s883ms 1s441ms 09 1 1s432ms 1s432ms 10 1 1s410ms 1s410ms 11 1 1s439ms 1s439ms 12 2 2s834ms 1s417ms 14 1 1s424ms 1s424ms 15 6 8s542ms 1s423ms 17 3 4s234ms 1s411ms 18 2 2s861ms 1s430ms 20 2 2s801ms 1s400ms 21 1 1s412ms 1s412ms 22 2 2s839ms 1s419ms 23 1 1s419ms 1s419ms May 18 00 2 2s830ms 1s415ms 02 21 29s433ms 1s401ms 05 3 4s252ms 1s417ms 07 1 1s364ms 1s364ms 08 1 1s358ms 1s358ms 09 1 1s373ms 1s373ms 10 1 1s379ms 1s379ms 11 1 1s387ms 1s387ms 12 1 1s424ms 1s424ms 13 1 1s374ms 1s374ms 23 1 1s414ms 1s414ms [ User: pubeu - Total duration: 2m42s - Times executed: 105 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-05-12 03:58:47 Duration: 8s860ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-05-12 03:58:54 Duration: 6s331ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-05-12 03:58:13 Duration: 6s214ms Database: ctdprd51 User: pubeu Bind query: yes
19 7m2s 126 1s208ms 8s698ms 3s350ms 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 #19
Day Hour Count Duration Avg duration May 12 00 1 2s768ms 2s768ms 04 1 1s755ms 1s755ms 08 1 1s838ms 1s838ms 09 1 1s425ms 1s425ms 10 6 24s915ms 4s152ms 11 1 6s75ms 6s75ms 12 2 9s496ms 4s748ms 13 1 6s50ms 6s50ms 14 1 1s667ms 1s667ms 17 1 2s11ms 2s11ms 18 2 12s8ms 6s4ms 22 3 6s797ms 2s265ms 23 1 2s139ms 2s139ms May 13 01 2 8s859ms 4s429ms 03 1 1s743ms 1s743ms 07 1 5s992ms 5s992ms 09 1 2s13ms 2s13ms 10 1 2s90ms 2s90ms 12 1 1s874ms 1s874ms 13 3 7s457ms 2s485ms 14 1 2s26ms 2s26ms 15 1 1s867ms 1s867ms 16 1 2s851ms 2s851ms 19 1 1s883ms 1s883ms May 14 00 1 2s836ms 2s836ms 01 1 1s665ms 1s665ms 02 1 2s155ms 2s155ms 04 1 5s995ms 5s995ms 07 1 1s694ms 1s694ms 15 1 6s80ms 6s80ms 17 1 3s332ms 3s332ms 18 1 5s976ms 5s976ms 20 1 1s339ms 1s339ms 22 3 11s6ms 3s668ms May 15 00 1 2s731ms 2s731ms 02 2 8s726ms 4s363ms 05 1 6s150ms 6s150ms 07 1 3s685ms 3s685ms 09 1 3s224ms 3s224ms 10 1 5s971ms 5s971ms 12 1 1s818ms 1s818ms 15 1 3s303ms 3s303ms 17 1 1s806ms 1s806ms 20 1 2s143ms 2s143ms 21 1 5s941ms 5s941ms 22 1 2s66ms 2s66ms May 16 01 1 1s347ms 1s347ms 03 2 7s232ms 3s616ms 04 4 10s746ms 2s686ms 05 1 6s51ms 6s51ms 08 1 3s216ms 3s216ms 10 2 5s564ms 2s782ms 12 1 1s811ms 1s811ms 13 1 5s917ms 5s917ms 14 4 14s587ms 3s646ms 15 1 5s886ms 5s886ms 16 2 9s76ms 4s538ms 18 1 1s963ms 1s963ms 20 1 1s884ms 1s884ms 21 1 3s245ms 3s245ms 22 1 1s832ms 1s832ms 23 1 6s61ms 6s61ms May 17 00 1 5s952ms 5s952ms 01 3 7s855ms 2s618ms 02 1 1s987ms 1s987ms 03 3 10s929ms 3s643ms 04 1 1s901ms 1s901ms 05 1 6s48ms 6s48ms 12 1 2s22ms 2s22ms 13 2 9s290ms 4s645ms 16 1 2s739ms 2s739ms 17 3 7s61ms 2s353ms 18 4 12s808ms 3s202ms 20 1 1s841ms 1s841ms 21 1 2s817ms 2s817ms 22 3 13s279ms 4s426ms 23 2 4s507ms 2s253ms May 18 00 2 9s272ms 4s636ms 03 2 9s216ms 4s608ms 05 3 8s194ms 2s731ms 06 1 2s752ms 2s752ms 09 1 1s706ms 1s706ms 10 1 2s749ms 2s749ms 11 1 1s852ms 1s852ms 14 1 1s627ms 1s627ms [ User: pubeu - Total duration: 4m44s - Times executed: 84 ]
-
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 = '1384112'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-05-12 10:03:50 Duration: 8s698ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1384112'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-05-12 12:04:06 Duration: 6s190ms 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 = '1384112'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-05-15 05:38:24 Duration: 6s150ms Bind query: yes
20 6m55s 141 1s25ms 13s13ms 2s943ms 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 May 12 03 1 1s761ms 1s761ms 04 1 1s293ms 1s293ms 05 3 7s357ms 2s452ms 06 2 2s692ms 1s346ms 07 1 1s717ms 1s717ms 09 2 4s41ms 2s20ms 10 6 31s577ms 5s262ms 12 1 1s56ms 1s56ms 15 1 1s314ms 1s314ms 17 1 2s958ms 2s958ms 18 1 5s293ms 5s293ms May 13 00 2 3s240ms 1s620ms 05 3 14s762ms 4s920ms 07 1 5s171ms 5s171ms 09 1 2s883ms 2s883ms 13 2 5s268ms 2s634ms 14 1 2s895ms 2s895ms 17 1 1s76ms 1s76ms 18 1 1s703ms 1s703ms 21 1 1s346ms 1s346ms 22 1 1s165ms 1s165ms 23 2 8s851ms 4s425ms May 14 01 1 1s57ms 1s57ms 04 1 3s700ms 3s700ms 05 2 4s355ms 2s177ms 07 1 1s25ms 1s25ms 08 1 5s126ms 5s126ms 13 1 1s307ms 1s307ms 14 4 12s484ms 3s121ms 15 1 1s397ms 1s397ms 17 1 2s806ms 2s806ms 18 1 2s963ms 2s963ms 21 1 5s244ms 5s244ms 22 1 2s681ms 2s681ms May 15 04 2 3s891ms 1s945ms 05 1 13s13ms 13s13ms 06 2 2s946ms 1s473ms 07 6 18s248ms 3s41ms 10 1 1s277ms 1s277ms 11 1 1s279ms 1s279ms 18 2 5s37ms 2s518ms 19 2 5s749ms 2s874ms 22 1 3s894ms 3s894ms 23 1 2s540ms 2s540ms May 16 00 1 1s503ms 1s503ms 01 2 6s298ms 3s149ms 02 1 2s978ms 2s978ms 10 2 2s777ms 1s388ms 12 1 2s854ms 2s854ms 13 2 4s784ms 2s392ms 16 2 7s634ms 3s817ms 18 3 5s477ms 1s825ms 19 3 9s420ms 3s140ms 20 1 5s205ms 5s205ms 22 1 2s874ms 2s874ms 23 5 11s501ms 2s300ms May 17 01 1 5s279ms 5s279ms 02 3 10s386ms 3s462ms 03 2 5s356ms 2s678ms 05 1 1s659ms 1s659ms 06 1 1s308ms 1s308ms 08 1 1s305ms 1s305ms 10 1 1s67ms 1s67ms 12 2 8s171ms 4s85ms 13 3 5s932ms 1s977ms 15 2 7s847ms 3s923ms 16 2 6s516ms 3s258ms 18 2 2s91ms 1s45ms 19 1 1s719ms 1s719ms 20 2 4s864ms 2s432ms 21 4 20s580ms 5s145ms 23 1 3s883ms 3s883ms May 18 02 3 11s921ms 3s973ms 03 3 9s135ms 3s45ms 04 2 5s129ms 2s564ms 05 1 2s759ms 2s759ms 06 2 4s415ms 2s207ms 09 1 2s457ms 2s457ms 11 1 2s897ms 2s897ms 15 1 5s317ms 5s317ms 22 1 1s383ms 1s383ms 23 2 6s922ms 3s461ms [ User: pubeu - Total duration: 4m14s - Times executed: 83 ]
-
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 = '1421762') 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 = '1421762') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-05-15 05:15:16 Duration: 13s13ms Database: ctdprd51 User: pubeu 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 = '1384112') 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 = '1384112') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-05-12 10:03:49 Duration: 8s347ms 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 = '1421762') 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 = '1421762') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-05-12 10:03:47 Duration: 6s914ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 18,557 4d7h30m3s 1s74ms 59s978ms 20s78ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 12 04 1 1s694ms 1s694ms 08 32 5m7s 9s594ms 09 287 46m52s 9s799ms 10 283 48m5s 10s196ms 11 272 47m33s 10s489ms 12 262 47m23s 10s853ms 13 264 49m1s 11s141ms 14 258 49m18s 11s466ms 15 253 49m34s 11s756ms 16 247 49m40s 12s65ms 17 243 49m55s 12s326ms 18 239 50m13s 12s607ms 19 233 50m14s 12s937ms 20 229 50m22s 13s200ms 21 226 50m44s 13s469ms 22 221 50m45s 13s780ms 23 218 51m2s 14s48ms May 13 00 214 50m54s 14s272ms 01 212 51m15s 14s507ms 02 209 51m24s 14s756ms 03 206 51m26s 14s980ms 04 207 51m39s 14s973ms 05 117 30m18s 15s543ms 06 22 5m39s 15s419ms 07 187 48m46s 15s650ms 08 187 49m39s 15s931ms 09 191 51m25s 16s155ms 10 189 51m47s 16s442ms 11 188 52m2s 16s607ms 12 187 52m24s 16s816ms 13 184 51m58s 16s946ms 14 176 50m27s 17s198ms 15 180 52m37s 17s538ms 16 177 51m52s 17s587ms 17 172 51m41s 18s31ms 18 175 52m33s 18s17ms 19 173 52m54s 18s348ms 20 171 52m42s 18s495ms 21 170 52m56s 18s682ms 22 169 53m6s 18s853ms 23 166 52m56s 19s137ms May 14 00 165 53m12s 19s349ms 01 165 53m18s 19s385ms 02 163 53m27s 19s677ms 03 160 53m8s 19s927ms 04 160 53m13s 19s956ms 05 94 31m35s 20s164ms 06 90 30m31s 20s346ms 07 157 53m20s 20s383ms 08 156 53m24s 20s541ms 09 157 53m47s 20s555ms 10 147 51m11s 20s897ms 11 143 50m1s 20s989ms 12 148 52m38s 21s341ms 13 150 53m22s 21s349ms 14 151 53m54s 21s423ms 15 148 53m28s 21s680ms 16 145 52m41s 21s806ms 17 138 50m22s 21s904ms 18 147 53m59s 22s35ms 19 146 53m51s 22s132ms 20 145 53m54s 22s307ms 21 143 53m42s 22s537ms 22 142 53m58s 22s809ms 23 144 53m52s 22s447ms May 15 00 78 30m3s 23s122ms 01 1 4s792ms 4s792ms 05 13 8m28s 39s149ms 06 4 9s357ms 2s339ms 09 1 6s447ms 6s447ms 18 71 26m30s 22s398ms 19 143 54m44s 22s965ms 20 141 54m39s 23s258ms 21 141 54m52s 23s351ms 22 138 54m27s 23s674ms 23 138 54m54s 23s874ms May 16 00 138 55m4s 23s948ms 01 136 54m31s 24s58ms 02 137 55m10s 24s167ms 03 135 54m37s 24s277ms 04 135 54m53s 24s396ms 05 79 32m18s 24s542ms 06 1 23s165ms 23s165ms 07 1 2s617ms 2s617ms 09 1 6s636ms 6s636ms 10 1 2s662ms 2s662ms 11 1 1s203ms 1s203ms 12 1 2s913ms 2s913ms 16 1 1s111ms 1s111ms 19 118 47m49s 24s317ms 20 135 54m47s 24s352ms 21 134 55m 24s628ms 22 132 55m4s 25s34ms 23 132 54m59s 24s993ms May 17 00 134 55m34s 24s886ms 01 130 55m8s 25s446ms 02 131 55m9s 25s266ms 03 130 55m15s 25s500ms 04 130 55m5s 25s428ms 05 78 32m50s 25s267ms 06 1 4s250ms 4s250ms 07 1 1s149ms 1s149ms 08 45 19m21s 25s808ms 09 126 54m17s 25s851ms 10 127 54m44s 25s866ms 11 128 54m29s 25s543ms 12 125 54m7s 25s978ms 13 127 54m47s 25s882ms 14 128 55m26s 25s989ms 15 127 55m11s 26s75ms 16 126 55m7s 26s251ms 17 124 55m1s 26s622ms 18 126 55m30s 26s435ms 19 126 55m12s 26s286ms 20 125 55m19s 26s557ms 21 125 55m24s 26s597ms 22 123 55m31s 27s88ms 23 121 55m19s 27s430ms May 18 00 121 55m22s 27s454ms 01 122 55m43s 27s403ms 02 122 55m44s 27s411ms 03 119 55m30s 27s990ms 04 119 55m41s 28s79ms 05 70 32m24s 27s778ms 07 1 6s831ms 6s831ms 08 1 2s630ms 2s630ms 09 2 13s829ms 6s914ms 11 27 12m30s 27s796ms 12 120 55m33s 27s778ms 13 118 55m15s 28s100ms 14 116 54m31s 28s198ms 15 120 55m54s 27s950ms 16 119 55m50s 28s155ms 17 118 56m34s 28s762ms 18 117 55m36s 28s513ms 19 111 56m2s 30s289ms 20 116 55m36s 28s765ms 21 116 55m47s 28s854ms 22 116 56m3s 28s996ms 23 114 55m29s 29s209ms [ User: pubeu - Total duration: 2d19h47m50s - Times executed: 11455 ]
-
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 = '2064774') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8864150;
Date: 2024-05-18 17:58:36 Duration: 59s978ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-05-15 05:16:01 Duration: 54s80ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-05-15 05:15:59 Duration: 53s901ms Bind query: yes
2 1,273 25m34s 1s76ms 5s471ms 1s205ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 12 01 2 2s331ms 1s165ms 02 4 4s824ms 1s206ms 03 2 9s868ms 4s934ms 04 245 5m30s 1s348ms 05 4 6s780ms 1s695ms 07 4 4s744ms 1s186ms 08 7 8s245ms 1s177ms 09 3 3s637ms 1s212ms 11 2 2s505ms 1s252ms 13 2 2s382ms 1s191ms 14 3 3s679ms 1s226ms 15 4 4s877ms 1s219ms 16 3 3s661ms 1s220ms 17 2 2s439ms 1s219ms 18 2 2s401ms 1s200ms 19 2 2s389ms 1s194ms 20 4 4s865ms 1s216ms 21 5 6s26ms 1s205ms 22 2 2s668ms 1s334ms 23 2 2s437ms 1s218ms May 13 00 2 2s434ms 1s217ms 01 1 1s237ms 1s237ms 02 4 4s834ms 1s208ms 03 3 3s644ms 1s214ms 04 1 1s238ms 1s238ms 05 7 8s573ms 1s224ms 06 1 1s196ms 1s196ms 07 3 3s620ms 1s206ms 08 3 3s570ms 1s190ms 09 1 1s241ms 1s241ms 10 2 2s422ms 1s211ms 11 1 1s192ms 1s192ms 12 2 2s423ms 1s211ms 13 2 2s397ms 1s198ms 14 4 4s750ms 1s187ms 15 1 1s231ms 1s231ms 16 1 1s269ms 1s269ms 17 4 4s778ms 1s194ms 18 5 5s947ms 1s189ms 19 7 8s430ms 1s204ms 20 1 1s224ms 1s224ms 21 2 2s428ms 1s214ms 22 1 1s369ms 1s369ms 23 3 3s674ms 1s224ms May 14 01 1 1s223ms 1s223ms 04 4 4s780ms 1s195ms 05 3 3s784ms 1s261ms 06 2 2s417ms 1s208ms 07 2 2s425ms 1s212ms 08 1 1s194ms 1s194ms 09 2 2s380ms 1s190ms 10 3 3s696ms 1s232ms 11 3 3s636ms 1s212ms 12 1 1s219ms 1s219ms 13 2 2s445ms 1s222ms 14 1 1s253ms 1s253ms 15 2 2s392ms 1s196ms 16 2 2s376ms 1s188ms 18 1 1s197ms 1s197ms 19 3 3s527ms 1s175ms 20 2 2s351ms 1s175ms 21 3 3s552ms 1s184ms 22 3 3s622ms 1s207ms May 15 00 1 1s229ms 1s229ms 01 4 4s749ms 1s187ms 02 1 1s248ms 1s248ms 03 2 2s353ms 1s176ms 05 4 4s933ms 1s233ms 06 6 6s949ms 1s158ms 07 4 4s638ms 1s159ms 08 2 2s270ms 1s135ms 09 1 1s185ms 1s185ms 10 3 3s479ms 1s159ms 11 2 2s350ms 1s175ms 14 1 1s160ms 1s160ms 15 3 3s476ms 1s158ms 17 3 3s624ms 1s208ms 18 4 4s737ms 1s184ms 19 4 4s699ms 1s174ms 20 3 3s533ms 1s177ms 22 4 4s855ms 1s213ms 23 5 5s894ms 1s178ms May 16 00 2 2s356ms 1s178ms 01 2 2s352ms 1s176ms 02 4 4s790ms 1s197ms 03 2 2s382ms 1s191ms 04 3 3s537ms 1s179ms 05 3 3s659ms 1s219ms 06 1 1s173ms 1s173ms 07 7 7s990ms 1s141ms 08 19 21s704ms 1s142ms 09 18 20s543ms 1s141ms 10 17 19s378ms 1s139ms 11 14 15s902ms 1s135ms 12 28 31s964ms 1s141ms 13 17 19s326ms 1s136ms 14 10 11s372ms 1s137ms 15 33 38s490ms 1s166ms 16 21 23s963ms 1s141ms 17 21 23s856ms 1s136ms 18 18 20s225ms 1s123ms 19 18 20s356ms 1s130ms 20 24 27s215ms 1s133ms 21 22 24s909ms 1s132ms 22 19 22s111ms 1s163ms 23 16 18s983ms 1s186ms May 17 00 24 28s19ms 1s167ms 01 15 17s682ms 1s178ms 02 17 19s946ms 1s173ms 03 17 20s87ms 1s181ms 04 21 24s617ms 1s172ms 05 21 24s812ms 1s181ms 06 16 18s551ms 1s159ms 07 11 12s518ms 1s138ms 08 11 12s618ms 1s147ms 09 24 27s682ms 1s153ms 10 22 25s181ms 1s144ms 11 18 20s882ms 1s160ms 12 28 32s66ms 1s145ms 13 22 25s125ms 1s142ms 14 26 29s307ms 1s127ms 15 30 33s930ms 1s131ms 16 15 16s876ms 1s125ms 17 23 25s966ms 1s128ms 18 20 22s294ms 1s114ms 19 4 4s505ms 1s126ms 22 3 3s498ms 1s166ms May 18 02 1 1s221ms 1s221ms 03 2 2s344ms 1s172ms 04 5 5s927ms 1s185ms 05 4 4s816ms 1s204ms 06 1 1s190ms 1s190ms 07 2 2s340ms 1s170ms 08 2 2s306ms 1s153ms 09 4 4s648ms 1s162ms 10 4 4s671ms 1s167ms 11 1 1s136ms 1s136ms 12 3 3s548ms 1s182ms 13 3 3s495ms 1s165ms 14 7 8s158ms 1s165ms 15 5 5s922ms 1s184ms 16 2 2s321ms 1s160ms 17 3 3s614ms 1s204ms 18 8 9s282ms 1s160ms 19 5 5s998ms 1s199ms 20 6 7s143ms 1s190ms 21 5 6s29ms 1s205ms 22 1 1s206ms 1s206ms 23 8 9s438ms 1s179ms [ User: pubeu - Total duration: 12m14s - Times executed: 624 ]
[ User: qaeu - Total duration: 5s95ms - Times executed: 4 ]
-
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 = '1596964' or receptorTerm.id = '1596964' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 03:58:58 Duration: 5s471ms 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 = '2044043' or receptorTerm.id = '2044043' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 03:58:56 Duration: 4s397ms 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 = '2044043' or receptorTerm.id = '2044043' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 04:01:24 Duration: 2s741ms Database: ctdprd51 User: pubeu Bind query: yes
3 532 1h7m4s 1s 54s77ms 7s565ms 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 #3
Day Hour Count Duration Avg duration May 12 00 1 6s102ms 6s102ms 01 1 2s136ms 2s136ms 03 78 9m29s 7s303ms 04 86 4m26s 3s96ms 06 1 2s581ms 2s581ms 07 1 2s366ms 2s366ms 08 2 7s982ms 3s991ms 11 1 1s41ms 1s41ms 13 1 1s357ms 1s357ms 14 5 26s871ms 5s374ms 16 1 2s666ms 2s666ms 17 1 2s150ms 2s150ms 20 1 1s963ms 1s963ms 21 1 2s123ms 2s123ms 22 1 2s252ms 2s252ms 23 2 8s39ms 4s19ms May 13 02 3 9s267ms 3s89ms 04 3 14s874ms 4s958ms 05 9 1m30s 10s61ms 07 1 2s290ms 2s290ms 08 2 4s776ms 2s388ms 09 1 1s174ms 1s174ms 10 1 1s107ms 1s107ms 11 6 18s431ms 3s71ms 15 1 5s204ms 5s204ms 17 2 8s864ms 4s432ms 19 2 7s279ms 3s639ms 20 2 5s192ms 2s596ms 22 1 2s376ms 2s376ms 23 2 7s209ms 3s604ms May 14 02 1 2s530ms 2s530ms 04 1 2s687ms 2s687ms 05 1 4s820ms 4s820ms 06 2 4s365ms 2s182ms 07 1 2s135ms 2s135ms 08 4 20s451ms 5s112ms 09 1 3s99ms 3s99ms 10 1 2s844ms 2s844ms 12 2 7s400ms 3s700ms 15 2 5s623ms 2s811ms 16 1 12s168ms 12s168ms 18 1 2s187ms 2s187ms 19 4 16s388ms 4s97ms 20 3 5s527ms 1s842ms 22 1 2s718ms 2s718ms 23 1 2s716ms 2s716ms May 15 01 1 2s354ms 2s354ms 02 1 2s163ms 2s163ms 05 63 33m34s 31s980ms 06 2 8s882ms 4s441ms 07 1 1s226ms 1s226ms 10 1 11s834ms 11s834ms 12 2 14s13ms 7s6ms 13 1 5s539ms 5s539ms 14 2 4s510ms 2s255ms 15 1 2s176ms 2s176ms 18 1 1s79ms 1s79ms May 16 01 1 2s253ms 2s253ms 05 1 5s71ms 5s71ms 06 3 6s991ms 2s330ms 07 1 3s 3s 08 2 13s158ms 6s579ms 10 1 11s953ms 11s953ms 12 1 4s14ms 4s14ms 13 5 17s4ms 3s400ms 15 1 3s25ms 3s25ms 16 1 4s231ms 4s231ms 17 2 8s542ms 4s271ms 18 1 5s45ms 5s45ms 19 1 2s526ms 2s526ms 21 2 5s534ms 2s767ms 23 2 14s880ms 7s440ms May 17 00 2 3s882ms 1s941ms 01 2 5s323ms 2s661ms 02 2 6s738ms 3s369ms 03 1 1s710ms 1s710ms 05 1 2s716ms 2s716ms 06 3 5s609ms 1s869ms 08 2 5s144ms 2s572ms 09 2 6s277ms 3s138ms 10 1 6s569ms 6s569ms 12 6 17s554ms 2s925ms 13 7 31s948ms 4s564ms 14 9 42s691ms 4s743ms 15 6 22s3ms 3s667ms 16 3 8s340ms 2s780ms 17 5 20s390ms 4s78ms 18 5 28s351ms 5s670ms 19 7 25s914ms 3s702ms 20 5 18s194ms 3s638ms 21 7 18s390ms 2s627ms 22 1 1s996ms 1s996ms 23 3 5s177ms 1s725ms May 18 00 6 28s657ms 4s776ms 01 5 15s933ms 3s186ms 02 11 28s204ms 2s564ms 03 4 20s891ms 5s222ms 04 4 19s323ms 4s830ms 05 3 11s313ms 3s771ms 06 5 11s515ms 2s303ms 07 2 6s829ms 3s414ms 08 4 11s692ms 2s923ms 09 4 13s582ms 3s395ms 10 7 29s962ms 4s280ms 11 4 24s258ms 6s64ms 12 4 10s11ms 2s502ms 13 4 17s372ms 4s343ms 14 4 21s231ms 5s307ms 15 4 17s117ms 4s279ms 16 5 13s923ms 2s784ms 17 7 21s575ms 3s82ms 18 3 10s274ms 3s424ms 19 2 9s287ms 4s643ms 20 2 4s189ms 2s94ms 21 1 2s726ms 2s726ms 22 5 18s558ms 3s711ms 23 4 13s958ms 3s489ms [ User: pubeu - Total duration: 41m58s - Times executed: 296 ]
-
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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-15 05:15:54 Duration: 54s77ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-15 05:15:54 Duration: 53s360ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-15 05:16:04 Duration: 53s165ms Bind query: yes
4 433 11m58s 1s188ms 14s162ms 1s658ms 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 #4
Day Hour Count Duration Avg duration May 12 03 108 4m4s 2s266ms 04 129 3m29s 1s622ms 05 2 4s637ms 2s318ms 06 1 1s340ms 1s340ms 07 3 3s836ms 1s278ms 08 2 2s706ms 1s353ms 11 2 2s836ms 1s418ms 13 1 1s304ms 1s304ms 14 1 1s413ms 1s413ms 15 1 1s403ms 1s403ms 19 3 3s961ms 1s320ms 22 1 1s432ms 1s432ms 23 2 2s915ms 1s457ms May 13 02 1 1s591ms 1s591ms 04 1 1s409ms 1s409ms 05 3 4s523ms 1s507ms 11 2 2s935ms 1s467ms 15 1 1s562ms 1s562ms 19 2 2s606ms 1s303ms 20 1 1s260ms 1s260ms 21 1 1s341ms 1s341ms 23 3 4s630ms 1s543ms May 14 04 1 1s466ms 1s466ms 05 4 5s580ms 1s395ms 07 2 2s770ms 1s385ms 09 1 1s331ms 1s331ms 10 1 1s389ms 1s389ms 11 2 2s692ms 1s346ms 12 1 1s368ms 1s368ms 13 1 1s428ms 1s428ms 18 2 2s734ms 1s367ms 19 1 1s716ms 1s716ms 20 3 3s828ms 1s276ms 21 1 1s288ms 1s288ms 22 1 1s396ms 1s396ms 23 1 1s354ms 1s354ms May 15 01 1 1s331ms 1s331ms 05 2 2s821ms 1s410ms 07 1 1s315ms 1s315ms 09 1 1s314ms 1s314ms 14 3 3s706ms 1s235ms 16 1 1s249ms 1s249ms 17 1 1s318ms 1s318ms 22 1 1s349ms 1s349ms 23 1 1s276ms 1s276ms May 16 00 1 1s370ms 1s370ms 04 1 1s363ms 1s363ms 05 3 4s171ms 1s390ms 06 2 2s624ms 1s312ms 07 1 1s333ms 1s333ms 10 6 7s542ms 1s257ms 11 2 2s481ms 1s240ms 12 3 3s735ms 1s245ms 13 4 5s320ms 1s330ms 14 4 5s261ms 1s315ms 15 1 1s275ms 1s275ms 16 2 2s531ms 1s265ms 17 2 2s610ms 1s305ms 18 4 4s821ms 1s205ms 19 4 4s983ms 1s245ms 20 3 3s655ms 1s218ms 21 3 4s64ms 1s354ms 22 6 8s584ms 1s430ms 23 1 1s219ms 1s219ms May 17 00 2 2s717ms 1s358ms 01 4 5s646ms 1s411ms 02 2 2s733ms 1s366ms 03 2 2s617ms 1s308ms 04 2 2s656ms 1s328ms 05 3 4s168ms 1s389ms 06 1 1s205ms 1s205ms 07 3 3s780ms 1s260ms 08 2 2s459ms 1s229ms 09 2 2s495ms 1s247ms 10 3 3s903ms 1s301ms 11 2 2s554ms 1s277ms 12 2 2s560ms 1s280ms 13 2 2s475ms 1s237ms 14 2 2s514ms 1s257ms 15 3 3s890ms 1s296ms 16 3 4s32ms 1s344ms 18 4 5s19ms 1s254ms 19 1 1s195ms 1s195ms May 18 01 3 4s9ms 1s336ms 02 2 2s693ms 1s346ms 05 7 9s847ms 1s406ms 07 2 2s693ms 1s346ms 09 2 2s461ms 1s230ms 10 1 2s5ms 2s5ms 12 1 1s315ms 1s315ms 14 2 2s598ms 1s299ms 15 2 2s518ms 1s259ms 16 3 3s806ms 1s268ms 19 2 2s682ms 1s341ms 21 1 1s363ms 1s363ms 23 2 2s613ms 1s306ms [ User: pubeu - Total duration: 4m - Times executed: 149 ]
-
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 = '2071345') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2071345') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 03:58:49 Duration: 14s162ms 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 = '2074104') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2074104') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 03:58:54 Duration: 13s966ms 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 = '2075837') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2075837') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 03:58:57 Duration: 11s124ms Bind query: yes
5 278 18m47s 3s713ms 16s371ms 4s54ms 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 #5
Day Hour Count Duration Avg duration May 12 00 1 3s815ms 3s815ms 03 4 15s669ms 3s917ms 04 1 3s929ms 3s929ms 08 3 11s692ms 3s897ms 10 1 3s992ms 3s992ms 11 5 20s97ms 4s19ms 12 3 11s956ms 3s985ms 13 1 4s3ms 4s3ms 15 1 4s30ms 4s30ms 20 1 3s979ms 3s979ms 22 8 31s755ms 3s969ms 23 7 27s711ms 3s958ms May 13 00 4 15s843ms 3s960ms 01 3 12s115ms 4s38ms 02 4 16s261ms 4s65ms 04 6 24s28ms 4s4ms 05 2 8s181ms 4s90ms 06 3 11s771ms 3s923ms 07 3 12s609ms 4s203ms 08 12 47s460ms 3s955ms 09 2 7s887ms 3s943ms 10 3 12s705ms 4s235ms 11 3 12s123ms 4s41ms 12 6 23s934ms 3s989ms 13 1 4s30ms 4s30ms 15 1 4s9ms 4s9ms 17 3 12s252ms 4s84ms 18 3 12s222ms 4s74ms 19 1 3s993ms 3s993ms 22 1 4s116ms 4s116ms 23 4 17s169ms 4s292ms May 14 00 3 11s985ms 3s995ms 01 4 15s783ms 3s945ms 02 1 4s9ms 4s9ms 03 1 4s216ms 4s216ms 04 3 12s77ms 4s25ms 05 2 8s233ms 4s116ms 06 2 7s957ms 3s978ms 07 4 16s610ms 4s152ms 08 4 16s101ms 4s25ms 09 1 4s57ms 4s57ms 10 1 4s34ms 4s34ms 12 3 11s915ms 3s971ms 14 3 12s277ms 4s92ms 15 1 3s994ms 3s994ms 16 1 3s953ms 3s953ms 17 1 3s932ms 3s932ms 19 1 3s974ms 3s974ms 21 1 4s168ms 4s168ms 22 2 8s56ms 4s28ms May 15 02 3 11s903ms 3s967ms 03 2 7s537ms 3s768ms 04 4 15s740ms 3s935ms 05 2 7s898ms 3s949ms 07 2 9s282ms 4s641ms 08 3 11s193ms 3s731ms 09 2 7s801ms 3s900ms 11 1 4s21ms 4s21ms 12 1 4s 4s 13 2 8s26ms 4s13ms 14 1 4s21ms 4s21ms 15 1 3s936ms 3s936ms 19 3 11s910ms 3s970ms 21 1 4s40ms 4s40ms 22 16 1m3s 3s978ms 23 1 3s966ms 3s966ms May 16 01 1 4s70ms 4s70ms 02 4 16s2ms 4s 03 2 7s960ms 3s980ms 04 5 19s997ms 3s999ms 05 1 3s816ms 3s816ms 06 1 3s964ms 3s964ms 07 1 3s895ms 3s895ms 08 2 7s878ms 3s939ms 09 2 7s931ms 3s965ms 10 1 3s908ms 3s908ms 13 1 4s191ms 4s191ms 14 3 11s851ms 3s950ms 15 3 24s140ms 8s46ms 16 1 3s876ms 3s876ms 20 1 3s952ms 3s952ms 21 2 8s468ms 4s234ms 22 1 4s67ms 4s67ms 23 3 12s492ms 4s164ms May 17 00 2 8s51ms 4s25ms 01 2 8s59ms 4s29ms 02 1 3s930ms 3s930ms 04 2 8s7ms 4s3ms 05 1 3s988ms 3s988ms 06 1 4s27ms 4s27ms 07 3 11s861ms 3s953ms 09 1 4s135ms 4s135ms 11 1 4s55ms 4s55ms 12 1 4s92ms 4s92ms 13 3 12s177ms 4s59ms 14 1 4s6ms 4s6ms 15 3 11s935ms 3s978ms 16 1 4s92ms 4s92ms 17 2 7s954ms 3s977ms 19 1 3s941ms 3s941ms 23 1 3s901ms 3s901ms May 18 00 1 3s954ms 3s954ms 01 2 7s952ms 3s976ms 02 1 3s955ms 3s955ms 04 2 7s855ms 3s927ms 06 4 15s860ms 3s965ms 07 1 3s975ms 3s975ms 08 1 3s926ms 3s926ms 09 1 4s92ms 4s92ms 10 1 4s52ms 4s52ms 12 1 3s887ms 3s887ms 13 4 15s845ms 3s961ms 14 4 16s145ms 4s36ms 15 6 23s802ms 3s967ms 18 1 3s919ms 3s919ms 23 1 5s719ms 5s719ms [ User: pubeu - Total duration: 10m40s - Times executed: 160 ]
-
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 = '1384112') 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 = '1384112') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-16 15:06:04 Duration: 16s371ms 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 = '1329725') 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 = '1329725') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-18 23:12:38 Duration: 5s719ms 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 = '1379382') 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 = '1379382') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-15 07:59:07 Duration: 5s338ms Bind query: yes
6 276 21m40s 1s8ms 20s340ms 4s710ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 12 00 2 18s888ms 9s444ms 01 3 5s403ms 1s801ms 03 1 7s651ms 7s651ms 04 1 1s556ms 1s556ms 05 1 1s765ms 1s765ms 06 2 2s374ms 1s187ms 08 1 5s629ms 5s629ms 09 4 42s931ms 10s732ms 11 3 22s32ms 7s344ms 12 1 1s72ms 1s72ms 13 4 23s3ms 5s750ms 16 1 1s88ms 1s88ms 17 2 2s941ms 1s470ms 19 2 2s94ms 1s47ms 22 2 7s691ms 3s845ms 23 1 8s42ms 8s42ms May 13 00 4 12s845ms 3s211ms 01 1 1s77ms 1s77ms 04 2 2s523ms 1s261ms 06 3 20s982ms 6s994ms 08 2 12s616ms 6s308ms 10 7 13s535ms 1s933ms 11 4 31s624ms 7s906ms 12 2 2s142ms 1s71ms 13 4 19s538ms 4s884ms 15 1 1s564ms 1s564ms 16 1 1s621ms 1s621ms 17 4 14s750ms 3s687ms 18 2 2s404ms 1s202ms 19 3 3s480ms 1s160ms 20 4 41s987ms 10s496ms May 14 00 1 1s56ms 1s56ms 01 4 24s813ms 6s203ms 02 3 7s823ms 2s607ms 03 1 7s982ms 7s982ms 04 2 2s350ms 1s175ms 05 3 23s392ms 7s797ms 06 3 3s588ms 1s196ms 07 1 1s318ms 1s318ms 08 2 3s902ms 1s951ms 09 1 1s101ms 1s101ms 10 2 20s119ms 10s59ms 11 3 39s712ms 13s237ms 12 3 3s454ms 1s151ms 13 1 1s55ms 1s55ms 15 2 21s871ms 10s935ms 16 4 25s493ms 6s373ms 17 1 1s79ms 1s79ms 19 1 2s775ms 2s775ms 20 3 11s56ms 3s685ms 21 5 26s275ms 5s255ms 22 2 2s314ms 1s157ms 23 4 1m1s 15s381ms May 15 00 2 19s141ms 9s570ms 01 3 3s171ms 1s57ms 02 3 5s387ms 1s795ms 03 2 2s652ms 1s326ms 04 1 1s594ms 1s594ms 05 2 2s325ms 1s162ms 06 4 4s400ms 1s100ms 07 2 2s302ms 1s151ms 08 1 7s513ms 7s513ms 10 1 1s294ms 1s294ms 12 3 20s210ms 6s736ms 13 1 1s58ms 1s58ms 14 1 7s632ms 7s632ms 15 1 1s40ms 1s40ms 16 1 1s68ms 1s68ms 18 2 2s781ms 1s390ms 19 2 20s113ms 10s56ms 20 1 19s8ms 19s8ms 21 2 2s133ms 1s66ms May 16 00 3 11s928ms 3s976ms 01 2 9s6ms 4s503ms 02 2 4s419ms 2s209ms 03 1 1s528ms 1s528ms 04 1 3s256ms 3s256ms 05 1 1s39ms 1s39ms 06 1 1s636ms 1s636ms 08 3 20s207ms 6s735ms 11 1 1s604ms 1s604ms 12 2 25s571ms 12s785ms 14 1 8s549ms 8s549ms 15 1 3s221ms 3s221ms 16 4 45s191ms 11s297ms 17 4 21s640ms 5s410ms 18 1 1s128ms 1s128ms 19 2 4s293ms 2s146ms 21 2 3s876ms 1s938ms 23 1 3s274ms 3s274ms May 17 00 2 20s646ms 10s323ms 01 2 3s930ms 1s965ms 02 1 1s71ms 1s71ms 03 2 16s393ms 8s196ms 04 4 48s130ms 12s32ms 06 2 2s674ms 1s337ms 07 1 3s178ms 3s178ms 08 1 2s592ms 2s592ms 09 4 4s559ms 1s139ms 10 2 4s273ms 2s136ms 12 1 3s287ms 3s287ms 13 2 3s838ms 1s919ms 15 5 43s92ms 8s618ms 16 2 8s867ms 4s433ms 17 3 21s701ms 7s233ms 18 3 7s250ms 2s416ms 19 2 20s334ms 10s167ms 21 2 2s483ms 1s241ms 22 1 1s267ms 1s267ms May 18 00 3 10s204ms 3s401ms 01 5 29s359ms 5s871ms 03 2 4s320ms 2s160ms 04 1 18s932ms 18s932ms 05 1 3s861ms 3s861ms 07 2 4s617ms 2s308ms 08 3 19s926ms 6s642ms 09 3 4s276ms 1s425ms 10 3 7s768ms 2s589ms 11 1 7s701ms 7s701ms 12 2 4s262ms 2s131ms 13 1 1s708ms 1s708ms 17 1 1s675ms 1s675ms 19 2 11s781ms 5s890ms 20 2 2s159ms 1s79ms 21 3 11s109ms 3s703ms 22 1 3s291ms 3s291ms 23 3 6s382ms 2s127ms [ User: pubeu - Total duration: 15m39s - Times executed: 178 ]
-
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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-12 09:16:19 Duration: 20s340ms 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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-12 09:16:17 Duration: 20s218ms 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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-12 13:20:16 Duration: 19s808ms Database: ctdprd51 User: pubeu Bind query: yes
7 272 7m16s 1s303ms 8s860ms 1s603ms 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 #7
Day Hour Count Duration Avg duration May 12 01 4 5s545ms 1s386ms 03 65 2m14s 2s76ms 04 45 1m12s 1s605ms 05 3 5s658ms 1s886ms 08 1 1s366ms 1s366ms 11 2 2s847ms 1s423ms 13 1 1s392ms 1s392ms 15 1 1s415ms 1s415ms 18 1 1s407ms 1s407ms 22 4 5s673ms 1s418ms May 13 02 2 2s810ms 1s405ms 04 1 1s411ms 1s411ms 05 2 2s840ms 1s420ms 08 1 1s395ms 1s395ms 14 2 2s811ms 1s405ms 23 2 2s835ms 1s417ms May 14 02 1 1s414ms 1s414ms 05 2 2s737ms 1s368ms 08 1 1s423ms 1s423ms 12 1 1s427ms 1s427ms 14 1 1s417ms 1s417ms 15 1 1s436ms 1s436ms 23 1 1s419ms 1s419ms May 15 01 3 4s107ms 1s369ms 02 1 1s404ms 1s404ms 03 1 1s410ms 1s410ms 04 1 1s385ms 1s385ms 05 4 5s512ms 1s378ms 06 1 1s370ms 1s370ms 09 2 2s750ms 1s375ms 18 1 1s424ms 1s424ms 19 2 2s806ms 1s403ms 22 2 2s811ms 1s405ms May 16 01 5 7s35ms 1s407ms 03 2 2s830ms 1s415ms 05 3 4s191ms 1s397ms 07 3 4s96ms 1s365ms 08 1 1s393ms 1s393ms 09 1 1s413ms 1s413ms 10 3 4s132ms 1s377ms 12 2 2s794ms 1s397ms 13 1 1s399ms 1s399ms 19 1 1s407ms 1s407ms 20 2 2s835ms 1s417ms 21 2 2s849ms 1s424ms 23 1 1s436ms 1s436ms May 17 00 2 2s836ms 1s418ms 01 2 2s850ms 1s425ms 02 3 4s266ms 1s422ms 03 2 2s764ms 1s382ms 04 2 2s859ms 1s429ms 05 3 4s296ms 1s432ms 06 2 2s718ms 1s359ms 07 7 9s620ms 1s374ms 08 2 2s883ms 1s441ms 09 1 1s432ms 1s432ms 10 1 1s410ms 1s410ms 11 1 1s439ms 1s439ms 12 2 2s834ms 1s417ms 14 1 1s424ms 1s424ms 15 6 8s542ms 1s423ms 17 3 4s234ms 1s411ms 18 2 2s861ms 1s430ms 20 2 2s801ms 1s400ms 21 1 1s412ms 1s412ms 22 2 2s839ms 1s419ms 23 1 1s419ms 1s419ms May 18 00 2 2s830ms 1s415ms 02 21 29s433ms 1s401ms 05 3 4s252ms 1s417ms 07 1 1s364ms 1s364ms 08 1 1s358ms 1s358ms 09 1 1s373ms 1s373ms 10 1 1s379ms 1s379ms 11 1 1s387ms 1s387ms 12 1 1s424ms 1s424ms 13 1 1s374ms 1s374ms 23 1 1s414ms 1s414ms [ User: pubeu - Total duration: 2m42s - Times executed: 105 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-05-12 03:58:47 Duration: 8s860ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-05-12 03:58:54 Duration: 6s331ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-05-12 03:58:13 Duration: 6s214ms Database: ctdprd51 User: pubeu Bind query: yes
8 227 6m50s 1s1ms 9s967ms 1s809ms 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 diseaseterm.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 #8
Day Hour Count Duration Avg duration May 12 03 61 2m16s 2s238ms 04 123 3m35s 1s754ms 14 1 2s255ms 2s255ms 16 1 1s59ms 1s59ms 19 1 2s326ms 2s326ms May 13 01 1 1s92ms 1s92ms 02 1 1s132ms 1s132ms 14 1 1s402ms 1s402ms 16 1 1s459ms 1s459ms 18 1 1s27ms 1s27ms May 14 08 1 1s120ms 1s120ms 18 1 1s615ms 1s615ms May 15 05 1 1s20ms 1s20ms 17 1 1s26ms 1s26ms May 16 06 1 1s78ms 1s78ms 13 1 1s496ms 1s496ms May 17 00 1 1s454ms 1s454ms 03 1 1s132ms 1s132ms 12 1 1s38ms 1s38ms 14 1 1s165ms 1s165ms 15 1 1s124ms 1s124ms 17 1 1s617ms 1s617ms 18 2 3s924ms 1s962ms 21 1 1s62ms 1s62ms 22 2 2s643ms 1s321ms 23 1 2s368ms 2s368ms May 18 01 2 2s119ms 1s59ms 04 1 1s671ms 1s671ms 05 2 2s177ms 1s88ms 06 1 1s89ms 1s89ms 07 1 1s173ms 1s173ms 12 1 1s46ms 1s46ms 14 1 1s425ms 1s425ms 17 1 1s35ms 1s35ms 19 1 1s122ms 1s122ms 20 2 2s258ms 1s129ms 21 3 4s946ms 1s648ms 23 1 1s664ms 1s664ms [ User: pubeu - Total duration: 2m15s - Times executed: 76 ]
-
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 diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2070029') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-12 03:58:46 Duration: 9s967ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2076831') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-12 03:58:51 Duration: 7s817ms 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 diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2070022') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-12 03:58:40 Duration: 5s630ms Bind query: yes
9 161 13m42s 1s1ms 6s883ms 5s107ms 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 #9
Day Hour Count Duration Avg duration May 12 00 1 4s796ms 4s796ms 01 1 4s792ms 4s792ms 04 1 4s923ms 4s923ms 08 3 15s494ms 5s164ms 10 3 17s834ms 5s944ms 12 2 10s695ms 5s347ms 14 1 5s699ms 5s699ms 18 1 5s409ms 5s409ms 19 1 5s236ms 5s236ms 21 1 4s992ms 4s992ms 22 1 5s266ms 5s266ms 23 1 5s206ms 5s206ms May 13 03 2 10s486ms 5s243ms 05 1 1s4ms 1s4ms 09 2 6s463ms 3s231ms 12 1 5s126ms 5s126ms 13 1 5s33ms 5s33ms 19 1 5s387ms 5s387ms 20 1 1s21ms 1s21ms 21 1 5s350ms 5s350ms 22 1 5s560ms 5s560ms 23 2 6s369ms 3s184ms May 14 00 1 1s45ms 1s45ms 01 6 33s962ms 5s660ms 02 1 5s264ms 5s264ms 03 1 5s425ms 5s425ms 04 2 10s803ms 5s401ms 07 1 5s654ms 5s654ms 08 5 27s428ms 5s485ms 10 1 5s576ms 5s576ms 11 1 5s629ms 5s629ms 14 3 16s482ms 5s494ms 18 1 5s464ms 5s464ms 21 2 11s20ms 5s510ms 23 2 11s456ms 5s728ms May 15 02 1 5s158ms 5s158ms 04 1 5s277ms 5s277ms 07 1 6s883ms 6s883ms 08 1 5s369ms 5s369ms 09 8 41s809ms 5s226ms 10 3 14s358ms 4s786ms 12 1 1s1ms 1s1ms 13 2 10s459ms 5s229ms 14 1 5s117ms 5s117ms 17 1 5s138ms 5s138ms 20 1 5s646ms 5s646ms 22 3 16s762ms 5s587ms 23 3 15s824ms 5s274ms May 16 00 1 5s535ms 5s535ms 01 8 44s155ms 5s519ms 04 3 16s700ms 5s566ms 05 4 21s42ms 5s260ms 06 1 4s284ms 4s284ms 08 1 5s197ms 5s197ms 10 1 5s197ms 5s197ms 11 2 10s541ms 5s270ms 12 4 21s69ms 5s267ms 17 1 5s330ms 5s330ms 18 1 5s274ms 5s274ms 19 1 5s729ms 5s729ms 20 2 6s822ms 3s411ms 21 2 9s742ms 4s871ms 22 1 5s724ms 5s724ms 23 1 5s381ms 5s381ms May 17 01 1 5s512ms 5s512ms 02 2 11s246ms 5s623ms 03 2 6s671ms 3s335ms 04 2 11s225ms 5s612ms 05 1 5s950ms 5s950ms 08 2 10s445ms 5s222ms 09 2 11s714ms 5s857ms 10 1 5s400ms 5s400ms 11 1 5s606ms 5s606ms 14 4 22s102ms 5s525ms 16 2 11s460ms 5s730ms 17 4 17s396ms 4s349ms 18 1 1s103ms 1s103ms 22 1 5s741ms 5s741ms 23 2 6s510ms 3s255ms May 18 00 1 5s482ms 5s482ms 01 1 5s492ms 5s492ms 02 3 16s100ms 5s366ms 03 1 5s710ms 5s710ms 04 1 5s708ms 5s708ms 09 3 15s213ms 5s71ms 11 1 4s859ms 4s859ms 12 1 5s652ms 5s652ms 14 1 5s323ms 5s323ms 17 1 5s672ms 5s672ms 19 1 5s146ms 5s146ms [ User: pubeu - Total duration: 7m52s - Times executed: 92 ]
-
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 = '1384112' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-15 07:58:53 Duration: 6s883ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1277159' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-12 10:03:51 Duration: 6s599ms 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 = '1412974' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-17 05:37:24 Duration: 5s950ms Database: ctdprd51 User: pubeu Bind query: yes
10 155 3m21s 1s173ms 2s904ms 1s302ms 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 #10
Day Hour Count Duration Avg duration May 12 01 4 5s59ms 1s264ms 05 2 5s173ms 2s586ms 07 3 3s743ms 1s247ms 10 8 10s445ms 1s305ms 12 2 2s750ms 1s375ms 13 2 2s597ms 1s298ms 14 2 2s626ms 1s313ms 15 1 1s327ms 1s327ms 17 2 2s636ms 1s318ms 18 6 7s660ms 1s276ms 21 2 2s483ms 1s241ms May 13 03 2 2s570ms 1s285ms 04 1 1s293ms 1s293ms 05 2 2s824ms 1s412ms 09 1 1s299ms 1s299ms 12 1 1s281ms 1s281ms 14 1 1s318ms 1s318ms 19 1 1s404ms 1s404ms 22 1 1s324ms 1s324ms May 14 02 2 2s651ms 1s325ms 05 4 5s447ms 1s361ms 10 1 1s303ms 1s303ms 14 1 1s400ms 1s400ms 20 2 2s548ms 1s274ms 22 1 1s568ms 1s568ms May 15 03 1 1s313ms 1s313ms 05 2 2s770ms 1s385ms 22 2 2s661ms 1s330ms May 16 04 1 1s287ms 1s287ms 05 2 2s714ms 1s357ms 06 2 2s520ms 1s260ms 08 3 3s781ms 1s260ms 09 1 1s215ms 1s215ms 10 1 1s219ms 1s219ms 11 2 2s488ms 1s244ms 13 4 5s56ms 1s264ms 14 2 2s465ms 1s232ms 15 2 2s472ms 1s236ms 16 2 2s425ms 1s212ms 17 1 1s280ms 1s280ms 18 1 1s207ms 1s207ms 19 2 2s488ms 1s244ms 20 1 1s216ms 1s216ms 21 2 2s421ms 1s210ms 22 1 1s291ms 1s291ms 23 3 3s766ms 1s255ms May 17 00 3 3s815ms 1s271ms 02 4 5s3ms 1s250ms 03 1 1s292ms 1s292ms 04 2 2s620ms 1s310ms 05 5 6s623ms 1s324ms 07 2 2s479ms 1s239ms 08 2 2s467ms 1s233ms 09 1 1s300ms 1s300ms 10 1 1s244ms 1s244ms 11 2 2s518ms 1s259ms 12 3 3s760ms 1s253ms 13 1 1s230ms 1s230ms 14 2 2s422ms 1s211ms 16 1 1s203ms 1s203ms 17 3 3s637ms 1s212ms 18 2 2s488ms 1s244ms 21 1 1s251ms 1s251ms May 18 02 2 2s567ms 1s283ms 05 2 2s779ms 1s389ms 06 2 2s537ms 1s268ms 08 1 1s281ms 1s281ms 09 1 1s254ms 1s254ms 10 1 1s281ms 1s281ms 13 1 1s315ms 1s315ms 14 1 1s300ms 1s300ms 15 2 2s702ms 1s351ms 18 3 3s756ms 1s252ms 19 2 2s550ms 1s275ms 20 1 1s337ms 1s337ms 21 3 3s888ms 1s296ms 22 1 1s315ms 1s315ms 23 3 3s903ms 1s301ms [ User: pubeu - Total duration: 1m32s - Times executed: 72 ]
[ User: qaeu - Total duration: 2s794ms - Times executed: 2 ]
-
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 = '1209014') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1209014') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 05:59:16 Duration: 2s904ms 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 = '1209014') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1209014') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-12 05:40:17 Duration: 2s268ms 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 = '1235454') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1235454') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-05-14 22:36:19 Duration: 1s568ms Database: ctdprd51 User: pubeu Bind query: yes
11 141 6m55s 1s25ms 13s13ms 2s943ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 12 03 1 1s761ms 1s761ms 04 1 1s293ms 1s293ms 05 3 7s357ms 2s452ms 06 2 2s692ms 1s346ms 07 1 1s717ms 1s717ms 09 2 4s41ms 2s20ms 10 6 31s577ms 5s262ms 12 1 1s56ms 1s56ms 15 1 1s314ms 1s314ms 17 1 2s958ms 2s958ms 18 1 5s293ms 5s293ms May 13 00 2 3s240ms 1s620ms 05 3 14s762ms 4s920ms 07 1 5s171ms 5s171ms 09 1 2s883ms 2s883ms 13 2 5s268ms 2s634ms 14 1 2s895ms 2s895ms 17 1 1s76ms 1s76ms 18 1 1s703ms 1s703ms 21 1 1s346ms 1s346ms 22 1 1s165ms 1s165ms 23 2 8s851ms 4s425ms May 14 01 1 1s57ms 1s57ms 04 1 3s700ms 3s700ms 05 2 4s355ms 2s177ms 07 1 1s25ms 1s25ms 08 1 5s126ms 5s126ms 13 1 1s307ms 1s307ms 14 4 12s484ms 3s121ms 15 1 1s397ms 1s397ms 17 1 2s806ms 2s806ms 18 1 2s963ms 2s963ms 21 1 5s244ms 5s244ms 22 1 2s681ms 2s681ms May 15 04 2 3s891ms 1s945ms 05 1 13s13ms 13s13ms 06 2 2s946ms 1s473ms 07 6 18s248ms 3s41ms 10 1 1s277ms 1s277ms 11 1 1s279ms 1s279ms 18 2 5s37ms 2s518ms 19 2 5s749ms 2s874ms 22 1 3s894ms 3s894ms 23 1 2s540ms 2s540ms May 16 00 1 1s503ms 1s503ms 01 2 6s298ms 3s149ms 02 1 2s978ms 2s978ms 10 2 2s777ms 1s388ms 12 1 2s854ms 2s854ms 13 2 4s784ms 2s392ms 16 2 7s634ms 3s817ms 18 3 5s477ms 1s825ms 19 3 9s420ms 3s140ms 20 1 5s205ms 5s205ms 22 1 2s874ms 2s874ms 23 5 11s501ms 2s300ms May 17 01 1 5s279ms 5s279ms 02 3 10s386ms 3s462ms 03 2 5s356ms 2s678ms 05 1 1s659ms 1s659ms 06 1 1s308ms 1s308ms 08 1 1s305ms 1s305ms 10 1 1s67ms 1s67ms 12 2 8s171ms 4s85ms 13 3 5s932ms 1s977ms 15 2 7s847ms 3s923ms 16 2 6s516ms 3s258ms 18 2 2s91ms 1s45ms 19 1 1s719ms 1s719ms 20 2 4s864ms 2s432ms 21 4 20s580ms 5s145ms 23 1 3s883ms 3s883ms May 18 02 3 11s921ms 3s973ms 03 3 9s135ms 3s45ms 04 2 5s129ms 2s564ms 05 1 2s759ms 2s759ms 06 2 4s415ms 2s207ms 09 1 2s457ms 2s457ms 11 1 2s897ms 2s897ms 15 1 5s317ms 5s317ms 22 1 1s383ms 1s383ms 23 2 6s922ms 3s461ms [ User: pubeu - Total duration: 4m14s - Times executed: 83 ]
-
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 = '1421762') 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 = '1421762') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-05-15 05:15:16 Duration: 13s13ms Database: ctdprd51 User: pubeu 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 = '1384112') 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 = '1384112') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-05-12 10:03:49 Duration: 8s347ms 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 = '1421762') 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 = '1421762') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-05-12 10:03:47 Duration: 6s914ms Database: ctdprd51 User: pubeu Bind query: yes
12 140 10m38s 1s16ms 13s698ms 4s557ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 12 03 77 7m38s 5s949ms 04 18 29s131ms 1s618ms May 15 05 42 2m24s 3s429ms May 17 09 3 6s731ms 2s243ms [ User: pubeu - Total duration: 3m7s - Times executed: 37 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2075488');
Date: 2024-05-12 03:58:48 Duration: 13s698ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2064559');
Date: 2024-05-12 03:58:49 Duration: 13s21ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2071350');
Date: 2024-05-12 03:58:49 Duration: 12s920ms Bind query: yes
13 126 7m2s 1s208ms 8s698ms 3s350ms 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 #13
Day Hour Count Duration Avg duration May 12 00 1 2s768ms 2s768ms 04 1 1s755ms 1s755ms 08 1 1s838ms 1s838ms 09 1 1s425ms 1s425ms 10 6 24s915ms 4s152ms 11 1 6s75ms 6s75ms 12 2 9s496ms 4s748ms 13 1 6s50ms 6s50ms 14 1 1s667ms 1s667ms 17 1 2s11ms 2s11ms 18 2 12s8ms 6s4ms 22 3 6s797ms 2s265ms 23 1 2s139ms 2s139ms May 13 01 2 8s859ms 4s429ms 03 1 1s743ms 1s743ms 07 1 5s992ms 5s992ms 09 1 2s13ms 2s13ms 10 1 2s90ms 2s90ms 12 1 1s874ms 1s874ms 13 3 7s457ms 2s485ms 14 1 2s26ms 2s26ms 15 1 1s867ms 1s867ms 16 1 2s851ms 2s851ms 19 1 1s883ms 1s883ms May 14 00 1 2s836ms 2s836ms 01 1 1s665ms 1s665ms 02 1 2s155ms 2s155ms 04 1 5s995ms 5s995ms 07 1 1s694ms 1s694ms 15 1 6s80ms 6s80ms 17 1 3s332ms 3s332ms 18 1 5s976ms 5s976ms 20 1 1s339ms 1s339ms 22 3 11s6ms 3s668ms May 15 00 1 2s731ms 2s731ms 02 2 8s726ms 4s363ms 05 1 6s150ms 6s150ms 07 1 3s685ms 3s685ms 09 1 3s224ms 3s224ms 10 1 5s971ms 5s971ms 12 1 1s818ms 1s818ms 15 1 3s303ms 3s303ms 17 1 1s806ms 1s806ms 20 1 2s143ms 2s143ms 21 1 5s941ms 5s941ms 22 1 2s66ms 2s66ms May 16 01 1 1s347ms 1s347ms 03 2 7s232ms 3s616ms 04 4 10s746ms 2s686ms 05 1 6s51ms 6s51ms 08 1 3s216ms 3s216ms 10 2 5s564ms 2s782ms 12 1 1s811ms 1s811ms 13 1 5s917ms 5s917ms 14 4 14s587ms 3s646ms 15 1 5s886ms 5s886ms 16 2 9s76ms 4s538ms 18 1 1s963ms 1s963ms 20 1 1s884ms 1s884ms 21 1 3s245ms 3s245ms 22 1 1s832ms 1s832ms 23 1 6s61ms 6s61ms May 17 00 1 5s952ms 5s952ms 01 3 7s855ms 2s618ms 02 1 1s987ms 1s987ms 03 3 10s929ms 3s643ms 04 1 1s901ms 1s901ms 05 1 6s48ms 6s48ms 12 1 2s22ms 2s22ms 13 2 9s290ms 4s645ms 16 1 2s739ms 2s739ms 17 3 7s61ms 2s353ms 18 4 12s808ms 3s202ms 20 1 1s841ms 1s841ms 21 1 2s817ms 2s817ms 22 3 13s279ms 4s426ms 23 2 4s507ms 2s253ms May 18 00 2 9s272ms 4s636ms 03 2 9s216ms 4s608ms 05 3 8s194ms 2s731ms 06 1 2s752ms 2s752ms 09 1 1s706ms 1s706ms 10 1 2s749ms 2s749ms 11 1 1s852ms 1s852ms 14 1 1s627ms 1s627ms [ User: pubeu - Total duration: 4m44s - Times executed: 84 ]
-
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 = '1384112'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-05-12 10:03:50 Duration: 8s698ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1384112'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-05-12 12:04:06 Duration: 6s190ms 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 = '1384112'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-05-15 05:38:24 Duration: 6s150ms Bind query: yes
14 85 1h12m35s 1s208ms 17m33s 51s242ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 12 01 1 3m35s 3m35s 10 1 1s541ms 1s541ms 14 1 1s541ms 1s541ms 18 1 3s196ms 3s196ms 20 1 1s570ms 1s570ms May 13 05 1 1s564ms 1s564ms 08 1 3s182ms 3s182ms 12 1 1s598ms 1s598ms 20 1 1s728ms 1s728ms May 14 06 1 2s778ms 2s778ms 09 1 3s249ms 3s249ms 16 1 2s363ms 2s363ms 18 1 2s37ms 2s37ms 19 1 1s636ms 1s636ms 20 1 3m36s 3m36s 21 1 2m10s 2m10s May 15 05 1 1s497ms 1s497ms 11 1 2m10s 2m10s 12 1 1s410ms 1s410ms 16 1 1s379ms 1s379ms 17 1 1s557ms 1s557ms 18 1 1s452ms 1s452ms May 16 00 1 1s414ms 1s414ms 01 1 4m48s 4m48s 08 1 8m30s 8m30s 10 1 1s316ms 1s316ms 17 2 8m28s 4m14s 18 1 1s306ms 1s306ms 23 3 6m1s 2m May 17 09 1 1s461ms 1s461ms 11 1 1s408ms 1s408ms 12 1 2s321ms 2s321ms 13 1 1s951ms 1s951ms 14 2 3s881ms 1s940ms 16 1 3s103ms 3s103ms 17 1 1s804ms 1s804ms 19 3 4s633ms 1s544ms 20 1 1s455ms 1s455ms 21 2 4s726ms 2s363ms 22 5 11s446ms 2s289ms 23 1 2s985ms 2s985ms May 18 00 2 3s430ms 1s715ms 01 2 17m35s 8m47s 02 2 3s181ms 1s590ms 04 3 3m26s 1m8s 05 2 3s426ms 1s713ms 07 4 8s573ms 2s143ms 09 1 1s942ms 1s942ms 10 2 4s480ms 2s240ms 11 1 2s944ms 2s944ms 12 1 1s752ms 1s752ms 13 1 1s308ms 1s308ms 14 1 1s386ms 1s386ms 16 2 2s925ms 1s462ms 17 3 4s181ms 1s393ms 18 1 8m26s 8m26s 19 1 3s511ms 3s511ms 22 2 1m38s 49s65ms 23 2 3s581ms 1s790ms [ User: pubeu - Total duration: 51m35s - Times executed: 63 ]
-
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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-18 01:11:28 Duration: 17m33s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-16 08:12:19 Duration: 8m30s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-18 18:52:05 Duration: 8m26s Bind query: yes
15 70 1m54s 1s1ms 5s921ms 1s642ms 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 disease, exp_outcome o1 where disease.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and disease.id = o1.disease_id and o1.id = e1.exp_outcome_id union select reference_id from exposure e1, term t, exp_receptor r where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = r.term_id and r.id = e1.exp_receptor_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 May 12 03 70 1m54s 1s642ms [ User: pubeu - Total duration: 49s600ms - Times executed: 32 ]
-
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 disease, exp_outcome o1 where disease.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2066438') and disease.id = o1.disease_id and o1.id = e1.exp_outcome_id UNION select reference_id from exposure e1, term t, exp_receptor r where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2066438') and t.id = r.term_id and r.id = e1.exp_receptor_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-05-12 03:58:44 Duration: 5s921ms 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 disease, exp_outcome o1 where disease.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2070029') and disease.id = o1.disease_id and o1.id = e1.exp_outcome_id UNION select reference_id from exposure e1, term t, exp_receptor r where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2070029') and t.id = r.term_id and r.id = e1.exp_receptor_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-05-12 03:58:42 Duration: 5s224ms 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 disease, exp_outcome o1 where disease.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2066438') and disease.id = o1.disease_id and o1.id = e1.exp_outcome_id UNION select reference_id from exposure e1, term t, exp_receptor r where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2066438') and t.id = r.term_id and r.id = e1.exp_receptor_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-05-12 03:58:13 Duration: 4s648ms Database: ctdprd51 User: pubeu Bind query: yes
16 52 1m6s 1s238ms 1s997ms 1s273ms 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 #16
Day Hour Count Duration Avg duration May 12 03 1 1s258ms 1s258ms 04 6 7s527ms 1s254ms 05 2 3s367ms 1s683ms May 13 05 2 2s531ms 1s265ms 09 1 1s251ms 1s251ms 17 1 1s254ms 1s254ms May 14 02 1 1s256ms 1s256ms 05 3 3s758ms 1s252ms 08 1 1s257ms 1s257ms 17 1 1s257ms 1s257ms 22 1 1s258ms 1s258ms May 15 05 2 2s509ms 1s254ms 06 1 1s265ms 1s265ms 08 1 1s246ms 1s246ms 12 1 1s249ms 1s249ms May 16 00 1 1s253ms 1s253ms 05 3 3s752ms 1s250ms 07 1 1s249ms 1s249ms 12 1 1s251ms 1s251ms May 17 01 1 1s261ms 1s261ms 04 2 2s521ms 1s260ms 05 2 2s498ms 1s249ms 10 1 1s246ms 1s246ms 16 1 1s255ms 1s255ms 19 5 6s369ms 1s273ms 21 1 1s261ms 1s261ms May 18 00 1 1s259ms 1s259ms 05 4 5s27ms 1s256ms 06 1 1s248ms 1s248ms 19 2 2s498ms 1s249ms [ User: pubeu - Total duration: 32s773ms - Times executed: 26 ]
[ User: qaeu - Total duration: 1s997ms - 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: 2024-05-12 05:59:00 Duration: 1s997ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-05-12 05:40:06 Duration: 1s369ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-05-17 19:56:04 Duration: 1s309ms Database: ctdprd51 User: pubeu Bind query: yes
17 50 1m26s 1s26ms 4s483ms 1s738ms 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 #17
Day Hour Count Duration Avg duration May 12 03 1 1s822ms 1s822ms 10 4 11s257ms 2s814ms May 13 01 1 1s240ms 1s240ms 13 2 3s660ms 1s830ms May 14 06 1 1s828ms 1s828ms 07 1 1s266ms 1s266ms 09 1 1s256ms 1s256ms 11 1 1s814ms 1s814ms 13 1 1s816ms 1s816ms 17 1 1s244ms 1s244ms 20 1 1s912ms 1s912ms May 15 07 3 5s524ms 1s841ms 08 3 5s344ms 1s781ms 11 1 1s222ms 1s222ms 12 1 1s249ms 1s249ms 13 2 3s548ms 1s774ms 18 1 1s767ms 1s767ms May 16 05 1 1s769ms 1s769ms 06 1 1s785ms 1s785ms 11 1 1s775ms 1s775ms 12 1 1s801ms 1s801ms 14 1 1s241ms 1s241ms 15 1 1s787ms 1s787ms 22 1 1s256ms 1s256ms 23 1 1s812ms 1s812ms May 17 00 3 4s322ms 1s440ms 01 1 1s243ms 1s243ms 06 1 1s851ms 1s851ms 10 1 1s278ms 1s278ms 13 1 1s871ms 1s871ms 14 1 1s838ms 1s838ms 17 1 1s829ms 1s829ms 20 1 1s854ms 1s854ms 21 1 1s811ms 1s811ms 22 1 1s255ms 1s255ms 23 2 3s137ms 1s568ms May 18 00 1 1s813ms 1s813ms 08 1 1s808ms 1s808ms [ User: pubeu - Total duration: 1m - Times executed: 35 ]
-
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 = '1384112') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-05-12 10:03:46 Duration: 4s483ms 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 = '1384112') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-05-15 07:58:48 Duration: 2s697ms 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 = '1421762') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-05-12 10:03:43 Duration: 2s483ms Database: ctdprd51 User: pubeu Bind query: yes
18 49 3m26s 1s112ms 44s614ms 4s218ms 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 #18
Day Hour Count Duration Avg duration May 12 04 1 1s528ms 1s528ms 19 2 3s177ms 1s588ms May 13 04 3 11s473ms 3s824ms 05 7 51s110ms 7s301ms 11 3 4s886ms 1s628ms 17 1 26s638ms 26s638ms 22 1 44s614ms 44s614ms May 14 02 4 4s631ms 1s157ms 03 11 12s747ms 1s158ms 20 1 4s263ms 4s263ms 21 1 4s231ms 4s231ms 22 1 7s626ms 7s626ms May 15 00 2 2s289ms 1s144ms 06 2 14s459ms 7s229ms 23 1 1s158ms 1s158ms May 16 08 2 2s401ms 1s200ms 15 1 1s603ms 1s603ms 19 2 2s797ms 1s398ms May 17 09 1 1s948ms 1s948ms May 18 09 1 1s612ms 1s612ms 14 1 1s496ms 1s496ms [ User: pubeu - Total duration: 2m41s - Times executed: 30 ]
-
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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-13 22:53:31 Duration: 44s614ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-13 05:38:13 Duration: 41s536ms 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 = '2076831') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-13 17:06:56 Duration: 26s638ms Database: ctdprd51 User: pubeu Bind query: yes
19 46 2m33s 1s7ms 5s93ms 3s328ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 12 03 5 6s754ms 1s350ms 05 6 7s351ms 1s225ms May 13 04 1 4s808ms 4s808ms 06 2 2s43ms 1s21ms 08 2 9s428ms 4s714ms May 14 06 6 12s914ms 2s152ms 15 1 4s744ms 4s744ms May 16 15 3 14s40ms 4s680ms 18 2 9s366ms 4s683ms May 17 01 2 9s473ms 4s736ms 17 6 25s76ms 4s179ms May 18 15 4 18s847ms 4s711ms 18 3 14s139ms 4s713ms 22 3 14s140ms 4s713ms [ User: pubeu - Total duration: 1m27s - Times executed: 25 ]
[ User: qaeu - Total duration: 1s8ms - Times executed: 1 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAL_GLEAN10023034') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAL_GLEAN10023034') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAL_GLEAN10023034')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAL_GLEAN10023034')) ii GROUP BY ii.cd;
Date: 2024-05-17 17:55:34 Duration: 5s93ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'BIO1_000325') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'BIO1_000325') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BIO1_000325')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'BIO1_000325')) ii GROUP BY ii.cd;
Date: 2024-05-13 04:28:14 Duration: 4s808ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'EPR50_G00126680') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'EPR50_G00126680') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'EPR50_G00126680')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'EPR50_G00126680')) ii GROUP BY ii.cd;
Date: 2024-05-17 01:36:10 Duration: 4s750ms Bind query: yes
20 43 1m49s 1s2ms 4s505ms 2s534ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 12 05 4 11s628ms 2s907ms 10 1 1s28ms 1s28ms May 13 05 3 7s807ms 2s602ms 06 1 3s255ms 3s255ms 14 3 10s208ms 3s402ms May 14 05 4 8s808ms 2s202ms 10 1 3s327ms 3s327ms 14 1 1s925ms 1s925ms May 15 05 4 8s780ms 2s195ms May 16 05 4 8s740ms 2s185ms 11 3 9s948ms 3s316ms 12 1 1s941ms 1s941ms 18 1 2s442ms 2s442ms 22 1 2s408ms 2s408ms May 17 05 3 7s710ms 2s570ms 07 2 3s867ms 1s933ms May 18 05 4 8s694ms 2s173ms 11 2 6s475ms 3s237ms [ User: pubeu - Total duration: 57s93ms - Times executed: 19 ]
[ User: qaeu - Total duration: 24s793ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '589128' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-05-12 05:40:16 Duration: 4s505ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '589128' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-05-12 05:35:22 Duration: 3s956ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '649218' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-05-13 14:14:46 Duration: 3s510ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m13s 23m13s 23m13s 1 23m13s 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 #1
Day Hour Count Duration Avg duration May 18 19 1 23m13s 23m13s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-05-18 19:41:37 Duration: 23m13s
2 23m12s 23m12s 23m12s 1 23m12s 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 #2
Day Hour Count Duration Avg duration May 18 18 1 23m12s 23m12s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-05-18 18:59:54 Duration: 23m12s
3 15m46s 15m57s 15m52s 7 1h51m4s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 12 00 1 15m46s 15m46s May 13 00 1 15m50s 15m50s May 14 00 1 15m51s 15m51s May 15 00 1 15m55s 15m55s May 16 00 1 15m50s 15m50s May 17 00 1 15m57s 15m57s May 18 00 1 15m52s 15m52s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-17 00:15:59 Duration: 15m57s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-15 00:15:57 Duration: 15m55s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-05-18 00:15:53 Duration: 15m52s
4 9m35s 9m43s 9m39s 2 19m18s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.nm = ?))) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by i.sort_txt, g.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 13 16 1 9m35s 9m35s 19 1 9m43s 9m43s [ User: pubeu - Total duration: 19m18s - Times executed: 2 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RABGGTB') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA_M00095' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'GERANIOL' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-05-13 19:55:42 Duration: 9m43s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RABGGTB') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA_M00095' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'GERANIOL' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY i.sort_txt, g.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-05-13 16:00:32 Duration: 9m35s Database: ctdprd51 User: pubeu Bind query: yes
5 1s362ms 1m24s 58s179ms 26 25m12s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select t.id from term t where t.nm_fts @@ to_tsquery(?, ?) and t.object_type_id = ?) and diseaseterm.id = any (array ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?))) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ? offset ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 12 05 14 14m47s 1m3s 06 5 5m17s 1m3s 07 1 54s302ms 54s302ms 11 1 1s362ms 1s362ms May 16 10 5 4m11s 50s378ms [ User: pubeu - Total duration: 13m4s - Times executed: 14 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'METALS') AND t.object_type_id = 2) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 750;
Date: 2024-05-12 05:56:08 Duration: 1m24s Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'METALS') AND t.object_type_id = 2) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 900;
Date: 2024-05-12 06:00:04 Duration: 1m20s Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'METALS') AND t.object_type_id = 2) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 600;
Date: 2024-05-12 05:48:51 Duration: 1m16s Bind query: yes
6 1s208ms 17m33s 51s242ms 85 1h12m35s 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 #6
Day Hour Count Duration Avg duration May 12 01 1 3m35s 3m35s 10 1 1s541ms 1s541ms 14 1 1s541ms 1s541ms 18 1 3s196ms 3s196ms 20 1 1s570ms 1s570ms May 13 05 1 1s564ms 1s564ms 08 1 3s182ms 3s182ms 12 1 1s598ms 1s598ms 20 1 1s728ms 1s728ms May 14 06 1 2s778ms 2s778ms 09 1 3s249ms 3s249ms 16 1 2s363ms 2s363ms 18 1 2s37ms 2s37ms 19 1 1s636ms 1s636ms 20 1 3m36s 3m36s 21 1 2m10s 2m10s May 15 05 1 1s497ms 1s497ms 11 1 2m10s 2m10s 12 1 1s410ms 1s410ms 16 1 1s379ms 1s379ms 17 1 1s557ms 1s557ms 18 1 1s452ms 1s452ms May 16 00 1 1s414ms 1s414ms 01 1 4m48s 4m48s 08 1 8m30s 8m30s 10 1 1s316ms 1s316ms 17 2 8m28s 4m14s 18 1 1s306ms 1s306ms 23 3 6m1s 2m May 17 09 1 1s461ms 1s461ms 11 1 1s408ms 1s408ms 12 1 2s321ms 2s321ms 13 1 1s951ms 1s951ms 14 2 3s881ms 1s940ms 16 1 3s103ms 3s103ms 17 1 1s804ms 1s804ms 19 3 4s633ms 1s544ms 20 1 1s455ms 1s455ms 21 2 4s726ms 2s363ms 22 5 11s446ms 2s289ms 23 1 2s985ms 2s985ms May 18 00 2 3s430ms 1s715ms 01 2 17m35s 8m47s 02 2 3s181ms 1s590ms 04 3 3m26s 1m8s 05 2 3s426ms 1s713ms 07 4 8s573ms 2s143ms 09 1 1s942ms 1s942ms 10 2 4s480ms 2s240ms 11 1 2s944ms 2s944ms 12 1 1s752ms 1s752ms 13 1 1s308ms 1s308ms 14 1 1s386ms 1s386ms 16 2 2s925ms 1s462ms 17 3 4s181ms 1s393ms 18 1 8m26s 8m26s 19 1 3s511ms 3s511ms 22 2 1m38s 49s65ms 23 2 3s581ms 1s790ms [ User: pubeu - Total duration: 51m35s - Times executed: 63 ]
-
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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-18 01:11:28 Duration: 17m33s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-16 08:12:19 Duration: 8m30s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-18 18:52:05 Duration: 8m26s Bind query: yes
7 1s349ms 1m7s 45s16ms 11 8m15s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select t.id from term t where t.nm_fts @@ to_tsquery(?, ?) and t.object_type_id = ?) and diseaseterm.id = any (array ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?))) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 12 05 2 2m1s 1m 07 1 57s116ms 57s116ms 11 3 1m 20s151ms 23 1 56s702ms 56s702ms May 16 10 4 3m19s 49s920ms [ User: pubeu - Total duration: 3m29s - Times executed: 4 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'METALS') AND t.object_type_id = 2) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-05-12 05:34:27 Duration: 1m7s Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'METALS') AND t.object_type_id = 2) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'KIDNEY DISEASES' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-05-16 10:40:09 Duration: 57s864ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'METALS') AND t.object_type_id = 2) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'KIDNEY DISEASES' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-05-12 07:29:59 Duration: 57s116ms Bind query: yes
8 1s74ms 1m39s 40s477ms 21 14m10s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 12 03 1 1s74ms 1s74ms 18 1 1s973ms 1s973ms May 13 02 1 1m13s 1m13s 08 1 35s773ms 35s773ms 23 2 1m39s 49s593ms May 14 00 1 2s85ms 2s85ms 11 1 2s21ms 2s21ms May 15 05 1 26s129ms 26s129ms 06 1 21s101ms 21s101ms 07 1 2s846ms 2s846ms 12 1 2s54ms 2s54ms 14 1 1m35s 1m35s May 16 02 1 47s297ms 47s297ms 14 1 48s175ms 48s175ms 20 1 2s133ms 2s133ms May 17 07 1 1m25s 1m25s 08 1 1m39s 1m39s 16 1 24s988ms 24s988ms May 18 00 1 1m25s 1m25s 17 1 1m34s 1m34s [ User: pubeu - Total duration: 8m47s - Times executed: 12 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1423262')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-05-17 08:25:50 Duration: 1m39s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1421762')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-05-15 14:40:47 Duration: 1m35s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1421762')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-05-18 17:34:56 Duration: 1m34s Database: ctdprd51 User: pubeu Bind query: yes
9 32s188ms 33s419ms 32s429ms 25 13m30s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 12 06 1 33s419ms 33s419ms 10 1 32s279ms 32s279ms 14 1 32s344ms 32s344ms 18 1 32s765ms 32s765ms May 13 06 1 32s365ms 32s365ms 10 1 32s305ms 32s305ms 14 1 32s640ms 32s640ms 18 1 32s583ms 32s583ms May 14 06 1 32s252ms 32s252ms 10 1 32s347ms 32s347ms 14 1 32s586ms 32s586ms 18 1 32s304ms 32s304ms May 15 06 1 32s264ms 32s264ms 10 1 32s215ms 32s215ms 14 1 32s215ms 32s215ms 18 1 32s188ms 32s188ms May 16 06 1 32s325ms 32s325ms 10 1 32s212ms 32s212ms 14 1 32s295ms 32s295ms 18 1 32s239ms 32s239ms May 17 06 1 32s353ms 32s353ms 10 1 32s506ms 32s506ms 14 1 32s385ms 32s385ms 18 1 32s927ms 32s927ms May 18 19 1 32s409ms 32s409ms [ User: postgres - Total duration: 12m58s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 12m58s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-05-12 06:05:35 Duration: 33s419ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-05-17 18:05:35 Duration: 32s927ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-05-12 18:05:35 Duration: 32s765ms Database: ctdprd51 User: postgres Application: pg_dump
10 1s74ms 59s978ms 20s78ms 18,557 4d7h30m3s 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 #10
Day Hour Count Duration Avg duration May 12 04 1 1s694ms 1s694ms 08 32 5m7s 9s594ms 09 287 46m52s 9s799ms 10 283 48m5s 10s196ms 11 272 47m33s 10s489ms 12 262 47m23s 10s853ms 13 264 49m1s 11s141ms 14 258 49m18s 11s466ms 15 253 49m34s 11s756ms 16 247 49m40s 12s65ms 17 243 49m55s 12s326ms 18 239 50m13s 12s607ms 19 233 50m14s 12s937ms 20 229 50m22s 13s200ms 21 226 50m44s 13s469ms 22 221 50m45s 13s780ms 23 218 51m2s 14s48ms May 13 00 214 50m54s 14s272ms 01 212 51m15s 14s507ms 02 209 51m24s 14s756ms 03 206 51m26s 14s980ms 04 207 51m39s 14s973ms 05 117 30m18s 15s543ms 06 22 5m39s 15s419ms 07 187 48m46s 15s650ms 08 187 49m39s 15s931ms 09 191 51m25s 16s155ms 10 189 51m47s 16s442ms 11 188 52m2s 16s607ms 12 187 52m24s 16s816ms 13 184 51m58s 16s946ms 14 176 50m27s 17s198ms 15 180 52m37s 17s538ms 16 177 51m52s 17s587ms 17 172 51m41s 18s31ms 18 175 52m33s 18s17ms 19 173 52m54s 18s348ms 20 171 52m42s 18s495ms 21 170 52m56s 18s682ms 22 169 53m6s 18s853ms 23 166 52m56s 19s137ms May 14 00 165 53m12s 19s349ms 01 165 53m18s 19s385ms 02 163 53m27s 19s677ms 03 160 53m8s 19s927ms 04 160 53m13s 19s956ms 05 94 31m35s 20s164ms 06 90 30m31s 20s346ms 07 157 53m20s 20s383ms 08 156 53m24s 20s541ms 09 157 53m47s 20s555ms 10 147 51m11s 20s897ms 11 143 50m1s 20s989ms 12 148 52m38s 21s341ms 13 150 53m22s 21s349ms 14 151 53m54s 21s423ms 15 148 53m28s 21s680ms 16 145 52m41s 21s806ms 17 138 50m22s 21s904ms 18 147 53m59s 22s35ms 19 146 53m51s 22s132ms 20 145 53m54s 22s307ms 21 143 53m42s 22s537ms 22 142 53m58s 22s809ms 23 144 53m52s 22s447ms May 15 00 78 30m3s 23s122ms 01 1 4s792ms 4s792ms 05 13 8m28s 39s149ms 06 4 9s357ms 2s339ms 09 1 6s447ms 6s447ms 18 71 26m30s 22s398ms 19 143 54m44s 22s965ms 20 141 54m39s 23s258ms 21 141 54m52s 23s351ms 22 138 54m27s 23s674ms 23 138 54m54s 23s874ms May 16 00 138 55m4s 23s948ms 01 136 54m31s 24s58ms 02 137 55m10s 24s167ms 03 135 54m37s 24s277ms 04 135 54m53s 24s396ms 05 79 32m18s 24s542ms 06 1 23s165ms 23s165ms 07 1 2s617ms 2s617ms 09 1 6s636ms 6s636ms 10 1 2s662ms 2s662ms 11 1 1s203ms 1s203ms 12 1 2s913ms 2s913ms 16 1 1s111ms 1s111ms 19 118 47m49s 24s317ms 20 135 54m47s 24s352ms 21 134 55m 24s628ms 22 132 55m4s 25s34ms 23 132 54m59s 24s993ms May 17 00 134 55m34s 24s886ms 01 130 55m8s 25s446ms 02 131 55m9s 25s266ms 03 130 55m15s 25s500ms 04 130 55m5s 25s428ms 05 78 32m50s 25s267ms 06 1 4s250ms 4s250ms 07 1 1s149ms 1s149ms 08 45 19m21s 25s808ms 09 126 54m17s 25s851ms 10 127 54m44s 25s866ms 11 128 54m29s 25s543ms 12 125 54m7s 25s978ms 13 127 54m47s 25s882ms 14 128 55m26s 25s989ms 15 127 55m11s 26s75ms 16 126 55m7s 26s251ms 17 124 55m1s 26s622ms 18 126 55m30s 26s435ms 19 126 55m12s 26s286ms 20 125 55m19s 26s557ms 21 125 55m24s 26s597ms 22 123 55m31s 27s88ms 23 121 55m19s 27s430ms May 18 00 121 55m22s 27s454ms 01 122 55m43s 27s403ms 02 122 55m44s 27s411ms 03 119 55m30s 27s990ms 04 119 55m41s 28s79ms 05 70 32m24s 27s778ms 07 1 6s831ms 6s831ms 08 1 2s630ms 2s630ms 09 2 13s829ms 6s914ms 11 27 12m30s 27s796ms 12 120 55m33s 27s778ms 13 118 55m15s 28s100ms 14 116 54m31s 28s198ms 15 120 55m54s 27s950ms 16 119 55m50s 28s155ms 17 118 56m34s 28s762ms 18 117 55m36s 28s513ms 19 111 56m2s 30s289ms 20 116 55m36s 28s765ms 21 116 55m47s 28s854ms 22 116 56m3s 28s996ms 23 114 55m29s 29s209ms [ User: pubeu - Total duration: 2d19h47m50s - Times executed: 11455 ]
-
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 = '2064774') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8864150;
Date: 2024-05-18 17:58:36 Duration: 59s978ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-05-15 05:16:01 Duration: 54s80ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-05-15 05:15:59 Duration: 53s901ms Bind query: yes
11 1s 54s77ms 7s565ms 532 1h7m4s 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 #11
Day Hour Count Duration Avg duration May 12 00 1 6s102ms 6s102ms 01 1 2s136ms 2s136ms 03 78 9m29s 7s303ms 04 86 4m26s 3s96ms 06 1 2s581ms 2s581ms 07 1 2s366ms 2s366ms 08 2 7s982ms 3s991ms 11 1 1s41ms 1s41ms 13 1 1s357ms 1s357ms 14 5 26s871ms 5s374ms 16 1 2s666ms 2s666ms 17 1 2s150ms 2s150ms 20 1 1s963ms 1s963ms 21 1 2s123ms 2s123ms 22 1 2s252ms 2s252ms 23 2 8s39ms 4s19ms May 13 02 3 9s267ms 3s89ms 04 3 14s874ms 4s958ms 05 9 1m30s 10s61ms 07 1 2s290ms 2s290ms 08 2 4s776ms 2s388ms 09 1 1s174ms 1s174ms 10 1 1s107ms 1s107ms 11 6 18s431ms 3s71ms 15 1 5s204ms 5s204ms 17 2 8s864ms 4s432ms 19 2 7s279ms 3s639ms 20 2 5s192ms 2s596ms 22 1 2s376ms 2s376ms 23 2 7s209ms 3s604ms May 14 02 1 2s530ms 2s530ms 04 1 2s687ms 2s687ms 05 1 4s820ms 4s820ms 06 2 4s365ms 2s182ms 07 1 2s135ms 2s135ms 08 4 20s451ms 5s112ms 09 1 3s99ms 3s99ms 10 1 2s844ms 2s844ms 12 2 7s400ms 3s700ms 15 2 5s623ms 2s811ms 16 1 12s168ms 12s168ms 18 1 2s187ms 2s187ms 19 4 16s388ms 4s97ms 20 3 5s527ms 1s842ms 22 1 2s718ms 2s718ms 23 1 2s716ms 2s716ms May 15 01 1 2s354ms 2s354ms 02 1 2s163ms 2s163ms 05 63 33m34s 31s980ms 06 2 8s882ms 4s441ms 07 1 1s226ms 1s226ms 10 1 11s834ms 11s834ms 12 2 14s13ms 7s6ms 13 1 5s539ms 5s539ms 14 2 4s510ms 2s255ms 15 1 2s176ms 2s176ms 18 1 1s79ms 1s79ms May 16 01 1 2s253ms 2s253ms 05 1 5s71ms 5s71ms 06 3 6s991ms 2s330ms 07 1 3s 3s 08 2 13s158ms 6s579ms 10 1 11s953ms 11s953ms 12 1 4s14ms 4s14ms 13 5 17s4ms 3s400ms 15 1 3s25ms 3s25ms 16 1 4s231ms 4s231ms 17 2 8s542ms 4s271ms 18 1 5s45ms 5s45ms 19 1 2s526ms 2s526ms 21 2 5s534ms 2s767ms 23 2 14s880ms 7s440ms May 17 00 2 3s882ms 1s941ms 01 2 5s323ms 2s661ms 02 2 6s738ms 3s369ms 03 1 1s710ms 1s710ms 05 1 2s716ms 2s716ms 06 3 5s609ms 1s869ms 08 2 5s144ms 2s572ms 09 2 6s277ms 3s138ms 10 1 6s569ms 6s569ms 12 6 17s554ms 2s925ms 13 7 31s948ms 4s564ms 14 9 42s691ms 4s743ms 15 6 22s3ms 3s667ms 16 3 8s340ms 2s780ms 17 5 20s390ms 4s78ms 18 5 28s351ms 5s670ms 19 7 25s914ms 3s702ms 20 5 18s194ms 3s638ms 21 7 18s390ms 2s627ms 22 1 1s996ms 1s996ms 23 3 5s177ms 1s725ms May 18 00 6 28s657ms 4s776ms 01 5 15s933ms 3s186ms 02 11 28s204ms 2s564ms 03 4 20s891ms 5s222ms 04 4 19s323ms 4s830ms 05 3 11s313ms 3s771ms 06 5 11s515ms 2s303ms 07 2 6s829ms 3s414ms 08 4 11s692ms 2s923ms 09 4 13s582ms 3s395ms 10 7 29s962ms 4s280ms 11 4 24s258ms 6s64ms 12 4 10s11ms 2s502ms 13 4 17s372ms 4s343ms 14 4 21s231ms 5s307ms 15 4 17s117ms 4s279ms 16 5 13s923ms 2s784ms 17 7 21s575ms 3s82ms 18 3 10s274ms 3s424ms 19 2 9s287ms 4s643ms 20 2 4s189ms 2s94ms 21 1 2s726ms 2s726ms 22 5 18s558ms 3s711ms 23 4 13s958ms 3s489ms [ User: pubeu - Total duration: 41m58s - Times executed: 296 ]
-
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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-15 05:15:54 Duration: 54s77ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-15 05:15:54 Duration: 53s360ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-15 05:16:04 Duration: 53s165ms Bind query: yes
12 1s1ms 6s883ms 5s107ms 161 13m42s 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 #12
Day Hour Count Duration Avg duration May 12 00 1 4s796ms 4s796ms 01 1 4s792ms 4s792ms 04 1 4s923ms 4s923ms 08 3 15s494ms 5s164ms 10 3 17s834ms 5s944ms 12 2 10s695ms 5s347ms 14 1 5s699ms 5s699ms 18 1 5s409ms 5s409ms 19 1 5s236ms 5s236ms 21 1 4s992ms 4s992ms 22 1 5s266ms 5s266ms 23 1 5s206ms 5s206ms May 13 03 2 10s486ms 5s243ms 05 1 1s4ms 1s4ms 09 2 6s463ms 3s231ms 12 1 5s126ms 5s126ms 13 1 5s33ms 5s33ms 19 1 5s387ms 5s387ms 20 1 1s21ms 1s21ms 21 1 5s350ms 5s350ms 22 1 5s560ms 5s560ms 23 2 6s369ms 3s184ms May 14 00 1 1s45ms 1s45ms 01 6 33s962ms 5s660ms 02 1 5s264ms 5s264ms 03 1 5s425ms 5s425ms 04 2 10s803ms 5s401ms 07 1 5s654ms 5s654ms 08 5 27s428ms 5s485ms 10 1 5s576ms 5s576ms 11 1 5s629ms 5s629ms 14 3 16s482ms 5s494ms 18 1 5s464ms 5s464ms 21 2 11s20ms 5s510ms 23 2 11s456ms 5s728ms May 15 02 1 5s158ms 5s158ms 04 1 5s277ms 5s277ms 07 1 6s883ms 6s883ms 08 1 5s369ms 5s369ms 09 8 41s809ms 5s226ms 10 3 14s358ms 4s786ms 12 1 1s1ms 1s1ms 13 2 10s459ms 5s229ms 14 1 5s117ms 5s117ms 17 1 5s138ms 5s138ms 20 1 5s646ms 5s646ms 22 3 16s762ms 5s587ms 23 3 15s824ms 5s274ms May 16 00 1 5s535ms 5s535ms 01 8 44s155ms 5s519ms 04 3 16s700ms 5s566ms 05 4 21s42ms 5s260ms 06 1 4s284ms 4s284ms 08 1 5s197ms 5s197ms 10 1 5s197ms 5s197ms 11 2 10s541ms 5s270ms 12 4 21s69ms 5s267ms 17 1 5s330ms 5s330ms 18 1 5s274ms 5s274ms 19 1 5s729ms 5s729ms 20 2 6s822ms 3s411ms 21 2 9s742ms 4s871ms 22 1 5s724ms 5s724ms 23 1 5s381ms 5s381ms May 17 01 1 5s512ms 5s512ms 02 2 11s246ms 5s623ms 03 2 6s671ms 3s335ms 04 2 11s225ms 5s612ms 05 1 5s950ms 5s950ms 08 2 10s445ms 5s222ms 09 2 11s714ms 5s857ms 10 1 5s400ms 5s400ms 11 1 5s606ms 5s606ms 14 4 22s102ms 5s525ms 16 2 11s460ms 5s730ms 17 4 17s396ms 4s349ms 18 1 1s103ms 1s103ms 22 1 5s741ms 5s741ms 23 2 6s510ms 3s255ms May 18 00 1 5s482ms 5s482ms 01 1 5s492ms 5s492ms 02 3 16s100ms 5s366ms 03 1 5s710ms 5s710ms 04 1 5s708ms 5s708ms 09 3 15s213ms 5s71ms 11 1 4s859ms 4s859ms 12 1 5s652ms 5s652ms 14 1 5s323ms 5s323ms 17 1 5s672ms 5s672ms 19 1 5s146ms 5s146ms [ User: pubeu - Total duration: 7m52s - Times executed: 92 ]
-
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 = '1384112' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-15 07:58:53 Duration: 6s883ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1277159' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-12 10:03:51 Duration: 6s599ms 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 = '1412974' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-17 05:37:24 Duration: 5s950ms Database: ctdprd51 User: pubeu Bind query: yes
13 1s8ms 20s340ms 4s710ms 276 21m40s 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 #13
Day Hour Count Duration Avg duration May 12 00 2 18s888ms 9s444ms 01 3 5s403ms 1s801ms 03 1 7s651ms 7s651ms 04 1 1s556ms 1s556ms 05 1 1s765ms 1s765ms 06 2 2s374ms 1s187ms 08 1 5s629ms 5s629ms 09 4 42s931ms 10s732ms 11 3 22s32ms 7s344ms 12 1 1s72ms 1s72ms 13 4 23s3ms 5s750ms 16 1 1s88ms 1s88ms 17 2 2s941ms 1s470ms 19 2 2s94ms 1s47ms 22 2 7s691ms 3s845ms 23 1 8s42ms 8s42ms May 13 00 4 12s845ms 3s211ms 01 1 1s77ms 1s77ms 04 2 2s523ms 1s261ms 06 3 20s982ms 6s994ms 08 2 12s616ms 6s308ms 10 7 13s535ms 1s933ms 11 4 31s624ms 7s906ms 12 2 2s142ms 1s71ms 13 4 19s538ms 4s884ms 15 1 1s564ms 1s564ms 16 1 1s621ms 1s621ms 17 4 14s750ms 3s687ms 18 2 2s404ms 1s202ms 19 3 3s480ms 1s160ms 20 4 41s987ms 10s496ms May 14 00 1 1s56ms 1s56ms 01 4 24s813ms 6s203ms 02 3 7s823ms 2s607ms 03 1 7s982ms 7s982ms 04 2 2s350ms 1s175ms 05 3 23s392ms 7s797ms 06 3 3s588ms 1s196ms 07 1 1s318ms 1s318ms 08 2 3s902ms 1s951ms 09 1 1s101ms 1s101ms 10 2 20s119ms 10s59ms 11 3 39s712ms 13s237ms 12 3 3s454ms 1s151ms 13 1 1s55ms 1s55ms 15 2 21s871ms 10s935ms 16 4 25s493ms 6s373ms 17 1 1s79ms 1s79ms 19 1 2s775ms 2s775ms 20 3 11s56ms 3s685ms 21 5 26s275ms 5s255ms 22 2 2s314ms 1s157ms 23 4 1m1s 15s381ms May 15 00 2 19s141ms 9s570ms 01 3 3s171ms 1s57ms 02 3 5s387ms 1s795ms 03 2 2s652ms 1s326ms 04 1 1s594ms 1s594ms 05 2 2s325ms 1s162ms 06 4 4s400ms 1s100ms 07 2 2s302ms 1s151ms 08 1 7s513ms 7s513ms 10 1 1s294ms 1s294ms 12 3 20s210ms 6s736ms 13 1 1s58ms 1s58ms 14 1 7s632ms 7s632ms 15 1 1s40ms 1s40ms 16 1 1s68ms 1s68ms 18 2 2s781ms 1s390ms 19 2 20s113ms 10s56ms 20 1 19s8ms 19s8ms 21 2 2s133ms 1s66ms May 16 00 3 11s928ms 3s976ms 01 2 9s6ms 4s503ms 02 2 4s419ms 2s209ms 03 1 1s528ms 1s528ms 04 1 3s256ms 3s256ms 05 1 1s39ms 1s39ms 06 1 1s636ms 1s636ms 08 3 20s207ms 6s735ms 11 1 1s604ms 1s604ms 12 2 25s571ms 12s785ms 14 1 8s549ms 8s549ms 15 1 3s221ms 3s221ms 16 4 45s191ms 11s297ms 17 4 21s640ms 5s410ms 18 1 1s128ms 1s128ms 19 2 4s293ms 2s146ms 21 2 3s876ms 1s938ms 23 1 3s274ms 3s274ms May 17 00 2 20s646ms 10s323ms 01 2 3s930ms 1s965ms 02 1 1s71ms 1s71ms 03 2 16s393ms 8s196ms 04 4 48s130ms 12s32ms 06 2 2s674ms 1s337ms 07 1 3s178ms 3s178ms 08 1 2s592ms 2s592ms 09 4 4s559ms 1s139ms 10 2 4s273ms 2s136ms 12 1 3s287ms 3s287ms 13 2 3s838ms 1s919ms 15 5 43s92ms 8s618ms 16 2 8s867ms 4s433ms 17 3 21s701ms 7s233ms 18 3 7s250ms 2s416ms 19 2 20s334ms 10s167ms 21 2 2s483ms 1s241ms 22 1 1s267ms 1s267ms May 18 00 3 10s204ms 3s401ms 01 5 29s359ms 5s871ms 03 2 4s320ms 2s160ms 04 1 18s932ms 18s932ms 05 1 3s861ms 3s861ms 07 2 4s617ms 2s308ms 08 3 19s926ms 6s642ms 09 3 4s276ms 1s425ms 10 3 7s768ms 2s589ms 11 1 7s701ms 7s701ms 12 2 4s262ms 2s131ms 13 1 1s708ms 1s708ms 17 1 1s675ms 1s675ms 19 2 11s781ms 5s890ms 20 2 2s159ms 1s79ms 21 3 11s109ms 3s703ms 22 1 3s291ms 3s291ms 23 3 6s382ms 2s127ms [ User: pubeu - Total duration: 15m39s - Times executed: 178 ]
-
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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-12 09:16:19 Duration: 20s340ms 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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-12 09:16:17 Duration: 20s218ms 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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-12 13:20:16 Duration: 19s808ms Database: ctdprd51 User: pubeu Bind query: yes
14 1s16ms 13s698ms 4s557ms 140 10m38s select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 12 03 77 7m38s 5s949ms 04 18 29s131ms 1s618ms May 15 05 42 2m24s 3s429ms May 17 09 3 6s731ms 2s243ms [ User: pubeu - Total duration: 3m7s - Times executed: 37 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2075488');
Date: 2024-05-12 03:58:48 Duration: 13s698ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2064559');
Date: 2024-05-12 03:58:49 Duration: 13s21ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2071350');
Date: 2024-05-12 03:58:49 Duration: 12s920ms Bind query: yes
15 1s112ms 44s614ms 4s218ms 49 3m26s 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 #15
Day Hour Count Duration Avg duration May 12 04 1 1s528ms 1s528ms 19 2 3s177ms 1s588ms May 13 04 3 11s473ms 3s824ms 05 7 51s110ms 7s301ms 11 3 4s886ms 1s628ms 17 1 26s638ms 26s638ms 22 1 44s614ms 44s614ms May 14 02 4 4s631ms 1s157ms 03 11 12s747ms 1s158ms 20 1 4s263ms 4s263ms 21 1 4s231ms 4s231ms 22 1 7s626ms 7s626ms May 15 00 2 2s289ms 1s144ms 06 2 14s459ms 7s229ms 23 1 1s158ms 1s158ms May 16 08 2 2s401ms 1s200ms 15 1 1s603ms 1s603ms 19 2 2s797ms 1s398ms May 17 09 1 1s948ms 1s948ms May 18 09 1 1s612ms 1s612ms 14 1 1s496ms 1s496ms [ User: pubeu - Total duration: 2m41s - Times executed: 30 ]
-
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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-13 22:53:31 Duration: 44s614ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-13 05:38:13 Duration: 41s536ms 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 = '2076831') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-13 17:06:56 Duration: 26s638ms Database: ctdprd51 User: pubeu Bind query: yes
16 3s713ms 16s371ms 4s54ms 278 18m47s 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 #16
Day Hour Count Duration Avg duration May 12 00 1 3s815ms 3s815ms 03 4 15s669ms 3s917ms 04 1 3s929ms 3s929ms 08 3 11s692ms 3s897ms 10 1 3s992ms 3s992ms 11 5 20s97ms 4s19ms 12 3 11s956ms 3s985ms 13 1 4s3ms 4s3ms 15 1 4s30ms 4s30ms 20 1 3s979ms 3s979ms 22 8 31s755ms 3s969ms 23 7 27s711ms 3s958ms May 13 00 4 15s843ms 3s960ms 01 3 12s115ms 4s38ms 02 4 16s261ms 4s65ms 04 6 24s28ms 4s4ms 05 2 8s181ms 4s90ms 06 3 11s771ms 3s923ms 07 3 12s609ms 4s203ms 08 12 47s460ms 3s955ms 09 2 7s887ms 3s943ms 10 3 12s705ms 4s235ms 11 3 12s123ms 4s41ms 12 6 23s934ms 3s989ms 13 1 4s30ms 4s30ms 15 1 4s9ms 4s9ms 17 3 12s252ms 4s84ms 18 3 12s222ms 4s74ms 19 1 3s993ms 3s993ms 22 1 4s116ms 4s116ms 23 4 17s169ms 4s292ms May 14 00 3 11s985ms 3s995ms 01 4 15s783ms 3s945ms 02 1 4s9ms 4s9ms 03 1 4s216ms 4s216ms 04 3 12s77ms 4s25ms 05 2 8s233ms 4s116ms 06 2 7s957ms 3s978ms 07 4 16s610ms 4s152ms 08 4 16s101ms 4s25ms 09 1 4s57ms 4s57ms 10 1 4s34ms 4s34ms 12 3 11s915ms 3s971ms 14 3 12s277ms 4s92ms 15 1 3s994ms 3s994ms 16 1 3s953ms 3s953ms 17 1 3s932ms 3s932ms 19 1 3s974ms 3s974ms 21 1 4s168ms 4s168ms 22 2 8s56ms 4s28ms May 15 02 3 11s903ms 3s967ms 03 2 7s537ms 3s768ms 04 4 15s740ms 3s935ms 05 2 7s898ms 3s949ms 07 2 9s282ms 4s641ms 08 3 11s193ms 3s731ms 09 2 7s801ms 3s900ms 11 1 4s21ms 4s21ms 12 1 4s 4s 13 2 8s26ms 4s13ms 14 1 4s21ms 4s21ms 15 1 3s936ms 3s936ms 19 3 11s910ms 3s970ms 21 1 4s40ms 4s40ms 22 16 1m3s 3s978ms 23 1 3s966ms 3s966ms May 16 01 1 4s70ms 4s70ms 02 4 16s2ms 4s 03 2 7s960ms 3s980ms 04 5 19s997ms 3s999ms 05 1 3s816ms 3s816ms 06 1 3s964ms 3s964ms 07 1 3s895ms 3s895ms 08 2 7s878ms 3s939ms 09 2 7s931ms 3s965ms 10 1 3s908ms 3s908ms 13 1 4s191ms 4s191ms 14 3 11s851ms 3s950ms 15 3 24s140ms 8s46ms 16 1 3s876ms 3s876ms 20 1 3s952ms 3s952ms 21 2 8s468ms 4s234ms 22 1 4s67ms 4s67ms 23 3 12s492ms 4s164ms May 17 00 2 8s51ms 4s25ms 01 2 8s59ms 4s29ms 02 1 3s930ms 3s930ms 04 2 8s7ms 4s3ms 05 1 3s988ms 3s988ms 06 1 4s27ms 4s27ms 07 3 11s861ms 3s953ms 09 1 4s135ms 4s135ms 11 1 4s55ms 4s55ms 12 1 4s92ms 4s92ms 13 3 12s177ms 4s59ms 14 1 4s6ms 4s6ms 15 3 11s935ms 3s978ms 16 1 4s92ms 4s92ms 17 2 7s954ms 3s977ms 19 1 3s941ms 3s941ms 23 1 3s901ms 3s901ms May 18 00 1 3s954ms 3s954ms 01 2 7s952ms 3s976ms 02 1 3s955ms 3s955ms 04 2 7s855ms 3s927ms 06 4 15s860ms 3s965ms 07 1 3s975ms 3s975ms 08 1 3s926ms 3s926ms 09 1 4s92ms 4s92ms 10 1 4s52ms 4s52ms 12 1 3s887ms 3s887ms 13 4 15s845ms 3s961ms 14 4 16s145ms 4s36ms 15 6 23s802ms 3s967ms 18 1 3s919ms 3s919ms 23 1 5s719ms 5s719ms [ User: pubeu - Total duration: 10m40s - Times executed: 160 ]
-
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 = '1384112') 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 = '1384112') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-16 15:06:04 Duration: 16s371ms 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 = '1329725') 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 = '1329725') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-18 23:12:38 Duration: 5s719ms 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 = '1379382') 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 = '1379382') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-05-15 07:59:07 Duration: 5s338ms Bind query: yes
17 1s208ms 8s698ms 3s350ms 126 7m2s 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 May 12 00 1 2s768ms 2s768ms 04 1 1s755ms 1s755ms 08 1 1s838ms 1s838ms 09 1 1s425ms 1s425ms 10 6 24s915ms 4s152ms 11 1 6s75ms 6s75ms 12 2 9s496ms 4s748ms 13 1 6s50ms 6s50ms 14 1 1s667ms 1s667ms 17 1 2s11ms 2s11ms 18 2 12s8ms 6s4ms 22 3 6s797ms 2s265ms 23 1 2s139ms 2s139ms May 13 01 2 8s859ms 4s429ms 03 1 1s743ms 1s743ms 07 1 5s992ms 5s992ms 09 1 2s13ms 2s13ms 10 1 2s90ms 2s90ms 12 1 1s874ms 1s874ms 13 3 7s457ms 2s485ms 14 1 2s26ms 2s26ms 15 1 1s867ms 1s867ms 16 1 2s851ms 2s851ms 19 1 1s883ms 1s883ms May 14 00 1 2s836ms 2s836ms 01 1 1s665ms 1s665ms 02 1 2s155ms 2s155ms 04 1 5s995ms 5s995ms 07 1 1s694ms 1s694ms 15 1 6s80ms 6s80ms 17 1 3s332ms 3s332ms 18 1 5s976ms 5s976ms 20 1 1s339ms 1s339ms 22 3 11s6ms 3s668ms May 15 00 1 2s731ms 2s731ms 02 2 8s726ms 4s363ms 05 1 6s150ms 6s150ms 07 1 3s685ms 3s685ms 09 1 3s224ms 3s224ms 10 1 5s971ms 5s971ms 12 1 1s818ms 1s818ms 15 1 3s303ms 3s303ms 17 1 1s806ms 1s806ms 20 1 2s143ms 2s143ms 21 1 5s941ms 5s941ms 22 1 2s66ms 2s66ms May 16 01 1 1s347ms 1s347ms 03 2 7s232ms 3s616ms 04 4 10s746ms 2s686ms 05 1 6s51ms 6s51ms 08 1 3s216ms 3s216ms 10 2 5s564ms 2s782ms 12 1 1s811ms 1s811ms 13 1 5s917ms 5s917ms 14 4 14s587ms 3s646ms 15 1 5s886ms 5s886ms 16 2 9s76ms 4s538ms 18 1 1s963ms 1s963ms 20 1 1s884ms 1s884ms 21 1 3s245ms 3s245ms 22 1 1s832ms 1s832ms 23 1 6s61ms 6s61ms May 17 00 1 5s952ms 5s952ms 01 3 7s855ms 2s618ms 02 1 1s987ms 1s987ms 03 3 10s929ms 3s643ms 04 1 1s901ms 1s901ms 05 1 6s48ms 6s48ms 12 1 2s22ms 2s22ms 13 2 9s290ms 4s645ms 16 1 2s739ms 2s739ms 17 3 7s61ms 2s353ms 18 4 12s808ms 3s202ms 20 1 1s841ms 1s841ms 21 1 2s817ms 2s817ms 22 3 13s279ms 4s426ms 23 2 4s507ms 2s253ms May 18 00 2 9s272ms 4s636ms 03 2 9s216ms 4s608ms 05 3 8s194ms 2s731ms 06 1 2s752ms 2s752ms 09 1 1s706ms 1s706ms 10 1 2s749ms 2s749ms 11 1 1s852ms 1s852ms 14 1 1s627ms 1s627ms [ User: pubeu - Total duration: 4m44s - Times executed: 84 ]
-
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 = '1384112'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-05-12 10:03:50 Duration: 8s698ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1384112'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-05-12 12:04:06 Duration: 6s190ms 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 = '1384112'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-05-15 05:38:24 Duration: 6s150ms Bind query: yes
18 1s7ms 5s93ms 3s328ms 46 2m33s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 12 03 5 6s754ms 1s350ms 05 6 7s351ms 1s225ms May 13 04 1 4s808ms 4s808ms 06 2 2s43ms 1s21ms 08 2 9s428ms 4s714ms May 14 06 6 12s914ms 2s152ms 15 1 4s744ms 4s744ms May 16 15 3 14s40ms 4s680ms 18 2 9s366ms 4s683ms May 17 01 2 9s473ms 4s736ms 17 6 25s76ms 4s179ms May 18 15 4 18s847ms 4s711ms 18 3 14s139ms 4s713ms 22 3 14s140ms 4s713ms [ User: pubeu - Total duration: 1m27s - Times executed: 25 ]
[ User: qaeu - Total duration: 1s8ms - Times executed: 1 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PAL_GLEAN10023034') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PAL_GLEAN10023034') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PAL_GLEAN10023034')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PAL_GLEAN10023034')) ii GROUP BY ii.cd;
Date: 2024-05-17 17:55:34 Duration: 5s93ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'BIO1_000325') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'BIO1_000325') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BIO1_000325')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'BIO1_000325')) ii GROUP BY ii.cd;
Date: 2024-05-13 04:28:14 Duration: 4s808ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'EPR50_G00126680') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'EPR50_G00126680') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'EPR50_G00126680')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'EPR50_G00126680')) ii GROUP BY ii.cd;
Date: 2024-05-17 01:36:10 Duration: 4s750ms Bind query: yes
19 1s25ms 13s13ms 2s943ms 141 6m55s 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 #19
Day Hour Count Duration Avg duration May 12 03 1 1s761ms 1s761ms 04 1 1s293ms 1s293ms 05 3 7s357ms 2s452ms 06 2 2s692ms 1s346ms 07 1 1s717ms 1s717ms 09 2 4s41ms 2s20ms 10 6 31s577ms 5s262ms 12 1 1s56ms 1s56ms 15 1 1s314ms 1s314ms 17 1 2s958ms 2s958ms 18 1 5s293ms 5s293ms May 13 00 2 3s240ms 1s620ms 05 3 14s762ms 4s920ms 07 1 5s171ms 5s171ms 09 1 2s883ms 2s883ms 13 2 5s268ms 2s634ms 14 1 2s895ms 2s895ms 17 1 1s76ms 1s76ms 18 1 1s703ms 1s703ms 21 1 1s346ms 1s346ms 22 1 1s165ms 1s165ms 23 2 8s851ms 4s425ms May 14 01 1 1s57ms 1s57ms 04 1 3s700ms 3s700ms 05 2 4s355ms 2s177ms 07 1 1s25ms 1s25ms 08 1 5s126ms 5s126ms 13 1 1s307ms 1s307ms 14 4 12s484ms 3s121ms 15 1 1s397ms 1s397ms 17 1 2s806ms 2s806ms 18 1 2s963ms 2s963ms 21 1 5s244ms 5s244ms 22 1 2s681ms 2s681ms May 15 04 2 3s891ms 1s945ms 05 1 13s13ms 13s13ms 06 2 2s946ms 1s473ms 07 6 18s248ms 3s41ms 10 1 1s277ms 1s277ms 11 1 1s279ms 1s279ms 18 2 5s37ms 2s518ms 19 2 5s749ms 2s874ms 22 1 3s894ms 3s894ms 23 1 2s540ms 2s540ms May 16 00 1 1s503ms 1s503ms 01 2 6s298ms 3s149ms 02 1 2s978ms 2s978ms 10 2 2s777ms 1s388ms 12 1 2s854ms 2s854ms 13 2 4s784ms 2s392ms 16 2 7s634ms 3s817ms 18 3 5s477ms 1s825ms 19 3 9s420ms 3s140ms 20 1 5s205ms 5s205ms 22 1 2s874ms 2s874ms 23 5 11s501ms 2s300ms May 17 01 1 5s279ms 5s279ms 02 3 10s386ms 3s462ms 03 2 5s356ms 2s678ms 05 1 1s659ms 1s659ms 06 1 1s308ms 1s308ms 08 1 1s305ms 1s305ms 10 1 1s67ms 1s67ms 12 2 8s171ms 4s85ms 13 3 5s932ms 1s977ms 15 2 7s847ms 3s923ms 16 2 6s516ms 3s258ms 18 2 2s91ms 1s45ms 19 1 1s719ms 1s719ms 20 2 4s864ms 2s432ms 21 4 20s580ms 5s145ms 23 1 3s883ms 3s883ms May 18 02 3 11s921ms 3s973ms 03 3 9s135ms 3s45ms 04 2 5s129ms 2s564ms 05 1 2s759ms 2s759ms 06 2 4s415ms 2s207ms 09 1 2s457ms 2s457ms 11 1 2s897ms 2s897ms 15 1 5s317ms 5s317ms 22 1 1s383ms 1s383ms 23 2 6s922ms 3s461ms [ User: pubeu - Total duration: 4m14s - Times executed: 83 ]
-
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 = '1421762') 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 = '1421762') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-05-15 05:15:16 Duration: 13s13ms Database: ctdprd51 User: pubeu 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 = '1384112') 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 = '1384112') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-05-12 10:03:49 Duration: 8s347ms 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 = '1421762') 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 = '1421762') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-05-12 10:03:47 Duration: 6s914ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s2ms 4s505ms 2s534ms 43 1m49s with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 12 05 4 11s628ms 2s907ms 10 1 1s28ms 1s28ms May 13 05 3 7s807ms 2s602ms 06 1 3s255ms 3s255ms 14 3 10s208ms 3s402ms May 14 05 4 8s808ms 2s202ms 10 1 3s327ms 3s327ms 14 1 1s925ms 1s925ms May 15 05 4 8s780ms 2s195ms May 16 05 4 8s740ms 2s185ms 11 3 9s948ms 3s316ms 12 1 1s941ms 1s941ms 18 1 2s442ms 2s442ms 22 1 2s408ms 2s408ms May 17 05 3 7s710ms 2s570ms 07 2 3s867ms 1s933ms May 18 05 4 8s694ms 2s173ms 11 2 6s475ms 3s237ms [ User: pubeu - Total duration: 57s93ms - Times executed: 19 ]
[ User: qaeu - Total duration: 24s793ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '589128' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-05-12 05:40:16 Duration: 4s505ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '589128' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-05-12 05:35:22 Duration: 3s956ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '649218' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-05-13 14:14:46 Duration: 3s510ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 35s609ms 2 17s804ms 17s804ms 17s804ms WITH gene_sq AS ( SELECT DISTINCT cdr.via_gene_id;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration May 18 05 2 35s609ms 17s804ms -
WITH gene_sq AS ( SELECT DISTINCT cdr.via_gene_id;
Date: 2024-05-12 05:39:37 Duration: 17s804ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 9s47ms 6 1s27ms 1s792ms 1s507ms SELECT /* ReferenceCitedGenesDAO */ ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration May 18 05 6 9s47ms 1s507ms -
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2024-05-12 05:52:44 Duration: 1s792ms Database: postgres parameters: $1 = '1288120'
-
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2024-05-12 05:43:11 Duration: 1s703ms Database: postgres parameters: $1 = 'HOMO SAPIENS'
-
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2024-05-12 05:49:43 Duration: 1s27ms Database: postgres
2 4s886ms 4 1s148ms 1s294ms 1s221ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 04 4 4s886ms 1s221ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-05-12 05:59:17 Duration: 1s294ms Database: postgres parameters: $1 = '1427909', $2 = '1427909'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-05-12 05:48:51 Duration: 1s148ms Database: postgres parameters: $1 = '1403010', $2 = '1403010'
3 2s228ms 2 1s114ms 1s114ms 1s114ms SELECT /* GeneDiseaseChemsDAO */ ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 04 2 2s228ms 1s114ms -
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2024-05-12 05:56:51 Duration: 1s114ms Database: postgres parameters: $1 = '1384112'
4 2s28ms 2 1s14ms 1s14ms 1s14ms SELECT /* GeneDiseaseRefsDAO */ ;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 04 2 2s28ms 1s14ms -
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2024-05-12 05:52:06 Duration: 1s14ms Database: postgres
5 0ms 392 0ms 0ms 0ms ;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration May 11 07 1 0ms 0ms 12 2 0ms 0ms May 12 03 4 0ms 0ms 05 2 0ms 0ms 06 2 0ms 0ms 08 12 0ms 0ms 09 10 0ms 0ms 11 10 0ms 0ms 12 16 0ms 0ms May 13 06 2 0ms 0ms 07 24 0ms 0ms 08 18 0ms 0ms 09 4 0ms 0ms 10 4 0ms 0ms 13 4 0ms 0ms 14 12 0ms 0ms 16 4 0ms 0ms 17 8 0ms 0ms May 14 10 14 0ms 0ms 11 24 0ms 0ms 12 4 0ms 0ms 16 6 0ms 0ms 17 20 0ms 0ms May 15 07 4 0ms 0ms 08 2 0ms 0ms 11 2 0ms 0ms 16 2 0ms 0ms May 16 05 2 0ms 0ms 06 8 0ms 0ms 07 2 0ms 0ms 08 6 0ms 0ms 10 4 0ms 0ms 11 8 0ms 0ms 12 2 0ms 0ms 13 4 0ms 0ms 14 6 0ms 0ms 16 10 0ms 0ms 17 8 0ms 0ms May 17 06 15 0ms 0ms 07 27 0ms 0ms 08 9 0ms 0ms 09 6 0ms 0ms 10 3 0ms 0ms 11 9 0ms 0ms 12 12 0ms 0ms 13 9 0ms 0ms 14 6 0ms 0ms 15 3 0ms 0ms 17 6 0ms 0ms May 18 11 3 0ms 0ms 14 6 0ms 0ms May 19 00 1 0ms 0ms [ User: pubeu - Total duration: 43m56s - Times executed: 263 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '1829564', $2 = '1829564'
-
Events
Log levels
Key values
- 177,976 Log entries
Events distribution
Key values
- 0 PANIC entries
- 43 FATAL entries
- 110 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 41 Max number of times the same event was reported
- 153 Total events found
Rank Times reported Error 1 41 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #1
Day Hour Count May 12 05 27 06 13 May 18 01 1 - ERROR: could not send data to client: Broken pipe
- ERROR: could not send data to client: Broken pipe
Statement: select distinct phenotypeTerm.nm AS goNm ,phenotypeTerm.nm_html AS goNmHtml ,phenotypeTerm.acc_txt AS goAcc ,diseaseTerm.nm AS diseaseNm ,diseaseTerm.nm_html AS diseaseNmHtml ,diseaseTerm.acc_txt AS diseaseAcc ,diseaseTerm.acc_db_cd AS diseaseAccDbCd ,chemTerm.nm AS chemNm ,chemTerm.nm_html AS chemNmHtml ,chemTerm.acc_txt AS chemAcc ,geneTerm.nm AS geneSymbol ,geneTerm.nm_html AS geneSymbolHtml ,geneTerm.acc_txt AS geneAcc ,COUNT(*) OVER() fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR ,PHENOTYPE_TERM_REFERENCE viaGenePTR ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops','METALS') AND t.object_type_id = 2 ) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3 ) ) ) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id ) GROUP BY phenotypeTerm.nm ,phenotypeTerm.nm_html ,phenotypeTerm.acc_txt ,diseaseTerm.nm ,diseaseTerm.nm_html ,diseaseTerm.acc_txt ,diseaseTerm.acc_db_cd ,chemTerm.nm ,chemTerm.nm_html ,chemTerm.acc_txt ,geneTerm.nm ,geneTerm.nm_html ,geneTerm.acc_txt order by chemTerm.nm
Date: 2024-05-12 06:01:30 Database: ctdprd51 Application: User: pubeu Remote:
Statement: select distinct phenotypeTerm.nm AS goNm ,phenotypeTerm.nm_html AS goNmHtml ,phenotypeTerm.acc_txt AS goAcc ,diseaseTerm.nm AS diseaseNm ,diseaseTerm.nm_html AS diseaseNmHtml ,diseaseTerm.acc_txt AS diseaseAcc ,diseaseTerm.acc_db_cd AS diseaseAccDbCd ,chemTerm.nm AS chemNm ,chemTerm.nm_html AS chemNmHtml ,chemTerm.acc_txt AS chemAcc ,geneTerm.nm AS geneSymbol ,geneTerm.nm_html AS geneSymbolHtml ,geneTerm.acc_txt AS geneAcc ,COUNT(*) OVER() fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR ,PHENOTYPE_TERM_REFERENCE viaGenePTR ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops','METALS') AND t.object_type_id = 2 ) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and upper( baseTerm.nm ) LIKE 'INSULIN RESISTANCE' ) ) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id ) GROUP BY phenotypeTerm.nm ,phenotypeTerm.nm_html ,phenotypeTerm.acc_txt ,diseaseTerm.nm ,diseaseTerm.nm_html ,diseaseTerm.acc_txt ,diseaseTerm.acc_db_cd ,chemTerm.nm ,chemTerm.nm_html ,chemTerm.acc_txt ,geneTerm.nm ,geneTerm.nm_html ,geneTerm.acc_txt order by chemTerm.nm
Date: 2024-05-12 06:06:05 Database: ctdprd51 Application: User: pubeu Remote:
2 41 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #2
Day Hour Count May 12 05 27 06 13 May 18 01 1 - FATAL: connection to client lost
- FATAL: connection to client lost
Statement: select distinct phenotypeTerm.nm AS goNm ,phenotypeTerm.nm_html AS goNmHtml ,phenotypeTerm.acc_txt AS goAcc ,diseaseTerm.nm AS diseaseNm ,diseaseTerm.nm_html AS diseaseNmHtml ,diseaseTerm.acc_txt AS diseaseAcc ,diseaseTerm.acc_db_cd AS diseaseAccDbCd ,chemTerm.nm AS chemNm ,chemTerm.nm_html AS chemNmHtml ,chemTerm.acc_txt AS chemAcc ,geneTerm.nm AS geneSymbol ,geneTerm.nm_html AS geneSymbolHtml ,geneTerm.acc_txt AS geneAcc ,COUNT(*) OVER() fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR ,PHENOTYPE_TERM_REFERENCE viaGenePTR ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops','METALS') AND t.object_type_id = 2 ) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3 ) ) ) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id ) GROUP BY phenotypeTerm.nm ,phenotypeTerm.nm_html ,phenotypeTerm.acc_txt ,diseaseTerm.nm ,diseaseTerm.nm_html ,diseaseTerm.acc_txt ,diseaseTerm.acc_db_cd ,chemTerm.nm ,chemTerm.nm_html ,chemTerm.acc_txt ,geneTerm.nm ,geneTerm.nm_html ,geneTerm.acc_txt order by chemTerm.nm
Date: 2024-05-12 06:01:30
Statement: select distinct phenotypeTerm.nm AS goNm ,phenotypeTerm.nm_html AS goNmHtml ,phenotypeTerm.acc_txt AS goAcc ,diseaseTerm.nm AS diseaseNm ,diseaseTerm.nm_html AS diseaseNmHtml ,diseaseTerm.acc_txt AS diseaseAcc ,diseaseTerm.acc_db_cd AS diseaseAccDbCd ,chemTerm.nm AS chemNm ,chemTerm.nm_html AS chemNmHtml ,chemTerm.acc_txt AS chemAcc ,geneTerm.nm AS geneSymbol ,geneTerm.nm_html AS geneSymbolHtml ,geneTerm.acc_txt AS geneAcc ,COUNT(*) OVER() fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR ,PHENOTYPE_TERM_REFERENCE viaGenePTR ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops','METALS') AND t.object_type_id = 2 ) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and upper( baseTerm.nm ) LIKE 'INSULIN RESISTANCE' ) ) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id ) GROUP BY phenotypeTerm.nm ,phenotypeTerm.nm_html ,phenotypeTerm.acc_txt ,diseaseTerm.nm ,diseaseTerm.nm_html ,diseaseTerm.acc_txt ,diseaseTerm.acc_db_cd ,chemTerm.nm ,chemTerm.nm_html ,chemTerm.acc_txt ,geneTerm.nm ,geneTerm.nm_html ,geneTerm.acc_txt order by chemTerm.nm
Date: 2024-05-12 06:06:05
3 40 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #3
Day Hour Count May 12 05 39 06 1 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT pg_database_size(datname::text) FROM pg_catalog.pg_database WHERE datistemplate = false AND datname = $1;
Date: 2024-05-12 05:34:09
Statement: SELECT row_to_json (T) FROM ( SELECT checkpoints_timed , checkpoints_req , checkpoint_write_time , checkpoint_sync_time , buffers_checkpoint , buffers_clean , maxwritten_clean , buffers_backend , buffers_backend_fsync , buffers_alloc FROM pg_catalog.pg_stat_bgwriter ) T ;
Date: 2024-05-12 05:46:08 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT row_to_json(T) FROM ( SELECT CASE WHEN pg_is_in_recovery() THEN 0 ELSE pg_wal_lsn_diff(pg_current_wal_lsn(),'0/00000000') END AS WRITE, CASE WHEN NOT pg_is_in_recovery() THEN 0 ELSE pg_wal_lsn_diff(pg_last_wal_receive_lsn(),'0/00000000') END AS RECEIVE, count(*) FROM pg_ls_waldir() AS COUNT ) T;
Date: 2024-05-12 06:01:11 Database: postgres Application: User: zbx_monitor Remote:
4 10 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #4
Day Hour Count May 12 04 9 23 1 - ERROR: column "taxoncountinhhyt" does not exist at character 2634
- ERROR: column "inferredcountdi92ms" does not exist at character 2634
- ERROR: column "phenotypevhk46m" does not exist at character 2634
Statement: 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 = $1 and ptr.term_object_type_id = 4 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount order by taxonCountinhhyt LIMIT 50
Date: 2024-05-12 04:47:58
Statement: 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 = $1 and ptr.term_object_type_id = 4 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount order by inferredCountdi92ms LIMIT 50
Date: 2024-05-12 04:48:58 Database: ctdprd51 Application: User: pubeu Remote:
Statement: 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 = $1 and ptr.term_object_type_id = 4 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount order by phenotypevhk46m LIMIT 50
Date: 2024-05-12 04:49:02
5 9 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #5
Day Hour Count May 12 03 5 04 4 - ERROR: syntax error in ts"><V8KHT8>"
- ERROR: syntax error in ts"><JWPCYH>"
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 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-05-12 03:54:31
Statement: 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 ( event.exp_marker_term_id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ABC123' AND tl.object_type_id = 2 ) ) ) or stressor.chem_id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ABC123' AND tl.object_type_id = 2 ) ) ) ) and ( event.exp_marker_term_id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ABC123' AND tl.object_type_id = 2 ) ) ) or stressor.chem_id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ABC123' AND tl.object_type_id = 2 ) ) ) ) and ( event.exp_marker_term_id in ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ABC123' AND tl.object_type_id = 4 ) ) or receptor.term_id in ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ABC123' AND tl.object_type_id = 4 ) ) ) and ( outcome.disease_id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ABC123' AND tl.object_type_id = 3 ) ) ) or receptor.term_id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ABC123' AND tl.object_type_id = 3 ) ) ) ) and ( outcome.phenotype_id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ABC123' AND tl.object_type_id = 5 ) ) ) or receptor.term_id in ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ABC123' AND tl.object_type_id = 5 ) ) ) ) and r.id in ( select id from reference where acc_txt in ('ABC123') ) and r.id in ( (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE 'ABC123' ) ) and r.id in ( select id from reference r where r.title_abstract_fts @@ to_tsquery('pg_catalog.english','><JWPCYH>') ) 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, abbrAuthorsTxt LIMIT 50
Date: 2024-05-12 03:57:58
6 9 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count May 12 04 9 - ERROR: syntax error at or near "c" at character 2642
- ERROR: syntax error at or near "c" at character 2642
- ERROR: syntax error at or near "c" at character 2642
Statement: 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 = $1 and ptr.term_object_type_id = 4 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount order by d9ze4a%3c%78%73%31<
Date: 2024-05-12 04:47:58 Database: ctdprd51 Application: User: pubeu Remote:
Statement: 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 = $1 and ptr.term_object_type_id = 4 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount order by lbl1f2%3c%78%73%31<
Date: 2024-05-12 04:48:58
Statement: 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 = $1 and ptr.term_object_type_id = 4 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount order by vxtuzy%3c%78%73%31<
Date: 2024-05-12 04:49:01 Database: ctdprd51 Application: User: pubeu Remote:
7 1 LOG: could not send data to client: Broken pipe phenotypeTerm.nm AS goNm ,phenotypeTerm.nm_html AS goNmHtml ,phenotypeTerm.acc_txt AS goAcc ,diseaseTerm.nm AS diseaseNm ,diseaseTerm.nm_html AS diseaseNmHtml ,diseaseTerm.acc_txt AS diseaseAcc ,diseaseTerm.acc_db_cd AS diseaseAccDbCd ,chemTerm.nm AS chemNm ,chemTerm.nm_html AS chemNmHtml ,chemTerm.acc_txt AS chemAcc ,geneTerm.nm AS geneSymbol ,geneTerm.nm_html AS geneSymbolHtml ,geneTerm.acc_txt AS geneAcc ,COUNT(...) OVER() fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR ,PHENOTYPE_TERM_REFERENCE viaGenePTR ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm where viaChemPTR.via_term_id IN (...) AND t.object_type_id = 2 ) and diseaseTerm.id = ANY (...) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3 ) ) ) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists (...) GROUP BY phenotypeTerm.nm ,phenotypeTerm.nm_html ,phenotypeTerm.acc_txt ,diseaseTerm.nm ,diseaseTerm.nm_html ,diseaseTerm.acc_txt ,diseaseTerm.acc_db_cd ,chemTerm.nm ,chemTerm.nm_html ,chemTerm.acc_txt ,geneTerm.nm ,geneTerm.nm_html ,geneTerm.acc_txt order by chemTerm.nm
Times Reported Most Frequent Error / Event #7
Day Hour Count May 12 06 1 - ERROR: could not send data to client: Broken pipe phenotypeTerm.nm AS goNm ,phenotypeTerm.nm_html AS goNmHtml ,phenotypeTerm.acc_txt AS goAcc ,diseaseTerm.nm AS diseaseNm ,diseaseTerm.nm_html AS diseaseNmHtml ,diseaseTerm.acc_txt AS diseaseAcc ,diseaseTerm.acc_db_cd AS diseaseAccDbCd ,chemTerm.nm AS chemNm ,chemTerm.nm_html AS chemNmHtml ,chemTerm.acc_txt AS chemAcc ,geneTerm.nm AS geneSymbol ,geneTerm.nm_html AS geneSymbolHtml ,geneTerm.acc_txt AS geneAcc ,COUNT(*) OVER() fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR ,PHENOTYPE_TERM_REFERENCE viaGenePTR ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops','METALS') AND t.object_type_id = 2 ) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3 ) ) ) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id ) GROUP BY phenotypeTerm.nm ,phenotypeTerm.nm_html ,phenotypeTerm.acc_txt ,diseaseTerm.nm ,diseaseTerm.nm_html ,diseaseTerm.acc_txt ,diseaseTerm.acc_db_cd ,chemTerm.nm ,chemTerm.nm_html ,chemTerm.acc_txt ,geneTerm.nm ,geneTerm.nm_html ,geneTerm.acc_txt order by chemTerm.nm
Statement: select distinct
Date: 2024-05-12 06:26:52
8 1 FATAL: connection to client lost phenotypeTerm.nm AS goNm ,phenotypeTerm.nm_html AS goNmHtml ,phenotypeTerm.acc_txt AS goAcc ,diseaseTerm.nm AS diseaseNm ,diseaseTerm.nm_html AS diseaseNmHtml ,diseaseTerm.acc_txt AS diseaseAcc ,diseaseTerm.acc_db_cd AS diseaseAccDbCd ,chemTerm.nm AS chemNm ,chemTerm.nm_html AS chemNmHtml ,chemTerm.acc_txt AS chemAcc ,geneTerm.nm AS geneSymbol ,geneTerm.nm_html AS geneSymbolHtml ,geneTerm.acc_txt AS geneAcc ,COUNT(...) OVER() fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR ,PHENOTYPE_TERM_REFERENCE viaGenePTR ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm where viaChemPTR.via_term_id IN (...) AND t.object_type_id = 2 ) and diseaseTerm.id = ANY (...) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3 ) ) ) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists (...) GROUP BY phenotypeTerm.nm ,phenotypeTerm.nm_html ,phenotypeTerm.acc_txt ,diseaseTerm.nm ,diseaseTerm.nm_html ,diseaseTerm.acc_txt ,diseaseTerm.acc_db_cd ,chemTerm.nm ,chemTerm.nm_html ,chemTerm.acc_txt ,geneTerm.nm ,geneTerm.nm_html ,geneTerm.acc_txt order by chemTerm.nm
Times Reported Most Frequent Error / Event #8
Day Hour Count May 12 06 1 - FATAL: connection to client lost phenotypeTerm.nm AS goNm ,phenotypeTerm.nm_html AS goNmHtml ,phenotypeTerm.acc_txt AS goAcc ,diseaseTerm.nm AS diseaseNm ,diseaseTerm.nm_html AS diseaseNmHtml ,diseaseTerm.acc_txt AS diseaseAcc ,diseaseTerm.acc_db_cd AS diseaseAccDbCd ,chemTerm.nm AS chemNm ,chemTerm.nm_html AS chemNmHtml ,chemTerm.acc_txt AS chemAcc ,geneTerm.nm AS geneSymbol ,geneTerm.nm_html AS geneSymbolHtml ,geneTerm.acc_txt AS geneAcc ,COUNT(*) OVER() fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR ,PHENOTYPE_TERM_REFERENCE viaGenePTR ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm where viaChemPTR.via_term_id IN ( SELECT /* DBConstants.getContainsSQL */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops','METALS') AND t.object_type_id = 2 ) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'INSULIN RESISTANCE' AND tl.object_type_id = 3 ) ) ) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id ) GROUP BY phenotypeTerm.nm ,phenotypeTerm.nm_html ,phenotypeTerm.acc_txt ,diseaseTerm.nm ,diseaseTerm.nm_html ,diseaseTerm.acc_txt ,diseaseTerm.acc_db_cd ,chemTerm.nm ,chemTerm.nm_html ,chemTerm.acc_txt ,geneTerm.nm ,geneTerm.nm_html ,geneTerm.acc_txt order by chemTerm.nm
Statement: select distinct
Date: 2024-05-12 06:26:52
9 1 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count May 13 10 1 - FATAL: password authentication failed for user "edit"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2024-05-13 10:36:09