-
Global information
- Generated on Sun Jun 9 04:15:15 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240608
- Parsed 247,397 log entries in 14s
- Log start from 2024-06-02 00:00:01 to 2024-06-08 23:59:23
-
Overview
Global Stats
- 366 Number of unique normalized queries
- 10,869 Number of queries
- 1d23h16m22s Total query duration
- 2024-06-02 00:00:09 First query
- 2024-06-08 23:56:58 Last query
- 4 queries/s at 2024-06-04 04:04:50 Query peak
- 1d23h16m22s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1d23h16m22s Execute total duration
- 89 Number of events
- 11 Number of unique normalized events
- 55 Max number of times the same event was reported
- 0 Number of cancellation
- 78 Total number of automatic vacuums
- 263 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 18,580 Total number of sessions
- 63 sessions at 2024-06-07 21:53:21 Session peak
- 289d11h39m41s Total duration of sessions
- 22m26s Average duration of sessions
- 0 Average queries per session
- 9s159ms Average queries duration per session
- 22m16s Average idle time per session
- 18,580 Total number of connections
- 12 connections/s at 2024-06-04 10:10:10 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 4 queries/s Query Peak
- 2024-06-04 04:04:50 Date
SELECT Traffic
Key values
- 4 queries/s Query Peak
- 2024-06-04 04:04:50 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-06-08 19:55:23 Date
Queries duration
Key values
- 1d23h16m22s 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) Jun 02 00 36 0ms 16m8s 28s791ms 4s217ms 5s975ms 16m14s 01 50 0ms 5s414ms 1s712ms 3s793ms 5s995ms 7s789ms 02 72 0ms 1m13s 2s724ms 4s989ms 6s655ms 1m14s 03 41 0ms 7s834ms 1s838ms 4s678ms 6s464ms 7s834ms 04 58 0ms 11s441ms 2s454ms 10s3ms 11s441ms 18s300ms 05 86 0ms 17s93ms 2s163ms 8s775ms 18s365ms 24s696ms 06 67 0ms 32s801ms 2s809ms 6s193ms 9s410ms 53s313ms 07 47 0ms 3m36s 6s649ms 6s374ms 8s172ms 3m39s 08 57 0ms 30s902ms 2s876ms 5s327ms 15s488ms 30s902ms 09 83 0ms 10m6s 15s1ms 33s357ms 1m15s 10m6s 10 57 0ms 32s658ms 4s425ms 9s904ms 39s571ms 54s848ms 11 48 0ms 5s426ms 1s574ms 4s588ms 6s12ms 6s628ms 12 32 0ms 6s368ms 1s686ms 3s598ms 5s907ms 7s560ms 13 29 0ms 5s116ms 1s611ms 2s424ms 3s995ms 5s116ms 14 38 0ms 32s612ms 4s300ms 5s253ms 18s778ms 49s294ms 15 53 0ms 5s301ms 1s585ms 3s968ms 5s977ms 7s70ms 16 46 0ms 5s960ms 1s656ms 4s371ms 5s208ms 5s960ms 17 49 0ms 6s275ms 1s574ms 4s825ms 6s275ms 7s746ms 18 67 0ms 2m4s 4s694ms 7s472ms 41s226ms 2m7s 19 47 0ms 5s212ms 1s506ms 3s601ms 4s913ms 6s342ms 20 48 0ms 10s453ms 1s937ms 4s934ms 6s910ms 10s453ms 21 56 0ms 14s595ms 1s946ms 5s86ms 8s176ms 14s595ms 22 47 0ms 2m43s 7s272ms 5s293ms 13s651ms 2m44s 23 54 0ms 8s189ms 1s582ms 4s244ms 5s318ms 9s370ms Jun 03 00 69 0ms 16m11s 16s844ms 9s649ms 14s790ms 16m16s 01 70 0ms 7s766ms 2s77ms 10s50ms 11s844ms 13s912ms 02 49 0ms 8s96ms 2s513ms 7s356ms 8s96ms 13s602ms 03 52 0ms 4s7ms 1s436ms 2s650ms 3s919ms 5s233ms 04 60 0ms 16s379ms 2s748ms 8s606ms 12s848ms 17s541ms 05 86 0ms 6s249ms 1s874ms 6s911ms 16s84ms 27s994ms 06 68 0ms 32s722ms 3s234ms 9s536ms 25s564ms 54s571ms 07 47 0ms 3m7s 6s435ms 10s52ms 11s119ms 3m7s 08 53 0ms 9m25s 12s810ms 9s653ms 10s634ms 9m26s 09 58 0ms 6s550ms 2s202ms 6s188ms 8s233ms 11s64ms 10 47 0ms 32s760ms 3s981ms 6s909ms 9s755ms 53s398ms 11 34 0ms 4s599ms 1s835ms 3s662ms 3s969ms 8s408ms 12 56 0ms 31s695ms 2s427ms 3s963ms 5s391ms 33s971ms 13 44 0ms 14s675ms 2s251ms 5s136ms 8s618ms 21s238ms 14 79 0ms 32s648ms 4s840ms 9s903ms 42s369ms 1m43s 15 46 0ms 14s161ms 2s501ms 6s404ms 7s172ms 27s25ms 16 61 0ms 14s460ms 1s906ms 5s264ms 7s993ms 24s10ms 17 41 0ms 6s718ms 2s233ms 5s268ms 6s718ms 10s635ms 18 67 0ms 1m4s 4s574ms 8s36ms 44s491ms 1m4s 19 34 0ms 5s931ms 1s669ms 3s511ms 4s614ms 6s289ms 20 46 0ms 5s869ms 1s919ms 5s403ms 6s998ms 12s182ms 21 58 0ms 11s7ms 2s68ms 6s353ms 14s683ms 18s895ms 22 47 0ms 1m22s 3s591ms 6s43ms 6s747ms 1m22s 23 51 0ms 7s67ms 2s149ms 6s404ms 9s992ms 13s571ms Jun 04 00 32 0ms 16m11s 32s481ms 5s943ms 8s443ms 16m16s 01 41 0ms 4s669ms 1s552ms 3s901ms 4s406ms 5s366ms 02 34 0ms 13s86ms 2s234ms 4s57ms 6s199ms 13s86ms 03 41 0ms 40s497ms 2s668ms 4s964ms 5s440ms 40s497ms 04 82 0ms 1m19s 19s299ms 7s425ms 30s244ms 23m7s 05 102 0ms 8s153ms 2s213ms 15s50ms 17s360ms 25s976ms 06 61 0ms 32s631ms 3s139ms 5s615ms 12s295ms 53s487ms 07 55 0ms 3s976ms 1s514ms 3s737ms 6s164ms 7s590ms 08 107 0ms 13s432ms 3s119ms 15s406ms 22s832ms 28s561ms 09 83 0ms 35s62ms 3s226ms 9s610ms 17s751ms 42s960ms 10 72 0ms 32s913ms 2s864ms 6s263ms 10s512ms 55s41ms 11 49 0ms 6s374ms 2s152ms 5s732ms 7s521ms 12s597ms 12 41 0ms 17s150ms 2s945ms 5s158ms 5s575ms 50s998ms 13 31 0ms 5s346ms 1s487ms 2s562ms 3s884ms 6s636ms 14 57 0ms 32s692ms 4s181ms 25s380ms 30s683ms 53s250ms 15 58 0ms 49s477ms 3s435ms 9s137ms 23s40ms 50s672ms 16 36 0ms 6s149ms 2s966ms 7s231ms 8s908ms 19s705ms 17 31 0ms 3s971ms 1s470ms 2s880ms 3s569ms 3s971ms 18 39 0ms 32s766ms 3s709ms 5s127ms 9s463ms 55s635ms 19 105 0ms 37s313ms 25s236ms 1m13s 1m15s 1m17s 20 113 1s98ms 37s278ms 30s395ms 1m13s 1m14s 1m18s 21 117 1s91ms 37s885ms 29s573ms 1m13s 1m15s 1m16s 22 122 1s38ms 3m43s 31s870ms 1m16s 2m33s 4m57s 23 125 1s123ms 38s607ms 27s485ms 1m16s 1m21s 1m23s Jun 05 00 129 1s116ms 16m9s 34s676ms 1m15s 1m20s 17m28s 01 131 1s117ms 39s37ms 26s363ms 1m17s 1m19s 1m22s 02 125 1s118ms 38s846ms 27s803ms 1m15s 1m17s 1m22s 03 134 1s69ms 38s742ms 26s65ms 1m19s 1m20s 1m22s 04 130 1s144ms 38s167ms 26s661ms 1m16s 1m17s 1m23s 05 137 0ms 37s923ms 15s977ms 1m15s 1m17s 1m17s 06 31 0ms 32s730ms 4s303ms 4s439ms 8s349ms 53s87ms 07 35 0ms 5s18ms 1s726ms 3s705ms 4s922ms 10s747ms 08 28 0ms 6s64ms 1s947ms 3s970ms 5s256ms 6s683ms 09 49 0ms 3m39s 6s41ms 4s849ms 8s866ms 3m39s 10 46 0ms 32s766ms 3s573ms 5s127ms 9s433ms 54s532ms 11 36 0ms 7s428ms 2s527ms 4s930ms 7s428ms 12s300ms 12 113 0ms 23s651ms 3s994ms 8s346ms 29s579ms 2m55s 13 46 0ms 4s707ms 1s498ms 3s716ms 5s784ms 6s387ms 14 46 0ms 36s974ms 4s429ms 9s833ms 38s152ms 55s683ms 15 29 0ms 14s725ms 2s525ms 2s334ms 3s698ms 40s438ms 16 47 0ms 18s434ms 1s736ms 3s303ms 3s731ms 20s873ms 17 43 0ms 5s513ms 1s370ms 3s854ms 4s699ms 6s656ms 18 58 0ms 1m3s 4s245ms 10s551ms 41s65ms 1m4s 19 15 0ms 1s389ms 1s203ms 1s251ms 1s389ms 2s405ms 20 33 0ms 4s944ms 1s454ms 3s85ms 3s756ms 9s859ms 21 24 0ms 18s158ms 3s907ms 4s338ms 11s146ms 30s694ms 22 41 0ms 5s723ms 1s445ms 2s524ms 3s751ms 5s723ms 23 4 0ms 3s955ms 1s868ms 0ms 1s215ms 3s955ms Jun 06 00 23 0ms 16m7s 44s139ms 3s831ms 5s301ms 16m12s 01 39 0ms 4s16ms 1s417ms 3s581ms 5s13ms 7s305ms 02 13 0ms 3s819ms 1s757ms 1s315ms 2s595ms 4s947ms 03 28 0ms 8s702ms 1s925ms 4s120ms 5s298ms 12s690ms 04 37 0ms 5s333ms 1s676ms 4s230ms 4s905ms 5s333ms 05 61 0ms 4s140ms 2s57ms 8s311ms 19s197ms 24s496ms 06 30 0ms 32s822ms 4s708ms 6s76ms 9s593ms 53s461ms 07 15 0ms 3m40s 30s788ms 1s225ms 9s513ms 3m40s 08 39 0ms 5s33ms 1s538ms 2s789ms 4s616ms 7s433ms 09 34 0ms 5s156ms 1s493ms 2s481ms 3s663ms 8s299ms 10 53 0ms 32s758ms 3s318ms 4s818ms 11s346ms 57s616ms 11 20 0ms 3s914ms 1s456ms 2s296ms 2s343ms 5s30ms 12 44 0ms 10s298ms 2s111ms 4s751ms 5s912ms 11s819ms 13 65 0ms 20s458ms 2s549ms 7s982ms 10s610ms 20s458ms 14 64 0ms 32s890ms 3s129ms 9s388ms 11s642ms 54s756ms 15 25 0ms 10s215ms 2s421ms 2s371ms 6s679ms 11s510ms 16 25 0ms 5s803ms 2s117ms 3s880ms 5s803ms 8s439ms 17 35 0ms 5s678ms 1s568ms 2s929ms 4s115ms 5s678ms 18 44 0ms 37s967ms 13s155ms 53s443ms 1m13s 1m15s 19 116 1s94ms 48s207ms 30s156ms 1m14s 1m19s 1m25s 20 127 1s65ms 38s64ms 27s266ms 1m15s 1m16s 1m22s 21 121 1s100ms 38s470ms 28s478ms 1m16s 1m19s 1m20s 22 106 1s132ms 1m18s 33s23ms 1m14s 1m15s 2m33s 23 116 1s126ms 38s357ms 29s631ms 1m15s 1m16s 1m16s Jun 07 00 139 1s119ms 16m7s 31s972ms 1m16s 1m17s 16m53s 01 138 1s124ms 38s515ms 25s497ms 1m18s 1m20s 1m52s 02 117 1s42ms 38s257ms 29s582ms 1m16s 1m17s 1m21s 03 125 1s119ms 40s154ms 27s928ms 1m17s 1m18s 1m20s 04 115 1s28ms 38s708ms 30s168ms 1m16s 1m21s 1m26s 05 114 0ms 39s165ms 18s959ms 1m15s 1m17s 1m28s 06 32 0ms 41s813ms 5s249ms 2s393ms 39s908ms 53s400ms 07 24 0ms 3m37s 18s825ms 5s106ms 9s840ms 3m38s 08 31 0ms 7s100ms 1s714ms 3s857ms 5s223ms 7s393ms 09 32 0ms 10s453ms 2s175ms 2s866ms 6s292ms 11s633ms 10 44 0ms 32s808ms 3s649ms 7s657ms 13s284ms 54s756ms 11 97 0ms 38s399ms 29s615ms 1m15s 1m16s 1m28s 12 124 0ms 3m47s 34s384ms 2m24s 4m15s 4m26s 13 115 0ms 39s78ms 27s104ms 1m17s 1m18s 1m21s 14 136 1s25ms 38s895ms 26s137ms 1m17s 1m25s 1m59s 15 126 1s109ms 39s689ms 27s487ms 1m18s 1m18s 1m20s 16 125 1s2ms 39s503ms 27s558ms 1m17s 1m18s 1m20s 17 120 1s118ms 39s174ms 28s959ms 1m17s 1m18s 1m28s 18 135 1s25ms 1m4s 26s666ms 1m19s 1m31s 2m21s 19 112 1s68ms 38s926ms 30s915ms 1m17s 1m18s 1m19s 20 111 1s94ms 39s166ms 30s944ms 1m17s 1m18s 1m21s 21 111 1s99ms 39s66ms 30s912ms 1m17s 1m18s 1m19s 22 107 1s119ms 39s48ms 32s43ms 1m17s 1m18s 1m18s 23 112 1s118ms 39s608ms 31s49ms 1m18s 1m20s 1m23s Jun 08 00 126 1s119ms 16m9s 35s268ms 1m21s 1m27s 17m33s 01 121 1s123ms 39s907ms 28s818ms 1m19s 1m21s 1m25s 02 123 1s72ms 39s464ms 27s931ms 1m18s 1m19s 1m20s 03 110 1s112ms 39s739ms 31s679ms 1m18s 1m20s 1m27s 04 109 1s116ms 39s789ms 31s573ms 1m18s 1m19s 1m19s 05 128 0ms 39s916ms 17s263ms 1m19s 1m24s 1m27s 06 36 0ms 43s361ms 3s8ms 5s125ms 6s182ms 44s621ms 07 28 0ms 3m37s 18s758ms 11s113ms 14s600ms 3m37s 08 26 0ms 5s815ms 1s747ms 3s952ms 4s877ms 5s815ms 09 80 0ms 23s180ms 3s308ms 14s979ms 22s623ms 1m51s 10 22 0ms 6s322ms 1s780ms 2s745ms 6s322ms 6s491ms 11 21 0ms 5s855ms 1s661ms 2s398ms 2s474ms 5s855ms 12 43 0ms 10s962ms 2s131ms 4s380ms 10s349ms 15s144ms 13 23 0ms 6s678ms 2s211ms 5s108ms 5s279ms 9s193ms 14 27 0ms 14s667ms 2s662ms 5s688ms 7s135ms 15s920ms 15 42 0ms 4s922ms 1s580ms 2s677ms 9s836ms 10s386ms 16 35 0ms 5s447ms 1s616ms 3s681ms 4s680ms 5s824ms 17 43 0ms 5s654ms 1s420ms 3s498ms 3s621ms 6s839ms 18 62 0ms 1m11s 7s89ms 49s780ms 1m3s 1m18s 19 91 0ms 23m17s 52s211ms 1m56s 6m58s 24m5s 20 22 0ms 36s553ms 3s373ms 3s375ms 5s154ms 36s553ms 21 41 0ms 1m18s 3s437ms 3s939ms 4s809ms 1m23s 22 23 0ms 5s157ms 1s661ms 2s396ms 3s724ms 9s963ms 23 30 0ms 5s345ms 1s601ms 2s633ms 3s886ms 6s396ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 02 00 35 0 29s477ms 2s767ms 4s217ms 16m9s 01 50 0 1s712ms 2s872ms 3s793ms 7s8ms 02 72 0 2s724ms 3s783ms 4s989ms 23s179ms 03 41 0 1s838ms 2s381ms 4s678ms 7s186ms 04 58 0 2s454ms 3s939ms 10s3ms 14s73ms 05 82 0 2s161ms 4s623ms 8s775ms 24s352ms 06 57 10 2s809ms 2s495ms 6s193ms 39s795ms 07 47 0 6s649ms 3s840ms 6s374ms 9s174ms 08 57 0 2s876ms 3s426ms 5s327ms 29s468ms 09 83 0 15s1ms 29s68ms 33s357ms 2m13s 10 47 10 4s425ms 5s97ms 9s904ms 53s262ms 11 48 0 1s574ms 2s464ms 4s588ms 6s628ms 12 32 0 1s686ms 2s326ms 3s598ms 7s560ms 13 29 0 1s611ms 1s208ms 2s424ms 5s55ms 14 29 9 4s300ms 2s455ms 5s531ms 39s563ms 15 53 0 1s585ms 2s388ms 3s968ms 6s531ms 16 46 0 1s656ms 2s804ms 4s371ms 5s960ms 17 49 0 1s574ms 2s691ms 4s825ms 7s746ms 18 57 10 4s694ms 3s813ms 7s472ms 53s372ms 19 47 0 1s506ms 2s460ms 3s601ms 6s260ms 20 48 0 1s937ms 2s435ms 4s934ms 9s534ms 21 56 0 1s946ms 3s774ms 5s86ms 14s595ms 22 47 0 7s272ms 3s887ms 5s293ms 1m22s 23 54 0 1s582ms 2s499ms 4s244ms 5s684ms Jun 03 00 68 0 17s19ms 5s166ms 9s649ms 44s730ms 01 70 0 2s77ms 4s784ms 10s50ms 13s912ms 02 49 0 2s513ms 5s231ms 7s356ms 13s602ms 03 52 0 1s436ms 2s447ms 2s650ms 4s7ms 04 60 0 2s748ms 4s995ms 8s606ms 13s86ms 05 82 0 1s858ms 3s741ms 5s948ms 24s697ms 06 58 10 3s234ms 4s959ms 9s402ms 53s446ms 07 47 0 6s435ms 4s362ms 10s52ms 3m7s 08 53 0 12s810ms 2s946ms 9s653ms 9m26s 09 58 0 2s202ms 4s1ms 6s188ms 10s116ms 10 37 10 3s981ms 5s203ms 6s909ms 39s757ms 11 34 0 1s835ms 2s518ms 3s662ms 8s408ms 12 56 0 2s427ms 2s889ms 3s963ms 29s106ms 13 44 0 2s251ms 2s452ms 5s136ms 9s664ms 14 67 10 4s910ms 6s419ms 9s903ms 53s367ms 15 46 0 2s501ms 3s928ms 6s404ms 27s25ms 16 61 0 1s906ms 2s714ms 5s264ms 9s937ms 17 41 0 2s233ms 3s219ms 5s268ms 7s703ms 18 56 10 4s615ms 5s660ms 8s36ms 53s248ms 19 34 0 1s669ms 2s269ms 3s511ms 6s289ms 20 46 0 1s919ms 2s519ms 5s403ms 12s182ms 21 58 0 2s68ms 2s478ms 6s353ms 15s491ms 22 46 0 3s620ms 2s943ms 6s43ms 9s674ms 23 51 0 2s149ms 3s546ms 6s404ms 13s571ms Jun 04 00 31 0 33s368ms 2s361ms 5s943ms 16m11s 01 41 0 1s552ms 2s398ms 3s901ms 5s366ms 02 34 0 2s234ms 2s455ms 4s57ms 13s86ms 03 41 0 2s668ms 2s377ms 4s964ms 40s497ms 04 82 0 19s299ms 5s900ms 7s425ms 23m7s 05 97 0 2s203ms 7s519ms 15s50ms 25s976ms 06 51 10 3s139ms 3s581ms 5s615ms 39s627ms 07 55 0 1s514ms 2s466ms 3s737ms 6s558ms 08 107 0 3s119ms 10s157ms 15s406ms 24s993ms 09 83 0 3s226ms 7s953ms 9s610ms 20s438ms 10 62 10 2s864ms 3s993ms 6s263ms 39s965ms 11 49 0 2s152ms 3s858ms 5s732ms 8s534ms 12 41 0 2s945ms 3s773ms 5s158ms 50s998ms 13 31 0 1s487ms 2s3ms 2s562ms 3s982ms 14 46 10 4s222ms 5s249ms 25s380ms 53s250ms 15 58 0 3s435ms 3s795ms 9s137ms 23s109ms 16 36 0 2s966ms 4s29ms 7s231ms 19s705ms 17 31 0 1s470ms 2s416ms 2s880ms 3s971ms 18 29 10 3s709ms 2s209ms 5s127ms 53s245ms 19 105 0 25s236ms 1m12s 1m13s 1m16s 20 113 0 30s395ms 1m13s 1m13s 1m15s 21 117 0 29s573ms 1m12s 1m13s 1m16s 22 122 0 31s870ms 1m13s 1m16s 3m1s 23 125 0 27s485ms 1m13s 1m16s 1m21s Jun 05 00 128 0 34s906ms 1m14s 1m15s 1m34s 01 131 0 26s363ms 1m14s 1m17s 1m20s 02 125 0 27s803ms 1m14s 1m15s 1m18s 03 134 0 26s65ms 1m15s 1m19s 1m22s 04 130 0 26s661ms 1m15s 1m16s 1m19s 05 133 0 16s392ms 1m14s 1m15s 1m17s 06 22 9 4s303ms 1s288ms 4s439ms 39s748ms 07 35 0 1s726ms 1s368ms 3s705ms 10s747ms 08 28 0 1s947ms 2s260ms 3s970ms 6s683ms 09 49 0 6s41ms 2s581ms 4s849ms 3m39s 10 36 10 3s573ms 2s390ms 5s127ms 39s767ms 11 36 0 2s527ms 4s52ms 4s930ms 8s133ms 12 112 0 4s13ms 5s634ms 8s346ms 1m41s 13 46 0 1s498ms 1s336ms 3s716ms 6s202ms 14 36 10 4s429ms 2s250ms 9s455ms 39s895ms 15 29 0 2s525ms 1s260ms 2s334ms 40s438ms 16 47 0 1s736ms 2s391ms 3s303ms 7s26ms 17 43 0 1s370ms 2s417ms 3s854ms 6s656ms 18 48 10 4s245ms 3s961ms 9s418ms 1m4s 19 15 0 1s203ms 1s173ms 1s251ms 2s405ms 20 33 0 1s454ms 2s336ms 3s85ms 9s859ms 21 24 0 3s907ms 1s335ms 4s338ms 30s694ms 22 41 0 1s445ms 2s357ms 2s524ms 3s994ms 23 4 0 1s868ms 0ms 0ms 3s955ms Jun 06 00 22 0 45s918ms 1s958ms 3s831ms 16m7s 01 39 0 1s417ms 2s474ms 3s581ms 7s305ms 02 13 0 1s757ms 1s206ms 1s315ms 4s947ms 03 28 0 1s925ms 1s320ms 4s120ms 12s690ms 04 37 0 1s676ms 2s518ms 4s230ms 5s333ms 05 57 0 2s51ms 2s186ms 5s16ms 24s496ms 06 20 10 4s708ms 1s301ms 6s76ms 53s461ms 07 15 0 30s788ms 1s129ms 1s225ms 3m37s 08 39 0 1s538ms 2s390ms 2s789ms 6s155ms 09 34 0 1s493ms 2s317ms 2s481ms 8s299ms 10 43 10 3s318ms 3s784ms 4s818ms 39s807ms 11 20 0 1s456ms 1s187ms 2s296ms 5s30ms 12 44 0 2s111ms 2s365ms 4s751ms 10s320ms 13 65 0 2s549ms 5s45ms 7s982ms 12s260ms 14 54 10 3s129ms 2s505ms 9s388ms 39s984ms 15 25 0 2s421ms 1s207ms 2s371ms 11s307ms 16 25 0 2s117ms 1s472ms 3s880ms 8s439ms 17 35 0 1s568ms 2s346ms 2s929ms 5s678ms 18 33 10 13s417ms 37s155ms 53s443ms 1m15s 19 116 0 30s156ms 1m14s 1m14s 1m19s 20 127 0 27s266ms 1m14s 1m15s 1m20s 21 120 0 28s695ms 1m14s 1m16s 1m19s 22 106 0 33s23ms 1m14s 1m14s 1m16s 23 116 0 29s631ms 1m14s 1m15s 1m16s Jun 07 00 138 0 32s170ms 1m15s 1m16s 1m18s 01 138 0 25s497ms 1m15s 1m18s 1m26s 02 117 0 29s582ms 1m15s 1m16s 1m18s 03 125 0 27s928ms 1m16s 1m17s 1m18s 04 115 0 30s168ms 1m15s 1m16s 1m23s 05 110 0 19s569ms 1m15s 1m15s 1m20s 06 23 9 5s249ms 1s265ms 2s393ms 41s813ms 07 24 0 18s825ms 1s200ms 5s106ms 3m38s 08 31 0 1s714ms 1s316ms 3s857ms 7s393ms 09 32 0 2s175ms 2s385ms 2s866ms 10s284ms 10 35 9 3s649ms 2s325ms 7s657ms 53s593ms 11 97 0 29s615ms 1m15s 1m15s 1m17s 12 124 0 34s384ms 1m17s 2m24s 4m21s 13 115 0 27s104ms 1m16s 1m17s 1m19s 14 126 10 26s137ms 1m16s 1m17s 1m20s 15 126 0 27s487ms 1m16s 1m18s 1m19s 16 125 0 27s558ms 1m16s 1m17s 1m19s 17 120 0 28s959ms 1m16s 1m17s 1m20s 18 125 10 26s666ms 1m17s 1m17s 1m20s 19 112 0 30s915ms 1m16s 1m17s 1m18s 20 111 0 30s944ms 1m16s 1m17s 1m18s 21 110 0 31s171ms 1m17s 1m17s 1m18s 22 107 0 32s43ms 1m16s 1m17s 1m18s 23 112 0 31s49ms 1m16s 1m18s 1m22s Jun 08 00 125 0 35s510ms 1m18s 1m21s 1m36s 01 121 0 28s818ms 1m17s 1m19s 1m22s 02 123 0 27s931ms 1m17s 1m18s 1m20s 03 110 0 31s679ms 1m17s 1m18s 1m21s 04 109 0 31s573ms 1m17s 1m18s 1m19s 05 124 0 17s750ms 1m17s 1m19s 1m26s 06 36 0 3s8ms 1s872ms 5s125ms 8s409ms 07 28 0 18s758ms 5s181ms 11s113ms 3m37s 08 26 0 1s747ms 2s317ms 3s952ms 5s815ms 09 80 0 3s308ms 3s559ms 14s979ms 1m51s 10 22 0 1s780ms 2s382ms 2s745ms 6s491ms 11 21 0 1s661ms 1s328ms 2s398ms 5s855ms 12 40 0 2s117ms 1s319ms 4s380ms 10s871ms 13 22 0 2s213ms 1s304ms 5s108ms 9s193ms 14 27 0 2s662ms 2s423ms 5s688ms 15s920ms 15 42 0 1s580ms 1s337ms 2s677ms 10s386ms 16 35 0 1s616ms 2s566ms 3s681ms 5s824ms 17 43 0 1s420ms 2s443ms 3s498ms 6s839ms 18 37 25 7s89ms 3s527ms 48s574ms 1m18s 19 45 46 52s211ms 58s623ms 1m56s 23m37s 20 22 0 3s373ms 1s218ms 3s375ms 36s553ms 21 41 0 3s437ms 2s302ms 3s939ms 1m23s 22 23 0 1s661ms 1s288ms 2s396ms 9s963ms 23 30 0 1s601ms 2s446ms 2s633ms 6s396ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 02 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 Jun 03 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 1 0 0 0 2s436ms 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 Jun 04 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jun 05 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jun 06 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jun 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 Jun 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 Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jun 02 00 0 34 34.00 0.00% 01 0 50 50.00 0.00% 02 0 72 72.00 0.00% 03 0 41 41.00 0.00% 04 0 58 58.00 0.00% 05 0 86 86.00 0.00% 06 0 64 64.00 0.00% 07 0 60 60.00 0.00% 08 0 68 68.00 0.00% 09 0 83 83.00 0.00% 10 0 47 47.00 0.00% 11 0 48 48.00 0.00% 12 0 32 32.00 0.00% 13 0 32 32.00 0.00% 14 0 36 36.00 0.00% 15 0 53 53.00 0.00% 16 0 46 46.00 0.00% 17 0 49 49.00 0.00% 18 0 57 57.00 0.00% 19 0 47 47.00 0.00% 20 0 48 48.00 0.00% 21 0 56 56.00 0.00% 22 0 47 47.00 0.00% 23 0 54 54.00 0.00% Jun 03 00 0 67 67.00 0.00% 01 0 70 70.00 0.00% 02 0 49 49.00 0.00% 03 0 52 52.00 0.00% 04 0 60 60.00 0.00% 05 0 86 86.00 0.00% 06 0 58 58.00 0.00% 07 0 47 47.00 0.00% 08 0 53 53.00 0.00% 09 0 63 63.00 0.00% 10 0 40 40.00 0.00% 11 0 42 42.00 0.00% 12 0 61 61.00 0.00% 13 0 44 44.00 0.00% 14 0 66 66.00 0.00% 15 0 51 51.00 0.00% 16 0 66 66.00 0.00% 17 0 41 41.00 0.00% 18 0 57 57.00 0.00% 19 0 34 34.00 0.00% 20 0 46 46.00 0.00% 21 0 58 58.00 0.00% 22 0 47 47.00 0.00% 23 0 51 51.00 0.00% Jun 04 00 0 30 30.00 0.00% 01 0 41 41.00 0.00% 02 0 34 34.00 0.00% 03 0 41 41.00 0.00% 04 0 82 82.00 0.00% 05 0 102 102.00 0.00% 06 0 53 53.00 0.00% 07 0 64 64.00 0.00% 08 0 107 107.00 0.00% 09 0 83 83.00 0.00% 10 0 62 62.00 0.00% 11 0 49 49.00 0.00% 12 0 48 48.00 0.00% 13 0 31 31.00 0.00% 14 0 47 47.00 0.00% 15 0 58 58.00 0.00% 16 0 36 36.00 0.00% 17 0 31 31.00 0.00% 18 0 29 29.00 0.00% 19 0 105 105.00 0.00% 20 0 113 113.00 0.00% 21 0 117 117.00 0.00% 22 0 122 122.00 0.00% 23 0 125 125.00 0.00% Jun 05 00 0 127 127.00 0.00% 01 0 131 131.00 0.00% 02 0 125 125.00 0.00% 03 0 134 134.00 0.00% 04 0 130 130.00 0.00% 05 0 137 137.00 0.00% 06 0 29 29.00 0.00% 07 0 39 39.00 0.00% 08 0 28 28.00 0.00% 09 0 51 51.00 0.00% 10 0 43 43.00 0.00% 11 0 42 42.00 0.00% 12 0 114 114.00 0.00% 13 0 52 52.00 0.00% 14 0 36 36.00 0.00% 15 0 33 33.00 0.00% 16 0 47 47.00 0.00% 17 0 43 43.00 0.00% 18 0 48 48.00 0.00% 19 0 15 15.00 0.00% 20 0 33 33.00 0.00% 21 0 24 24.00 0.00% 22 0 41 41.00 0.00% 23 0 4 4.00 0.00% Jun 06 00 0 21 21.00 0.00% 01 0 39 39.00 0.00% 02 0 13 13.00 0.00% 03 0 28 28.00 0.00% 04 0 37 37.00 0.00% 05 0 61 61.00 0.00% 06 0 20 20.00 0.00% 07 0 17 17.00 0.00% 08 0 44 44.00 0.00% 09 0 34 34.00 0.00% 10 0 47 47.00 0.00% 11 0 21 21.00 0.00% 12 0 45 45.00 0.00% 13 0 72 72.00 0.00% 14 0 60 60.00 0.00% 15 0 30 30.00 0.00% 16 0 26 26.00 0.00% 17 0 35 35.00 0.00% 18 0 36 36.00 0.00% 19 0 116 116.00 0.00% 20 0 127 127.00 0.00% 21 0 121 121.00 0.00% 22 0 106 106.00 0.00% 23 0 116 116.00 0.00% Jun 07 00 0 137 137.00 0.00% 01 0 138 138.00 0.00% 02 0 117 117.00 0.00% 03 0 125 125.00 0.00% 04 0 115 115.00 0.00% 05 0 126 126.00 0.00% 06 0 27 27.00 0.00% 07 0 24 24.00 0.00% 08 0 31 31.00 0.00% 09 0 35 35.00 0.00% 10 0 38 38.00 0.00% 11 0 97 97.00 0.00% 12 0 134 134.00 0.00% 13 0 129 129.00 0.00% 14 0 126 126.00 0.00% 15 0 126 126.00 0.00% 16 0 125 125.00 0.00% 17 0 120 120.00 0.00% 18 0 125 125.00 0.00% 19 0 112 112.00 0.00% 20 0 111 111.00 0.00% 21 0 111 111.00 0.00% 22 0 107 107.00 0.00% 23 0 112 112.00 0.00% Jun 08 00 0 124 124.00 0.00% 01 0 121 121.00 0.00% 02 0 123 123.00 0.00% 03 0 110 110.00 0.00% 04 0 109 109.00 0.00% 05 0 128 128.00 0.00% 06 0 36 36.00 0.00% 07 0 28 28.00 0.00% 08 0 26 26.00 0.00% 09 0 80 80.00 0.00% 10 0 22 22.00 0.00% 11 0 21 21.00 0.00% 12 0 43 43.00 0.00% 13 0 23 23.00 0.00% 14 0 27 27.00 0.00% 15 0 42 42.00 0.00% 16 0 35 35.00 0.00% 17 0 43 43.00 0.00% 18 0 37 37.00 0.00% 19 0 45 45.00 0.00% 20 0 22 22.00 0.00% 21 0 41 41.00 0.00% 22 0 23 23.00 0.00% 23 0 30 30.00 0.00% Day Hour Count Average / Second Jun 02 00 89 0.02/s 01 88 0.02/s 02 105 0.03/s 03 105 0.03/s 04 96 0.03/s 05 97 0.03/s 06 89 0.02/s 07 112 0.03/s 08 96 0.03/s 09 414 0.12/s 10 102 0.03/s 11 80 0.02/s 12 85 0.02/s 13 92 0.03/s 14 89 0.02/s 15 85 0.02/s 16 86 0.02/s 17 90 0.03/s 18 86 0.02/s 19 93 0.03/s 20 81 0.02/s 21 97 0.03/s 22 94 0.03/s 23 90 0.03/s Jun 03 00 87 0.02/s 01 87 0.02/s 02 86 0.02/s 03 94 0.03/s 04 112 0.03/s 05 102 0.03/s 06 99 0.03/s 07 97 0.03/s 08 87 0.02/s 09 93 0.03/s 10 91 0.03/s 11 83 0.02/s 12 87 0.02/s 13 86 0.02/s 14 110 0.03/s 15 89 0.02/s 16 87 0.02/s 17 82 0.02/s 18 91 0.03/s 19 79 0.02/s 20 83 0.02/s 21 124 0.03/s 22 89 0.02/s 23 95 0.03/s Jun 04 00 92 0.03/s 01 81 0.02/s 02 82 0.02/s 03 99 0.03/s 04 112 0.03/s 05 106 0.03/s 06 82 0.02/s 07 93 0.03/s 08 97 0.03/s 09 99 0.03/s 10 111 0.03/s 11 88 0.02/s 12 83 0.02/s 13 89 0.02/s 14 86 0.02/s 15 92 0.03/s 16 86 0.02/s 17 80 0.02/s 18 85 0.02/s 19 155 0.04/s 20 172 0.05/s 21 171 0.05/s 22 184 0.05/s 23 171 0.05/s Jun 05 00 167 0.05/s 01 176 0.05/s 02 188 0.05/s 03 178 0.05/s 04 183 0.05/s 05 151 0.04/s 06 87 0.02/s 07 82 0.02/s 08 79 0.02/s 09 89 0.02/s 10 90 0.03/s 11 78 0.02/s 12 95 0.03/s 13 80 0.02/s 14 102 0.03/s 15 85 0.02/s 16 93 0.03/s 17 79 0.02/s 18 89 0.02/s 19 77 0.02/s 20 80 0.02/s 21 77 0.02/s 22 83 0.02/s 23 74 0.02/s Jun 06 00 84 0.02/s 01 82 0.02/s 02 76 0.02/s 03 95 0.03/s 04 85 0.02/s 05 91 0.03/s 06 85 0.02/s 07 81 0.02/s 08 86 0.02/s 09 92 0.03/s 10 82 0.02/s 11 81 0.02/s 12 85 0.02/s 13 86 0.02/s 14 92 0.03/s 15 82 0.02/s 16 85 0.02/s 17 74 0.02/s 18 99 0.03/s 19 173 0.05/s 20 170 0.05/s 21 162 0.04/s 22 169 0.05/s 23 183 0.05/s Jun 07 00 182 0.05/s 01 173 0.05/s 02 172 0.05/s 03 190 0.05/s 04 171 0.05/s 05 148 0.04/s 06 79 0.02/s 07 82 0.02/s 08 81 0.02/s 09 86 0.02/s 10 95 0.03/s 11 154 0.04/s 12 170 0.05/s 13 179 0.05/s 14 177 0.05/s 15 174 0.05/s 16 175 0.05/s 17 176 0.05/s 18 172 0.05/s 19 167 0.05/s 20 165 0.05/s 21 159 0.04/s 22 166 0.05/s 23 168 0.05/s Jun 08 00 174 0.05/s 01 181 0.05/s 02 171 0.05/s 03 177 0.05/s 04 164 0.05/s 05 152 0.04/s 06 82 0.02/s 07 99 0.03/s 08 84 0.02/s 09 83 0.02/s 10 80 0.02/s 11 81 0.02/s 12 90 0.03/s 13 81 0.02/s 14 81 0.02/s 15 83 0.02/s 16 79 0.02/s 17 77 0.02/s 18 84 0.02/s 19 92 0.03/s 20 74 0.02/s 21 84 0.02/s 22 82 0.02/s 23 85 0.02/s Day Hour Count Average Duration Average idle time Jun 02 00 89 27m22s 27m10s 01 88 26m25s 26m24s 02 105 23m8s 23m6s 03 105 20m54s 20m54s 04 96 24m36s 24m35s 05 97 23m59s 23m57s 06 89 26m49s 26m47s 07 112 21m36s 21m33s 08 95 26m1s 26m 09 415 5m59s 5m56s 10 102 23m8s 23m5s 11 80 30m14s 30m13s 12 85 28m25s 28m24s 13 92 27m30s 27m30s 14 89 26m43s 26m41s 15 85 29m3s 29m2s 16 86 28m23s 28m22s 17 90 26m42s 26m42s 18 86 28m11s 28m7s 19 93 26m7s 26m6s 20 81 28m56s 28m55s 21 97 23m57s 23m56s 22 94 26m10s 26m6s 23 90 26m52s 26m51s Jun 03 00 87 27m50s 27m37s 01 87 26m9s 26m7s 02 86 26m25s 26m23s 03 94 25m31s 25m30s 04 112 21m15s 21m14s 05 102 23m20s 23m18s 06 99 24m13s 24m11s 07 97 24m57s 24m54s 08 87 27m48s 27m40s 09 93 26m33s 26m31s 10 91 26m15s 26m13s 11 83 28m40s 28m39s 12 87 28m14s 28m12s 13 86 27m39s 27m38s 14 107 22m59s 22m55s 15 89 27m18s 27m17s 16 87 27m44s 27m42s 17 82 29m33s 29m32s 18 91 27m 26m57s 19 79 30m8s 30m7s 20 83 28m48s 28m47s 21 126 23m42s 23m41s 22 90 32m5s 32m3s 23 95 25m45s 25m44s Jun 04 00 92 26m29s 26m18s 01 81 28m2s 28m1s 02 82 29m29s 29m28s 03 99 24m50s 24m49s 04 112 1h28m22s 1h28m8s 05 106 23m27s 23m25s 06 82 29m3s 29m1s 07 93 26m16s 26m15s 08 97 24m9s 24m6s 09 99 24m15s 24m13s 10 111 21m14s 21m13s 11 88 26m59s 26m58s 12 83 29m37s 29m36s 13 86 28m13s 28m13s 14 86 27m49s 27m46s 15 92 26m47s 26m45s 16 86 28m22s 28m21s 17 81 33m14s 33m13s 18 85 29m49s 29m47s 19 156 20m36s 20m19s 20 173 13m51s 13m31s 21 171 13m25s 13m5s 22 184 13m20s 12m59s 23 170 14m2s 13m42s Jun 05 00 168 13m52s 13m25s 01 175 13m57s 13m37s 02 188 13m21s 13m2s 03 178 13m52s 13m32s 04 183 13m28s 13m9s 05 152 15m24s 15m10s 06 87 27m17s 27m15s 07 82 28m35s 28m35s 08 79 30m37s 30m36s 09 89 28m4s 28m 10 90 26m28s 26m26s 11 78 30m35s 30m34s 12 95 26m6s 26m2s 13 80 29m58s 29m57s 14 102 23m58s 23m56s 15 85 28m59s 28m58s 16 93 26m7s 26m6s 17 79 29m25s 29m24s 18 89 27m6s 27m3s 19 77 31m13s 31m13s 20 80 30m5s 30m4s 21 77 28m55s 28m54s 22 83 28m56s 28m55s 23 74 30m31s 30m31s Jun 06 00 84 28m57s 28m45s 01 82 29m23s 29m22s 02 76 31m26s 31m26s 03 95 26m1s 26m 04 85 27m25s 27m25s 05 91 26m23s 26m22s 06 85 28m45s 28m43s 07 81 30m11s 30m5s 08 86 28m29s 28m29s 09 92 26m44s 26m44s 10 82 27m59s 27m57s 11 81 30m 30m 12 85 29m18s 29m17s 13 86 27m39s 27m38s 14 92 26m39s 26m36s 15 82 28m44s 28m43s 16 85 28m44s 28m43s 17 74 32m 31m59s 18 98 25m19s 25m13s 19 174 14m6s 13m46s 20 170 14m6s 13m46s 21 162 13m29s 13m8s 22 169 14m1s 13m40s 23 183 13m9s 12m51s Jun 07 00 181 13m54s 13m29s 01 173 14m7s 13m47s 02 172 14m44s 14m24s 03 191 13m7s 12m48s 04 170 13m59s 13m38s 05 149 16m14s 15m59s 06 79 29m46s 29m44s 07 82 30m35s 30m29s 08 81 29m18s 29m18s 09 86 27m50s 27m50s 10 92 26m18s 26m16s 11 153 16m 15m42s 12 170 14m31s 14m6s 13 180 14m22s 14m5s 14 176 14m18s 13m58s 15 174 13m42s 13m22s 16 175 13m52s 13m32s 17 176 13m36s 13m16s 18 172 14m39s 14m18s 19 167 14m20s 13m59s 20 165 14m39s 14m18s 21 159 12m59s 12m37s 22 169 27m45s 27m25s 23 169 14m30s 14m9s Jun 08 00 173 14m15s 13m50s 01 181 13m22s 13m3s 02 171 14m15s 13m55s 03 177 14m14s 13m54s 04 164 14m55s 14m34s 05 153 15m49s 15m34s 06 82 29m6s 29m4s 07 99 25m5s 24m59s 08 84 29m1s 29m 09 83 28m54s 28m51s 10 80 28m44s 28m43s 11 80 29m59s 29m59s 12 90 26m47s 26m46s 13 81 29m51s 29m50s 14 82 30m19s 30m19s 15 83 30m4s 30m3s 16 79 30m34s 30m33s 17 77 30m35s 30m35s 18 83 28m39s 28m34s 19 93 26m52s 26m1s 20 74 29m46s 29m45s 21 84 28m6s 28m4s 22 82 29m38s 29m37s 23 85 28m40s 28m39s -
Connections
Established Connections
Key values
- 12 connections Connection Peak
- 2024-06-04 10:10:10 Date
Connections per database
Key values
- ctdprd51 Main Database
- 18,580 connections Total
Connections per user
Key values
- pubeu Main User
- 18,580 connections Total
-
Sessions
Simultaneous sessions
Key values
- 63 sessions Session Peak
- 2024-06-07 21:53:21 Date
Histogram of session times
Key values
- 12,136 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 18,580 sessions Total
Sessions per user
Key values
- pubeu Main User
- 18,580 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 18,580 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 7,987 57d3h27m33s 10m18s 10.12.5.38 2,616 55d23h20s 30m48s 10.12.5.39 2,612 55d21h50m5s 30m49s 10.12.5.40 10 6m34s 39s411ms 10.12.5.45 2,664 55d23h53m30s 30m16s 10.12.5.46 2,624 55d21h12m2s 30m40s 192.168.201.10 4 17h32m59s 4h23m14s 192.168.201.14 3 19h36m2s 6h32m 192.168.201.6 7 1d16h15m37s 5h45m5s ::1 53 5d8h44m56s 2h25m45s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 99,693 buffers Checkpoint Peak
- 2024-06-03 15:25:56 Date
- 1620.005 seconds Highest write time
- 0.016 seconds Sync time
Checkpoints Wal files
Key values
- 1 files Wal files usage Peak
- 2024-06-08 11:26:08 Date
Checkpoints distance
Key values
- 2,153.51 Mo Distance Peak
- 2024-06-03 15:25:56 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jun 02 00 1,259 126.347s 0.003s 126.462s 01 832 83.543s 0.002s 83.574s 02 781 78.395s 0.004s 78.468s 03 946 94.998s 0.004s 95.029s 04 315 31.665s 0.001s 31.68s 05 2,868 287.572s 0.006s 287.63s 06 1,041 104.515s 0.004s 104.548s 07 990 99.29s 0.004s 99.322s 08 1,043 104.717s 0.004s 104.797s 09 369 36.97s 0.001s 36.986s 10 2,010 201.678s 0.004s 201.724s 11 477 47.98s 0.002s 48.011s 12 702 70.445s 0.003s 70.476s 13 695 69.82s 0.004s 69.851s 14 1,811 181.529s 0.003s 181.571s 15 497 50.002s 0.002s 50.032s 16 442 44.373s 0.002s 44.404s 17 554 55.707s 0.002s 55.738s 18 409 41.163s 0.002s 41.241s 19 605 60.788s 0.002s 60.819s 20 538 54.09s 0.002s 54.121s 21 490 49.197s 0.002s 49.227s 22 272 27.376s 0.002s 27.391s 23 21,130 2,116.533s 0.004s 2,116.687s Jun 03 00 4,167 417.786s 0.006s 417.922s 01 404 40.571s 0.003s 40.6s 02 793 79.661s 0.003s 79.692s 03 804 80.794s 0.004s 80.886s 04 7,741 775.159s 0.003s 775.213s 05 9,913 993.113s 0.002s 993.187s 06 2,829 283.717s 0.006s 283.811s 07 538 54.092s 0.003s 54.124s 08 679 68.129s 0.002s 68.161s 09 1,061 106.498s 0.004s 106.582s 10 9,838 985.036s 0.002s 985.114s 11 5,707 571.87s 0.004s 572.009s 12 17,341 1,737.034s 0.005s 1,737.133s 13 191 19.249s 0.001s 19.266s 14 4,306 431.416s 0.002s 431.5s 15 100,394 1,690.07s 0.005s 1,690.397s 16 228 22.945s 0.001s 22.96s 17 50,884 1,740.414s 0.005s 1,740.643s 18 405 40.694s 0.003s 40.724s 19 469 47.19s 0.003s 47.221s 20 402 40.48s 0.002s 40.511s 21 199 20.062s 0.001s 20.076s 22 59,851 1,820.383s 0.005s 1,820.578s 23 450 45.288s 0.002s 45.318s Jun 04 00 1,076 108.016s 0.003s 108.129s 01 177 17.825s 0.001s 17.84s 02 11,008 1,102.756s 0.005s 1,102.901s 03 511 51.409s 0.002s 51.44s 04 593 59.636s 0.003s 59.668s 05 5,849 585.803s 0.005s 585.889s 06 552 55.409s 0.001s 55.424s 07 3,212 322.01s 0.006s 322.062s 08 1,972 197.759s 0.003s 197.831s 09 245 24.652s 0.002s 24.668s 10 8,436 845.224s 0.006s 845.362s 11 746 74.944s 0.003s 74.975s 12 244 24.542s 0.001s 24.558s 13 2,486 249.249s 0.005s 249.338s 14 510 51.305s 0.002s 51.376s 15 453 45.6s 0.003s 45.63s 16 1,829 183.444s 0.003s 183.518s 17 379 38.16s 0.002s 38.19s 18 248 24.831s 0.002s 24.862s 19 399 40.171s 0.002s 40.203s 20 284 28.651s 0.002s 28.682s 21 97 9.822s 0.001s 9.836s 22 1,755 176.253s 0.005s 176.302s 23 551 55.394s 0.003s 55.471s Jun 05 00 924 92.781s 0.004s 92.856s 01 361 36.276s 0.001s 36.292s 02 1,639 164.438s 0.004s 164.527s 03 443 44.608s 0.003s 44.64s 04 1,274 127.851s 0.003s 127.923s 05 431 43.292s 0.002s 43.323s 06 667 66.922s 0.002s 66.938s 07 105,334 3,239.061s 0.004s 3,239.351s 08 16,737 1,656.232s 0.004s 1,656.284s 09 356 35.868s 0.003s 35.899s 10 212 21.342s 0.001s 21.357s 11 1,584 158.9s 0.004s 158.936s 12 4,750 475.976s 0.005s 476.032s 13 304 30.567s 0.001s 30.582s 14 1,351 135.679s 0.005s 135.726s 15 354 35.566s 0.003s 35.598s 16 370 37.276s 0.003s 37.31s 17 435 43.78s 0.002s 43.811s 18 400 40.271s 0.003s 40.345s 19 239 24.131s 0.002s 24.163s 20 247 24.93s 0.002s 24.96s 21 348 34.955s 0.002s 34.986s 22 275 27.739s 0.002s 27.77s 23 194 19.631s 0.002s 19.661s Jun 06 00 2,691 269.84s 0.003s 269.953s 01 255 25.752s 0.002s 25.784s 02 259 26.134s 0.002s 26.203s 03 9,000 901.535s 0.004s 901.622s 04 365 36.761s 0.002s 36.792s 05 364 36.675s 0.002s 36.706s 06 4,901 491.04s 0.004s 491.081s 07 475 47.792s 0.003s 47.823s 08 531 53.405s 0.004s 53.481s 09 164 16.527s 0.001s 16.542s 10 3,498 350.465s 0.003s 350.539s 11 4,721 473.186s 0.005s 473.278s 12 205 20.633s 0.001s 20.648s 13 2,137 214.403s 0.005s 214.453s 14 347 34.763s 0.002s 34.778s 15 2,180 218.634s 0.005s 218.686s 16 148 14.931s 0.001s 14.987s 17 1,648 165.4s 0.005s 165.445s 18 376 37.888s 0.003s 37.921s 19 462 46.527s 0.002s 46.557s 20 406 40.881s 0.002s 40.919s 21 249 25.059s 0.002s 25.133s 22 298 30.053s 0.002s 30.082s 23 399 40.179s 0.003s 40.21s Jun 07 00 1,168 117.172s 0.002s 117.229s 01 1,351 135.668s 0.004s 135.756s 02 383 38.572s 0.003s 38.602s 03 5,983 599.502s 0.003s 599.581s 04 468 47.13s 0.003s 47.161s 05 581 58.425s 0.003s 58.5s 06 1,041 104.384s 0.003s 104.414s 07 404 40.72s 0.002s 40.749s 08 880 88.265s 0.002s 88.281s 09 1,404 140.957s 0.004s 141.042s 10 7,180 719.184s 0.018s 719.289s 11 358 36.099s 0.002s 36.128s 12 503 50.506s 0.002s 50.523s 13 2,615 261.201s 0.003s 261.284s 14 83,297 1,657.358s 0.004s 1,657.561s 15 485 48.796s 0.002s 48.826s 16 296 29.761s 0.002s 29.791s 17 513 51.599s 0.003s 51.63s 18 310 31.261s 0.002s 31.292s 19 520 52.317s 0.002s 52.348s 20 602 60.513s 0.003s 60.545s 21 278 28.05s 0.002s 28.085s 22 280 28.268s 0.002s 28.299s 23 436 43.696s 0.003s 43.771s Jun 08 00 1,343 134.895s 0.006s 134.971s 01 406 40.878s 0.003s 40.91s 02 262 26.345s 0.001s 26.36s 03 50,485 1,668.521s 0.006s 1,668.701s 04 335 33.755s 0.002s 33.786s 05 483 48.503s 0.002s 48.577s 06 72,659 1,633.005s 0.003s 1,633.148s 07 542 54.526s 0.002s 54.557s 08 336 33.861s 0.002s 33.893s 09 124 12.519s 0.001s 12.535s 10 1,067 107.112s 0.002s 107.188s 11 92,808 1,657.266s 0.004s 1,657.416s 12 310 31.153s 0.002s 31.183s 13 314 31.643s 0.002s 31.727s 14 204 20.639s 0.002s 20.668s 15 372 37.486s 0.002s 37.516s 16 252 25.444s 0.002s 25.474s 17 338 34.042s 0.002s 34.073s 18 451 45.288s 0.002s 45.318s 19 671 67.419s 0.003s 67.449s 20 233 23.531s 0.002s 23.56s 21 436 43.867s 0.003s 43.897s 22 280 28.233s 0.002s 28.264s 23 424 42.563s 0.002s 42.595s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jun 02 00 0 1 0 69 0.001s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 1 0 35 0.001s 0.002s 03 0 0 0 56 0.001s 0.002s 04 0 0 0 19 0.001s 0.001s 05 0 1 0 79 0.001s 0.003s 06 0 0 0 127 0.001s 0.002s 07 0 0 0 141 0.001s 0.002s 08 0 1 0 127 0.001s 0.002s 09 0 0 0 14 0.001s 0.001s 10 0 0 0 54 0.001s 0.003s 11 0 0 0 20 0.001s 0.002s 12 0 0 0 32 0.001s 0.002s 13 0 0 0 113 0.001s 0.002s 14 0 1 0 85 0.001s 0.002s 15 0 0 0 28 0.001s 0.002s 16 0 0 0 20 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 1 0 24 0.001s 0.002s 19 0 0 0 22 0.001s 0.002s 20 0 0 0 35 0.001s 0.002s 21 0 0 0 24 0.001s 0.002s 22 0 0 0 10 0.001s 0.001s 23 0 10 0 54 0.001s 0.002s Jun 03 00 0 1 0 111 0.001s 0.003s 01 0 0 0 34 0.001s 0.002s 02 0 0 0 48 0.001s 0.002s 03 0 1 0 48 0.001s 0.002s 04 0 4 0 46 0.001s 0.002s 05 0 3 0 29 0.001s 0.001s 06 0 1 0 83 0.001s 0.003s 07 0 0 0 33 0.001s 0.002s 08 0 0 0 39 0.001s 0.002s 09 0 1 0 130 0.001s 0.002s 10 0 6 0 73 0.001s 0.001s 11 0 6 0 217 0.001s 0.002s 12 0 3 0 161 0.001s 0.003s 13 0 0 0 10 0.001s 0.001s 14 0 3 0 117 0.001s 0.002s 15 0 68 0 230 0.001s 0.003s 16 0 0 0 52 0.001s 0.001s 17 0 34 0 161 0.001s 0.003s 18 0 0 0 30 0.001s 0.002s 19 0 0 0 28 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 0 10 0.001s 0.001s 22 0 40 0 91 0.001s 0.003s 23 0 0 0 23 0.001s 0.002s Jun 04 00 0 1 0 78 0.001s 0.002s 01 0 0 0 18 0.001s 0.001s 02 0 7 0 77 0.001s 0.003s 03 0 0 0 43 0.001s 0.002s 04 0 0 0 53 0.001s 0.002s 05 0 4 0 51 0.004s 0.002s 06 0 0 0 18 0.001s 0.001s 07 0 1 0 205 0.001s 0.003s 08 0 1 0 45 0.001s 0.002s 09 0 0 0 56 0.001s 0.001s 10 0 4 0 197 0.001s 0.003s 11 0 0 0 76 0.001s 0.002s 12 0 0 0 58 0.001s 0.001s 13 0 1 0 63 0.001s 0.003s 14 0 1 0 35 0.001s 0.002s 15 0 0 0 23 0.001s 0.002s 16 0 1 0 43 0.001s 0.002s 17 0 0 0 34 0.001s 0.002s 18 0 0 0 22 0.001s 0.002s 19 0 0 0 27 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 10 0.001s 0.001s 22 0 0 0 51 0.001s 0.003s 23 0 1 0 37 0.001s 0.002s Jun 05 00 0 0 0 76 0.001s 0.002s 01 0 0 0 27 0.001s 0.001s 02 0 1 0 70 0.001s 0.003s 03 0 0 0 35 0.001s 0.002s 04 0 1 0 45 0.001s 0.002s 05 0 0 0 38 0.001s 0.002s 06 0 0 0 77 0.001s 0.001s 07 0 65 0 156 0.001s 0.002s 08 0 0 0 101 0.001s 0.003s 09 0 0 0 82 0.001s 0.002s 10 0 0 0 57 0.001s 0.001s 11 0 1 0 133 0.001s 0.002s 12 0 3 0 151 0.001s 0.003s 13 0 0 0 62 0.001s 0.001s 14 0 0 0 189 0.001s 0.003s 15 0 0 0 107 0.001s 0.002s 16 0 0 0 28 0.001s 0.002s 17 0 0 0 24 0.001s 0.002s 18 0 1 0 34 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 29 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Jun 06 00 0 1 0 89 0.001s 0.002s 01 0 0 0 38 0.001s 0.002s 02 0 1 0 36 0.001s 0.002s 03 0 5 0 71 0.001s 0.002s 04 0 0 0 39 0.001s 0.002s 05 0 0 0 36 0.001s 0.002s 06 0 3 0 138 0.001s 0.002s 07 0 0 0 121 0.001s 0.002s 08 0 1 0 133 0.001s 0.002s 09 0 0 0 20 0.001s 0.001s 10 0 2 0 47 0.001s 0.002s 11 0 2 0 164 0.001s 0.003s 12 0 0 0 59 0.001s 0.001s 13 0 1 0 170 0.001s 0.003s 14 0 0 0 44 0.001s 0.001s 15 0 1 0 191 0.001s 0.003s 16 0 1 0 58 0.001s 0.001s 17 0 0 0 132 0.001s 0.003s 18 0 0 0 71 0.001s 0.002s 19 0 0 0 65 0.001s 0.002s 20 0 0 0 29 0.001s 0.002s 21 0 1 0 24 0.001s 0.002s 22 0 0 0 24 0.001s 0.002s 23 0 0 0 29 0.001s 0.002s Jun 07 00 0 0 0 61 0.001s 0.001s 01 0 1 0 64 0.001s 0.003s 02 0 0 0 31 0.001s 0.002s 03 0 3 0 51 0.001s 0.002s 04 0 0 0 39 0.001s 0.002s 05 0 1 0 91 0.001s 0.002s 06 0 0 0 136 0.001s 0.002s 07 0 0 0 78 0.001s 0.002s 08 0 0 0 23 0.001s 0.001s 09 0 1 0 75 0.001s 0.003s 10 0 4 0 254 0.001s 0.002s 11 0 0 0 75 0.001s 0.002s 12 0 0 0 45 0.002s 0.001s 13 0 1 0 83 0.001s 0.002s 14 0 37 0 80 0.001s 0.003s 15 0 0 0 31 0.001s 0.002s 16 0 0 0 22 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 0 0 24 0.001s 0.002s 19 0 0 0 24 0.001s 0.002s 20 0 0 0 31 0.001s 0.002s 21 0 0 0 23 0.001s 0.002s 22 0 0 0 21 0.001s 0.002s 23 0 1 0 31 0.001s 0.002s Jun 08 00 0 0 0 74 0.004s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 0 0 20 0.001s 0.001s 03 0 33 0 68 0.001s 0.003s 04 0 0 0 28 0.001s 0.002s 05 0 1 0 45 0.001s 0.002s 06 0 35 0 50 0.001s 0.002s 07 0 0 0 35 0.001s 0.002s 08 0 0 0 35 0.001s 0.002s 09 0 0 0 13 0.001s 0.001s 10 0 1 0 50 0.001s 0.002s 11 0 32 1 69 0.001s 0.003s 12 0 0 0 66 0.001s 0.002s 13 0 0 1 32 0.001s 0.002s 14 0 0 0 26 0.001s 0.002s 15 0 0 0 32 0.001s 0.002s 16 0 0 0 27 0.001s 0.002s 17 0 0 0 32 0.001s 0.002s 18 0 0 0 32 0.001s 0.002s 19 0 0 0 34 0.001s 0.002s 20 0 0 0 24 0.001s 0.002s 21 0 0 0 29 0.001s 0.002s 22 0 0 0 23 0.001s 0.002s 23 0 0 0 32 0.001s 0.002s Day Hour Count Avg time (sec) Jun 02 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 Jun 03 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 Jun 04 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jun 05 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jun 06 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jun 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 Jun 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 Day Hour Mean distance Mean estimate Jun 02 00 7,046.00 kB 23,410.00 kB 01 1,151.00 kB 19,147.50 kB 02 845.50 kB 15,694.50 kB 03 1,722.00 kB 12,977.00 kB 04 880.00 kB 11,264.00 kB 05 5,569.67 kB 12,296.33 kB 06 1,402.00 kB 9,751.50 kB 07 2,008.00 kB 8,278.00 kB 08 1,801.00 kB 7,046.00 kB 09 854.00 kB 6,190.00 kB 10 1,120.00 kB 5,272.67 kB 11 663.00 kB 4,206.00 kB 12 1,063.50 kB 3,611.00 kB 13 1,511.00 kB 3,165.50 kB 14 7,545.50 kB 13,692.00 kB 15 1,045.50 kB 11,286.00 kB 16 743.50 kB 9,286.50 kB 17 1,030.00 kB 7,693.00 kB 18 798.00 kB 6,403.00 kB 19 878.00 kB 5,348.50 kB 20 1,111.50 kB 4,544.00 kB 21 964.50 kB 3,867.00 kB 22 1,010.00 kB 3,438.00 kB 23 82,167.00 kB 82,167.00 kB Jun 03 00 5,440.00 kB 90,738.00 kB 01 739.00 kB 70,192.50 kB 02 1,860.00 kB 57,202.50 kB 03 1,812.00 kB 46,602.00 kB 04 40,329.00 kB 75,533.00 kB 05 44,587.00 kB 68,918.00 kB 06 5,591.33 kB 57,216.00 kB 07 897.50 kB 44,356.00 kB 08 1,502.50 kB 36,211.00 kB 09 2,555.00 kB 29,804.00 kB 10 103,847.00 kB 103,847.00 kB 11 26,316.00 kB 92,454.50 kB 12 32,723.67 kB 86,305.67 kB 13 813.00 kB 69,846.00 kB 14 21,923.50 kB 63,844.00 kB 15 368,951.00 kB 996,209.67 kB 16 1,079.00 kB 804,270.00 kB 17 184,862.00 kB 703,752.00 kB 18 829.50 kB 539,891.00 kB 19 1,000.00 kB 437,479.00 kB 20 789.00 kB 354,530.50 kB 21 871.00 kB 302,407.00 kB 22 218,982.00 kB 581,371.00 kB 23 867.00 kB 446,280.00 kB Jun 04 00 6,381.00 kB 362,710.00 kB 01 680.00 kB 309,354.00 kB 02 38,128.67 kB 260,281.00 kB 03 897.00 kB 201,317.00 kB 04 1,320.50 kB 163,275.00 kB 05 28,978.00 kB 137,770.50 kB 06 435.00 kB 117,583.00 kB 07 8,111.00 kB 97,359.33 kB 08 2,685.00 kB 75,562.50 kB 09 951.00 kB 64,570.00 kB 10 24,941.00 kB 58,629.00 kB 11 1,870.00 kB 45,907.00 kB 12 1,136.00 kB 39,313.00 kB 13 5,445.00 kB 33,192.33 kB 14 1,167.50 kB 25,877.50 kB 15 679.50 kB 21,111.50 kB 16 6,578.00 kB 18,345.00 kB 17 824.00 kB 15,021.00 kB 18 548.50 kB 12,273.00 kB 19 859.50 kB 10,081.00 kB 20 533.50 kB 8,289.50 kB 21 414.00 kB 7,137.00 kB 22 3,385.67 kB 6,563.67 kB 23 1,292.00 kB 5,379.50 kB Jun 05 00 5,273.50 kB 9,638.00 kB 01 1,876.00 kB 8,426.00 kB 02 3,432.00 kB 7,686.67 kB 03 993.50 kB 6,124.50 kB 04 3,921.50 kB 6,763.00 kB 05 1,078.50 kB 5,658.50 kB 06 2,060.00 kB 5,092.00 kB 07 532,222.50 kB 629,651.50 kB 08 930.67 kB 503,274.67 kB 09 858.50 kB 386,030.00 kB 10 1,099.00 kB 329,316.00 kB 11 4,847.50 kB 282,415.00 kB 12 15,366.33 kB 221,681.67 kB 13 1,675.00 kB 179,144.00 kB 14 2,577.00 kB 146,235.00 kB 15 1,012.00 kB 112,375.50 kB 16 828.50 kB 91,174.50 kB 17 760.50 kB 74,015.50 kB 18 930.00 kB 60,104.50 kB 19 495.50 kB 48,817.00 kB 20 593.00 kB 39,647.00 kB 21 739.00 kB 32,259.00 kB 22 647.00 kB 26,242.00 kB 23 390.50 kB 21,341.50 kB Jun 06 00 11,624.50 kB 21,664.00 kB 01 528.50 kB 17,643.50 kB 02 505.00 kB 14,390.50 kB 03 46,864.50 kB 87,614.00 kB 04 829.00 kB 71,161.00 kB 05 945.50 kB 57,801.50 kB 06 22,656.00 kB 51,121.50 kB 07 1,438.50 kB 41,652.00 kB 08 1,322.50 kB 34,022.50 kB 09 856.00 kB 29,150.00 kB 10 16,157.50 kB 29,866.50 kB 11 13,788.00 kB 25,763.33 kB 12 1,190.00 kB 22,035.00 kB 13 4,479.00 kB 18,922.33 kB 14 1,828.00 kB 15,681.00 kB 15 7,506.67 kB 16,137.00 kB 16 789.00 kB 13,299.00 kB 17 3,485.67 kB 11,671.33 kB 18 885.00 kB 9,159.00 kB 19 842.50 kB 7,599.00 kB 20 936.00 kB 6,306.00 kB 21 555.00 kB 5,240.50 kB 22 538.00 kB 4,353.00 kB 23 766.00 kB 3,642.00 kB Jun 07 00 12,093.00 kB 12,093.00 kB 01 1,882.33 kB 10,292.67 kB 02 369.50 kB 7,986.50 kB 03 29,190.00 kB 54,767.00 kB 04 690.00 kB 44,497.00 kB 05 1,506.00 kB 36,260.50 kB 06 1,405.50 kB 29,670.50 kB 07 966.50 kB 24,247.00 kB 08 5,382.00 kB 21,249.00 kB 09 2,649.67 kB 17,882.67 kB 10 34,364.00 kB 62,604.00 kB 11 717.00 kB 50,955.50 kB 12 1,848.00 kB 43,657.00 kB 13 10,043.00 kB 38,780.50 kB 14 197,554.33 kB 533,864.00 kB 15 950.00 kB 409,506.00 kB 16 706.50 kB 331,853.50 kB 17 1,013.50 kB 268,964.50 kB 18 800.50 kB 218,033.00 kB 19 931.00 kB 176,781.00 kB 20 1,365.00 kB 143,458.00 kB 21 764.50 kB 116,348.50 kB 22 787.50 kB 94,384.00 kB 23 953.00 kB 76,642.00 kB Jun 08 00 6,042.50 kB 63,242.00 kB 01 538.50 kB 51,318.00 kB 02 688.00 kB 43,853.00 kB 03 180,267.67 kB 487,647.33 kB 04 418.50 kB 373,944.00 kB 05 938.00 kB 303,054.00 kB 06 290,814.00 kB 551,862.50 kB 07 645.50 kB 447,130.00 kB 08 614.50 kB 362,288.00 kB 09 458.00 kB 308,986.00 kB 10 3,755.00 kB 264,853.50 kB 11 183,475.00 kB 496,013.67 kB 12 704.50 kB 380,444.50 kB 13 684.00 kB 308,309.50 kB 14 441.50 kB 249,812.50 kB 15 773.50 kB 202,464.00 kB 16 557.00 kB 164,125.50 kB 17 782.00 kB 133,090.00 kB 18 664.00 kB 107,918.00 kB 19 1,106.00 kB 87,619.50 kB 20 555.50 kB 71,097.50 kB 21 1,065.50 kB 57,768.00 kB 22 667.50 kB 46,933.50 kB 23 1,012.00 kB 38,204.50 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jun 02 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 Jun 03 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 Jun 04 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jun 05 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jun 06 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jun 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 Jun 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 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 10.48 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-06-08 10:45:24 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 10.48 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-06-08 10:45:24 Date
Analyzes per table
Key values
- pubc.log_query (183) Main table analyzed (database ctdprd51)
- 263 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 183 ctdprd51.edit.tm_reference_term 23 ctdprd51.pub1.term_set_enrichment 16 ctdprd51.pub1.term_set_enrichment_agent 13 ctdprd51.edit.tm_reference 10 ctdprd51.pub1.term_comp_agent 5 ctdprd51.pub1.term_comp 4 ctdprd51.pg_catalog.pg_class 3 ctdprd51.pg_catalog.pg_trigger 1 ctdprd51.pg_catalog.pg_index 1 ctdprd51.pg_catalog.pg_constraint 1 postgres.pg_catalog.pg_shdepend 1 ctdprd51.pg_catalog.pg_attribute 1 ctdprd51.pg_catalog.pg_sequence 1 Total 263 Vacuums per table
Key values
- pubc.log_query (38) Main table vacuumed on database ctdprd51
- 78 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 38 31 24,677 0 5,251 0 298 8,463 868 6,491,163 ctdprd51.pub1.term_set_enrichment_agent 10 0 511,026 0 101,741 0 0 253,563 20 15,117,018 ctdprd51.pub1.term_set_enrichment 8 0 10,026 0 3,297 0 0 4,566 16 380,258 ctdprd51.edit.tm_reference_term 7 2 2,661 0 51 0 0 346 7 74,972 ctdprd51.pub1.term_comp_agent 4 0 543 0 160 0 0 147 5 46,269 ctdprd51.pg_catalog.pg_statistic 3 3 1,982 0 462 0 37 1,246 406 1,874,655 ctdprd51.pub1.term_comp 3 0 479 0 80 0 0 68 6 46,237 ctdprd51.pg_toast.pg_toast_2619 2 2 8,547 0 2,326 0 19,906 6,869 2,189 1,232,719 ctdprd51.pg_catalog.pg_class 1 1 268 0 30 0 0 154 29 160,995 ctdprd51.pg_toast.pg_toast_486223 1 0 26 0 0 0 0 1 0 188 ctdprd51.pg_catalog.pg_attrdef 1 1 103 0 10 0 0 27 7 47,469 Total 78 40 560,338 1,369 113,408 0 20,241 275,450 3,553 25,471,943 Tuples removed per table
Key values
- pubc.log_query (18093) Main table with removed tuples on database ctdprd51
- 27995 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 38 31 18,093 167,963 9,068 0 8,355 ctdprd51.pg_toast.pg_toast_2619 2 2 8,571 41,688 36 0 25,184 ctdprd51.pg_catalog.pg_statistic 3 3 1,132 7,013 0 0 870 ctdprd51.edit.tm_reference_term 7 2 87 58,938 0 0 765 ctdprd51.pg_catalog.pg_class 1 1 83 1,794 0 0 61 ctdprd51.pg_catalog.pg_attrdef 1 1 29 227 0 0 10 ctdprd51.pub1.term_comp_agent 4 0 0 52,430 0 0 462 ctdprd51.pub1.term_set_enrichment 8 0 0 1,236,428 0 0 20,529 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 10 0 0 105,331,949 0 0 1,196,964 ctdprd51.pub1.term_comp 3 0 0 13,216 0 0 127 Total 78 40 27,995 106,911,646 9,104 0 1,253,327 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_comp_agent 4 0 0 0 ctdprd51.pubc.log_query 38 31 18093 0 ctdprd51.pg_catalog.pg_statistic 3 3 1132 0 ctdprd51.edit.tm_reference_term 7 2 87 0 ctdprd51.pg_catalog.pg_class 1 1 83 0 ctdprd51.pub1.term_set_enrichment 8 0 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 10 0 0 0 ctdprd51.pg_catalog.pg_attrdef 1 1 29 0 ctdprd51.pg_toast.pg_toast_2619 2 2 8571 0 ctdprd51.pub1.term_comp 3 0 0 0 Total 78 40 27,995 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jun 02 00 0 3 01 0 3 02 0 3 03 0 2 04 0 2 05 0 5 06 0 1 07 0 2 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 0 14 0 1 15 0 1 16 0 0 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 1 23 0 3 Jun 03 00 0 4 01 0 3 02 0 2 03 0 3 04 0 3 05 0 4 06 0 2 07 0 1 08 0 1 09 0 1 10 0 2 11 0 2 12 0 2 13 0 0 14 0 5 15 0 0 16 0 2 17 0 1 18 0 0 19 0 1 20 0 0 21 0 2 22 0 3 23 0 0 Jun 04 00 0 3 01 0 3 02 0 2 03 0 3 04 0 1 05 0 3 06 0 1 07 0 2 08 0 2 09 0 0 10 0 1 11 0 1 12 0 0 13 0 2 14 0 1 15 0 0 16 0 2 17 0 1 18 0 0 19 0 1 20 0 0 21 0 0 22 0 0 23 0 1 Jun 05 00 0 1 01 0 3 02 0 2 03 0 3 04 0 2 05 0 4 06 0 3 07 0 2 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 1 15 0 0 16 0 1 17 0 0 18 0 1 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 Jun 06 00 0 2 01 0 3 02 0 2 03 0 2 04 0 2 05 0 3 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 0 13 0 1 14 0 1 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 1 Jun 07 00 0 4 01 0 3 02 0 1 03 0 3 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 10 11 0 0 12 0 24 13 0 12 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 1 Jun 08 00 0 2 01 0 4 02 0 4 03 0 2 04 0 1 05 0 3 06 0 2 07 0 1 08 0 1 09 0 1 10 0 3 11 0 1 12 0 0 13 0 1 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 1 21 0 0 22 0 0 23 0 1 - 10.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
- 10,513 Total read queries
- 349 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 5,865 Requests
- 1d9h25m55s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 12,969 Requests
User Request type Count Duration edit Total 2 4s850ms select 2 4s850ms editeu Total 30 3m3s select 30 3m3s load Total 11 33m22s select 11 33m22s postgres Total 108 41m33s copy to 108 41m33s pubc Total 1 3s354ms select 1 3s354ms pubeu Total 12,969 3d2h42m4s cte 28 1m23s select 12,941 3d2h40m41s qaeu Total 76 3m18s cte 17 56s551ms select 59 2m21s unknown Total 11,194 1d7h26m24s copy to 686 6h25m23s cte 55 1m19s insert 2 4s873ms others 9 44s536ms select 10,442 1d58m51s zbx_monitor Total 2 3s326ms select 2 3s326ms Duration by user
Key values
- 3d2h42m4s (pubeu) Main time consuming user
User Request type Count Duration edit Total 2 4s850ms select 2 4s850ms editeu Total 30 3m3s select 30 3m3s load Total 11 33m22s select 11 33m22s postgres Total 108 41m33s copy to 108 41m33s pubc Total 1 3s354ms select 1 3s354ms pubeu Total 12,969 3d2h42m4s cte 28 1m23s select 12,941 3d2h40m41s qaeu Total 76 3m18s cte 17 56s551ms select 59 2m21s unknown Total 11,194 1d7h26m24s copy to 686 6h25m23s cte 55 1m19s insert 2 4s873ms others 9 44s536ms select 10,442 1d58m51s zbx_monitor Total 2 3s326ms select 2 3s326ms Queries by host
Key values
- unknown Main host
- 24,393 Requests
- 4d11h29m58s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 10,819 Requests
- 1d22h57m21s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-06-07 16:12:20 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 7,164 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 23m17s 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-06-08 19:00:08 ]
2 23m4s 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-06-08 19:40:22 ]
3 16m11s /* * 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-06-04 00:16:12 ]
4 16m11s /* * 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-06-03 00:16:12 ]
5 16m9s /* * 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-06-08 00:16:10 ]
6 16m9s /* * 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-06-05 00:16:11 ]
7 16m8s /* * 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-06-02 00:16:09 ]
8 16m7s /* * 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-06-07 00:16:09 ]
9 16m7s /* * 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-06-06 00:16:09 ]
10 10m6s 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 = '1224494') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-06-02 09:08:12 - Bind query: yes ]
11 9m25s 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 = '1224494') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-06-03 08:40:37 - Bind query: yes ]
12 6m42s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-06-08 19:11:39 ]
13 6m42s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-06-08 19:51:44 ]
14 3m47s select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;[ Date: 2024-06-07 12:22:34 - Database: ctdprd51 - User: load - Bind query: yes ]
15 3m43s 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 = '1387209')) ORDER BY r.sort_txt LIMIT 50;[ Date: 2024-06-04 22:54:33 - Bind query: yes ]
16 3m40s select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;[ Date: 2024-06-07 12:34:32 - Database: ctdprd51 - User: load - Bind query: yes ]
17 3m40s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-06-06 07:28:29 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 3m39s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-06-05 09:39:44 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 3m38s select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;[ Date: 2024-06-07 12:16:15 - Database: ctdprd51 - User: load - Bind query: yes ]
20 3m37s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-06-07 07:32:12 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1d13h29m16s 3,774 1s111ms 45s111ms 35s759ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 02 00 4 20s747ms 5s186ms 01 1 1s613ms 1s613ms 03 3 16s39ms 5s346ms 04 2 7s686ms 3s843ms 05 3 7s34ms 2s344ms 06 1 1s589ms 1s589ms 07 3 11s517ms 3s839ms 09 1 6s380ms 6s380ms 10 5 18s892ms 3s778ms 11 1 2s83ms 2s83ms 12 2 7s947ms 3s973ms 13 1 3s995ms 3s995ms 14 3 21s187ms 7s62ms 15 2 6s960ms 3s480ms 16 2 6s529ms 3s264ms 18 2 10s17ms 5s8ms 19 3 6s367ms 2s122ms 20 3 12s647ms 4s215ms 21 3 21s810ms 7s270ms 22 2 7s439ms 3s719ms 23 3 16s915ms 5s638ms Jun 03 00 2 5s307ms 2s653ms 01 3 19s954ms 6s651ms 02 2 12s622ms 6s311ms 04 6 33s127ms 5s521ms 05 2 5s904ms 2s952ms 06 1 2s159ms 2s159ms 07 3 21s731ms 7s243ms 08 2 10s792ms 5s396ms 09 3 10s117ms 3s372ms 10 2 11s904ms 5s952ms 11 1 2s744ms 2s744ms 12 1 4s19ms 4s19ms 13 1 3s621ms 3s621ms 14 1 5s348ms 5s348ms 15 2 8s848ms 4s424ms 16 3 8s130ms 2s710ms 17 1 6s718ms 6s718ms 18 5 20s371ms 4s74ms 19 1 5s138ms 5s138ms 20 5 20s146ms 4s29ms 21 1 2s478ms 2s478ms 22 2 7s402ms 3s701ms Jun 04 00 1 5s943ms 5s943ms 02 5 27s485ms 5s497ms 03 1 4s964ms 4s964ms 04 1 1s231ms 1s231ms 05 4 21s471ms 5s367ms 06 2 9s658ms 4s829ms 08 2 20s247ms 10s123ms 09 4 25s172ms 6s293ms 10 2 3s660ms 1s830ms 11 6 22s221ms 3s703ms 15 1 23s40ms 23s40ms 16 2 9s261ms 4s630ms 18 1 2s348ms 2s348ms 19 72 43m23s 36s160ms 20 94 56m44s 36s220ms 21 95 56m53s 35s928ms 22 93 56m41s 36s577ms 23 93 56m8s 36s217ms Jun 05 00 94 57m12s 36s517ms 01 93 56m15s 36s296ms 02 94 56m59s 36s374ms 03 92 56m42s 36s983ms 04 99 56m56s 34s513ms 05 55 34m 37s103ms 07 1 4s526ms 4s526ms 13 2 3s909ms 1s954ms 14 1 2s536ms 2s536ms 16 1 18s434ms 18s434ms 20 1 1s174ms 1s174ms 21 1 18s158ms 18s158ms Jun 06 01 1 1s343ms 1s343ms 05 2 4s256ms 2s128ms 07 2 7s381ms 3s690ms 10 4 4s818ms 1s204ms 12 2 6s241ms 3s120ms 14 2 2s443ms 1s221ms 18 12 7m20s 36s706ms 19 94 56m58s 36s362ms 20 93 56m55s 36s725ms 21 93 56m36s 36s523ms 22 93 56m44s 36s612ms 23 92 56m46s 37s21ms Jun 07 00 93 56m49s 36s662ms 01 93 56m39s 36s558ms 02 92 56m44s 37s6ms 03 92 57m13s 37s326ms 04 91 56m42s 37s388ms 05 54 33m53s 37s664ms 06 1 1s187ms 1s187ms 09 1 4s738ms 4s738ms 11 76 47m13s 37s288ms 12 86 53m31s 37s337ms 13 81 51m8s 37s885ms 14 90 56m38s 37s760ms 15 91 56m57s 37s550ms 16 89 56m25s 38s40ms 17 90 57m1s 38s14ms 18 89 56m26s 38s49ms 19 90 57m11s 38s125ms 20 89 56m37s 38s178ms 21 90 56m44s 37s829ms 22 89 56m46s 38s278ms 23 92 57m33s 37s537ms Jun 08 00 88 56m19s 38s407ms 01 91 57m25s 37s864ms 02 88 56m31s 38s534ms 03 89 57m15s 38s597ms 04 89 56m46s 38s278ms 05 54 34m12s 38s11ms 07 2 19s364ms 9s682ms 09 1 14s979ms 14s979ms 10 2 9s68ms 4s534ms 13 2 7s962ms 3s981ms 14 1 14s667ms 14s667ms 20 2 8s220ms 4s110ms 21 2 6s146ms 3s73ms 23 1 1s188ms 1s188ms [ User: pubeu - Total duration: 1d6h36m55s - Times executed: 3015 ]
-
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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1680850;
Date: 2024-06-04 22:51:31 Duration: 45s111ms 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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1751300;
Date: 2024-06-07 03:24:41 Duration: 40s154ms 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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1818800;
Date: 2024-06-08 00:02:00 Duration: 39s973ms Database: ctdprd51 User: pubeu Bind query: yes
2 1h53m4s 7 16m7s 16m11s 16m9s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 02 00 1 16m8s 16m8s Jun 03 00 1 16m11s 16m11s Jun 04 00 1 16m11s 16m11s Jun 05 00 1 16m9s 16m9s Jun 06 00 1 16m7s 16m7s Jun 07 00 1 16m7s 16m7s Jun 08 00 1 16m9s 16m9s -
/* * 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-06-04 00:16:12 Duration: 16m11s
-
/* * 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-06-03 00:16:12 Duration: 16m11s
-
/* * 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-06-08 00:16:10 Duration: 16m9s
3 1h5m49s 53 1s116ms 10m6s 1m14s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 02 02 2 2s888ms 1s444ms 05 2 2s866ms 1s433ms 07 2 3m38s 1m49s 09 2 12m18s 6m9s 10 1 1s220ms 1s220ms 18 1 2m4s 2m4s 22 2 4m1s 2m Jun 03 01 2 4s731ms 2s365ms 02 1 1s516ms 1s516ms 03 1 1s325ms 1s325ms 04 1 1s404ms 1s404ms 06 1 1s505ms 1s505ms 07 1 3m7s 3m7s 08 3 9m28s 3m9s 14 1 1s465ms 1s465ms 15 1 1s628ms 1s628ms 16 1 1s287ms 1s287ms 17 1 1s205ms 1s205ms 18 2 2s884ms 1s442ms 22 2 1m23s 41s946ms Jun 04 05 1 1s584ms 1s584ms 06 1 1s473ms 1s473ms 22 1 1m18s 1m18s Jun 05 09 1 3m39s 3m39s Jun 06 00 1 1s958ms 1s958ms 07 2 7m17s 3m38s 12 1 1s521ms 1s521ms 22 1 1m18s 1m18s Jun 07 03 1 1s511ms 1s511ms 07 2 6m44s 3m22s Jun 08 01 1 1s280ms 1s280ms 07 2 7m14s 3m37s 09 5 19s491ms 3s898ms 13 1 1s471ms 1s471ms 18 1 1s116ms 1s116ms 21 1 1m18s 1m18s [ User: pubeu - Total duration: 24m11s - Times executed: 24 ]
-
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 = '1224494') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-02 09:08:12 Duration: 10m6s 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 = '1224494') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-03 08:40:37 Duration: 9m25s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-06 07:28:29 Duration: 3m40s Database: ctdprd51 User: pubeu Bind query: yes
4 56m17s 2,891 1s63ms 1s301ms 1s168ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 02 00 15 17s535ms 1s169ms 01 23 27s113ms 1s178ms 02 35 41s427ms 1s183ms 03 25 29s535ms 1s181ms 04 23 27s69ms 1s176ms 05 24 28s550ms 1s189ms 06 28 32s738ms 1s169ms 07 17 19s891ms 1s170ms 08 24 28s81ms 1s170ms 09 34 39s793ms 1s170ms 10 22 25s697ms 1s168ms 11 25 29s331ms 1s173ms 12 17 19s958ms 1s174ms 13 16 18s691ms 1s168ms 14 12 14s81ms 1s173ms 15 32 37s490ms 1s171ms 16 27 31s728ms 1s175ms 17 25 29s181ms 1s167ms 18 30 34s448ms 1s148ms 19 21 24s101ms 1s147ms 20 24 27s774ms 1s157ms 21 30 34s877ms 1s162ms 22 18 21s234ms 1s179ms 23 34 39s977ms 1s175ms Jun 03 00 31 36s416ms 1s174ms 01 20 23s587ms 1s179ms 02 15 17s714ms 1s180ms 03 26 30s554ms 1s175ms 04 24 28s132ms 1s172ms 05 25 29s205ms 1s168ms 06 22 25s658ms 1s166ms 07 16 18s735ms 1s170ms 08 23 27s128ms 1s179ms 09 20 23s343ms 1s167ms 10 17 20s99ms 1s182ms 11 15 17s705ms 1s180ms 12 35 41s361ms 1s181ms 13 22 25s766ms 1s171ms 14 14 16s45ms 1s146ms 15 14 16s502ms 1s178ms 16 27 32s23ms 1s186ms 17 21 24s696ms 1s176ms 18 23 26s383ms 1s147ms 19 18 20s839ms 1s157ms 20 22 25s485ms 1s158ms 21 26 30s10ms 1s154ms 22 18 21s312ms 1s184ms 23 20 23s826ms 1s191ms Jun 04 00 15 17s671ms 1s178ms 01 24 28s559ms 1s189ms 02 14 16s590ms 1s185ms 03 22 25s794ms 1s172ms 04 16 18s747ms 1s171ms 05 18 21s417ms 1s189ms 06 22 25s767ms 1s171ms 07 18 21s261ms 1s181ms 08 23 27s104ms 1s178ms 09 20 23s514ms 1s175ms 10 24 28s457ms 1s185ms 11 17 19s876ms 1s169ms 12 11 13s75ms 1s188ms 13 15 17s668ms 1s177ms 14 12 14s56ms 1s171ms 15 13 15s488ms 1s191ms 16 7 8s347ms 1s192ms 17 15 17s620ms 1s174ms 18 12 13s852ms 1s154ms 19 16 18s278ms 1s142ms 20 7 8s128ms 1s161ms 21 8 9s20ms 1s127ms 22 9 10s458ms 1s162ms 23 17 19s761ms 1s162ms Jun 05 00 13 15s2ms 1s154ms 01 6 6s900ms 1s150ms 02 12 13s926ms 1s160ms 03 12 13s807ms 1s150ms 04 11 13s29ms 1s184ms 05 18 21s285ms 1s182ms 06 9 10s622ms 1s180ms 07 15 17s627ms 1s175ms 08 8 9s406ms 1s175ms 09 17 19s879ms 1s169ms 10 12 14s79ms 1s173ms 11 12 13s903ms 1s158ms 12 13 15s384ms 1s183ms 13 24 28s507ms 1s187ms 14 13 14s942ms 1s149ms 15 14 16s301ms 1s164ms 16 27 31s479ms 1s165ms 17 25 29s3ms 1s160ms 18 23 26s486ms 1s151ms 19 7 8s98ms 1s156ms 20 11 12s743ms 1s158ms 21 8 9s233ms 1s154ms 22 16 18s730ms 1s170ms 23 1 1s215ms 1s215ms Jun 06 00 9 10s420ms 1s157ms 01 18 21s309ms 1s183ms 02 4 4s697ms 1s174ms 03 8 9s467ms 1s183ms 04 20 23s322ms 1s166ms 05 12 14s367ms 1s197ms 06 13 15s275ms 1s175ms 07 6 7s17ms 1s169ms 08 26 30s991ms 1s191ms 09 25 29s575ms 1s183ms 10 17 19s693ms 1s158ms 11 13 15s157ms 1s165ms 12 15 17s426ms 1s161ms 13 18 20s996ms 1s166ms 14 21 24s169ms 1s150ms 15 13 15s131ms 1s163ms 16 8 9s346ms 1s168ms 17 22 25s657ms 1s166ms 18 10 11s614ms 1s161ms 19 8 9s242ms 1s155ms 20 24 27s589ms 1s149ms 21 12 13s786ms 1s148ms 22 5 5s833ms 1s166ms 23 13 15s288ms 1s176ms Jun 07 00 32 37s301ms 1s165ms 01 18 21s26ms 1s168ms 02 10 11s681ms 1s168ms 03 20 23s353ms 1s167ms 04 12 13s958ms 1s163ms 05 16 18s785ms 1s174ms 06 13 15s374ms 1s182ms 07 13 15s151ms 1s165ms 08 14 16s505ms 1s178ms 09 17 19s955ms 1s173ms 10 16 18s749ms 1s171ms 11 7 7s837ms 1s119ms 12 11 12s444ms 1s131ms 13 15 17s5ms 1s133ms 14 24 27s277ms 1s136ms 15 21 24s282ms 1s156ms 16 18 20s846ms 1s158ms 17 12 13s883ms 1s156ms 18 24 27s413ms 1s142ms 19 10 11s268ms 1s126ms 20 14 15s811ms 1s129ms 21 11 12s325ms 1s120ms 22 12 14s205ms 1s183ms 23 12 13s932ms 1s161ms Jun 08 00 12 13s804ms 1s150ms 01 15 17s424ms 1s161ms 02 21 24s418ms 1s162ms 03 7 8s71ms 1s153ms 04 10 11s473ms 1s147ms 05 19 22s702ms 1s194ms 06 18 21s143ms 1s174ms 07 8 9s329ms 1s166ms 08 17 20s83ms 1s181ms 09 36 42s469ms 1s179ms 10 11 13s47ms 1s186ms 11 11 12s972ms 1s179ms 12 22 25s966ms 1s180ms 13 4 4s693ms 1s173ms 14 8 9s360ms 1s170ms 15 19 22s505ms 1s184ms 16 15 17s553ms 1s170ms 17 24 28s295ms 1s178ms 18 23 26s715ms 1s161ms 19 29 32s445ms 1s118ms 20 10 11s147ms 1s114ms 21 21 23s461ms 1s117ms 22 11 12s929ms 1s175ms 23 11 13s12ms 1s182ms [ User: pubeu - Total duration: 24m10s - Times executed: 1245 ]
-
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 = '1431600' or receptorTerm.id = '1431600' 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-06-06 05:38:36 Duration: 1s301ms 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 = '1431600' or receptorTerm.id = '1431600' 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-06-05 05:43:38 Duration: 1s300ms 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 = '1431600' or receptorTerm.id = '1431600' 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-06-06 05:43:39 Duration: 1s294ms Bind query: yes
5 27m9s 402 3s744ms 16s166ms 4s54ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 02 00 1 4s142ms 4s142ms 02 1 3s789ms 3s789ms 03 3 11s954ms 3s984ms 04 7 27s250ms 3s892ms 07 2 7s907ms 3s953ms 08 1 3s936ms 3s936ms 09 3 11s696ms 3s898ms 10 1 5s320ms 5s320ms 15 1 3s968ms 3s968ms 20 2 7s826ms 3s913ms 21 3 11s465ms 3s821ms 22 8 31s679ms 3s959ms 23 2 7s984ms 3s992ms Jun 03 00 6 23s554ms 3s925ms 01 6 23s288ms 3s881ms 02 5 19s528ms 3s905ms 03 3 11s702ms 3s900ms 04 7 27s750ms 3s964ms 05 1 3s903ms 3s903ms 06 2 8s135ms 4s67ms 07 3 11s513ms 3s837ms 08 1 4s30ms 4s30ms 09 11 43s513ms 3s955ms 10 4 15s987ms 3s996ms 11 4 16s316ms 4s79ms 12 2 8s11ms 4s5ms 14 6 23s498ms 3s916ms 15 6 23s551ms 3s925ms 17 2 7s722ms 3s861ms 18 1 4s211ms 4s211ms 21 4 15s947ms 3s986ms 23 3 11s677ms 3s892ms Jun 04 00 1 3s959ms 3s959ms 02 3 11s901ms 3s967ms 03 5 19s648ms 3s929ms 04 2 8s65ms 4s32ms 05 1 4s34ms 4s34ms 06 5 19s345ms 3s869ms 07 4 15s611ms 3s902ms 08 60 4m2s 4s43ms 09 34 2m23s 4s209ms 10 3 11s824ms 3s941ms 11 2 7s881ms 3s940ms 12 6 23s318ms 3s886ms 13 1 3s884ms 3s884ms 15 1 3s814ms 3s814ms 16 4 16s215ms 4s53ms 17 2 7s787ms 3s893ms 18 2 8s149ms 4s74ms 20 1 4s127ms 4s127ms 21 3 11s883ms 3s961ms 22 1 4s393ms 4s393ms 23 1 4s48ms 4s48ms Jun 05 00 9 36s550ms 4s61ms 01 4 16s264ms 4s66ms 02 1 3s993ms 3s993ms 03 7 27s639ms 3s948ms 04 2 7s880ms 3s940ms 05 4 15s514ms 3s878ms 07 1 3s854ms 3s854ms 08 4 15s772ms 3s943ms 09 1 3s891ms 3s891ms 10 3 11s802ms 3s934ms 12 18 1m17s 4s305ms 13 3 11s812ms 3s937ms 15 1 3s995ms 3s995ms 17 1 3s865ms 3s865ms 18 3 12s17ms 4s5ms 21 1 4s338ms 4s338ms 22 1 3s994ms 3s994ms 23 1 3s955ms 3s955ms Jun 06 00 3 11s500ms 3s833ms 01 2 7s833ms 3s916ms 02 1 3s819ms 3s819ms 03 1 4s120ms 4s120ms 04 2 8s260ms 4s130ms 05 2 7s813ms 3s906ms 06 1 5s395ms 5s395ms 10 4 15s656ms 3s914ms 11 1 3s914ms 3s914ms 12 5 19s937ms 3s987ms 13 10 39s866ms 3s986ms 16 5 19s942ms 3s988ms 17 1 4s115ms 4s115ms 19 2 7s979ms 3s989ms 20 1 3s974ms 3s974ms Jun 07 00 2 7s992ms 3s996ms 01 4 28s214ms 7s53ms 02 1 4s176ms 4s176ms 06 1 3s751ms 3s751ms 07 1 4s38ms 4s38ms 08 1 5s223ms 5s223ms 09 1 3s969ms 3s969ms 10 3 11s836ms 3s945ms 11 2 7s864ms 3s932ms 13 2 7s946ms 3s973ms 14 1 3s949ms 3s949ms 15 1 4s64ms 4s64ms 16 4 16s8ms 4s2ms Jun 08 01 1 3s859ms 3s859ms 02 1 3s976ms 3s976ms 03 1 3s990ms 3s990ms 06 3 11s851ms 3s950ms 07 2 7s907ms 3s953ms 09 2 8s256ms 4s128ms 11 1 5s42ms 5s42ms 12 1 4s380ms 4s380ms 14 1 4s146ms 4s146ms 15 1 3s871ms 3s871ms 16 2 8s592ms 4s296ms 21 1 3s820ms 3s820ms 23 1 3s886ms 3s886ms [ User: pubeu - Total duration: 11m27s - Times executed: 170 ]
-
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 = '1387245') 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 = '1387245') 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-06-07 01:08:38 Duration: 16s166ms 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 = '1254557') 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 = '1254557') 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-06-05 12:23:20 Duration: 9s327ms 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 = '1331988') 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 = '1331988') 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-06-04 08:08:46 Duration: 5s592ms Database: ctdprd51 User: pubeu Bind query: yes
6 23m52s 29 1s372ms 1m19s 49s403ms 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 gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 03 16 1 1s372ms 1s372ms Jun 04 04 26 23m48s 54s928ms Jun 06 22 1 1s528ms 1s528ms Jun 08 19 1 1s643ms 1s643ms [ User: pubeu - Total duration: 19m31s - Times executed: 21 ]
-
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 = '2072205') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-04 04:04:50 Duration: 1m19s 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 = '2072205') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-04 04:04:50 Duration: 1m17s 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 = '2072205') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-04 04:04:50 Duration: 1m17s Database: ctdprd51 User: pubeu Bind query: yes
7 23m17s 1 23m17s 23m17s 23m17s 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 #7
Day Hour Count Duration Avg duration Jun 08 19 1 23m17s 23m17s -
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-06-08 19:00:08 Duration: 23m17s
8 23m4s 1 23m4s 23m4s 23m4s 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 #8
Day Hour Count Duration Avg duration Jun 08 19 1 23m4s 23m4s -
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-06-08 19:40:22 Duration: 23m4s
9 19m54s 941 1s159ms 3s248ms 1s269ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 02 00 1 1s297ms 1s297ms 01 7 8s946ms 1s278ms 02 6 7s768ms 1s294ms 03 2 2s579ms 1s289ms 04 3 3s740ms 1s246ms 05 6 7s859ms 1s309ms 06 3 3s872ms 1s290ms 07 5 6s444ms 1s288ms 08 3 3s809ms 1s269ms 09 5 6s474ms 1s294ms 10 4 5s109ms 1s277ms 11 4 5s207ms 1s301ms 12 4 5s205ms 1s301ms 13 3 3s829ms 1s276ms 14 3 3s819ms 1s273ms 15 4 5s75ms 1s268ms 16 3 3s804ms 1s268ms 17 4 5s121ms 1s280ms 18 6 7s520ms 1s253ms 19 9 11s345ms 1s260ms 20 7 8s859ms 1s265ms 21 2 2s468ms 1s234ms 22 4 5s134ms 1s283ms 23 1 1s250ms 1s250ms Jun 03 00 6 7s598ms 1s266ms 01 6 7s647ms 1s274ms 02 3 3s799ms 1s266ms 03 8 10s65ms 1s258ms 04 3 3s773ms 1s257ms 05 10 12s978ms 1s297ms 06 9 11s603ms 1s289ms 07 5 6s362ms 1s272ms 08 3 3s857ms 1s285ms 09 2 2s580ms 1s290ms 10 5 6s360ms 1s272ms 11 4 5s118ms 1s279ms 13 3 5s844ms 1s948ms 14 3 3s755ms 1s251ms 15 1 1s313ms 1s313ms 16 4 5s122ms 1s280ms 17 5 6s462ms 1s292ms 18 8 10s1ms 1s250ms 19 3 3s739ms 1s246ms 20 3 3s738ms 1s246ms 21 4 4s970ms 1s242ms 22 2 2s476ms 1s238ms 23 5 6s435ms 1s287ms Jun 04 00 2 2s509ms 1s254ms 01 2 2s491ms 1s245ms 03 1 1s239ms 1s239ms 04 3 3s772ms 1s257ms 05 12 16s213ms 1s351ms 06 8 10s186ms 1s273ms 07 21 26s718ms 1s272ms 08 9 11s549ms 1s283ms 09 9 11s566ms 1s285ms 10 10 12s724ms 1s272ms 11 3 3s875ms 1s291ms 12 5 6s276ms 1s255ms 13 7 8s924ms 1s274ms 14 9 11s307ms 1s256ms 15 10 12s756ms 1s275ms 16 6 7s722ms 1s287ms 17 7 8s818ms 1s259ms 18 5 6s312ms 1s262ms 19 8 9s957ms 1s244ms 20 5 6s271ms 1s254ms 21 4 5s103ms 1s275ms 22 4 5s59ms 1s264ms 23 4 4s999ms 1s249ms Jun 05 00 6 7s411ms 1s235ms 01 10 12s408ms 1s240ms 02 11 14s23ms 1s274ms 03 10 12s338ms 1s233ms 04 3 3s682ms 1s227ms 05 14 17s891ms 1s277ms 06 4 5s91ms 1s272ms 07 9 11s575ms 1s286ms 08 8 10s260ms 1s282ms 09 14 17s765ms 1s268ms 10 9 11s424ms 1s269ms 11 6 7s702ms 1s283ms 12 14 17s880ms 1s277ms 13 11 14s40ms 1s276ms 14 8 9s885ms 1s235ms 15 10 12s348ms 1s234ms 16 13 16s416ms 1s262ms 17 14 17s700ms 1s264ms 18 13 16s341ms 1s257ms 19 5 6s141ms 1s228ms 20 13 16s130ms 1s240ms 21 3 3s709ms 1s236ms 22 15 18s911ms 1s260ms Jun 06 00 2 2s644ms 1s322ms 01 8 10s123ms 1s265ms 02 2 2s483ms 1s241ms 03 4 5s118ms 1s279ms 04 8 10s183ms 1s272ms 05 5 6s602ms 1s320ms 06 2 2s602ms 1s301ms 07 2 2s541ms 1s270ms 08 3 3s811ms 1s270ms 09 5 6s399ms 1s279ms 10 8 10s65ms 1s258ms 11 2 2s471ms 1s235ms 12 5 6s194ms 1s238ms 13 11 13s914ms 1s264ms 14 24 30s131ms 1s255ms 15 4 4s936ms 1s234ms 16 1 1s298ms 1s298ms 17 8 9s983ms 1s247ms 18 4 5s13ms 1s253ms 19 3 3s771ms 1s257ms 20 4 4s962ms 1s240ms 21 7 8s603ms 1s229ms 22 2 2s523ms 1s261ms 23 3 3s868ms 1s289ms Jun 07 00 2 2s470ms 1s235ms 01 4 4s976ms 1s244ms 02 2 2s558ms 1s279ms 03 4 4s925ms 1s231ms 05 6 7s806ms 1s301ms 06 5 6s454ms 1s290ms 07 2 2s524ms 1s262ms 08 5 6s537ms 1s307ms 09 5 6s309ms 1s261ms 10 4 5s73ms 1s268ms 11 3 3s787ms 1s262ms 12 3 3s672ms 1s224ms 13 4 5s34ms 1s258ms 14 3 3s585ms 1s195ms 15 5 6s398ms 1s279ms 16 8 10s135ms 1s266ms 17 8 9s820ms 1s227ms 18 4 4s964ms 1s241ms 19 6 7s310ms 1s218ms 20 1 1s264ms 1s264ms 21 1 1s274ms 1s274ms 22 4 5s82ms 1s270ms 23 6 7s651ms 1s275ms Jun 08 00 2 2s534ms 1s267ms 01 8 9s993ms 1s249ms 02 6 7s496ms 1s249ms 03 3 3s943ms 1s314ms 04 3 3s796ms 1s265ms 05 8 10s318ms 1s289ms 06 5 6s326ms 1s265ms 07 2 2s556ms 1s278ms 08 2 2s595ms 1s297ms 09 13 16s565ms 1s274ms 10 3 3s955ms 1s318ms 11 3 3s850ms 1s283ms 12 4 5s64ms 1s266ms 13 8 10s301ms 1s287ms 14 8 10s368ms 1s296ms 15 4 5s71ms 1s267ms 16 12 15s332ms 1s277ms 17 12 15s106ms 1s258ms 18 6 7s549ms 1s258ms 19 8 9s812ms 1s226ms 20 3 3s604ms 1s201ms 21 3 3s592ms 1s197ms 22 4 5s144ms 1s286ms 23 8 10s314ms 1s289ms [ User: pubeu - Total duration: 7m57s - Times executed: 378 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210111') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210111') 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-06-03 13:16:50 Duration: 3s248ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1241065') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1241065') 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-06-04 05:46:48 Duration: 2s11ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210114') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210114') 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-06-08 05:38:42 Duration: 1s432ms Bind query: yes
10 14m35s 24 1s794ms 3m43s 36s460ms 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 #10
Day Hour Count Duration Avg duration Jun 02 01 1 2s422ms 2s422ms 02 1 1m13s 1m13s 05 1 17s93ms 17s93ms Jun 03 01 1 2s134ms 2s134ms 12 1 31s695ms 31s695ms 18 1 41s326ms 41s326ms Jun 04 03 1 40s497ms 40s497ms 04 2 5s357ms 2s678ms 09 1 35s62ms 35s62ms 15 1 49s477ms 49s477ms 22 3 5m59s 1m59s Jun 05 02 1 2s282ms 2s282ms 14 1 36s974ms 36s974ms Jun 06 19 1 48s207ms 48s207ms Jun 07 00 1 1s928ms 1s928ms 06 1 41s813ms 41s813ms 16 1 1s794ms 1s794ms Jun 08 06 1 43s361ms 43s361ms 14 1 2s41ms 2s41ms 20 1 36s553ms 36s553ms 21 1 1s980ms 1s980ms [ User: pubeu - Total duration: 3m30s - Times executed: 6 ]
-
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 = '1387209')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-04 22:54:33 Duration: 3m43s 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 = '1426896')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-02 02:09:58 Duration: 1m13s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1387209')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-04 22:51:47 Duration: 1m8s Database: ctdprd51 User: pubeu Bind query: yes
11 14m12s 183 1s 6s651ms 4s656ms 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 #11
Day Hour Count Duration Avg duration Jun 02 01 3 15s2ms 5s 02 3 11s636ms 3s878ms 03 1 4s678ms 4s678ms 04 5 26s821ms 5s364ms 05 1 4s670ms 4s670ms 07 3 15s118ms 5s39ms 08 1 4s996ms 4s996ms 09 1 5s650ms 5s650ms 10 4 20s482ms 5s120ms 11 2 10s474ms 5s237ms 12 1 5s264ms 5s264ms 13 2 10s172ms 5s86ms 15 2 9s443ms 4s721ms 16 2 6s12ms 3s6ms 18 1 4s621ms 4s621ms 19 2 9s997ms 4s998ms 20 1 5s635ms 5s635ms 22 1 5s142ms 5s142ms Jun 03 00 1 4s695ms 4s695ms 01 2 5s763ms 2s881ms 02 3 12s244ms 4s81ms 04 4 15s767ms 3s941ms 06 3 14s785ms 4s928ms 07 3 15s399ms 5s133ms 08 3 14s374ms 4s791ms 09 1 5s620ms 5s620ms 10 2 9s755ms 4s877ms 12 1 5s391ms 5s391ms 13 5 25s553ms 5s110ms 14 2 7s651ms 3s825ms 15 2 10s18ms 5s9ms 17 2 10s274ms 5s137ms 19 1 4s614ms 4s614ms 20 2 6s283ms 3s141ms 21 2 6s377ms 3s188ms 22 1 5s403ms 5s403ms 23 2 10s420ms 5s210ms Jun 04 00 1 4s700ms 4s700ms 05 4 20s934ms 5s233ms 06 1 1s17ms 1s17ms 08 1 4s772ms 4s772ms 11 4 16s643ms 4s160ms 12 2 11s175ms 5s587ms 13 1 5s346ms 5s346ms 14 1 4s985ms 4s985ms 16 1 1s 1s 20 1 4s731ms 4s731ms 21 2 10s802ms 5s401ms 22 3 15s192ms 5s64ms 23 2 9s808ms 4s904ms Jun 05 01 4 20s114ms 5s28ms 03 3 11s74ms 3s691ms 05 1 1s31ms 1s31ms 09 1 1s12ms 1s12ms 11 2 5s854ms 2s927ms 13 2 5s713ms 2s856ms 14 1 4s762ms 4s762ms 17 1 5s513ms 5s513ms 18 1 5s613ms 5s613ms 21 4 17s776ms 4s444ms 22 1 5s723ms 5s723ms 23 1 1s9ms 1s9ms Jun 06 00 2 11s79ms 5s539ms 03 2 10s839ms 5s419ms 04 2 10s239ms 5s119ms 08 2 9s649ms 4s824ms 09 2 10s67ms 5s33ms 10 1 4s827ms 4s827ms 12 1 4s789ms 4s789ms 13 1 4s687ms 4s687ms 14 2 5s727ms 2s863ms 15 1 5s587ms 5s587ms 18 1 5s3ms 5s3ms 21 2 11s203ms 5s601ms Jun 07 01 3 15s769ms 5s256ms 02 1 5s206ms 5s206ms 04 2 10s990ms 5s495ms 05 1 5s445ms 5s445ms 07 2 9s925ms 4s962ms 08 1 4s840ms 4s840ms 09 1 5s147ms 5s147ms 10 1 1s6ms 1s6ms 14 2 10s186ms 5s93ms 16 1 5s302ms 5s302ms 17 1 5s308ms 5s308ms 18 1 5s641ms 5s641ms 20 1 5s211ms 5s211ms Jun 08 00 1 5s192ms 5s192ms 05 3 15s613ms 5s204ms 06 1 5s864ms 5s864ms 07 2 10s533ms 5s266ms 09 5 21s931ms 4s386ms 10 1 4s636ms 4s636ms 13 1 5s279ms 5s279ms 14 3 15s546ms 5s182ms 16 1 5s447ms 5s447ms 17 1 5s44ms 5s44ms 18 2 6s96ms 3s48ms 22 1 4s806ms 4s806ms [ User: pubeu - Total duration: 6m6s - Times executed: 76 ]
-
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 = '1290458' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-03 14:12:58 Duration: 6s651ms 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 = '1316373' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-08 06:24:26 Duration: 5s864ms 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 = '1276323' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-04 05:35:51 Duration: 5s834ms Database: ctdprd51 User: pubeu Bind query: yes
12 13m38s 25 32s208ms 32s972ms 32s746ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 02 06 1 32s801ms 32s801ms 10 1 32s658ms 32s658ms 14 1 32s612ms 32s612ms 18 1 32s972ms 32s972ms Jun 03 06 1 32s722ms 32s722ms 10 1 32s760ms 32s760ms 14 1 32s648ms 32s648ms 18 1 32s780ms 32s780ms Jun 04 06 1 32s631ms 32s631ms 10 1 32s913ms 32s913ms 14 1 32s692ms 32s692ms 18 1 32s766ms 32s766ms Jun 05 06 1 32s730ms 32s730ms 10 1 32s766ms 32s766ms 14 1 32s852ms 32s852ms 18 1 32s657ms 32s657ms Jun 06 06 1 32s822ms 32s822ms 10 1 32s758ms 32s758ms 14 1 32s890ms 32s890ms 18 1 32s679ms 32s679ms Jun 07 06 1 32s833ms 32s833ms 10 1 32s808ms 32s808ms 14 1 32s805ms 32s805ms 18 1 32s891ms 32s891ms Jun 08 19 1 32s208ms 32s208ms [ User: postgres - Total duration: 13m6s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m6s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-02 18:05:34 Duration: 32s972ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-04 10:05:34 Duration: 32s913ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-07 18:05:34 Duration: 32s891ms Database: ctdprd51 User: postgres Application: pg_dump
13 11m6s 3 3m38s 3m47s 3m42s select distinct primarygeneterm.acc_txt, taxonterm.acc_txt, gt.gene_acc_txt from pub1.gene_taxon gt, pub1.term primarygeneterm, pub1.term taxonterm where gt.gene_id = primarygeneterm.id and gt.taxon_id = taxonterm.id;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 07 12 3 11m6s 3m42s [ User: load - Total duration: 11m6s - Times executed: 3 ]
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-06-07 12:22:34 Duration: 3m47s Database: ctdprd51 User: load Bind query: yes
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-06-07 12:34:32 Duration: 3m40s Database: ctdprd51 User: load Bind query: yes
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-06-07 12:16:15 Duration: 3m38s Database: ctdprd51 User: load Bind query: yes
14 10m13s 112 1s406ms 23s651ms 5s474ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 03 12 6 31s131ms 5s188ms 13 5 25s492ms 5s98ms 14 2 4s6ms 2s3ms 15 6 27s25ms 4s504ms 16 5 25s412ms 5s82ms Jun 04 12 9 49s333ms 5s481ms 13 1 2s3ms 2s3ms 14 16 1m25s 5s370ms 15 7 28s771ms 4s110ms 18 1 1s997ms 1s997ms Jun 05 12 51 4m52s 5s741ms 15 3 39s253ms 13s84ms [ User: pubeu - Total duration: 1m22s - Times executed: 21 ]
-
SELECT /* BatchChemGODAO */ 'd003907' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1288145)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-06-05 12:23:46 Duration: 23s651ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd003907' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1288145)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-06-05 12:23:37 Duration: 21s249ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000077210' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1376843)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-06-04 14:58:32 Duration: 17s295ms Bind query: yes
15 6m56s 321 1s147ms 1s577ms 1s297ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 02 00 5 6s849ms 1s369ms 01 4 5s283ms 1s320ms 02 3 3s744ms 1s248ms 03 1 1s311ms 1s311ms 04 2 2s654ms 1s327ms 05 4 5s355ms 1s338ms 06 6 7s686ms 1s281ms 07 3 3s906ms 1s302ms 08 3 3s897ms 1s299ms 09 6 7s717ms 1s286ms 11 4 5s101ms 1s275ms 13 2 2s517ms 1s258ms 14 2 2s630ms 1s315ms 15 3 3s892ms 1s297ms 16 1 1s466ms 1s466ms 17 4 5s53ms 1s263ms 18 2 2s544ms 1s272ms 19 5 6s348ms 1s269ms 20 1 1s220ms 1s220ms 21 2 2s528ms 1s264ms 22 4 5s117ms 1s279ms 23 3 4s1ms 1s333ms Jun 03 00 3 3s881ms 1s293ms 01 6 7s589ms 1s264ms 02 1 1s295ms 1s295ms 03 6 7s940ms 1s323ms 04 2 2s601ms 1s300ms 05 7 9s364ms 1s337ms 06 6 7s676ms 1s279ms 07 6 7s683ms 1s280ms 08 2 2s628ms 1s314ms 09 6 7s938ms 1s323ms 11 1 1s242ms 1s242ms 12 2 2s638ms 1s319ms 13 3 3s803ms 1s267ms 14 1 1s241ms 1s241ms 15 3 3s927ms 1s309ms 16 4 5s196ms 1s299ms 17 1 1s245ms 1s245ms 18 4 5s405ms 1s351ms 19 1 1s236ms 1s236ms 20 2 2s434ms 1s217ms 21 3 3s936ms 1s312ms 22 4 5s146ms 1s286ms 23 1 1s291ms 1s291ms Jun 04 00 2 2s441ms 1s220ms 01 1 1s333ms 1s333ms 02 3 3s768ms 1s256ms 03 2 2s536ms 1s268ms 04 2 2s491ms 1s245ms 05 7 9s458ms 1s351ms 06 3 3s803ms 1s267ms 07 2 2s563ms 1s281ms 08 2 2s634ms 1s317ms 09 2 2s604ms 1s302ms 11 1 1s258ms 1s258ms 12 2 2s560ms 1s280ms 13 2 2s639ms 1s319ms 14 3 3s907ms 1s302ms 15 2 2s619ms 1s309ms 17 2 2s547ms 1s273ms 18 2 2s553ms 1s276ms 19 1 1s296ms 1s296ms 22 2 2s631ms 1s315ms 23 1 1s306ms 1s306ms Jun 05 00 1 1s300ms 1s300ms 02 2 2s523ms 1s261ms 03 2 2s701ms 1s350ms 04 3 3s915ms 1s305ms 05 7 9s91ms 1s298ms 06 1 1s219ms 1s219ms 07 1 1s368ms 1s368ms 08 1 1s301ms 1s301ms 09 4 5s141ms 1s285ms 12 1 1s307ms 1s307ms 13 1 1s336ms 1s336ms 14 3 3s923ms 1s307ms 16 1 1s278ms 1s278ms 18 1 1s349ms 1s349ms 19 1 1s277ms 1s277ms 20 2 2s473ms 1s236ms 21 1 1s335ms 1s335ms 22 2 2s614ms 1s307ms 23 1 1s294ms 1s294ms Jun 06 01 3 3s922ms 1s307ms 02 2 2s539ms 1s269ms 03 2 2s664ms 1s332ms 05 2 2s848ms 1s424ms 06 1 1s315ms 1s315ms 10 1 1s343ms 1s343ms 11 2 2s552ms 1s276ms 12 4 5s75ms 1s268ms 13 2 2s518ms 1s259ms 15 1 1s295ms 1s295ms 16 1 1s208ms 1s208ms 21 1 1s262ms 1s262ms 23 3 4s36ms 1s345ms Jun 07 00 2 2s588ms 1s294ms 01 1 1s296ms 1s296ms 02 2 2s591ms 1s295ms 04 1 1s215ms 1s215ms 05 2 2s815ms 1s407ms 08 5 6s443ms 1s288ms 09 1 1s265ms 1s265ms 11 1 1s185ms 1s185ms 12 1 1s315ms 1s315ms 13 1 1s233ms 1s233ms 14 1 1s340ms 1s340ms 15 3 3s978ms 1s326ms 16 1 1s220ms 1s220ms 17 2 2s577ms 1s288ms 18 1 1s223ms 1s223ms 19 1 1s354ms 1s354ms 20 1 1s348ms 1s348ms 21 4 5s141ms 1s285ms 22 2 2s532ms 1s266ms 23 1 1s253ms 1s253ms Jun 08 00 2 2s538ms 1s269ms 01 3 3s850ms 1s283ms 02 1 1s268ms 1s268ms 03 1 1s205ms 1s205ms 05 5 6s720ms 1s344ms 06 1 1s340ms 1s340ms 07 1 1s315ms 1s315ms 08 1 1s304ms 1s304ms 09 2 2s546ms 1s273ms 10 1 1s399ms 1s399ms 13 1 1s241ms 1s241ms 14 3 3s924ms 1s308ms 15 3 3s945ms 1s315ms 16 2 2s692ms 1s346ms 17 2 2s723ms 1s361ms 18 1 1s242ms 1s242ms 19 2 2s365ms 1s182ms 21 2 2s485ms 1s242ms 22 2 2s582ms 1s291ms 23 1 1s296ms 1s296ms [ User: pubeu - Total duration: 2m57s - Times executed: 137 ]
[ User: qaeu - Total duration: 9s837ms - Times executed: 7 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073677') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073677') 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-06-02 00:05:08 Duration: 1s577ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2071644') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2071644') 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-06-03 18:50:40 Duration: 1s490ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2075501') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2075501') 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-06-04 05:01:54 Duration: 1s478ms Bind query: yes
16 6m55s 161 1s6ms 11s104ms 2s580ms 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 Jun 02 00 2 2s508ms 1s254ms 01 1 2s429ms 2s429ms 04 1 4s824ms 4s824ms 05 1 3s95ms 3s95ms 06 2 7s852ms 3s926ms 07 2 3s999ms 1s999ms 08 4 6s452ms 1s613ms 09 3 9s165ms 3s55ms 10 1 2s637ms 2s637ms 11 2 6s62ms 3s31ms 12 1 1s6ms 1s6ms 14 1 5s45ms 5s45ms 15 1 2s430ms 2s430ms 16 1 2s905ms 2s905ms 17 2 7s516ms 3s758ms 18 2 5s381ms 2s690ms 19 1 1s176ms 1s176ms 20 2 11s728ms 5s864ms 21 1 5s833ms 5s833ms Jun 03 00 4 16s832ms 4s208ms 01 1 1s30ms 1s30ms 02 1 4s812ms 4s812ms 03 1 1s254ms 1s254ms 04 1 1s796ms 1s796ms 06 2 5s491ms 2s745ms 07 2 6s58ms 3s29ms 08 2 6s820ms 3s410ms 15 1 3s665ms 3s665ms 16 2 3s647ms 1s823ms 17 1 5s313ms 5s313ms 18 3 9s65ms 3s21ms 19 3 4s851ms 1s617ms 21 5 10s222ms 2s44ms 22 3 4s961ms 1s653ms Jun 04 00 1 5s951ms 5s951ms 01 1 1s123ms 1s123ms 02 2 2s573ms 1s286ms 04 2 6s342ms 3s171ms 06 2 3s94ms 1s547ms 07 1 2s480ms 2s480ms 14 1 1s127ms 1s127ms 15 11 38s531ms 3s502ms 18 1 1s39ms 1s39ms 19 1 2s540ms 2s540ms 22 2 3s427ms 1s713ms 23 2 4s95ms 2s47ms Jun 05 01 2 5s425ms 2s712ms 03 3 7s275ms 2s425ms 04 3 5s91ms 1s697ms 06 2 5s412ms 2s706ms 08 3 8s391ms 2s797ms 09 2 4s324ms 2s162ms 22 2 3s663ms 1s831ms Jun 06 00 1 1s398ms 1s398ms 03 1 1s502ms 1s502ms 05 1 2s711ms 2s711ms 10 2 5s743ms 2s871ms 12 2 2s192ms 1s96ms 13 3 9s979ms 3s326ms 20 2 3s525ms 1s762ms 23 2 3s309ms 1s654ms Jun 07 00 1 2s40ms 2s40ms 04 1 5s955ms 5s955ms 08 2 3s959ms 1s979ms 10 2 5s244ms 2s622ms 11 1 1s148ms 1s148ms 13 1 1s536ms 1s536ms 14 1 1s221ms 1s221ms 17 2 3s477ms 1s738ms 18 3 5s79ms 1s693ms 19 1 1s104ms 1s104ms 20 1 1s369ms 1s369ms Jun 08 00 3 9s451ms 3s150ms 04 1 1s126ms 1s126ms 05 1 4s555ms 4s555ms 06 1 2s751ms 2s751ms 07 1 1s280ms 1s280ms 10 1 1s291ms 1s291ms 12 2 4s287ms 2s143ms 13 4 16s465ms 4s116ms 14 1 4s696ms 4s696ms 15 1 1s255ms 1s255ms 20 2 3s757ms 1s878ms 21 3 7s187ms 2s395ms 22 1 2s396ms 2s396ms 23 2 2s723ms 1s361ms [ User: pubeu - Total duration: 3m2s - Times executed: 73 ]
-
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 = '2079199') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-04 15:21:37 Duration: 11s104ms 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 = '2079199') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-02 20:29:10 Duration: 10s453ms 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 = '2080358') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-03 18:54:08 Duration: 6s794ms Bind query: yes
17 6m53s 14 28s174ms 30s902ms 29s559ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 02 08 2 1m 30s185ms 09 10 4m55s 29s579ms 10 2 57s667ms 28s833ms [ User: pubeu - Total duration: 2m57s - Times executed: 6 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'A12\_3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0003674' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05330' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CROWN COMPOUNDS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-06-02 08:59:50 Duration: 30s902ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RPS18') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0003674' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-177162' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'POLY(KETAL ADIPATE)-CO-POLY(ETHYLENE GLYCOL)' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-06-02 09:43:57 Duration: 30s574ms Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'P53') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0003674' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-1296065' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'POLY(KETAL ADIPATE)-CO-POLY(ETHYLENE GLYCOL)' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-06-02 09:12:34 Duration: 30s557ms Bind query: yes
18 6m42s 1 6m42s 6m42s 6m42s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 08 19 1 6m42s 6m42s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-06-08 19:11:39 Duration: 6m42s
19 6m42s 1 6m42s 6m42s 6m42s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 08 19 1 6m42s 6m42s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-06-08 19:51:44 Duration: 6m42s
20 5m56s 91 1s68ms 44s638ms 3s919ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 02 02 7 8s143ms 1s163ms 03 3 3s527ms 1s175ms 04 1 11s441ms 11s441ms 08 1 3s361ms 3s361ms 09 2 1m28s 44s401ms 10 1 1s586ms 1s586ms 18 1 1s121ms 1s121ms 19 1 1s536ms 1s536ms 21 6 8s308ms 1s384ms 23 1 1s95ms 1s95ms Jun 03 00 1 43s602ms 43s602ms 02 1 3s111ms 3s111ms 08 1 1s383ms 1s383ms 09 1 2s27ms 2s27ms 10 2 3s60ms 1s530ms 11 1 1s515ms 1s515ms 13 2 2s343ms 1s171ms 16 1 1s147ms 1s147ms 21 2 21s854ms 10s927ms Jun 04 02 1 1s428ms 1s428ms 03 3 6s107ms 2s35ms 09 3 4s609ms 1s536ms 10 10 14s720ms 1s472ms 11 1 1s188ms 1s188ms 15 1 3s102ms 3s102ms 17 1 1s438ms 1s438ms 18 1 1s91ms 1s91ms 19 1 1s493ms 1s493ms 23 1 3s202ms 3s202ms Jun 05 02 1 11s233ms 11s233ms 04 2 4s266ms 2s133ms 06 1 1s194ms 1s194ms 08 1 1s337ms 1s337ms 09 2 3s554ms 1s777ms 10 3 4s719ms 1s573ms 14 1 11s318ms 11s318ms 18 1 1s189ms 1s189ms 20 1 1s152ms 1s152ms Jun 06 10 1 1s563ms 1s563ms 19 2 2s660ms 1s330ms 22 2 3s809ms 1s904ms 23 1 1s804ms 1s804ms Jun 07 00 1 3s238ms 3s238ms 03 1 11s395ms 11s395ms 08 1 1s434ms 1s434ms 09 1 1s884ms 1s884ms 17 1 3s150ms 3s150ms 18 1 1s143ms 1s143ms Jun 08 00 1 18s203ms 18s203ms 06 1 1s872ms 1s872ms 07 2 13s15ms 6s507ms 10 1 1s533ms 1s533ms 18 1 1s68ms 1s68ms 19 1 1s548ms 1s548ms [ User: pubeu - Total duration: 3m18s - Times executed: 41 ]
-
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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-02 09:40:59 Duration: 44s638ms 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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-02 09:45:07 Duration: 44s164ms 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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-03 00:11:57 Duration: 43s602ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 3,774 1d13h29m16s 1s111ms 45s111ms 35s759ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 02 00 4 20s747ms 5s186ms 01 1 1s613ms 1s613ms 03 3 16s39ms 5s346ms 04 2 7s686ms 3s843ms 05 3 7s34ms 2s344ms 06 1 1s589ms 1s589ms 07 3 11s517ms 3s839ms 09 1 6s380ms 6s380ms 10 5 18s892ms 3s778ms 11 1 2s83ms 2s83ms 12 2 7s947ms 3s973ms 13 1 3s995ms 3s995ms 14 3 21s187ms 7s62ms 15 2 6s960ms 3s480ms 16 2 6s529ms 3s264ms 18 2 10s17ms 5s8ms 19 3 6s367ms 2s122ms 20 3 12s647ms 4s215ms 21 3 21s810ms 7s270ms 22 2 7s439ms 3s719ms 23 3 16s915ms 5s638ms Jun 03 00 2 5s307ms 2s653ms 01 3 19s954ms 6s651ms 02 2 12s622ms 6s311ms 04 6 33s127ms 5s521ms 05 2 5s904ms 2s952ms 06 1 2s159ms 2s159ms 07 3 21s731ms 7s243ms 08 2 10s792ms 5s396ms 09 3 10s117ms 3s372ms 10 2 11s904ms 5s952ms 11 1 2s744ms 2s744ms 12 1 4s19ms 4s19ms 13 1 3s621ms 3s621ms 14 1 5s348ms 5s348ms 15 2 8s848ms 4s424ms 16 3 8s130ms 2s710ms 17 1 6s718ms 6s718ms 18 5 20s371ms 4s74ms 19 1 5s138ms 5s138ms 20 5 20s146ms 4s29ms 21 1 2s478ms 2s478ms 22 2 7s402ms 3s701ms Jun 04 00 1 5s943ms 5s943ms 02 5 27s485ms 5s497ms 03 1 4s964ms 4s964ms 04 1 1s231ms 1s231ms 05 4 21s471ms 5s367ms 06 2 9s658ms 4s829ms 08 2 20s247ms 10s123ms 09 4 25s172ms 6s293ms 10 2 3s660ms 1s830ms 11 6 22s221ms 3s703ms 15 1 23s40ms 23s40ms 16 2 9s261ms 4s630ms 18 1 2s348ms 2s348ms 19 72 43m23s 36s160ms 20 94 56m44s 36s220ms 21 95 56m53s 35s928ms 22 93 56m41s 36s577ms 23 93 56m8s 36s217ms Jun 05 00 94 57m12s 36s517ms 01 93 56m15s 36s296ms 02 94 56m59s 36s374ms 03 92 56m42s 36s983ms 04 99 56m56s 34s513ms 05 55 34m 37s103ms 07 1 4s526ms 4s526ms 13 2 3s909ms 1s954ms 14 1 2s536ms 2s536ms 16 1 18s434ms 18s434ms 20 1 1s174ms 1s174ms 21 1 18s158ms 18s158ms Jun 06 01 1 1s343ms 1s343ms 05 2 4s256ms 2s128ms 07 2 7s381ms 3s690ms 10 4 4s818ms 1s204ms 12 2 6s241ms 3s120ms 14 2 2s443ms 1s221ms 18 12 7m20s 36s706ms 19 94 56m58s 36s362ms 20 93 56m55s 36s725ms 21 93 56m36s 36s523ms 22 93 56m44s 36s612ms 23 92 56m46s 37s21ms Jun 07 00 93 56m49s 36s662ms 01 93 56m39s 36s558ms 02 92 56m44s 37s6ms 03 92 57m13s 37s326ms 04 91 56m42s 37s388ms 05 54 33m53s 37s664ms 06 1 1s187ms 1s187ms 09 1 4s738ms 4s738ms 11 76 47m13s 37s288ms 12 86 53m31s 37s337ms 13 81 51m8s 37s885ms 14 90 56m38s 37s760ms 15 91 56m57s 37s550ms 16 89 56m25s 38s40ms 17 90 57m1s 38s14ms 18 89 56m26s 38s49ms 19 90 57m11s 38s125ms 20 89 56m37s 38s178ms 21 90 56m44s 37s829ms 22 89 56m46s 38s278ms 23 92 57m33s 37s537ms Jun 08 00 88 56m19s 38s407ms 01 91 57m25s 37s864ms 02 88 56m31s 38s534ms 03 89 57m15s 38s597ms 04 89 56m46s 38s278ms 05 54 34m12s 38s11ms 07 2 19s364ms 9s682ms 09 1 14s979ms 14s979ms 10 2 9s68ms 4s534ms 13 2 7s962ms 3s981ms 14 1 14s667ms 14s667ms 20 2 8s220ms 4s110ms 21 2 6s146ms 3s73ms 23 1 1s188ms 1s188ms [ User: pubeu - Total duration: 1d6h36m55s - Times executed: 3015 ]
-
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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1680850;
Date: 2024-06-04 22:51:31 Duration: 45s111ms 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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1751300;
Date: 2024-06-07 03:24:41 Duration: 40s154ms 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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1818800;
Date: 2024-06-08 00:02:00 Duration: 39s973ms Database: ctdprd51 User: pubeu Bind query: yes
2 2,891 56m17s 1s63ms 1s301ms 1s168ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 02 00 15 17s535ms 1s169ms 01 23 27s113ms 1s178ms 02 35 41s427ms 1s183ms 03 25 29s535ms 1s181ms 04 23 27s69ms 1s176ms 05 24 28s550ms 1s189ms 06 28 32s738ms 1s169ms 07 17 19s891ms 1s170ms 08 24 28s81ms 1s170ms 09 34 39s793ms 1s170ms 10 22 25s697ms 1s168ms 11 25 29s331ms 1s173ms 12 17 19s958ms 1s174ms 13 16 18s691ms 1s168ms 14 12 14s81ms 1s173ms 15 32 37s490ms 1s171ms 16 27 31s728ms 1s175ms 17 25 29s181ms 1s167ms 18 30 34s448ms 1s148ms 19 21 24s101ms 1s147ms 20 24 27s774ms 1s157ms 21 30 34s877ms 1s162ms 22 18 21s234ms 1s179ms 23 34 39s977ms 1s175ms Jun 03 00 31 36s416ms 1s174ms 01 20 23s587ms 1s179ms 02 15 17s714ms 1s180ms 03 26 30s554ms 1s175ms 04 24 28s132ms 1s172ms 05 25 29s205ms 1s168ms 06 22 25s658ms 1s166ms 07 16 18s735ms 1s170ms 08 23 27s128ms 1s179ms 09 20 23s343ms 1s167ms 10 17 20s99ms 1s182ms 11 15 17s705ms 1s180ms 12 35 41s361ms 1s181ms 13 22 25s766ms 1s171ms 14 14 16s45ms 1s146ms 15 14 16s502ms 1s178ms 16 27 32s23ms 1s186ms 17 21 24s696ms 1s176ms 18 23 26s383ms 1s147ms 19 18 20s839ms 1s157ms 20 22 25s485ms 1s158ms 21 26 30s10ms 1s154ms 22 18 21s312ms 1s184ms 23 20 23s826ms 1s191ms Jun 04 00 15 17s671ms 1s178ms 01 24 28s559ms 1s189ms 02 14 16s590ms 1s185ms 03 22 25s794ms 1s172ms 04 16 18s747ms 1s171ms 05 18 21s417ms 1s189ms 06 22 25s767ms 1s171ms 07 18 21s261ms 1s181ms 08 23 27s104ms 1s178ms 09 20 23s514ms 1s175ms 10 24 28s457ms 1s185ms 11 17 19s876ms 1s169ms 12 11 13s75ms 1s188ms 13 15 17s668ms 1s177ms 14 12 14s56ms 1s171ms 15 13 15s488ms 1s191ms 16 7 8s347ms 1s192ms 17 15 17s620ms 1s174ms 18 12 13s852ms 1s154ms 19 16 18s278ms 1s142ms 20 7 8s128ms 1s161ms 21 8 9s20ms 1s127ms 22 9 10s458ms 1s162ms 23 17 19s761ms 1s162ms Jun 05 00 13 15s2ms 1s154ms 01 6 6s900ms 1s150ms 02 12 13s926ms 1s160ms 03 12 13s807ms 1s150ms 04 11 13s29ms 1s184ms 05 18 21s285ms 1s182ms 06 9 10s622ms 1s180ms 07 15 17s627ms 1s175ms 08 8 9s406ms 1s175ms 09 17 19s879ms 1s169ms 10 12 14s79ms 1s173ms 11 12 13s903ms 1s158ms 12 13 15s384ms 1s183ms 13 24 28s507ms 1s187ms 14 13 14s942ms 1s149ms 15 14 16s301ms 1s164ms 16 27 31s479ms 1s165ms 17 25 29s3ms 1s160ms 18 23 26s486ms 1s151ms 19 7 8s98ms 1s156ms 20 11 12s743ms 1s158ms 21 8 9s233ms 1s154ms 22 16 18s730ms 1s170ms 23 1 1s215ms 1s215ms Jun 06 00 9 10s420ms 1s157ms 01 18 21s309ms 1s183ms 02 4 4s697ms 1s174ms 03 8 9s467ms 1s183ms 04 20 23s322ms 1s166ms 05 12 14s367ms 1s197ms 06 13 15s275ms 1s175ms 07 6 7s17ms 1s169ms 08 26 30s991ms 1s191ms 09 25 29s575ms 1s183ms 10 17 19s693ms 1s158ms 11 13 15s157ms 1s165ms 12 15 17s426ms 1s161ms 13 18 20s996ms 1s166ms 14 21 24s169ms 1s150ms 15 13 15s131ms 1s163ms 16 8 9s346ms 1s168ms 17 22 25s657ms 1s166ms 18 10 11s614ms 1s161ms 19 8 9s242ms 1s155ms 20 24 27s589ms 1s149ms 21 12 13s786ms 1s148ms 22 5 5s833ms 1s166ms 23 13 15s288ms 1s176ms Jun 07 00 32 37s301ms 1s165ms 01 18 21s26ms 1s168ms 02 10 11s681ms 1s168ms 03 20 23s353ms 1s167ms 04 12 13s958ms 1s163ms 05 16 18s785ms 1s174ms 06 13 15s374ms 1s182ms 07 13 15s151ms 1s165ms 08 14 16s505ms 1s178ms 09 17 19s955ms 1s173ms 10 16 18s749ms 1s171ms 11 7 7s837ms 1s119ms 12 11 12s444ms 1s131ms 13 15 17s5ms 1s133ms 14 24 27s277ms 1s136ms 15 21 24s282ms 1s156ms 16 18 20s846ms 1s158ms 17 12 13s883ms 1s156ms 18 24 27s413ms 1s142ms 19 10 11s268ms 1s126ms 20 14 15s811ms 1s129ms 21 11 12s325ms 1s120ms 22 12 14s205ms 1s183ms 23 12 13s932ms 1s161ms Jun 08 00 12 13s804ms 1s150ms 01 15 17s424ms 1s161ms 02 21 24s418ms 1s162ms 03 7 8s71ms 1s153ms 04 10 11s473ms 1s147ms 05 19 22s702ms 1s194ms 06 18 21s143ms 1s174ms 07 8 9s329ms 1s166ms 08 17 20s83ms 1s181ms 09 36 42s469ms 1s179ms 10 11 13s47ms 1s186ms 11 11 12s972ms 1s179ms 12 22 25s966ms 1s180ms 13 4 4s693ms 1s173ms 14 8 9s360ms 1s170ms 15 19 22s505ms 1s184ms 16 15 17s553ms 1s170ms 17 24 28s295ms 1s178ms 18 23 26s715ms 1s161ms 19 29 32s445ms 1s118ms 20 10 11s147ms 1s114ms 21 21 23s461ms 1s117ms 22 11 12s929ms 1s175ms 23 11 13s12ms 1s182ms [ User: pubeu - Total duration: 24m10s - Times executed: 1245 ]
-
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 = '1431600' or receptorTerm.id = '1431600' 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-06-06 05:38:36 Duration: 1s301ms 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 = '1431600' or receptorTerm.id = '1431600' 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-06-05 05:43:38 Duration: 1s300ms 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 = '1431600' or receptorTerm.id = '1431600' 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-06-06 05:43:39 Duration: 1s294ms Bind query: yes
3 941 19m54s 1s159ms 3s248ms 1s269ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 02 00 1 1s297ms 1s297ms 01 7 8s946ms 1s278ms 02 6 7s768ms 1s294ms 03 2 2s579ms 1s289ms 04 3 3s740ms 1s246ms 05 6 7s859ms 1s309ms 06 3 3s872ms 1s290ms 07 5 6s444ms 1s288ms 08 3 3s809ms 1s269ms 09 5 6s474ms 1s294ms 10 4 5s109ms 1s277ms 11 4 5s207ms 1s301ms 12 4 5s205ms 1s301ms 13 3 3s829ms 1s276ms 14 3 3s819ms 1s273ms 15 4 5s75ms 1s268ms 16 3 3s804ms 1s268ms 17 4 5s121ms 1s280ms 18 6 7s520ms 1s253ms 19 9 11s345ms 1s260ms 20 7 8s859ms 1s265ms 21 2 2s468ms 1s234ms 22 4 5s134ms 1s283ms 23 1 1s250ms 1s250ms Jun 03 00 6 7s598ms 1s266ms 01 6 7s647ms 1s274ms 02 3 3s799ms 1s266ms 03 8 10s65ms 1s258ms 04 3 3s773ms 1s257ms 05 10 12s978ms 1s297ms 06 9 11s603ms 1s289ms 07 5 6s362ms 1s272ms 08 3 3s857ms 1s285ms 09 2 2s580ms 1s290ms 10 5 6s360ms 1s272ms 11 4 5s118ms 1s279ms 13 3 5s844ms 1s948ms 14 3 3s755ms 1s251ms 15 1 1s313ms 1s313ms 16 4 5s122ms 1s280ms 17 5 6s462ms 1s292ms 18 8 10s1ms 1s250ms 19 3 3s739ms 1s246ms 20 3 3s738ms 1s246ms 21 4 4s970ms 1s242ms 22 2 2s476ms 1s238ms 23 5 6s435ms 1s287ms Jun 04 00 2 2s509ms 1s254ms 01 2 2s491ms 1s245ms 03 1 1s239ms 1s239ms 04 3 3s772ms 1s257ms 05 12 16s213ms 1s351ms 06 8 10s186ms 1s273ms 07 21 26s718ms 1s272ms 08 9 11s549ms 1s283ms 09 9 11s566ms 1s285ms 10 10 12s724ms 1s272ms 11 3 3s875ms 1s291ms 12 5 6s276ms 1s255ms 13 7 8s924ms 1s274ms 14 9 11s307ms 1s256ms 15 10 12s756ms 1s275ms 16 6 7s722ms 1s287ms 17 7 8s818ms 1s259ms 18 5 6s312ms 1s262ms 19 8 9s957ms 1s244ms 20 5 6s271ms 1s254ms 21 4 5s103ms 1s275ms 22 4 5s59ms 1s264ms 23 4 4s999ms 1s249ms Jun 05 00 6 7s411ms 1s235ms 01 10 12s408ms 1s240ms 02 11 14s23ms 1s274ms 03 10 12s338ms 1s233ms 04 3 3s682ms 1s227ms 05 14 17s891ms 1s277ms 06 4 5s91ms 1s272ms 07 9 11s575ms 1s286ms 08 8 10s260ms 1s282ms 09 14 17s765ms 1s268ms 10 9 11s424ms 1s269ms 11 6 7s702ms 1s283ms 12 14 17s880ms 1s277ms 13 11 14s40ms 1s276ms 14 8 9s885ms 1s235ms 15 10 12s348ms 1s234ms 16 13 16s416ms 1s262ms 17 14 17s700ms 1s264ms 18 13 16s341ms 1s257ms 19 5 6s141ms 1s228ms 20 13 16s130ms 1s240ms 21 3 3s709ms 1s236ms 22 15 18s911ms 1s260ms Jun 06 00 2 2s644ms 1s322ms 01 8 10s123ms 1s265ms 02 2 2s483ms 1s241ms 03 4 5s118ms 1s279ms 04 8 10s183ms 1s272ms 05 5 6s602ms 1s320ms 06 2 2s602ms 1s301ms 07 2 2s541ms 1s270ms 08 3 3s811ms 1s270ms 09 5 6s399ms 1s279ms 10 8 10s65ms 1s258ms 11 2 2s471ms 1s235ms 12 5 6s194ms 1s238ms 13 11 13s914ms 1s264ms 14 24 30s131ms 1s255ms 15 4 4s936ms 1s234ms 16 1 1s298ms 1s298ms 17 8 9s983ms 1s247ms 18 4 5s13ms 1s253ms 19 3 3s771ms 1s257ms 20 4 4s962ms 1s240ms 21 7 8s603ms 1s229ms 22 2 2s523ms 1s261ms 23 3 3s868ms 1s289ms Jun 07 00 2 2s470ms 1s235ms 01 4 4s976ms 1s244ms 02 2 2s558ms 1s279ms 03 4 4s925ms 1s231ms 05 6 7s806ms 1s301ms 06 5 6s454ms 1s290ms 07 2 2s524ms 1s262ms 08 5 6s537ms 1s307ms 09 5 6s309ms 1s261ms 10 4 5s73ms 1s268ms 11 3 3s787ms 1s262ms 12 3 3s672ms 1s224ms 13 4 5s34ms 1s258ms 14 3 3s585ms 1s195ms 15 5 6s398ms 1s279ms 16 8 10s135ms 1s266ms 17 8 9s820ms 1s227ms 18 4 4s964ms 1s241ms 19 6 7s310ms 1s218ms 20 1 1s264ms 1s264ms 21 1 1s274ms 1s274ms 22 4 5s82ms 1s270ms 23 6 7s651ms 1s275ms Jun 08 00 2 2s534ms 1s267ms 01 8 9s993ms 1s249ms 02 6 7s496ms 1s249ms 03 3 3s943ms 1s314ms 04 3 3s796ms 1s265ms 05 8 10s318ms 1s289ms 06 5 6s326ms 1s265ms 07 2 2s556ms 1s278ms 08 2 2s595ms 1s297ms 09 13 16s565ms 1s274ms 10 3 3s955ms 1s318ms 11 3 3s850ms 1s283ms 12 4 5s64ms 1s266ms 13 8 10s301ms 1s287ms 14 8 10s368ms 1s296ms 15 4 5s71ms 1s267ms 16 12 15s332ms 1s277ms 17 12 15s106ms 1s258ms 18 6 7s549ms 1s258ms 19 8 9s812ms 1s226ms 20 3 3s604ms 1s201ms 21 3 3s592ms 1s197ms 22 4 5s144ms 1s286ms 23 8 10s314ms 1s289ms [ User: pubeu - Total duration: 7m57s - Times executed: 378 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210111') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210111') 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-06-03 13:16:50 Duration: 3s248ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1241065') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1241065') 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-06-04 05:46:48 Duration: 2s11ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210114') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210114') 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-06-08 05:38:42 Duration: 1s432ms Bind query: yes
4 402 27m9s 3s744ms 16s166ms 4s54ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 02 00 1 4s142ms 4s142ms 02 1 3s789ms 3s789ms 03 3 11s954ms 3s984ms 04 7 27s250ms 3s892ms 07 2 7s907ms 3s953ms 08 1 3s936ms 3s936ms 09 3 11s696ms 3s898ms 10 1 5s320ms 5s320ms 15 1 3s968ms 3s968ms 20 2 7s826ms 3s913ms 21 3 11s465ms 3s821ms 22 8 31s679ms 3s959ms 23 2 7s984ms 3s992ms Jun 03 00 6 23s554ms 3s925ms 01 6 23s288ms 3s881ms 02 5 19s528ms 3s905ms 03 3 11s702ms 3s900ms 04 7 27s750ms 3s964ms 05 1 3s903ms 3s903ms 06 2 8s135ms 4s67ms 07 3 11s513ms 3s837ms 08 1 4s30ms 4s30ms 09 11 43s513ms 3s955ms 10 4 15s987ms 3s996ms 11 4 16s316ms 4s79ms 12 2 8s11ms 4s5ms 14 6 23s498ms 3s916ms 15 6 23s551ms 3s925ms 17 2 7s722ms 3s861ms 18 1 4s211ms 4s211ms 21 4 15s947ms 3s986ms 23 3 11s677ms 3s892ms Jun 04 00 1 3s959ms 3s959ms 02 3 11s901ms 3s967ms 03 5 19s648ms 3s929ms 04 2 8s65ms 4s32ms 05 1 4s34ms 4s34ms 06 5 19s345ms 3s869ms 07 4 15s611ms 3s902ms 08 60 4m2s 4s43ms 09 34 2m23s 4s209ms 10 3 11s824ms 3s941ms 11 2 7s881ms 3s940ms 12 6 23s318ms 3s886ms 13 1 3s884ms 3s884ms 15 1 3s814ms 3s814ms 16 4 16s215ms 4s53ms 17 2 7s787ms 3s893ms 18 2 8s149ms 4s74ms 20 1 4s127ms 4s127ms 21 3 11s883ms 3s961ms 22 1 4s393ms 4s393ms 23 1 4s48ms 4s48ms Jun 05 00 9 36s550ms 4s61ms 01 4 16s264ms 4s66ms 02 1 3s993ms 3s993ms 03 7 27s639ms 3s948ms 04 2 7s880ms 3s940ms 05 4 15s514ms 3s878ms 07 1 3s854ms 3s854ms 08 4 15s772ms 3s943ms 09 1 3s891ms 3s891ms 10 3 11s802ms 3s934ms 12 18 1m17s 4s305ms 13 3 11s812ms 3s937ms 15 1 3s995ms 3s995ms 17 1 3s865ms 3s865ms 18 3 12s17ms 4s5ms 21 1 4s338ms 4s338ms 22 1 3s994ms 3s994ms 23 1 3s955ms 3s955ms Jun 06 00 3 11s500ms 3s833ms 01 2 7s833ms 3s916ms 02 1 3s819ms 3s819ms 03 1 4s120ms 4s120ms 04 2 8s260ms 4s130ms 05 2 7s813ms 3s906ms 06 1 5s395ms 5s395ms 10 4 15s656ms 3s914ms 11 1 3s914ms 3s914ms 12 5 19s937ms 3s987ms 13 10 39s866ms 3s986ms 16 5 19s942ms 3s988ms 17 1 4s115ms 4s115ms 19 2 7s979ms 3s989ms 20 1 3s974ms 3s974ms Jun 07 00 2 7s992ms 3s996ms 01 4 28s214ms 7s53ms 02 1 4s176ms 4s176ms 06 1 3s751ms 3s751ms 07 1 4s38ms 4s38ms 08 1 5s223ms 5s223ms 09 1 3s969ms 3s969ms 10 3 11s836ms 3s945ms 11 2 7s864ms 3s932ms 13 2 7s946ms 3s973ms 14 1 3s949ms 3s949ms 15 1 4s64ms 4s64ms 16 4 16s8ms 4s2ms Jun 08 01 1 3s859ms 3s859ms 02 1 3s976ms 3s976ms 03 1 3s990ms 3s990ms 06 3 11s851ms 3s950ms 07 2 7s907ms 3s953ms 09 2 8s256ms 4s128ms 11 1 5s42ms 5s42ms 12 1 4s380ms 4s380ms 14 1 4s146ms 4s146ms 15 1 3s871ms 3s871ms 16 2 8s592ms 4s296ms 21 1 3s820ms 3s820ms 23 1 3s886ms 3s886ms [ User: pubeu - Total duration: 11m27s - Times executed: 170 ]
-
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 = '1387245') 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 = '1387245') 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-06-07 01:08:38 Duration: 16s166ms 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 = '1254557') 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 = '1254557') 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-06-05 12:23:20 Duration: 9s327ms 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 = '1331988') 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 = '1331988') 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-06-04 08:08:46 Duration: 5s592ms Database: ctdprd51 User: pubeu Bind query: yes
5 321 6m56s 1s147ms 1s577ms 1s297ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 02 00 5 6s849ms 1s369ms 01 4 5s283ms 1s320ms 02 3 3s744ms 1s248ms 03 1 1s311ms 1s311ms 04 2 2s654ms 1s327ms 05 4 5s355ms 1s338ms 06 6 7s686ms 1s281ms 07 3 3s906ms 1s302ms 08 3 3s897ms 1s299ms 09 6 7s717ms 1s286ms 11 4 5s101ms 1s275ms 13 2 2s517ms 1s258ms 14 2 2s630ms 1s315ms 15 3 3s892ms 1s297ms 16 1 1s466ms 1s466ms 17 4 5s53ms 1s263ms 18 2 2s544ms 1s272ms 19 5 6s348ms 1s269ms 20 1 1s220ms 1s220ms 21 2 2s528ms 1s264ms 22 4 5s117ms 1s279ms 23 3 4s1ms 1s333ms Jun 03 00 3 3s881ms 1s293ms 01 6 7s589ms 1s264ms 02 1 1s295ms 1s295ms 03 6 7s940ms 1s323ms 04 2 2s601ms 1s300ms 05 7 9s364ms 1s337ms 06 6 7s676ms 1s279ms 07 6 7s683ms 1s280ms 08 2 2s628ms 1s314ms 09 6 7s938ms 1s323ms 11 1 1s242ms 1s242ms 12 2 2s638ms 1s319ms 13 3 3s803ms 1s267ms 14 1 1s241ms 1s241ms 15 3 3s927ms 1s309ms 16 4 5s196ms 1s299ms 17 1 1s245ms 1s245ms 18 4 5s405ms 1s351ms 19 1 1s236ms 1s236ms 20 2 2s434ms 1s217ms 21 3 3s936ms 1s312ms 22 4 5s146ms 1s286ms 23 1 1s291ms 1s291ms Jun 04 00 2 2s441ms 1s220ms 01 1 1s333ms 1s333ms 02 3 3s768ms 1s256ms 03 2 2s536ms 1s268ms 04 2 2s491ms 1s245ms 05 7 9s458ms 1s351ms 06 3 3s803ms 1s267ms 07 2 2s563ms 1s281ms 08 2 2s634ms 1s317ms 09 2 2s604ms 1s302ms 11 1 1s258ms 1s258ms 12 2 2s560ms 1s280ms 13 2 2s639ms 1s319ms 14 3 3s907ms 1s302ms 15 2 2s619ms 1s309ms 17 2 2s547ms 1s273ms 18 2 2s553ms 1s276ms 19 1 1s296ms 1s296ms 22 2 2s631ms 1s315ms 23 1 1s306ms 1s306ms Jun 05 00 1 1s300ms 1s300ms 02 2 2s523ms 1s261ms 03 2 2s701ms 1s350ms 04 3 3s915ms 1s305ms 05 7 9s91ms 1s298ms 06 1 1s219ms 1s219ms 07 1 1s368ms 1s368ms 08 1 1s301ms 1s301ms 09 4 5s141ms 1s285ms 12 1 1s307ms 1s307ms 13 1 1s336ms 1s336ms 14 3 3s923ms 1s307ms 16 1 1s278ms 1s278ms 18 1 1s349ms 1s349ms 19 1 1s277ms 1s277ms 20 2 2s473ms 1s236ms 21 1 1s335ms 1s335ms 22 2 2s614ms 1s307ms 23 1 1s294ms 1s294ms Jun 06 01 3 3s922ms 1s307ms 02 2 2s539ms 1s269ms 03 2 2s664ms 1s332ms 05 2 2s848ms 1s424ms 06 1 1s315ms 1s315ms 10 1 1s343ms 1s343ms 11 2 2s552ms 1s276ms 12 4 5s75ms 1s268ms 13 2 2s518ms 1s259ms 15 1 1s295ms 1s295ms 16 1 1s208ms 1s208ms 21 1 1s262ms 1s262ms 23 3 4s36ms 1s345ms Jun 07 00 2 2s588ms 1s294ms 01 1 1s296ms 1s296ms 02 2 2s591ms 1s295ms 04 1 1s215ms 1s215ms 05 2 2s815ms 1s407ms 08 5 6s443ms 1s288ms 09 1 1s265ms 1s265ms 11 1 1s185ms 1s185ms 12 1 1s315ms 1s315ms 13 1 1s233ms 1s233ms 14 1 1s340ms 1s340ms 15 3 3s978ms 1s326ms 16 1 1s220ms 1s220ms 17 2 2s577ms 1s288ms 18 1 1s223ms 1s223ms 19 1 1s354ms 1s354ms 20 1 1s348ms 1s348ms 21 4 5s141ms 1s285ms 22 2 2s532ms 1s266ms 23 1 1s253ms 1s253ms Jun 08 00 2 2s538ms 1s269ms 01 3 3s850ms 1s283ms 02 1 1s268ms 1s268ms 03 1 1s205ms 1s205ms 05 5 6s720ms 1s344ms 06 1 1s340ms 1s340ms 07 1 1s315ms 1s315ms 08 1 1s304ms 1s304ms 09 2 2s546ms 1s273ms 10 1 1s399ms 1s399ms 13 1 1s241ms 1s241ms 14 3 3s924ms 1s308ms 15 3 3s945ms 1s315ms 16 2 2s692ms 1s346ms 17 2 2s723ms 1s361ms 18 1 1s242ms 1s242ms 19 2 2s365ms 1s182ms 21 2 2s485ms 1s242ms 22 2 2s582ms 1s291ms 23 1 1s296ms 1s296ms [ User: pubeu - Total duration: 2m57s - Times executed: 137 ]
[ User: qaeu - Total duration: 9s837ms - Times executed: 7 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073677') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073677') 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-06-02 00:05:08 Duration: 1s577ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2071644') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2071644') 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-06-03 18:50:40 Duration: 1s490ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2075501') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2075501') 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-06-04 05:01:54 Duration: 1s478ms Bind query: yes
6 183 14m12s 1s 6s651ms 4s656ms 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 #6
Day Hour Count Duration Avg duration Jun 02 01 3 15s2ms 5s 02 3 11s636ms 3s878ms 03 1 4s678ms 4s678ms 04 5 26s821ms 5s364ms 05 1 4s670ms 4s670ms 07 3 15s118ms 5s39ms 08 1 4s996ms 4s996ms 09 1 5s650ms 5s650ms 10 4 20s482ms 5s120ms 11 2 10s474ms 5s237ms 12 1 5s264ms 5s264ms 13 2 10s172ms 5s86ms 15 2 9s443ms 4s721ms 16 2 6s12ms 3s6ms 18 1 4s621ms 4s621ms 19 2 9s997ms 4s998ms 20 1 5s635ms 5s635ms 22 1 5s142ms 5s142ms Jun 03 00 1 4s695ms 4s695ms 01 2 5s763ms 2s881ms 02 3 12s244ms 4s81ms 04 4 15s767ms 3s941ms 06 3 14s785ms 4s928ms 07 3 15s399ms 5s133ms 08 3 14s374ms 4s791ms 09 1 5s620ms 5s620ms 10 2 9s755ms 4s877ms 12 1 5s391ms 5s391ms 13 5 25s553ms 5s110ms 14 2 7s651ms 3s825ms 15 2 10s18ms 5s9ms 17 2 10s274ms 5s137ms 19 1 4s614ms 4s614ms 20 2 6s283ms 3s141ms 21 2 6s377ms 3s188ms 22 1 5s403ms 5s403ms 23 2 10s420ms 5s210ms Jun 04 00 1 4s700ms 4s700ms 05 4 20s934ms 5s233ms 06 1 1s17ms 1s17ms 08 1 4s772ms 4s772ms 11 4 16s643ms 4s160ms 12 2 11s175ms 5s587ms 13 1 5s346ms 5s346ms 14 1 4s985ms 4s985ms 16 1 1s 1s 20 1 4s731ms 4s731ms 21 2 10s802ms 5s401ms 22 3 15s192ms 5s64ms 23 2 9s808ms 4s904ms Jun 05 01 4 20s114ms 5s28ms 03 3 11s74ms 3s691ms 05 1 1s31ms 1s31ms 09 1 1s12ms 1s12ms 11 2 5s854ms 2s927ms 13 2 5s713ms 2s856ms 14 1 4s762ms 4s762ms 17 1 5s513ms 5s513ms 18 1 5s613ms 5s613ms 21 4 17s776ms 4s444ms 22 1 5s723ms 5s723ms 23 1 1s9ms 1s9ms Jun 06 00 2 11s79ms 5s539ms 03 2 10s839ms 5s419ms 04 2 10s239ms 5s119ms 08 2 9s649ms 4s824ms 09 2 10s67ms 5s33ms 10 1 4s827ms 4s827ms 12 1 4s789ms 4s789ms 13 1 4s687ms 4s687ms 14 2 5s727ms 2s863ms 15 1 5s587ms 5s587ms 18 1 5s3ms 5s3ms 21 2 11s203ms 5s601ms Jun 07 01 3 15s769ms 5s256ms 02 1 5s206ms 5s206ms 04 2 10s990ms 5s495ms 05 1 5s445ms 5s445ms 07 2 9s925ms 4s962ms 08 1 4s840ms 4s840ms 09 1 5s147ms 5s147ms 10 1 1s6ms 1s6ms 14 2 10s186ms 5s93ms 16 1 5s302ms 5s302ms 17 1 5s308ms 5s308ms 18 1 5s641ms 5s641ms 20 1 5s211ms 5s211ms Jun 08 00 1 5s192ms 5s192ms 05 3 15s613ms 5s204ms 06 1 5s864ms 5s864ms 07 2 10s533ms 5s266ms 09 5 21s931ms 4s386ms 10 1 4s636ms 4s636ms 13 1 5s279ms 5s279ms 14 3 15s546ms 5s182ms 16 1 5s447ms 5s447ms 17 1 5s44ms 5s44ms 18 2 6s96ms 3s48ms 22 1 4s806ms 4s806ms [ User: pubeu - Total duration: 6m6s - Times executed: 76 ]
-
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 = '1290458' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-03 14:12:58 Duration: 6s651ms 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 = '1316373' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-08 06:24:26 Duration: 5s864ms 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 = '1276323' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-04 05:35:51 Duration: 5s834ms Database: ctdprd51 User: pubeu Bind query: yes
7 161 6m55s 1s6ms 11s104ms 2s580ms 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 #7
Day Hour Count Duration Avg duration Jun 02 00 2 2s508ms 1s254ms 01 1 2s429ms 2s429ms 04 1 4s824ms 4s824ms 05 1 3s95ms 3s95ms 06 2 7s852ms 3s926ms 07 2 3s999ms 1s999ms 08 4 6s452ms 1s613ms 09 3 9s165ms 3s55ms 10 1 2s637ms 2s637ms 11 2 6s62ms 3s31ms 12 1 1s6ms 1s6ms 14 1 5s45ms 5s45ms 15 1 2s430ms 2s430ms 16 1 2s905ms 2s905ms 17 2 7s516ms 3s758ms 18 2 5s381ms 2s690ms 19 1 1s176ms 1s176ms 20 2 11s728ms 5s864ms 21 1 5s833ms 5s833ms Jun 03 00 4 16s832ms 4s208ms 01 1 1s30ms 1s30ms 02 1 4s812ms 4s812ms 03 1 1s254ms 1s254ms 04 1 1s796ms 1s796ms 06 2 5s491ms 2s745ms 07 2 6s58ms 3s29ms 08 2 6s820ms 3s410ms 15 1 3s665ms 3s665ms 16 2 3s647ms 1s823ms 17 1 5s313ms 5s313ms 18 3 9s65ms 3s21ms 19 3 4s851ms 1s617ms 21 5 10s222ms 2s44ms 22 3 4s961ms 1s653ms Jun 04 00 1 5s951ms 5s951ms 01 1 1s123ms 1s123ms 02 2 2s573ms 1s286ms 04 2 6s342ms 3s171ms 06 2 3s94ms 1s547ms 07 1 2s480ms 2s480ms 14 1 1s127ms 1s127ms 15 11 38s531ms 3s502ms 18 1 1s39ms 1s39ms 19 1 2s540ms 2s540ms 22 2 3s427ms 1s713ms 23 2 4s95ms 2s47ms Jun 05 01 2 5s425ms 2s712ms 03 3 7s275ms 2s425ms 04 3 5s91ms 1s697ms 06 2 5s412ms 2s706ms 08 3 8s391ms 2s797ms 09 2 4s324ms 2s162ms 22 2 3s663ms 1s831ms Jun 06 00 1 1s398ms 1s398ms 03 1 1s502ms 1s502ms 05 1 2s711ms 2s711ms 10 2 5s743ms 2s871ms 12 2 2s192ms 1s96ms 13 3 9s979ms 3s326ms 20 2 3s525ms 1s762ms 23 2 3s309ms 1s654ms Jun 07 00 1 2s40ms 2s40ms 04 1 5s955ms 5s955ms 08 2 3s959ms 1s979ms 10 2 5s244ms 2s622ms 11 1 1s148ms 1s148ms 13 1 1s536ms 1s536ms 14 1 1s221ms 1s221ms 17 2 3s477ms 1s738ms 18 3 5s79ms 1s693ms 19 1 1s104ms 1s104ms 20 1 1s369ms 1s369ms Jun 08 00 3 9s451ms 3s150ms 04 1 1s126ms 1s126ms 05 1 4s555ms 4s555ms 06 1 2s751ms 2s751ms 07 1 1s280ms 1s280ms 10 1 1s291ms 1s291ms 12 2 4s287ms 2s143ms 13 4 16s465ms 4s116ms 14 1 4s696ms 4s696ms 15 1 1s255ms 1s255ms 20 2 3s757ms 1s878ms 21 3 7s187ms 2s395ms 22 1 2s396ms 2s396ms 23 2 2s723ms 1s361ms [ User: pubeu - Total duration: 3m2s - Times executed: 73 ]
-
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 = '2079199') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-04 15:21:37 Duration: 11s104ms 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 = '2079199') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-02 20:29:10 Duration: 10s453ms 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 = '2080358') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-03 18:54:08 Duration: 6s794ms Bind query: yes
8 126 2m53s 1s295ms 1s466ms 1s376ms select t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, t.acc_txt acc, ? || t.nm accquerystr, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term t where t.object_type_id = ? and regexp_replace(upper(substring(t.nm, ?, ?)), ?, ?) = ? order by t.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 02 02 1 1s358ms 1s358ms 04 1 1s306ms 1s306ms 05 3 4s128ms 1s376ms 08 1 1s311ms 1s311ms 09 2 2s748ms 1s374ms 10 1 1s438ms 1s438ms 11 2 2s748ms 1s374ms 23 1 1s383ms 1s383ms Jun 03 00 2 2s618ms 1s309ms 02 3 4s224ms 1s408ms 04 1 1s448ms 1s448ms 05 3 4s311ms 1s437ms 07 1 1s371ms 1s371ms 09 1 1s301ms 1s301ms 14 1 1s457ms 1s457ms Jun 04 01 1 1s422ms 1s422ms 03 1 1s332ms 1s332ms 05 6 8s203ms 1s367ms 11 2 2s836ms 1s418ms 13 2 2s633ms 1s316ms 21 1 1s357ms 1s357ms Jun 05 04 4 5s543ms 1s385ms 05 2 2s686ms 1s343ms 12 5 6s977ms 1s395ms 17 1 1s426ms 1s426ms 19 1 1s389ms 1s389ms 21 1 1s332ms 1s332ms 22 4 5s609ms 1s402ms Jun 06 01 1 1s340ms 1s340ms 03 1 1s320ms 1s320ms 04 1 1s322ms 1s322ms 05 3 4s181ms 1s393ms 12 2 2s802ms 1s401ms 13 1 1s434ms 1s434ms 14 1 1s323ms 1s323ms 15 1 1s307ms 1s307ms 16 5 6s812ms 1s362ms 19 3 4s151ms 1s383ms 21 3 4s82ms 1s360ms 22 1 1s387ms 1s387ms 23 1 1s412ms 1s412ms Jun 07 00 1 1s430ms 1s430ms 01 2 2s660ms 1s330ms 02 2 2s678ms 1s339ms 03 3 4s240ms 1s413ms 04 1 1s324ms 1s324ms 05 2 2s727ms 1s363ms 06 1 1s406ms 1s406ms 09 2 2s733ms 1s366ms 10 1 1s421ms 1s421ms 11 1 1s338ms 1s338ms 12 1 1s392ms 1s392ms 14 1 1s337ms 1s337ms 15 3 4s90ms 1s363ms 16 1 1s352ms 1s352ms 19 1 1s427ms 1s427ms 20 1 1s316ms 1s316ms 21 2 2s671ms 1s335ms Jun 08 02 1 1s374ms 1s374ms 03 4 5s494ms 1s373ms 04 1 1s374ms 1s374ms 05 2 2s742ms 1s371ms 07 1 1s421ms 1s421ms 11 3 4s60ms 1s353ms 12 1 1s424ms 1s424ms 17 2 2s718ms 1s359ms 18 1 1s438ms 1s438ms 19 2 2s830ms 1s415ms 21 2 2s879ms 1s439ms 23 1 1s339ms 1s339ms [ User: pubeu - Total duration: 1m22s - Times executed: 60 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-06-03 02:14:05 Duration: 1s466ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-06-04 05:37:09 Duration: 1s461ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-06-03 05:42:09 Duration: 1s460ms Bind query: yes
9 112 10m13s 1s406ms 23s651ms 5s474ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 03 12 6 31s131ms 5s188ms 13 5 25s492ms 5s98ms 14 2 4s6ms 2s3ms 15 6 27s25ms 4s504ms 16 5 25s412ms 5s82ms Jun 04 12 9 49s333ms 5s481ms 13 1 2s3ms 2s3ms 14 16 1m25s 5s370ms 15 7 28s771ms 4s110ms 18 1 1s997ms 1s997ms Jun 05 12 51 4m52s 5s741ms 15 3 39s253ms 13s84ms [ User: pubeu - Total duration: 1m22s - Times executed: 21 ]
-
SELECT /* BatchChemGODAO */ 'd003907' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1288145)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-06-05 12:23:46 Duration: 23s651ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd003907' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1288145)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-06-05 12:23:37 Duration: 21s249ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000077210' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1376843)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-06-04 14:58:32 Duration: 17s295ms Bind query: yes
10 91 5m56s 1s68ms 44s638ms 3s919ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 02 02 7 8s143ms 1s163ms 03 3 3s527ms 1s175ms 04 1 11s441ms 11s441ms 08 1 3s361ms 3s361ms 09 2 1m28s 44s401ms 10 1 1s586ms 1s586ms 18 1 1s121ms 1s121ms 19 1 1s536ms 1s536ms 21 6 8s308ms 1s384ms 23 1 1s95ms 1s95ms Jun 03 00 1 43s602ms 43s602ms 02 1 3s111ms 3s111ms 08 1 1s383ms 1s383ms 09 1 2s27ms 2s27ms 10 2 3s60ms 1s530ms 11 1 1s515ms 1s515ms 13 2 2s343ms 1s171ms 16 1 1s147ms 1s147ms 21 2 21s854ms 10s927ms Jun 04 02 1 1s428ms 1s428ms 03 3 6s107ms 2s35ms 09 3 4s609ms 1s536ms 10 10 14s720ms 1s472ms 11 1 1s188ms 1s188ms 15 1 3s102ms 3s102ms 17 1 1s438ms 1s438ms 18 1 1s91ms 1s91ms 19 1 1s493ms 1s493ms 23 1 3s202ms 3s202ms Jun 05 02 1 11s233ms 11s233ms 04 2 4s266ms 2s133ms 06 1 1s194ms 1s194ms 08 1 1s337ms 1s337ms 09 2 3s554ms 1s777ms 10 3 4s719ms 1s573ms 14 1 11s318ms 11s318ms 18 1 1s189ms 1s189ms 20 1 1s152ms 1s152ms Jun 06 10 1 1s563ms 1s563ms 19 2 2s660ms 1s330ms 22 2 3s809ms 1s904ms 23 1 1s804ms 1s804ms Jun 07 00 1 3s238ms 3s238ms 03 1 11s395ms 11s395ms 08 1 1s434ms 1s434ms 09 1 1s884ms 1s884ms 17 1 3s150ms 3s150ms 18 1 1s143ms 1s143ms Jun 08 00 1 18s203ms 18s203ms 06 1 1s872ms 1s872ms 07 2 13s15ms 6s507ms 10 1 1s533ms 1s533ms 18 1 1s68ms 1s68ms 19 1 1s548ms 1s548ms [ User: pubeu - Total duration: 3m18s - Times executed: 41 ]
-
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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-02 09:40:59 Duration: 44s638ms 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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-02 09:45:07 Duration: 44s164ms 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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-03 00:11:57 Duration: 43s602ms Bind query: yes
11 53 1h5m49s 1s116ms 10m6s 1m14s 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 #11
Day Hour Count Duration Avg duration Jun 02 02 2 2s888ms 1s444ms 05 2 2s866ms 1s433ms 07 2 3m38s 1m49s 09 2 12m18s 6m9s 10 1 1s220ms 1s220ms 18 1 2m4s 2m4s 22 2 4m1s 2m Jun 03 01 2 4s731ms 2s365ms 02 1 1s516ms 1s516ms 03 1 1s325ms 1s325ms 04 1 1s404ms 1s404ms 06 1 1s505ms 1s505ms 07 1 3m7s 3m7s 08 3 9m28s 3m9s 14 1 1s465ms 1s465ms 15 1 1s628ms 1s628ms 16 1 1s287ms 1s287ms 17 1 1s205ms 1s205ms 18 2 2s884ms 1s442ms 22 2 1m23s 41s946ms Jun 04 05 1 1s584ms 1s584ms 06 1 1s473ms 1s473ms 22 1 1m18s 1m18s Jun 05 09 1 3m39s 3m39s Jun 06 00 1 1s958ms 1s958ms 07 2 7m17s 3m38s 12 1 1s521ms 1s521ms 22 1 1m18s 1m18s Jun 07 03 1 1s511ms 1s511ms 07 2 6m44s 3m22s Jun 08 01 1 1s280ms 1s280ms 07 2 7m14s 3m37s 09 5 19s491ms 3s898ms 13 1 1s471ms 1s471ms 18 1 1s116ms 1s116ms 21 1 1m18s 1m18s [ User: pubeu - Total duration: 24m11s - Times executed: 24 ]
-
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 = '1224494') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-02 09:08:12 Duration: 10m6s 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 = '1224494') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-03 08:40:37 Duration: 9m25s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-06 07:28:29 Duration: 3m40s Database: ctdprd51 User: pubeu Bind query: yes
12 53 3m7s 1s40ms 23s180ms 3s531ms 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 #12
Day Hour Count Duration Avg duration Jun 02 01 1 1s63ms 1s63ms 02 1 1s504ms 1s504ms 05 3 10s633ms 3s544ms 06 1 3s989ms 3s989ms 09 1 1s209ms 1s209ms 11 1 1s209ms 1s209ms 15 1 3s94ms 3s94ms 18 1 1s195ms 1s195ms 19 1 1s302ms 1s302ms Jun 03 00 1 2s791ms 2s791ms 01 1 1s741ms 1s741ms 02 1 1s195ms 1s195ms 03 1 1s331ms 1s331ms 06 1 8s344ms 8s344ms 07 1 2s786ms 2s786ms 08 1 4s224ms 4s224ms 09 2 4s436ms 2s218ms 12 1 1s40ms 1s40ms 15 2 2s495ms 1s247ms 18 2 2s782ms 1s391ms 19 1 1s211ms 1s211ms 20 2 2s784ms 1s392ms 21 1 1s184ms 1s184ms 22 1 2s390ms 2s390ms 23 2 2s874ms 1s437ms Jun 04 01 2 2s647ms 1s323ms 03 1 1s326ms 1s326ms 04 1 1s294ms 1s294ms 05 2 3s788ms 1s894ms 06 1 1s257ms 1s257ms 14 1 1s43ms 1s43ms Jun 05 11 1 3s388ms 3s388ms 14 1 1s737ms 1s737ms Jun 06 13 1 4s708ms 4s708ms Jun 07 10 2 2s722ms 1s361ms 13 1 1s715ms 1s715ms 17 1 2s166ms 2s166ms Jun 08 09 4 1m27s 21s979ms 13 1 1s289ms 1s289ms 18 1 1s321ms 1s321ms [ User: pubeu - Total duration: 1m23s - Times executed: 19 ]
-
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 = '1210111') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-06-08 09:13:52 Duration: 23s180ms 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 = '1210111') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-06-08 09:13:53 Duration: 22s670ms 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 = '1210111') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-06-08 09:13:53 Duration: 22s196ms Database: ctdprd51 User: pubeu Bind query: yes
13 48 1m3s 1s311ms 1s356ms 1s328ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 02 05 3 4s40ms 1s346ms 19 1 1s315ms 1s315ms 20 1 1s346ms 1s346ms 23 1 1s347ms 1s347ms Jun 03 05 2 2s694ms 1s347ms 19 1 1s320ms 1s320ms Jun 04 00 1 1s317ms 1s317ms 05 2 2s636ms 1s318ms 07 2 2s671ms 1s335ms 09 1 1s349ms 1s349ms Jun 05 00 2 2s654ms 1s327ms 02 1 1s337ms 1s337ms 05 2 2s633ms 1s316ms 09 1 1s328ms 1s328ms 10 1 1s324ms 1s324ms 13 1 1s339ms 1s339ms 14 2 2s669ms 1s334ms 15 1 1s331ms 1s331ms 18 1 1s315ms 1s315ms Jun 06 01 1 1s318ms 1s318ms 02 1 1s315ms 1s315ms 05 3 3s966ms 1s322ms 17 1 1s337ms 1s337ms 18 1 1s323ms 1s323ms 20 1 1s355ms 1s355ms Jun 07 07 1 1s316ms 1s316ms 10 1 1s323ms 1s323ms Jun 08 00 1 1s329ms 1s329ms 05 2 2s633ms 1s316ms 12 3 3s959ms 1s319ms 15 2 2s677ms 1s338ms 22 1 1s324ms 1s324ms 23 2 2s633ms 1s316ms [ User: pubeu - Total duration: 19s947ms - Times executed: 15 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-06-03 05:43:31 Duration: 1s356ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-06-04 07:03:16 Duration: 1s355ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-06-06 20:17:24 Duration: 1s355ms Bind query: yes
14 43 3m25s 1s153ms 5s127ms 4s771ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 02 06 1 4s989ms 4s989ms 11 1 4s920ms 4s920ms Jun 03 06 2 2s306ms 1s153ms 08 3 14s868ms 4s956ms 16 1 4s923ms 4s923ms 20 1 4s942ms 4s942ms 22 1 4s934ms 4s934ms Jun 04 16 1 4s943ms 4s943ms Jun 05 07 2 9s841ms 4s920ms 09 2 9s956ms 4s978ms 10 1 5s127ms 5s127ms 11 1 4s930ms 4s930ms 20 2 9s859ms 4s929ms Jun 06 08 1 4s977ms 4s977ms 20 1 4s950ms 4s950ms Jun 07 01 1 4s990ms 4s990ms 02 3 14s872ms 4s957ms 07 3 14s765ms 4s921ms Jun 08 03 2 9s836ms 4s918ms 04 1 4s928ms 4s928ms 05 3 14s970ms 4s990ms 06 2 9s928ms 4s964ms 07 3 14s782ms 4s927ms 08 2 9s809ms 4s904ms 15 2 9s836ms 4s918ms [ User: pubeu - Total duration: 1m38s - Times executed: 20 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PPT1_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PPT1_1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PPT1_1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PPT1_1')) ii GROUP BY ii.cd;
Date: 2024-06-05 10:58:25 Duration: 5s127ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'EPR50_G00126680') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'EPR50_G00126680') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'EPR50_G00126680')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'EPR50_G00126680')) ii GROUP BY ii.cd;
Date: 2024-06-08 05:17:44 Duration: 5s32ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'N308_12351') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'N308_12351') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'N308_12351')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'N308_12351')) ii GROUP BY ii.cd;
Date: 2024-06-05 09:33:33 Duration: 4s999ms Database: ctdprd51 User: pubeu Bind query: yes
15 40 1m28s 1s3ms 3s375ms 2s221ms 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 #15
Day Hour Count Duration Avg duration Jun 02 05 4 8s793ms 2s198ms Jun 03 05 4 8s737ms 2s184ms 14 1 1s917ms 1s917ms 18 1 1s871ms 1s871ms 22 1 2s218ms 2s218ms Jun 04 05 5 11s970ms 2s394ms 14 1 1s876ms 1s876ms Jun 05 05 4 8s663ms 2s165ms 12 1 1s868ms 1s868ms Jun 06 05 4 8s594ms 2s148ms 18 1 1s884ms 1s884ms 21 1 2s421ms 2s421ms Jun 07 05 3 7s736ms 2s578ms 21 1 2s503ms 2s503ms Jun 08 05 4 8s705ms 2s176ms 12 3 6s951ms 2s317ms 13 1 2s161ms 2s161ms [ User: pubeu - Total duration: 35s295ms - Times executed: 12 ]
[ User: qaeu - Total duration: 23s259ms - 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 = '589314' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-06-02 05:40:12 Duration: 3s375ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '589314' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-06-03 05:35:12 Duration: 3s366ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '589314' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-06-02 05:35:12 Duration: 3s363ms Database: ctdprd51 User: pubeu Bind query: yes
16 37 1m18s 1s14ms 5s262ms 2s116ms 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 #16
Day Hour Count Duration Avg duration Jun 02 04 3 4s554ms 1s518ms 14 1 1s205ms 1s205ms 19 1 2s375ms 2s375ms Jun 03 08 1 3s813ms 3s813ms 20 1 5s262ms 5s262ms Jun 04 04 1 3s793ms 3s793ms 09 1 1s161ms 1s161ms 12 1 5s158ms 5s158ms 15 2 2s368ms 1s184ms 17 2 3s219ms 1s609ms 19 1 1s14ms 1s14ms 20 1 1s617ms 1s617ms Jun 05 01 3 3s885ms 1s295ms 09 1 1s421ms 1s421ms Jun 06 06 1 1s435ms 1s435ms 10 1 1s65ms 1s65ms 13 1 2s359ms 2s359ms 16 1 1s472ms 1s472ms 20 1 1s65ms 1s65ms Jun 07 05 1 1s496ms 1s496ms 09 1 2s866ms 2s866ms 12 1 1s276ms 1s276ms Jun 08 00 4 10s238ms 2s559ms 02 2 2s596ms 1s298ms 03 1 5s207ms 5s207ms 06 1 1s280ms 1s280ms 23 1 5s84ms 5s84ms [ User: pubeu - Total duration: 41s972ms - Times executed: 19 ]
-
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 = '1387245') 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 = '1387245') 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-06-03 20:57:27 Duration: 5s262ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1387245') 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 = '1387245') 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-06-08 03:27:59 Duration: 5s207ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1387245') 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 = '1387245') 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-06-04 12:41:29 Duration: 5s158ms Bind query: yes
17 35 1m40s 1s253ms 5s382ms 2s870ms 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 #17
Day Hour Count Duration Avg duration Jun 02 01 1 2s872ms 2s872ms 04 1 2s583ms 2s583ms 08 1 1s846ms 1s846ms 14 1 5s253ms 5s253ms 18 1 1s257ms 1s257ms Jun 03 05 2 5s189ms 2s594ms 07 1 2s767ms 2s767ms 12 1 1s751ms 1s751ms 15 1 2s364ms 2s364ms 16 2 10s467ms 5s233ms 18 1 2s315ms 2s315ms 22 1 1s460ms 1s460ms Jun 04 01 1 2s875ms 2s875ms 16 1 1s855ms 1s855ms Jun 05 00 1 1s253ms 1s253ms 02 1 2s433ms 2s433ms Jun 06 05 1 2s186ms 2s186ms 12 1 2s365ms 2s365ms 22 1 2s390ms 2s390ms Jun 07 01 2 6s524ms 3s262ms 02 1 3s634ms 3s634ms 05 1 2s368ms 2s368ms 11 1 5s302ms 5s302ms Jun 08 00 1 5s382ms 5s382ms 04 2 3s809ms 1s904ms 07 1 5s181ms 5s181ms 10 1 2s382ms 2s382ms 12 1 5s267ms 5s267ms 15 1 1s501ms 1s501ms 20 1 2s354ms 2s354ms 21 1 1s269ms 1s269ms [ User: pubeu - Total duration: 52s60ms - Times executed: 17 ]
-
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 = '1387245') 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 = '1387245') 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 1750;
Date: 2024-06-08 00:14:46 Duration: 5s382ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1387245') 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 = '1387245') 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 1750;
Date: 2024-06-07 11:51:38 Duration: 5s302ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1387245') 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 = '1387245') 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 150;
Date: 2024-06-08 12:48:44 Duration: 5s267ms Bind query: yes
18 33 1m18s 1s29ms 4s4ms 2s369ms select c.nm chemicalname, c.id chemicalnodeid, c.acc_txt chemicalacc, c.acc_db_cd chemicalaccdb, c.curated_edge_qty chemicalcuratededgeqty, ( select string_agg(distinct gcra.action_degree_type_nm || ? || gcra.action_type_nm, ?) from gene_chem_reference gcr inner join gene_chem_reference_axn gcra on gcr.id = gcra.gene_chem_reference_id where gcr.gene_id = tsa.gene_id and gcr.chem_id = tsa.chem_id) edgeaxns, ( select string_agg(distinct t.nm, ?) from gene_chem_reference gcr inner join term t on gcr.taxon_id = t.id where gcr.gene_id = tsa.gene_id and gcr.chem_id = tsa.chem_id) edgetaxa, g.nm genesymbol, g.id genenodeid, g.acc_txt geneacc, g.acc_db_cd geneaccdb, g.curated_edge_qty genecuratededgeqty from ( select ts.related_term_id chem_id, gcr.gene_id from term_similarity ts inner join gene_chem_reference gcr on ts.term_id = gcr.chem_id where ts.term_id = ? intersect select ts.related_term_id chem_id, gcr.gene_id from term_similarity ts inner join gene_chem_reference gcr on ts.related_term_id = gcr.chem_id where ts.term_id = ? and ts.related_term_id in ( select tsiq.related_term_id from ( select tsi.related_term_id, rank() over (order by tsi.jaccard_index_no desc) as pos from term_similarity tsi where tsi.term_id = ?) tsiq where tsiq.pos <= ?)) tsa inner join term c on tsa.chem_id = c.id inner join term g on tsa.gene_id = g.id order by c.nm, g.nm;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 02 02 1 3s972ms 3s972ms 06 1 1s514ms 1s514ms 12 1 3s473ms 3s473ms 13 1 1s877ms 1s877ms 17 1 3s8ms 3s8ms 21 1 3s51ms 3s51ms Jun 03 01 1 1s289ms 1s289ms 02 1 1s664ms 1s664ms 03 1 1s926ms 1s926ms 11 1 1s452ms 1s452ms 14 2 4s790ms 2s395ms 20 1 1s957ms 1s957ms Jun 04 02 1 4s4ms 4s4ms 06 1 1s900ms 1s900ms 08 1 1s371ms 1s371ms 10 1 1s608ms 1s608ms 12 1 3s533ms 3s533ms 13 1 1s565ms 1s565ms 15 1 3s795ms 3s795ms 18 2 2s759ms 1s379ms Jun 05 03 1 3s478ms 3s478ms 09 1 1s243ms 1s243ms Jun 06 02 1 3s756ms 3s756ms 08 1 1s931ms 1s931ms 09 1 3s388ms 3s388ms Jun 07 05 1 3s829ms 3s829ms 16 1 1s544ms 1s544ms 20 1 1s586ms 1s586ms Jun 08 01 1 3s875ms 3s875ms 05 1 1s843ms 1s843ms 08 1 1s208ms 1s208ms [ User: pubeu - Total duration: 32s973ms - Times executed: 16 ]
-
SELECT /* ExportChemSimilarActorAgentsDAO */ c.nm chemicalName, c.id chemicalNodeId, c.acc_txt chemicalAcc, c.acc_db_cd chemicalAccDb, c.curated_edge_qty chemicalCuratedEdgeQty, ( SELECT STRING_AGG(DISTINCT gcra.action_degree_type_nm || ' ' || gcra.action_type_nm, '|') FROM gene_chem_reference gcr INNER JOIN gene_chem_reference_axn gcra ON gcr.id = gcra.gene_chem_reference_id WHERE gcr.gene_id = tsa.gene_id AND gcr.chem_id = tsa.chem_id) edgeAxns, ( SELECT STRING_AGG(DISTINCT t.nm, '|') FROM gene_chem_reference gcr INNER JOIN term t ON gcr.taxon_id = t.id WHERE gcr.gene_id = tsa.gene_id AND gcr.chem_id = tsa.chem_id) edgeTaxa, g.nm geneSymbol, g.id geneNodeId, g.acc_txt geneAcc, g.acc_db_cd geneAccDb, g.curated_edge_qty geneCuratedEdgeQty FROM ( SELECT ts.related_term_id chem_id, gcr.gene_id FROM term_similarity ts INNER JOIN gene_chem_reference gcr ON ts.term_id = gcr.chem_id WHERE ts.term_id = '1254557' INTERSECT SELECT ts.related_term_id chem_id, gcr.gene_id FROM term_similarity ts INNER JOIN gene_chem_reference gcr ON ts.related_term_id = gcr.chem_id WHERE ts.term_id = '1254557' -- Top 10 related terms only. AND ts.related_term_id IN ( SELECT tsiq.related_term_id FROM ( SELECT tsi.related_term_id, RANK() OVER (ORDER BY tsi.jaccard_index_no DESC) AS pos FROM term_similarity tsi WHERE tsi.term_id = '1254557') tsiq WHERE tsiq.pos <= 10)) tsa INNER JOIN term c ON tsa.chem_id = c.id INNER JOIN term g ON tsa.gene_id = g.id ORDER BY c.nm, g.nm;
Date: 2024-06-04 02:02:39 Duration: 4s4ms Bind query: yes
-
SELECT /* ExportChemSimilarActorAgentsDAO */ c.nm chemicalName, c.id chemicalNodeId, c.acc_txt chemicalAcc, c.acc_db_cd chemicalAccDb, c.curated_edge_qty chemicalCuratedEdgeQty, ( SELECT STRING_AGG(DISTINCT gcra.action_degree_type_nm || ' ' || gcra.action_type_nm, '|') FROM gene_chem_reference gcr INNER JOIN gene_chem_reference_axn gcra ON gcr.id = gcra.gene_chem_reference_id WHERE gcr.gene_id = tsa.gene_id AND gcr.chem_id = tsa.chem_id) edgeAxns, ( SELECT STRING_AGG(DISTINCT t.nm, '|') FROM gene_chem_reference gcr INNER JOIN term t ON gcr.taxon_id = t.id WHERE gcr.gene_id = tsa.gene_id AND gcr.chem_id = tsa.chem_id) edgeTaxa, g.nm geneSymbol, g.id geneNodeId, g.acc_txt geneAcc, g.acc_db_cd geneAccDb, g.curated_edge_qty geneCuratedEdgeQty FROM ( SELECT ts.related_term_id chem_id, gcr.gene_id FROM term_similarity ts INNER JOIN gene_chem_reference gcr ON ts.term_id = gcr.chem_id WHERE ts.term_id = '1254557' INTERSECT SELECT ts.related_term_id chem_id, gcr.gene_id FROM term_similarity ts INNER JOIN gene_chem_reference gcr ON ts.related_term_id = gcr.chem_id WHERE ts.term_id = '1254557' -- Top 10 related terms only. AND ts.related_term_id IN ( SELECT tsiq.related_term_id FROM ( SELECT tsi.related_term_id, RANK() OVER (ORDER BY tsi.jaccard_index_no DESC) AS pos FROM term_similarity tsi WHERE tsi.term_id = '1254557') tsiq WHERE tsiq.pos <= 10)) tsa INNER JOIN term c ON tsa.chem_id = c.id INNER JOIN term g ON tsa.gene_id = g.id ORDER BY c.nm, g.nm;
Date: 2024-06-02 02:24:04 Duration: 3s972ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ExportChemSimilarActorAgentsDAO */ c.nm chemicalName, c.id chemicalNodeId, c.acc_txt chemicalAcc, c.acc_db_cd chemicalAccDb, c.curated_edge_qty chemicalCuratedEdgeQty, ( SELECT STRING_AGG(DISTINCT gcra.action_degree_type_nm || ' ' || gcra.action_type_nm, '|') FROM gene_chem_reference gcr INNER JOIN gene_chem_reference_axn gcra ON gcr.id = gcra.gene_chem_reference_id WHERE gcr.gene_id = tsa.gene_id AND gcr.chem_id = tsa.chem_id) edgeAxns, ( SELECT STRING_AGG(DISTINCT t.nm, '|') FROM gene_chem_reference gcr INNER JOIN term t ON gcr.taxon_id = t.id WHERE gcr.gene_id = tsa.gene_id AND gcr.chem_id = tsa.chem_id) edgeTaxa, g.nm geneSymbol, g.id geneNodeId, g.acc_txt geneAcc, g.acc_db_cd geneAccDb, g.curated_edge_qty geneCuratedEdgeQty FROM ( SELECT ts.related_term_id chem_id, gcr.gene_id FROM term_similarity ts INNER JOIN gene_chem_reference gcr ON ts.term_id = gcr.chem_id WHERE ts.term_id = '1254557' INTERSECT SELECT ts.related_term_id chem_id, gcr.gene_id FROM term_similarity ts INNER JOIN gene_chem_reference gcr ON ts.related_term_id = gcr.chem_id WHERE ts.term_id = '1254557' -- Top 10 related terms only. AND ts.related_term_id IN ( SELECT tsiq.related_term_id FROM ( SELECT tsi.related_term_id, RANK() OVER (ORDER BY tsi.jaccard_index_no DESC) AS pos FROM term_similarity tsi WHERE tsi.term_id = '1254557') tsiq WHERE tsiq.pos <= 10)) tsa INNER JOIN term c ON tsa.chem_id = c.id INNER JOIN term g ON tsa.gene_id = g.id ORDER BY c.nm, g.nm;
Date: 2024-06-08 01:55:53 Duration: 3s875ms Bind query: yes
19 32 45s800ms 1s6ms 3s245ms 1s431ms select fg.nm fromgenesymbol, fg.acc_txt fromgeneacc, tg.nm togenesymbol, tg.acc_txt togeneacc, ft.nm fromtaxonnm, ft.secondary_nm fromtaxoncommonnm, ft.acc_txt fromtaxonacc, tt.nm totaxonnm, tt.secondary_nm totaxoncommonnm, tt.acc_txt totaxonacc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( select string_agg(ggt.throughput_txt, ? order by ggt.throughput_txt) from gene_gene_ref_throughput ggt where ggt.gene_gene_reference_id = ggr.id) throughput, count(*) over () fullrowcount from gene_gene_reference ggr inner join term fg on ggr.from_gene_id = fg.id inner join term tg on ggr.to_gene_id = tg.id inner join term ft on ggr.from_taxon_id = ft.id inner join term tt on ggr.to_taxon_id = tt.id where ggr.reference_id = ? order by fg.nm_sort, tg.nm_sort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 02 05 3 3s445ms 1s148ms Jun 03 05 4 4s894ms 1s223ms 16 1 1s6ms 1s6ms 19 1 3s168ms 3s168ms Jun 04 05 4 4s663ms 1s165ms Jun 05 05 4 4s682ms 1s170ms 06 1 3s245ms 3s245ms 19 1 1s139ms 1s139ms Jun 06 05 4 4s503ms 1s125ms Jun 07 01 1 3s183ms 3s183ms 03 1 3s228ms 3s228ms 05 3 3s892ms 1s297ms Jun 08 05 4 4s747ms 1s186ms [ User: pubeu - Total duration: 11s127ms - Times executed: 6 ]
[ User: qaeu - Total duration: 4s413ms - Times executed: 4 ]
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '186380' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-06-05 06:49:03 Duration: 3s245ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '186380' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-06-07 03:51:44 Duration: 3s228ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '186380' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-06-07 01:19:01 Duration: 3s183ms Database: ctdprd51 User: pubeu Bind query: yes
20 30 2m4s 1s247ms 7s122ms 4s145ms 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 desc, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 02 01 1 1s652ms 1s652ms 05 2 7s744ms 3s872ms 09 2 9s106ms 4s553ms 19 1 1s955ms 1s955ms 21 1 3s345ms 3s345ms Jun 03 00 1 6s363ms 6s363ms 04 2 9s323ms 4s661ms 05 1 4s520ms 4s520ms 06 1 5s405ms 5s405ms 07 1 6s496ms 6s496ms 10 1 1s554ms 1s554ms 14 1 1s632ms 1s632ms 16 1 2s793ms 2s793ms 18 1 3s157ms 3s157ms 19 1 5s931ms 5s931ms 21 1 6s353ms 6s353ms 22 1 7s122ms 7s122ms Jun 04 00 2 6s518ms 3s259ms 01 1 2s686ms 2s686ms 02 1 2s561ms 2s561ms 05 1 6s786ms 6s786ms 09 1 4s209ms 4s209ms 10 1 6s263ms 6s263ms Jun 05 16 1 7s26ms 7s26ms Jun 06 02 1 2s595ms 2s595ms 05 1 1s247ms 1s247ms [ User: pubeu - Total duration: 32s659ms - Times executed: 9 ]
-
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 = '2076925') ORDER BY actionTypes DESC, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-03 22:19:16 Duration: 7s122ms 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 = '2076925') ORDER BY actionTypes DESC, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-05 16:36:29 Duration: 7s26ms 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 = '2076925') ORDER BY actionTypes DESC, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-03 04:44:26 Duration: 6s818ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m17s 23m17s 23m17s 1 23m17s 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 Jun 08 19 1 23m17s 23m17s -
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-06-08 19:00:08 Duration: 23m17s
2 23m4s 23m4s 23m4s 1 23m4s 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 Jun 08 19 1 23m4s 23m4s -
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-06-08 19:40:22 Duration: 23m4s
3 16m7s 16m11s 16m9s 7 1h53m4s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 02 00 1 16m8s 16m8s Jun 03 00 1 16m11s 16m11s Jun 04 00 1 16m11s 16m11s Jun 05 00 1 16m9s 16m9s Jun 06 00 1 16m7s 16m7s Jun 07 00 1 16m7s 16m7s Jun 08 00 1 16m9s 16m9s -
/* * 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-06-04 00:16:12 Duration: 16m11s
-
/* * 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-06-03 00:16:12 Duration: 16m11s
-
/* * 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-06-08 00:16:10 Duration: 16m9s
4 6m42s 6m42s 6m42s 1 6m42s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 08 19 1 6m42s 6m42s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-06-08 19:11:39 Duration: 6m42s
5 6m42s 6m42s 6m42s 1 6m42s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 08 19 1 6m42s 6m42s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-06-08 19:51:44 Duration: 6m42s
6 3m38s 3m47s 3m42s 3 11m6s select distinct primarygeneterm.acc_txt, taxonterm.acc_txt, gt.gene_acc_txt from pub1.gene_taxon gt, pub1.term primarygeneterm, pub1.term taxonterm where gt.gene_id = primarygeneterm.id and gt.taxon_id = taxonterm.id;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 07 12 3 11m6s 3m42s [ User: load - Total duration: 11m6s - Times executed: 3 ]
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-06-07 12:22:34 Duration: 3m47s Database: ctdprd51 User: load Bind query: yes
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-06-07 12:34:32 Duration: 3m40s Database: ctdprd51 User: load Bind query: yes
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-06-07 12:16:15 Duration: 3m38s Database: ctdprd51 User: load Bind query: yes
7 1s116ms 10m6s 1m14s 53 1h5m49s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 02 02 2 2s888ms 1s444ms 05 2 2s866ms 1s433ms 07 2 3m38s 1m49s 09 2 12m18s 6m9s 10 1 1s220ms 1s220ms 18 1 2m4s 2m4s 22 2 4m1s 2m Jun 03 01 2 4s731ms 2s365ms 02 1 1s516ms 1s516ms 03 1 1s325ms 1s325ms 04 1 1s404ms 1s404ms 06 1 1s505ms 1s505ms 07 1 3m7s 3m7s 08 3 9m28s 3m9s 14 1 1s465ms 1s465ms 15 1 1s628ms 1s628ms 16 1 1s287ms 1s287ms 17 1 1s205ms 1s205ms 18 2 2s884ms 1s442ms 22 2 1m23s 41s946ms Jun 04 05 1 1s584ms 1s584ms 06 1 1s473ms 1s473ms 22 1 1m18s 1m18s Jun 05 09 1 3m39s 3m39s Jun 06 00 1 1s958ms 1s958ms 07 2 7m17s 3m38s 12 1 1s521ms 1s521ms 22 1 1m18s 1m18s Jun 07 03 1 1s511ms 1s511ms 07 2 6m44s 3m22s Jun 08 01 1 1s280ms 1s280ms 07 2 7m14s 3m37s 09 5 19s491ms 3s898ms 13 1 1s471ms 1s471ms 18 1 1s116ms 1s116ms 21 1 1m18s 1m18s [ User: pubeu - Total duration: 24m11s - Times executed: 24 ]
-
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 = '1224494') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-02 09:08:12 Duration: 10m6s 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 = '1224494') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-03 08:40:37 Duration: 9m25s 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 = '1241461') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-06-06 07:28:29 Duration: 3m40s Database: ctdprd51 User: pubeu Bind query: yes
8 1s372ms 1m19s 49s403ms 29 23m52s 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 gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 03 16 1 1s372ms 1s372ms Jun 04 04 26 23m48s 54s928ms Jun 06 22 1 1s528ms 1s528ms Jun 08 19 1 1s643ms 1s643ms [ User: pubeu - Total duration: 19m31s - Times executed: 21 ]
-
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 = '2072205') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-04 04:04:50 Duration: 1m19s 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 = '2072205') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-04 04:04:50 Duration: 1m17s 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 = '2072205') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-04 04:04:50 Duration: 1m17s Database: ctdprd51 User: pubeu Bind query: yes
9 1s794ms 3m43s 36s460ms 24 14m35s 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 #9
Day Hour Count Duration Avg duration Jun 02 01 1 2s422ms 2s422ms 02 1 1m13s 1m13s 05 1 17s93ms 17s93ms Jun 03 01 1 2s134ms 2s134ms 12 1 31s695ms 31s695ms 18 1 41s326ms 41s326ms Jun 04 03 1 40s497ms 40s497ms 04 2 5s357ms 2s678ms 09 1 35s62ms 35s62ms 15 1 49s477ms 49s477ms 22 3 5m59s 1m59s Jun 05 02 1 2s282ms 2s282ms 14 1 36s974ms 36s974ms Jun 06 19 1 48s207ms 48s207ms Jun 07 00 1 1s928ms 1s928ms 06 1 41s813ms 41s813ms 16 1 1s794ms 1s794ms Jun 08 06 1 43s361ms 43s361ms 14 1 2s41ms 2s41ms 20 1 36s553ms 36s553ms 21 1 1s980ms 1s980ms [ User: pubeu - Total duration: 3m30s - Times executed: 6 ]
-
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 = '1387209')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-04 22:54:33 Duration: 3m43s 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 = '1426896')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-02 02:09:58 Duration: 1m13s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1387209')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-06-04 22:51:47 Duration: 1m8s Database: ctdprd51 User: pubeu Bind query: yes
10 1s111ms 45s111ms 35s759ms 3,774 1d13h29m16s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 02 00 4 20s747ms 5s186ms 01 1 1s613ms 1s613ms 03 3 16s39ms 5s346ms 04 2 7s686ms 3s843ms 05 3 7s34ms 2s344ms 06 1 1s589ms 1s589ms 07 3 11s517ms 3s839ms 09 1 6s380ms 6s380ms 10 5 18s892ms 3s778ms 11 1 2s83ms 2s83ms 12 2 7s947ms 3s973ms 13 1 3s995ms 3s995ms 14 3 21s187ms 7s62ms 15 2 6s960ms 3s480ms 16 2 6s529ms 3s264ms 18 2 10s17ms 5s8ms 19 3 6s367ms 2s122ms 20 3 12s647ms 4s215ms 21 3 21s810ms 7s270ms 22 2 7s439ms 3s719ms 23 3 16s915ms 5s638ms Jun 03 00 2 5s307ms 2s653ms 01 3 19s954ms 6s651ms 02 2 12s622ms 6s311ms 04 6 33s127ms 5s521ms 05 2 5s904ms 2s952ms 06 1 2s159ms 2s159ms 07 3 21s731ms 7s243ms 08 2 10s792ms 5s396ms 09 3 10s117ms 3s372ms 10 2 11s904ms 5s952ms 11 1 2s744ms 2s744ms 12 1 4s19ms 4s19ms 13 1 3s621ms 3s621ms 14 1 5s348ms 5s348ms 15 2 8s848ms 4s424ms 16 3 8s130ms 2s710ms 17 1 6s718ms 6s718ms 18 5 20s371ms 4s74ms 19 1 5s138ms 5s138ms 20 5 20s146ms 4s29ms 21 1 2s478ms 2s478ms 22 2 7s402ms 3s701ms Jun 04 00 1 5s943ms 5s943ms 02 5 27s485ms 5s497ms 03 1 4s964ms 4s964ms 04 1 1s231ms 1s231ms 05 4 21s471ms 5s367ms 06 2 9s658ms 4s829ms 08 2 20s247ms 10s123ms 09 4 25s172ms 6s293ms 10 2 3s660ms 1s830ms 11 6 22s221ms 3s703ms 15 1 23s40ms 23s40ms 16 2 9s261ms 4s630ms 18 1 2s348ms 2s348ms 19 72 43m23s 36s160ms 20 94 56m44s 36s220ms 21 95 56m53s 35s928ms 22 93 56m41s 36s577ms 23 93 56m8s 36s217ms Jun 05 00 94 57m12s 36s517ms 01 93 56m15s 36s296ms 02 94 56m59s 36s374ms 03 92 56m42s 36s983ms 04 99 56m56s 34s513ms 05 55 34m 37s103ms 07 1 4s526ms 4s526ms 13 2 3s909ms 1s954ms 14 1 2s536ms 2s536ms 16 1 18s434ms 18s434ms 20 1 1s174ms 1s174ms 21 1 18s158ms 18s158ms Jun 06 01 1 1s343ms 1s343ms 05 2 4s256ms 2s128ms 07 2 7s381ms 3s690ms 10 4 4s818ms 1s204ms 12 2 6s241ms 3s120ms 14 2 2s443ms 1s221ms 18 12 7m20s 36s706ms 19 94 56m58s 36s362ms 20 93 56m55s 36s725ms 21 93 56m36s 36s523ms 22 93 56m44s 36s612ms 23 92 56m46s 37s21ms Jun 07 00 93 56m49s 36s662ms 01 93 56m39s 36s558ms 02 92 56m44s 37s6ms 03 92 57m13s 37s326ms 04 91 56m42s 37s388ms 05 54 33m53s 37s664ms 06 1 1s187ms 1s187ms 09 1 4s738ms 4s738ms 11 76 47m13s 37s288ms 12 86 53m31s 37s337ms 13 81 51m8s 37s885ms 14 90 56m38s 37s760ms 15 91 56m57s 37s550ms 16 89 56m25s 38s40ms 17 90 57m1s 38s14ms 18 89 56m26s 38s49ms 19 90 57m11s 38s125ms 20 89 56m37s 38s178ms 21 90 56m44s 37s829ms 22 89 56m46s 38s278ms 23 92 57m33s 37s537ms Jun 08 00 88 56m19s 38s407ms 01 91 57m25s 37s864ms 02 88 56m31s 38s534ms 03 89 57m15s 38s597ms 04 89 56m46s 38s278ms 05 54 34m12s 38s11ms 07 2 19s364ms 9s682ms 09 1 14s979ms 14s979ms 10 2 9s68ms 4s534ms 13 2 7s962ms 3s981ms 14 1 14s667ms 14s667ms 20 2 8s220ms 4s110ms 21 2 6s146ms 3s73ms 23 1 1s188ms 1s188ms [ User: pubeu - Total duration: 1d6h36m55s - Times executed: 3015 ]
-
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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1680850;
Date: 2024-06-04 22:51:31 Duration: 45s111ms 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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1751300;
Date: 2024-06-07 03:24:41 Duration: 40s154ms 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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1818800;
Date: 2024-06-08 00:02:00 Duration: 39s973ms Database: ctdprd51 User: pubeu Bind query: yes
11 32s208ms 32s972ms 32s746ms 25 13m38s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 02 06 1 32s801ms 32s801ms 10 1 32s658ms 32s658ms 14 1 32s612ms 32s612ms 18 1 32s972ms 32s972ms Jun 03 06 1 32s722ms 32s722ms 10 1 32s760ms 32s760ms 14 1 32s648ms 32s648ms 18 1 32s780ms 32s780ms Jun 04 06 1 32s631ms 32s631ms 10 1 32s913ms 32s913ms 14 1 32s692ms 32s692ms 18 1 32s766ms 32s766ms Jun 05 06 1 32s730ms 32s730ms 10 1 32s766ms 32s766ms 14 1 32s852ms 32s852ms 18 1 32s657ms 32s657ms Jun 06 06 1 32s822ms 32s822ms 10 1 32s758ms 32s758ms 14 1 32s890ms 32s890ms 18 1 32s679ms 32s679ms Jun 07 06 1 32s833ms 32s833ms 10 1 32s808ms 32s808ms 14 1 32s805ms 32s805ms 18 1 32s891ms 32s891ms Jun 08 19 1 32s208ms 32s208ms [ User: postgres - Total duration: 13m6s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m6s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-02 18:05:34 Duration: 32s972ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-04 10:05:34 Duration: 32s913ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-06-07 18:05:34 Duration: 32s891ms Database: ctdprd51 User: postgres Application: pg_dump
12 28s174ms 30s902ms 29s559ms 14 6m53s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 02 08 2 1m 30s185ms 09 10 4m55s 29s579ms 10 2 57s667ms 28s833ms [ User: pubeu - Total duration: 2m57s - Times executed: 6 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'A12\_3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0003674' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05330' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CROWN COMPOUNDS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-06-02 08:59:50 Duration: 30s902ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'RPS18') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0003674' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-177162' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'POLY(KETAL ADIPATE)-CO-POLY(ETHYLENE GLYCOL)' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-06-02 09:43:57 Duration: 30s574ms Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'P53') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0003674' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-1296065' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'POLY(KETAL ADIPATE)-CO-POLY(ETHYLENE GLYCOL)' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-06-02 09:12:34 Duration: 30s557ms Bind query: yes
13 1s406ms 23s651ms 5s474ms 112 10m13s select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 03 12 6 31s131ms 5s188ms 13 5 25s492ms 5s98ms 14 2 4s6ms 2s3ms 15 6 27s25ms 4s504ms 16 5 25s412ms 5s82ms Jun 04 12 9 49s333ms 5s481ms 13 1 2s3ms 2s3ms 14 16 1m25s 5s370ms 15 7 28s771ms 4s110ms 18 1 1s997ms 1s997ms Jun 05 12 51 4m52s 5s741ms 15 3 39s253ms 13s84ms [ User: pubeu - Total duration: 1m22s - Times executed: 21 ]
-
SELECT /* BatchChemGODAO */ 'd003907' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1288145)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-06-05 12:23:46 Duration: 23s651ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd003907' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1288145)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-06-05 12:23:37 Duration: 21s249ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000077210' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1376843)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-06-04 14:58:32 Duration: 17s295ms Bind query: yes
14 1s153ms 5s127ms 4s771ms 43 3m25s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 02 06 1 4s989ms 4s989ms 11 1 4s920ms 4s920ms Jun 03 06 2 2s306ms 1s153ms 08 3 14s868ms 4s956ms 16 1 4s923ms 4s923ms 20 1 4s942ms 4s942ms 22 1 4s934ms 4s934ms Jun 04 16 1 4s943ms 4s943ms Jun 05 07 2 9s841ms 4s920ms 09 2 9s956ms 4s978ms 10 1 5s127ms 5s127ms 11 1 4s930ms 4s930ms 20 2 9s859ms 4s929ms Jun 06 08 1 4s977ms 4s977ms 20 1 4s950ms 4s950ms Jun 07 01 1 4s990ms 4s990ms 02 3 14s872ms 4s957ms 07 3 14s765ms 4s921ms Jun 08 03 2 9s836ms 4s918ms 04 1 4s928ms 4s928ms 05 3 14s970ms 4s990ms 06 2 9s928ms 4s964ms 07 3 14s782ms 4s927ms 08 2 9s809ms 4s904ms 15 2 9s836ms 4s918ms [ User: pubeu - Total duration: 1m38s - Times executed: 20 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'PPT1_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'PPT1_1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PPT1_1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'PPT1_1')) ii GROUP BY ii.cd;
Date: 2024-06-05 10:58:25 Duration: 5s127ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'EPR50_G00126680') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'EPR50_G00126680') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'EPR50_G00126680')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'EPR50_G00126680')) ii GROUP BY ii.cd;
Date: 2024-06-08 05:17:44 Duration: 5s32ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'N308_12351') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'N308_12351') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'N308_12351')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'N308_12351')) ii GROUP BY ii.cd;
Date: 2024-06-05 09:33:33 Duration: 4s999ms Database: ctdprd51 User: pubeu Bind query: yes
15 1s 6s651ms 4s656ms 183 14m12s 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 #15
Day Hour Count Duration Avg duration Jun 02 01 3 15s2ms 5s 02 3 11s636ms 3s878ms 03 1 4s678ms 4s678ms 04 5 26s821ms 5s364ms 05 1 4s670ms 4s670ms 07 3 15s118ms 5s39ms 08 1 4s996ms 4s996ms 09 1 5s650ms 5s650ms 10 4 20s482ms 5s120ms 11 2 10s474ms 5s237ms 12 1 5s264ms 5s264ms 13 2 10s172ms 5s86ms 15 2 9s443ms 4s721ms 16 2 6s12ms 3s6ms 18 1 4s621ms 4s621ms 19 2 9s997ms 4s998ms 20 1 5s635ms 5s635ms 22 1 5s142ms 5s142ms Jun 03 00 1 4s695ms 4s695ms 01 2 5s763ms 2s881ms 02 3 12s244ms 4s81ms 04 4 15s767ms 3s941ms 06 3 14s785ms 4s928ms 07 3 15s399ms 5s133ms 08 3 14s374ms 4s791ms 09 1 5s620ms 5s620ms 10 2 9s755ms 4s877ms 12 1 5s391ms 5s391ms 13 5 25s553ms 5s110ms 14 2 7s651ms 3s825ms 15 2 10s18ms 5s9ms 17 2 10s274ms 5s137ms 19 1 4s614ms 4s614ms 20 2 6s283ms 3s141ms 21 2 6s377ms 3s188ms 22 1 5s403ms 5s403ms 23 2 10s420ms 5s210ms Jun 04 00 1 4s700ms 4s700ms 05 4 20s934ms 5s233ms 06 1 1s17ms 1s17ms 08 1 4s772ms 4s772ms 11 4 16s643ms 4s160ms 12 2 11s175ms 5s587ms 13 1 5s346ms 5s346ms 14 1 4s985ms 4s985ms 16 1 1s 1s 20 1 4s731ms 4s731ms 21 2 10s802ms 5s401ms 22 3 15s192ms 5s64ms 23 2 9s808ms 4s904ms Jun 05 01 4 20s114ms 5s28ms 03 3 11s74ms 3s691ms 05 1 1s31ms 1s31ms 09 1 1s12ms 1s12ms 11 2 5s854ms 2s927ms 13 2 5s713ms 2s856ms 14 1 4s762ms 4s762ms 17 1 5s513ms 5s513ms 18 1 5s613ms 5s613ms 21 4 17s776ms 4s444ms 22 1 5s723ms 5s723ms 23 1 1s9ms 1s9ms Jun 06 00 2 11s79ms 5s539ms 03 2 10s839ms 5s419ms 04 2 10s239ms 5s119ms 08 2 9s649ms 4s824ms 09 2 10s67ms 5s33ms 10 1 4s827ms 4s827ms 12 1 4s789ms 4s789ms 13 1 4s687ms 4s687ms 14 2 5s727ms 2s863ms 15 1 5s587ms 5s587ms 18 1 5s3ms 5s3ms 21 2 11s203ms 5s601ms Jun 07 01 3 15s769ms 5s256ms 02 1 5s206ms 5s206ms 04 2 10s990ms 5s495ms 05 1 5s445ms 5s445ms 07 2 9s925ms 4s962ms 08 1 4s840ms 4s840ms 09 1 5s147ms 5s147ms 10 1 1s6ms 1s6ms 14 2 10s186ms 5s93ms 16 1 5s302ms 5s302ms 17 1 5s308ms 5s308ms 18 1 5s641ms 5s641ms 20 1 5s211ms 5s211ms Jun 08 00 1 5s192ms 5s192ms 05 3 15s613ms 5s204ms 06 1 5s864ms 5s864ms 07 2 10s533ms 5s266ms 09 5 21s931ms 4s386ms 10 1 4s636ms 4s636ms 13 1 5s279ms 5s279ms 14 3 15s546ms 5s182ms 16 1 5s447ms 5s447ms 17 1 5s44ms 5s44ms 18 2 6s96ms 3s48ms 22 1 4s806ms 4s806ms [ User: pubeu - Total duration: 6m6s - Times executed: 76 ]
-
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 = '1290458' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-03 14:12:58 Duration: 6s651ms 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 = '1316373' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-08 06:24:26 Duration: 5s864ms 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 = '1276323' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-06-04 05:35:51 Duration: 5s834ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s247ms 7s122ms 4s145ms 30 2m4s 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 desc, 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 Jun 02 01 1 1s652ms 1s652ms 05 2 7s744ms 3s872ms 09 2 9s106ms 4s553ms 19 1 1s955ms 1s955ms 21 1 3s345ms 3s345ms Jun 03 00 1 6s363ms 6s363ms 04 2 9s323ms 4s661ms 05 1 4s520ms 4s520ms 06 1 5s405ms 5s405ms 07 1 6s496ms 6s496ms 10 1 1s554ms 1s554ms 14 1 1s632ms 1s632ms 16 1 2s793ms 2s793ms 18 1 3s157ms 3s157ms 19 1 5s931ms 5s931ms 21 1 6s353ms 6s353ms 22 1 7s122ms 7s122ms Jun 04 00 2 6s518ms 3s259ms 01 1 2s686ms 2s686ms 02 1 2s561ms 2s561ms 05 1 6s786ms 6s786ms 09 1 4s209ms 4s209ms 10 1 6s263ms 6s263ms Jun 05 16 1 7s26ms 7s26ms Jun 06 02 1 2s595ms 2s595ms 05 1 1s247ms 1s247ms [ User: pubeu - Total duration: 32s659ms - Times executed: 9 ]
-
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 = '2076925') ORDER BY actionTypes DESC, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-03 22:19:16 Duration: 7s122ms 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 = '2076925') ORDER BY actionTypes DESC, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-05 16:36:29 Duration: 7s26ms 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 = '2076925') ORDER BY actionTypes DESC, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-06-03 04:44:26 Duration: 6s818ms Bind query: yes
17 3s744ms 16s166ms 4s54ms 402 27m9s 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 #17
Day Hour Count Duration Avg duration Jun 02 00 1 4s142ms 4s142ms 02 1 3s789ms 3s789ms 03 3 11s954ms 3s984ms 04 7 27s250ms 3s892ms 07 2 7s907ms 3s953ms 08 1 3s936ms 3s936ms 09 3 11s696ms 3s898ms 10 1 5s320ms 5s320ms 15 1 3s968ms 3s968ms 20 2 7s826ms 3s913ms 21 3 11s465ms 3s821ms 22 8 31s679ms 3s959ms 23 2 7s984ms 3s992ms Jun 03 00 6 23s554ms 3s925ms 01 6 23s288ms 3s881ms 02 5 19s528ms 3s905ms 03 3 11s702ms 3s900ms 04 7 27s750ms 3s964ms 05 1 3s903ms 3s903ms 06 2 8s135ms 4s67ms 07 3 11s513ms 3s837ms 08 1 4s30ms 4s30ms 09 11 43s513ms 3s955ms 10 4 15s987ms 3s996ms 11 4 16s316ms 4s79ms 12 2 8s11ms 4s5ms 14 6 23s498ms 3s916ms 15 6 23s551ms 3s925ms 17 2 7s722ms 3s861ms 18 1 4s211ms 4s211ms 21 4 15s947ms 3s986ms 23 3 11s677ms 3s892ms Jun 04 00 1 3s959ms 3s959ms 02 3 11s901ms 3s967ms 03 5 19s648ms 3s929ms 04 2 8s65ms 4s32ms 05 1 4s34ms 4s34ms 06 5 19s345ms 3s869ms 07 4 15s611ms 3s902ms 08 60 4m2s 4s43ms 09 34 2m23s 4s209ms 10 3 11s824ms 3s941ms 11 2 7s881ms 3s940ms 12 6 23s318ms 3s886ms 13 1 3s884ms 3s884ms 15 1 3s814ms 3s814ms 16 4 16s215ms 4s53ms 17 2 7s787ms 3s893ms 18 2 8s149ms 4s74ms 20 1 4s127ms 4s127ms 21 3 11s883ms 3s961ms 22 1 4s393ms 4s393ms 23 1 4s48ms 4s48ms Jun 05 00 9 36s550ms 4s61ms 01 4 16s264ms 4s66ms 02 1 3s993ms 3s993ms 03 7 27s639ms 3s948ms 04 2 7s880ms 3s940ms 05 4 15s514ms 3s878ms 07 1 3s854ms 3s854ms 08 4 15s772ms 3s943ms 09 1 3s891ms 3s891ms 10 3 11s802ms 3s934ms 12 18 1m17s 4s305ms 13 3 11s812ms 3s937ms 15 1 3s995ms 3s995ms 17 1 3s865ms 3s865ms 18 3 12s17ms 4s5ms 21 1 4s338ms 4s338ms 22 1 3s994ms 3s994ms 23 1 3s955ms 3s955ms Jun 06 00 3 11s500ms 3s833ms 01 2 7s833ms 3s916ms 02 1 3s819ms 3s819ms 03 1 4s120ms 4s120ms 04 2 8s260ms 4s130ms 05 2 7s813ms 3s906ms 06 1 5s395ms 5s395ms 10 4 15s656ms 3s914ms 11 1 3s914ms 3s914ms 12 5 19s937ms 3s987ms 13 10 39s866ms 3s986ms 16 5 19s942ms 3s988ms 17 1 4s115ms 4s115ms 19 2 7s979ms 3s989ms 20 1 3s974ms 3s974ms Jun 07 00 2 7s992ms 3s996ms 01 4 28s214ms 7s53ms 02 1 4s176ms 4s176ms 06 1 3s751ms 3s751ms 07 1 4s38ms 4s38ms 08 1 5s223ms 5s223ms 09 1 3s969ms 3s969ms 10 3 11s836ms 3s945ms 11 2 7s864ms 3s932ms 13 2 7s946ms 3s973ms 14 1 3s949ms 3s949ms 15 1 4s64ms 4s64ms 16 4 16s8ms 4s2ms Jun 08 01 1 3s859ms 3s859ms 02 1 3s976ms 3s976ms 03 1 3s990ms 3s990ms 06 3 11s851ms 3s950ms 07 2 7s907ms 3s953ms 09 2 8s256ms 4s128ms 11 1 5s42ms 5s42ms 12 1 4s380ms 4s380ms 14 1 4s146ms 4s146ms 15 1 3s871ms 3s871ms 16 2 8s592ms 4s296ms 21 1 3s820ms 3s820ms 23 1 3s886ms 3s886ms [ User: pubeu - Total duration: 11m27s - Times executed: 170 ]
-
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 = '1387245') 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 = '1387245') 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-06-07 01:08:38 Duration: 16s166ms 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 = '1254557') 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 = '1254557') 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-06-05 12:23:20 Duration: 9s327ms 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 = '1331988') 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 = '1331988') 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-06-04 08:08:46 Duration: 5s592ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s68ms 44s638ms 3s919ms 91 5m56s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 02 02 7 8s143ms 1s163ms 03 3 3s527ms 1s175ms 04 1 11s441ms 11s441ms 08 1 3s361ms 3s361ms 09 2 1m28s 44s401ms 10 1 1s586ms 1s586ms 18 1 1s121ms 1s121ms 19 1 1s536ms 1s536ms 21 6 8s308ms 1s384ms 23 1 1s95ms 1s95ms Jun 03 00 1 43s602ms 43s602ms 02 1 3s111ms 3s111ms 08 1 1s383ms 1s383ms 09 1 2s27ms 2s27ms 10 2 3s60ms 1s530ms 11 1 1s515ms 1s515ms 13 2 2s343ms 1s171ms 16 1 1s147ms 1s147ms 21 2 21s854ms 10s927ms Jun 04 02 1 1s428ms 1s428ms 03 3 6s107ms 2s35ms 09 3 4s609ms 1s536ms 10 10 14s720ms 1s472ms 11 1 1s188ms 1s188ms 15 1 3s102ms 3s102ms 17 1 1s438ms 1s438ms 18 1 1s91ms 1s91ms 19 1 1s493ms 1s493ms 23 1 3s202ms 3s202ms Jun 05 02 1 11s233ms 11s233ms 04 2 4s266ms 2s133ms 06 1 1s194ms 1s194ms 08 1 1s337ms 1s337ms 09 2 3s554ms 1s777ms 10 3 4s719ms 1s573ms 14 1 11s318ms 11s318ms 18 1 1s189ms 1s189ms 20 1 1s152ms 1s152ms Jun 06 10 1 1s563ms 1s563ms 19 2 2s660ms 1s330ms 22 2 3s809ms 1s904ms 23 1 1s804ms 1s804ms Jun 07 00 1 3s238ms 3s238ms 03 1 11s395ms 11s395ms 08 1 1s434ms 1s434ms 09 1 1s884ms 1s884ms 17 1 3s150ms 3s150ms 18 1 1s143ms 1s143ms Jun 08 00 1 18s203ms 18s203ms 06 1 1s872ms 1s872ms 07 2 13s15ms 6s507ms 10 1 1s533ms 1s533ms 18 1 1s68ms 1s68ms 19 1 1s548ms 1s548ms [ User: pubeu - Total duration: 3m18s - Times executed: 41 ]
-
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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-02 09:40:59 Duration: 44s638ms 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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-02 09:45:07 Duration: 44s164ms 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 = '2073677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-06-03 00:11:57 Duration: 43s602ms Bind query: yes
19 1s40ms 23s180ms 3s531ms 53 3m7s 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 #19
Day Hour Count Duration Avg duration Jun 02 01 1 1s63ms 1s63ms 02 1 1s504ms 1s504ms 05 3 10s633ms 3s544ms 06 1 3s989ms 3s989ms 09 1 1s209ms 1s209ms 11 1 1s209ms 1s209ms 15 1 3s94ms 3s94ms 18 1 1s195ms 1s195ms 19 1 1s302ms 1s302ms Jun 03 00 1 2s791ms 2s791ms 01 1 1s741ms 1s741ms 02 1 1s195ms 1s195ms 03 1 1s331ms 1s331ms 06 1 8s344ms 8s344ms 07 1 2s786ms 2s786ms 08 1 4s224ms 4s224ms 09 2 4s436ms 2s218ms 12 1 1s40ms 1s40ms 15 2 2s495ms 1s247ms 18 2 2s782ms 1s391ms 19 1 1s211ms 1s211ms 20 2 2s784ms 1s392ms 21 1 1s184ms 1s184ms 22 1 2s390ms 2s390ms 23 2 2s874ms 1s437ms Jun 04 01 2 2s647ms 1s323ms 03 1 1s326ms 1s326ms 04 1 1s294ms 1s294ms 05 2 3s788ms 1s894ms 06 1 1s257ms 1s257ms 14 1 1s43ms 1s43ms Jun 05 11 1 3s388ms 3s388ms 14 1 1s737ms 1s737ms Jun 06 13 1 4s708ms 4s708ms Jun 07 10 2 2s722ms 1s361ms 13 1 1s715ms 1s715ms 17 1 2s166ms 2s166ms Jun 08 09 4 1m27s 21s979ms 13 1 1s289ms 1s289ms 18 1 1s321ms 1s321ms [ User: pubeu - Total duration: 1m23s - Times executed: 19 ]
-
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 = '1210111') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-06-08 09:13:52 Duration: 23s180ms 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 = '1210111') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-06-08 09:13:53 Duration: 22s670ms 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 = '1210111') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-06-08 09:13:53 Duration: 22s196ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s253ms 5s382ms 2s870ms 35 1m40s 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 #20
Day Hour Count Duration Avg duration Jun 02 01 1 2s872ms 2s872ms 04 1 2s583ms 2s583ms 08 1 1s846ms 1s846ms 14 1 5s253ms 5s253ms 18 1 1s257ms 1s257ms Jun 03 05 2 5s189ms 2s594ms 07 1 2s767ms 2s767ms 12 1 1s751ms 1s751ms 15 1 2s364ms 2s364ms 16 2 10s467ms 5s233ms 18 1 2s315ms 2s315ms 22 1 1s460ms 1s460ms Jun 04 01 1 2s875ms 2s875ms 16 1 1s855ms 1s855ms Jun 05 00 1 1s253ms 1s253ms 02 1 2s433ms 2s433ms Jun 06 05 1 2s186ms 2s186ms 12 1 2s365ms 2s365ms 22 1 2s390ms 2s390ms Jun 07 01 2 6s524ms 3s262ms 02 1 3s634ms 3s634ms 05 1 2s368ms 2s368ms 11 1 5s302ms 5s302ms Jun 08 00 1 5s382ms 5s382ms 04 2 3s809ms 1s904ms 07 1 5s181ms 5s181ms 10 1 2s382ms 2s382ms 12 1 5s267ms 5s267ms 15 1 1s501ms 1s501ms 20 1 2s354ms 2s354ms 21 1 1s269ms 1s269ms [ User: pubeu - Total duration: 52s60ms - Times executed: 17 ]
-
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 = '1387245') 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 = '1387245') 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 1750;
Date: 2024-06-08 00:14:46 Duration: 5s382ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1387245') 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 = '1387245') 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 1750;
Date: 2024-06-07 11:51:38 Duration: 5s302ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1387245') 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 = '1387245') 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 150;
Date: 2024-06-08 12:48:44 Duration: 5s267ms Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 331 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Jun 02 03 1 0ms 0ms 06 12 0ms 0ms 07 14 0ms 0ms 08 20 0ms 0ms 13 6 0ms 0ms 14 4 0ms 0ms Jun 03 00 1 0ms 0ms 09 8 0ms 0ms 10 6 0ms 0ms 11 8 0ms 0ms 12 4 0ms 0ms 14 2 0ms 0ms 15 6 0ms 0ms 16 8 0ms 0ms Jun 04 06 6 0ms 0ms 07 14 0ms 0ms 12 10 0ms 0ms Jun 05 06 14 0ms 0ms 07 8 0ms 0ms 09 4 0ms 0ms 10 12 0ms 0ms 11 8 0ms 0ms 13 8 0ms 0ms 15 4 0ms 0ms Jun 06 07 4 0ms 0ms 08 6 0ms 0ms 10 6 0ms 0ms 12 2 0ms 0ms 13 10 0ms 0ms 14 10 0ms 0ms 15 10 0ms 0ms 16 2 0ms 0ms 18 4 0ms 0ms Jun 07 05 15 0ms 0ms 06 12 0ms 0ms 09 6 0ms 0ms 10 6 0ms 0ms 12 21 0ms 0ms 13 27 0ms 0ms Jun 08 03 2 0ms 0ms [ User: pubeu - Total duration: 9m42s - Times executed: 168 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '2073677'
-
Events
Log levels
Key values
- 163,653 Log entries
Events distribution
Key values
- 0 PANIC entries
- 7 FATAL entries
- 82 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 55 Max number of times the same event was reported
- 89 Total events found
Rank Times reported Error 1 55 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Jun 02 06 1 08 1 09 1 14 1 18 1 20 2 Jun 03 03 1 06 1 08 2 10 1 19 1 22 2 Jun 04 07 1 08 1 11 1 12 1 Jun 05 00 1 03 1 04 1 08 2 12 1 Jun 06 03 1 12 1 15 1 21 2 23 1 Jun 07 00 1 06 1 09 1 15 2 18 3 20 1 21 1 23 1 Jun 08 05 1 07 1 09 1 10 1 12 3 18 2 19 3 21 1 - ERROR: syntax error in ts"エーザイ & ユベラNソフトカプセル200MG 販売"
- ERROR: syntax error in ts"腎シンチ 検査手順 & 投与量"
- ERROR: syntax error in ts"ロキソニン 製薬会社"
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $5 OR upper( l.acc_txt ) LIKE $6 ) ) ii GROUP BY ii.cd
Date: 2024-06-02 06:05:21
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-06-02 08:38:41
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $4 ) ) ii GROUP BY ii.cd
Date: 2024-06-02 09:34:16 Database: ctdprd51 Application: User: pubeu Remote:
2 8 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #2
Day Hour Count Jun 04 17 1 Jun 07 10 7 - ERROR: relation "tm_reference_term" does not exist at character 36
- ERROR: relation "tm_reference_term_id_seq" does not exist at character 98 (#015 id int4 DEFAULT nextval('tm_reference_term_id_seq') NOT NULL#015 ,tm_reference_id int4 NOT NULL#015 ,term_txt varchar(600) NOT NULL #015 ,term_txt_html varchar(600) NOT NULL #015 ,object_type_id int4 NOT NULL#015 ,primary_term_acc_txt varchar(128) NOT NULL#015 ,term_nm varchar(600) NOT NULL#015 ,gene_taxon_acc_txt varchar(128) NULL#015 ,create_by varchar(30) NOT NULL#015 ,create_tm timestamp DEFAULT now() NOT NULL#015 ,CONSTRAINT tm_reference_term_pk PRIMARY KEY (id)#015 )
- ERROR: relation "edit.tm_reference_term_id_seq" does not exist
Statement: select distinct trt.term_nm from tm_reference_term trt ,tm_reference tm where tm.id = trt.tm_reference_id and term_nm not in ( 'Homo sapiens' ,'Mus musculus' ,'Rattus norvegicus' ,'Not Reported' ,'Canis lupus familiaris' ,'Danio rerio' ,'Oryctolagus cuniculus' )
Date: 2024-06-04 17:45:30 Database: ctdprd51 Application: pgAdmin 4 - CONN:3148277 User: edit Remote:
Statement: CREATE TABLE edit.tm_reference_term#015
Date: 2024-06-07 10:25:21
Statement: ALTER SEQUENCE edit.tm_reference_term_id_seq OWNED BY tm_reference_term.id;
Date: 2024-06-07 10:25:21
3 8 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #3
Day Hour Count Jun 03 21 2 Jun 04 19 2 Jun 07 22 3 Jun 08 14 1 4 4 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Jun 04 09 2 Jun 07 10 2 - FATAL: password authentication failed for user "edit"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2024-06-04 09:47:48
5 3 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #5
Day Hour Count Jun 02 09 1 Jun 04 04 2 6 3 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #6
Day Hour Count Jun 02 09 1 Jun 04 04 2 7 3 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #7
Day Hour Count Jun 07 12 2 13 1 8 2 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #8
Day Hour Count Jun 04 04 2 - ERROR: canceling statement due to user request
Statement: SELECT pg_database_size(datname::text) FROM pg_catalog.pg_database WHERE datistemplate = false AND datname = $1;
Date: 2024-06-04 04:04:09
9 1 ERROR: relation "..." does not exist FOREIGN KEY (...)#015 REFERENCES object_type(...)#015
Times Reported Most Frequent Error / Event #9
Day Hour Count Jun 07 10 1 - ERROR: relation "edit.tm_reference_term" does not exist FOREIGN KEY (object_type_id)#015 REFERENCES object_type(id)#015
Statement: ALTER TABLE edit.tm_reference_term ADD CONSTRAINT tm_reference_term_obj_type_fk #015
Date: 2024-06-07 10:25:21
10 1 ERROR: operator too long at or near "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Jun 07 10 1 - ERROR: operator too long at or near "*****************************************************************" at character 1 *****************************************************************#015 #015 CREATE SEQUENCE edit.tm_reference_term_id_seq
Statement: *****************************************************************#015
Date: 2024-06-07 10:25:21 Database: ctdprd51 Application: psql User: edit Remote:
11 1 ERROR: relation "..." does not exist FOREIGN KEY (...)#015 REFERENCES tm_reference(...)#015
Times Reported Most Frequent Error / Event #11
Day Hour Count Jun 07 10 1 - ERROR: relation "edit.tm_reference_term" does not exist FOREIGN KEY (tm_reference_id)#015 REFERENCES tm_reference(id)#015
Statement: ALTER TABLE edit.tm_reference_term ADD CONSTRAINT tm_reference_term_tm_ref_fk #015
Date: 2024-06-07 10:25:21