-
Global information
- Generated on Sun Apr 14 04:15:23 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240413
- Parsed 1,003,851 log entries in 22s
- Log start from 2024-04-07 00:00:01 to 2024-04-13 23:59:58
-
Overview
Global Stats
- 391 Number of unique normalized queries
- 29,458 Number of queries
- 2d19h16m29s Total query duration
- 2024-04-07 00:00:30 First query
- 2024-04-13 23:56:25 Last query
- 16 queries/s at 2024-04-09 20:00:21 Query peak
- 2d19h16m29s Total query duration
- 7s529ms Prepare/parse total duration
- 1m3s Bind total duration
- 2d19h15m18s Execute total duration
- 204 Number of events
- 9 Number of unique normalized events
- 65 Max number of times the same event was reported
- 0 Number of cancellation
- 44 Total number of automatic vacuums
- 162 Total number of automatic analyzes
- 6 Number temporary file
- 2.88 MiB Max size of temporary file
- 1.63 MiB Average size of temporary file
- 112,539 Total number of sessions
- 93 sessions at 2024-04-10 18:43:37 Session peak
- 302d5h45m47s Total duration of sessions
- 3m52s Average duration of sessions
- 0 Average queries per session
- 2s152ms Average queries duration per session
- 3m49s Average idle time per session
- 112,560 Total number of connections
- 101 connections/s at 2024-04-13 13:52:13 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 16 queries/s Query Peak
- 2024-04-09 20:00:21 Date
SELECT Traffic
Key values
- 16 queries/s Query Peak
- 2024-04-09 20:00:21 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 4 queries/s Query Peak
- 2024-04-13 12:20:25 Date
Queries duration
Key values
- 2d19h16m29s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 07 00 18 0ms 15m27s 1m4s 29s288ms 1m18s 15m32s 01 16 0ms 10s550ms 2s862ms 4s653ms 5s177ms 10s550ms 02 17 0ms 6s458ms 2s205ms 2s724ms 3s950ms 6s458ms 03 13 0ms 6s777ms 2s255ms 1s411ms 4s76ms 6s777ms 04 25 0ms 12s997ms 5s271ms 11s18ms 16s297ms 22s751ms 05 56 0ms 16s798ms 3s79ms 22s987ms 23s854ms 27s917ms 06 27 0ms 8m23s 23s773ms 4s892ms 37s904ms 8m33s 07 14 0ms 4s872ms 2s11ms 2s249ms 3s999ms 7s908ms 08 8 0ms 5s235ms 1s968ms 1s128ms 2s260ms 7s325ms 09 18 0ms 7s335ms 2s851ms 4s993ms 7s356ms 10s215ms 10 18 0ms 31s433ms 7s496ms 6s333ms 9s342ms 52s204ms 11 29 0ms 10s703ms 2s744ms 5s156ms 10s703ms 21s822ms 12 12 0ms 11s417ms 3s164ms 2s208ms 5s74ms 14s12ms 13 10 0ms 8s475ms 3s239ms 1s651ms 5s313ms 8s475ms 14 18 0ms 31s566ms 7s149ms 6s31ms 8s306ms 52s417ms 15 26 0ms 5s386ms 2s357ms 4s120ms 8s378ms 15s315ms 16 16 0ms 5s348ms 2s142ms 2s548ms 3s995ms 6s661ms 17 285 0ms 11s809ms 3s255ms 58s488ms 2m45s 3m2s 18 76 0ms 31s569ms 4s6ms 30s116ms 38s110ms 1m31s 19 9 0ms 5s647ms 3s241ms 3s157ms 4s852ms 6s706ms 20 41 0ms 50s759ms 13s87ms 27s971ms 1m16s 3m39s 21 18 0ms 14s337ms 3s816ms 7s876ms 8s784ms 14s337ms 22 40 0ms 10s475ms 3s210ms 4s929ms 7s421ms 59s383ms 23 14 0ms 4s862ms 2s633ms 3s486ms 4s89ms 5s372ms Apr 08 00 18 0ms 15m23s 54s135ms 4s835ms 4s930ms 15m28s 01 10 0ms 7s367ms 3s429ms 3s50ms 4s18ms 7s367ms 02 8 0ms 4s803ms 2s82ms 1s967ms 3s170ms 4s803ms 03 18 0ms 5s112ms 2s581ms 4s60ms 5s112ms 6s903ms 04 23 0ms 38s909ms 8s995ms 8s522ms 10s904ms 2m36s 05 56 0ms 7s376ms 2s433ms 16s719ms 23s363ms 23s772ms 06 24 0ms 31s562ms 5s486ms 4s9ms 9s316ms 52s208ms 07 278 0ms 18s752ms 3s406ms 6s306ms 1m14s 9m52s 08 69 0ms 6s482ms 3s978ms 11s326ms 35s669ms 1m 09 220 0ms 10s458ms 6s282ms 1m1s 1m2s 1m6s 10 77 0ms 1m42s 6s370ms 38s558ms 1m4s 1m42s 11 42 0ms 1m54s 1m32s 1m45s 1m52s 3m49s 12 42 0ms 1m43s 1m25s 1m43s 1m43s 1m46s 13 118 0ms 1m43s 29s606ms 1m47s 1m49s 1m52s 14 149 0ms 31s956ms 11s996ms 1m1s 1m2s 1m53s 15 8 0ms 7s169ms 2s977ms 2s305ms 4s65ms 7s169ms 16 24 0ms 7s221ms 2s282ms 3s291ms 4s31ms 29s506ms 17 2,102 0ms 12m31s 8s3ms 24m44s 28m26s 29m35s 18 26 0ms 26m34s 8m19s 15m50s 29m39s 1h15m47s 19 3 0ms 4s67ms 2s88ms 0ms 1s155ms 4s67ms 20 5 0ms 5s143ms 3s308ms 1s482ms 4s719ms 5s143ms 21 12 0ms 5s88ms 3s296ms 4s7ms 4s49ms 10s404ms 22 16 0ms 5s398ms 2s712ms 4s178ms 4s328ms 5s398ms 23 8 0ms 27s528ms 5s392ms 2s729ms 5s188ms 27s528ms Apr 09 00 16 0ms 15m36s 1m4s 6s732ms 28s333ms 15m41s 01 12 0ms 10s619ms 3s340ms 4s130ms 8s52ms 10s619ms 02 8 0ms 11s212ms 5s591ms 4s18ms 4s48ms 22s70ms 03 15 0ms 34s925ms 7s870ms 4s97ms 21s912ms 34s925ms 04 4 0ms 4s311ms 2s769ms 0ms 4s81ms 5s442ms 05 52 0ms 6s483ms 2s255ms 8s633ms 15s702ms 23s199ms 06 20 0ms 31s903ms 6s365ms 6s12ms 9s584ms 52s322ms 07 9 0ms 5s882ms 2s664ms 1s250ms 4s27ms 5s882ms 08 8 0ms 4s9ms 2s747ms 2s704ms 3s101ms 4s9ms 09 168 0ms 31s784ms 4s85ms 56s585ms 1m7s 2m6s 10 246 0ms 31s713ms 4s766ms 1m3s 1m11s 1m34s 11 146 0ms 5s295ms 1s444ms 20s580ms 25s736ms 26s561ms 12 146 0ms 30s661ms 9s924ms 1m2s 1m12s 1m17s 13 126 0ms 30s796ms 24s61ms 59s845ms 1m30s 1m31s 14 2,773 0ms 1m34s 6s43ms 17m42s 40m16s 42m4s 15 469 0ms 1m30s 4s329ms 2m3s 4m54s 15m31s 16 2,790 0ms 4m19s 6s289ms 35m10s 39m16s 42m6s 17 24 0ms 30s701ms 13s2ms 46s971ms 1m2s 1m34s 18 329 0ms 31s480ms 9s909ms 1m6s 1m19s 1m54s 19 966 0ms 28s741ms 4s236ms 2m48s 4m25s 14m30s 20 7,991 0ms 21m53s 7s334ms 38m19s 39m23s 44m23s 21 463 0ms 9s195ms 3s830ms 59s969ms 1m1s 1m8s 22 321 0ms 7s180ms 3s784ms 56s596ms 57s653ms 1m8s 23 306 0ms 16s379ms 3s718ms 56s368ms 1m3s 1m13s Apr 10 00 377 0ms 17m24s 9s38ms 1m4s 1m6s 18m34s 01 317 0ms 12s972ms 7s340ms 1m4s 1m10s 1m54s 02 331 0ms 40s20ms 7s904ms 1m 1m3s 2m41s 03 283 0ms 21s398ms 4s827ms 57s74ms 1m2s 6m10s 04 197 0ms 34s946ms 6s533ms 48s884ms 1m1s 13m59s 05 91 0ms 8m24s 7s675ms 18s15ms 33s601ms 9m16s 06 47 0ms 32s67ms 4s60ms 6s889ms 38s824ms 52s262ms 07 9 0ms 2s693ms 1s746ms 1s479ms 2s166ms 2s693ms 08 10 0ms 5s552ms 2s776ms 1s415ms 2s10ms 15s178ms 09 37 0ms 29s137ms 4s97ms 10s710ms 13s513ms 49s103ms 10 107 0ms 31s897ms 4s987ms 28s813ms 40s833ms 1m15s 11 16 0ms 5s169ms 3s400ms 4s55ms 4s92ms 5s169ms 12 34 0ms 17m24s 1m38s 12s308ms 1m33s 34m47s 13 9 0ms 42s627ms 14s490ms 4s3ms 4s142ms 1m48s 14 106 0ms 31s790ms 3s727ms 38s455ms 52s540ms 1m45s 15 110 0ms 15s400ms 5s195ms 40s577ms 1m15s 2m47s 16 35 0ms 6s610ms 2s606ms 5s156ms 6s539ms 37s662ms 17 5 0ms 4s10ms 3s697ms 2s525ms 3s994ms 4s10ms 18 66 0ms 31s823ms 5s449ms 38s364ms 1m9s 1m27s 19 1 0ms 1s88ms 1s88ms 0ms 0ms 1s88ms 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms Apr 11 00 2 0ms 18m39s 9m22s 0ms 0ms 18m44s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 42 0ms 18s357ms 2s533ms 17s796ms 22s992ms 23s393ms 06 49 0ms 31s872ms 3s389ms 8s71ms 9s698ms 52s210ms 07 130 0ms 1m49s 4s 27s862ms 1m8s 2m59s 08 270 0ms 9m34s 8s685ms 2m41s 7m10s 9m34s 09 495 0ms 10m55s 9s685ms 6m 10m19s 16m6s 10 141 0ms 2m20s 5s173ms 52s428ms 54s873ms 4m43s 11 141 0ms 10s227ms 3s153ms 48s969ms 1m2s 1m21s 12 273 0ms 10m19s 16s240ms 6m17s 10m19s 17m51s 13 28 0ms 2m8s 15s366ms 22s843ms 2m8s 2m15s 14 65 0ms 31s933ms 4s347ms 22s291ms 51s999ms 2m31s 15 42 0ms 25s375ms 3s765ms 13s728ms 21s925ms 25s375ms 16 3 0ms 1s248ms 1s175ms 0ms 1s182ms 1s248ms 17 5 0ms 10s878ms 3s706ms 1s1ms 1s419ms 10s878ms 18 25 0ms 31s914ms 5s942ms 9s321ms 21s248ms 52s215ms 19 33 0ms 8s164ms 2s422ms 5s413ms 8s164ms 22s809ms 20 41 0ms 18m7s 1m23s 41s643ms 8m32s 35m44s 21 52 0ms 6s306ms 2s615ms 9s242ms 20s660ms 34s582ms 22 4 0ms 5s63ms 4s319ms 0ms 5s63ms 7s987ms 23 7 0ms 3s258ms 1s708ms 1s201ms 1s415ms 3s258ms Apr 12 00 6 0ms 15m38s 2m39s 1s247ms 2s272ms 15m43s 01 39 0ms 7s970ms 2s556ms 5s874ms 9s800ms 31s992ms 02 96 0ms 7s709ms 2s345ms 18s 24s253ms 50s694ms 03 12 0ms 5s615ms 3s26ms 4s121ms 4s264ms 5s615ms 04 49 0ms 10s934ms 3s633ms 10s934ms 17s605ms 47s853ms 05 40 0ms 5s273ms 2s408ms 12s583ms 20s608ms 23s290ms 06 50 0ms 31s962ms 3s986ms 16s937ms 36s597ms 52s278ms 07 143 0ms 7m34s 17s928ms 4s926ms 9m59s 14m57s 08 52 0ms 7s159ms 2s616ms 4s736ms 10s827ms 43s665ms 09 11 0ms 4s62ms 2s218ms 2s129ms 3s237ms 8s80ms 10 52 0ms 32s88ms 4s782ms 23s127ms 48s695ms 52s517ms 11 7 0ms 4s63ms 1s703ms 1s212ms 1s316ms 4s63ms 12 30 0ms 6s488ms 2s778ms 4s37ms 4s199ms 34s114ms 13 46 0ms 1m16s 5s180ms 4s60ms 14s530ms 1m39s 14 46 0ms 32s141ms 4s622ms 12s566ms 37s789ms 52s142ms 15 9 0ms 25s842ms 5s36ms 1s131ms 4s155ms 27s101ms 16 9 0ms 4s248ms 2s330ms 4s6ms 4s248ms 4s262ms 17 30 0ms 10s593ms 3s512ms 1s236ms 9s831ms 1m13s 18 139 0ms 2m5s 5s867ms 56s252ms 2m5s 3m11s 19 168 0ms 8m28s 10s318ms 45s717ms 5m59s 8m28s 20 80 0ms 9m30s 11s814ms 45s195ms 51s775ms 9m30s 21 43 0ms 11s476ms 3s169ms 6s145ms 25s184ms 40s791ms 22 178 0ms 11m39s 12s381ms 3m20s 6m14s 11m39s 23 26 0ms 3m34s 15s427ms 3s289ms 43s982ms 3m34s Apr 13 00 61 0ms 15m44s 24s561ms 21s452ms 3m24s 15m49s 01 72 0ms 2m56s 8s879ms 9s648ms 1m12s 5m51s 02 32 0ms 16s51ms 4s9ms 3s966ms 6s974ms 1m2s 03 9 0ms 18m14s 3m57s 4s39ms 17m6s 18m16s 04 9 0ms 6s377ms 2s440ms 1s208ms 3s952ms 7s483ms 05 57 0ms 5s577ms 2s230ms 8s434ms 20s306ms 25s628ms 06 26 0ms 5s367ms 1s535ms 1s868ms 2s591ms 11s705ms 07 14 0ms 6s360ms 2s322ms 1s360ms 3s976ms 11s548ms 08 27 0ms 3s511ms 1s428ms 2s369ms 2s453ms 3s511ms 09 261 0ms 2m31s 5s125ms 2m6s 4m19s 4m41s 10 139 0ms 40s958ms 4s551ms 1m37s 2m35s 2m55s 11 174 0ms 3m45s 11s160ms 1m4s 3m46s 16m25s 12 699 0ms 2m5s 11s401ms 1m40s 30m8s 49m41s 13 262 0ms 3m29s 7s438ms 1m57s 5m58s 9m33s 14 181 0ms 28s307ms 3s988ms 50s979ms 1m59s 3m55s 15 6 0ms 6s361ms 4s751ms 4s30ms 5s385ms 6s361ms 16 235 0ms 24s401ms 4s838ms 34s350ms 5m38s 6m37s 17 46 0ms 6s358ms 2s814ms 6s439ms 47s812ms 55s378ms 18 53 0ms 23m12s 34s207ms 57s789ms 1m20s 23m17s 19 49 0ms 22m56s 1m17s 6m59s 9m47s 23m28s 20 6 0ms 4s909ms 2s121ms 1s317ms 3s61ms 4s909ms 21 41 0ms 6s312ms 2s715ms 4s75ms 39s520ms 55s61ms 22 6 0ms 2s673ms 1s635ms 1s204ms 2s328ms 2s673ms 23 8 0ms 33s869ms 6s815ms 1s209ms 4s214ms 33s869ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 07 00 17 0 1m8s 2s641ms 29s288ms 15m27s 01 16 0 2s862ms 1s887ms 4s653ms 10s550ms 02 17 0 2s205ms 1s246ms 2s724ms 6s458ms 03 13 0 2s255ms 1s218ms 1s411ms 6s777ms 04 25 0 5s271ms 5s425ms 11s18ms 22s751ms 05 52 0 3s146ms 5s145ms 22s987ms 27s917ms 06 17 10 23s773ms 3s69ms 8s393ms 8m23s 07 14 0 2s11ms 1s287ms 2s249ms 7s908ms 08 8 0 1s968ms 0ms 1s128ms 7s325ms 09 18 0 2s851ms 1s247ms 4s993ms 10s215ms 10 8 10 7s496ms 4s406ms 6s333ms 52s204ms 11 29 0 2s744ms 3s880ms 5s156ms 21s822ms 12 12 0 3s164ms 1s34ms 2s208ms 14s12ms 13 10 0 3s239ms 0ms 1s651ms 6s15ms 14 9 9 7s149ms 1s996ms 6s31ms 52s417ms 15 26 0 2s357ms 1s245ms 4s120ms 15s315ms 16 16 0 2s142ms 1s322ms 2s548ms 6s661ms 17 285 0 3s255ms 37s968ms 58s488ms 3m2s 18 66 9 4s14ms 4s38ms 30s116ms 1m31s 19 9 0 3s241ms 0ms 3s157ms 6s706ms 20 41 0 13s87ms 2s626ms 27s971ms 3m39s 21 18 0 3s816ms 2s81ms 7s876ms 14s337ms 22 40 0 3s210ms 2s776ms 4s929ms 59s383ms 23 14 0 2s633ms 2s105ms 3s486ms 5s372ms Apr 08 00 17 0 57s22ms 1s463ms 4s835ms 15m23s 01 10 0 3s429ms 1s867ms 3s50ms 7s367ms 02 8 0 2s82ms 0ms 1s967ms 4s803ms 03 16 0 2s493ms 1s441ms 4s29ms 6s903ms 04 23 0 8s995ms 1s405ms 8s522ms 2m36s 05 52 0 2s450ms 5s30ms 16s719ms 23s772ms 06 14 10 5s486ms 1s880ms 4s9ms 52s208ms 07 277 0 3s414ms 2s785ms 6s306ms 9m51s 08 69 0 3s978ms 5s536ms 11s326ms 1m 09 220 0 6s282ms 1m1s 1m1s 1m3s 10 67 10 6s370ms 9s350ms 38s558ms 1m4s 11 42 0 1m32s 1m43s 1m45s 1m53s 12 42 0 1m25s 1m42s 1m43s 1m44s 13 118 0 29s606ms 1m42s 1m47s 1m51s 14 138 10 12s57ms 1m 1m1s 1m2s 15 8 0 2s977ms 0ms 2s305ms 7s169ms 16 24 0 2s282ms 1s251ms 3s291ms 29s506ms 17 2,082 0 8s54ms 11m52s 24m44s 28m34s 18 16 10 8m19s 24s576ms 15m50s 1h15m47s 19 3 0 2s88ms 0ms 0ms 4s67ms 20 5 0 3s308ms 0ms 1s482ms 5s143ms 21 12 0 3s296ms 1s202ms 4s7ms 10s404ms 22 16 0 2s712ms 1s427ms 4s178ms 5s398ms 23 8 0 5s392ms 0ms 2s729ms 27s528ms Apr 09 00 15 0 1m8s 1s111ms 6s732ms 15m36s 01 12 0 3s340ms 1s249ms 4s130ms 10s619ms 02 8 0 5s591ms 0ms 4s18ms 22s70ms 03 15 0 7s870ms 1s54ms 4s97ms 33s783ms 04 4 0 2s769ms 0ms 0ms 5s442ms 05 47 0 2s261ms 2s373ms 6s483ms 23s199ms 06 10 10 6s365ms 1s74ms 6s12ms 52s322ms 07 9 0 2s664ms 0ms 1s250ms 5s882ms 08 8 0 2s747ms 0ms 2s704ms 4s9ms 09 166 0 4s107ms 22s782ms 56s585ms 1m40s 10 236 10 4s766ms 56s343ms 57s392ms 1m19s 11 146 0 1s444ms 6s16ms 20s580ms 25s853ms 12 146 0 9s924ms 58s342ms 1m2s 1m12s 13 126 0 24s61ms 58s895ms 59s845ms 1m30s 14 2,728 10 6s96ms 1m14s 17m28s 40m41s 15 468 0 4s334ms 2s45ms 2m3s 15m29s 16 2,751 0 6s352ms 11m5s 35m 41m59s 17 24 0 13s2ms 2s665ms 46s971ms 1m34s 18 319 10 9s909ms 1m2s 1m2s 1m18s 19 963 0 4s245ms 1m3s 2m48s 8m30s 20 7,889 0 7s403ms 36m4s 38m12s 40m3s 21 463 0 3s830ms 57s337ms 59s969ms 1m1s 22 321 0 3s784ms 56s368ms 56s596ms 1m3s 23 306 0 3s718ms 55s961ms 56s368ms 1m5s Apr 10 00 376 0 9s48ms 1m4s 1m4s 1m8s 01 317 0 7s340ms 1m 1m4s 1m13s 02 331 0 7s904ms 59s160ms 1m 1m4s 03 283 0 4s827ms 55s897ms 57s74ms 1m8s 04 197 0 6s533ms 27s762ms 48s884ms 13m59s 05 87 0 7s925ms 4s301ms 18s15ms 9m16s 06 37 10 4s60ms 1s412ms 6s889ms 48s900ms 07 8 0 1s687ms 0ms 1s444ms 2s693ms 08 10 0 2s776ms 0ms 1s415ms 15s178ms 09 37 0 4s97ms 2s233ms 10s710ms 49s103ms 10 97 10 4s987ms 25s37ms 28s813ms 52s193ms 11 16 0 3s400ms 4s38ms 4s55ms 5s169ms 12 34 0 1m38s 3s529ms 12s308ms 34m47s 13 8 0 16s65ms 0ms 4s3ms 1m48s 14 96 10 3s727ms 8s886ms 38s663ms 1m6s 15 110 0 5s195ms 12s934ms 40s577ms 2m47s 16 35 0 2s606ms 2s355ms 5s156ms 37s662ms 17 5 0 3s697ms 0ms 2s525ms 4s10ms 18 56 10 5s449ms 2s365ms 38s364ms 1m27s 19 1 0 1s88ms 0ms 0ms 1s88ms 20 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 0 0ms 0ms 0ms 0ms Apr 11 00 1 0 18m39s 0ms 0ms 18m39s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 38 0 2s565ms 0ms 17s796ms 23s393ms 06 39 10 3s389ms 4s117ms 8s71ms 52s210ms 07 130 0 4s 5s623ms 27s862ms 2m59s 08 269 0 8s712ms 19s572ms 2m41s 7m28s 09 493 0 9s720ms 2m4s 5m59s 16m6s 10 131 9 5s186ms 20s977ms 52s428ms 4m43s 11 141 0 3s153ms 5s981ms 48s969ms 1m21s 12 271 0 16s350ms 2m17s 6m17s 17m51s 13 28 0 15s366ms 2s959ms 22s843ms 2m15s 14 55 10 4s347ms 1s143ms 22s291ms 2m31s 15 42 0 3s765ms 5s609ms 13s728ms 25s375ms 16 3 0 1s175ms 0ms 0ms 1s248ms 17 5 0 3s706ms 0ms 1s1ms 10s878ms 18 15 10 5s942ms 0ms 9s321ms 52s215ms 19 33 0 2s422ms 3s540ms 5s413ms 22s809ms 20 41 0 1m23s 6s199ms 41s643ms 35m44s 21 52 0 2s615ms 4s123ms 9s242ms 34s582ms 22 4 0 4s319ms 0ms 0ms 7s987ms 23 7 0 1s708ms 0ms 1s201ms 3s258ms Apr 12 00 5 0 3m10s 0ms 1s247ms 15m38s 01 39 0 2s556ms 3s489ms 5s874ms 31s992ms 02 96 0 2s345ms 7s237ms 18s 50s694ms 03 12 0 3s26ms 2s613ms 4s121ms 5s615ms 04 49 0 3s633ms 4s830ms 10s934ms 47s853ms 05 36 0 2s429ms 1s12ms 12s583ms 23s290ms 06 39 10 4s16ms 1s133ms 16s937ms 52s278ms 07 142 0 18s37ms 0ms 4s926ms 10m13s 08 52 0 2s616ms 1s792ms 4s736ms 37s36ms 09 10 0 2s227ms 0ms 1s372ms 8s80ms 10 42 10 4s782ms 3s452ms 23s127ms 52s517ms 11 7 0 1s703ms 0ms 1s212ms 4s63ms 12 30 0 2s778ms 1s526ms 4s37ms 34s114ms 13 46 0 5s180ms 1s94ms 4s60ms 1m39s 14 36 10 4s622ms 5s858ms 12s566ms 52s142ms 15 9 0 5s36ms 0ms 1s131ms 27s101ms 16 9 0 2s330ms 0ms 4s6ms 4s262ms 17 30 0 3s512ms 0ms 1s236ms 1m13s 18 129 10 5s867ms 14s615ms 56s252ms 3m11s 19 168 0 10s318ms 12s633ms 45s717ms 8m28s 20 80 0 11s814ms 2s181ms 45s195ms 9m30s 21 43 0 3s169ms 1s503ms 6s145ms 40s791ms 22 178 0 12s381ms 4s916ms 3m20s 11m39s 23 24 0 16s457ms 1s106ms 3s1ms 3m34s Apr 13 00 60 0 24s884ms 3s682ms 21s452ms 15m44s 01 71 0 8s989ms 1s139ms 9s648ms 5m51s 02 32 0 4s9ms 2s671ms 3s966ms 1m2s 03 9 0 3m57s 0ms 4s39ms 18m16s 04 9 0 2s440ms 0ms 1s208ms 7s483ms 05 52 0 2s211ms 2s421ms 4s97ms 25s628ms 06 26 0 1s535ms 1s254ms 1s868ms 11s705ms 07 14 0 2s322ms 1s104ms 1s360ms 11s548ms 08 27 0 1s428ms 1s216ms 2s369ms 3s511ms 09 261 0 5s125ms 10s163ms 2m6s 4m41s 10 132 0 4s615ms 8s730ms 1m24s 2m55s 11 174 0 11s160ms 4s29ms 1m4s 16m25s 12 541 0 13s407ms 10s437ms 1m40s 45m14s 13 262 0 7s438ms 44s58ms 1m57s 9m33s 14 180 0 3s990ms 12s168ms 50s979ms 3m55s 15 6 0 4s751ms 0ms 4s30ms 6s361ms 16 234 0 4s851ms 1s786ms 34s350ms 6m37s 17 46 0 2s814ms 1s293ms 6s439ms 55s378ms 18 26 27 34s207ms 31s626ms 57s789ms 23m14s 19 5 44 1m17s 1m25s 6m59s 23m27s 20 6 0 2s121ms 0ms 1s317ms 4s909ms 21 41 0 2s715ms 1s201ms 4s75ms 55s61ms 22 6 0 1s635ms 0ms 1s204ms 2s673ms 23 8 0 6s815ms 0ms 1s209ms 33s869ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 07 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 08 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 09 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 10 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 11 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 12 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Apr 13 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Apr 07 00 0 16 16.00 0.00% 01 0 16 16.00 0.00% 02 0 17 17.00 0.00% 03 0 13 13.00 0.00% 04 0 25 25.00 0.00% 05 0 56 56.00 0.00% 06 0 17 17.00 0.00% 07 0 14 14.00 0.00% 08 0 8 8.00 0.00% 09 0 18 18.00 0.00% 10 0 8 8.00 0.00% 11 0 29 29.00 0.00% 12 0 13 13.00 0.00% 13 0 12 12.00 0.00% 14 0 9 9.00 0.00% 15 0 26 26.00 0.00% 16 0 16 16.00 0.00% 17 0 285 285.00 0.00% 18 0 67 67.00 0.00% 19 0 9 9.00 0.00% 20 0 41 41.00 0.00% 21 0 18 18.00 0.00% 22 0 40 40.00 0.00% 23 0 14 14.00 0.00% Apr 08 00 0 16 16.00 0.00% 01 0 10 10.00 0.00% 02 0 8 8.00 0.00% 03 0 18 18.00 0.00% 04 0 23 23.00 0.00% 05 0 56 56.00 0.00% 06 0 14 14.00 0.00% 07 0 281 281.00 0.00% 08 0 69 69.00 0.00% 09 0 220 220.00 0.00% 10 0 67 67.00 0.00% 11 0 43 43.00 0.00% 12 0 42 42.00 0.00% 13 0 118 118.00 0.00% 14 0 141 141.00 0.00% 15 0 8 8.00 0.00% 16 0 26 26.00 0.00% 17 0 2,107 2,107.00 0.00% 18 0 16 16.00 0.00% 19 0 3 3.00 0.00% 20 0 5 5.00 0.00% 21 0 12 12.00 0.00% 22 0 16 16.00 0.00% 23 0 8 8.00 0.00% Apr 09 00 0 14 14.00 0.00% 01 0 12 12.00 0.00% 02 0 8 8.00 0.00% 03 0 15 15.00 0.00% 04 0 4 4.00 0.00% 05 0 52 52.00 0.00% 06 0 10 10.00 0.00% 07 0 9 9.00 0.00% 08 0 8 8.00 0.00% 09 0 168 168.00 0.00% 10 0 236 236.00 0.00% 11 0 146 146.00 0.00% 12 0 146 146.00 0.00% 13 0 126 126.00 0.00% 14 0 2,778 2,778.00 0.00% 15 0 469 469.00 0.00% 16 0 2,802 2,802.00 0.00% 17 0 24 24.00 0.00% 18 0 319 319.00 0.00% 19 0 966 966.00 0.00% 20 0 8,036 8,036.00 0.00% 21 0 463 463.00 0.00% 22 0 321 321.00 0.00% 23 0 306 306.00 0.00% Apr 10 00 0 375 375.00 0.00% 01 0 317 317.00 0.00% 02 0 331 331.00 0.00% 03 0 283 283.00 0.00% 04 0 197 197.00 0.00% 05 0 91 91.00 0.00% 06 0 39 39.00 0.00% 07 0 9 9.00 0.00% 08 0 10 10.00 0.00% 09 0 37 37.00 0.00% 10 0 97 97.00 0.00% 11 0 16 16.00 0.00% 12 0 34 34.00 0.00% 13 0 9 9.00 0.00% 14 0 96 96.00 0.00% 15 0 110 110.00 0.00% 16 0 35 35.00 0.00% 17 0 5 5.00 0.00% 18 0 56 56.00 0.00% 19 0 1 1.00 0.00% 20 0 0 0.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Apr 11 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 42 42.00 0.00% 06 0 39 39.00 0.00% 07 0 130 130.00 0.00% 08 0 270 270.00 0.00% 09 0 495 495.00 0.00% 10 0 132 132.00 0.00% 11 0 141 141.00 0.00% 12 0 273 273.00 0.00% 13 0 28 28.00 0.00% 14 0 55 55.00 0.00% 15 0 42 42.00 0.00% 16 0 3 3.00 0.00% 17 0 5 5.00 0.00% 18 0 20 20.00 0.00% 19 0 33 33.00 0.00% 20 0 41 41.00 0.00% 21 0 52 52.00 0.00% 22 0 4 4.00 0.00% 23 0 7 7.00 0.00% Apr 12 00 0 4 4.00 0.00% 01 0 39 39.00 0.00% 02 0 96 96.00 0.00% 03 0 12 12.00 0.00% 04 0 49 49.00 0.00% 05 0 40 40.00 0.00% 06 0 40 40.00 0.00% 07 0 144 144.00 0.00% 08 0 52 52.00 0.00% 09 0 11 11.00 0.00% 10 0 42 42.00 0.00% 11 0 8 8.00 0.00% 12 0 31 31.00 0.00% 13 0 50 50.00 0.00% 14 0 40 40.00 0.00% 15 0 10 10.00 0.00% 16 0 9 9.00 0.00% 17 0 30 30.00 0.00% 18 0 129 129.00 0.00% 19 0 168 168.00 0.00% 20 0 80 80.00 0.00% 21 0 43 43.00 0.00% 22 0 178 178.00 0.00% 23 0 26 26.00 0.00% Apr 13 00 0 59 59.00 0.00% 01 0 72 72.00 0.00% 02 0 32 32.00 0.00% 03 0 9 9.00 0.00% 04 0 9 9.00 0.00% 05 0 57 57.00 0.00% 06 0 26 26.00 0.00% 07 0 14 14.00 0.00% 08 0 27 27.00 0.00% 09 0 261 261.00 0.00% 10 0 139 139.00 0.00% 11 0 176 176.00 0.00% 12 0 703 703.00 0.00% 13 1 262 262.00 0.38% 14 0 181 181.00 0.00% 15 0 6 6.00 0.00% 16 0 235 235.00 0.00% 17 0 46 46.00 0.00% 18 0 26 26.00 0.00% 19 0 5 5.00 0.00% 20 0 6 6.00 0.00% 21 0 41 41.00 0.00% 22 0 6 6.00 0.00% 23 0 8 8.00 0.00% Day Hour Count Average / Second Apr 07 00 532 0.15/s 01 527 0.15/s 02 524 0.15/s 03 536 0.15/s 04 543 0.15/s 05 549 0.15/s 06 544 0.15/s 07 534 0.15/s 08 531 0.15/s 09 532 0.15/s 10 533 0.15/s 11 529 0.15/s 12 531 0.15/s 13 528 0.15/s 14 530 0.15/s 15 527 0.15/s 16 534 0.15/s 17 816 0.23/s 18 619 0.17/s 19 521 0.14/s 20 543 0.15/s 21 523 0.15/s 22 532 0.15/s 23 528 0.15/s Apr 08 00 530 0.15/s 01 526 0.15/s 02 526 0.15/s 03 526 0.15/s 04 528 0.15/s 05 551 0.15/s 06 533 0.15/s 07 675 0.19/s 08 555 0.15/s 09 591 0.16/s 10 542 0.15/s 11 569 0.16/s 12 563 0.16/s 13 582 0.16/s 14 589 0.16/s 15 529 0.15/s 16 529 0.15/s 17 1,853 0.51/s 18 529 0.15/s 19 527 0.15/s 20 528 0.15/s 21 522 0.14/s 22 526 0.15/s 23 531 0.15/s Apr 09 00 528 0.15/s 01 524 0.15/s 02 535 0.15/s 03 590 0.16/s 04 529 0.15/s 05 547 0.15/s 06 543 0.15/s 07 531 0.15/s 08 534 0.15/s 09 594 0.17/s 10 671 0.19/s 11 570 0.16/s 12 593 0.16/s 13 628 0.17/s 14 1,198 0.33/s 15 1,261 0.35/s 16 1,798 0.50/s 17 535 0.15/s 18 642 0.18/s 19 1,060 0.29/s 20 1,822 0.51/s 21 635 0.18/s 22 600 0.17/s 23 630 0.17/s Apr 10 00 633 0.18/s 01 638 0.18/s 02 623 0.17/s 03 760 0.21/s 04 761 0.21/s 05 551 0.15/s 06 561 0.16/s 07 527 0.15/s 08 531 0.15/s 09 549 0.15/s 10 935 0.26/s 11 524 0.15/s 12 529 0.15/s 13 535 0.15/s 14 552 0.15/s 15 1,087 0.30/s 16 776 0.22/s 17 526 0.15/s 18 1,215 0.34/s 19 561 0.16/s 20 527 0.15/s 21 524 0.15/s 22 525 0.15/s 23 530 0.15/s Apr 11 00 530 0.15/s 01 529 0.15/s 02 530 0.15/s 03 529 0.15/s 04 528 0.15/s 05 546 0.15/s 06 537 0.15/s 07 677 0.19/s 08 1,461 0.41/s 09 1,976 0.55/s 10 676 0.19/s 11 1,081 0.30/s 12 1,177 0.33/s 13 569 0.16/s 14 575 0.16/s 15 577 0.16/s 16 532 0.15/s 17 526 0.15/s 18 535 0.15/s 19 535 0.15/s 20 536 0.15/s 21 544 0.15/s 22 530 0.15/s 23 529 0.15/s Apr 12 00 532 0.15/s 01 634 0.18/s 02 634 0.18/s 03 531 0.15/s 04 700 0.19/s 05 540 0.15/s 06 581 0.16/s 07 826 0.23/s 08 576 0.16/s 09 527 0.15/s 10 545 0.15/s 11 529 0.15/s 12 530 0.15/s 13 988 0.27/s 14 534 0.15/s 15 527 0.15/s 16 528 0.15/s 17 541 0.15/s 18 1,313 0.36/s 19 1,847 0.51/s 20 553 0.15/s 21 602 0.17/s 22 1,122 0.31/s 23 609 0.17/s Apr 13 00 1,330 0.37/s 01 1,224 0.34/s 02 598 0.17/s 03 528 0.15/s 04 532 0.15/s 05 547 0.15/s 06 537 0.15/s 07 538 0.15/s 08 532 0.15/s 09 1,235 0.34/s 10 719 0.20/s 11 996 0.28/s 12 986 0.27/s 13 1,364 0.38/s 14 694 0.19/s 15 519 0.14/s 16 1,148 0.32/s 17 538 0.15/s 18 530 0.15/s 19 523 0.15/s 20 529 0.15/s 21 532 0.15/s 22 528 0.15/s 23 555 0.15/s Day Hour Count Average Duration Average idle time Apr 07 00 532 4m29s 4m27s 01 527 4m35s 4m35s 02 524 4m19s 4m19s 03 536 4m38s 4m38s 04 543 4m25s 4m25s 05 548 4m18s 4m18s 06 545 4m34s 4m33s 07 534 4m34s 4m34s 08 531 4m27s 4m27s 09 532 4m38s 4m38s 10 533 4m39s 4m39s 11 529 4m26s 4m26s 12 531 4m34s 4m34s 13 528 4m34s 4m34s 14 530 4m36s 4m36s 15 527 4m28s 4m28s 16 534 4m42s 4m42s 17 816 2m50s 2m49s 18 619 4m2s 4m2s 19 521 4m4s 4m4s 20 543 4m46s 4m45s 21 523 4m19s 4m19s 22 532 4m30s 4m30s 23 528 4m37s 4m37s Apr 08 00 530 4m33s 4m31s 01 526 3m58s 3m58s 02 526 4m34s 4m34s 03 526 4m37s 4m37s 04 528 4m25s 4m24s 05 551 4m36s 4m35s 06 533 4m34s 4m34s 07 675 3m48s 3m47s 08 555 4m21s 4m21s 09 591 4m9s 4m7s 10 541 4m19s 4m18s 11 569 4m28s 4m21s 12 563 4m22s 4m16s 13 583 4m22s 4m16s 14 589 4m 3m57s 15 529 4m32s 4m32s 16 529 4m27s 4m27s 17 1,843 3m38s 3m29s 18 539 4m47s 4m23s 19 527 4m33s 4m33s 20 528 4m27s 4m27s 21 522 4m19s 4m19s 22 526 4m17s 4m17s 23 531 4m36s 4m36s Apr 09 00 528 4m18s 4m16s 01 524 4m30s 4m30s 02 535 4m31s 4m31s 03 590 4m12s 4m11s 04 529 4m29s 4m29s 05 547 4m25s 4m24s 06 543 4m29s 4m29s 07 531 4m35s 4m35s 08 534 4m37s 4m37s 09 594 4m34s 4m33s 10 671 3m31s 3m29s 11 569 3m53s 3m52s 12 594 4m4s 4m1s 13 628 3m55s 3m50s 14 1,198 2m13s 1m59s 15 1,261 1m56s 1m54s 16 1,798 8m41s 8m31s 17 534 4m33s 4m32s 18 642 3m52s 3m47s 19 1,019 2m41s 2m37s 20 1,843 1m57s 1m25s 21 635 3m29s 3m26s 22 600 3m55s 3m53s 23 630 3m26s 3m24s Apr 10 00 633 3m59s 3m53s 01 638 3m52s 3m48s 02 623 3m53s 3m49s 03 757 3m20s 3m18s 04 764 3m41s 3m39s 05 551 4m22s 4m20s 06 561 4m14s 4m14s 07 527 4m32s 4m32s 08 531 4m32s 4m32s 09 549 4m42s 4m41s 10 935 2m35s 2m34s 11 524 4m34s 4m33s 12 529 4m18s 4m12s 13 535 4m38s 4m37s 14 552 4m20s 4m19s 15 1,087 2m13s 2m12s 16 776 3m18s 3m18s 17 526 4m31s 4m30s 18 1,173 1m59s 1m59s 19 603 5m23s 5m23s 20 527 4m28s 4m28s 21 524 4m19s 4m19s 22 525 4m22s 4m22s 23 530 4m37s 4m37s Apr 11 00 530 4m36s 4m34s 01 529 4m34s 4m34s 02 530 4m37s 4m37s 03 529 4m34s 4m34s 04 528 4m31s 4m31s 05 546 4m21s 4m21s 06 537 4m34s 4m34s 07 677 3m29s 3m29s 08 1,461 3m3s 3m1s 09 1,976 2m25s 2m23s 10 676 3m38s 3m37s 11 1,081 2m6s 2m6s 12 1,177 2m12s 2m8s 13 569 4m19s 4m18s 14 575 4m14s 4m13s 15 577 4m3s 4m3s 16 532 4m33s 4m33s 17 526 4m27s 4m27s 18 535 4m34s 4m34s 19 535 4m30s 4m30s 20 536 4m29s 4m22s 21 544 3m48s 3m48s 22 530 4m46s 4m46s 23 529 4m35s 4m35s Apr 12 00 532 4m34s 4m32s 01 634 3m55s 3m54s 02 634 3m41s 3m41s 03 531 4m41s 4m41s 04 700 3m31s 3m30s 05 540 4m19s 4m19s 06 580 4m23s 4m23s 07 827 2m51s 2m48s 08 576 4m20s 4m19s 09 527 4m24s 4m24s 10 545 4m29s 4m28s 11 529 4m31s 4m31s 12 530 4m33s 4m32s 13 988 2m25s 2m25s 14 534 4m22s 4m22s 15 527 4m34s 4m34s 16 528 4m33s 4m33s 17 541 4m31s 4m31s 18 1,313 1m57s 1m56s 19 1,846 1m18s 1m17s 20 554 4m1s 3m59s 21 602 3m52s 3m52s 22 1,122 4m1s 3m59s 23 609 4m1s 4m Apr 13 00 1,330 1m51s 1m50s 01 1,224 3m46s 3m45s 02 596 4m18s 4m17s 03 530 4m42s 4m38s 04 532 4m31s 4m31s 05 547 4m21s 4m21s 06 537 4m34s 4m34s 07 538 4m31s 4m31s 08 532 4m33s 4m33s 09 1,235 2m3s 2m2s 10 719 3m56s 3m55s 11 996 2m24s 2m22s 12 986 2m44s 2m36s 13 1,364 1m56s 1m55s 14 694 3m35s 3m34s 15 519 4m12s 4m11s 16 1,148 2m13s 2m12s 17 538 4m32s 4m32s 18 529 4m15s 4m12s 19 524 4m26s 4m19s 20 529 4m35s 4m35s 21 532 4m23s 4m22s 22 528 4m34s 4m34s 23 555 4m19s 4m19s -
Connections
Established Connections
Key values
- 101 connections Connection Peak
- 2024-04-13 13:52:13 Date
Connections per database
Key values
- postgres Main Database
- 112,560 connections Total
Connections per user
Key values
- postgres Main User
- 112,560 connections Total
-
Sessions
Simultaneous sessions
Key values
- 93 sessions Session Peak
- 2024-04-10 18:43:37 Date
Histogram of session times
Key values
- 82,611 0-500ms duration
Sessions per database
Key values
- postgres Main Database
- 112,539 sessions Total
Sessions per user
Key values
- postgres Main User
- 112,539 sessions Total
Sessions per host
Key values
- [local] Main Host
- 112,539 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 144,269 buffers Checkpoint Peak
- 2024-04-09 23:07:16 Date
- 1619.997 seconds Highest write time
- 0.036 seconds Sync time
Checkpoints Wal files
Key values
- 42 files Wal files usage Peak
- 2024-04-10 02:07:17 Date
Checkpoints distance
Key values
- 1,346.80 Mo Distance Peak
- 2024-04-10 02:07:17 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Apr 07 00 742 74.543s 0.004s 74.578s 01 108 11.012s 0.002s 11.043s 02 110 11.11s 0.003s 11.143s 03 161 16.325s 0.002s 16.356s 04 1,069 107.31s 0.003s 107.354s 05 185 18.737s 0.002s 18.767s 06 182 18.436s 0.002s 18.466s 07 142 14.413s 0.002s 14.442s 08 78 8.004s 0.002s 8.034s 09 4,554 456.414s 0.004s 456.47s 10 151 15.317s 0.002s 15.395s 11 5,145 515.658s 0.003s 515.759s 12 136 13.824s 0.002s 13.855s 13 362 36.471s 0.003s 36.502s 14 130 13.014s 0.002s 13.044s 15 125 12.706s 0.002s 12.736s 16 157 15.918s 0.002s 15.947s 17 163 16.52s 0.002s 16.551s 18 81 8.301s 0.002s 8.331s 19 190 19.241s 0.002s 19.272s 20 70 7.2s 0.002s 7.23s 21 69 7.099s 0.002s 7.129s 22 1,365 136.971s 0.003s 137.048s 23 101 10.31s 0.002s 10.34s Apr 08 00 3,630 363.936s 0.003s 364.018s 01 5,909 592.135s 0.003s 592.286s 02 332 33.367s 0.001s 33.382s 03 76,123 2,159.14s 0.004s 2,160.072s 04 125,571 1,639.582s 0.004s 1,639.717s 05 5,869 587.995s 0.004s 588.11s 06 1,929 193.392s 0.003s 193.424s 07 306 30.86s 0.002s 30.934s 08 278 28.053s 0.002s 28.083s 09 830 83.01s 0.003s 83.042s 10 54,978 2,044.987s 0.004s 2,045.494s 11 14,646 1,467.555s 0.003s 1,467.586s 12 488 49.109s 0.004s 49.145s 13 358 35.972s 0.003s 36.003s 14 928 92.984s 0.004s 93.067s 15 268 27.036s 0.003s 27.065s 16 4,696 470.254s 0.003s 470.357s 17 248 25.04s 0.002s 25.071s 18 700 70.335s 0.003s 70.371s 19 4,468 447.774s 0.003s 447.867s 20 132 13.402s 0.002s 13.434s 21 16,924 1,619.283s 0.002s 1,619.468s 22 165 16.726s 0.002s 16.759s 23 1,571 157.622s 0.003s 157.7s Apr 09 00 3,285 329.381s 0.004s 329.5s 01 140 14.221s 0.002s 14.25s 02 2,375 238.14s 0.003s 238.217s 03 167 16.945s 0.002s 16.976s 04 129 13.124s 0.002s 13.155s 05 38,794 1,976.234s 0.004s 1,976.576s 06 190 19.238s 0.002s 19.269s 07 133 13.51s 0.002s 13.542s 08 65,181 1,692.032s 0.004s 1,692.561s 09 555 55.607s 0.003s 55.639s 10 459 46.102s 0.002s 46.133s 11 5,247 525.371s 0.004s 525.488s 12 1,073 107.261s 0.004s 107.293s 13 380 38.164s 0.002s 38.195s 14 757 75.86s 0.002s 75.94s 15 216 21.836s 0.002s 21.867s 16 104 11.952s 0.001s 12.136s 17 62,921 3,245.764s 0.005s 3,246.238s 18 417 41.877s 0.003s 41.955s 19 1,083 108.545s 0.004s 108.577s 20 11,844 1,201.137s 0.038s 1,201.719s 21 1,415 141.668s 0.004s 141.7s 22 5,227 516.245s 0.002s 516.714s 23 145,295 1,721.981s 0.003s 1,722.084s Apr 10 00 64,904 2,649.067s 0.005s 2,649.674s 01 744 74.381s 0.002s 74.397s 02 74,427 1,741.387s 0.006s 1,741.987s 03 1,998 200.01s 0.004s 200.041s 04 737 73.967s 0.003s 74.001s 05 78 7.906s 0.001s 7.921s 06 42,817 2,409.807s 0.006s 2,410.263s 07 353 35.464s 0.002s 35.495s 08 1,584 158.899s 0.003s 158.932s 09 1,633 163.827s 0.002s 163.905s 10 1,645 164.975s 0.002s 165.052s 11 3,169 317.707s 0.004s 317.784s 12 517 52.017s 0.002s 52.048s 13 86 8.799s 0.002s 8.829s 14 178 18.027s 0.002s 18.057s 15 121 12.326s 0.002s 12.356s 16 142 14.413s 0.002s 14.442s 17 153 15.519s 0.002s 15.549s 18 176 17.834s 0.003s 17.866s 19 18 1.892s 0.001s 1.908s 20 0 0s 0s 0s 21 0 0s 0s 0s 22 0 0s 0s 0s 23 0 0s 0s 0s Apr 11 00 4,988 571.942s 0.003s 572.039s 01 4,224 423.292s 0.002s 423.309s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 80 8.116s 0.001s 8.132s 06 1,580 158.529s 0.003s 158.562s 07 128 13.045s 0.001s 13.063s 08 12,872 1,289.501s 0.005s 1,289.622s 09 9,320 936.312s 0.004s 936.634s 10 1,944 197.62s 0.003s 197.697s 11 664 66.771s 0.003s 66.803s 12 210 21.266s 0.002s 21.298s 13 190 19.359s 0.002s 19.547s 14 94 9.602s 0.002s 9.632s 15 830 83.27s 0.003s 83.302s 16 190 19.232s 0.002s 19.263s 17 468 47.091s 0.003s 47.169s 18 243 24.547s 0.002s 24.578s 19 302 30.45s 0.002s 30.48s 20 77 7.905s 0.002s 7.935s 21 1,455 145.892s 0.002s 145.969s 22 13,238 1,326.571s 0.005s 1,326.703s 23 7,839 785.412s 0.004s 785.525s Apr 12 00 5,043 518.428s 0.005s 518.532s 01 128 13.016s 0.002s 13.046s 02 196 19.929s 0.002s 19.961s 03 97 9.826s 0.001s 9.845s 04 50,551 1,628.393s 0.004s 1,628.881s 05 1,364 136.681s 0.002s 137.12s 06 85,424 1,650.426s 0.004s 1,650.605s 07 287 28.957s 0.002s 28.987s 08 49,877 1,627.882s 0.003s 1,628.344s 09 4,628 463.909s 0.003s 464.012s 10 78 8.007s 0.002s 8.038s 11 225 22.736s 0.002s 22.768s 12 424 42.691s 0.003s 42.723s 13 320 32.272s 0.002s 32.303s 14 459 46.195s 0.003s 46.229s 15 2,054 205.943s 0.004s 205.989s 16 470 47.278s 0.003s 47.309s 17 187 18.931s 0.002s 18.961s 18 89 9.129s 0.002s 9.162s 19 78 8.026s 0.002s 8.058s 20 113 11.517s 0.002s 11.596s 21 158 16.032s 0.002s 16.062s 22 879 88.278s 0.003s 88.309s 23 389 39.224s 0.003s 39.254s Apr 13 00 866 87.01s 0.004s 87.043s 01 847 85.057s 0.011s 85.113s 02 1,745 175.049s 0.003s 175.081s 03 273 27.55s 0.002s 27.583s 04 1,543 154.728s 0.003s 154.808s 05 141 14.331s 0.002s 14.361s 06 129 13.026s 0.002s 13.056s 07 948 95.186s 0.003s 95.218s 08 145 14.716s 0.002s 14.746s 09 138 14.015s 0.003s 14.09s 10 393 39.578s 0.002s 39.608s 11 372 37.496s 0.002s 37.526s 12 234 23.651s 0.002s 23.68s 13 166 16.828s 0.002s 16.858s 14 108 11.01s 0.002s 11.041s 15 193 19.531s 0.002s 19.561s 16 107 10.907s 0.002s 10.939s 17 157 15.923s 0.002s 15.953s 18 228 23.035s 0.002s 23.065s 19 59 5.995s 0.001s 6.011s 20 78,475 1,754.053s 0.005s 1,754.099s 21 88 9.003s 0.002s 9.035s 22 78 8.002s 0.002s 8.033s 23 289 29.165s 0.003s 29.197s Day Hour Added Removed Recycled Synced files Longest sync Average sync Apr 07 00 0 0 0 73 0.001s 0.002s 01 0 0 0 26 0.001s 0.002s 02 0 0 0 25 0.001s 0.002s 03 0 0 0 38 0.001s 0.002s 04 0 0 1 40 0.001s 0.002s 05 0 0 0 35 0.001s 0.002s 06 0 0 0 35 0.001s 0.002s 07 0 0 0 25 0.001s 0.002s 08 0 0 0 19 0.001s 0.002s 09 0 0 2 49 0.001s 0.002s 10 0 0 1 21 0.001s 0.002s 11 0 0 3 42 0.001s 0.002s 12 0 0 0 58 0.001s 0.002s 13 0 0 0 110 0.001s 0.002s 14 0 0 0 55 0.001s 0.002s 15 0 0 0 25 0.001s 0.002s 16 0 0 0 27 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 18 0.001s 0.002s 19 0 0 0 27 0.001s 0.002s 20 0 0 0 18 0.001s 0.002s 21 0 0 0 18 0.001s 0.002s 22 0 0 1 44 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Apr 08 00 0 0 1 94 0.001s 0.002s 01 0 0 4 55 0.001s 0.002s 02 0 0 0 19 0.001s 0.001s 03 0 0 70 57 0.001s 0.002s 04 0 0 4 71 0.001s 0.003s 05 0 0 4 62 0.001s 0.002s 06 0 0 0 44 0.001s 0.002s 07 0 0 1 123 0.001s 0.002s 08 0 0 0 36 0.001s 0.002s 09 0 0 0 38 0.001s 0.002s 10 0 0 37 101 0.001s 0.002s 11 0 0 0 122 0.001s 0.002s 12 0 0 0 73 0.001s 0.002s 13 0 0 0 72 0.001s 0.002s 14 0 0 1 127 0.001s 0.002s 15 0 0 0 65 0.001s 0.002s 16 0 0 3 88 0.001s 0.002s 17 0 0 0 110 0.001s 0.002s 18 0 0 0 66 0.001s 0.002s 19 0 0 2 33 0.001s 0.002s 20 0 0 0 18 0.001s 0.002s 21 0 0 11 21 0.001s 0.001s 22 0 0 0 17 0.001s 0.002s 23 0 0 1 31 0.001s 0.002s Apr 09 00 0 0 1 74 0.001s 0.002s 01 0 0 0 34 0.001s 0.002s 02 0 0 1 41 0.001s 0.002s 03 0 0 0 34 0.001s 0.002s 04 0 0 0 26 0.001s 0.002s 05 0 0 23 46 0.001s 0.002s 06 0 0 0 36 0.001s 0.002s 07 0 0 0 24 0.001s 0.002s 08 0 0 39 51 0.001s 0.002s 09 0 0 0 39 0.001s 0.002s 10 0 0 0 36 0.001s 0.002s 11 0 0 4 49 0.001s 0.002s 12 0 0 0 34 0.001s 0.002s 13 0 0 0 27 0.001s 0.002s 14 0 0 1 36 0.001s 0.002s 15 0 0 0 25 0.001s 0.002s 16 0 0 0 19 0.001s 0.001s 17 0 0 33 65 0.001s 0.003s 18 0 0 1 20 0.001s 0.002s 19 0 0 0 30 0.002s 0.002s 20 0 0 7 54 0.036s 0.003s 21 0 0 0 30 0.001s 0.002s 22 0 0 35 30 0.001s 0.001s 23 0 0 3 56 0.001s 0.002s Apr 10 00 0 0 41 115 0.001s 0.003s 01 0 0 0 18 0.001s 0.001s 02 0 0 43 74 0.001s 0.003s 03 0 0 0 44 0.001s 0.002s 04 0 0 0 32 0.001s 0.002s 05 0 0 0 18 0.001s 0.001s 06 0 0 28 125 0.001s 0.003s 07 0 0 0 123 0.001s 0.002s 08 0 0 0 31 0.001s 0.002s 09 0 0 1 28 0.001s 0.002s 10 0 0 1 35 0.001s 0.002s 11 0 0 1 42 0.001s 0.002s 12 0 0 0 32 0.001s 0.002s 13 0 0 0 18 0.001s 0.002s 14 0 0 0 19 0.001s 0.002s 15 0 0 0 18 0.001s 0.002s 16 0 0 0 23 0.001s 0.002s 17 0 0 0 27 0.001s 0.002s 18 0 0 0 21 0.001s 0.002s 19 0 0 0 9 0.001s 0.001s 20 0 0 0 0 0s 0s 21 0 0 0 0 0s 0s 22 0 0 0 0 0s 0s 23 0 0 0 0 0s 0s Apr 11 00 0 0 4 16 0.001s 0.001s 01 0 0 0 38 0.001s 0.001s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 13 0.001s 0.001s 06 0 0 0 60 0.001s 0.002s 07 0 0 0 15 0.001s 0.001s 08 0 0 6 57 0.001s 0.003s 09 0 0 5 64 0.001s 0.002s 10 0 0 1 45 0.001s 0.002s 11 0 0 0 46 0.001s 0.002s 12 0 0 0 31 0.001s 0.002s 13 0 0 0 22 0.001s 0.002s 14 0 0 0 20 0.001s 0.002s 15 0 0 0 39 0.001s 0.002s 16 0 0 0 97 0.001s 0.002s 17 0 0 1 112 0.001s 0.002s 18 0 0 0 73 0.001s 0.002s 19 0 0 0 72 0.001s 0.002s 20 0 0 0 18 0.001s 0.002s 21 0 0 2 18 0.001s 0.001s 22 0 0 7 54 0.001s 0.003s 23 0 0 4 63 0.001s 0.002s Apr 12 00 0 0 3 83 0.001s 0.002s 01 0 0 0 28 0.001s 0.002s 02 0 0 0 30 0.001s 0.002s 03 0 0 0 19 0.001s 0.001s 04 0 0 34 56 0.001s 0.003s 05 0 0 32 28 0.001s 0.001s 06 0 0 5 113 0.001s 0.003s 07 0 0 0 110 0.001s 0.002s 08 0 0 33 92 0.001s 0.002s 09 0 0 3 41 0.001s 0.002s 10 0 0 0 21 0.001s 0.002s 11 0 0 0 73 0.001s 0.002s 12 0 0 0 127 0.001s 0.002s 13 0 0 0 118 0.001s 0.002s 14 0 0 0 139 0.001s 0.002s 15 0 0 1 161 0.001s 0.002s 16 0 0 0 62 0.001s 0.002s 17 0 0 0 30 0.001s 0.002s 18 0 0 0 20 0.001s 0.002s 19 0 0 0 18 0.001s 0.002s 20 0 0 1 18 0.001s 0.002s 21 0 0 0 26 0.001s 0.002s 22 0 0 0 31 0.001s 0.002s 23 0 0 0 30 0.001s 0.002s Apr 13 00 0 0 0 77 0.001s 0.002s 01 0 0 1 45 0.004s 0.002s 02 0 0 0 39 0.001s 0.002s 03 0 0 0 36 0.001s 0.002s 04 0 0 1 40 0.001s 0.002s 05 0 0 0 28 0.001s 0.002s 06 0 0 0 27 0.001s 0.002s 07 0 0 0 39 0.001s 0.002s 08 0 0 0 25 0.001s 0.002s 09 0 0 1 20 0.001s 0.002s 10 0 0 0 43 0.001s 0.002s 11 0 0 0 114 0.001s 0.002s 12 0 0 0 72 0.001s 0.002s 13 0 0 0 21 0.001s 0.002s 14 0 0 0 18 0.001s 0.002s 15 0 0 0 25 0.001s 0.002s 16 0 0 0 19 0.001s 0.002s 17 0 0 0 34 0.001s 0.002s 18 0 0 0 40 0.001s 0.002s 19 0 0 0 10 0.001s 0.001s 20 0 0 0 39 0.001s 0.003s 21 0 0 0 18 0.001s 0.002s 22 0 0 0 18 0.001s 0.002s 23 0 0 0 29 0.001s 0.002s Day Hour Count Avg time (sec) Apr 07 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 08 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 09 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 10 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 11 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 12 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Apr 13 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Apr 07 00 2,195.00 kB 419,163.50 kB 01 169.00 kB 339,605.00 kB 02 191.50 kB 275,128.00 kB 03 358.50 kB 222,907.00 kB 04 3,064.50 kB 181,136.00 kB 05 485.50 kB 146,803.00 kB 06 341.50 kB 118,997.50 kB 07 291.50 kB 96,427.00 kB 08 127.00 kB 78,146.00 kB 09 20,660.50 kB 67,055.00 kB 10 294.50 kB 54,524.50 kB 11 24,823.00 kB 48,893.00 kB 12 326.00 kB 39,652.00 kB 13 1,107.50 kB 32,290.00 kB 14 338.50 kB 26,274.50 kB 15 335.50 kB 21,327.50 kB 16 351.50 kB 17,340.00 kB 17 169.00 kB 14,094.00 kB 18 125.00 kB 11,444.00 kB 19 357.00 kB 9,337.00 kB 20 96.50 kB 7,583.00 kB 21 128.00 kB 6,166.00 kB 22 4,448.00 kB 7,848.00 kB 23 171.50 kB 6,411.50 kB Apr 08 00 13,682.50 kB 13,834.50 kB 01 28,195.00 kB 43,308.50 kB 02 364.00 kB 37,503.00 kB 03 317,769.50 kB 551,914.00 kB 04 196,243.33 kB 531,105.33 kB 05 26,263.00 kB 411,872.50 kB 06 6,621.00 kB 335,201.50 kB 07 875.50 kB 271,630.00 kB 08 692.50 kB 220,173.00 kB 09 3,607.50 kB 178,866.00 kB 10 300,691.50 kB 529,924.50 kB 11 1,439.50 kB 431,558.50 kB 12 1,739.00 kB 349,799.50 kB 13 891.00 kB 283,555.50 kB 14 3,280.00 kB 230,251.50 kB 15 879.00 kB 186,731.50 kB 16 23,042.50 kB 155,676.50 kB 17 709.50 kB 126,205.00 kB 18 914.00 kB 102,435.50 kB 19 21,860.00 kB 87,125.50 kB 20 163.00 kB 70,600.00 kB 21 177,271.00 kB 177,271.00 kB 22 375.00 kB 151,626.00 kB 23 5,075.50 kB 123,776.50 kB Apr 09 00 6,813.50 kB 101,479.00 kB 01 318.00 kB 82,335.00 kB 02 8,766.50 kB 67,597.50 kB 03 382.00 kB 55,582.50 kB 04 243.50 kB 45,081.50 kB 05 191,101.00 kB 362,559.00 kB 06 389.00 kB 293,768.50 kB 07 291.00 kB 237,991.50 kB 08 315,381.00 kB 593,940.00 kB 09 2,279.00 kB 481,679.50 kB 10 1,537.50 kB 390,484.50 kB 11 26,471.00 kB 321,168.00 kB 12 4,058.50 kB 260,993.00 kB 13 1,242.50 kB 211,761.50 kB 14 2,769.50 kB 171,928.50 kB 15 515.50 kB 139,499.00 kB 16 517.00 kB 119,014.00 kB 17 184,691.00 kB 452,518.00 kB 18 1,280.00 kB 348,709.00 kB 19 3,444.00 kB 283,058.50 kB 20 54,182.50 kB 238,002.50 kB 21 4,477.00 kB 195,147.50 kB 22 51,526.00 kB 171,750.00 kB 23 284,297.00 kB 531,361.50 kB Apr 10 00 223,268.33 kB 537,974.00 kB 01 4,190.00 kB 437,967.00 kB 02 231,928.33 kB 623,196.00 kB 03 4,694.50 kB 478,653.00 kB 04 1,539.00 kB 388,295.50 kB 05 272.00 kB 331,110.00 kB 06 148,987.00 kB 341,075.67 kB 07 1,090.50 kB 265,507.00 kB 08 5,462.00 kB 216,131.50 kB 09 5,919.00 kB 176,192.00 kB 10 4,526.50 kB 143,187.00 kB 11 9,585.50 kB 117,757.50 kB 12 1,327.50 kB 96,066.50 kB 13 127.00 kB 77,842.50 kB 14 212.50 kB 63,089.50 kB 15 204.00 kB 51,143.00 kB 16 240.50 kB 41,468.00 kB 17 329.00 kB 33,656.00 kB 18 175.50 kB 27,296.50 kB 19 35.00 kB 23,283.00 kB 20 0.00 kB 0.00 kB 21 0.00 kB 0.00 kB 22 0.00 kB 0.00 kB 23 0.00 kB 0.00 kB Apr 11 00 47,081.00 kB 47,081.00 kB 01 7,211.00 kB 43,094.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 488.00 kB 38,834.00 kB 06 4,582.00 kB 33,994.50 kB 07 351.00 kB 29,103.00 kB 08 31,731.00 kB 85,450.00 kB 09 40,519.00 kB 72,366.00 kB 10 7,327.50 kB 60,866.00 kB 11 1,641.50 kB 49,494.50 kB 12 342.00 kB 40,268.50 kB 13 119.50 kB 32,659.00 kB 14 141.50 kB 26,481.50 kB 15 2,297.00 kB 21,691.50 kB 16 474.50 kB 17,843.00 kB 17 1,232.00 kB 14,624.50 kB 18 620.50 kB 11,994.00 kB 19 1,034.50 kB 9,956.50 kB 20 140.50 kB 8,089.50 kB 21 10,495.00 kB 10,495.00 kB 22 44,454.33 kB 118,949.33 kB 23 37,418.00 kB 97,730.00 kB Apr 12 00 24,743.00 kB 84,473.00 kB 01 184.00 kB 68,506.00 kB 02 281.00 kB 55,553.50 kB 03 415.00 kB 47,413.00 kB 04 183,950.67 kB 498,306.00 kB 05 8,625.00 kB 403,012.00 kB 06 196,735.33 kB 532,293.33 kB 07 838.00 kB 408,260.50 kB 08 273,701.50 kB 519,672.00 kB 09 23,214.00 kB 423,285.00 kB 10 162.50 kB 344,964.00 kB 11 614.00 kB 279,493.50 kB 12 1,272.50 kB 226,601.00 kB 13 907.00 kB 183,762.00 kB 14 1,508.00 kB 149,099.00 kB 15 6,618.00 kB 121,698.00 kB 16 1,738.50 kB 99,304.50 kB 17 370.00 kB 80,503.00 kB 18 148.00 kB 65,237.50 kB 19 123.00 kB 52,866.00 kB 20 139.50 kB 42,847.00 kB 21 370.50 kB 34,757.00 kB 22 2,420.00 kB 28,630.00 kB 23 1,119.00 kB 23,403.00 kB Apr 13 00 2,448.50 kB 19,357.50 kB 01 2,407.00 kB 16,008.00 kB 02 6,183.00 kB 14,326.50 kB 03 483.50 kB 11,672.00 kB 04 5,271.00 kB 10,243.50 kB 05 354.50 kB 9,005.50 kB 06 336.00 kB 7,381.50 kB 07 2,711.00 kB 6,276.00 kB 08 299.00 kB 5,342.50 kB 09 254.50 kB 4,378.50 kB 10 1,146.50 kB 3,711.00 kB 11 968.50 kB 3,229.50 kB 12 475.50 kB 2,713.50 kB 13 157.00 kB 2,244.50 kB 14 119.50 kB 1,844.50 kB 15 383.00 kB 1,545.50 kB 16 115.00 kB 1,294.00 kB 17 393.50 kB 1,118.50 kB 18 538.00 kB 985.50 kB 19 122.00 kB 911.00 kB 20 462.67 kB 918.33 kB 21 132.50 kB 1,018.50 kB 22 145.50 kB 849.50 kB 23 698.50 kB 1,199.00 kB -
Temporary Files
Size of temporary files
Key values
- 9.76 MiB Temp Files size Peak
- 2024-04-10 00:17:26 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2024-04-10 00:17:26 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Apr 07 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 08 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 09 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 10 00 6 9.76 MiB 1.63 MiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 11 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 12 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 13 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 6 9.76 MiB 496.00 KiB 2.88 MiB 1.63 MiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2024-04-10 00:17:26 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 2.88 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-10 00:17:26 ]
2 2.17 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-10 00:17:26 ]
3 1.98 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-10 00:17:26 ]
4 1.20 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-10 00:17:26 ]
5 1.05 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-10 00:17:26 ]
6 496.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-10 00:17:26 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 22.48 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-04-09 22:11:40 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 22.48 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-04-09 22:11:40 Date
Analyzes per table
Key values
- pubc.log_query (147) Main table analyzed (database ctdprd51)
- 162 analyzes Total
Vacuums per table
Key values
- pubc.log_query (33) Main table vacuumed on database ctdprd51
- 44 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 33 17 30,542 0 6,364 0 3,775 13,137 466 4,495,378 ctdprd51.pub1.term_set_enrichment 3 0 12,693 0 5,053 0 0 6,187 6 401,558 ctdprd51.pub1.term_set_enrichment_agent 2 0 418,929 0 166,714 0 0 209,240 10 12,418,692 ctdprd51.pg_toast.pg_toast_486223 2 0 78 0 4 0 0 3 1 8,632 ctdprd51.pg_toast.pg_toast_2619 2 2 8,366 0 2,244 0 19,960 6,660 2,139 1,172,650 ctdprd51.pg_catalog.pg_statistic 1 1 684 0 135 0 0 406 125 527,562 ctdprd51.pub1.term_comp_agent 1 0 228 0 73 0 0 69 2 16,246 Total 44 20 471,520 2,404 180,587 0 23,735 235,702 2,749 19,040,718 Tuples removed per table
Key values
- pubc.log_query (55307) Main table with removed tuples on database ctdprd51
- 64062 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 33 17 55,307 559,789 1 0 19,476 ctdprd51.pg_toast.pg_toast_2619 2 2 8,310 40,183 0 0 25,184 ctdprd51.pg_catalog.pg_statistic 1 1 445 2,234 0 0 290 ctdprd51.pub1.term_set_enrichment 3 0 0 1,950,229 0 0 32,240 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 92,661,951 0 0 1,052,978 ctdprd51.pg_toast.pg_toast_486223 2 0 0 2 0 0 1 ctdprd51.pub1.term_comp_agent 1 0 0 53,083 0 0 448 Total 44 20 64,062 95,267,471 1 0 1,130,617 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pub1.term_set_enrichment 3 0 0 0 ctdprd51.pubc.log_query 33 17 55307 0 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 0 ctdprd51.pg_catalog.pg_statistic 1 1 445 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 2 2 8310 0 Total 44 20 64,062 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Apr 07 00 0 0 01 0 2 02 0 0 03 0 2 04 0 2 05 0 3 06 0 0 07 0 1 08 0 1 09 0 0 10 0 1 11 0 0 12 0 0 13 0 1 14 0 0 15 0 0 16 0 1 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 1 23 0 0 Apr 08 00 0 1 01 0 2 02 0 3 03 0 2 04 0 1 05 0 3 06 0 0 07 0 1 08 0 8 09 0 7 10 0 2 11 0 0 12 0 0 13 0 2 14 0 2 15 0 1 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Apr 09 00 0 0 01 0 2 02 0 2 03 0 2 04 0 1 05 0 3 06 0 0 07 0 2 08 0 2 09 0 8 10 0 3 11 0 7 12 0 3 13 0 0 14 0 2 15 0 0 16 0 1 17 0 0 18 0 1 19 0 2 20 0 1 21 0 2 22 0 2 23 0 3 Apr 10 00 0 2 01 0 3 02 0 1 03 0 2 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Apr 11 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 4 06 0 1 07 0 3 08 0 2 09 0 2 10 0 0 11 0 1 12 0 1 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 1 22 0 0 23 0 2 Apr 12 00 0 0 01 0 2 02 0 2 03 0 1 04 0 1 05 0 3 06 0 1 07 0 1 08 0 1 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 0 20 0 0 21 0 1 22 0 0 23 0 0 Apr 13 00 0 1 01 0 1 02 0 1 03 0 1 04 0 1 05 0 3 06 0 1 07 0 0 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 0 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 0 - 22.48 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
- 28,725 Total read queries
- 726 Total write queries
Queries by database
Key values
- unknown Main database
- 21,677 Requests
- 1d22h9m46s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 47,005 Requests
User Request type Count Duration editeu Total 5 13s579ms select 5 13s579ms postgres Total 108 40m1s copy to 108 40m1s pubeu Total 16,732 1d21h5m23s cte 145 7m57s select 16,587 1d20h57m25s qaeu Total 79 2m58s cte 17 57s905ms select 62 2m unknown Total 47,005 4d4h34m12s copy to 690 6h23m39s cte 965 52m58s others 9 46s74ms select 45,341 3d21h16m48s zbx_monitor Total 25 37s892ms select 25 37s892ms Duration by user
Key values
- 4d4h34m12s (unknown) Main time consuming user
User Request type Count Duration editeu Total 5 13s579ms select 5 13s579ms postgres Total 108 40m1s copy to 108 40m1s pubeu Total 16,732 1d21h5m23s cte 145 7m57s select 16,587 1d20h57m25s qaeu Total 79 2m58s cte 17 57s905ms select 62 2m unknown Total 47,005 4d4h34m12s copy to 690 6h23m39s cte 965 52m58s others 9 46s74ms select 45,341 3d21h16m48s zbx_monitor Total 25 37s892ms select 25 37s892ms Queries by host
Key values
- unknown Main host
- 63,954 Requests
- 6d2h23m27s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 29,409 Requests
- 2d18h57m2s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-04-11 10:43:34 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 24,164 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 26m34s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-08 18:09:41 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
2 25m57s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-08 18:11:39 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
3 25m42s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-08 18:12:57 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 25m42s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-08 18:11:43 - Bind query: yes ]
5 25m26s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-08 18:12:23 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
6 24m37s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-08 18:12:02 - Bind query: yes ]
7 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-04-13 18:59:55 ]
8 22m56s 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-04-13 19:40:16 ]
9 21m53s 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 = '1419075')) ORDER BY r.sort_txt LIMIT 50;[ Date: 2024-04-09 20:54:27 - Bind query: yes ]
10 18m39s /* * 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-04-11 00:18:40 ]
11 18m14s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-13 03:07:46 - Bind query: yes ]
12 18m7s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-11 20:59:42 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 17m36s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-11 20:59:00 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 17m24s /* * 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-04-10 00:17:26 ]
15 17m24s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-10 12:26:13 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 17m23s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-10 12:26:01 - Bind query: yes ]
17 17m2s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-13 03:06:17 - Bind query: yes ]
18 16m49s 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 = '1419075')) ORDER BY r.sort_txt LIMIT 50;[ Date: 2024-04-09 20:49:05 - Bind query: yes ]
19 15m50s 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 = '1248054') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-08 18:03:45 - Bind query: yes ]
20 15m44s /* * 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-04-13 00:15:46 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 10h46m14s 4,256 1s 1m54s 9s110ms 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 viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 08 08 26 2m19s 5s362ms 09 175 20m15s 6s943ms 10 51 3m43s 4s384ms 11 33 56m48s 1m43s 12 35 59m52s 1m42s 13 39 54m33s 1m23s 14 128 27m10s 12s741ms Apr 09 09 111 6m44s 3s645ms 10 196 15m9s 4s642ms 11 122 2m44s 1s350ms 12 126 22m10s 10s562ms 13 111 48m34s 26s254ms 14 177 30m16s 10s265ms 17 15 3m54s 15s657ms 18 301 51m1s 10s170ms 19 292 30m47s 6s328ms 20 212 18m11s 5s150ms 21 421 27m39s 3s942ms 22 299 19m15s 3s863ms 23 274 17m14s 3s774ms Apr 10 00 352 38m17s 6s526ms 01 271 35m25s 7s842ms 02 301 40m12s 8s14ms 03 188 13m50s 4s416ms [ User: pubeu - Total duration: 5h25m37s - Times executed: 1046 ]
-
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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500 OFFSET 1000;
Date: 2024-04-08 11:07:37 Duration: 1m54s 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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500 OFFSET 1500;
Date: 2024-04-08 11:09:26 Duration: 1m48s 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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500 OFFSET 1000;
Date: 2024-04-08 11:05:43 Duration: 1m45s Database: ctdprd51 User: pubeu Bind query: yes
2 10h8m22s 3,915 1s 47s875ms 9s323ms 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 #2
Day Hour Count Duration Avg duration Apr 07 00 1 1s215ms 1s215ms 01 1 3s514ms 3s514ms 02 3 9s643ms 3s214ms 04 1 4s861ms 4s861ms 05 2 7s607ms 3s803ms 06 1 4s766ms 4s766ms 07 3 8s658ms 2s886ms 08 1 2s673ms 2s673ms 09 2 6s4ms 3s2ms 11 1 4s961ms 4s961ms 15 5 7s173ms 1s434ms 16 3 5s973ms 1s991ms 17 91 5m32s 3s655ms 18 27 1m8s 2s531ms 20 3 5s365ms 1s788ms 22 13 52s909ms 4s69ms 23 3 9s943ms 3s314ms Apr 08 00 3 9s542ms 3s180ms 02 1 4s803ms 4s803ms 03 1 1s406ms 1s406ms 04 2 3s723ms 1s861ms 05 1 4s799ms 4s799ms 07 76 5m27s 4s308ms 08 1 1s6ms 1s6ms 09 1 1s395ms 1s395ms 11 1 2s729ms 2s729ms 13 24 1m 2s517ms 17 228 35m24s 9s318ms 23 1 2s729ms 2s729ms Apr 09 12 2 6s151ms 3s75ms 14 518 1h31m28s 10s594ms 15 126 10m47s 5s138ms 16 514 1h43m24s 12s70ms 18 1 1s109ms 1s109ms 19 177 13m18s 4s513ms 20 1,360 4h53m16s 12s938ms 22 2 6s98ms 3s49ms Apr 10 00 1 2s701ms 2s701ms 01 6 25s862ms 4s310ms 02 3 9s659ms 3s219ms 03 5 20s629ms 4s125ms 04 23 1m54s 4s997ms 05 6 17s382ms 2s897ms 06 2 6s472ms 3s236ms 07 3 6s586ms 2s195ms 09 5 9s600ms 1s920ms 10 17 1m 3s574ms 11 1 3s583ms 3s583ms 12 3 12s102ms 4s34ms 14 6 23s84ms 3s847ms 15 10 41s878ms 4s187ms 16 4 13s161ms 3s290ms 18 6 18s505ms 3s84ms 19 1 1s88ms 1s88ms Apr 11 06 3 3s510ms 1s170ms 07 22 58s63ms 2s639ms 08 28 1m28s 3s157ms 09 69 3m36s 3s140ms 10 14 33s808ms 2s414ms 11 30 1m21s 2s718ms 12 30 3m1s 6s58ms 13 4 7s659ms 1s914ms 14 3 3s809ms 1s269ms 15 1 1s246ms 1s246ms 16 1 1s248ms 1s248ms 17 2 2s420ms 1s210ms 18 3 8s412ms 2s804ms 19 5 12s324ms 2s464ms 20 3 9s367ms 3s122ms 21 8 18s590ms 2s323ms 23 1 2s639ms 2s639ms Apr 12 01 4 11s553ms 2s888ms 02 6 9s200ms 1s533ms 03 4 8s732ms 2s183ms 04 8 23s675ms 2s959ms 06 3 6s425ms 2s141ms 07 9 55s388ms 6s154ms 08 14 40s679ms 2s905ms 10 6 17s76ms 2s846ms 11 2 2s294ms 1s147ms 12 6 17s80ms 2s846ms 13 5 10s487ms 2s97ms 14 1 1s257ms 1s257ms 17 8 24s469ms 3s58ms 18 23 1m22s 3s607ms 19 20 1m36s 4s824ms 20 1 2s181ms 2s181ms 21 4 11s860ms 2s965ms 22 8 34s660ms 4s332ms Apr 13 00 1 9s525ms 9s525ms 01 2 6s426ms 3s213ms 02 5 11s446ms 2s289ms 03 1 1s229ms 1s229ms 05 3 6s156ms 2s52ms 06 1 1s150ms 1s150ms 07 2 2s464ms 1s232ms 08 2 4s605ms 2s302ms 09 49 3m42s 4s539ms 10 4 18s452ms 4s613ms 11 11 1m36s 8s769ms 12 25 1m4s 2s565ms 13 23 2m24s 6s273ms 14 44 2m47s 3s803ms 15 1 3s496ms 3s496ms 16 56 4m29s 4s819ms 17 18 51s214ms 2s845ms 20 1 4s909ms 4s909ms 21 4 11s387ms 2s846ms [ User: pubeu - Total duration: 1h47m31s - Times executed: 1060 ]
-
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 = '1381425') 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 = '1381425') 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-04-09 20:03:07 Duration: 47s875ms 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 = '1381425') 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 = '1381425') 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-04-09 20:39:10 Duration: 47s188ms 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 = '1381425') 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 = '1381425') 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-04-09 20:03:47 Duration: 46s731ms Bind query: yes
3 9h11m48s 4,079 1s1ms 44s464ms 8s116ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 07 01 1 1s743ms 1s743ms 02 1 3s265ms 3s265ms 05 1 6s195ms 6s195ms 07 1 1s864ms 1s864ms 10 1 3s285ms 3s285ms 13 1 6s15ms 6s15ms 14 1 6s31ms 6s31ms 15 9 20s993ms 2s332ms 17 75 4m48s 3s841ms 18 9 22s352ms 2s483ms 22 5 13s181ms 2s636ms Apr 08 00 1 1s206ms 1s206ms 01 2 8s79ms 4s39ms 07 87 6m29s 4s481ms 08 1 5s997ms 5s997ms 09 1 2s56ms 2s56ms 13 6 26s753ms 4s458ms 16 2 6s527ms 3s263ms 17 211 31m58s 9s94ms 23 1 1s838ms 1s838ms Apr 09 06 1 6s12ms 6s12ms 14 586 1h28m8s 9s24ms 15 127 9m56s 4s698ms 16 610 1h30m15s 8s878ms 19 205 13m21s 3s909ms 20 1,575 4h24m50s 10s89ms Apr 10 01 6 28s540ms 4s756ms 02 1 1s924ms 1s924ms 03 5 35s623ms 7s124ms 04 14 1m24s 6s37ms 05 3 11s434ms 3s811ms 08 1 2s10ms 2s10ms 09 2 9s208ms 4s604ms 10 14 48s978ms 3s498ms 12 2 8s52ms 4s26ms 14 3 15s208ms 5s69ms 15 5 31s943ms 6s388ms 16 2 4s352ms 2s176ms 18 4 13s915ms 3s478ms Apr 11 07 15 43s786ms 2s919ms 08 36 2m44s 4s566ms 09 66 4m16s 3s888ms 10 10 21s293ms 2s129ms 11 19 59s876ms 3s151ms 12 21 2m37s 7s495ms 13 3 9s715ms 3s238ms 14 2 7s258ms 3s629ms 15 8 15s627ms 1s953ms 18 1 6s42ms 6s42ms 19 1 3s281ms 3s281ms 21 3 10s288ms 3s429ms Apr 12 01 1 6s16ms 6s16ms 02 11 24s83ms 2s189ms 04 4 6s987ms 1s746ms 06 2 3s910ms 1s955ms 07 4 32s721ms 8s180ms 08 10 25s955ms 2s595ms 09 1 3s237ms 3s237ms 10 2 5s87ms 2s543ms 12 7 20s77ms 2s868ms 13 7 21s955ms 3s136ms 17 6 20s888ms 3s481ms 18 21 1m22s 3s939ms 19 11 34s832ms 3s166ms 20 3 11s128ms 3s709ms 21 6 13s136ms 2s189ms 22 11 43s494ms 3s954ms Apr 13 00 5 19s23ms 3s804ms 01 4 23s387ms 5s846ms 02 7 18s372ms 2s624ms 07 2 7s618ms 3s809ms 09 32 2m8s 4s21ms 10 4 19s260ms 4s815ms 11 8 37s912ms 4s739ms 12 11 27s438ms 2s494ms 13 17 1m39s 5s872ms 14 46 3m18s 4s306ms 16 50 5m22s 6s453ms 17 13 49s435ms 3s802ms 18 1 2s837ms 2s837ms 21 4 12s111ms 3s27ms [ User: pubeu - Total duration: 1h32m50s - Times executed: 997 ]
-
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 = '1381425'))) 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-04-09 20:05:04 Duration: 44s464ms 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 = '1381425'))) 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-04-09 20:05:20 Duration: 42s660ms 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 = '1381425'))) 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-04-09 20:44:07 Duration: 42s304ms Bind query: yes
4 7h7m54s 223 1s 21m53s 1m55s 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 #4
Day Hour Count Duration Avg duration Apr 07 17 3 7s493ms 2s497ms 18 1 1s118ms 1s118ms Apr 08 17 25 10m1s 24s74ms 18 2 29m36s 14m48s 23 1 27s528ms 27s528ms Apr 09 12 1 30s661ms 30s661ms 14 4 4s705ms 1s176ms 15 3 3m3s 1m1s 16 15 12m17s 49s138ms 20 42 1h47m26s 2m33s Apr 10 01 1 2s680ms 2s680ms 03 1 3s103ms 3s103ms 09 2 31s467ms 15s733ms 10 1 2s665ms 2s665ms 15 3 8s352ms 2s784ms Apr 11 07 2 1m51s 55s706ms 08 9 20m53s 2m19s 09 12 49m47s 4m8s 10 4 4m44s 1m11s 11 1 3s237ms 3s237ms 12 13 51m23s 3m57s 13 3 6m1s 2m 14 1 2s972ms 2s972ms 15 1 25s375ms 25s375ms 19 1 2s168ms 2s168ms Apr 12 07 7 22m23s 3m11s 13 2 1m19s 39s838ms 15 1 25s842ms 25s842ms 17 1 2s507ms 2s507ms 18 5 2m52s 34s416ms 19 6 14m30s 2m25s 20 2 11m21s 5m40s 22 5 23m24s 4m40s 23 2 5m38s 2m49s Apr 13 00 3 3m58s 1m19s 01 4 6m4s 1m31s 09 6 4m49s 48s285ms 10 3 1m23s 27s964ms 11 8 11m25s 1m25s 12 2 4m9s 2m4s 13 10 13m50s 1m23s 14 2 30s647ms 15s323ms 16 2 4s9ms 2s4ms [ User: pubeu - Total duration: 3h46s - Times executed: 88 ]
-
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 = '1419075')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-09 20:54:27 Duration: 21m53s 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 = '1419075')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-09 20:49:05 Duration: 16m49s 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 = '1260890')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-08 18:02:51 Duration: 15m17s Database: ctdprd51 User: pubeu Bind query: yes
5 6h57m15s 67 1s379ms 26m34s 6m13s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 07 04 1 1s496ms 1s496ms 06 1 8m23s 8m23s Apr 08 04 1 3s226ms 3s226ms 06 1 1s446ms 1s446ms 09 1 1s645ms 1s645ms 17 25 1h5m28s 2m37s 18 8 3h4m56s 23m7s 20 1 1s482ms 1s482ms Apr 09 04 1 1s554ms 1s554ms 07 1 2s56ms 2s56ms 08 1 1s496ms 1s496ms 09 1 2s2ms 2s2ms 13 1 1s569ms 1s569ms 20 1 3s142ms 3s142ms Apr 10 02 1 3s218ms 3s218ms 03 1 3s168ms 3s168ms 05 1 8m24s 8m24s 12 5 52m32s 10m30s Apr 11 06 1 3s218ms 3s218ms 12 1 1s786ms 1s786ms 13 1 1s515ms 1s515ms 20 5 52m59s 10m35s 23 1 3s258ms 3s258ms Apr 12 16 1 1s379ms 1s379ms Apr 13 02 1 3s472ms 3s472ms 03 2 35m17s 17m38s 19 1 8m29s 8m29s [ User: pubeu - Total duration: 3h37m44s - Times executed: 40 ]
-
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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-08 18:09:41 Duration: 26m34s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-08 18:11:39 Duration: 25m57s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-08 18:12:57 Duration: 25m42s Database: ctdprd51 User: pubeu Bind query: yes
6 3h1m13s 3,577 1s 28s982ms 3s39ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, count(gcr.ixn_id) ixncount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join term g on gcr.gene_id = g.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort order by count(gcr.ixn_id) desc, g.nm_sort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 07 17 31 43s150ms 1s391ms Apr 08 07 38 1m24s 2s220ms 13 2 2s278ms 1s139ms 17 221 11m53s 3s229ms Apr 09 14 584 27m19s 2s807ms 15 74 2m39s 2s154ms 16 600 29m9s 2s915ms 19 136 4m47s 2s110ms 20 1,706 1h37m24s 3s426ms Apr 10 01 1 1s523ms 1s523ms 03 1 1s194ms 1s194ms 04 2 3s721ms 1s860ms 15 2 2s801ms 1s400ms 18 1 1s271ms 1s271ms Apr 11 07 3 4s489ms 1s496ms 08 24 49s181ms 2s49ms 09 36 1m10s 1s956ms 10 2 2s915ms 1s457ms 11 1 1s46ms 1s46ms 12 22 48s173ms 2s189ms 13 1 1s741ms 1s741ms Apr 12 07 3 9s433ms 3s144ms 08 1 1s69ms 1s69ms 18 7 9s15ms 1s287ms 19 5 9s696ms 1s939ms 20 1 1s155ms 1s155ms 22 3 6s806ms 2s268ms Apr 13 00 1 2s629ms 2s629ms 01 2 5s727ms 2s863ms 09 15 22s181ms 1s478ms 11 3 7s175ms 2s391ms 12 3 5s318ms 1s772ms 13 14 29s231ms 2s87ms 14 10 14s478ms 1s447ms 16 18 34s414ms 1s911ms 17 3 3s515ms 1s171ms [ User: pubeu - Total duration: 27m17s - Times executed: 701 ]
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2024-04-09 20:44:42 Duration: 28s982ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2024-04-09 20:42:00 Duration: 28s6ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2024-04-09 20:43:42 Duration: 27s747ms Bind query: yes
7 2h33m35s 2,665 1s 14s570ms 3s457ms 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 #7
Day Hour Count Duration Avg duration Apr 07 00 1 1s812ms 1s812ms 01 2 2s522ms 1s261ms 08 1 1s244ms 1s244ms 09 2 2s464ms 1s232ms 13 3 4s264ms 1s421ms 15 3 3s749ms 1s249ms 17 27 55s381ms 2s51ms 18 2 3s107ms 1s553ms 19 1 1s267ms 1s267ms 21 1 1s801ms 1s801ms 22 3 3s840ms 1s280ms Apr 08 06 1 1s799ms 1s799ms 07 48 1m25s 1s780ms 09 2 3s51ms 1s525ms 12 1 1s805ms 1s805ms 13 8 14s911ms 1s863ms 16 1 1s250ms 1s250ms 17 175 10m5s 3s458ms Apr 09 05 1 1s257ms 1s257ms 14 414 23m40s 3s431ms 15 71 2m28s 2s94ms 16 446 29m40s 3s992ms 19 100 3m27s 2s73ms 20 1,056 1h10m37s 4s13ms Apr 10 00 1 1s252ms 1s252ms 01 3 5s869ms 1s956ms 02 1 1s282ms 1s282ms 03 2 3s796ms 1s898ms 04 5 16s89ms 3s217ms 05 1 1s888ms 1s888ms 08 2 3s12ms 1s506ms 09 1 1s817ms 1s817ms 10 10 18s35ms 1s803ms 12 2 3s687ms 1s843ms 14 3 5s435ms 1s811ms 15 3 5s653ms 1s884ms 16 1 2s628ms 2s628ms 18 2 3s562ms 1s781ms Apr 11 06 4 7s206ms 1s801ms 07 5 8s368ms 1s673ms 08 16 44s98ms 2s756ms 09 43 1m31s 2s134ms 10 5 7s424ms 1s484ms 11 7 11s732ms 1s676ms 12 14 31s142ms 2s224ms 13 3 4s350ms 1s450ms 15 2 2s578ms 1s289ms 17 1 1s231ms 1s231ms 19 1 1s232ms 1s232ms Apr 12 00 1 1s796ms 1s796ms 01 2 3s100ms 1s550ms 02 2 2s652ms 1s326ms 07 7 24s229ms 3s461ms 08 3 4s915ms 1s638ms 11 2 3s34ms 1s517ms 12 3 4s371ms 1s457ms 13 4 5s970ms 1s492ms 17 2 3s737ms 1s868ms 18 9 17s679ms 1s964ms 19 13 23s43ms 1s772ms 21 1 1s930ms 1s930ms 22 8 25s674ms 3s209ms 23 1 1s247ms 1s247ms Apr 13 00 7 13s273ms 1s896ms 01 3 7s848ms 2s616ms 02 3 3s913ms 1s304ms 03 1 1s795ms 1s795ms 05 1 1s794ms 1s794ms 06 1 1s806ms 1s806ms 09 13 33s224ms 2s555ms 10 1 2s83ms 2s83ms 11 3 9s893ms 3s297ms 12 4 5s943ms 1s485ms 13 12 27s744ms 2s312ms 14 21 40s195ms 1s914ms 16 21 51s371ms 2s446ms 17 7 12s421ms 1s774ms 20 1 1s813ms 1s813ms [ User: pubeu - Total duration: 26m20s - Times executed: 618 ]
-
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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-09 20:43:39 Duration: 14s570ms 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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-09 20:43:31 Duration: 14s224ms 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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-09 20:42:49 Duration: 14s186ms Database: ctdprd51 User: pubeu Bind query: yes
8 1h53m54s 7 15m23s 18m39s 16m16s select maint_query_logs_archive ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 07 00 1 15m27s 15m27s Apr 08 00 1 15m23s 15m23s Apr 09 00 1 15m36s 15m36s Apr 10 00 1 17m24s 17m24s Apr 11 00 1 18m39s 18m39s Apr 12 00 1 15m38s 15m38s Apr 13 00 1 15m44s 15m44s -
/* * 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-04-11 00:18:40 Duration: 18m39s
-
/* * 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-04-10 00:17:26 Duration: 17m24s
-
/* * 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-04-13 00:15:46 Duration: 15m44s
9 1h52m20s 493 1s8ms 38s263ms 13s671ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 07 03 2 3s294ms 1s647ms 13 1 5s313ms 5s313ms 17 1 2s65ms 2s65ms 18 1 5s377ms 5s377ms 19 1 5s296ms 5s296ms Apr 08 06 1 5s178ms 5s178ms 17 6 34s183ms 5s697ms Apr 09 20 1 10s600ms 10s600ms Apr 10 03 1 1s517ms 1s517ms 09 1 2s271ms 2s271ms 11 1 1s515ms 1s515ms Apr 11 10 1 5s579ms 5s579ms Apr 13 05 1 5s577ms 5s577ms 10 63 3m7s 2s977ms 11 1 1s299ms 1s299ms 12 410 1h47m43s 15s764ms [ User: pubeu - Total duration: 9m10s - Times executed: 60 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-13 12:20:59 Duration: 38s263ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-13 12:21:16 Duration: 37s532ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '154541' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '154541') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-13 12:21:50 Duration: 35s377ms Bind query: yes
10 1h12m27s 515 1s4ms 38s683ms 8s441ms 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 #10
Day Hour Count Duration Avg duration Apr 07 01 1 5s60ms 5s60ms 03 1 5s164ms 5s164ms 05 5 5s179ms 1s35ms 09 1 5s440ms 5s440ms 10 2 11s255ms 5s627ms 12 2 6s583ms 3s291ms 15 2 10s757ms 5s378ms 16 1 5s348ms 5s348ms 17 10 1m1s 6s158ms 18 6 36s735ms 6s122ms 19 1 5s647ms 5s647ms 22 3 3s497ms 1s165ms Apr 08 00 1 1s56ms 1s56ms 05 2 2s24ms 1s12ms 07 3 10s206ms 3s402ms 08 4 22s537ms 5s634ms 09 8 44s740ms 5s592ms 10 1 5s321ms 5s321ms 12 1 1s14ms 1s14ms 17 14 3m26s 14s774ms 20 1 5s143ms 5s143ms 21 2 5s986ms 2s993ms 22 2 10s786ms 5s393ms Apr 09 00 1 5s300ms 5s300ms 01 1 5s391ms 5s391ms 02 1 5s478ms 5s478ms 05 3 3s104ms 1s34ms 06 1 5s452ms 5s452ms 09 3 3s88ms 1s29ms 13 1 5s649ms 5s649ms 15 4 27s189ms 6s797ms 16 6 2m38s 26s369ms 17 1 5s412ms 5s412ms 19 2 16s93ms 8s46ms 20 19 9m44s 30s763ms 23 1 1s5ms 1s5ms Apr 10 01 3 17s756ms 5s918ms 03 9 45s648ms 5s72ms 04 13 1m35s 7s369ms 05 5 14s665ms 2s933ms 06 2 12s112ms 6s56ms 08 2 10s998ms 5s499ms 09 7 40s380ms 5s768ms 10 15 1m16s 5s76ms 14 11 59s336ms 5s394ms 15 14 1m32s 6s624ms 16 4 24s897ms 6s224ms 18 3 18s18ms 6s6ms Apr 11 05 3 3s94ms 1s31ms 07 11 1m9s 6s348ms 08 15 2m10s 8s682ms 09 30 5m14s 10s471ms 10 14 1m44s 7s493ms 11 11 1m3s 5s795ms 12 13 2m51s 13s191ms 13 4 25s894ms 6s473ms 14 2 12s926ms 6s463ms 15 12 1m10s 5s849ms 19 1 5s413ms 5s413ms 20 4 22s851ms 5s712ms 21 3 17s257ms 5s752ms Apr 12 01 4 20s639ms 5s159ms 02 4 25s166ms 6s291ms 03 1 5s615ms 5s615ms 04 5 19s430ms 3s886ms 05 4 8s315ms 2s78ms 06 1 6s464ms 6s464ms 07 10 4m12s 25s290ms 08 5 24s248ms 4s849ms 10 2 11s614ms 5s807ms 12 3 17s628ms 5s876ms 13 4 26s971ms 6s742ms 15 1 5s541ms 5s541ms 17 3 18s716ms 6s238ms 18 8 37s451ms 4s681ms 19 11 1m22s 7s509ms 20 2 13s232ms 6s616ms 21 6 39s334ms 6s555ms 22 7 54s971ms 7s853ms 23 3 20s448ms 6s816ms Apr 13 00 7 49s17ms 7s2ms 01 4 26s761ms 6s690ms 02 1 5s742ms 5s742ms 05 2 2s108ms 1s54ms 06 1 5s367ms 5s367ms 09 18 2m13s 7s399ms 10 2 8s87ms 4s43ms 11 10 1m44s 10s485ms 12 10 59s198ms 5s919ms 13 10 1m31s 9s191ms 14 9 42s88ms 4s676ms 15 1 5s385ms 5s385ms 16 23 4m44s 12s378ms 17 2 6s875ms 3s437ms 21 2 6s663ms 3s331ms [ User: pubeu - Total duration: 34m3s - Times executed: 249 ]
[ User: qaeu - Total duration: 4s205ms - Times executed: 4 ]
-
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 = '1419064' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-09 20:42:26 Duration: 38s683ms 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 = '1285542' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-09 20:44:02 Duration: 38s127ms 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 = '1285542' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-09 20:44:50 Duration: 38s117ms Bind query: yes
11 49m49s 478 1s5ms 56s866ms 6s254ms 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 Apr 07 00 3 8s410ms 2s803ms 01 4 22s691ms 5s672ms 02 2 8s70ms 4s35ms 03 2 8s130ms 4s65ms 04 1 6s741ms 6s741ms 05 5 27s145ms 5s429ms 06 4 17s108ms 4s277ms 07 4 6s851ms 1s712ms 08 2 7s325ms 3s662ms 09 2 7s699ms 3s849ms 10 3 8s533ms 2s844ms 11 5 24s387ms 4s877ms 12 4 21s295ms 5s323ms 13 3 11s342ms 3s780ms 14 3 9s549ms 3s183ms 15 3 8s229ms 2s743ms 16 2 3s689ms 1s844ms 17 2 4s148ms 2s74ms 18 1 2s180ms 2s180ms 19 3 10s662ms 3s554ms 20 2 2s338ms 1s169ms 21 4 11s144ms 2s786ms 23 3 6s623ms 2s207ms Apr 08 00 4 24s991ms 6s247ms 01 2 5s761ms 2s880ms 02 1 3s170ms 3s170ms 03 3 8s545ms 2s848ms 04 1 4s393ms 4s393ms 05 7 27s864ms 3s980ms 06 1 1s24ms 1s24ms 07 2 6s575ms 3s287ms 08 3 9s592ms 3s197ms 09 1 1s157ms 1s157ms 10 1 10s624ms 10s624ms 12 3 10s535ms 3s511ms 13 1 5s955ms 5s955ms 14 2 5s306ms 2s653ms 15 1 2s305ms 2s305ms 16 1 2s580ms 2s580ms 17 68 19m24s 17s122ms 18 3 6s850ms 2s283ms 21 2 8s135ms 4s67ms 22 3 7s45ms 2s348ms 23 2 6s431ms 3s215ms Apr 09 00 8 1m7s 8s383ms 01 4 22s171ms 5s542ms 02 1 11s212ms 11s212ms 03 3 32s624ms 10s874ms 05 2 7s679ms 3s839ms 06 1 2s180ms 2s180ms 08 3 8s862ms 2s954ms 09 2 4s939ms 2s469ms 10 6 27s913ms 4s652ms 11 2 8s247ms 4s123ms 12 2 8s307ms 4s153ms 13 3 6s778ms 2s259ms 15 1 1s986ms 1s986ms 16 2 3s417ms 1s708ms 17 1 2s665ms 2s665ms 18 2 16s150ms 8s75ms 19 1 2s251ms 2s251ms 20 2 14s925ms 7s462ms 21 5 15s260ms 3s52ms 22 2 6s148ms 3s74ms 23 1 3s60ms 3s60ms Apr 10 00 1 4s811ms 4s811ms 01 2 14s642ms 7s321ms 02 2 2s706ms 1s353ms 03 2 7s855ms 3s927ms 04 22 1m23s 3s788ms 07 1 1s316ms 1s316ms 08 2 2s549ms 1s274ms 09 1 1s241ms 1s241ms 10 3 9s307ms 3s102ms 11 2 6s470ms 3s235ms 14 7 14s931ms 2s133ms 15 2 9s568ms 4s784ms 16 2 3s505ms 1s752ms 17 1 2s525ms 2s525ms Apr 11 06 1 1s259ms 1s259ms 08 2 11s311ms 5s655ms 09 12 53s380ms 4s448ms 10 1 2s223ms 2s223ms 11 1 1s105ms 1s105ms 14 12 46s366ms 3s863ms 17 1 10s878ms 10s878ms 18 3 19s307ms 6s435ms 20 1 2s766ms 2s766ms 21 2 7s349ms 3s674ms 22 1 5s63ms 5s63ms Apr 12 00 2 10s647ms 5s323ms 01 1 1s386ms 1s386ms 02 3 5s444ms 1s814ms 03 1 1s520ms 1s520ms 04 2 10s437ms 5s218ms 06 1 1s133ms 1s133ms 07 1 2s293ms 2s293ms 09 1 1s372ms 1s372ms 10 4 18s161ms 4s540ms 14 13 1m4s 4s958ms 15 1 1s131ms 1s131ms 18 1 12s400ms 12s400ms 19 1 12s633ms 12s633ms 20 38 3m6s 4s901ms 21 9 37s533ms 4s170ms 22 27 2m34s 5s723ms Apr 13 00 1 5s64ms 5s64ms 01 2 6s986ms 3s493ms 02 4 11s702ms 2s925ms 05 1 2s520ms 2s520ms 06 2 2s657ms 1s328ms 07 2 3s319ms 1s659ms 08 2 4s561ms 2s280ms 09 2 13s476ms 6s738ms 10 2 3s828ms 1s914ms 11 1 3s79ms 3s79ms 12 3 8s686ms 2s895ms 13 19 3m16s 10s331ms 14 1 1s631ms 1s631ms 15 2 11s575ms 5s787ms 16 1 1s786ms 1s786ms 19 1 1s697ms 1s697ms 20 2 3s441ms 1s720ms 21 1 5s86ms 5s86ms 22 1 2s328ms 2s328ms 23 2 11s593ms 5s796ms [ User: pubeu - Total duration: 16m56s - Times executed: 208 ]
-
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 = '2061611') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-08 17:49:21 Duration: 56s866ms 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 = '2051315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-08 17:52:39 Duration: 47s577ms 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 = '2056095') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-08 17:51:47 Duration: 39s981ms Bind query: yes
12 47m47s 2,047 1s 3s140ms 1s401ms select count(*) from chem_disease cd where cd.chem_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 Apr 08 17 163 3m45s 1s380ms Apr 09 14 283 6m23s 1s354ms 15 23 29s740ms 1s293ms 16 342 8m13s 1s442ms 19 14 18s449ms 1s317ms 20 1,132 26m49s 1s421ms Apr 11 08 14 16s319ms 1s165ms 09 19 21s755ms 1s145ms 12 15 17s595ms 1s173ms Apr 12 07 8 11s429ms 1s428ms 19 2 2s175ms 1s87ms 22 11 13s349ms 1s213ms Apr 13 11 8 10s501ms 1s312ms 13 6 6s653ms 1s108ms 16 7 8s901ms 1s271ms [ User: pubeu - Total duration: 2m19s - Times executed: 114 ]
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425');
Date: 2024-04-09 16:14:09 Duration: 3s140ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425');
Date: 2024-04-09 20:38:49 Duration: 3s138ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425');
Date: 2024-04-09 20:33:53 Duration: 3s135ms Bind query: yes
13 40m53s 477 1s14ms 1m9s 5s144ms 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 stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.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 #13
Day Hour Count Duration Avg duration Apr 07 08 1 1s239ms 1s239ms 16 1 1s220ms 1s220ms 17 10 1m11s 7s103ms 18 5 35s103ms 7s20ms 22 2 11s778ms 5s889ms Apr 08 07 3 4s563ms 1s521ms 08 2 2s259ms 1s129ms 17 59 3m18s 3s367ms Apr 09 14 26 1m15s 2s888ms 15 7 42s36ms 6s5ms 16 41 2m20s 3s432ms 19 7 17s350ms 2s478ms 20 112 11m39s 6s242ms 22 1 1s82ms 1s82ms Apr 10 01 3 22s462ms 7s487ms 03 3 41s39ms 13s679ms 04 10 1m35s 9s514ms 05 2 3s903ms 1s951ms 06 1 2s237ms 2s237ms 09 5 24s165ms 4s833ms 10 5 32s315ms 6s463ms 14 6 6s972ms 1s162ms 15 9 54s76ms 6s8ms 16 2 3s446ms 1s723ms 18 2 22s24ms 11s12ms Apr 11 07 4 23s779ms 5s944ms 08 10 27s654ms 2s765ms 09 16 52s917ms 3s307ms 10 4 11s987ms 2s996ms 11 3 13s584ms 4s528ms 12 11 1m22s 7s475ms 13 1 2s436ms 2s436ms 14 1 1s413ms 1s413ms 19 1 1s283ms 1s283ms 21 2 7s651ms 3s825ms Apr 12 01 2 14s573ms 7s286ms 02 1 1s113ms 1s113ms 04 2 15s452ms 7s726ms 06 1 7s949ms 7s949ms 07 4 8s381ms 2s95ms 08 2 12s345ms 6s172ms 10 1 7s116ms 7s116ms 13 1 1s485ms 1s485ms 17 2 20s962ms 10s481ms 18 3 12s9ms 4s3ms 19 7 1m7s 9s624ms 22 6 31s2ms 5s167ms 23 1 1s43ms 1s43ms Apr 13 00 4 1m1s 15s361ms 01 2 5s515ms 2s757ms 04 1 6s377ms 6s377ms 05 1 1s223ms 1s223ms 06 1 1s59ms 1s59ms 07 1 1s23ms 1s23ms 08 4 5s766ms 1s441ms 09 17 1m44s 6s157ms 10 2 20s193ms 10s96ms 11 7 1m35s 13s697ms 12 3 19s777ms 6s592ms 13 11 58s435ms 5s312ms 14 3 15s590ms 5s196ms 16 8 17s690ms 2s211ms 21 1 4s334ms 4s334ms [ User: pubeu - Total duration: 13m49s - Times executed: 158 ]
-
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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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-04-09 20:26:27 Duration: 1m9s 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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-04-09 20:26:46 Duration: 1m7s 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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-04-09 20:45:14 Duration: 54s556ms Bind query: yes
14 29m26s 279 1s11ms 45s369ms 6s330ms 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 ? offset ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 08 17 3 13s773ms 4s591ms Apr 09 16 2 9s286ms 4s643ms 20 20 9m 27s14ms Apr 10 04 22 4m31s 12s332ms 05 7 11s866ms 1s695ms 06 7 13s152ms 1s878ms 14 13 40s845ms 3s141ms 15 7 45s830ms 6s547ms 18 7 18s382ms 2s626ms Apr 11 06 9 10s40ms 1s115ms 07 19 1m1s 3s241ms 08 10 20s137ms 2s13ms 09 14 1m7s 4s826ms 10 10 20s177ms 2s17ms 11 7 16s953ms 2s421ms 12 15 42s667ms 2s844ms 19 3 8s582ms 2s860ms 21 6 15s183ms 2s530ms Apr 12 06 2 2s227ms 1s113ms 07 10 1m8s 6s808ms 10 8 28s622ms 3s577ms 18 8 33s363ms 4s170ms 19 13 2m 9s255ms 21 1 2s622ms 2s622ms Apr 13 07 1 5s187ms 5s187ms 09 11 1m17s 7s32ms 11 8 50s481ms 6s310ms 12 6 10s662ms 1s777ms 13 16 1m10s 4s394ms 14 8 51s585ms 6s448ms 21 6 17s722ms 2s953ms [ User: pubeu - Total duration: 10m18s - Times executed: 97 ]
-
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 = '1381425') 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 = '1381425') 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 OFFSET 50;
Date: 2024-04-09 20:25:58 Duration: 45s369ms 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 = '1381425') 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 = '1381425') 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 OFFSET 50;
Date: 2024-04-09 20:25:30 Duration: 39s632ms 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 = '1381425') 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 = '1381425') 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 OFFSET 300;
Date: 2024-04-09 20:25:15 Duration: 35s380ms Bind query: yes
15 27m44s 241 1s 1m54s 6s904ms 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 viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 08 07 1 2s615ms 2s615ms 08 14 41s541ms 2s967ms 09 11 47s127ms 4s284ms 10 5 2m9s 25s848ms 11 4 7m23s 1m50s 13 2 58s119ms 29s59ms 14 6 45s702ms 7s617ms Apr 09 09 6 22s800ms 3s800ms 10 8 29s798ms 3s724ms 11 16 23s319ms 1s457ms 12 8 52s487ms 6s560ms 13 5 1m31s 18s336ms 14 6 46s365ms 7s727ms 17 3 1m1s 20s541ms 18 9 1m3s 7s68ms 19 14 1m8s 4s870ms 20 17 1m12s 4s241ms 21 22 1m1s 2s812ms 22 14 38s457ms 2s746ms 23 22 1m17s 3s524ms Apr 10 00 14 36s176ms 2s584ms 01 8 53s725ms 6s715ms 02 12 1m3s 5s278ms 03 14 33s510ms 2s393ms [ User: pubeu - Total duration: 15m37s - Times executed: 103 ]
-
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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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-04-08 11:07:22 Duration: 1m54s 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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500;
Date: 2024-04-08 11:06:56 Duration: 1m53s 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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500;
Date: 2024-04-08 11:08:53 Duration: 1m52s Database: ctdprd51 User: pubeu Bind query: yes
16 27m18s 85 1s24ms 1m56s 19s277ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 07 00 1 1s764ms 1s764ms 09 1 2s880ms 2s880ms 10 1 8s320ms 8s320ms 22 1 1s505ms 1s505ms Apr 08 04 2 9s327ms 4s663ms 06 1 1s24ms 1s24ms 09 1 8s151ms 8s151ms 11 1 8s569ms 8s569ms 17 40 20m37s 30s928ms 19 1 1s41ms 1s41ms 22 1 1s193ms 1s193ms Apr 09 07 1 3s406ms 3s406ms 23 1 8s360ms 8s360ms Apr 10 01 1 2s509ms 2s509ms 09 1 9s452ms 9s452ms 12 8 1m52s 14s124ms 14 1 1s206ms 1s206ms Apr 11 05 1 18s357ms 18s357ms 06 1 1s233ms 1s233ms 12 1 8s58ms 8s58ms 13 1 1s571ms 1s571ms 20 10 2m30s 15s74ms Apr 12 01 1 1s282ms 1s282ms Apr 13 02 4 35s828ms 8s957ms 06 1 1s601ms 1s601ms 22 1 1s48ms 1s48ms [ User: pubeu - Total duration: 9m - Times executed: 37 ]
-
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 = '1230239') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-08 17:50:51 Duration: 1m56s 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 = '1230239') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-08 17:50:27 Duration: 1m52s 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 = '1237381') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-08 17:53:57 Duration: 1m51s Bind query: yes
17 25m4s 210 1s17ms 29s273ms 7s163ms 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;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 08 17 6 19s624ms 3s270ms Apr 09 15 2 43s539ms 21s769ms 16 9 1m12s 8s8ms 20 9 1m20s 8s953ms Apr 10 03 8 15s794ms 1s974ms 10 6 1m32s 15s494ms 15 3 45s469ms 15s156ms 16 8 18s673ms 2s334ms 18 6 1m34s 15s681ms Apr 11 07 7 23s795ms 3s399ms 08 10 2m19s 13s950ms 09 21 2m20s 6s686ms 10 2 7s529ms 3s764ms 11 7 1m 8s688ms 12 6 11s672ms 1s945ms 19 4 4s374ms 1s93ms 20 1 1s51ms 1s51ms 21 4 4s447ms 1s111ms Apr 12 02 2 2s131ms 1s65ms 04 8 16s85ms 2s10ms 06 1 1s25ms 1s25ms 13 6 58s268ms 9s711ms 18 7 1m59s 17s16ms 19 8 1m31s 11s492ms 21 3 3s409ms 1s136ms 22 7 1m45s 15s21ms 23 3 11s705ms 3s901ms Apr 13 00 3 47s475ms 15s825ms 01 9 1m25s 9s502ms 11 4 6s61ms 1s515ms 12 7 14s595ms 2s85ms 13 16 54s242ms 3s390ms 16 7 11s164ms 1s594ms [ User: pubeu - Total duration: 17m34s - Times executed: 134 ]
-
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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-04-13 00:35:23 Duration: 29s273ms 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 = '1419064') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-04-09 20:45:12 Duration: 28s334ms 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 = '1420577') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-04-11 08:51:45 Duration: 24s995ms Database: ctdprd51 User: pubeu Bind query: yes
18 24m49s 706 1s 7s826ms 2s109ms select distinct childterm.acc_txt from term childterm, term baseterm, dag_path dag where baseterm.id = ? and baseterm.id = dag.ancestor_object_id and childterm.id = dag.descendant_object_id union select acc_txt from term where id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 07 23 1 1s921ms 1s921ms Apr 08 07 3 4s801ms 1s600ms 17 100 3m39s 2s196ms 23 1 1s948ms 1s948ms Apr 09 14 82 2m49s 2s71ms 15 6 8s965ms 1s494ms 16 96 3m11s 1s992ms 19 11 18s10ms 1s637ms 20 365 13m30s 2s221ms Apr 10 03 1 1s18ms 1s18ms 04 14 22s887ms 1s634ms 12 1 1s919ms 1s919ms Apr 11 08 3 4s697ms 1s565ms 09 6 6s938ms 1s156ms 12 5 10s88ms 2s17ms 20 1 1s972ms 1s972ms Apr 12 22 2 2s147ms 1s73ms Apr 13 00 1 1s47ms 1s47ms 09 2 2s514ms 1s257ms 13 2 3s224ms 1s612ms 16 3 3s595ms 1s198ms [ User: pubeu - Total duration: 13s549ms - Times executed: 7 ]
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1237381' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1237381';
Date: 2024-04-08 17:53:41 Duration: 7s826ms Bind query: yes
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1381425' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1381425';
Date: 2024-04-09 20:44:43 Duration: 5s394ms Bind query: yes
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1381425' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1381425';
Date: 2024-04-09 16:10:22 Duration: 5s207ms Bind query: yes
19 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 #19
Day Hour Count Duration Avg duration Apr 13 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-04-13 18:59:55 Duration: 23m12s
20 22m56s 1 22m56s 22m56s 22m56s 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 #20
Day Hour Count Duration Avg duration Apr 13 19 1 22m56s 22m56s -
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-04-13 19:40:16 Duration: 22m56s
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 4,256 10h46m14s 1s 1m54s 9s110ms 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 viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 08 08 26 2m19s 5s362ms 09 175 20m15s 6s943ms 10 51 3m43s 4s384ms 11 33 56m48s 1m43s 12 35 59m52s 1m42s 13 39 54m33s 1m23s 14 128 27m10s 12s741ms Apr 09 09 111 6m44s 3s645ms 10 196 15m9s 4s642ms 11 122 2m44s 1s350ms 12 126 22m10s 10s562ms 13 111 48m34s 26s254ms 14 177 30m16s 10s265ms 17 15 3m54s 15s657ms 18 301 51m1s 10s170ms 19 292 30m47s 6s328ms 20 212 18m11s 5s150ms 21 421 27m39s 3s942ms 22 299 19m15s 3s863ms 23 274 17m14s 3s774ms Apr 10 00 352 38m17s 6s526ms 01 271 35m25s 7s842ms 02 301 40m12s 8s14ms 03 188 13m50s 4s416ms [ User: pubeu - Total duration: 5h25m37s - Times executed: 1046 ]
-
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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500 OFFSET 1000;
Date: 2024-04-08 11:07:37 Duration: 1m54s 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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500 OFFSET 1500;
Date: 2024-04-08 11:09:26 Duration: 1m48s 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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500 OFFSET 1000;
Date: 2024-04-08 11:05:43 Duration: 1m45s Database: ctdprd51 User: pubeu Bind query: yes
2 4,079 9h11m48s 1s1ms 44s464ms 8s116ms 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 #2
Day Hour Count Duration Avg duration Apr 07 01 1 1s743ms 1s743ms 02 1 3s265ms 3s265ms 05 1 6s195ms 6s195ms 07 1 1s864ms 1s864ms 10 1 3s285ms 3s285ms 13 1 6s15ms 6s15ms 14 1 6s31ms 6s31ms 15 9 20s993ms 2s332ms 17 75 4m48s 3s841ms 18 9 22s352ms 2s483ms 22 5 13s181ms 2s636ms Apr 08 00 1 1s206ms 1s206ms 01 2 8s79ms 4s39ms 07 87 6m29s 4s481ms 08 1 5s997ms 5s997ms 09 1 2s56ms 2s56ms 13 6 26s753ms 4s458ms 16 2 6s527ms 3s263ms 17 211 31m58s 9s94ms 23 1 1s838ms 1s838ms Apr 09 06 1 6s12ms 6s12ms 14 586 1h28m8s 9s24ms 15 127 9m56s 4s698ms 16 610 1h30m15s 8s878ms 19 205 13m21s 3s909ms 20 1,575 4h24m50s 10s89ms Apr 10 01 6 28s540ms 4s756ms 02 1 1s924ms 1s924ms 03 5 35s623ms 7s124ms 04 14 1m24s 6s37ms 05 3 11s434ms 3s811ms 08 1 2s10ms 2s10ms 09 2 9s208ms 4s604ms 10 14 48s978ms 3s498ms 12 2 8s52ms 4s26ms 14 3 15s208ms 5s69ms 15 5 31s943ms 6s388ms 16 2 4s352ms 2s176ms 18 4 13s915ms 3s478ms Apr 11 07 15 43s786ms 2s919ms 08 36 2m44s 4s566ms 09 66 4m16s 3s888ms 10 10 21s293ms 2s129ms 11 19 59s876ms 3s151ms 12 21 2m37s 7s495ms 13 3 9s715ms 3s238ms 14 2 7s258ms 3s629ms 15 8 15s627ms 1s953ms 18 1 6s42ms 6s42ms 19 1 3s281ms 3s281ms 21 3 10s288ms 3s429ms Apr 12 01 1 6s16ms 6s16ms 02 11 24s83ms 2s189ms 04 4 6s987ms 1s746ms 06 2 3s910ms 1s955ms 07 4 32s721ms 8s180ms 08 10 25s955ms 2s595ms 09 1 3s237ms 3s237ms 10 2 5s87ms 2s543ms 12 7 20s77ms 2s868ms 13 7 21s955ms 3s136ms 17 6 20s888ms 3s481ms 18 21 1m22s 3s939ms 19 11 34s832ms 3s166ms 20 3 11s128ms 3s709ms 21 6 13s136ms 2s189ms 22 11 43s494ms 3s954ms Apr 13 00 5 19s23ms 3s804ms 01 4 23s387ms 5s846ms 02 7 18s372ms 2s624ms 07 2 7s618ms 3s809ms 09 32 2m8s 4s21ms 10 4 19s260ms 4s815ms 11 8 37s912ms 4s739ms 12 11 27s438ms 2s494ms 13 17 1m39s 5s872ms 14 46 3m18s 4s306ms 16 50 5m22s 6s453ms 17 13 49s435ms 3s802ms 18 1 2s837ms 2s837ms 21 4 12s111ms 3s27ms [ User: pubeu - Total duration: 1h32m50s - Times executed: 997 ]
-
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 = '1381425'))) 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-04-09 20:05:04 Duration: 44s464ms 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 = '1381425'))) 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-04-09 20:05:20 Duration: 42s660ms 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 = '1381425'))) 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-04-09 20:44:07 Duration: 42s304ms Bind query: yes
3 3,915 10h8m22s 1s 47s875ms 9s323ms 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 #3
Day Hour Count Duration Avg duration Apr 07 00 1 1s215ms 1s215ms 01 1 3s514ms 3s514ms 02 3 9s643ms 3s214ms 04 1 4s861ms 4s861ms 05 2 7s607ms 3s803ms 06 1 4s766ms 4s766ms 07 3 8s658ms 2s886ms 08 1 2s673ms 2s673ms 09 2 6s4ms 3s2ms 11 1 4s961ms 4s961ms 15 5 7s173ms 1s434ms 16 3 5s973ms 1s991ms 17 91 5m32s 3s655ms 18 27 1m8s 2s531ms 20 3 5s365ms 1s788ms 22 13 52s909ms 4s69ms 23 3 9s943ms 3s314ms Apr 08 00 3 9s542ms 3s180ms 02 1 4s803ms 4s803ms 03 1 1s406ms 1s406ms 04 2 3s723ms 1s861ms 05 1 4s799ms 4s799ms 07 76 5m27s 4s308ms 08 1 1s6ms 1s6ms 09 1 1s395ms 1s395ms 11 1 2s729ms 2s729ms 13 24 1m 2s517ms 17 228 35m24s 9s318ms 23 1 2s729ms 2s729ms Apr 09 12 2 6s151ms 3s75ms 14 518 1h31m28s 10s594ms 15 126 10m47s 5s138ms 16 514 1h43m24s 12s70ms 18 1 1s109ms 1s109ms 19 177 13m18s 4s513ms 20 1,360 4h53m16s 12s938ms 22 2 6s98ms 3s49ms Apr 10 00 1 2s701ms 2s701ms 01 6 25s862ms 4s310ms 02 3 9s659ms 3s219ms 03 5 20s629ms 4s125ms 04 23 1m54s 4s997ms 05 6 17s382ms 2s897ms 06 2 6s472ms 3s236ms 07 3 6s586ms 2s195ms 09 5 9s600ms 1s920ms 10 17 1m 3s574ms 11 1 3s583ms 3s583ms 12 3 12s102ms 4s34ms 14 6 23s84ms 3s847ms 15 10 41s878ms 4s187ms 16 4 13s161ms 3s290ms 18 6 18s505ms 3s84ms 19 1 1s88ms 1s88ms Apr 11 06 3 3s510ms 1s170ms 07 22 58s63ms 2s639ms 08 28 1m28s 3s157ms 09 69 3m36s 3s140ms 10 14 33s808ms 2s414ms 11 30 1m21s 2s718ms 12 30 3m1s 6s58ms 13 4 7s659ms 1s914ms 14 3 3s809ms 1s269ms 15 1 1s246ms 1s246ms 16 1 1s248ms 1s248ms 17 2 2s420ms 1s210ms 18 3 8s412ms 2s804ms 19 5 12s324ms 2s464ms 20 3 9s367ms 3s122ms 21 8 18s590ms 2s323ms 23 1 2s639ms 2s639ms Apr 12 01 4 11s553ms 2s888ms 02 6 9s200ms 1s533ms 03 4 8s732ms 2s183ms 04 8 23s675ms 2s959ms 06 3 6s425ms 2s141ms 07 9 55s388ms 6s154ms 08 14 40s679ms 2s905ms 10 6 17s76ms 2s846ms 11 2 2s294ms 1s147ms 12 6 17s80ms 2s846ms 13 5 10s487ms 2s97ms 14 1 1s257ms 1s257ms 17 8 24s469ms 3s58ms 18 23 1m22s 3s607ms 19 20 1m36s 4s824ms 20 1 2s181ms 2s181ms 21 4 11s860ms 2s965ms 22 8 34s660ms 4s332ms Apr 13 00 1 9s525ms 9s525ms 01 2 6s426ms 3s213ms 02 5 11s446ms 2s289ms 03 1 1s229ms 1s229ms 05 3 6s156ms 2s52ms 06 1 1s150ms 1s150ms 07 2 2s464ms 1s232ms 08 2 4s605ms 2s302ms 09 49 3m42s 4s539ms 10 4 18s452ms 4s613ms 11 11 1m36s 8s769ms 12 25 1m4s 2s565ms 13 23 2m24s 6s273ms 14 44 2m47s 3s803ms 15 1 3s496ms 3s496ms 16 56 4m29s 4s819ms 17 18 51s214ms 2s845ms 20 1 4s909ms 4s909ms 21 4 11s387ms 2s846ms [ User: pubeu - Total duration: 1h47m31s - Times executed: 1060 ]
-
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 = '1381425') 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 = '1381425') 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-04-09 20:03:07 Duration: 47s875ms 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 = '1381425') 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 = '1381425') 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-04-09 20:39:10 Duration: 47s188ms 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 = '1381425') 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 = '1381425') 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-04-09 20:03:47 Duration: 46s731ms Bind query: yes
4 3,577 3h1m13s 1s 28s982ms 3s39ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, count(gcr.ixn_id) ixncount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join term g on gcr.gene_id = g.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort order by count(gcr.ixn_id) desc, g.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 07 17 31 43s150ms 1s391ms Apr 08 07 38 1m24s 2s220ms 13 2 2s278ms 1s139ms 17 221 11m53s 3s229ms Apr 09 14 584 27m19s 2s807ms 15 74 2m39s 2s154ms 16 600 29m9s 2s915ms 19 136 4m47s 2s110ms 20 1,706 1h37m24s 3s426ms Apr 10 01 1 1s523ms 1s523ms 03 1 1s194ms 1s194ms 04 2 3s721ms 1s860ms 15 2 2s801ms 1s400ms 18 1 1s271ms 1s271ms Apr 11 07 3 4s489ms 1s496ms 08 24 49s181ms 2s49ms 09 36 1m10s 1s956ms 10 2 2s915ms 1s457ms 11 1 1s46ms 1s46ms 12 22 48s173ms 2s189ms 13 1 1s741ms 1s741ms Apr 12 07 3 9s433ms 3s144ms 08 1 1s69ms 1s69ms 18 7 9s15ms 1s287ms 19 5 9s696ms 1s939ms 20 1 1s155ms 1s155ms 22 3 6s806ms 2s268ms Apr 13 00 1 2s629ms 2s629ms 01 2 5s727ms 2s863ms 09 15 22s181ms 1s478ms 11 3 7s175ms 2s391ms 12 3 5s318ms 1s772ms 13 14 29s231ms 2s87ms 14 10 14s478ms 1s447ms 16 18 34s414ms 1s911ms 17 3 3s515ms 1s171ms [ User: pubeu - Total duration: 27m17s - Times executed: 701 ]
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2024-04-09 20:44:42 Duration: 28s982ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2024-04-09 20:42:00 Duration: 28s6ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2024-04-09 20:43:42 Duration: 27s747ms Bind query: yes
5 2,665 2h33m35s 1s 14s570ms 3s457ms 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 #5
Day Hour Count Duration Avg duration Apr 07 00 1 1s812ms 1s812ms 01 2 2s522ms 1s261ms 08 1 1s244ms 1s244ms 09 2 2s464ms 1s232ms 13 3 4s264ms 1s421ms 15 3 3s749ms 1s249ms 17 27 55s381ms 2s51ms 18 2 3s107ms 1s553ms 19 1 1s267ms 1s267ms 21 1 1s801ms 1s801ms 22 3 3s840ms 1s280ms Apr 08 06 1 1s799ms 1s799ms 07 48 1m25s 1s780ms 09 2 3s51ms 1s525ms 12 1 1s805ms 1s805ms 13 8 14s911ms 1s863ms 16 1 1s250ms 1s250ms 17 175 10m5s 3s458ms Apr 09 05 1 1s257ms 1s257ms 14 414 23m40s 3s431ms 15 71 2m28s 2s94ms 16 446 29m40s 3s992ms 19 100 3m27s 2s73ms 20 1,056 1h10m37s 4s13ms Apr 10 00 1 1s252ms 1s252ms 01 3 5s869ms 1s956ms 02 1 1s282ms 1s282ms 03 2 3s796ms 1s898ms 04 5 16s89ms 3s217ms 05 1 1s888ms 1s888ms 08 2 3s12ms 1s506ms 09 1 1s817ms 1s817ms 10 10 18s35ms 1s803ms 12 2 3s687ms 1s843ms 14 3 5s435ms 1s811ms 15 3 5s653ms 1s884ms 16 1 2s628ms 2s628ms 18 2 3s562ms 1s781ms Apr 11 06 4 7s206ms 1s801ms 07 5 8s368ms 1s673ms 08 16 44s98ms 2s756ms 09 43 1m31s 2s134ms 10 5 7s424ms 1s484ms 11 7 11s732ms 1s676ms 12 14 31s142ms 2s224ms 13 3 4s350ms 1s450ms 15 2 2s578ms 1s289ms 17 1 1s231ms 1s231ms 19 1 1s232ms 1s232ms Apr 12 00 1 1s796ms 1s796ms 01 2 3s100ms 1s550ms 02 2 2s652ms 1s326ms 07 7 24s229ms 3s461ms 08 3 4s915ms 1s638ms 11 2 3s34ms 1s517ms 12 3 4s371ms 1s457ms 13 4 5s970ms 1s492ms 17 2 3s737ms 1s868ms 18 9 17s679ms 1s964ms 19 13 23s43ms 1s772ms 21 1 1s930ms 1s930ms 22 8 25s674ms 3s209ms 23 1 1s247ms 1s247ms Apr 13 00 7 13s273ms 1s896ms 01 3 7s848ms 2s616ms 02 3 3s913ms 1s304ms 03 1 1s795ms 1s795ms 05 1 1s794ms 1s794ms 06 1 1s806ms 1s806ms 09 13 33s224ms 2s555ms 10 1 2s83ms 2s83ms 11 3 9s893ms 3s297ms 12 4 5s943ms 1s485ms 13 12 27s744ms 2s312ms 14 21 40s195ms 1s914ms 16 21 51s371ms 2s446ms 17 7 12s421ms 1s774ms 20 1 1s813ms 1s813ms [ User: pubeu - Total duration: 26m20s - Times executed: 618 ]
-
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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-09 20:43:39 Duration: 14s570ms 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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-09 20:43:31 Duration: 14s224ms 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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-09 20:42:49 Duration: 14s186ms Database: ctdprd51 User: pubeu Bind query: yes
6 2,047 47m47s 1s 3s140ms 1s401ms select count(*) from chem_disease cd where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 08 17 163 3m45s 1s380ms Apr 09 14 283 6m23s 1s354ms 15 23 29s740ms 1s293ms 16 342 8m13s 1s442ms 19 14 18s449ms 1s317ms 20 1,132 26m49s 1s421ms Apr 11 08 14 16s319ms 1s165ms 09 19 21s755ms 1s145ms 12 15 17s595ms 1s173ms Apr 12 07 8 11s429ms 1s428ms 19 2 2s175ms 1s87ms 22 11 13s349ms 1s213ms Apr 13 11 8 10s501ms 1s312ms 13 6 6s653ms 1s108ms 16 7 8s901ms 1s271ms [ User: pubeu - Total duration: 2m19s - Times executed: 114 ]
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425');
Date: 2024-04-09 16:14:09 Duration: 3s140ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425');
Date: 2024-04-09 20:38:49 Duration: 3s138ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425');
Date: 2024-04-09 20:33:53 Duration: 3s135ms Bind query: yes
7 706 24m49s 1s 7s826ms 2s109ms select distinct childterm.acc_txt from term childterm, term baseterm, dag_path dag where baseterm.id = ? and baseterm.id = dag.ancestor_object_id and childterm.id = dag.descendant_object_id union select acc_txt from term where id = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 07 23 1 1s921ms 1s921ms Apr 08 07 3 4s801ms 1s600ms 17 100 3m39s 2s196ms 23 1 1s948ms 1s948ms Apr 09 14 82 2m49s 2s71ms 15 6 8s965ms 1s494ms 16 96 3m11s 1s992ms 19 11 18s10ms 1s637ms 20 365 13m30s 2s221ms Apr 10 03 1 1s18ms 1s18ms 04 14 22s887ms 1s634ms 12 1 1s919ms 1s919ms Apr 11 08 3 4s697ms 1s565ms 09 6 6s938ms 1s156ms 12 5 10s88ms 2s17ms 20 1 1s972ms 1s972ms Apr 12 22 2 2s147ms 1s73ms Apr 13 00 1 1s47ms 1s47ms 09 2 2s514ms 1s257ms 13 2 3s224ms 1s612ms 16 3 3s595ms 1s198ms [ User: pubeu - Total duration: 13s549ms - Times executed: 7 ]
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1237381' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1237381';
Date: 2024-04-08 17:53:41 Duration: 7s826ms Bind query: yes
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1381425' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1381425';
Date: 2024-04-09 20:44:43 Duration: 5s394ms Bind query: yes
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1381425' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1381425';
Date: 2024-04-09 16:10:22 Duration: 5s207ms Bind query: yes
8 515 1h12m27s 1s4ms 38s683ms 8s441ms 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 #8
Day Hour Count Duration Avg duration Apr 07 01 1 5s60ms 5s60ms 03 1 5s164ms 5s164ms 05 5 5s179ms 1s35ms 09 1 5s440ms 5s440ms 10 2 11s255ms 5s627ms 12 2 6s583ms 3s291ms 15 2 10s757ms 5s378ms 16 1 5s348ms 5s348ms 17 10 1m1s 6s158ms 18 6 36s735ms 6s122ms 19 1 5s647ms 5s647ms 22 3 3s497ms 1s165ms Apr 08 00 1 1s56ms 1s56ms 05 2 2s24ms 1s12ms 07 3 10s206ms 3s402ms 08 4 22s537ms 5s634ms 09 8 44s740ms 5s592ms 10 1 5s321ms 5s321ms 12 1 1s14ms 1s14ms 17 14 3m26s 14s774ms 20 1 5s143ms 5s143ms 21 2 5s986ms 2s993ms 22 2 10s786ms 5s393ms Apr 09 00 1 5s300ms 5s300ms 01 1 5s391ms 5s391ms 02 1 5s478ms 5s478ms 05 3 3s104ms 1s34ms 06 1 5s452ms 5s452ms 09 3 3s88ms 1s29ms 13 1 5s649ms 5s649ms 15 4 27s189ms 6s797ms 16 6 2m38s 26s369ms 17 1 5s412ms 5s412ms 19 2 16s93ms 8s46ms 20 19 9m44s 30s763ms 23 1 1s5ms 1s5ms Apr 10 01 3 17s756ms 5s918ms 03 9 45s648ms 5s72ms 04 13 1m35s 7s369ms 05 5 14s665ms 2s933ms 06 2 12s112ms 6s56ms 08 2 10s998ms 5s499ms 09 7 40s380ms 5s768ms 10 15 1m16s 5s76ms 14 11 59s336ms 5s394ms 15 14 1m32s 6s624ms 16 4 24s897ms 6s224ms 18 3 18s18ms 6s6ms Apr 11 05 3 3s94ms 1s31ms 07 11 1m9s 6s348ms 08 15 2m10s 8s682ms 09 30 5m14s 10s471ms 10 14 1m44s 7s493ms 11 11 1m3s 5s795ms 12 13 2m51s 13s191ms 13 4 25s894ms 6s473ms 14 2 12s926ms 6s463ms 15 12 1m10s 5s849ms 19 1 5s413ms 5s413ms 20 4 22s851ms 5s712ms 21 3 17s257ms 5s752ms Apr 12 01 4 20s639ms 5s159ms 02 4 25s166ms 6s291ms 03 1 5s615ms 5s615ms 04 5 19s430ms 3s886ms 05 4 8s315ms 2s78ms 06 1 6s464ms 6s464ms 07 10 4m12s 25s290ms 08 5 24s248ms 4s849ms 10 2 11s614ms 5s807ms 12 3 17s628ms 5s876ms 13 4 26s971ms 6s742ms 15 1 5s541ms 5s541ms 17 3 18s716ms 6s238ms 18 8 37s451ms 4s681ms 19 11 1m22s 7s509ms 20 2 13s232ms 6s616ms 21 6 39s334ms 6s555ms 22 7 54s971ms 7s853ms 23 3 20s448ms 6s816ms Apr 13 00 7 49s17ms 7s2ms 01 4 26s761ms 6s690ms 02 1 5s742ms 5s742ms 05 2 2s108ms 1s54ms 06 1 5s367ms 5s367ms 09 18 2m13s 7s399ms 10 2 8s87ms 4s43ms 11 10 1m44s 10s485ms 12 10 59s198ms 5s919ms 13 10 1m31s 9s191ms 14 9 42s88ms 4s676ms 15 1 5s385ms 5s385ms 16 23 4m44s 12s378ms 17 2 6s875ms 3s437ms 21 2 6s663ms 3s331ms [ User: pubeu - Total duration: 34m3s - Times executed: 249 ]
[ User: qaeu - Total duration: 4s205ms - Times executed: 4 ]
-
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 = '1419064' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-09 20:42:26 Duration: 38s683ms 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 = '1285542' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-09 20:44:02 Duration: 38s127ms 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 = '1285542' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-09 20:44:50 Duration: 38s117ms Bind query: yes
9 493 1h52m20s 1s8ms 38s263ms 13s671ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 07 03 2 3s294ms 1s647ms 13 1 5s313ms 5s313ms 17 1 2s65ms 2s65ms 18 1 5s377ms 5s377ms 19 1 5s296ms 5s296ms Apr 08 06 1 5s178ms 5s178ms 17 6 34s183ms 5s697ms Apr 09 20 1 10s600ms 10s600ms Apr 10 03 1 1s517ms 1s517ms 09 1 2s271ms 2s271ms 11 1 1s515ms 1s515ms Apr 11 10 1 5s579ms 5s579ms Apr 13 05 1 5s577ms 5s577ms 10 63 3m7s 2s977ms 11 1 1s299ms 1s299ms 12 410 1h47m43s 15s764ms [ User: pubeu - Total duration: 9m10s - Times executed: 60 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-13 12:20:59 Duration: 38s263ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-13 12:21:16 Duration: 37s532ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '154541' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '154541') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-13 12:21:50 Duration: 35s377ms Bind query: yes
10 478 49m49s 1s5ms 56s866ms 6s254ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 07 00 3 8s410ms 2s803ms 01 4 22s691ms 5s672ms 02 2 8s70ms 4s35ms 03 2 8s130ms 4s65ms 04 1 6s741ms 6s741ms 05 5 27s145ms 5s429ms 06 4 17s108ms 4s277ms 07 4 6s851ms 1s712ms 08 2 7s325ms 3s662ms 09 2 7s699ms 3s849ms 10 3 8s533ms 2s844ms 11 5 24s387ms 4s877ms 12 4 21s295ms 5s323ms 13 3 11s342ms 3s780ms 14 3 9s549ms 3s183ms 15 3 8s229ms 2s743ms 16 2 3s689ms 1s844ms 17 2 4s148ms 2s74ms 18 1 2s180ms 2s180ms 19 3 10s662ms 3s554ms 20 2 2s338ms 1s169ms 21 4 11s144ms 2s786ms 23 3 6s623ms 2s207ms Apr 08 00 4 24s991ms 6s247ms 01 2 5s761ms 2s880ms 02 1 3s170ms 3s170ms 03 3 8s545ms 2s848ms 04 1 4s393ms 4s393ms 05 7 27s864ms 3s980ms 06 1 1s24ms 1s24ms 07 2 6s575ms 3s287ms 08 3 9s592ms 3s197ms 09 1 1s157ms 1s157ms 10 1 10s624ms 10s624ms 12 3 10s535ms 3s511ms 13 1 5s955ms 5s955ms 14 2 5s306ms 2s653ms 15 1 2s305ms 2s305ms 16 1 2s580ms 2s580ms 17 68 19m24s 17s122ms 18 3 6s850ms 2s283ms 21 2 8s135ms 4s67ms 22 3 7s45ms 2s348ms 23 2 6s431ms 3s215ms Apr 09 00 8 1m7s 8s383ms 01 4 22s171ms 5s542ms 02 1 11s212ms 11s212ms 03 3 32s624ms 10s874ms 05 2 7s679ms 3s839ms 06 1 2s180ms 2s180ms 08 3 8s862ms 2s954ms 09 2 4s939ms 2s469ms 10 6 27s913ms 4s652ms 11 2 8s247ms 4s123ms 12 2 8s307ms 4s153ms 13 3 6s778ms 2s259ms 15 1 1s986ms 1s986ms 16 2 3s417ms 1s708ms 17 1 2s665ms 2s665ms 18 2 16s150ms 8s75ms 19 1 2s251ms 2s251ms 20 2 14s925ms 7s462ms 21 5 15s260ms 3s52ms 22 2 6s148ms 3s74ms 23 1 3s60ms 3s60ms Apr 10 00 1 4s811ms 4s811ms 01 2 14s642ms 7s321ms 02 2 2s706ms 1s353ms 03 2 7s855ms 3s927ms 04 22 1m23s 3s788ms 07 1 1s316ms 1s316ms 08 2 2s549ms 1s274ms 09 1 1s241ms 1s241ms 10 3 9s307ms 3s102ms 11 2 6s470ms 3s235ms 14 7 14s931ms 2s133ms 15 2 9s568ms 4s784ms 16 2 3s505ms 1s752ms 17 1 2s525ms 2s525ms Apr 11 06 1 1s259ms 1s259ms 08 2 11s311ms 5s655ms 09 12 53s380ms 4s448ms 10 1 2s223ms 2s223ms 11 1 1s105ms 1s105ms 14 12 46s366ms 3s863ms 17 1 10s878ms 10s878ms 18 3 19s307ms 6s435ms 20 1 2s766ms 2s766ms 21 2 7s349ms 3s674ms 22 1 5s63ms 5s63ms Apr 12 00 2 10s647ms 5s323ms 01 1 1s386ms 1s386ms 02 3 5s444ms 1s814ms 03 1 1s520ms 1s520ms 04 2 10s437ms 5s218ms 06 1 1s133ms 1s133ms 07 1 2s293ms 2s293ms 09 1 1s372ms 1s372ms 10 4 18s161ms 4s540ms 14 13 1m4s 4s958ms 15 1 1s131ms 1s131ms 18 1 12s400ms 12s400ms 19 1 12s633ms 12s633ms 20 38 3m6s 4s901ms 21 9 37s533ms 4s170ms 22 27 2m34s 5s723ms Apr 13 00 1 5s64ms 5s64ms 01 2 6s986ms 3s493ms 02 4 11s702ms 2s925ms 05 1 2s520ms 2s520ms 06 2 2s657ms 1s328ms 07 2 3s319ms 1s659ms 08 2 4s561ms 2s280ms 09 2 13s476ms 6s738ms 10 2 3s828ms 1s914ms 11 1 3s79ms 3s79ms 12 3 8s686ms 2s895ms 13 19 3m16s 10s331ms 14 1 1s631ms 1s631ms 15 2 11s575ms 5s787ms 16 1 1s786ms 1s786ms 19 1 1s697ms 1s697ms 20 2 3s441ms 1s720ms 21 1 5s86ms 5s86ms 22 1 2s328ms 2s328ms 23 2 11s593ms 5s796ms [ User: pubeu - Total duration: 16m56s - Times executed: 208 ]
-
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 = '2061611') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-08 17:49:21 Duration: 56s866ms 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 = '2051315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-08 17:52:39 Duration: 47s577ms 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 = '2056095') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-08 17:51:47 Duration: 39s981ms Bind query: yes
11 477 40m53s 1s14ms 1m9s 5s144ms 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 stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.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 #11
Day Hour Count Duration Avg duration Apr 07 08 1 1s239ms 1s239ms 16 1 1s220ms 1s220ms 17 10 1m11s 7s103ms 18 5 35s103ms 7s20ms 22 2 11s778ms 5s889ms Apr 08 07 3 4s563ms 1s521ms 08 2 2s259ms 1s129ms 17 59 3m18s 3s367ms Apr 09 14 26 1m15s 2s888ms 15 7 42s36ms 6s5ms 16 41 2m20s 3s432ms 19 7 17s350ms 2s478ms 20 112 11m39s 6s242ms 22 1 1s82ms 1s82ms Apr 10 01 3 22s462ms 7s487ms 03 3 41s39ms 13s679ms 04 10 1m35s 9s514ms 05 2 3s903ms 1s951ms 06 1 2s237ms 2s237ms 09 5 24s165ms 4s833ms 10 5 32s315ms 6s463ms 14 6 6s972ms 1s162ms 15 9 54s76ms 6s8ms 16 2 3s446ms 1s723ms 18 2 22s24ms 11s12ms Apr 11 07 4 23s779ms 5s944ms 08 10 27s654ms 2s765ms 09 16 52s917ms 3s307ms 10 4 11s987ms 2s996ms 11 3 13s584ms 4s528ms 12 11 1m22s 7s475ms 13 1 2s436ms 2s436ms 14 1 1s413ms 1s413ms 19 1 1s283ms 1s283ms 21 2 7s651ms 3s825ms Apr 12 01 2 14s573ms 7s286ms 02 1 1s113ms 1s113ms 04 2 15s452ms 7s726ms 06 1 7s949ms 7s949ms 07 4 8s381ms 2s95ms 08 2 12s345ms 6s172ms 10 1 7s116ms 7s116ms 13 1 1s485ms 1s485ms 17 2 20s962ms 10s481ms 18 3 12s9ms 4s3ms 19 7 1m7s 9s624ms 22 6 31s2ms 5s167ms 23 1 1s43ms 1s43ms Apr 13 00 4 1m1s 15s361ms 01 2 5s515ms 2s757ms 04 1 6s377ms 6s377ms 05 1 1s223ms 1s223ms 06 1 1s59ms 1s59ms 07 1 1s23ms 1s23ms 08 4 5s766ms 1s441ms 09 17 1m44s 6s157ms 10 2 20s193ms 10s96ms 11 7 1m35s 13s697ms 12 3 19s777ms 6s592ms 13 11 58s435ms 5s312ms 14 3 15s590ms 5s196ms 16 8 17s690ms 2s211ms 21 1 4s334ms 4s334ms [ User: pubeu - Total duration: 13m49s - Times executed: 158 ]
-
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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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-04-09 20:26:27 Duration: 1m9s 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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-04-09 20:26:46 Duration: 1m7s 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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-04-09 20:45:14 Duration: 54s556ms Bind query: yes
12 412 20m49s 1s4ms 23s309ms 3s33ms 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 #12
Day Hour Count Duration Avg duration Apr 07 05 4 8s789ms 2s197ms 18 1 3s419ms 3s419ms Apr 08 03 2 6s571ms 3s285ms 05 4 8s884ms 2s221ms 07 1 1s70ms 1s70ms 17 20 54s90ms 2s704ms Apr 09 05 5 10s990ms 2s198ms 09 2 4s615ms 2s307ms 14 33 59s877ms 1s814ms 15 1 1s972ms 1s972ms 16 38 1m8s 1s815ms 19 3 3s962ms 1s320ms 20 101 3m27s 2s49ms Apr 10 05 4 8s976ms 2s244ms 07 1 2s221ms 2s221ms 13 1 1s887ms 1s887ms Apr 11 05 4 8s918ms 2s229ms 08 1 1s284ms 1s284ms 09 2 2s281ms 1s140ms 10 1 3s354ms 3s354ms 12 2 2s557ms 1s278ms Apr 12 05 4 8s876ms 2s219ms 06 1 2s499ms 2s499ms 07 1 2s462ms 2s462ms 09 1 2s129ms 2s129ms 23 2 6s150ms 3s75ms Apr 13 01 1 1s98ms 1s98ms 05 5 12s141ms 2s428ms 10 7 23s350ms 3s335ms 12 157 11m53s 4s547ms 14 1 3s543ms 3s543ms 16 1 1s768ms 1s768ms [ User: pubeu - Total duration: 2m58s - Times executed: 58 ]
[ User: qaeu - Total duration: 23s860ms - 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 = '648460' 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-04-13 12:21:39 Duration: 23s309ms 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 = '648460' 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-04-13 12:21:41 Duration: 22s785ms 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 = '648460' 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-04-13 12:20:37 Duration: 22s380ms Bind query: yes
13 392 13m6s 1s47ms 10s940ms 2s5ms 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 #13
Day Hour Count Duration Avg duration Apr 07 00 2 2s242ms 1s121ms 02 8 8s999ms 1s124ms 03 1 1s119ms 1s119ms 04 2 2s252ms 1s126ms 05 2 2s415ms 1s207ms 06 1 1s146ms 1s146ms 07 2 2s248ms 1s124ms 08 2 2s246ms 1s123ms 09 1 1s108ms 1s108ms 11 1 1s137ms 1s137ms 15 1 1s106ms 1s106ms 16 2 2s269ms 1s134ms 18 1 1s93ms 1s93ms 22 2 2s265ms 1s132ms Apr 08 00 3 3s381ms 1s127ms 01 1 1s98ms 1s98ms 02 1 1s146ms 1s146ms 03 5 5s633ms 1s126ms 05 5 5s773ms 1s154ms 06 1 1s108ms 1s108ms 07 5 5s643ms 1s128ms 09 2 2s250ms 1s125ms 10 1 1s147ms 1s147ms 11 1 1s143ms 1s143ms 13 9 10s306ms 1s145ms 14 1 1s100ms 1s100ms 15 2 2s200ms 1s100ms 17 168 8m43s 3s115ms 18 1 1s103ms 1s103ms 19 1 1s155ms 1s155ms 22 1 1s154ms 1s154ms 23 1 1s129ms 1s129ms Apr 09 00 1 1s111ms 1s111ms 01 1 1s92ms 1s92ms 04 1 1s131ms 1s131ms 05 2 2s418ms 1s209ms 07 3 3s349ms 1s116ms 10 5 5s720ms 1s144ms 11 2 2s300ms 1s150ms 12 1 1s126ms 1s126ms 13 2 2s269ms 1s134ms 15 1 1s113ms 1s113ms 16 7 7s655ms 1s93ms 17 2 2s184ms 1s92ms 18 1 1s74ms 1s74ms 20 1 10s173ms 10s173ms 21 5 5s608ms 1s121ms 22 1 1s123ms 1s123ms 23 3 3s380ms 1s126ms Apr 10 00 2 2s262ms 1s131ms 01 1 1s111ms 1s111ms 02 3 3s430ms 1s143ms 04 1 1s107ms 1s107ms 05 2 2s444ms 1s222ms 06 1 1s109ms 1s109ms 09 2 2s259ms 1s129ms 10 1 1s284ms 1s284ms 11 1 1s106ms 1s106ms 14 2 2s186ms 1s93ms 15 1 1s131ms 1s131ms 16 1 1s79ms 1s79ms Apr 11 05 3 3s539ms 1s179ms 06 1 1s113ms 1s113ms 07 1 1s147ms 1s147ms 11 2 2s215ms 1s107ms 12 1 1s88ms 1s88ms 13 1 1s87ms 1s87ms 14 2 2s259ms 1s129ms 16 1 1s94ms 1s94ms 18 4 4s373ms 1s93ms 19 2 2s222ms 1s111ms 20 1 1s82ms 1s82ms 23 2 2s240ms 1s120ms Apr 12 01 5 5s572ms 1s114ms 02 6 6s712ms 1s118ms 04 2 2s227ms 1s113ms 05 2 2s463ms 1s231ms 08 7 7s729ms 1s104ms 09 4 4s391ms 1s97ms 10 1 1s111ms 1s111ms 14 1 1s192ms 1s192ms 15 1 1s104ms 1s104ms 17 2 2s202ms 1s101ms 21 1 1s114ms 1s114ms 22 1 1s146ms 1s146ms 23 2 2s225ms 1s112ms Apr 13 00 3 3s328ms 1s109ms 01 2 3s561ms 1s780ms 04 4 4s456ms 1s114ms 05 2 2s433ms 1s216ms 06 3 3s390ms 1s130ms 07 1 1s107ms 1s107ms 08 4 4s537ms 1s134ms 09 3 3s346ms 1s115ms 10 4 4s716ms 1s179ms 12 6 6s732ms 1s122ms 13 1 1s141ms 1s141ms 16 3 3s369ms 1s123ms 17 1 1s127ms 1s127ms 19 2 2s206ms 1s103ms 21 1 1s110ms 1s110ms 22 1 1s114ms 1s114ms 23 1 1s113ms 1s113ms [ User: pubeu - Total duration: 6m59s - Times executed: 207 ]
[ User: qaeu - Total duration: 1s250ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1986984' or receptorTerm.id = '1986984' 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-04-08 17:49:45 Duration: 10s940ms 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 = '1425245' or receptorTerm.id = '1425245' 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-04-08 17:48:38 Duration: 10s594ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1622635' or receptorTerm.id = '1622635' 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-04-08 17:49:39 Duration: 10s341ms Bind query: yes
14 279 29m26s 1s11ms 45s369ms 6s330ms 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 ? offset ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 08 17 3 13s773ms 4s591ms Apr 09 16 2 9s286ms 4s643ms 20 20 9m 27s14ms Apr 10 04 22 4m31s 12s332ms 05 7 11s866ms 1s695ms 06 7 13s152ms 1s878ms 14 13 40s845ms 3s141ms 15 7 45s830ms 6s547ms 18 7 18s382ms 2s626ms Apr 11 06 9 10s40ms 1s115ms 07 19 1m1s 3s241ms 08 10 20s137ms 2s13ms 09 14 1m7s 4s826ms 10 10 20s177ms 2s17ms 11 7 16s953ms 2s421ms 12 15 42s667ms 2s844ms 19 3 8s582ms 2s860ms 21 6 15s183ms 2s530ms Apr 12 06 2 2s227ms 1s113ms 07 10 1m8s 6s808ms 10 8 28s622ms 3s577ms 18 8 33s363ms 4s170ms 19 13 2m 9s255ms 21 1 2s622ms 2s622ms Apr 13 07 1 5s187ms 5s187ms 09 11 1m17s 7s32ms 11 8 50s481ms 6s310ms 12 6 10s662ms 1s777ms 13 16 1m10s 4s394ms 14 8 51s585ms 6s448ms 21 6 17s722ms 2s953ms [ User: pubeu - Total duration: 10m18s - Times executed: 97 ]
-
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 = '1381425') 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 = '1381425') 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 OFFSET 50;
Date: 2024-04-09 20:25:58 Duration: 45s369ms 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 = '1381425') 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 = '1381425') 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 OFFSET 50;
Date: 2024-04-09 20:25:30 Duration: 39s632ms 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 = '1381425') 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 = '1381425') 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 OFFSET 300;
Date: 2024-04-09 20:25:15 Duration: 35s380ms Bind query: yes
15 251 19m18s 3s905ms 38s385ms 4s616ms 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 #15
Day Hour Count Duration Avg duration Apr 07 02 1 3s950ms 3s950ms 03 1 4s76ms 4s76ms 05 1 4s99ms 4s99ms 07 1 3s999ms 3s999ms 09 3 12s97ms 4s32ms 10 1 4s51ms 4s51ms 12 1 4s41ms 4s41ms 13 1 4s61ms 4s61ms 14 1 3s945ms 3s945ms 15 2 8s44ms 4s22ms 16 1 3s995ms 3s995ms 18 3 12s20ms 4s6ms 19 1 4s10ms 4s10ms 20 2 7s953ms 3s976ms 23 3 12s52ms 4s17ms Apr 08 01 2 7s975ms 3s987ms 03 3 12s204ms 4s68ms 04 1 4s4ms 4s4ms 06 3 11s920ms 3s973ms 07 2 8s124ms 4s62ms 08 8 32s642ms 4s80ms 09 6 24s489ms 4s81ms 10 3 12s176ms 4s58ms 13 2 8s600ms 4s300ms 15 2 8s151ms 4s75ms 16 2 7s982ms 3s991ms 17 1 4s75ms 4s75ms 19 1 4s67ms 4s67ms 20 1 4s63ms 4s63ms 21 5 19s985ms 3s997ms 22 4 16s437ms 4s109ms Apr 09 00 3 12s252ms 4s84ms 01 1 4s130ms 4s130ms 02 4 16s65ms 4s16ms 03 2 8s235ms 4s117ms 04 2 8s393ms 4s196ms 05 3 12s271ms 4s90ms 06 2 8s160ms 4s80ms 07 2 8s38ms 4s19ms 08 2 7s939ms 3s969ms 09 1 4s91ms 4s91ms 10 4 17s200ms 4s300ms 11 2 8s340ms 4s170ms 12 4 16s324ms 4s81ms 13 2 8s131ms 4s65ms 14 4 50s790ms 12s697ms 15 1 4s265ms 4s265ms 17 1 4s52ms 4s52ms 18 4 16s190ms 4s47ms 23 2 8s121ms 4s60ms Apr 10 00 3 12s137ms 4s45ms 01 2 8s258ms 4s129ms 02 2 8s267ms 4s133ms 03 1 4s133ms 4s133ms 05 2 8s25ms 4s12ms 06 1 4s152ms 4s152ms 08 2 8s137ms 4s68ms 09 1 4s24ms 4s24ms 10 4 16s867ms 4s216ms 11 10 40s520ms 4s52ms 12 2 10s448ms 5s224ms 13 5 20s257ms 4s51ms 14 2 8s59ms 4s29ms 16 1 3s987ms 3s987ms 17 4 15s963ms 3s990ms Apr 11 06 6 24s254ms 4s42ms 07 3 12s184ms 4s61ms 08 2 9s381ms 4s690ms 09 5 20s305ms 4s61ms 10 2 8s35ms 4s17ms 11 7 30s855ms 4s407ms 12 3 1m45s 35s196ms 15 1 4s65ms 4s65ms 17 1 4s2ms 4s2ms 19 2 8s117ms 4s58ms 21 3 12s166ms 4s55ms 22 3 12s213ms 4s71ms Apr 12 01 1 4s334ms 4s334ms 02 1 4s389ms 4s389ms 03 4 16s562ms 4s140ms 04 2 8s87ms 4s43ms 05 2 8s88ms 4s44ms 08 2 8s135ms 4s67ms 09 3 12s143ms 4s47ms 10 1 4s56ms 4s56ms 11 1 4s63ms 4s63ms 12 1 4s46ms 4s46ms 13 2 7s990ms 3s995ms 14 1 4s36ms 4s36ms 15 2 8s279ms 4s139ms 16 3 12s479ms 4s159ms 18 2 8s147ms 4s73ms 19 2 8s513ms 4s256ms 22 1 4s9ms 4s9ms Apr 13 03 4 16s226ms 4s56ms 04 2 7s947ms 3s973ms 05 3 12s136ms 4s45ms 06 1 4s41ms 4s41ms 07 1 3s976ms 3s976ms 09 1 4s13ms 4s13ms 10 1 3s998ms 3s998ms 11 5 20s599ms 4s119ms 13 1 4s285ms 4s285ms 14 2 11s169ms 5s584ms 15 2 8s49ms 4s24ms 21 1 4s75ms 4s75ms 23 1 4s214ms 4s214ms [ User: pubeu - Total duration: 12m15s - Times executed: 148 ]
-
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 = '1419053') 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 = '1419053') 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-04-09 14:49:36 Duration: 38s385ms 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 = '1323657') 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 = '1323657') 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-04-11 12:31:26 Duration: 35s334ms 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 = '1323657') 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 = '1323657') 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-04-11 12:31:58 Duration: 35s298ms Database: ctdprd51 User: pubeu Bind query: yes
16 241 27m44s 1s 1m54s 6s904ms 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 viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 08 07 1 2s615ms 2s615ms 08 14 41s541ms 2s967ms 09 11 47s127ms 4s284ms 10 5 2m9s 25s848ms 11 4 7m23s 1m50s 13 2 58s119ms 29s59ms 14 6 45s702ms 7s617ms Apr 09 09 6 22s800ms 3s800ms 10 8 29s798ms 3s724ms 11 16 23s319ms 1s457ms 12 8 52s487ms 6s560ms 13 5 1m31s 18s336ms 14 6 46s365ms 7s727ms 17 3 1m1s 20s541ms 18 9 1m3s 7s68ms 19 14 1m8s 4s870ms 20 17 1m12s 4s241ms 21 22 1m1s 2s812ms 22 14 38s457ms 2s746ms 23 22 1m17s 3s524ms Apr 10 00 14 36s176ms 2s584ms 01 8 53s725ms 6s715ms 02 12 1m3s 5s278ms 03 14 33s510ms 2s393ms [ User: pubeu - Total duration: 15m37s - Times executed: 103 ]
-
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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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-04-08 11:07:22 Duration: 1m54s 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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500;
Date: 2024-04-08 11:06:56 Duration: 1m53s 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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500;
Date: 2024-04-08 11:08:53 Duration: 1m52s Database: ctdprd51 User: pubeu Bind query: yes
17 223 7h7m54s 1s 21m53s 1m55s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 07 17 3 7s493ms 2s497ms 18 1 1s118ms 1s118ms Apr 08 17 25 10m1s 24s74ms 18 2 29m36s 14m48s 23 1 27s528ms 27s528ms Apr 09 12 1 30s661ms 30s661ms 14 4 4s705ms 1s176ms 15 3 3m3s 1m1s 16 15 12m17s 49s138ms 20 42 1h47m26s 2m33s Apr 10 01 1 2s680ms 2s680ms 03 1 3s103ms 3s103ms 09 2 31s467ms 15s733ms 10 1 2s665ms 2s665ms 15 3 8s352ms 2s784ms Apr 11 07 2 1m51s 55s706ms 08 9 20m53s 2m19s 09 12 49m47s 4m8s 10 4 4m44s 1m11s 11 1 3s237ms 3s237ms 12 13 51m23s 3m57s 13 3 6m1s 2m 14 1 2s972ms 2s972ms 15 1 25s375ms 25s375ms 19 1 2s168ms 2s168ms Apr 12 07 7 22m23s 3m11s 13 2 1m19s 39s838ms 15 1 25s842ms 25s842ms 17 1 2s507ms 2s507ms 18 5 2m52s 34s416ms 19 6 14m30s 2m25s 20 2 11m21s 5m40s 22 5 23m24s 4m40s 23 2 5m38s 2m49s Apr 13 00 3 3m58s 1m19s 01 4 6m4s 1m31s 09 6 4m49s 48s285ms 10 3 1m23s 27s964ms 11 8 11m25s 1m25s 12 2 4m9s 2m4s 13 10 13m50s 1m23s 14 2 30s647ms 15s323ms 16 2 4s9ms 2s4ms [ User: pubeu - Total duration: 3h46s - Times executed: 88 ]
-
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 = '1419075')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-09 20:54:27 Duration: 21m53s 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 = '1419075')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-09 20:49:05 Duration: 16m49s 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 = '1260890')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-08 18:02:51 Duration: 15m17s Database: ctdprd51 User: pubeu Bind query: yes
18 222 21m15s 1s2ms 36s666ms 5s743ms select p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p on te.enriched_term_id = p.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, p.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 07 08 1 1s21ms 1s21ms 12 2 2s68ms 1s34ms 17 8 12s874ms 1s609ms 18 3 4s591ms 1s530ms 19 1 1s59ms 1s59ms Apr 08 09 2 2s29ms 1s14ms 16 1 1s23ms 1s23ms 17 6 2m6s 21s126ms Apr 09 15 1 1s468ms 1s468ms 16 2 31s784ms 15s892ms 20 10 4m20s 26s59ms Apr 10 01 1 1s210ms 1s210ms 03 1 2s159ms 2s159ms 04 5 6s474ms 1s294ms 05 2 2s146ms 1s73ms 06 1 1s276ms 1s276ms 09 2 2s210ms 1s105ms 10 2 2s150ms 1s75ms 12 1 1s66ms 1s66ms 14 2 2s394ms 1s197ms 15 6 7s397ms 1s232ms 16 1 1s96ms 1s96ms 18 3 3s404ms 1s134ms Apr 11 07 3 3s280ms 1s93ms 08 7 44s715ms 6s387ms 09 18 1m59s 6s647ms 10 6 9s911ms 1s651ms 11 7 7s927ms 1s132ms 12 10 2m5s 12s592ms 13 1 4s99ms 4s99ms 14 1 1s197ms 1s197ms 15 3 3s301ms 1s100ms 19 3 3s205ms 1s68ms 20 2 2s90ms 1s45ms 21 2 2s78ms 1s39ms Apr 12 01 2 2s313ms 1s156ms 02 3 3s499ms 1s166ms 04 1 1s102ms 1s102ms 05 1 1s12ms 1s12ms 06 1 1s256ms 1s256ms 07 8 3m7s 23s419ms 08 2 2s355ms 1s177ms 10 1 1s29ms 1s29ms 12 2 2s59ms 1s29ms 13 3 3s783ms 1s261ms 18 5 6s650ms 1s330ms 19 8 16s678ms 2s84ms 21 3 3s439ms 1s146ms 22 7 51s751ms 7s393ms 23 1 1s797ms 1s797ms Apr 13 00 3 4s762ms 1s587ms 01 4 6s794ms 1s698ms 02 2 2s139ms 1s69ms 09 9 15s905ms 1s767ms 10 1 1s498ms 1s498ms 11 2 45s38ms 22s519ms 12 4 11s51ms 2s762ms 13 11 1m9s 6s347ms 14 4 5s152ms 1s288ms 16 5 18s938ms 3s787ms 21 2 2s227ms 1s113ms [ User: pubeu - Total duration: 10m9s - Times executed: 122 ]
-
SELECT /* ChemPathwaysDAO */ p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p ON te.enriched_term_id = p.id WHERE te.term_id = '1300382' AND te.enriched_object_type_id = 6 ORDER BY te.corrected_p_val, p.nm_sort LIMIT 50;
Date: 2024-04-09 20:39:25 Duration: 36s666ms Bind query: yes
-
SELECT /* ChemPathwaysDAO */ p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p ON te.enriched_term_id = p.id WHERE te.term_id = '1419064' AND te.enriched_object_type_id = 6 ORDER BY te.corrected_p_val, p.nm_sort LIMIT 50;
Date: 2024-04-09 20:38:30 Duration: 36s515ms Bind query: yes
-
SELECT /* ChemPathwaysDAO */ p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p ON te.enriched_term_id = p.id WHERE te.term_id = '1300382' AND te.enriched_object_type_id = 6 ORDER BY te.corrected_p_val, p.nm_sort LIMIT 50;
Date: 2024-04-09 20:39:21 Duration: 36s313ms Bind query: yes
19 210 25m4s 1s17ms 29s273ms 7s163ms 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;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 08 17 6 19s624ms 3s270ms Apr 09 15 2 43s539ms 21s769ms 16 9 1m12s 8s8ms 20 9 1m20s 8s953ms Apr 10 03 8 15s794ms 1s974ms 10 6 1m32s 15s494ms 15 3 45s469ms 15s156ms 16 8 18s673ms 2s334ms 18 6 1m34s 15s681ms Apr 11 07 7 23s795ms 3s399ms 08 10 2m19s 13s950ms 09 21 2m20s 6s686ms 10 2 7s529ms 3s764ms 11 7 1m 8s688ms 12 6 11s672ms 1s945ms 19 4 4s374ms 1s93ms 20 1 1s51ms 1s51ms 21 4 4s447ms 1s111ms Apr 12 02 2 2s131ms 1s65ms 04 8 16s85ms 2s10ms 06 1 1s25ms 1s25ms 13 6 58s268ms 9s711ms 18 7 1m59s 17s16ms 19 8 1m31s 11s492ms 21 3 3s409ms 1s136ms 22 7 1m45s 15s21ms 23 3 11s705ms 3s901ms Apr 13 00 3 47s475ms 15s825ms 01 9 1m25s 9s502ms 11 4 6s61ms 1s515ms 12 7 14s595ms 2s85ms 13 16 54s242ms 3s390ms 16 7 11s164ms 1s594ms [ User: pubeu - Total duration: 17m34s - Times executed: 134 ]
-
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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-04-13 00:35:23 Duration: 29s273ms 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 = '1419064') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-04-09 20:45:12 Duration: 28s334ms 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 = '1420577') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-04-11 08:51:45 Duration: 24s995ms Database: ctdprd51 User: pubeu Bind query: yes
20 192 22m35s 1s12ms 17s363ms 7s61ms 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 #20
Day Hour Count Duration Avg duration Apr 08 04 1 1s29ms 1s29ms 17 139 19m31s 8s428ms Apr 09 16 2 19s802ms 9s901ms 20 3 26s451ms 8s817ms Apr 11 08 5 25s378ms 5s75ms 09 5 9s656ms 1s931ms 10 1 1s138ms 1s138ms 14 1 3s43ms 3s43ms 20 1 2s216ms 2s216ms Apr 12 20 6 8s951ms 1s491ms 22 9 44s663ms 4s962ms Apr 13 11 1 1s297ms 1s297ms 13 18 40s724ms 2s262ms [ User: pubeu - Total duration: 2m37s - Times executed: 35 ]
-
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 = '2051315');
Date: 2024-04-08 17:52:57 Duration: 17s363ms 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 = '2057129');
Date: 2024-04-08 17:51:13 Duration: 15s396ms 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 = '2056095');
Date: 2024-04-08 17:52:02 Duration: 15s342ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 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 #1
Day Hour Count Duration Avg duration Apr 13 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-04-13 18:59:55 Duration: 23m12s
2 22m56s 22m56s 22m56s 1 22m56s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 13 19 1 22m56s 22m56s -
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-04-13 19:40:16 Duration: 22m56s
3 15m23s 18m39s 16m16s 7 1h53m54s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 07 00 1 15m27s 15m27s Apr 08 00 1 15m23s 15m23s Apr 09 00 1 15m36s 15m36s Apr 10 00 1 17m24s 17m24s Apr 11 00 1 18m39s 18m39s Apr 12 00 1 15m38s 15m38s Apr 13 00 1 15m44s 15m44s -
/* * 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-04-11 00:18:40 Duration: 18m39s
-
/* * 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-04-10 00:17:26 Duration: 17m24s
-
/* * 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-04-13 00:15:46 Duration: 15m44s
4 1s379ms 26m34s 6m13s 67 6h57m15s 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 #4
Day Hour Count Duration Avg duration Apr 07 04 1 1s496ms 1s496ms 06 1 8m23s 8m23s Apr 08 04 1 3s226ms 3s226ms 06 1 1s446ms 1s446ms 09 1 1s645ms 1s645ms 17 25 1h5m28s 2m37s 18 8 3h4m56s 23m7s 20 1 1s482ms 1s482ms Apr 09 04 1 1s554ms 1s554ms 07 1 2s56ms 2s56ms 08 1 1s496ms 1s496ms 09 1 2s2ms 2s2ms 13 1 1s569ms 1s569ms 20 1 3s142ms 3s142ms Apr 10 02 1 3s218ms 3s218ms 03 1 3s168ms 3s168ms 05 1 8m24s 8m24s 12 5 52m32s 10m30s Apr 11 06 1 3s218ms 3s218ms 12 1 1s786ms 1s786ms 13 1 1s515ms 1s515ms 20 5 52m59s 10m35s 23 1 3s258ms 3s258ms Apr 12 16 1 1s379ms 1s379ms Apr 13 02 1 3s472ms 3s472ms 03 2 35m17s 17m38s 19 1 8m29s 8m29s [ User: pubeu - Total duration: 3h37m44s - Times executed: 40 ]
-
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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-08 18:09:41 Duration: 26m34s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-08 18:11:39 Duration: 25m57s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-08 18:12:57 Duration: 25m42s Database: ctdprd51 User: pubeu Bind query: yes
5 1s 21m53s 1m55s 223 7h7m54s 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 #5
Day Hour Count Duration Avg duration Apr 07 17 3 7s493ms 2s497ms 18 1 1s118ms 1s118ms Apr 08 17 25 10m1s 24s74ms 18 2 29m36s 14m48s 23 1 27s528ms 27s528ms Apr 09 12 1 30s661ms 30s661ms 14 4 4s705ms 1s176ms 15 3 3m3s 1m1s 16 15 12m17s 49s138ms 20 42 1h47m26s 2m33s Apr 10 01 1 2s680ms 2s680ms 03 1 3s103ms 3s103ms 09 2 31s467ms 15s733ms 10 1 2s665ms 2s665ms 15 3 8s352ms 2s784ms Apr 11 07 2 1m51s 55s706ms 08 9 20m53s 2m19s 09 12 49m47s 4m8s 10 4 4m44s 1m11s 11 1 3s237ms 3s237ms 12 13 51m23s 3m57s 13 3 6m1s 2m 14 1 2s972ms 2s972ms 15 1 25s375ms 25s375ms 19 1 2s168ms 2s168ms Apr 12 07 7 22m23s 3m11s 13 2 1m19s 39s838ms 15 1 25s842ms 25s842ms 17 1 2s507ms 2s507ms 18 5 2m52s 34s416ms 19 6 14m30s 2m25s 20 2 11m21s 5m40s 22 5 23m24s 4m40s 23 2 5m38s 2m49s Apr 13 00 3 3m58s 1m19s 01 4 6m4s 1m31s 09 6 4m49s 48s285ms 10 3 1m23s 27s964ms 11 8 11m25s 1m25s 12 2 4m9s 2m4s 13 10 13m50s 1m23s 14 2 30s647ms 15s323ms 16 2 4s9ms 2s4ms [ User: pubeu - Total duration: 3h46s - Times executed: 88 ]
-
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 = '1419075')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-09 20:54:27 Duration: 21m53s 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 = '1419075')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-09 20:49:05 Duration: 16m49s 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 = '1260890')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-08 18:02:51 Duration: 15m17s Database: ctdprd51 User: pubeu Bind query: yes
6 1s24ms 1m56s 19s277ms 85 27m18s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 07 00 1 1s764ms 1s764ms 09 1 2s880ms 2s880ms 10 1 8s320ms 8s320ms 22 1 1s505ms 1s505ms Apr 08 04 2 9s327ms 4s663ms 06 1 1s24ms 1s24ms 09 1 8s151ms 8s151ms 11 1 8s569ms 8s569ms 17 40 20m37s 30s928ms 19 1 1s41ms 1s41ms 22 1 1s193ms 1s193ms Apr 09 07 1 3s406ms 3s406ms 23 1 8s360ms 8s360ms Apr 10 01 1 2s509ms 2s509ms 09 1 9s452ms 9s452ms 12 8 1m52s 14s124ms 14 1 1s206ms 1s206ms Apr 11 05 1 18s357ms 18s357ms 06 1 1s233ms 1s233ms 12 1 8s58ms 8s58ms 13 1 1s571ms 1s571ms 20 10 2m30s 15s74ms Apr 12 01 1 1s282ms 1s282ms Apr 13 02 4 35s828ms 8s957ms 06 1 1s601ms 1s601ms 22 1 1s48ms 1s48ms [ User: pubeu - Total duration: 9m - Times executed: 37 ]
-
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 = '1230239') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-08 17:50:51 Duration: 1m56s 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 = '1230239') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-08 17:50:27 Duration: 1m52s 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 = '1237381') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-08 17:53:57 Duration: 1m51s Bind query: yes
7 1s8ms 38s263ms 13s671ms 493 1h52m20s select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 07 03 2 3s294ms 1s647ms 13 1 5s313ms 5s313ms 17 1 2s65ms 2s65ms 18 1 5s377ms 5s377ms 19 1 5s296ms 5s296ms Apr 08 06 1 5s178ms 5s178ms 17 6 34s183ms 5s697ms Apr 09 20 1 10s600ms 10s600ms Apr 10 03 1 1s517ms 1s517ms 09 1 2s271ms 2s271ms 11 1 1s515ms 1s515ms Apr 11 10 1 5s579ms 5s579ms Apr 13 05 1 5s577ms 5s577ms 10 63 3m7s 2s977ms 11 1 1s299ms 1s299ms 12 410 1h47m43s 15s764ms [ User: pubeu - Total duration: 9m10s - Times executed: 60 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-13 12:20:59 Duration: 38s263ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-13 12:21:16 Duration: 37s532ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '154541' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '154541') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-13 12:21:50 Duration: 35s377ms Bind query: yes
8 1s 47s875ms 9s323ms 3,915 10h8m22s 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 #8
Day Hour Count Duration Avg duration Apr 07 00 1 1s215ms 1s215ms 01 1 3s514ms 3s514ms 02 3 9s643ms 3s214ms 04 1 4s861ms 4s861ms 05 2 7s607ms 3s803ms 06 1 4s766ms 4s766ms 07 3 8s658ms 2s886ms 08 1 2s673ms 2s673ms 09 2 6s4ms 3s2ms 11 1 4s961ms 4s961ms 15 5 7s173ms 1s434ms 16 3 5s973ms 1s991ms 17 91 5m32s 3s655ms 18 27 1m8s 2s531ms 20 3 5s365ms 1s788ms 22 13 52s909ms 4s69ms 23 3 9s943ms 3s314ms Apr 08 00 3 9s542ms 3s180ms 02 1 4s803ms 4s803ms 03 1 1s406ms 1s406ms 04 2 3s723ms 1s861ms 05 1 4s799ms 4s799ms 07 76 5m27s 4s308ms 08 1 1s6ms 1s6ms 09 1 1s395ms 1s395ms 11 1 2s729ms 2s729ms 13 24 1m 2s517ms 17 228 35m24s 9s318ms 23 1 2s729ms 2s729ms Apr 09 12 2 6s151ms 3s75ms 14 518 1h31m28s 10s594ms 15 126 10m47s 5s138ms 16 514 1h43m24s 12s70ms 18 1 1s109ms 1s109ms 19 177 13m18s 4s513ms 20 1,360 4h53m16s 12s938ms 22 2 6s98ms 3s49ms Apr 10 00 1 2s701ms 2s701ms 01 6 25s862ms 4s310ms 02 3 9s659ms 3s219ms 03 5 20s629ms 4s125ms 04 23 1m54s 4s997ms 05 6 17s382ms 2s897ms 06 2 6s472ms 3s236ms 07 3 6s586ms 2s195ms 09 5 9s600ms 1s920ms 10 17 1m 3s574ms 11 1 3s583ms 3s583ms 12 3 12s102ms 4s34ms 14 6 23s84ms 3s847ms 15 10 41s878ms 4s187ms 16 4 13s161ms 3s290ms 18 6 18s505ms 3s84ms 19 1 1s88ms 1s88ms Apr 11 06 3 3s510ms 1s170ms 07 22 58s63ms 2s639ms 08 28 1m28s 3s157ms 09 69 3m36s 3s140ms 10 14 33s808ms 2s414ms 11 30 1m21s 2s718ms 12 30 3m1s 6s58ms 13 4 7s659ms 1s914ms 14 3 3s809ms 1s269ms 15 1 1s246ms 1s246ms 16 1 1s248ms 1s248ms 17 2 2s420ms 1s210ms 18 3 8s412ms 2s804ms 19 5 12s324ms 2s464ms 20 3 9s367ms 3s122ms 21 8 18s590ms 2s323ms 23 1 2s639ms 2s639ms Apr 12 01 4 11s553ms 2s888ms 02 6 9s200ms 1s533ms 03 4 8s732ms 2s183ms 04 8 23s675ms 2s959ms 06 3 6s425ms 2s141ms 07 9 55s388ms 6s154ms 08 14 40s679ms 2s905ms 10 6 17s76ms 2s846ms 11 2 2s294ms 1s147ms 12 6 17s80ms 2s846ms 13 5 10s487ms 2s97ms 14 1 1s257ms 1s257ms 17 8 24s469ms 3s58ms 18 23 1m22s 3s607ms 19 20 1m36s 4s824ms 20 1 2s181ms 2s181ms 21 4 11s860ms 2s965ms 22 8 34s660ms 4s332ms Apr 13 00 1 9s525ms 9s525ms 01 2 6s426ms 3s213ms 02 5 11s446ms 2s289ms 03 1 1s229ms 1s229ms 05 3 6s156ms 2s52ms 06 1 1s150ms 1s150ms 07 2 2s464ms 1s232ms 08 2 4s605ms 2s302ms 09 49 3m42s 4s539ms 10 4 18s452ms 4s613ms 11 11 1m36s 8s769ms 12 25 1m4s 2s565ms 13 23 2m24s 6s273ms 14 44 2m47s 3s803ms 15 1 3s496ms 3s496ms 16 56 4m29s 4s819ms 17 18 51s214ms 2s845ms 20 1 4s909ms 4s909ms 21 4 11s387ms 2s846ms [ User: pubeu - Total duration: 1h47m31s - Times executed: 1060 ]
-
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 = '1381425') 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 = '1381425') 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-04-09 20:03:07 Duration: 47s875ms 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 = '1381425') 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 = '1381425') 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-04-09 20:39:10 Duration: 47s188ms 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 = '1381425') 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 = '1381425') 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-04-09 20:03:47 Duration: 46s731ms Bind query: yes
9 1s 1m54s 9s110ms 4,256 10h46m14s 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 viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ? offset ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 08 08 26 2m19s 5s362ms 09 175 20m15s 6s943ms 10 51 3m43s 4s384ms 11 33 56m48s 1m43s 12 35 59m52s 1m42s 13 39 54m33s 1m23s 14 128 27m10s 12s741ms Apr 09 09 111 6m44s 3s645ms 10 196 15m9s 4s642ms 11 122 2m44s 1s350ms 12 126 22m10s 10s562ms 13 111 48m34s 26s254ms 14 177 30m16s 10s265ms 17 15 3m54s 15s657ms 18 301 51m1s 10s170ms 19 292 30m47s 6s328ms 20 212 18m11s 5s150ms 21 421 27m39s 3s942ms 22 299 19m15s 3s863ms 23 274 17m14s 3s774ms Apr 10 00 352 38m17s 6s526ms 01 271 35m25s 7s842ms 02 301 40m12s 8s14ms 03 188 13m50s 4s416ms [ User: pubeu - Total duration: 5h25m37s - Times executed: 1046 ]
-
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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500 OFFSET 1000;
Date: 2024-04-08 11:07:37 Duration: 1m54s 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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500 OFFSET 1500;
Date: 2024-04-08 11:09:26 Duration: 1m48s 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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500 OFFSET 1000;
Date: 2024-04-08 11:05:43 Duration: 1m45s Database: ctdprd51 User: pubeu Bind query: yes
10 1s4ms 38s683ms 8s441ms 515 1h12m27s 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 #10
Day Hour Count Duration Avg duration Apr 07 01 1 5s60ms 5s60ms 03 1 5s164ms 5s164ms 05 5 5s179ms 1s35ms 09 1 5s440ms 5s440ms 10 2 11s255ms 5s627ms 12 2 6s583ms 3s291ms 15 2 10s757ms 5s378ms 16 1 5s348ms 5s348ms 17 10 1m1s 6s158ms 18 6 36s735ms 6s122ms 19 1 5s647ms 5s647ms 22 3 3s497ms 1s165ms Apr 08 00 1 1s56ms 1s56ms 05 2 2s24ms 1s12ms 07 3 10s206ms 3s402ms 08 4 22s537ms 5s634ms 09 8 44s740ms 5s592ms 10 1 5s321ms 5s321ms 12 1 1s14ms 1s14ms 17 14 3m26s 14s774ms 20 1 5s143ms 5s143ms 21 2 5s986ms 2s993ms 22 2 10s786ms 5s393ms Apr 09 00 1 5s300ms 5s300ms 01 1 5s391ms 5s391ms 02 1 5s478ms 5s478ms 05 3 3s104ms 1s34ms 06 1 5s452ms 5s452ms 09 3 3s88ms 1s29ms 13 1 5s649ms 5s649ms 15 4 27s189ms 6s797ms 16 6 2m38s 26s369ms 17 1 5s412ms 5s412ms 19 2 16s93ms 8s46ms 20 19 9m44s 30s763ms 23 1 1s5ms 1s5ms Apr 10 01 3 17s756ms 5s918ms 03 9 45s648ms 5s72ms 04 13 1m35s 7s369ms 05 5 14s665ms 2s933ms 06 2 12s112ms 6s56ms 08 2 10s998ms 5s499ms 09 7 40s380ms 5s768ms 10 15 1m16s 5s76ms 14 11 59s336ms 5s394ms 15 14 1m32s 6s624ms 16 4 24s897ms 6s224ms 18 3 18s18ms 6s6ms Apr 11 05 3 3s94ms 1s31ms 07 11 1m9s 6s348ms 08 15 2m10s 8s682ms 09 30 5m14s 10s471ms 10 14 1m44s 7s493ms 11 11 1m3s 5s795ms 12 13 2m51s 13s191ms 13 4 25s894ms 6s473ms 14 2 12s926ms 6s463ms 15 12 1m10s 5s849ms 19 1 5s413ms 5s413ms 20 4 22s851ms 5s712ms 21 3 17s257ms 5s752ms Apr 12 01 4 20s639ms 5s159ms 02 4 25s166ms 6s291ms 03 1 5s615ms 5s615ms 04 5 19s430ms 3s886ms 05 4 8s315ms 2s78ms 06 1 6s464ms 6s464ms 07 10 4m12s 25s290ms 08 5 24s248ms 4s849ms 10 2 11s614ms 5s807ms 12 3 17s628ms 5s876ms 13 4 26s971ms 6s742ms 15 1 5s541ms 5s541ms 17 3 18s716ms 6s238ms 18 8 37s451ms 4s681ms 19 11 1m22s 7s509ms 20 2 13s232ms 6s616ms 21 6 39s334ms 6s555ms 22 7 54s971ms 7s853ms 23 3 20s448ms 6s816ms Apr 13 00 7 49s17ms 7s2ms 01 4 26s761ms 6s690ms 02 1 5s742ms 5s742ms 05 2 2s108ms 1s54ms 06 1 5s367ms 5s367ms 09 18 2m13s 7s399ms 10 2 8s87ms 4s43ms 11 10 1m44s 10s485ms 12 10 59s198ms 5s919ms 13 10 1m31s 9s191ms 14 9 42s88ms 4s676ms 15 1 5s385ms 5s385ms 16 23 4m44s 12s378ms 17 2 6s875ms 3s437ms 21 2 6s663ms 3s331ms [ User: pubeu - Total duration: 34m3s - Times executed: 249 ]
[ User: qaeu - Total duration: 4s205ms - Times executed: 4 ]
-
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 = '1419064' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-09 20:42:26 Duration: 38s683ms 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 = '1285542' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-09 20:44:02 Duration: 38s127ms 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 = '1285542' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-09 20:44:50 Duration: 38s117ms Bind query: yes
11 1s1ms 44s464ms 8s116ms 4,079 9h11m48s 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 #11
Day Hour Count Duration Avg duration Apr 07 01 1 1s743ms 1s743ms 02 1 3s265ms 3s265ms 05 1 6s195ms 6s195ms 07 1 1s864ms 1s864ms 10 1 3s285ms 3s285ms 13 1 6s15ms 6s15ms 14 1 6s31ms 6s31ms 15 9 20s993ms 2s332ms 17 75 4m48s 3s841ms 18 9 22s352ms 2s483ms 22 5 13s181ms 2s636ms Apr 08 00 1 1s206ms 1s206ms 01 2 8s79ms 4s39ms 07 87 6m29s 4s481ms 08 1 5s997ms 5s997ms 09 1 2s56ms 2s56ms 13 6 26s753ms 4s458ms 16 2 6s527ms 3s263ms 17 211 31m58s 9s94ms 23 1 1s838ms 1s838ms Apr 09 06 1 6s12ms 6s12ms 14 586 1h28m8s 9s24ms 15 127 9m56s 4s698ms 16 610 1h30m15s 8s878ms 19 205 13m21s 3s909ms 20 1,575 4h24m50s 10s89ms Apr 10 01 6 28s540ms 4s756ms 02 1 1s924ms 1s924ms 03 5 35s623ms 7s124ms 04 14 1m24s 6s37ms 05 3 11s434ms 3s811ms 08 1 2s10ms 2s10ms 09 2 9s208ms 4s604ms 10 14 48s978ms 3s498ms 12 2 8s52ms 4s26ms 14 3 15s208ms 5s69ms 15 5 31s943ms 6s388ms 16 2 4s352ms 2s176ms 18 4 13s915ms 3s478ms Apr 11 07 15 43s786ms 2s919ms 08 36 2m44s 4s566ms 09 66 4m16s 3s888ms 10 10 21s293ms 2s129ms 11 19 59s876ms 3s151ms 12 21 2m37s 7s495ms 13 3 9s715ms 3s238ms 14 2 7s258ms 3s629ms 15 8 15s627ms 1s953ms 18 1 6s42ms 6s42ms 19 1 3s281ms 3s281ms 21 3 10s288ms 3s429ms Apr 12 01 1 6s16ms 6s16ms 02 11 24s83ms 2s189ms 04 4 6s987ms 1s746ms 06 2 3s910ms 1s955ms 07 4 32s721ms 8s180ms 08 10 25s955ms 2s595ms 09 1 3s237ms 3s237ms 10 2 5s87ms 2s543ms 12 7 20s77ms 2s868ms 13 7 21s955ms 3s136ms 17 6 20s888ms 3s481ms 18 21 1m22s 3s939ms 19 11 34s832ms 3s166ms 20 3 11s128ms 3s709ms 21 6 13s136ms 2s189ms 22 11 43s494ms 3s954ms Apr 13 00 5 19s23ms 3s804ms 01 4 23s387ms 5s846ms 02 7 18s372ms 2s624ms 07 2 7s618ms 3s809ms 09 32 2m8s 4s21ms 10 4 19s260ms 4s815ms 11 8 37s912ms 4s739ms 12 11 27s438ms 2s494ms 13 17 1m39s 5s872ms 14 46 3m18s 4s306ms 16 50 5m22s 6s453ms 17 13 49s435ms 3s802ms 18 1 2s837ms 2s837ms 21 4 12s111ms 3s27ms [ User: pubeu - Total duration: 1h32m50s - Times executed: 997 ]
-
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 = '1381425'))) 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-04-09 20:05:04 Duration: 44s464ms 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 = '1381425'))) 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-04-09 20:05:20 Duration: 42s660ms 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 = '1381425'))) 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-04-09 20:44:07 Duration: 42s304ms Bind query: yes
12 1s17ms 29s273ms 7s163ms 210 25m4s 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;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 08 17 6 19s624ms 3s270ms Apr 09 15 2 43s539ms 21s769ms 16 9 1m12s 8s8ms 20 9 1m20s 8s953ms Apr 10 03 8 15s794ms 1s974ms 10 6 1m32s 15s494ms 15 3 45s469ms 15s156ms 16 8 18s673ms 2s334ms 18 6 1m34s 15s681ms Apr 11 07 7 23s795ms 3s399ms 08 10 2m19s 13s950ms 09 21 2m20s 6s686ms 10 2 7s529ms 3s764ms 11 7 1m 8s688ms 12 6 11s672ms 1s945ms 19 4 4s374ms 1s93ms 20 1 1s51ms 1s51ms 21 4 4s447ms 1s111ms Apr 12 02 2 2s131ms 1s65ms 04 8 16s85ms 2s10ms 06 1 1s25ms 1s25ms 13 6 58s268ms 9s711ms 18 7 1m59s 17s16ms 19 8 1m31s 11s492ms 21 3 3s409ms 1s136ms 22 7 1m45s 15s21ms 23 3 11s705ms 3s901ms Apr 13 00 3 47s475ms 15s825ms 01 9 1m25s 9s502ms 11 4 6s61ms 1s515ms 12 7 14s595ms 2s85ms 13 16 54s242ms 3s390ms 16 7 11s164ms 1s594ms [ User: pubeu - Total duration: 17m34s - Times executed: 134 ]
-
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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-04-13 00:35:23 Duration: 29s273ms 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 = '1419064') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-04-09 20:45:12 Duration: 28s334ms 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 = '1420577') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-04-11 08:51:45 Duration: 24s995ms Database: ctdprd51 User: pubeu Bind query: yes
13 1s12ms 17s363ms 7s61ms 192 22m35s 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 #13
Day Hour Count Duration Avg duration Apr 08 04 1 1s29ms 1s29ms 17 139 19m31s 8s428ms Apr 09 16 2 19s802ms 9s901ms 20 3 26s451ms 8s817ms Apr 11 08 5 25s378ms 5s75ms 09 5 9s656ms 1s931ms 10 1 1s138ms 1s138ms 14 1 3s43ms 3s43ms 20 1 2s216ms 2s216ms Apr 12 20 6 8s951ms 1s491ms 22 9 44s663ms 4s962ms Apr 13 11 1 1s297ms 1s297ms 13 18 40s724ms 2s262ms [ User: pubeu - Total duration: 2m37s - Times executed: 35 ]
-
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 = '2051315');
Date: 2024-04-08 17:52:57 Duration: 17s363ms 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 = '2057129');
Date: 2024-04-08 17:51:13 Duration: 15s396ms 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 = '2056095');
Date: 2024-04-08 17:52:02 Duration: 15s342ms Bind query: yes
14 1s 1m54s 6s904ms 241 27m44s 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 viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 08 07 1 2s615ms 2s615ms 08 14 41s541ms 2s967ms 09 11 47s127ms 4s284ms 10 5 2m9s 25s848ms 11 4 7m23s 1m50s 13 2 58s119ms 29s59ms 14 6 45s702ms 7s617ms Apr 09 09 6 22s800ms 3s800ms 10 8 29s798ms 3s724ms 11 16 23s319ms 1s457ms 12 8 52s487ms 6s560ms 13 5 1m31s 18s336ms 14 6 46s365ms 7s727ms 17 3 1m1s 20s541ms 18 9 1m3s 7s68ms 19 14 1m8s 4s870ms 20 17 1m12s 4s241ms 21 22 1m1s 2s812ms 22 14 38s457ms 2s746ms 23 22 1m17s 3s524ms Apr 10 00 14 36s176ms 2s584ms 01 8 53s725ms 6s715ms 02 12 1m3s 5s278ms 03 14 33s510ms 2s393ms [ User: pubeu - Total duration: 15m37s - Times executed: 103 ]
-
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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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-04-08 11:07:22 Duration: 1m54s 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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500;
Date: 2024-04-08 11:06:56 Duration: 1m53s 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 viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'AGT') 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 500;
Date: 2024-04-08 11:08:53 Duration: 1m52s Database: ctdprd51 User: pubeu Bind query: yes
15 1s11ms 45s369ms 6s330ms 279 29m26s 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 ? offset ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 08 17 3 13s773ms 4s591ms Apr 09 16 2 9s286ms 4s643ms 20 20 9m 27s14ms Apr 10 04 22 4m31s 12s332ms 05 7 11s866ms 1s695ms 06 7 13s152ms 1s878ms 14 13 40s845ms 3s141ms 15 7 45s830ms 6s547ms 18 7 18s382ms 2s626ms Apr 11 06 9 10s40ms 1s115ms 07 19 1m1s 3s241ms 08 10 20s137ms 2s13ms 09 14 1m7s 4s826ms 10 10 20s177ms 2s17ms 11 7 16s953ms 2s421ms 12 15 42s667ms 2s844ms 19 3 8s582ms 2s860ms 21 6 15s183ms 2s530ms Apr 12 06 2 2s227ms 1s113ms 07 10 1m8s 6s808ms 10 8 28s622ms 3s577ms 18 8 33s363ms 4s170ms 19 13 2m 9s255ms 21 1 2s622ms 2s622ms Apr 13 07 1 5s187ms 5s187ms 09 11 1m17s 7s32ms 11 8 50s481ms 6s310ms 12 6 10s662ms 1s777ms 13 16 1m10s 4s394ms 14 8 51s585ms 6s448ms 21 6 17s722ms 2s953ms [ User: pubeu - Total duration: 10m18s - Times executed: 97 ]
-
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 = '1381425') 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 = '1381425') 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 OFFSET 50;
Date: 2024-04-09 20:25:58 Duration: 45s369ms 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 = '1381425') 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 = '1381425') 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 OFFSET 50;
Date: 2024-04-09 20:25:30 Duration: 39s632ms 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 = '1381425') 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 = '1381425') 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 OFFSET 300;
Date: 2024-04-09 20:25:15 Duration: 35s380ms Bind query: yes
16 1s5ms 56s866ms 6s254ms 478 49m49s 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 #16
Day Hour Count Duration Avg duration Apr 07 00 3 8s410ms 2s803ms 01 4 22s691ms 5s672ms 02 2 8s70ms 4s35ms 03 2 8s130ms 4s65ms 04 1 6s741ms 6s741ms 05 5 27s145ms 5s429ms 06 4 17s108ms 4s277ms 07 4 6s851ms 1s712ms 08 2 7s325ms 3s662ms 09 2 7s699ms 3s849ms 10 3 8s533ms 2s844ms 11 5 24s387ms 4s877ms 12 4 21s295ms 5s323ms 13 3 11s342ms 3s780ms 14 3 9s549ms 3s183ms 15 3 8s229ms 2s743ms 16 2 3s689ms 1s844ms 17 2 4s148ms 2s74ms 18 1 2s180ms 2s180ms 19 3 10s662ms 3s554ms 20 2 2s338ms 1s169ms 21 4 11s144ms 2s786ms 23 3 6s623ms 2s207ms Apr 08 00 4 24s991ms 6s247ms 01 2 5s761ms 2s880ms 02 1 3s170ms 3s170ms 03 3 8s545ms 2s848ms 04 1 4s393ms 4s393ms 05 7 27s864ms 3s980ms 06 1 1s24ms 1s24ms 07 2 6s575ms 3s287ms 08 3 9s592ms 3s197ms 09 1 1s157ms 1s157ms 10 1 10s624ms 10s624ms 12 3 10s535ms 3s511ms 13 1 5s955ms 5s955ms 14 2 5s306ms 2s653ms 15 1 2s305ms 2s305ms 16 1 2s580ms 2s580ms 17 68 19m24s 17s122ms 18 3 6s850ms 2s283ms 21 2 8s135ms 4s67ms 22 3 7s45ms 2s348ms 23 2 6s431ms 3s215ms Apr 09 00 8 1m7s 8s383ms 01 4 22s171ms 5s542ms 02 1 11s212ms 11s212ms 03 3 32s624ms 10s874ms 05 2 7s679ms 3s839ms 06 1 2s180ms 2s180ms 08 3 8s862ms 2s954ms 09 2 4s939ms 2s469ms 10 6 27s913ms 4s652ms 11 2 8s247ms 4s123ms 12 2 8s307ms 4s153ms 13 3 6s778ms 2s259ms 15 1 1s986ms 1s986ms 16 2 3s417ms 1s708ms 17 1 2s665ms 2s665ms 18 2 16s150ms 8s75ms 19 1 2s251ms 2s251ms 20 2 14s925ms 7s462ms 21 5 15s260ms 3s52ms 22 2 6s148ms 3s74ms 23 1 3s60ms 3s60ms Apr 10 00 1 4s811ms 4s811ms 01 2 14s642ms 7s321ms 02 2 2s706ms 1s353ms 03 2 7s855ms 3s927ms 04 22 1m23s 3s788ms 07 1 1s316ms 1s316ms 08 2 2s549ms 1s274ms 09 1 1s241ms 1s241ms 10 3 9s307ms 3s102ms 11 2 6s470ms 3s235ms 14 7 14s931ms 2s133ms 15 2 9s568ms 4s784ms 16 2 3s505ms 1s752ms 17 1 2s525ms 2s525ms Apr 11 06 1 1s259ms 1s259ms 08 2 11s311ms 5s655ms 09 12 53s380ms 4s448ms 10 1 2s223ms 2s223ms 11 1 1s105ms 1s105ms 14 12 46s366ms 3s863ms 17 1 10s878ms 10s878ms 18 3 19s307ms 6s435ms 20 1 2s766ms 2s766ms 21 2 7s349ms 3s674ms 22 1 5s63ms 5s63ms Apr 12 00 2 10s647ms 5s323ms 01 1 1s386ms 1s386ms 02 3 5s444ms 1s814ms 03 1 1s520ms 1s520ms 04 2 10s437ms 5s218ms 06 1 1s133ms 1s133ms 07 1 2s293ms 2s293ms 09 1 1s372ms 1s372ms 10 4 18s161ms 4s540ms 14 13 1m4s 4s958ms 15 1 1s131ms 1s131ms 18 1 12s400ms 12s400ms 19 1 12s633ms 12s633ms 20 38 3m6s 4s901ms 21 9 37s533ms 4s170ms 22 27 2m34s 5s723ms Apr 13 00 1 5s64ms 5s64ms 01 2 6s986ms 3s493ms 02 4 11s702ms 2s925ms 05 1 2s520ms 2s520ms 06 2 2s657ms 1s328ms 07 2 3s319ms 1s659ms 08 2 4s561ms 2s280ms 09 2 13s476ms 6s738ms 10 2 3s828ms 1s914ms 11 1 3s79ms 3s79ms 12 3 8s686ms 2s895ms 13 19 3m16s 10s331ms 14 1 1s631ms 1s631ms 15 2 11s575ms 5s787ms 16 1 1s786ms 1s786ms 19 1 1s697ms 1s697ms 20 2 3s441ms 1s720ms 21 1 5s86ms 5s86ms 22 1 2s328ms 2s328ms 23 2 11s593ms 5s796ms [ User: pubeu - Total duration: 16m56s - Times executed: 208 ]
-
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 = '2061611') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-08 17:49:21 Duration: 56s866ms 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 = '2051315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-08 17:52:39 Duration: 47s577ms 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 = '2056095') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-08 17:51:47 Duration: 39s981ms Bind query: yes
17 1s2ms 36s666ms 5s743ms 222 21m15s select p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p on te.enriched_term_id = p.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, p.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 07 08 1 1s21ms 1s21ms 12 2 2s68ms 1s34ms 17 8 12s874ms 1s609ms 18 3 4s591ms 1s530ms 19 1 1s59ms 1s59ms Apr 08 09 2 2s29ms 1s14ms 16 1 1s23ms 1s23ms 17 6 2m6s 21s126ms Apr 09 15 1 1s468ms 1s468ms 16 2 31s784ms 15s892ms 20 10 4m20s 26s59ms Apr 10 01 1 1s210ms 1s210ms 03 1 2s159ms 2s159ms 04 5 6s474ms 1s294ms 05 2 2s146ms 1s73ms 06 1 1s276ms 1s276ms 09 2 2s210ms 1s105ms 10 2 2s150ms 1s75ms 12 1 1s66ms 1s66ms 14 2 2s394ms 1s197ms 15 6 7s397ms 1s232ms 16 1 1s96ms 1s96ms 18 3 3s404ms 1s134ms Apr 11 07 3 3s280ms 1s93ms 08 7 44s715ms 6s387ms 09 18 1m59s 6s647ms 10 6 9s911ms 1s651ms 11 7 7s927ms 1s132ms 12 10 2m5s 12s592ms 13 1 4s99ms 4s99ms 14 1 1s197ms 1s197ms 15 3 3s301ms 1s100ms 19 3 3s205ms 1s68ms 20 2 2s90ms 1s45ms 21 2 2s78ms 1s39ms Apr 12 01 2 2s313ms 1s156ms 02 3 3s499ms 1s166ms 04 1 1s102ms 1s102ms 05 1 1s12ms 1s12ms 06 1 1s256ms 1s256ms 07 8 3m7s 23s419ms 08 2 2s355ms 1s177ms 10 1 1s29ms 1s29ms 12 2 2s59ms 1s29ms 13 3 3s783ms 1s261ms 18 5 6s650ms 1s330ms 19 8 16s678ms 2s84ms 21 3 3s439ms 1s146ms 22 7 51s751ms 7s393ms 23 1 1s797ms 1s797ms Apr 13 00 3 4s762ms 1s587ms 01 4 6s794ms 1s698ms 02 2 2s139ms 1s69ms 09 9 15s905ms 1s767ms 10 1 1s498ms 1s498ms 11 2 45s38ms 22s519ms 12 4 11s51ms 2s762ms 13 11 1m9s 6s347ms 14 4 5s152ms 1s288ms 16 5 18s938ms 3s787ms 21 2 2s227ms 1s113ms [ User: pubeu - Total duration: 10m9s - Times executed: 122 ]
-
SELECT /* ChemPathwaysDAO */ p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p ON te.enriched_term_id = p.id WHERE te.term_id = '1300382' AND te.enriched_object_type_id = 6 ORDER BY te.corrected_p_val, p.nm_sort LIMIT 50;
Date: 2024-04-09 20:39:25 Duration: 36s666ms Bind query: yes
-
SELECT /* ChemPathwaysDAO */ p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p ON te.enriched_term_id = p.id WHERE te.term_id = '1419064' AND te.enriched_object_type_id = 6 ORDER BY te.corrected_p_val, p.nm_sort LIMIT 50;
Date: 2024-04-09 20:38:30 Duration: 36s515ms Bind query: yes
-
SELECT /* ChemPathwaysDAO */ p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p ON te.enriched_term_id = p.id WHERE te.term_id = '1300382' AND te.enriched_object_type_id = 6 ORDER BY te.corrected_p_val, p.nm_sort LIMIT 50;
Date: 2024-04-09 20:39:21 Duration: 36s313ms Bind query: yes
18 1s14ms 1m9s 5s144ms 477 40m53s 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 stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.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 #18
Day Hour Count Duration Avg duration Apr 07 08 1 1s239ms 1s239ms 16 1 1s220ms 1s220ms 17 10 1m11s 7s103ms 18 5 35s103ms 7s20ms 22 2 11s778ms 5s889ms Apr 08 07 3 4s563ms 1s521ms 08 2 2s259ms 1s129ms 17 59 3m18s 3s367ms Apr 09 14 26 1m15s 2s888ms 15 7 42s36ms 6s5ms 16 41 2m20s 3s432ms 19 7 17s350ms 2s478ms 20 112 11m39s 6s242ms 22 1 1s82ms 1s82ms Apr 10 01 3 22s462ms 7s487ms 03 3 41s39ms 13s679ms 04 10 1m35s 9s514ms 05 2 3s903ms 1s951ms 06 1 2s237ms 2s237ms 09 5 24s165ms 4s833ms 10 5 32s315ms 6s463ms 14 6 6s972ms 1s162ms 15 9 54s76ms 6s8ms 16 2 3s446ms 1s723ms 18 2 22s24ms 11s12ms Apr 11 07 4 23s779ms 5s944ms 08 10 27s654ms 2s765ms 09 16 52s917ms 3s307ms 10 4 11s987ms 2s996ms 11 3 13s584ms 4s528ms 12 11 1m22s 7s475ms 13 1 2s436ms 2s436ms 14 1 1s413ms 1s413ms 19 1 1s283ms 1s283ms 21 2 7s651ms 3s825ms Apr 12 01 2 14s573ms 7s286ms 02 1 1s113ms 1s113ms 04 2 15s452ms 7s726ms 06 1 7s949ms 7s949ms 07 4 8s381ms 2s95ms 08 2 12s345ms 6s172ms 10 1 7s116ms 7s116ms 13 1 1s485ms 1s485ms 17 2 20s962ms 10s481ms 18 3 12s9ms 4s3ms 19 7 1m7s 9s624ms 22 6 31s2ms 5s167ms 23 1 1s43ms 1s43ms Apr 13 00 4 1m1s 15s361ms 01 2 5s515ms 2s757ms 04 1 6s377ms 6s377ms 05 1 1s223ms 1s223ms 06 1 1s59ms 1s59ms 07 1 1s23ms 1s23ms 08 4 5s766ms 1s441ms 09 17 1m44s 6s157ms 10 2 20s193ms 10s96ms 11 7 1m35s 13s697ms 12 3 19s777ms 6s592ms 13 11 58s435ms 5s312ms 14 3 15s590ms 5s196ms 16 8 17s690ms 2s211ms 21 1 4s334ms 4s334ms [ User: pubeu - Total duration: 13m49s - Times executed: 158 ]
-
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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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-04-09 20:26:27 Duration: 1m9s 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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-04-09 20:26:46 Duration: 1m7s 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1381425') 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-04-09 20:45:14 Duration: 54s556ms Bind query: yes
19 3s905ms 38s385ms 4s616ms 251 19m18s 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 #19
Day Hour Count Duration Avg duration Apr 07 02 1 3s950ms 3s950ms 03 1 4s76ms 4s76ms 05 1 4s99ms 4s99ms 07 1 3s999ms 3s999ms 09 3 12s97ms 4s32ms 10 1 4s51ms 4s51ms 12 1 4s41ms 4s41ms 13 1 4s61ms 4s61ms 14 1 3s945ms 3s945ms 15 2 8s44ms 4s22ms 16 1 3s995ms 3s995ms 18 3 12s20ms 4s6ms 19 1 4s10ms 4s10ms 20 2 7s953ms 3s976ms 23 3 12s52ms 4s17ms Apr 08 01 2 7s975ms 3s987ms 03 3 12s204ms 4s68ms 04 1 4s4ms 4s4ms 06 3 11s920ms 3s973ms 07 2 8s124ms 4s62ms 08 8 32s642ms 4s80ms 09 6 24s489ms 4s81ms 10 3 12s176ms 4s58ms 13 2 8s600ms 4s300ms 15 2 8s151ms 4s75ms 16 2 7s982ms 3s991ms 17 1 4s75ms 4s75ms 19 1 4s67ms 4s67ms 20 1 4s63ms 4s63ms 21 5 19s985ms 3s997ms 22 4 16s437ms 4s109ms Apr 09 00 3 12s252ms 4s84ms 01 1 4s130ms 4s130ms 02 4 16s65ms 4s16ms 03 2 8s235ms 4s117ms 04 2 8s393ms 4s196ms 05 3 12s271ms 4s90ms 06 2 8s160ms 4s80ms 07 2 8s38ms 4s19ms 08 2 7s939ms 3s969ms 09 1 4s91ms 4s91ms 10 4 17s200ms 4s300ms 11 2 8s340ms 4s170ms 12 4 16s324ms 4s81ms 13 2 8s131ms 4s65ms 14 4 50s790ms 12s697ms 15 1 4s265ms 4s265ms 17 1 4s52ms 4s52ms 18 4 16s190ms 4s47ms 23 2 8s121ms 4s60ms Apr 10 00 3 12s137ms 4s45ms 01 2 8s258ms 4s129ms 02 2 8s267ms 4s133ms 03 1 4s133ms 4s133ms 05 2 8s25ms 4s12ms 06 1 4s152ms 4s152ms 08 2 8s137ms 4s68ms 09 1 4s24ms 4s24ms 10 4 16s867ms 4s216ms 11 10 40s520ms 4s52ms 12 2 10s448ms 5s224ms 13 5 20s257ms 4s51ms 14 2 8s59ms 4s29ms 16 1 3s987ms 3s987ms 17 4 15s963ms 3s990ms Apr 11 06 6 24s254ms 4s42ms 07 3 12s184ms 4s61ms 08 2 9s381ms 4s690ms 09 5 20s305ms 4s61ms 10 2 8s35ms 4s17ms 11 7 30s855ms 4s407ms 12 3 1m45s 35s196ms 15 1 4s65ms 4s65ms 17 1 4s2ms 4s2ms 19 2 8s117ms 4s58ms 21 3 12s166ms 4s55ms 22 3 12s213ms 4s71ms Apr 12 01 1 4s334ms 4s334ms 02 1 4s389ms 4s389ms 03 4 16s562ms 4s140ms 04 2 8s87ms 4s43ms 05 2 8s88ms 4s44ms 08 2 8s135ms 4s67ms 09 3 12s143ms 4s47ms 10 1 4s56ms 4s56ms 11 1 4s63ms 4s63ms 12 1 4s46ms 4s46ms 13 2 7s990ms 3s995ms 14 1 4s36ms 4s36ms 15 2 8s279ms 4s139ms 16 3 12s479ms 4s159ms 18 2 8s147ms 4s73ms 19 2 8s513ms 4s256ms 22 1 4s9ms 4s9ms Apr 13 03 4 16s226ms 4s56ms 04 2 7s947ms 3s973ms 05 3 12s136ms 4s45ms 06 1 4s41ms 4s41ms 07 1 3s976ms 3s976ms 09 1 4s13ms 4s13ms 10 1 3s998ms 3s998ms 11 5 20s599ms 4s119ms 13 1 4s285ms 4s285ms 14 2 11s169ms 5s584ms 15 2 8s49ms 4s24ms 21 1 4s75ms 4s75ms 23 1 4s214ms 4s214ms [ User: pubeu - Total duration: 12m15s - Times executed: 148 ]
-
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 = '1419053') 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 = '1419053') 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-04-09 14:49:36 Duration: 38s385ms 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 = '1323657') 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 = '1323657') 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-04-11 12:31:26 Duration: 35s334ms 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 = '1323657') 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 = '1323657') 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-04-11 12:31:58 Duration: 35s298ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s 14s570ms 3s457ms 2,665 2h33m35s 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 #20
Day Hour Count Duration Avg duration Apr 07 00 1 1s812ms 1s812ms 01 2 2s522ms 1s261ms 08 1 1s244ms 1s244ms 09 2 2s464ms 1s232ms 13 3 4s264ms 1s421ms 15 3 3s749ms 1s249ms 17 27 55s381ms 2s51ms 18 2 3s107ms 1s553ms 19 1 1s267ms 1s267ms 21 1 1s801ms 1s801ms 22 3 3s840ms 1s280ms Apr 08 06 1 1s799ms 1s799ms 07 48 1m25s 1s780ms 09 2 3s51ms 1s525ms 12 1 1s805ms 1s805ms 13 8 14s911ms 1s863ms 16 1 1s250ms 1s250ms 17 175 10m5s 3s458ms Apr 09 05 1 1s257ms 1s257ms 14 414 23m40s 3s431ms 15 71 2m28s 2s94ms 16 446 29m40s 3s992ms 19 100 3m27s 2s73ms 20 1,056 1h10m37s 4s13ms Apr 10 00 1 1s252ms 1s252ms 01 3 5s869ms 1s956ms 02 1 1s282ms 1s282ms 03 2 3s796ms 1s898ms 04 5 16s89ms 3s217ms 05 1 1s888ms 1s888ms 08 2 3s12ms 1s506ms 09 1 1s817ms 1s817ms 10 10 18s35ms 1s803ms 12 2 3s687ms 1s843ms 14 3 5s435ms 1s811ms 15 3 5s653ms 1s884ms 16 1 2s628ms 2s628ms 18 2 3s562ms 1s781ms Apr 11 06 4 7s206ms 1s801ms 07 5 8s368ms 1s673ms 08 16 44s98ms 2s756ms 09 43 1m31s 2s134ms 10 5 7s424ms 1s484ms 11 7 11s732ms 1s676ms 12 14 31s142ms 2s224ms 13 3 4s350ms 1s450ms 15 2 2s578ms 1s289ms 17 1 1s231ms 1s231ms 19 1 1s232ms 1s232ms Apr 12 00 1 1s796ms 1s796ms 01 2 3s100ms 1s550ms 02 2 2s652ms 1s326ms 07 7 24s229ms 3s461ms 08 3 4s915ms 1s638ms 11 2 3s34ms 1s517ms 12 3 4s371ms 1s457ms 13 4 5s970ms 1s492ms 17 2 3s737ms 1s868ms 18 9 17s679ms 1s964ms 19 13 23s43ms 1s772ms 21 1 1s930ms 1s930ms 22 8 25s674ms 3s209ms 23 1 1s247ms 1s247ms Apr 13 00 7 13s273ms 1s896ms 01 3 7s848ms 2s616ms 02 3 3s913ms 1s304ms 03 1 1s795ms 1s795ms 05 1 1s794ms 1s794ms 06 1 1s806ms 1s806ms 09 13 33s224ms 2s555ms 10 1 2s83ms 2s83ms 11 3 9s893ms 3s297ms 12 4 5s943ms 1s485ms 13 12 27s744ms 2s312ms 14 21 40s195ms 1s914ms 16 21 51s371ms 2s446ms 17 7 12s421ms 1s774ms 20 1 1s813ms 1s813ms [ User: pubeu - Total duration: 26m20s - Times executed: 618 ]
-
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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-09 20:43:39 Duration: 14s570ms 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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-09 20:43:31 Duration: 14s224ms 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 = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-09 20:42:49 Duration: 14s186ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 46s940ms 41 1s4ms 1s367ms 1s144ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Apr 13 17 4 4s18ms 1s4ms Apr 13 20 4 4s474ms 1s118ms Apr 13 09 2 2s113ms 1s56ms 12 12 14s366ms 1s197ms Apr 13 07 3 3s191ms 1s63ms 19 3 3s542ms 1s180ms Apr 13 09 3 3s63ms 1s21ms 11 3 4s101ms 1s367ms 12 6 7s15ms 1s169ms Apr 13 00 1 1s52ms 1s52ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-04-13 11:26:11 Duration: 1s367ms Database: postgres parameters: $1 = '1419075'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-04-11 12:32:53 Duration: 1s306ms Database: postgres parameters: $1 = '1312443'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-04-11 12:30:40 Duration: 1s270ms Database: postgres parameters: $1 = '1419064', $2 = '1419064'
2 30s234ms 27 1s3ms 1s340ms 1s119ms SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 14 4 4s258ms 1s64ms 15 4 4s108ms 1s27ms 19 4 4s530ms 1s132ms 08 2 2s7ms 1s3ms 11 4 4s602ms 1s150ms 19 3 3s453ms 1s151ms 08 3 4s21ms 1s340ms 23 1 1s118ms 1s118ms 01 2 2s133ms 1s66ms -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2024-04-13 09:13:08 Duration: 1s340ms Database: postgres parameters: $1 = '1419075', $2 = '1419075', $3 = 'chem%'
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2024-04-09 20:24:55 Duration: 1s195ms Database: postgres parameters: $1 = '1250540'
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2024-04-11 12:13:52 Duration: 1s194ms Database: postgres parameters: $1 = '1420575', $2 = '1420575', $3 = 'chem%'
3 11s676ms 6 1s630ms 2s121ms 1s946ms SELECT /* GoGenesDAO */ sq.*;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 16 6 11s676ms 1s946ms -
SELECT /* GoGenesDAO */ sq.*;
Date: 2024-04-08 17:51:57 Duration: 2s121ms Database: postgres parameters: $1 = '1206426'
-
SELECT /* GoGenesDAO */ sq.*;
Date: 2024-04-08 17:51:38 Duration: 2s86ms Database: postgres parameters: $1 = '1206426'
-
SELECT /* GoGenesDAO */ sq.*;
Date: 2024-04-08 17:47:26 Duration: 1s630ms Database: postgres parameters: $1 = '1206427'
4 2s131ms 2 1s65ms 1s65ms 1s65ms SELECT /* ReferenceCitedGenesDAO */ ;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 16 2 2s131ms 1s65ms -
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2024-04-08 17:46:21 Duration: 1s65ms Database: postgres parameters: $1 = '2015714', $2 = '2015714'
5 2s8ms 2 1s4ms 1s4ms 1s4ms select distinct ;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 03 2 2s8ms 1s4ms -
select distinct ;
Date: 2024-04-07 04:27:04 Duration: 1s4ms Database: postgres
6 0ms 400 0ms 0ms 0ms ;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration Apr 07 12 2 0ms 0ms 13 4 0ms 0ms Apr 08 07 8 0ms 0ms 11 2 0ms 0ms 14 4 0ms 0ms 15 4 0ms 0ms 17 22 0ms 0ms Apr 09 14 62 0ms 0ms 15 2 0ms 0ms 16 44 0ms 0ms 20 154 0ms 0ms Apr 10 06 4 0ms 0ms Apr 11 18 6 0ms 0ms Apr 12 07 3 0ms 0ms 11 3 0ms 0ms 12 6 0ms 0ms 13 6 0ms 0ms 14 6 0ms 0ms 15 3 0ms 0ms Apr 13 11 6 0ms 0ms 12 18 0ms 0ms 16 3 0ms 0ms Apr 14 02 28 0ms 0ms [ User: pubeu - Total duration: 3m6s - Times executed: 47 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '2057805'
-
Events
Log levels
Key values
- 513,723 Log entries
Events distribution
Key values
- 0 PANIC entries
- 92 FATAL entries
- 112 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 65 Max number of times the same event was reported
- 204 Total events found
Rank Times reported Error 1 65 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 08 17 6 18 8 Apr 09 16 4 19 4 20 13 Apr 10 04 2 12 2 Apr 11 08 3 09 5 12 2 20 2 Apr 12 22 3 Apr 13 01 2 03 2 10 2 12 2 13 3 2 65 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #2
Day Hour Count Apr 08 17 6 18 8 Apr 09 16 3 19 4 20 13 Apr 10 04 2 12 2 Apr 11 08 3 09 5 12 3 20 2 Apr 12 22 3 Apr 13 01 2 03 2 10 2 12 2 13 3 3 40 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 08 17 2 Apr 09 16 4 19 4 20 9 Apr 10 04 2 Apr 11 08 3 09 4 12 2 Apr 12 22 2 Apr 13 01 2 10 2 12 1 13 3 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT row_to_json(T) FROM ( SELECT archived_count, failed_count FROM pg_stat_archiver ) T;
Date: 2024-04-08 17:53:32 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT count(*) FROM pg_catalog.pg_stat_all_tables WHERE (n_dead_tup/(n_live_tup+n_dead_tup)::float8) > 0.2
Date: 2024-04-09 16:28:31
Statement: SELECT count(*) FROM pg_catalog.pg_stat_all_tables WHERE (n_dead_tup/(n_live_tup+n_dead_tup)::float8) > 0.2 AND (n_live_tup+n_dead_tup) > 50;
Date: 2024-04-09 16:28:31
4 24 FATAL: remaining connection slots are reserved for non-replication superuser connections
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 09 20 24 5 3 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #5
Day Hour Count Apr 09 09 1 Apr 10 18 2 6 3 ERROR: remaining connection slots are reserved for non-replication superuser connections
Times Reported Most Frequent Error / Event #6
Day Hour Count Apr 09 20 3 - ERROR: remaining connection slots are reserved for non-replication superuser connections
- ERROR: remaining connection slots are reserved for non-replication superuser connections
Context: parallel worker
Statement: SELECT /* ChemGenesDAO */ g.nm geneSymbol ,g.id geneId ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,COUNT(gcr.ixn_id) ixnCount ,COUNT(DISTINCT gcr.taxon_id) taxonCount ,COUNT(*) OVER() fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN(SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) GROUP BY g.nm ,g.id ,g.acc_txt ,g.acc_db_cd ,g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC ,g.nm_sort LIMIT 50Date: 2024-04-09 20:46:26
Context: parallel worker
Statement: SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref ,( SELECT STRING_AGG( DISTINCT expStudyFactor.study_factor_nm,' | ' ) ) as studyFactorNms ,( SELECT STRING_AGG( DISTINCT eventProject.project_nm ,' | ' ) ) as associatedStudyTitles ,( SELECT STRING_AGG( distinct stressorTerm.nm || '^' || (select cd from object_type where id = stressorTerm.object_type_id ) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd ,'|' ) ) as stressorAgents ,( SELECT STRING_AGG( distinct COALESCE(receptorTerm.nm, '' ) || '^' || COALESCE( (select cd from object_type where id = receptorTerm.object_type_id ), '' ) || '^' || COALESCE( receptorTerm.nm_html, '' ) || '^' || COALESCE( receptorTerm.acc_txt, '' ) || '^' || COALESCE( receptorTerm.acc_db_cd, '' ) || '^' || receptor.description ,'|' ) ) as receptors ,( SELECT STRING_AGG( distinct country.nm,' | ' ) ) as studyCountries ,( SELECT STRING_AGG( distinct location.locality_txt,' | ' ) ) as localities ,( SELECT STRING_AGG( distinct event.medium_nm || '^' || COALESCE( event.medium_term_acc_txt, '' ),' | ' ) ) as assayMediums ,( SELECT STRING_AGG( distinct exposureMarkerTerm.nm || '^' || (select cd from object_type where id = exposureMarkerTerm.object_type_id ) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd ,'|' ) ) as assayedMarkers ,( SELECT STRING_AGG( distinct diseaseTerm.nm || '^' || (select cd from object_type where id = diseaseTerm.object_type_id ) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd ,'|' ) ) as diseases ,( SELECT STRING_AGG( distinct phenotypeTerm.nm || '^' || (select cd from object_type where id = phenotypeTerm.object_type_id ) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd ,'|' ) ) as phenotypes ,( SELECT STRING_AGG( distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|' ) ) as anatomyTerms ,re.author_summary summary ,COUNT(*) OVER() fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY ( ARRAY ( select reference_id from exposure e1 ,term chem ,exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1 ) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1 ,term t ,exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2 ) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3 ) and event1.id = e1.exp_event_id ) ) group by e.reference_acc_txt ,r.abbr_authors_txt ,pub_start_yr ,re.author_summary order by stressorAgents LIMIT 50Date: 2024-04-09 20:46:26
7 2 ERROR: could not map dynamic shared memory segment
Times Reported Most Frequent Error / Event #7
Day Hour Count Apr 09 20 2 8 1 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #8
Day Hour Count Apr 09 06 1 - ERROR: syntax error in ts"P47<PHOX>"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-04-09 06:52:24 Database: ctdprd51 Application: User: pubeu Remote:
9 1 ERROR: , maxwritten_clean , buffers_backend , buffers_backend_fsync , buffers_alloc FROM pg_catalog.pg_stat_bgwriter ) T
Times Reported Most Frequent Error / Event #9
Day Hour Count Apr 11 12 1