-
Global information
- Generated on Sun Jan 19 04:15:16 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250118
- Parsed 196,045 log entries in 15s
- Log start from 2025-01-12 00:00:01 to 2025-01-18 23:59:41
-
Overview
Global Stats
- 415 Number of unique normalized queries
- 11,855 Number of queries
- 5d17h54m25s Total query duration
- 2025-01-12 00:01:30 First query
- 2025-01-18 23:59:22 Last query
- 6 queries/s at 2025-01-16 03:37:20 Query peak
- 5d17h54m25s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 5d17h54m25s Execute total duration
- 177 Number of events
- 15 Number of unique normalized events
- 78 Max number of times the same event was reported
- 0 Number of cancellation
- 505 Total number of automatic vacuums
- 205 Total number of automatic analyzes
- 28 Number temporary file
- 1.00 GiB Max size of temporary file
- 449.18 MiB Average size of temporary file
- 17,298 Total number of sessions
- 90 sessions at 2025-01-13 23:31:54 Session peak
- 300d9h4m31s Total duration of sessions
- 25m Average duration of sessions
- 0 Average queries per session
- 28s700ms Average queries duration per session
- 24m31s Average idle time per session
- 17,297 Total number of connections
- 94 connections/s at 2025-01-16 03:37:18 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 6 queries/s Query Peak
- 2025-01-16 03:37:20 Date
SELECT Traffic
Key values
- 6 queries/s Query Peak
- 2025-01-16 03:37:20 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-01-13 10:00:17 Date
Queries duration
Key values
- 5d17h54m25s 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) Jan 12 00 53 0ms 22m19s 27s220ms 5s507ms 7s728ms 22m28s 01 43 0ms 6s677ms 1s855ms 5s34ms 6s136ms 7s829ms 02 89 0ms 4d16h19s 1h15m32s 8s151ms 14s1ms 4d16h20s 03 77 0ms 26s951ms 2s575ms 9s271ms 13s837ms 28s75ms 04 54 0ms 20s81ms 2s776ms 6s980ms 12s705ms 21s214ms 05 94 0ms 6s749ms 2s161ms 8s860ms 18s75ms 29s350ms 06 65 0ms 45s833ms 3s733ms 6s197ms 12s719ms 1m 07 63 0ms 19s300ms 2s378ms 6s187ms 8s477ms 29s237ms 08 60 0ms 48s868ms 3s808ms 7s9ms 15s83ms 50s134ms 09 84 0ms 47s8ms 3s778ms 9s482ms 24s893ms 1m2s 10 74 0ms 52s191ms 4s764ms 16s478ms 48s500ms 1m2s 11 47 0ms 8s114ms 2s330ms 6s168ms 11s520ms 15s167ms 12 58 0ms 6s259ms 2s58ms 4s987ms 6s633ms 12s786ms 13 67 0ms 6s190ms 1s878ms 6s76ms 8s171ms 9s886ms 14 57 0ms 45s177ms 4s53ms 9s787ms 11s873ms 56s49ms 15 41 0ms 22s326ms 2s437ms 4s379ms 4s805ms 32s53ms 16 43 0ms 8s308ms 2s255ms 5s908ms 7s236ms 14s518ms 17 64 0ms 48s331ms 3s173ms 9s508ms 13s653ms 51s514ms 18 55 0ms 45s152ms 4s920ms 17s43ms 30s798ms 56s48ms 19 55 0ms 6s779ms 1s690ms 3s733ms 7s65ms 7s865ms 20 58 0ms 5s566ms 2s71ms 5s434ms 7s423ms 9s724ms 21 38 0ms 47s105ms 3s369ms 4s614ms 9s983ms 50s24ms 22 60 0ms 9s574ms 2s143ms 4s655ms 6s85ms 14s824ms 23 65 0ms 7s593ms 2s78ms 6s220ms 7s593ms 10s709ms Jan 13 00 47 0ms 22m23s 31s112ms 6s582ms 12s7ms 22m30s 01 34 0ms 6s953ms 2s777ms 5s714ms 7s410ms 13s720ms 02 69 0ms 31s259ms 2s866ms 7s694ms 10s427ms 31s259ms 03 76 0ms 21s113ms 2s678ms 10s91ms 18s514ms 22s795ms 04 51 0ms 9s595ms 2s156ms 5s64ms 7s568ms 9s595ms 05 101 0ms 6s765ms 2s233ms 7s395ms 20s225ms 36s296ms 06 79 0ms 48s803ms 4s308ms 10s143ms 52s931ms 1m 07 74 0ms 7s675ms 2s196ms 7s911ms 8s954ms 13s256ms 08 88 0ms 6s666ms 2s426ms 7s790ms 10s148ms 11s429ms 09 93 0ms 1m15s 4s351ms 20s39ms 38s683ms 1m15s 10 94 0ms 52s820ms 4s395ms 24s727ms 41s419ms 1m1s 11 75 0ms 7s924ms 2s415ms 7s955ms 9s948ms 28s440ms 12 55 0ms 7s623ms 2s82ms 5s225ms 6s396ms 7s623ms 13 70 0ms 5m31s 6s779ms 7s254ms 9s297ms 5m34s 14 85 0ms 45s593ms 3s359ms 8s491ms 29s965ms 55s367ms 15 82 0ms 22s763ms 3s313ms 11s705ms 14s465ms 1m9s 16 53 0ms 6s298ms 2s477ms 6s114ms 6s298ms 10s533ms 17 61 0ms 5m10s 7s726ms 7s584ms 10s450ms 5m19s 18 92 0ms 51s226ms 3s989ms 9s969ms 54s806ms 1m3s 19 72 0ms 11s557ms 1s958ms 5s998ms 8s319ms 12s850ms 20 82 0ms 53s467ms 3s1ms 7s42ms 12s110ms 55s920ms 21 20 0ms 18s697ms 5s599ms 11s524ms 23s196ms 33s990ms 22 83 0ms 8m46s 24s60ms 41s775ms 2m19s 26m20s 23 6 0ms 10s452ms 3s98ms 0ms 8s136ms 10s452ms Jan 14 00 2 0ms 22m37s 11m21s 0ms 0ms 22m43s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 71 0ms 6s660ms 2s323ms 15s785ms 22s653ms 30s759ms 06 114 0ms 45s179ms 3s42ms 10s824ms 20s114ms 58s448ms 07 124 0ms 29s513ms 3s332ms 27s679ms 32s423ms 48s9ms 08 94 0ms 3m46s 5s428ms 16s491ms 22s281ms 3m46s 09 125 0ms 2m59s 6s415ms 14s59ms 43s112ms 5m41s 10 141 0ms 3m27s 5s748ms 24s626ms 1m1s 3m37s 11 136 0ms 24s376ms 4s135ms 26s526ms 51s939ms 1m11s 12 67 0ms 8m46s 18s772ms 8s111ms 20s391ms 17m32s 13 99 0ms 1m21s 3s185ms 11s975ms 17s289ms 1m21s 14 186 0ms 1m21s 3s939ms 25s320ms 1m6s 1m21s 15 182 0ms 17m45s 8s69ms 14s754ms 31s676ms 17m46s 16 173 0ms 58s634ms 4s94ms 45s4ms 1m1s 1m50s 17 176 0ms 43s999ms 2s677ms 25s858ms 29s24ms 53s302ms 18 161 0ms 52s808ms 3s307ms 18s614ms 57s349ms 1m1s 19 219 0ms 15s683ms 2s538ms 25s722ms 30s3ms 38s184ms 20 246 0ms 3m26s 4s161ms 27s237ms 1m1s 4m2s 21 322 0ms 18m43s 13s28ms 39s564ms 49s679ms 37m25s 22 287 0ms 17m50s 6s502ms 28s500ms 53s854ms 17m57s 23 274 0ms 5m38s 3s896ms 38s949ms 42s159ms 5m38s Jan 15 00 40 0ms 38m47s 2m35s 22s475ms 1m50s 1h17m13s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 86 0ms 3m12s 4s850ms 22s707ms 28s261ms 3m12s 06 105 0ms 45s398ms 3s790ms 17s87ms 58s73ms 1m7s 07 105 0ms 43s660ms 3s120ms 14s395ms 19s242ms 45s992ms 08 64 0ms 18m24s 55s412ms 17s744ms 46s504ms 54m53s 09 130 0ms 47s983ms 4s551ms 35s456ms 52s314ms 1m37s 10 95 0ms 45s924ms 3s672ms 18s334ms 42s822ms 55s744ms 11 133 0ms 3m28s 4s595ms 10s800ms 20s14ms 3m36s 12 125 0ms 43s660ms 3s193ms 15s435ms 29s505ms 47s401ms 13 105 0ms 5m32s 6s33ms 12s571ms 24s825ms 5m34s 14 106 0ms 45s375ms 3s390ms 11s68ms 23s453ms 1m18s 15 119 0ms 17m52s 15s330ms 15s897ms 55s998ms 19m18s 16 100 0ms 24s422ms 3s341ms 14s583ms 22s35ms 1m20s 17 128 0ms 41s939ms 2s523ms 10s976ms 15s294ms 43s43ms 18 135 0ms 45s829ms 3s161ms 17s580ms 33s857ms 1m2s 19 125 0ms 8m47s 9s842ms 16s631ms 41s866ms 8m50s 20 174 0ms 20s907ms 2s891ms 17s206ms 40s730ms 41s532ms 21 143 0ms 11m23s 7s243ms 13s342ms 19s294ms 11m23s 22 155 0ms 53s625ms 2s855ms 10s104ms 27s472ms 1m10s 23 141 0ms 20s407ms 2s371ms 12s544ms 17s938ms 29s343ms Jan 16 00 121 0ms 22m45s 13s816ms 10s958ms 22s824ms 22m53s 01 129 0ms 17m47s 14s991ms 13s218ms 4m17s 17m52s 02 115 0ms 4m54s 7s554ms 14s800ms 1m34s 5m42s 03 56 0ms 6s80ms 1s990ms 6s325ms 9s998ms 40s691ms 04 129 0ms 4m58s 4s686ms 11s246ms 26s666ms 5m 05 143 0ms 5m37s 7s43ms 22s49ms 1m28s 5m41s 06 97 0ms 1m30s 4s289ms 15s241ms 59s31ms 1m34s 07 87 0ms 1m13s 3s648ms 9s616ms 20s584ms 1m13s 08 64 0ms 6s25ms 1s754ms 5s649ms 7s126ms 7s854ms 09 52 0ms 6s114ms 2s403ms 5s360ms 6s601ms 9s169ms 10 77 0ms 45s586ms 3s410ms 7s575ms 10s474ms 1m1s 11 36 0ms 8s162ms 2s983ms 7s595ms 13s6ms 17s641ms 12 64 0ms 11s42ms 2s834ms 6s689ms 12s267ms 34s56ms 13 54 0ms 38s821ms 3s669ms 12s264ms 21s85ms 45s346ms 14 33 0ms 45s620ms 6s6ms 3s839ms 24s134ms 1m18s 15 20 0ms 2m49s 27s18ms 1s822ms 5s627ms 8m17s 16 15 0ms 4s408ms 1s765ms 2s445ms 3s787ms 4s408ms 17 42 0ms 23s250ms 4s6ms 5s967ms 7s737ms 1m21s 18 29 0ms 17m54s 1m55s 9s907ms 55s485ms 35m36s 19 14 0ms 4s54ms 1s852ms 2s212ms 3s988ms 4s888ms 20 26 0ms 10s62ms 2s268ms 3s811ms 5s303ms 11s368ms 21 15 0ms 5s435ms 1s986ms 2s367ms 4s779ms 5s435ms 22 21 0ms 5s282ms 2s322ms 1s315ms 3s883ms 26s299ms 23 35 0ms 11s246ms 2s591ms 7s204ms 10s850ms 12s81ms Jan 17 00 27 0ms 22m49s 53s948ms 6s327ms 9s563ms 22m55s 01 24 0ms 5s175ms 1s660ms 2s923ms 3s745ms 5s175ms 02 35 0ms 6s65ms 2s17ms 5s153ms 6s877ms 10s778ms 03 57 0ms 8m45s 29s686ms 9s614ms 11s243ms 26m15s 04 29 0ms 8s532ms 2s59ms 2s67ms 4s783ms 21s123ms 05 74 0ms 6s724ms 2s433ms 15s106ms 23s352ms 32s215ms 06 51 0ms 45s599ms 3s942ms 6s865ms 24s189ms 55s390ms 07 49 0ms 6s204ms 1s565ms 4s682ms 5s225ms 7s345ms 08 64 0ms 10s847ms 4s498ms 24s542ms 28s644ms 1m6s 09 88 0ms 34s17ms 3s131ms 22s746ms 26s357ms 58s400ms 10 37 0ms 45s577ms 4s599ms 3s47ms 13s793ms 1m1s 11 16 0ms 21s529ms 5s458ms 5s262ms 18s861ms 21s529ms 12 31 0ms 22s818ms 4s896ms 6s210ms 18s915ms 46s497ms 13 30 0ms 5s110ms 2s228ms 5s110ms 6s107ms 11s717ms 14 36 0ms 45s667ms 4s669ms 5s135ms 9s735ms 55s494ms 15 29 0ms 4s617ms 1s642ms 3s608ms 5s28ms 9s170ms 16 37 0ms 8m47s 44s499ms 4s792ms 9s855ms 26m22s 17 27 0ms 10s740ms 2s754ms 3s794ms 6s494ms 21s382ms 18 34 0ms 46s92ms 4s567ms 4s492ms 9s806ms 56s373ms 19 36 0ms 7s126ms 2s324ms 6s143ms 7s126ms 18s364ms 20 46 0ms 25s901ms 3s429ms 10s666ms 24s437ms 31s651ms 21 31 0ms 20s746ms 2s418ms 4s235ms 6s612ms 21s841ms 22 15 0ms 5s144ms 2s325ms 2s577ms 6s242ms 10s231ms 23 21 0ms 7s340ms 1s561ms 1s726ms 2s341ms 8s583ms Jan 18 00 23 0ms 23m12s 1m2s 2s465ms 2s892ms 23m21s 01 21 0ms 5s233ms 1s785ms 3s582ms 3s882ms 5s233ms 02 32 0ms 7s214ms 2s462ms 3s791ms 5s659ms 22s802ms 03 25 0ms 5s32ms 1s595ms 3s449ms 5s575ms 7s626ms 04 41 0ms 9m4s 43s25ms 10s83ms 49s631ms 26m34s 05 72 0ms 22s669ms 3s179ms 15s61ms 28s775ms 1m8s 06 50 0ms 18m48s 1m8s 12s846ms 34s783ms 37m34s 07 21 0ms 19s495ms 4s669ms 3s611ms 17s205ms 35s274ms 08 34 0ms 10s411ms 2s723ms 7s599ms 10s411ms 17s59ms 09 26 0ms 19s388ms 2s621ms 5s20ms 5s261ms 20s639ms 10 27 0ms 17m51s 1m8s 15s916ms 3m15s 17m53s 11 18 0ms 14s783ms 2s894ms 2s507ms 5s81ms 17s131ms 12 55 0ms 17m45s 41s457ms 18s685ms 54s941ms 17m45s 13 55 0ms 1m37s 10s653ms 18s338ms 22s539ms 6m9s 14 33 0ms 11s129ms 4s423ms 7s36ms 22s706ms 32s788ms 15 32 0ms 7s288ms 1s871ms 2s486ms 3s234ms 28s919ms 16 31 0ms 14s300ms 3s740ms 3s455ms 7s197ms 45s83ms 17 15 0ms 8m47s 1m46s 2s470ms 3s771ms 26m20s 18 38 0ms 1m11s 11s533ms 41s92ms 1m6s 1m11s 19 76 0ms 24m8s 1m8s 4m29s 7m1s 24m51s 20 32 0ms 10s471ms 2s361ms 4s97ms 7s577ms 22s763ms 21 40 0ms 2m7s 5s574ms 6s921ms 20s919ms 2m7s 22 21 0ms 2s331ms 1s254ms 1s285ms 1s321ms 3s581ms 23 20 0ms 3s329ms 1s389ms 2s228ms 2s493ms 4s968ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 12 00 51 0 28s104ms 3s218ms 5s507ms 8s409ms 01 43 0 1s855ms 2s623ms 5s34ms 6s704ms 02 88 0 1h16m24s 4s756ms 8s151ms 14s582ms 03 77 0 2s575ms 5s419ms 9s271ms 15s117ms 04 54 0 2s776ms 5s316ms 6s980ms 15s437ms 05 91 0 2s147ms 5s832ms 8s860ms 29s350ms 06 55 10 3s733ms 5s163ms 6s197ms 55s335ms 07 63 0 2s378ms 3s970ms 6s187ms 12s533ms 08 60 0 3s808ms 5s924ms 7s9ms 21s782ms 09 84 0 3s778ms 5s976ms 9s482ms 51s407ms 10 64 10 4s764ms 8s125ms 16s478ms 1m2s 11 47 0 2s330ms 3s687ms 6s168ms 12s935ms 12 58 0 2s58ms 4s136ms 4s987ms 6s669ms 13 67 0 1s878ms 4s561ms 6s76ms 8s295ms 14 46 10 4s93ms 5s871ms 9s787ms 55s300ms 15 41 0 2s437ms 2s482ms 4s379ms 32s53ms 16 43 0 2s255ms 3s326ms 5s908ms 14s518ms 17 63 0 3s185ms 5s650ms 9s508ms 51s514ms 18 44 10 4s966ms 4s264ms 17s43ms 41s159ms 19 55 0 1s690ms 2s911ms 3s733ms 7s742ms 20 58 0 2s71ms 4s542ms 5s434ms 9s395ms 21 38 0 3s369ms 2s495ms 4s614ms 50s24ms 22 60 0 2s143ms 3s286ms 4s655ms 9s574ms 23 65 0 2s78ms 4s106ms 6s220ms 8s903ms Jan 13 00 46 0 31s655ms 3s951ms 6s582ms 14s938ms 01 34 0 2s777ms 3s87ms 5s714ms 10s775ms 02 67 0 2s871ms 5s172ms 7s694ms 12s566ms 03 76 0 2s678ms 5s853ms 10s91ms 21s113ms 04 51 0 2s156ms 4s81ms 5s64ms 7s832ms 05 98 0 2s222ms 5s597ms 7s395ms 34s174ms 06 69 10 4s308ms 7s42ms 10s143ms 55s620ms 07 74 0 2s196ms 4s812ms 7s911ms 11s658ms 08 86 0 2s425ms 6s81ms 7s634ms 10s907ms 09 91 0 4s396ms 8s83ms 20s39ms 1m9s 10 84 10 4s395ms 7s263ms 24s11ms 54s896ms 11 72 0 2s420ms 4s256ms 7s167ms 11s821ms 12 54 0 2s84ms 3s418ms 5s225ms 6s406ms 13 70 0 6s779ms 5s921ms 7s254ms 11s526ms 14 71 10 3s396ms 5s727ms 8s491ms 41s259ms 15 81 0 3s323ms 6s600ms 11s705ms 1m9s 16 53 0 2s477ms 4s75ms 6s114ms 6s937ms 17 61 0 7s726ms 5s405ms 7s584ms 18s948ms 18 80 10 4s21ms 6s848ms 9s685ms 55s135ms 19 72 0 1s958ms 4s132ms 5s998ms 9s998ms 20 81 0 3s7ms 6s132ms 7s42ms 20s253ms 21 20 0 5s599ms 4s948ms 11s524ms 33s990ms 22 81 0 24s597ms 33s638ms 37s621ms 26m20s 23 6 0 3s98ms 0ms 0ms 10s452ms Jan 14 00 1 0 22m37s 0ms 0ms 22m37s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 67 0 2s330ms 5s872ms 15s785ms 30s759ms 06 105 9 3s42ms 7s980ms 10s552ms 48s655ms 07 122 0 3s350ms 12s173ms 27s679ms 35s271ms 08 94 0 5s428ms 7s412ms 16s491ms 36s495ms 09 124 0 6s441ms 9s209ms 14s59ms 2m42s 10 131 10 5s748ms 11s873ms 24s626ms 1m22s 11 132 0 4s202ms 20s418ms 26s526ms 56s947ms 12 67 0 18s772ms 7s64ms 8s111ms 21s566ms 13 98 0 3s196ms 7s616ms 11s975ms 17s646ms 14 176 10 3s939ms 14s456ms 25s320ms 1m15s 15 181 0 8s94ms 10s430ms 14s754ms 31s690ms 16 169 0 4s137ms 15s777ms 40s619ms 1m19s 17 176 0 2s677ms 11s892ms 25s858ms 30s98ms 18 150 10 3s307ms 9s873ms 18s614ms 55s522ms 19 218 0 2s535ms 15s129ms 25s722ms 33s867ms 20 245 0 4s164ms 17s698ms 27s237ms 3m51s 21 322 0 13s28ms 32s48ms 39s564ms 17m59s 22 287 0 6s502ms 22s812ms 28s500ms 1m37s 23 272 0 3s900ms 23s124ms 38s949ms 45s939ms Jan 15 00 39 0 2m39s 2s76ms 22s475ms 1h17m13s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 83 0 4s934ms 9s822ms 22s465ms 3m12s 06 95 10 3s790ms 6s210ms 17s87ms 55s260ms 07 105 0 3s120ms 6s311ms 14s395ms 45s938ms 08 64 0 55s412ms 3s884ms 17s744ms 54m53s 09 126 0 4s626ms 24s256ms 31s68ms 52s463ms 10 85 10 3s672ms 8s609ms 18s334ms 55s744ms 11 132 0 4s611ms 7s93ms 10s800ms 2m18s 12 125 0 3s193ms 8s553ms 15s435ms 46s288ms 13 105 0 6s33ms 8s884ms 12s571ms 28s622ms 14 96 10 3s390ms 7s146ms 12s104ms 55s346ms 15 118 0 15s433ms 10s900ms 15s897ms 4m58s 16 99 0 3s342ms 6s599ms 14s583ms 33s869ms 17 128 0 2s523ms 8s450ms 10s976ms 22s150ms 18 125 10 3s161ms 9s460ms 17s580ms 41s222ms 19 125 0 9s842ms 9s127ms 16s631ms 5m48s 20 173 0 2s887ms 13s475ms 17s206ms 41s486ms 21 143 0 7s243ms 9s661ms 13s342ms 19s634ms 22 155 0 2s855ms 8s638ms 10s104ms 56s958ms 23 141 0 2s371ms 8s757ms 12s544ms 21s832ms Jan 16 00 119 0 13s983ms 7s685ms 9s912ms 26s143ms 01 129 0 14s991ms 8s825ms 13s218ms 4m30s 02 115 0 7s554ms 8s905ms 14s800ms 3m18s 03 56 0 1s990ms 3s413ms 6s325ms 40s691ms 04 129 0 4s686ms 8s517ms 11s246ms 39s318ms 05 139 0 7s181ms 9s774ms 22s49ms 4m27s 06 87 10 4s289ms 8s93ms 15s241ms 57s93ms 07 87 0 3s648ms 7s251ms 9s616ms 1m12s 08 64 0 1s754ms 3s601ms 5s649ms 7s182ms 09 52 0 2s403ms 4s540ms 5s360ms 6s655ms 10 68 9 3s410ms 6s325ms 7s489ms 55s412ms 11 35 0 3s4ms 4s331ms 7s595ms 17s641ms 12 63 0 2s833ms 5s211ms 6s689ms 17s356ms 13 54 0 3s669ms 5s387ms 12s264ms 45s346ms 14 23 10 6s6ms 1s475ms 3s987ms 41s338ms 15 20 0 27s18ms 1s102ms 1s822ms 8m17s 16 15 0 1s765ms 1s134ms 2s445ms 4s408ms 17 41 0 4s25ms 3s786ms 5s967ms 1m21s 18 19 10 1m55s 2s934ms 9s907ms 35m36s 19 14 0 1s852ms 1s230ms 2s212ms 4s888ms 20 26 0 2s268ms 2s408ms 3s811ms 11s368ms 21 15 0 1s986ms 1s140ms 2s367ms 5s435ms 22 21 0 2s322ms 1s157ms 1s315ms 26s299ms 23 35 0 2s591ms 2s413ms 7s204ms 12s81ms Jan 17 00 26 0 55s799ms 5s77ms 6s327ms 22m49s 01 24 0 1s660ms 1s262ms 2s923ms 5s175ms 02 35 0 2s17ms 2s471ms 5s153ms 10s778ms 03 57 0 29s686ms 4s432ms 9s614ms 26m15s 04 29 0 2s59ms 1s362ms 2s67ms 21s123ms 05 70 0 2s449ms 5s43ms 15s106ms 32s215ms 06 41 10 3s942ms 3s274ms 6s865ms 41s562ms 07 49 0 1s565ms 3s925ms 4s682ms 7s345ms 08 63 0 4s515ms 6s558ms 24s542ms 1m6s 09 85 0 3s150ms 7s684ms 22s746ms 58s400ms 10 26 10 4s636ms 1s221ms 3s47ms 55s418ms 11 16 0 5s458ms 1s247ms 5s262ms 21s529ms 12 30 0 4s965ms 3s894ms 6s210ms 46s497ms 13 29 0 2s191ms 2s238ms 5s110ms 9s591ms 14 26 10 4s669ms 1s873ms 5s135ms 55s494ms 15 29 0 1s642ms 2s314ms 3s608ms 9s170ms 16 37 0 44s499ms 3s247ms 4s792ms 26m22s 17 27 0 2s754ms 1s733ms 3s794ms 21s382ms 18 24 10 4s567ms 1s316ms 4s492ms 56s5ms 19 36 0 2s324ms 2s274ms 6s143ms 18s364ms 20 46 0 3s429ms 3s788ms 10s666ms 31s651ms 21 31 0 2s418ms 1s353ms 4s235ms 21s841ms 22 15 0 2s325ms 1s214ms 2s577ms 10s231ms 23 21 0 1s561ms 1s222ms 1s726ms 8s583ms Jan 18 00 22 0 1m4s 1s195ms 2s465ms 23m15s 01 21 0 1s785ms 1s257ms 3s582ms 5s233ms 02 32 0 2s462ms 1s245ms 3s791ms 22s802ms 03 25 0 1s595ms 1s268ms 3s449ms 7s626ms 04 40 0 44s18ms 2s22ms 10s83ms 26m34s 05 69 0 3s205ms 4s513ms 15s61ms 1m8s 06 50 0 1m8s 4s189ms 12s846ms 17m40s 07 21 0 4s669ms 1s347ms 3s611ms 35s274ms 08 34 0 2s723ms 2s326ms 7s599ms 17s59ms 09 25 0 2s596ms 2s215ms 4s637ms 20s639ms 10 27 0 1m8s 1s487ms 15s916ms 17m53s 11 18 0 2s894ms 1s178ms 2s507ms 17s131ms 12 55 0 41s457ms 2s643ms 18s685ms 17m45s 13 55 0 10s653ms 2s258ms 18s338ms 6m9s 14 32 0 4s461ms 3s285ms 7s36ms 32s788ms 15 32 0 1s871ms 1s338ms 2s486ms 28s919ms 16 31 0 3s740ms 1s374ms 3s455ms 45s83ms 17 15 0 1m46s 1s159ms 2s470ms 26m20s 18 13 25 11s533ms 17s386ms 41s92ms 1m11s 19 28 48 1m8s 1m20s 3m18s 24m51s 20 32 0 2s361ms 1s233ms 4s97ms 22s763ms 21 40 0 5s574ms 4s278ms 6s921ms 2m7s 22 21 0 1s254ms 1s185ms 1s285ms 3s581ms 23 19 0 1s287ms 1s222ms 1s639ms 2s545ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 12 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jan 13 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jan 14 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jan 15 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jan 16 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 1 0 0 0 2s271ms 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 Jan 17 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jan 18 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jan 12 00 0 51 51.00 0.00% 01 0 43 43.00 0.00% 02 0 88 88.00 0.00% 03 0 77 77.00 0.00% 04 0 54 54.00 0.00% 05 0 94 94.00 0.00% 06 0 56 56.00 0.00% 07 0 71 71.00 0.00% 08 0 77 77.00 0.00% 09 0 86 86.00 0.00% 10 0 64 64.00 0.00% 11 0 47 47.00 0.00% 12 0 63 63.00 0.00% 13 0 68 68.00 0.00% 14 0 47 47.00 0.00% 15 0 41 41.00 0.00% 16 0 43 43.00 0.00% 17 0 64 64.00 0.00% 18 0 45 45.00 0.00% 19 0 55 55.00 0.00% 20 0 58 58.00 0.00% 21 0 38 38.00 0.00% 22 0 60 60.00 0.00% 23 0 65 65.00 0.00% Jan 13 00 0 46 46.00 0.00% 01 0 34 34.00 0.00% 02 0 69 69.00 0.00% 03 0 76 76.00 0.00% 04 0 51 51.00 0.00% 05 0 101 101.00 0.00% 06 0 69 69.00 0.00% 07 0 80 80.00 0.00% 08 0 88 88.00 0.00% 09 0 98 98.00 0.00% 10 0 87 87.00 0.00% 11 0 89 89.00 0.00% 12 0 62 62.00 0.00% 13 0 76 76.00 0.00% 14 0 75 75.00 0.00% 15 0 82 82.00 0.00% 16 0 67 67.00 0.00% 17 0 74 74.00 0.00% 18 0 82 82.00 0.00% 19 0 72 72.00 0.00% 20 0 82 82.00 0.00% 21 0 20 20.00 0.00% 22 0 83 83.00 0.00% 23 0 6 6.00 0.00% Jan 14 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 87 87.00 0.00% 06 0 122 122.00 0.00% 07 0 125 125.00 0.00% 08 0 110 110.00 0.00% 09 0 125 125.00 0.00% 10 0 137 137.00 0.00% 11 0 137 137.00 0.00% 12 0 89 89.00 0.00% 13 0 116 116.00 0.00% 14 0 176 176.00 0.00% 15 0 193 193.00 0.00% 16 0 182 182.00 0.00% 17 0 176 176.00 0.00% 18 0 151 151.00 0.00% 19 0 219 219.00 0.00% 20 0 246 246.00 0.00% 21 0 322 322.00 0.00% 22 0 287 287.00 0.00% 23 0 274 274.00 0.00% Jan 15 00 0 38 38.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 86 86.00 0.00% 06 0 107 107.00 0.00% 07 0 105 105.00 0.00% 08 0 64 64.00 0.00% 09 0 143 143.00 0.00% 10 0 85 85.00 0.00% 11 0 137 137.00 0.00% 12 0 138 138.00 0.00% 13 0 124 124.00 0.00% 14 0 96 96.00 0.00% 15 0 131 131.00 0.00% 16 0 125 125.00 0.00% 17 0 128 128.00 0.00% 18 0 125 125.00 0.00% 19 0 125 125.00 0.00% 20 0 174 174.00 0.00% 21 0 143 143.00 0.00% 22 0 155 155.00 0.00% 23 0 141 141.00 0.00% Jan 16 00 0 121 121.00 0.00% 01 0 129 129.00 0.00% 02 0 115 115.00 0.00% 03 0 56 56.00 0.00% 04 0 129 129.00 0.00% 05 0 143 143.00 0.00% 06 0 99 99.00 0.00% 07 0 92 92.00 0.00% 08 0 64 64.00 0.00% 09 0 60 60.00 0.00% 10 0 75 75.00 0.00% 11 0 36 36.00 0.00% 12 0 64 64.00 0.00% 13 0 54 54.00 0.00% 14 0 28 28.00 0.00% 15 0 22 22.00 0.00% 16 0 17 17.00 0.00% 17 0 48 48.00 0.00% 18 0 19 19.00 0.00% 19 0 14 14.00 0.00% 20 0 26 26.00 0.00% 21 0 15 15.00 0.00% 22 0 21 21.00 0.00% 23 0 35 35.00 0.00% Jan 17 00 0 25 25.00 0.00% 01 0 24 24.00 0.00% 02 0 35 35.00 0.00% 03 0 57 57.00 0.00% 04 0 29 29.00 0.00% 05 0 74 74.00 0.00% 06 0 41 41.00 0.00% 07 0 49 49.00 0.00% 08 0 64 64.00 0.00% 09 0 88 88.00 0.00% 10 0 32 32.00 0.00% 11 0 18 18.00 0.00% 12 0 34 34.00 0.00% 13 0 37 37.00 0.00% 14 0 28 28.00 0.00% 15 0 32 32.00 0.00% 16 0 37 37.00 0.00% 17 0 27 27.00 0.00% 18 0 24 24.00 0.00% 19 0 36 36.00 0.00% 20 0 46 46.00 0.00% 21 0 31 31.00 0.00% 22 0 15 15.00 0.00% 23 0 21 21.00 0.00% Jan 18 00 0 22 22.00 0.00% 01 0 21 21.00 0.00% 02 0 32 32.00 0.00% 03 0 25 25.00 0.00% 04 0 41 41.00 0.00% 05 0 72 72.00 0.00% 06 0 50 50.00 0.00% 07 0 21 21.00 0.00% 08 0 34 34.00 0.00% 09 0 26 26.00 0.00% 10 0 27 27.00 0.00% 11 0 18 18.00 0.00% 12 0 55 55.00 0.00% 13 0 55 55.00 0.00% 14 0 33 33.00 0.00% 15 0 32 32.00 0.00% 16 0 31 31.00 0.00% 17 0 15 15.00 0.00% 18 0 13 13.00 0.00% 19 0 28 28.00 0.00% 20 0 32 32.00 0.00% 21 0 40 40.00 0.00% 22 0 21 21.00 0.00% 23 0 20 20.00 0.00% Day Hour Count Average / Second Jan 12 00 85 0.02/s 01 86 0.02/s 02 102 0.03/s 03 115 0.03/s 04 108 0.03/s 05 93 0.03/s 06 93 0.03/s 07 92 0.03/s 08 96 0.03/s 09 130 0.04/s 10 88 0.02/s 11 86 0.02/s 12 84 0.02/s 13 81 0.02/s 14 83 0.02/s 15 85 0.02/s 16 85 0.02/s 17 92 0.03/s 18 118 0.03/s 19 102 0.03/s 20 100 0.03/s 21 92 0.03/s 22 104 0.03/s 23 92 0.03/s Jan 13 00 103 0.03/s 01 134 0.04/s 02 220 0.06/s 03 86 0.02/s 04 83 0.02/s 05 108 0.03/s 06 107 0.03/s 07 112 0.03/s 08 105 0.03/s 09 211 0.06/s 10 97 0.03/s 11 85 0.02/s 12 92 0.03/s 13 84 0.02/s 14 85 0.02/s 15 86 0.02/s 16 93 0.03/s 17 110 0.03/s 18 119 0.03/s 19 85 0.02/s 20 93 0.03/s 21 222 0.06/s 22 198 0.06/s 23 180 0.05/s Jan 14 00 63 0.02/s 01 64 0.02/s 02 63 0.02/s 03 64 0.02/s 04 64 0.02/s 05 128 0.04/s 06 114 0.03/s 07 297 0.08/s 08 180 0.05/s 09 133 0.04/s 10 108 0.03/s 11 100 0.03/s 12 119 0.03/s 13 104 0.03/s 14 97 0.03/s 15 112 0.03/s 16 217 0.06/s 17 108 0.03/s 18 104 0.03/s 19 110 0.03/s 20 179 0.05/s 21 122 0.03/s 22 129 0.04/s 23 137 0.04/s Jan 15 00 95 0.03/s 01 79 0.02/s 02 79 0.02/s 03 77 0.02/s 04 79 0.02/s 05 127 0.04/s 06 105 0.03/s 07 127 0.04/s 08 97 0.03/s 09 404 0.11/s 10 148 0.04/s 11 90 0.03/s 12 95 0.03/s 13 104 0.03/s 14 95 0.03/s 15 97 0.03/s 16 90 0.03/s 17 88 0.02/s 18 99 0.03/s 19 99 0.03/s 20 104 0.03/s 21 115 0.03/s 22 99 0.03/s 23 100 0.03/s Jan 16 00 110 0.03/s 01 118 0.03/s 02 148 0.04/s 03 241 0.07/s 04 64 0.02/s 05 108 0.03/s 06 105 0.03/s 07 92 0.03/s 08 87 0.02/s 09 81 0.02/s 10 89 0.02/s 11 86 0.02/s 12 87 0.02/s 13 83 0.02/s 14 84 0.02/s 15 83 0.02/s 16 76 0.02/s 17 77 0.02/s 18 74 0.02/s 19 76 0.02/s 20 81 0.02/s 21 79 0.02/s 22 77 0.02/s 23 95 0.03/s Jan 17 00 78 0.02/s 01 82 0.02/s 02 85 0.02/s 03 97 0.03/s 04 80 0.02/s 05 92 0.03/s 06 92 0.03/s 07 79 0.02/s 08 188 0.05/s 09 197 0.05/s 10 84 0.02/s 11 85 0.02/s 12 79 0.02/s 13 75 0.02/s 14 81 0.02/s 15 77 0.02/s 16 86 0.02/s 17 76 0.02/s 18 77 0.02/s 19 75 0.02/s 20 90 0.03/s 21 75 0.02/s 22 81 0.02/s 23 92 0.03/s Jan 18 00 79 0.02/s 01 79 0.02/s 02 83 0.02/s 03 75 0.02/s 04 93 0.03/s 05 105 0.03/s 06 87 0.02/s 07 76 0.02/s 08 78 0.02/s 09 83 0.02/s 10 88 0.02/s 11 95 0.03/s 12 84 0.02/s 13 99 0.03/s 14 82 0.02/s 15 78 0.02/s 16 87 0.02/s 17 78 0.02/s 18 87 0.02/s 19 77 0.02/s 20 79 0.02/s 21 65 0.02/s 22 78 0.02/s 23 80 0.02/s Day Hour Count Average Duration Average idle time Jan 12 00 85 27m51s 27m34s 01 86 28m10s 28m9s 02 103 1h28m46s 23m29s 03 115 21m31s 21m29s 04 108 22m17s 22m16s 05 93 25m25s 25m22s 06 93 25m39s 25m36s 07 92 26m42s 26m40s 08 96 25m27s 25m25s 09 130 19m13s 19m11s 10 88 26m41s 26m37s 11 86 28m25s 28m24s 12 84 28m21s 28m20s 13 81 30m1s 29m59s 14 83 29m12s 29m10s 15 85 28m11s 28m10s 16 85 28m39s 28m38s 17 92 26m20s 26m18s 18 118 21m17s 21m15s 19 102 23m1s 23m 20 100 23m47s 23m46s 21 92 24m38s 24m36s 22 104 20m57s 20m56s 23 92 26m9s 26m8s Jan 13 00 103 22m55s 22m41s 01 134 18m38s 18m37s 02 220 11m11s 11m10s 03 86 27m55s 27m53s 04 83 28m37s 28m35s 05 108 22m34s 22m32s 06 107 22m22s 22m19s 07 112 21m24s 21m23s 08 105 23m37s 23m35s 09 211 12m18s 12m16s 10 97 25m49s 25m45s 11 85 27m10s 27m7s 12 92 26m44s 26m42s 13 84 27m59s 27m53s 14 85 28m2s 27m59s 15 86 27m56s 27m53s 16 93 26m3s 26m1s 17 110 22m20s 22m15s 18 119 21m23s 21m20s 19 85 27m32s 27m30s 20 93 25m32s 25m29s 21 220 9m3s 9m2s 22 189 15m5s 14m55s 23 190 13m35s 13m35s Jan 14 00 63 30m32s 30m10s 01 64 30m40s 30m40s 02 63 30m40s 30m40s 03 64 30m38s 30m38s 04 64 30m41s 30m41s 05 129 41m13s 41m12s 06 114 21m21s 21m18s 07 297 8m20s 8m19s 08 180 13m41s 13m38s 09 130 18m23s 18m17s 10 108 23m7s 22m59s 11 100 23m15s 23m10s 12 119 21m42s 21m32s 13 102 24m3s 24m 14 96 24m27s 24m19s 15 113 21m36s 21m23s 16 217 10m59s 10m55s 17 108 22m17s 22m12s 18 107 37m2s 36m57s 19 112 28m31s 28m26s 20 179 13m24s 13m18s 21 122 18m42s 18m7s 22 129 18m29s 18m15s 23 137 17m34s 17m26s Jan 15 00 95 26m52s 25m46s 01 79 32m6s 32m6s 02 79 30m39s 30m39s 03 77 30m40s 30m40s 04 79 30m39s 30m39s 05 127 17m59s 17m56s 06 105 23m56s 23m52s 07 124 19m25s 19m23s 08 97 25m5s 24m28s 09 406 6m29s 6m28s 10 148 16m22s 16m20s 11 90 25m44s 25m38s 12 95 26m10s 26m6s 13 104 23m13s 23m7s 14 94 25m21s 25m17s 15 98 25m50s 25m31s 16 90 27m28s 27m25s 17 88 25m33s 25m29s 18 99 23m30s 23m26s 19 99 23m20s 23m8s 20 103 22m54s 22m49s 21 116 20m33s 20m24s 22 100 32m8s 32m3s 23 100 24m48s 24m44s Jan 16 00 109 22m30s 22m14s 01 119 20m32s 20m16s 02 144 15m55s 15m49s 03 245 11m11s 11m10s 04 64 30m42s 30m32s 05 108 27m57s 27m48s 06 105 21m58s 21m54s 07 92 26m49s 26m46s 08 87 28m43s 28m42s 09 81 30m19s 30m17s 10 85 27m48s 27m45s 11 86 28m15s 28m14s 12 87 27m27s 27m25s 13 83 28m49s 28m47s 14 84 30m8s 30m6s 15 83 29m5s 28m59s 16 76 32m1s 32m1s 17 75 35m22s 35m20s 18 79 43m9s 42m26s 19 77 37m17s 37m17s 20 81 29m55s 29m55s 21 79 29m8s 29m7s 22 77 31m14s 31m14s 23 95 26m2s 26m1s Jan 17 00 78 30m38s 30m19s 01 82 30m43s 30m43s 02 85 27m26s 27m25s 03 97 25m16s 24m59s 04 80 29m51s 29m50s 05 92 25m12s 25m10s 06 92 27m55s 27m52s 07 79 29m9s 29m8s 08 179 14m2s 14m 09 205 12m6s 12m5s 10 84 28m15s 28m13s 11 86 30m40s 30m39s 12 79 29m43s 29m41s 13 75 33m24s 33m23s 14 81 29m36s 29m34s 15 77 31m14s 31m13s 16 86 29m33s 29m14s 17 76 29m1s 29m 18 77 31m4s 31m2s 19 75 31m48s 31m47s 20 90 28m12s 28m10s 21 75 30m15s 30m14s 22 81 29m32s 29m31s 23 92 26m45s 26m44s Jan 18 00 79 31m12s 30m54s 01 79 28m39s 28m39s 02 83 30m13s 30m12s 03 75 30m49s 30m48s 04 93 26m38s 26m19s 05 105 22m59s 22m57s 06 87 28m21s 27m41s 07 76 31m12s 31m10s 08 78 30m37s 30m36s 09 83 29m31s 29m31s 10 88 3h4m12s 3h3m51s 11 95 25m29s 25m28s 12 84 29m24s 28m57s 13 99 25m9s 25m3s 14 82 30m1s 29m59s 15 78 30m33s 30m32s 16 84 27m20s 27m19s 17 81 29m33s 29m13s 18 86 28m13s 28m8s 19 78 30m8s 29m1s 20 79 29m38s 29m37s 21 65 32m57s 32m54s 22 78 35m13s 35m12s 23 80 30m28s 30m27s -
Connections
Established Connections
Key values
- 94 connections Connection Peak
- 2025-01-16 03:37:18 Date
Connections per database
Key values
- ctdprd51 Main Database
- 17,297 connections Total
Connections per user
Key values
- pubeu Main User
- 17,297 connections Total
-
Sessions
Simultaneous sessions
Key values
- 90 sessions Session Peak
- 2025-01-13 23:31:54 Date
Histogram of session times
Key values
- 11,776 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 17,298 sessions Total
Sessions per user
Key values
- pubeu Main User
- 17,298 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 17,298 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 6,692 58d7h44m57s 12m33s 10.12.5.38 2,660 56d1h9m45s 30m20s 10.12.5.39 2,582 56d17m31s 31m14s 10.12.5.40 2 8m56s 4m28s 10.12.5.45 2,665 55d23h50m19s 30m15s 10.12.5.46 2,630 56d15m29s 30m40s 192.168.201.14 7 6d19h1m58s 23h17m25s 192.168.201.18 2 20h59m13s 10h29m36s 192.168.201.26 5 12h56m55s 2h35m23s 192.168.201.6 1 2h20m13s 2h20m13s ::1 52 9d16h19m10s 4h28m3s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 222,125 buffers Checkpoint Peak
- 2025-01-13 04:16:27 Date
- 1619.995 seconds Highest write time
- 0.018 seconds Sync time
Checkpoints Wal files
Key values
- 37 files Wal files usage Peak
- 2025-01-15 21:16:34 Date
Checkpoints distance
Key values
- 1,386.80 Mo Distance Peak
- 2025-01-14 16:46:31 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jan 12 00 4,141 433.261s 0.003s 433.336s 01 2,070 207.428s 0.002s 207.505s 02 4,965 497.19s 0.002s 497.223s 03 539 54.194s 0.003s 54.225s 04 1,443 144.739s 0.002s 144.776s 05 772 77.516s 0.002s 77.546s 06 2,839 284.439s 0.002s 284.509s 07 753 75.606s 0.002s 75.636s 08 742 74.553s 0.002s 74.584s 09 738 74.131s 0.002s 74.16s 10 1,921 192.509s 0.002s 192.58s 11 770 77.202s 0.002s 77.233s 12 874 87.721s 0.002s 87.751s 13 1,005 100.865s 0.003s 100.895s 14 928 93.023s 0.002s 93.054s 15 1,018 102.034s 0.002s 102.065s 16 1,017 102.043s 0.002s 102.115s 17 956 95.824s 0.002s 95.854s 18 859 86.116s 0.002s 86.146s 19 1,103 110.653s 0.003s 110.684s 20 950 95.24s 0.002s 95.271s 21 1,044 104.652s 0.002s 104.724s 22 985 98.885s 0.002s 98.915s 23 993 99.543s 0.002s 99.574s Jan 13 00 1,808 190.179s 0.002s 190.238s 01 61,166 1,814.328s 0.005s 1,814.487s 02 5,698 570.975s 0.019s 571.076s 03 669 67.01s 0.002s 67.026s 04 222,798 1,687.369s 0.004s 1,687.512s 05 1,057 105.981s 0.003s 106.012s 06 1,028 103.182s 0.003s 103.254s 07 2,305 230.956s 0.001s 231.012s 08 9,518 953.116s 0.004s 953.215s 09 628 63.104s 0.004s 63.137s 10 807 81.024s 0.003s 81.095s 11 945 94.77s 0.005s 94.804s 12 1,068 107.168s 0.003s 107.198s 13 942 94.571s 0.004s 94.603s 14 1,531 153.542s 0.003s 153.618s 15 3,807 381.398s 0.003s 381.471s 16 724 72.707s 0.004s 72.738s 17 927 92.963s 0.002s 92.994s 18 530 53.29s 0.003s 53.32s 19 363 36.542s 0.002s 36.573s 20 5,965 597.426s 0.004s 597.511s 21 3,276 328.2s 0.002s 328.215s 22 181 18.123s 0.001s 18.138s 23 22 2.386s 0.002s 2.415s Jan 14 00 1,745 175.059s 0.004s 175.131s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 213 21.434s 0.001s 21.45s 06 1,565 156.958s 0.004s 156.991s 07 16,855 1,688.26s 0.004s 1,688.393s 08 554 55.746s 0.004s 55.777s 09 541 54.294s 0.003s 54.324s 10 5,414 542.33s 0.004s 542.368s 11 997 99.978s 0.003s 100.049s 12 953 95.538s 0.003s 95.568s 13 743 74.597s 0.002s 74.628s 14 1,146 114.87s 0.003s 114.9s 15 11,098 1,111.067s 0.004s 1,111.301s 16 77,367 1,653.423s 0.003s 1,653.485s 17 886 88.823s 0.002s 88.853s 18 710 71.315s 0.002s 71.388s 19 887 88.938s 0.002s 88.968s 20 918 92.1s 0.002s 92.129s 21 2,386 239.024s 0.004s 239.105s 22 7,373 738.283s 0.002s 738.363s 23 4,851 485.88s 0.003s 485.958s Jan 15 00 3,974 440.788s 0.005s 440.909s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 359 35.951s 0.001s 35.967s 06 50,854 1,619.663s 0.002s 1,619.708s 07 7,315 732.617s 0.003s 732.662s 08 52,110 1,648.008s 0.004s 1,648.448s 09 1,047 105.05s 0.003s 105.081s 10 752 75.51s 0.002s 75.54s 11 864 86.631s 0.004s 86.662s 12 906 90.974s 0.002s 91.005s 13 4,833 484.072s 0.003s 484.139s 14 760 76.217s 0.003s 76.248s 15 639 64.205s 0.003s 64.286s 16 978 98.191s 0.002s 98.221s 17 5,873 587.829s 0.004s 587.937s 18 856 85.956s 0.003s 86.041s 19 1,214 121.585s 0.002s 121.615s 20 381 38.346s 0.002s 38.361s 21 58,177 1,669.107s 0.004s 1,669.59s 22 37,963 2,127.294s 0.004s 2,127.468s 23 1,296 129.924s 0.004s 129.955s Jan 16 00 3,807 456.735s 0.004s 456.831s 01 2,312 231.634s 0.003s 231.717s 02 772 77.466s 0.003s 77.497s 03 5,251 525.921s 0.003s 526.027s 04 104,055 1,652.176s 0.003s 1,652.618s 05 4,513 452.04s 0.003s 452.145s 06 2,847 285.302s 0.004s 285.385s 07 1,925 192.908s 0.003s 192.939s 08 452 45.268s 0.001s 45.333s 09 8,157 816.929s 0.004s 817.068s 10 6,493 650.094s 0.004s 650.213s 11 1,476 147.961s 0.004s 148.009s 12 1,397 139.909s 0.004s 139.94s 13 1,453 145.627s 0.003s 145.705s 14 1,311 131.425s 0.004s 131.457s 15 57,207 1,654.428s 0.004s 1,654.886s 16 1,602 160.562s 0.004s 160.609s 17 1,972 197.607s 0.003s 197.637s 18 1,436 143.9s 0.004s 143.983s 19 1,672 167.438s 0.004s 167.471s 20 3,366 337.185s 0.003s 337.319s 21 1,864 186.782s 0.004s 186.813s 22 2,285 228.803s 0.003s 228.883s 23 1,723 172.647s 0.004s 172.691s Jan 17 00 4,372 750.143s 0.004s 750.252s 01 4,501 450.581s 0.003s 450.636s 02 947 94.94s 0.003s 95.024s 03 535 53.388s 0.002s 53.404s 04 54,665 1,656.515s 0.003s 1,656.969s 05 71,561 1,740.203s 0.005s 1,740.662s 06 6,956 696.53s 0.003s 696.651s 07 1,558 155.919s 0.003s 156.003s 08 1,312 131.506s 0.003s 131.539s 09 1,124 112.595s 0.004s 112.679s 10 1,069 107.145s 0.003s 107.176s 11 2,181 218.539s 0.002s 218.583s 12 6,382 639.105s 0.004s 639.213s 13 1,916 191.89s 0.003s 191.934s 14 2,743 274.803s 0.004s 274.887s 15 2,541 254.568s 0.004s 254.611s 16 2,307 231.036s 0.004s 231.119s 17 2,009 201.184s 0.004s 201.215s 18 1,882 188.463s 0.004s 188.508s 19 2,226 222.989s 0.003s 223.032s 20 2,027 202.886s 0.004s 202.918s 21 2,091 209.295s 0.004s 209.339s 22 2,252 225.498s 0.004s 225.543s 23 2,741 274.413s 0.003s 274.51s Jan 18 00 8,199 1,251.932s 0.002s 1,252.059s 01 9,006 901.503s 0.005s 901.551s 02 6,454 646.203s 0.003s 646.32s 03 1,053 105.63s 0.002s 105.662s 04 354 35.535s 0.002s 35.567s 05 851 85.406s 0.003s 85.438s 06 526 52.863s 0.002s 52.948s 07 296 29.834s 0.002s 29.864s 08 378 37.949s 0.002s 37.978s 09 1,701 170.571s 0.003s 170.603s 10 1,799 180.368s 0.002s 180.453s 11 3,242 324.817s 0.004s 324.904s 12 411 41.354s 0.004s 41.385s 13 801 80.318s 0.002s 80.347s 14 414 41.64s 0.002s 41.671s 15 627 62.975s 0.003s 63.007s 16 333 33.602s 0.002s 33.639s 17 346 34.844s 0.003s 34.876s 18 783 78.589s 0.003s 78.673s 19 297 29.958s 0.003s 29.986s 20 17,253 1,637.502s 0.003s 1,637.533s 21 497 49.976s 0.002s 50.007s 22 418 42.048s 0.002s 42.077s 23 704 70.691s 0.003s 70.722s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jan 12 00 0 2 0 78 0.001s 0.002s 01 0 1 0 46 0.001s 0.002s 02 0 0 0 48 0.001s 0.002s 03 0 0 0 43 0.002s 0.002s 04 0 1 0 39 0.001s 0.002s 05 0 0 0 43 0.001s 0.002s 06 0 1 0 96 0.001s 0.002s 07 0 0 0 136 0.001s 0.002s 08 0 0 0 133 0.001s 0.002s 09 0 0 0 89 0.001s 0.002s 10 0 1 0 46 0.001s 0.002s 11 0 0 0 35 0.001s 0.002s 12 0 0 0 80 0.001s 0.002s 13 0 0 0 95 0.001s 0.002s 14 0 0 0 33 0.001s 0.002s 15 0 0 0 43 0.001s 0.002s 16 0 1 0 35 0.001s 0.002s 17 0 0 0 34 0.001s 0.002s 18 0 0 0 34 0.001s 0.002s 19 0 0 0 33 0.002s 0.002s 20 0 0 0 35 0.001s 0.002s 21 0 1 0 28 0.001s 0.002s 22 0 0 0 35 0.001s 0.002s 23 0 0 0 36 0.001s 0.002s Jan 13 00 0 1 0 27 0.001s 0.001s 01 0 37 0 112 0.001s 0.003s 02 0 4 0 54 0.015s 0.002s 03 0 0 0 32 0.001s 0.001s 04 0 35 0 69 0.001s 0.003s 05 0 0 0 57 0.001s 0.002s 06 0 1 0 35 0.001s 0.002s 07 0 1 0 81 0.001s 0.001s 08 0 5 0 93 0.001s 0.003s 09 0 0 0 76 0.001s 0.002s 10 0 1 0 116 0.001s 0.002s 11 0 0 0 128 0.003s 0.002s 12 0 0 0 112 0.001s 0.002s 13 0 0 0 115 0.001s 0.002s 14 0 2 0 64 0.001s 0.002s 15 0 1 0 97 0.001s 0.002s 16 0 0 0 104 0.001s 0.002s 17 0 0 0 122 0.001s 0.002s 18 0 0 0 32 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 6 0 44 0.001s 0.002s 21 0 0 0 18 0.001s 0.001s 22 0 0 0 12 0.001s 0.001s 23 0 0 0 17 0.001s 0.002s Jan 14 00 0 0 0 61 0.001s 0.002s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 65 0.001s 0.001s 06 0 1 0 138 0.001s 0.002s 07 0 8 0 111 0.001s 0.002s 08 0 0 0 126 0.001s 0.002s 09 0 0 0 90 0.001s 0.002s 10 0 3 0 127 0.001s 0.002s 11 0 1 0 93 0.001s 0.002s 12 0 0 0 135 0.001s 0.002s 13 0 0 0 77 0.001s 0.002s 14 0 0 0 123 0.001s 0.002s 15 0 39 0 110 0.001s 0.002s 16 0 11 0 138 0.001s 0.002s 17 0 0 0 31 0.001s 0.002s 18 0 1 0 35 0.001s 0.002s 19 0 0 0 31 0.001s 0.002s 20 0 0 0 37 0.001s 0.002s 21 0 1 0 41 0.001s 0.002s 22 0 4 0 61 0.001s 0.002s 23 0 2 0 44 0.001s 0.002s Jan 15 00 0 2 0 77 0.001s 0.002s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 22 0.001s 0.001s 06 0 8 0 93 0.001s 0.001s 07 0 0 0 121 0.001s 0.003s 08 0 2 32 60 0.001s 0.002s 09 0 0 0 125 0.001s 0.002s 10 0 0 0 38 0.001s 0.002s 11 0 0 0 113 0.001s 0.002s 12 0 0 0 120 0.001s 0.002s 13 0 0 3 128 0.001s 0.002s 14 0 0 0 31 0.001s 0.002s 15 0 0 1 116 0.001s 0.002s 16 0 0 0 133 0.001s 0.002s 17 0 0 3 85 0.001s 0.002s 18 0 0 1 35 0.001s 0.002s 19 0 0 0 42 0.001s 0.002s 20 0 0 0 13 0.001s 0.001s 21 0 1 37 53 0.001s 0.002s 22 0 0 7 76 0.001s 0.003s 23 0 0 0 32 0.001s 0.002s Jan 16 00 0 0 2 87 0.001s 0.002s 01 0 0 1 50 0.001s 0.002s 02 0 0 0 36 0.001s 0.002s 03 0 0 3 37 0.001s 0.002s 04 0 0 34 50 0.001s 0.002s 05 0 0 3 43 0.001s 0.002s 06 0 0 1 157 0.001s 0.002s 07 0 0 0 145 0.001s 0.002s 08 0 0 1 59 0.001s 0.001s 09 0 0 4 167 0.001s 0.003s 10 0 0 4 137 0.001s 0.002s 11 0 0 1 67 0.001s 0.002s 12 0 0 0 40 0.001s 0.002s 13 0 0 1 72 0.001s 0.002s 14 0 0 0 110 0.001s 0.002s 15 0 0 35 133 0.001s 0.002s 16 0 0 1 118 0.001s 0.002s 17 0 0 0 141 0.001s 0.002s 18 0 0 1 37 0.001s 0.002s 19 0 0 0 45 0.001s 0.002s 20 0 0 2 32 0.001s 0.002s 21 0 0 0 34 0.001s 0.002s 22 0 0 1 34 0.001s 0.002s 23 0 0 1 34 0.001s 0.002s Jan 17 00 0 0 3 83 0.001s 0.002s 01 0 0 2 53 0.001s 0.002s 02 0 0 1 49 0.001s 0.002s 03 0 0 0 20 0.001s 0.001s 04 0 0 35 53 0.001s 0.002s 05 0 0 34 72 0.001s 0.003s 06 0 0 4 53 0.001s 0.002s 07 0 0 1 32 0.001s 0.002s 08 0 0 0 27 0.001s 0.002s 09 0 0 1 117 0.001s 0.002s 10 0 0 0 87 0.001s 0.002s 11 0 0 1 193 0.001s 0.002s 12 0 0 3 146 0.001s 0.002s 13 0 0 1 132 0.001s 0.002s 14 0 0 1 86 0.001s 0.002s 15 0 0 1 257 0.001s 0.002s 16 0 0 1 90 0.001s 0.002s 17 0 0 0 34 0.001s 0.002s 18 0 0 1 34 0.001s 0.002s 19 0 0 1 21 0.001s 0.002s 20 0 0 0 31 0.001s 0.002s 21 0 0 1 22 0.001s 0.002s 22 0 0 1 27 0.001s 0.002s 23 0 1 2 30 0.001s 0.002s Jan 18 00 0 1 6 47 0.001s 0.001s 01 0 0 0 93 0.001s 0.003s 02 0 0 4 49 0.001s 0.002s 03 0 0 0 30 0.001s 0.002s 04 0 0 0 26 0.001s 0.002s 05 0 0 0 30 0.001s 0.002s 06 0 0 1 32 0.001s 0.002s 07 0 0 0 24 0.001s 0.002s 08 0 0 0 25 0.001s 0.002s 09 0 0 0 36 0.001s 0.002s 10 0 0 1 39 0.001s 0.002s 11 0 0 1 45 0.001s 0.002s 12 0 0 0 36 0.001s 0.002s 13 0 0 0 36 0.001s 0.002s 14 0 0 0 25 0.001s 0.002s 15 0 0 0 33 0.001s 0.002s 16 0 0 0 23 0.001s 0.002s 17 0 0 0 25 0.001s 0.002s 18 0 0 1 31 0.001s 0.002s 19 0 0 0 24 0.001s 0.002s 20 0 0 0 28 0.001s 0.002s 21 0 0 0 25 0.001s 0.002s 22 0 0 0 24 0.001s 0.002s 23 0 0 0 33 0.001s 0.002s Day Hour Count Avg time (sec) Jan 12 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jan 13 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jan 14 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jan 15 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jan 16 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jan 17 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jan 18 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Jan 12 00 18,567.00 kB 18,567.00 kB 01 7,557.00 kB 20,046.50 kB 02 4,113.00 kB 17,070.00 kB 03 476.00 kB 13,919.50 kB 04 3,897.50 kB 11,693.50 kB 05 734.00 kB 9,912.50 kB 06 6,447.50 kB 11,416.00 kB 07 1,218.00 kB 9,448.50 kB 08 1,195.50 kB 7,882.50 kB 09 885.50 kB 6,593.50 kB 10 6,134.50 kB 11,453.00 kB 11 808.50 kB 9,401.00 kB 12 1,175.00 kB 7,803.50 kB 13 1,483.00 kB 6,622.50 kB 14 885.00 kB 5,544.00 kB 15 1,333.50 kB 4,725.00 kB 16 1,344.00 kB 4,088.50 kB 17 1,315.00 kB 3,546.50 kB 18 1,342.00 kB 3,145.50 kB 19 1,670.00 kB 2,838.50 kB 20 1,644.00 kB 2,610.00 kB 21 1,553.50 kB 2,416.00 kB 22 1,898.50 kB 2,324.00 kB 23 1,861.00 kB 2,208.50 kB Jan 13 00 13,215.00 kB 13,215.00 kB 01 205,118.67 kB 544,179.33 kB 02 29,453.00 kB 420,983.00 kB 03 3,849.00 kB 362,049.00 kB 04 190,445.33 kB 513,460.67 kB 05 2,758.00 kB 394,134.00 kB 06 1,514.00 kB 319,650.50 kB 07 16,770.00 kB 274,285.00 kB 08 30,958.33 kB 231,314.33 kB 09 1,140.00 kB 177,552.50 kB 10 1,099.00 kB 144,055.50 kB 11 1,649.00 kB 116,974.00 kB 12 1,139.50 kB 94,993.00 kB 13 1,499.50 kB 77,214.50 kB 14 3,593.50 kB 63,256.00 kB 15 16,397.00 kB 54,356.00 kB 16 1,288.00 kB 44,224.00 kB 17 2,088.00 kB 36,202.50 kB 18 1,179.50 kB 29,572.00 kB 19 755.00 kB 24,132.00 kB 20 27,278.00 kB 34,100.50 kB 21 34,531.00 kB 45,590.00 kB 22 779.00 kB 41,109.00 kB 23 39.50 kB 35,154.00 kB Jan 14 00 5,911.50 kB 29,541.00 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 1,341.00 kB 25,383.00 kB 06 1,633.00 kB 21,961.50 kB 07 65,917.50 kB 111,703.50 kB 08 1,424.00 kB 91,368.00 kB 09 1,247.50 kB 74,251.50 kB 10 25,779.00 kB 64,785.50 kB 11 2,602.50 kB 53,094.50 kB 12 2,863.50 kB 43,558.00 kB 13 1,812.50 kB 35,680.50 kB 14 3,223.00 kB 29,415.50 kB 15 51,241.00 kB 51,241.00 kB 16 356,204.00 kB 674,657.00 kB 17 1,940.00 kB 546,855.00 kB 18 1,766.00 kB 443,291.50 kB 19 1,964.50 kB 359,426.50 kB 20 2,095.00 kB 291,533.00 kB 21 7,535.00 kB 237,564.50 kB 22 32,291.50 kB 198,246.00 kB 23 19,173.00 kB 164,061.50 kB Jan 15 00 15,794.50 kB 135,877.00 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 1,141.00 kB 116,601.00 kB 06 61,800.00 kB 111,121.00 kB 07 22,670.33 kB 96,359.00 kB 08 273,443.00 kB 518,297.00 kB 09 2,168.50 kB 420,152.50 kB 10 1,216.50 kB 340,621.50 kB 11 1,387.50 kB 276,200.00 kB 12 1,262.00 kB 223,938.50 kB 13 23,383.00 kB 185,839.00 kB 14 909.00 kB 150,734.50 kB 15 1,226.00 kB 122,292.00 kB 16 2,083.00 kB 99,443.00 kB 17 29,606.00 kB 86,203.00 kB 18 1,738.50 kB 70,126.50 kB 19 2,638.50 kB 57,258.00 kB 20 2,031.00 kB 49,147.00 kB 21 308,199.50 kB 582,686.50 kB 22 38,900.33 kB 456,679.67 kB 23 3,189.00 kB 353,536.50 kB Jan 16 00 13,133.00 kB 288,748.00 kB 01 7,595.50 kB 234,966.50 kB 02 2,247.00 kB 191,259.00 kB 03 26,436.50 kB 157,706.00 kB 04 277,171.50 kB 525,070.50 kB 05 21,019.50 kB 429,217.00 kB 06 8,720.00 kB 348,830.00 kB 07 5,892.00 kB 283,933.00 kB 08 2,481.00 kB 242,752.00 kB 09 23,323.33 kB 203,287.33 kB 10 32,010.00 kB 159,635.00 kB 11 10,036.00 kB 133,765.50 kB 12 3,839.50 kB 109,059.50 kB 13 3,483.50 kB 89,000.00 kB 14 3,707.50 kB 72,794.50 kB 15 284,827.50 kB 537,738.50 kB 16 4,259.00 kB 436,337.00 kB 17 5,096.50 kB 354,392.50 kB 18 3,982.50 kB 287,867.50 kB 19 5,052.50 kB 234,067.00 kB 20 11,459.00 kB 191,153.50 kB 21 4,495.50 kB 156,323.00 kB 22 7,336.00 kB 128,039.50 kB 23 4,782.50 kB 104,582.00 kB Jan 17 00 24,498.00 kB 89,331.50 kB 01 20,119.50 kB 76,325.00 kB 02 2,924.50 kB 62,368.00 kB 03 3,501.00 kB 53,667.00 kB 04 286,468.50 kB 541,372.50 kB 05 189,615.67 kB 506,554.00 kB 06 32,652.50 kB 394,805.00 kB 07 4,150.00 kB 320,587.50 kB 08 3,816.50 kB 260,411.50 kB 09 2,830.50 kB 211,465.00 kB 10 2,829.50 kB 171,821.00 kB 11 5,674.50 kB 140,144.50 kB 12 26,855.50 kB 116,984.00 kB 13 5,941.00 kB 97,568.00 kB 14 8,161.50 kB 80,296.00 kB 15 6,638.00 kB 66,641.00 kB 16 6,948.00 kB 55,033.50 kB 17 6,497.50 kB 46,021.00 kB 18 5,435.00 kB 38,274.50 kB 19 5,434.00 kB 32,044.50 kB 20 5,860.00 kB 27,036.50 kB 21 6,328.50 kB 23,127.50 kB 22 6,086.50 kB 19,883.00 kB 23 6,499.50 kB 17,293.00 kB Jan 18 00 113,337.00 kB 113,337.00 kB 01 16,277.33 kB 96,351.00 kB 02 29,938.00 kB 79,731.00 kB 03 1,235.00 kB 64,842.50 kB 04 285.00 kB 52,577.50 kB 05 842.50 kB 42,699.00 kB 06 705.50 kB 34,756.50 kB 07 278.00 kB 28,221.50 kB 08 346.50 kB 22,918.00 kB 09 5,014.00 kB 19,521.00 kB 10 4,917.50 kB 16,747.50 kB 11 10,848.00 kB 17,605.50 kB 12 446.50 kB 17,873.00 kB 13 901.50 kB 14,630.00 kB 14 373.00 kB 11,950.00 kB 15 664.00 kB 9,776.50 kB 16 278.00 kB 8,004.00 kB 17 362.50 kB 6,547.50 kB 18 758.50 kB 5,413.00 kB 19 382.00 kB 4,490.50 kB 20 622.00 kB 3,744.50 kB 21 592.50 kB 3,156.50 kB 22 502.00 kB 2,645.00 kB 23 851.00 kB 2,279.00 kB -
Temporary Files
Size of temporary files
Key values
- 12.27 GiB Temp Files size Peak
- 2025-01-12 02:15:02 Date
Number of temporary files
Key values
- 13 per second Temp Files Peak
- 2025-01-12 02:15:02 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jan 12 00 6 5.50 MiB 938.67 KiB 01 0 0 0 02 13 12.27 GiB 966.22 MiB 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 Jan 13 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jan 14 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jan 15 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jan 16 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jan 17 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jan 18 00 9 10.62 MiB 1.18 MiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 15 16.12 MiB 296.00 KiB 2.07 MiB 1.07 MiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2025-01-18 00:23:14 Duration: 0ms
2 13 12.27 GiB 272.84 MiB 1.00 GiB 966.22 MiB select count(*) from ( with initialtetramerset as ( select viachemptr.via_term_id as chem_id, viageneptr.via_term_id as gene_id, viachemptr.phenotype_id as phenotype_id, viachemptr.term_id as disease_id from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr where viachemptr.term_id = viageneptr.term_id and viachemptr.term_object_type_id = ? and viachemptr.phenotype_id = viageneptr.phenotype_id and viachemptr.via_term_object_type_id = ? and viageneptr.via_term_object_type_id = ? ) select distinct chemterm.nm, geneterm.nm, phenotypeterm.nm, diseaseterm.nm from initialtetramerset, term chemterm, term geneterm, term phenotypeterm, term diseaseterm where chemterm.id = initialtetramerset.chem_id and geneterm.id = initialtetramerset.gene_id and phenotypeterm.id = initialtetramerset.phenotype_id and diseaseterm.id = initialtetramerset.disease_id and exists ( select ? from gene_chem_reference gcr where initialtetramerset.gene_id = gcr.gene_id and initialtetramerset.chem_id = gcr.chem_id) and exists ( select ? from phenotype_term_reference ptr where initialtetramerset.chem_id = ptr.term_id and initialtetramerset.phenotype_id = ptr.phenotype_id and ptr.source_cd in (...)) and exists ( select ? from gene_go_annot gga where initialtetramerset.gene_id = gga.gene_id and initialtetramerset.phenotype_id = gga.go_term_id and gga.is_not is false)) as tetramercount;-
---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;
Date: 2025-01-12 02:15:02 Duration: 4d16h19s
-
---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;
Date: 2025-01-12 02:15:02 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
2 1.00 GiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
3 1.00 GiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
4 1.00 GiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
5 1.00 GiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
6 1.00 GiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
7 1.00 GiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
8 1.00 GiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
9 1.00 GiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
10 1.00 GiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
11 1.00 GiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
12 1.00 GiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
13 272.84 MiB ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
14 2.07 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-01-18 00:23:14 ]
15 1.91 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-01-18 00:23:14 ]
16 1.91 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-01-18 00:23:14 ]
17 1.70 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-01-12 00:22:20 ]
18 1.64 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-01-18 00:23:14 ]
19 1.14 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-01-12 00:22:20 ]
20 1.12 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-01-12 00:22:20 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 40.17 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2025-01-13 03:27:29 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 40.17 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2025-01-13 03:27:29 Date
Analyzes per table
Key values
- pubc.log_query (184) Main table analyzed (database ctdprd51)
- 205 analyzes Total
Vacuums per table
Key values
- pubc.log_query (216) Main table vacuumed on database ctdprd51
- 505 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 216 35 672,624 0 21,960 1 25,596 38,695 3,976 16,908,683 ctdprd51.pg_toast.pg_toast_2619 139 4 544,423 0 4,110 0 1,335,152 12,075 3,884 2,012,005 ctdprd51.pg_catalog.pg_statistic 137 2 116,765 0 296 0 147 1,333 293 1,310,667 ctdprd51.pub2.term_set_enrichment 4 0 15,039 0 6,278 0 0 6,999 7 451,081 ctdprd51.pg_toast.pg_toast_486223 3 0 100 0 4 0 0 13 1 9,351 ctdprd51.pub2.term_set_enrichment_agent 3 0 627,707 0 270,697 0 0 313,665 14 18,608,241 ctdprd51.pub2.term_comp_agent 2 0 1,283 0 98 0 0 553 4 52,441 ctdprd51.pub2.term_comp 1 0 139 0 24 0 0 20 2 11,087 Total 505 41 1,978,080 2,821 303,467 1 1,360,895 373,353 8,181 39,363,556 Tuples removed per table
Key values
- pubc.log_query (155516) Main table with removed tuples on database ctdprd51
- 172060 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 216 35 155,516 8,405,327 6,925,374 0 346,574 ctdprd51.pg_toast.pg_toast_2619 139 4 15,176 2,850,020 782,253 0 1,750,288 ctdprd51.pg_catalog.pg_statistic 137 2 1,368 982,694 671,135 0 56,533 ctdprd51.pub2.term_set_enrichment 4 0 0 1,330,156 0 0 22,056 ctdprd51.pg_toast.pg_toast_486223 3 0 0 53 0 0 10 ctdprd51.pub2.term_comp_agent 2 0 0 82,944 0 0 700 ctdprd51.pub2.term_set_enrichment_agent 3 0 0 67,083,418 0 0 762,313 ctdprd51.pub2.term_comp 1 0 0 2,016 0 0 19 Total 505 41 172,060 80,736,628 8,378,762 0 2,938,493 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.pub2.term_set_enrichment 4 0 0 0 ctdprd51.pg_toast.pg_toast_486223 3 0 0 0 ctdprd51.pub2.term_comp_agent 2 0 0 0 ctdprd51.pubc.log_query 216 35 155516 0 ctdprd51.pg_catalog.pg_statistic 137 2 1368 0 ctdprd51.pub2.term_set_enrichment_agent 3 0 0 0 ctdprd51.pg_toast.pg_toast_2619 139 4 15176 0 ctdprd51.pub2.term_comp 1 0 0 0 Total 505 41 172,060 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jan 12 00 0 2 01 0 3 02 0 3 03 0 2 04 0 1 05 0 3 06 0 1 07 0 1 08 0 1 09 0 1 10 0 0 11 0 1 12 0 1 13 0 2 14 0 1 15 0 1 16 0 1 17 0 1 18 0 1 19 0 1 20 0 1 21 0 0 22 0 1 23 0 1 Jan 13 00 0 5 01 0 4 02 0 3 03 0 4 04 0 2 05 0 2 06 0 0 07 0 1 08 0 0 09 0 1 10 0 0 11 0 0 12 0 0 13 0 2 14 0 1 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Jan 14 00 0 1 01 0 0 02 0 0 03 0 0 04 0 0 05 0 5 06 0 4 07 0 4 08 0 2 09 0 3 10 0 1 11 0 3 12 0 3 13 0 2 14 0 2 15 0 5 16 0 1 17 0 1 18 0 1 19 0 1 20 0 1 21 0 1 22 0 3 23 0 0 Jan 15 00 0 1 01 0 0 02 0 0 03 0 0 04 0 0 05 0 3 06 0 4 07 0 2 08 0 4 09 0 1 10 0 2 11 0 0 12 0 1 13 0 0 14 0 0 15 0 0 16 0 1 17 0 0 18 0 2 19 0 1 20 0 1 21 0 2 22 0 1 23 0 1 Jan 16 00 0 4 01 0 4 02 0 3 03 0 0 04 0 2 05 0 2 06 0 1 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 1 16 0 1 17 0 0 18 0 1 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 Jan 17 00 0 4 01 0 5 02 0 3 03 0 4 04 0 3 05 0 2 06 0 1 07 0 2 08 0 0 09 0 1 10 0 0 11 0 1 12 0 2 13 0 0 14 0 1 15 0 0 16 0 1 17 0 0 18 0 1 19 0 0 20 0 1 21 0 1 22 0 0 23 0 1 Jan 18 00 0 3 01 0 3 02 0 1 03 0 1 04 0 0 05 0 0 06 0 1 07 0 0 08 0 0 09 0 0 10 0 0 11 0 1 12 0 0 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 1 - 40.17 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
- 11,447 Total read queries
- 401 Total write queries
Queries by database
Key values
- unknown Main database
- 8,528 Requests
- 5d11h36m39s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 18,573 Requests
User Request type Count Duration edit Total 2 4s557ms select 2 4s557ms editeu Total 18 1m31s select 18 1m31s load Total 4 29s313ms select 4 29s313ms postgres Total 108 53m32s copy to 108 53m32s pub2 Total 2 5s847ms select 2 5s847ms pubeu Total 7,108 14h30m21s cte 77 3m55s select 7,031 14h26m26s qaeu Total 81 3m53s cte 17 56s767ms select 64 2m56s unknown Total 18,573 6d11h7m50s copy to 701 6h44m34s cte 117 4m12s insert 2 4s542ms others 9 53s413ms select 17,744 6d4h18m5s Duration by user
Key values
- 6d11h7m50s (unknown) Main time consuming user
User Request type Count Duration edit Total 2 4s557ms select 2 4s557ms editeu Total 18 1m31s select 18 1m31s load Total 4 29s313ms select 4 29s313ms postgres Total 108 53m32s copy to 108 53m32s pub2 Total 2 5s847ms select 2 5s847ms pubeu Total 7,108 14h30m21s cte 77 3m55s select 7,031 14h26m26s qaeu Total 81 3m53s cte 17 56s767ms select 64 2m56s unknown Total 18,573 6d11h7m50s copy to 701 6h44m34s cte 117 4m12s insert 2 4s542ms others 9 53s413ms select 17,744 6d4h18m5s Queries by host
Key values
- unknown Main host
- 25,896 Requests
- 7d2h37m49s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 11,804 Requests
- 5d17h29m50s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-01-13 22:50:32 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 11,680 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 4d16h19s ---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;[ Date: 2025-01-12 02:15:02 ]
2 38m47s 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 = '2084747') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-01-15 00:47:08 - Bind query: yes ]
3 38m26s 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 = '2084747') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-01-15 00:47:13 - Bind query: yes ]
4 24m8s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2025-01-18 19:44:46 ]
5 23m58s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2025-01-18 19:01:00 ]
6 23m12s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-01-18 00:23:14 ]
7 22m49s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-01-17 00:22:51 ]
8 22m45s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-01-16 00:22:47 ]
9 22m37s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-01-14 00:22:38 ]
10 22m29s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-01-15 00:22:31 ]
11 22m23s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-01-13 00:22:25 ]
12 22m19s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-01-12 00:22:20 ]
13 18m48s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-01-18 06:50:05 - Bind query: yes ]
14 18m45s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-01-18 06:50:06 - Bind query: yes ]
15 18m43s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-01-14 21:41:22 - Bind query: yes ]
16 18m36s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-01-14 21:41:27 - Bind query: yes ]
17 18m24s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-01-15 08:17:51 - Bind query: yes ]
18 17m57s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-01-15 08:17:36 - Bind query: yes ]
19 17m54s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-01-16 18:12:23 - Bind query: yes ]
20 17m52s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-01-15 15:07:14 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 4d16h19s 1 4d16h19s 4d16h19s 4d16h19s select count(*) from ( with initialtetramerset as ( select viachemptr.via_term_id as chem_id, viageneptr.via_term_id as gene_id, viachemptr.phenotype_id as phenotype_id, viachemptr.term_id as disease_id from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr where viachemptr.term_id = viageneptr.term_id and viachemptr.term_object_type_id = ? and viachemptr.phenotype_id = viageneptr.phenotype_id and viachemptr.via_term_object_type_id = ? and viageneptr.via_term_object_type_id = ? ) select distinct chemterm.nm, geneterm.nm, phenotypeterm.nm, diseaseterm.nm from initialtetramerset, term chemterm, term geneterm, term phenotypeterm, term diseaseterm where chemterm.id = initialtetramerset.chem_id and geneterm.id = initialtetramerset.gene_id and phenotypeterm.id = initialtetramerset.phenotype_id and diseaseterm.id = initialtetramerset.disease_id and exists ( select ? from gene_chem_reference gcr where initialtetramerset.gene_id = gcr.gene_id and initialtetramerset.chem_id = gcr.chem_id) and exists ( select ? from phenotype_term_reference ptr where initialtetramerset.chem_id = ptr.term_id and initialtetramerset.phenotype_id = ptr.phenotype_id and ptr.source_cd in (...)) and exists ( select ? from gene_go_annot gga where initialtetramerset.gene_id = gga.gene_id and initialtetramerset.phenotype_id = gga.go_term_id and gga.is_not is false)) as tetramercount;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 12 02 1 4d16h19s 4d16h19s -
---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;
Date: 2025-01-12 02:15:02 Duration: 4d16h19s
-
---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;
Date: 2025-01-12 02:15:02 Duration: 0ms
2 10h18m34s 165 1s515ms 18m48s 3m44s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 12 04 1 1s727ms 1s727ms Jan 13 14 1 1s515ms 1s515ms 17 1 5m10s 5m10s 19 1 1s693ms 1s693ms 22 3 26m18s 8m46s Jan 14 06 3 5s618ms 1s872ms 07 1 3s314ms 3s314ms 08 1 3m46s 3m46s 09 7 8m23s 1m11s 10 7 5m 42s864ms 11 2 5s799ms 2s899ms 12 4 17m42s 4m25s 13 2 1m22s 41s446ms 14 3 1m26s 28s677ms 15 3 17m48s 5m56s 16 1 1s590ms 1s590ms 17 1 2s35ms 2s35ms 18 1 3s270ms 3s270ms 19 4 7s433ms 1s858ms 20 3 6m43s 2m14s 21 6 55m18s 9m13s 22 4 17m56s 4m29s 23 3 5m41s 1m53s Jan 15 05 1 3m12s 3m12s 07 1 1s818ms 1s818ms 08 3 54m8s 18m2s 11 4 5m39s 1m24s 12 3 6s944ms 2s314ms 13 1 5m32s 5m32s 14 3 5s855ms 1s951ms 15 5 24m13s 4m50s 17 1 41s939ms 41s939ms 19 4 14m34s 3m38s 21 2 4s243ms 2s121ms 23 3 7s228ms 2s409ms Jan 16 00 3 7s500ms 2s500ms 01 3 26m30s 8m50s 02 6 8m20s 1m23s 04 3 5m4s 1m41s 05 3 10m2s 3m20s 06 2 4s210ms 2s105ms 07 1 3s301ms 3s301ms 10 2 3s135ms 1s567ms 12 2 3s408ms 1s704ms 13 1 3s165ms 3s165ms 15 3 8m13s 2m44s 18 3 53m18s 17m46s 20 1 2s128ms 2s128ms Jan 17 03 3 26m15s 8m45s 08 2 6s558ms 3s279ms 13 2 5s605ms 2s802ms 16 3 26m18s 8m46s 17 1 1s733ms 1s733ms 23 3 5s83ms 1s694ms Jan 18 04 3 26m34s 8m51s 06 3 55m14s 18m24s 10 1 17m51s 17m51s 12 2 35m25s 17m42s 13 4 4m54s 1m13s 15 1 2s130ms 2s130ms 16 1 3s234ms 3s234ms 17 4 26m22s 6m35s 19 4 3m23s 50s988ms 21 1 2m7s 2m7s [ User: pubeu - Total duration: 2h54m19s - Times executed: 52 ]
-
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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-18 06:50:05 Duration: 18m48s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-18 06:50:06 Duration: 18m45s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-14 21:41:22 Duration: 18m43s Bind query: yes
3 2h38m37s 7 22m19s 23m12s 22m39s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 12 00 1 22m19s 22m19s Jan 13 00 1 22m23s 22m23s Jan 14 00 1 22m37s 22m37s Jan 15 00 1 22m29s 22m29s Jan 16 00 1 22m45s 22m45s Jan 17 00 1 22m49s 22m49s Jan 18 00 1 23m12s 23m12s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-01-18 00:23:14 Duration: 23m12s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-01-17 00:22:51 Duration: 22m49s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-01-16 00:22:47 Duration: 22m45s
4 2h1m4s 204 1s3ms 38m47s 35s608ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 12 02 1 7s575ms 7s575ms 04 2 34s225ms 17s112ms 07 1 4s252ms 4s252ms 08 1 3s23ms 3s23ms 09 2 38s880ms 19s440ms 10 1 1s609ms 1s609ms 17 1 12s46ms 12s46ms 18 2 55s456ms 27s728ms 19 1 1s860ms 1s860ms 20 1 1s856ms 1s856ms 21 1 11s966ms 11s966ms 22 4 16s104ms 4s26ms 23 1 7s593ms 7s593ms Jan 13 00 1 7s676ms 7s676ms 01 1 3s348ms 3s348ms 02 4 44s854ms 11s213ms 06 1 10s939ms 10s939ms 07 3 15s99ms 5s33ms 08 1 1s456ms 1s456ms 09 11 3m2s 16s576ms 12 1 1s121ms 1s121ms 13 2 2s596ms 1s298ms 14 1 1s698ms 1s698ms 16 1 1s888ms 1s888ms 18 2 26s471ms 13s235ms 21 6 1m8s 11s466ms 22 4 4m1s 1m Jan 14 05 1 5s672ms 5s672ms 06 4 4s514ms 1s128ms 07 10 1m59s 11s977ms 08 3 31s550ms 10s516ms 09 2 38s145ms 19s72ms 15 1 1s974ms 1s974ms 16 5 3m57s 47s439ms 17 1 43s999ms 43s999ms 19 2 3s483ms 1s741ms 20 4 39s762ms 9s940ms 23 1 14s589ms 14s589ms Jan 15 00 5 1h19m37s 15m55s 06 4 33s906ms 8s476ms 07 5 2m10s 26s135ms 08 5 3m2s 36s578ms 09 35 5m28s 9s381ms 13 1 7s888ms 7s888ms 17 1 2s309ms 2s309ms 18 1 7s411ms 7s411ms 21 5 22s473ms 4s494ms 23 1 9s722ms 9s722ms Jan 16 00 2 16s106ms 8s53ms 01 2 31s360ms 15s680ms 02 6 2m25s 24s309ms 04 1 1s600ms 1s600ms 05 2 10s471ms 5s235ms 06 2 10s818ms 5s409ms 10 1 1s590ms 1s590ms 23 1 7s204ms 7s204ms Jan 17 03 2 3s158ms 1s579ms 04 1 1s522ms 1s522ms 08 14 1m59s 8s530ms 09 7 45s163ms 6s451ms 16 1 2s238ms 2s238ms 20 1 3s232ms 3s232ms 21 1 1s72ms 1s72ms 23 1 7s340ms 7s340ms Jan 18 05 2 3s73ms 1s536ms 20 1 1s828ms 1s828ms 22 1 1s156ms 1s156ms [ User: pubeu - Total duration: 22m16s - Times executed: 90 ]
-
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 = '2084747') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-15 00:47:08 Duration: 38m47s 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 = '2084747') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-15 00:47:13 Duration: 38m26s 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 = '2092048') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-13 22:53:13 Duration: 2m19s Database: ctdprd51 User: pubeu Bind query: yes
5 1h9m58s 1,391 1s1ms 6s857ms 3s18ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jan 12 00 5 13s416ms 2s683ms 01 10 27s625ms 2s762ms 02 10 27s414ms 2s741ms 03 11 36s411ms 3s310ms 04 4 15s920ms 3s980ms 05 12 29s842ms 2s486ms 06 6 13s379ms 2s229ms 07 9 24s301ms 2s700ms 08 9 25s105ms 2s789ms 09 16 40s274ms 2s517ms 10 9 29s482ms 3s275ms 11 5 12s638ms 2s527ms 12 4 11s339ms 2s834ms 13 6 16s377ms 2s729ms 14 3 10s928ms 3s642ms 15 6 19s96ms 3s182ms 16 10 32s823ms 3s282ms 17 5 15s301ms 3s60ms 18 6 13s893ms 2s315ms 19 6 12s660ms 2s110ms 20 7 16s887ms 2s412ms 21 4 12s157ms 3s39ms 22 9 26s262ms 2s918ms 23 13 35s695ms 2s745ms Jan 13 00 4 7s505ms 1s876ms 01 4 12s916ms 3s229ms 02 11 33s302ms 3s27ms 03 10 25s325ms 2s532ms 04 9 19s900ms 2s211ms 05 9 31s833ms 3s537ms 06 6 25s38ms 4s173ms 07 3 5s138ms 1s712ms 08 17 1m2s 3s665ms 09 14 34s731ms 2s480ms 10 13 38s818ms 2s986ms 11 13 40s488ms 3s114ms 12 10 23s828ms 2s382ms 13 10 29s526ms 2s952ms 14 7 14s34ms 2s4ms 15 12 34s901ms 2s908ms 16 9 35s 3s888ms 17 6 23s87ms 3s847ms 18 13 42s539ms 3s272ms 19 13 31s639ms 2s433ms 20 8 23s706ms 2s963ms 21 2 5s144ms 2s572ms 22 6 16s87ms 2s681ms Jan 14 05 4 14s218ms 3s554ms 06 20 1m3s 3s190ms 07 20 1m4s 3s210ms 08 17 1m2s 3s694ms 09 17 37s987ms 2s234ms 10 31 1m24s 2s716ms 11 13 37s888ms 2s914ms 12 2 9s489ms 4s744ms 13 15 53s621ms 3s574ms 14 24 1m15s 3s156ms 15 25 1m17s 3s113ms 16 21 1m31s 4s355ms 17 33 1m55s 3s510ms 18 29 1m19s 2s739ms 19 24 1m9s 2s897ms 20 16 49s206ms 3s75ms 21 23 1m1s 2s688ms 22 19 53s901ms 2s836ms 23 78 3m47s 2s914ms Jan 15 00 6 15s828ms 2s638ms 05 6 13s561ms 2s260ms 06 13 43s523ms 3s347ms 07 14 39s787ms 2s841ms 08 5 15s729ms 3s145ms 09 2 8s517ms 4s258ms 10 23 1m7s 2s913ms 11 32 1m29s 2s796ms 12 21 1m7s 3s195ms 13 20 59s665ms 2s983ms 14 20 50s661ms 2s533ms 15 28 1m39s 3s564ms 16 20 1m3s 3s187ms 17 26 1m11s 2s760ms 18 14 36s847ms 2s631ms 19 19 1m7s 3s576ms 20 22 1m12s 3s299ms 21 29 1m25s 2s965ms 22 16 49s850ms 3s115ms 23 17 48s684ms 2s863ms Jan 16 00 16 58s801ms 3s675ms 01 27 1m15s 2s792ms 02 15 41s407ms 2s760ms 03 6 18s778ms 3s129ms 04 26 1m9s 2s672ms 05 19 1m1s 3s249ms 06 8 28s503ms 3s562ms 07 12 31s866ms 2s655ms 08 9 25s344ms 2s816ms 09 6 18s388ms 3s64ms 10 6 16s392ms 2s732ms 11 6 14s627ms 2s437ms 12 9 24s331ms 2s703ms 13 6 26s494ms 4s415ms 14 1 6s68ms 6s68ms 15 2 4s320ms 2s160ms 17 1 3s909ms 3s909ms Jan 17 04 1 2s871ms 2s871ms 07 1 6s204ms 6s204ms 09 6 16s260ms 2s710ms 17 3 6s494ms 2s164ms 19 3 18s364ms 6s121ms Jan 18 02 3 18s919ms 6s306ms 03 2 6s470ms 3s235ms 04 2 2s904ms 1s452ms 05 1 6s213ms 6s213ms 06 3 14s931ms 4s977ms 08 2 2s333ms 1s166ms 10 1 2s31ms 2s31ms 12 6 15s921ms 2s653ms 13 2 12s274ms 6s137ms 14 1 2s929ms 2s929ms 16 1 3s378ms 3s378ms [ User: pubeu - Total duration: 18m55s - Times executed: 381 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399640'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-14 08:38:03 Duration: 6s857ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399640'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-14 07:07:45 Duration: 6s833ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399640'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-12 04:32:02 Duration: 6s773ms Bind query: yes
6 54m52s 839 1s2ms 18s520ms 3s924ms 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 #6
Day Hour Count Duration Avg duration Jan 12 00 6 17s871ms 2s978ms 01 3 12s935ms 4s311ms 02 8 15s22ms 1s877ms 03 5 25s847ms 5s169ms 04 2 7s730ms 3s865ms 05 1 3s713ms 3s713ms 06 5 21s417ms 4s283ms 07 4 12s641ms 3s160ms 08 4 26s376ms 6s594ms 09 8 35s183ms 4s397ms 10 3 20s789ms 6s929ms 11 3 18s535ms 6s178ms 12 2 7s150ms 3s575ms 13 2 7s464ms 3s732ms 14 7 26s722ms 3s817ms 15 2 6s351ms 3s175ms 16 4 19s716ms 4s929ms 17 4 21s622ms 5s405ms 18 3 16s867ms 5s622ms 19 5 9s189ms 1s837ms 20 1 2s676ms 2s676ms 21 4 14s222ms 3s555ms 22 4 14s416ms 3s604ms 23 5 8s242ms 1s648ms Jan 13 00 1 5s255ms 5s255ms 01 3 14s504ms 4s834ms 02 4 14s717ms 3s679ms 03 7 31s766ms 4s538ms 04 5 16s23ms 3s204ms 05 3 10s342ms 3s447ms 06 5 13s567ms 2s713ms 07 8 17s222ms 2s152ms 08 5 14s444ms 2s888ms 09 2 9s367ms 4s683ms 10 6 34s780ms 5s796ms 11 10 32s789ms 3s278ms 12 2 10s151ms 5s75ms 13 5 21s74ms 4s214ms 14 4 19s259ms 4s814ms 15 4 21s519ms 5s379ms 16 7 31s817ms 4s545ms 17 8 31s903ms 3s987ms 18 7 20s463ms 2s923ms 19 3 23s933ms 7s977ms 20 10 28s383ms 2s838ms 21 1 10s384ms 10s384ms 22 2 11s369ms 5s684ms Jan 14 05 1 2s795ms 2s795ms 06 3 6s788ms 2s262ms 07 1 2s534ms 2s534ms 08 8 26s969ms 3s371ms 09 5 20s244ms 4s48ms 10 5 25s293ms 5s58ms 11 4 24s844ms 6s211ms 12 6 38s525ms 6s420ms 13 5 23s128ms 4s625ms 14 4 8s829ms 2s207ms 15 7 27s791ms 3s970ms 16 9 1m4s 7s137ms 17 5 12s789ms 2s557ms 18 3 4s391ms 1s463ms 19 57 3m7s 3s283ms 20 72 3m49s 3s191ms 21 97 6m15s 3s868ms 22 85 5m44s 4s54ms 23 2 9s98ms 4s549ms Jan 15 00 2 4s418ms 2s209ms 06 13 1m7s 5s207ms 07 8 23s684ms 2s960ms 08 1 2s162ms 2s162ms 09 5 16s411ms 3s282ms 10 1 1s310ms 1s310ms 11 1 5s495ms 5s495ms 12 5 30s874ms 6s174ms 13 5 16s143ms 3s228ms 14 7 16s79ms 2s297ms 15 5 21s333ms 4s266ms 16 2 5s83ms 2s541ms 17 2 7s414ms 3s707ms 18 2 9s117ms 4s558ms 19 6 20s251ms 3s375ms 20 4 13s821ms 3s455ms 21 3 15s368ms 5s122ms 22 6 18s409ms 3s68ms 23 2 2s431ms 1s215ms Jan 16 00 4 11s456ms 2s864ms 01 4 16s211ms 4s52ms 02 4 19s20ms 4s755ms 03 1 2s907ms 2s907ms 04 3 18s45ms 6s15ms 05 5 17s115ms 3s423ms 06 4 16s753ms 4s188ms 07 10 1m26s 8s676ms 08 1 1s2ms 1s2ms 09 1 4s688ms 4s688ms 10 1 5s305ms 5s305ms 11 3 16s78ms 5s359ms 12 4 9s415ms 2s353ms 13 1 1s323ms 1s323ms 14 4 36s131ms 9s32ms 15 3 21s823ms 7s274ms 17 5 20s61ms 4s12ms 18 2 9s156ms 4s578ms 19 1 1s28ms 1s28ms 20 1 10s62ms 10s62ms 22 8 26s299ms 3s287ms 23 2 4s302ms 2s151ms Jan 17 00 3 12s868ms 4s289ms 02 5 16s379ms 3s275ms 04 2 2s607ms 1s303ms 05 4 17s569ms 4s392ms 06 3 9s369ms 3s123ms 07 3 6s437ms 2s145ms 08 13 45s685ms 3s514ms 09 3 6s514ms 2s171ms 10 1 5s391ms 5s391ms 11 2 6s621ms 3s310ms 12 1 1s235ms 1s235ms 13 3 14s240ms 4s746ms 14 6 19s631ms 3s271ms 15 1 1s132ms 1s132ms 17 3 23s786ms 7s928ms 18 2 6s390ms 3s195ms 19 4 14s727ms 3s681ms 20 3 19s970ms 6s656ms 21 4 10s598ms 2s649ms Jan 18 02 1 2s774ms 2s774ms 05 3 20s124ms 6s708ms 06 9 41s986ms 4s665ms 08 6 25s550ms 4s258ms 09 1 1s812ms 1s812ms 11 1 2s771ms 2s771ms 12 4 15s649ms 3s912ms 14 3 3s745ms 1s248ms 15 1 1s129ms 1s129ms 16 2 11s713ms 5s856ms 17 1 2s785ms 2s785ms 18 1 5s124ms 5s124ms 20 1 10s82ms 10s82ms 23 1 1s53ms 1s53ms [ User: pubeu - Total duration: 13m14s - Times executed: 200 ]
-
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 = '2079972') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-01-14 12:48:56 Duration: 18s520ms 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 = '2090292') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-01-14 21:12:21 Duration: 12s874ms 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 = '2090292') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-01-14 16:01:22 Duration: 12s705ms Bind query: yes
7 51m21s 1,137 1s 6s924ms 2s710ms 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 #7
Day Hour Count Duration Avg duration Jan 12 00 4 13s674ms 3s418ms 01 1 3s273ms 3s273ms 02 9 29s95ms 3s232ms 03 4 9s459ms 2s364ms 04 10 32s544ms 3s254ms 05 6 14s219ms 2s369ms 06 6 19s844ms 3s307ms 07 2 5s885ms 2s942ms 08 5 15s469ms 3s93ms 09 4 8s620ms 2s155ms 10 7 22s364ms 3s194ms 11 8 25s825ms 3s228ms 12 2 3s47ms 1s523ms 13 9 24s614ms 2s734ms 14 5 15s799ms 3s159ms 15 6 13s310ms 2s218ms 17 7 21s69ms 3s9ms 18 3 10s154ms 3s384ms 19 8 14s920ms 1s865ms 20 6 18s421ms 3s70ms 21 4 11s806ms 2s951ms 22 3 11s795ms 3s931ms 23 8 19s218ms 2s402ms Jan 13 00 4 12s917ms 3s229ms 01 6 18s718ms 3s119ms 02 8 25s269ms 3s158ms 03 9 22s890ms 2s543ms 04 2 8s998ms 4s499ms 05 4 15s232ms 3s808ms 06 7 23s283ms 3s326ms 07 11 32s482ms 2s952ms 08 15 48s400ms 3s226ms 09 11 37s321ms 3s392ms 10 5 13s977ms 2s795ms 11 9 23s86ms 2s565ms 12 3 8s157ms 2s719ms 13 6 15s390ms 2s565ms 14 9 27s732ms 3s81ms 15 10 30s361ms 3s36ms 16 5 10s140ms 2s28ms 17 4 11s396ms 2s849ms 18 6 15s861ms 2s643ms 19 8 21s845ms 2s730ms 20 13 38s819ms 2s986ms 21 1 4s443ms 4s443ms 22 3 6s870ms 2s290ms Jan 14 05 3 7s553ms 2s517ms 06 15 46s30ms 3s68ms 07 14 34s232ms 2s445ms 08 7 20s49ms 2s864ms 09 20 49s46ms 2s452ms 10 21 1m4s 3s77ms 11 18 50s599ms 2s811ms 12 6 16s789ms 2s798ms 13 10 35s58ms 3s505ms 14 16 42s688ms 2s668ms 15 24 1m 2s528ms 16 21 47s867ms 2s279ms 17 36 1m26s 2s409ms 18 26 1m 2s308ms 19 23 1m7s 2s920ms 20 24 55s924ms 2s330ms 21 21 1m2s 2s959ms 22 27 1m5s 2s433ms 23 74 3m16s 2s648ms Jan 15 00 8 15s251ms 1s906ms 05 6 17s631ms 2s938ms 06 9 16s857ms 1s873ms 07 10 25s143ms 2s514ms 08 2 2s288ms 1s144ms 09 2 4s807ms 2s403ms 10 11 30s285ms 2s753ms 11 15 34s245ms 2s283ms 12 20 47s217ms 2s360ms 13 11 22s583ms 2s53ms 14 11 24s886ms 2s262ms 15 15 46s910ms 3s127ms 16 7 17s327ms 2s475ms 17 25 1m1s 2s478ms 18 25 1m9s 2s795ms 19 16 43s330ms 2s708ms 20 17 46s211ms 2s718ms 21 22 1m 2s771ms 22 24 1m5s 2s714ms 23 19 54s441ms 2s865ms Jan 16 00 21 57s316ms 2s729ms 01 13 29s467ms 2s266ms 02 15 46s271ms 3s84ms 03 8 18s384ms 2s298ms 04 21 1m3s 3s14ms 05 13 30s455ms 2s342ms 06 6 20s600ms 3s433ms 07 10 28s171ms 2s817ms 08 4 11s478ms 2s869ms 09 2 7s435ms 3s717ms 10 7 21s95ms 3s13ms 11 1 2s590ms 2s590ms 12 4 8s248ms 2s62ms 13 3 6s556ms 2s185ms 14 1 3s181ms 3s181ms 17 2 4s639ms 2s319ms Jan 17 06 1 3s274ms 3s274ms 09 10 23s953ms 2s395ms 11 2 5s106ms 2s553ms 15 3 10s279ms 3s426ms 16 3 13s646ms 4s548ms 17 1 1s76ms 1s76ms 20 1 3s61ms 3s61ms Jan 18 01 1 1s450ms 1s450ms 09 1 1s131ms 1s131ms 10 1 4s673ms 4s673ms 12 10 23s669ms 2s366ms 13 2 10s740ms 5s370ms 19 1 1s19ms 1s19ms 21 2 5s309ms 2s654ms [ User: pubeu - Total duration: 13m55s - Times executed: 306 ]
-
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 = '1399640') 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 = '1399640') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-01-14 21:31:34 Duration: 6s924ms 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 = '1399640') 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 = '1399640') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-01-18 13:31:46 Duration: 5s782ms 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 = '1399640') 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 = '1399640') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-01-15 21:03:17 Duration: 5s276ms Bind query: yes
8 35m20s 229 1s16ms 24s422ms 9s260ms 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 #8
Day Hour Count Duration Avg duration Jan 12 06 1 1s138ms 1s138ms 08 1 3s865ms 3s865ms Jan 13 07 1 1s95ms 1s95ms 09 1 6s540ms 6s540ms 11 3 21s757ms 7s252ms 15 3 1m7s 22s648ms Jan 14 06 2 2s700ms 1s350ms 07 1 3s988ms 3s988ms 09 3 6s236ms 2s78ms 10 2 42s98ms 21s49ms 11 12 3m21s 16s767ms 12 1 1s266ms 1s266ms 13 2 20s970ms 10s485ms 14 4 30s711ms 7s677ms 15 3 16s161ms 5s387ms 16 2 14s70ms 7s35ms 17 3 24s870ms 8s290ms 18 4 31s487ms 7s871ms 19 8 34s724ms 4s340ms 20 7 23s145ms 3s306ms 21 4 15s186ms 3s796ms 22 1 21s847ms 21s847ms 23 3 26s917ms 8s972ms Jan 15 05 2 25s19ms 12s509ms 06 3 24s562ms 8s187ms 07 2 11s882ms 5s941ms 09 1 3s316ms 3s316ms 10 2 4s710ms 2s355ms 11 2 5s294ms 2s647ms 12 6 1m23s 13s941ms 13 1 17s980ms 17s980ms 14 4 1m6s 16s557ms 15 4 30s523ms 7s630ms 16 5 1m51s 22s393ms 17 3 9s629ms 3s209ms 18 5 1m1s 12s395ms 19 1 21s318ms 21s318ms 20 5 1m2s 12s563ms 22 2 11s982ms 5s991ms 23 2 2s955ms 1s477ms Jan 16 00 4 29s53ms 7s263ms 01 2 5s817ms 2s908ms 02 3 10s941ms 3s647ms 03 1 1s778ms 1s778ms 04 1 7s266ms 7s266ms 05 2 10s230ms 5s115ms 12 6 36s812ms 6s135ms 15 3 3s218ms 1s72ms 17 4 1m8s 17s240ms 20 2 7s735ms 3s867ms Jan 17 03 1 2s205ms 2s205ms 04 2 11s631ms 5s815ms 05 2 4s47ms 2s23ms 06 1 3s45ms 3s45ms 08 3 31s474ms 10s491ms 11 2 42s809ms 21s404ms 12 4 50s241ms 12s560ms 16 2 2s640ms 1s320ms 18 1 3s80ms 3s80ms 20 6 53s794ms 8s965ms 21 1 20s746ms 20s746ms Jan 18 01 1 1s71ms 1s71ms 04 3 1m9s 23s245ms 05 3 1m7s 22s370ms 08 6 37s620ms 6s270ms 12 3 22s706ms 7s568ms 13 6 1m6s 11s105ms 14 9 1m17s 8s622ms 15 5 25s961ms 5s192ms 16 6 1m8s 11s452ms 18 1 1s894ms 1s894ms 19 3 48s621ms 16s207ms 20 3 23s522ms 7s840ms 21 5 26s138ms 5s227ms [ User: pubeu - Total duration: 11m57s - Times executed: 68 ]
-
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 = '1222378') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-01-15 16:53:28 Duration: 24s422ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1246190') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-01-18 13:31:58 Duration: 24s421ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222378') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-01-18 04:19:27 Duration: 24s51ms Database: ctdprd51 User: pubeu Bind query: yes
9 35m6s 1,824 1s32ms 2s526ms 1s155ms 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 #9
Day Hour Count Duration Avg duration Jan 12 00 15 17s613ms 1s174ms 01 9 10s676ms 1s186ms 02 16 18s542ms 1s158ms 03 17 19s851ms 1s167ms 04 12 14s32ms 1s169ms 05 13 15s500ms 1s192ms 06 14 15s907ms 1s136ms 07 14 16s 1s142ms 08 1 1s177ms 1s177ms 09 11 12s639ms 1s149ms 10 7 7s881ms 1s125ms 11 7 8s55ms 1s150ms 12 15 17s201ms 1s146ms 13 19 21s417ms 1s127ms 14 8 8s904ms 1s113ms 15 6 6s832ms 1s138ms 16 4 4s547ms 1s136ms 17 21 23s989ms 1s142ms 18 11 12s381ms 1s125ms 19 17 19s128ms 1s125ms 20 14 15s581ms 1s112ms 21 7 8s15ms 1s145ms 22 13 16s210ms 1s246ms 23 11 12s926ms 1s175ms Jan 13 00 11 13s147ms 1s195ms 01 1 1s193ms 1s193ms 02 6 7s123ms 1s187ms 03 4 4s552ms 1s138ms 04 6 6s949ms 1s158ms 05 17 20s293ms 1s193ms 06 8 9s149ms 1s143ms 07 13 14s931ms 1s148ms 08 7 8s138ms 1s162ms 09 6 6s927ms 1s154ms 10 8 9s237ms 1s154ms 11 10 11s361ms 1s136ms 12 4 4s456ms 1s114ms 13 7 8s1ms 1s143ms 14 13 14s736ms 1s133ms 15 12 13s223ms 1s101ms 16 4 4s517ms 1s129ms 17 6 6s618ms 1s103ms 18 8 9s113ms 1s139ms 19 18 20s465ms 1s136ms 20 6 6s855ms 1s142ms 21 4 4s582ms 1s145ms 22 1 2s169ms 2s169ms Jan 14 05 10 11s481ms 1s148ms 06 18 20s224ms 1s123ms 07 24 27s634ms 1s151ms 08 16 18s218ms 1s138ms 09 22 24s907ms 1s132ms 10 24 27s388ms 1s141ms 11 27 30s711ms 1s137ms 12 12 14s724ms 1s227ms 13 26 30s9ms 1s154ms 14 38 43s42ms 1s132ms 15 42 47s419ms 1s129ms 16 25 29s850ms 1s194ms 17 33 38s307ms 1s160ms 18 40 44s658ms 1s116ms 19 20 22s736ms 1s136ms 20 20 22s757ms 1s137ms 21 23 29s154ms 1s267ms 22 22 25s631ms 1s165ms 23 26 30s313ms 1s165ms Jan 15 00 4 4s617ms 1s154ms 05 9 10s757ms 1s195ms 06 12 13s564ms 1s130ms 07 17 19s454ms 1s144ms 08 5 7s645ms 1s529ms 09 7 8s401ms 1s200ms 10 9 10s96ms 1s121ms 11 21 23s865ms 1s136ms 12 19 21s576ms 1s135ms 13 15 17s315ms 1s154ms 14 15 17s43ms 1s136ms 15 10 11s416ms 1s141ms 16 15 17s440ms 1s162ms 17 22 24s622ms 1s119ms 18 19 21s358ms 1s124ms 19 18 20s437ms 1s135ms 20 27 30s618ms 1s134ms 21 14 15s778ms 1s127ms 22 19 22s257ms 1s171ms 23 29 34s358ms 1s184ms Jan 16 00 12 14s612ms 1s217ms 01 18 21s88ms 1s171ms 02 17 20s145ms 1s185ms 03 17 20s925ms 1s230ms 04 17 20s5ms 1s176ms 05 17 20s455ms 1s203ms 06 12 13s967ms 1s163ms 07 9 10s279ms 1s142ms 08 11 12s546ms 1s140ms 09 5 5s706ms 1s141ms 10 8 9s40ms 1s130ms 12 10 11s440ms 1s144ms 13 4 4s584ms 1s146ms 14 5 5s607ms 1s121ms 15 3 3s338ms 1s112ms 16 3 3s399ms 1s133ms 17 1 1s102ms 1s102ms 18 2 2s282ms 1s141ms 19 2 2s241ms 1s120ms 20 6 6s738ms 1s123ms 21 6 6s756ms 1s126ms 22 6 6s799ms 1s133ms 23 12 13s767ms 1s147ms Jan 17 00 7 8s151ms 1s164ms 01 7 8s45ms 1s149ms 02 9 10s345ms 1s149ms 03 6 6s849ms 1s141ms 04 6 6s861ms 1s143ms 05 7 8s41ms 1s148ms 06 9 10s108ms 1s123ms 07 16 18s81ms 1s130ms 08 11 12s296ms 1s117ms 09 10 11s454ms 1s145ms 10 10 11s157ms 1s115ms 11 1 1s65ms 1s65ms 12 6 6s726ms 1s121ms 13 13 14s622ms 1s124ms 14 5 5s498ms 1s99ms 15 7 7s851ms 1s121ms 16 9 13s79ms 1s453ms 17 7 7s815ms 1s116ms 18 6 6s610ms 1s101ms 19 5 5s532ms 1s106ms 20 18 20s671ms 1s148ms 21 9 10s94ms 1s121ms 22 4 4s488ms 1s122ms 23 7 8s171ms 1s167ms Jan 18 00 8 9s153ms 1s144ms 01 9 10s260ms 1s140ms 02 13 14s730ms 1s133ms 03 17 19s366ms 1s139ms 04 6 7s790ms 1s298ms 05 15 17s563ms 1s170ms 06 5 7s342ms 1s468ms 07 7 7s900ms 1s128ms 08 5 5s551ms 1s110ms 09 8 8s879ms 1s109ms 10 4 4s514ms 1s128ms 11 5 5s815ms 1s163ms 12 9 10s407ms 1s156ms 13 14 19s308ms 1s379ms 14 5 5s780ms 1s156ms 15 6 6s732ms 1s122ms 16 7 7s963ms 1s137ms 17 3 3s420ms 1s140ms 18 2 2s244ms 1s122ms 19 9 9s844ms 1s93ms 20 12 13s422ms 1s118ms 21 9 10s8ms 1s112ms 22 6 6s892ms 1s148ms 23 6 6s808ms 1s134ms [ User: pubeu - Total duration: 9m43s - Times executed: 505 ]
[ User: qaeu - Total duration: 2s604ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2059108' or receptorTerm.id = '2059108' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-18 13:34:00 Duration: 2s526ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2034363' or receptorTerm.id = '2034363' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-14 12:47:15 Duration: 2s221ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1660468' or receptorTerm.id = '1660468' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-15 08:01:13 Duration: 2s192ms Bind query: yes
10 32m42s 36 1s889ms 7m48s 54s515ms 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 Jan 12 07 1 19s300ms 19s300ms 08 1 48s868ms 48s868ms 10 1 52s191ms 52s191ms 17 1 48s331ms 48s331ms 21 1 47s105ms 47s105ms Jan 13 06 1 48s803ms 48s803ms 10 1 52s820ms 52s820ms 18 1 51s226ms 51s226ms 20 1 53s467ms 53s467ms Jan 14 10 1 54s7ms 54s7ms 12 1 2s109ms 2s109ms 14 1 1m14s 1m14s 18 2 1m40s 50s80ms 19 1 1s889ms 1s889ms 21 1 39s175ms 39s175ms 22 1 52s487ms 52s487ms Jan 15 10 1 40s332ms 40s332ms 12 1 43s660ms 43s660ms 13 1 28s622ms 28s622ms 15 1 54s253ms 54s253ms 22 1 53s625ms 53s625ms Jan 16 01 1 53s173ms 53s173ms 05 1 1m24s 1m24s 13 2 55s580ms 27s790ms 23 1 2s685ms 2s685ms Jan 17 12 2 35s753ms 17s876ms 15 1 2s559ms 2s559ms Jan 18 10 3 11m4s 3m41s 13 2 1m34s 47s166ms 23 1 2s545ms 2s545ms [ User: pubeu - Total duration: 14m39s - Times executed: 12 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1277024')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-01-18 10:53:20 Duration: 7m48s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1277024')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-01-18 10:47:03 Duration: 1m39s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1277024')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-01-18 10:47:02 Duration: 1m36s Bind query: yes
11 24m34s 328 1s 7s249ms 4s495ms 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 Jan 12 02 1 1s 1s 03 4 19s524ms 4s881ms 04 3 14s287ms 4s762ms 05 1 5s117ms 5s117ms 06 1 5s369ms 5s369ms 08 1 5s460ms 5s460ms 09 13 1m10s 5s458ms 10 1 5s211ms 5s211ms 12 3 14s116ms 4s705ms 13 4 20s485ms 5s121ms 15 1 4s805ms 4s805ms 16 1 4s813ms 4s813ms 18 1 1s16ms 1s16ms 20 2 10s138ms 5s69ms 22 1 5s747ms 5s747ms 23 3 11s249ms 3s749ms Jan 13 00 2 10s318ms 5s159ms 01 1 5s808ms 5s808ms 02 3 16s802ms 5s600ms 03 7 31s535ms 4s505ms 06 1 5s323ms 5s323ms 07 2 10s661ms 5s330ms 08 3 11s521ms 3s840ms 09 3 11s527ms 3s842ms 10 2 10s552ms 5s276ms 12 1 5s225ms 5s225ms 13 1 1s13ms 1s13ms 15 3 15s142ms 5s47ms 17 5 25s971ms 5s194ms 18 2 6s230ms 3s115ms 19 1 1s2ms 1s2ms 20 5 26s20ms 5s204ms 21 1 4s948ms 4s948ms Jan 14 05 1 1s12ms 1s12ms 06 5 13s396ms 2s679ms 07 2 6s216ms 3s108ms 08 3 15s764ms 5s254ms 09 2 10s359ms 5s179ms 10 2 6s135ms 3s67ms 11 8 37s771ms 4s721ms 12 1 5s128ms 5s128ms 13 1 5s88ms 5s88ms 14 6 26s870ms 4s478ms 15 6 32s331ms 5s388ms 16 5 26s720ms 5s344ms 17 10 48s144ms 4s814ms 18 2 10s252ms 5s126ms 19 5 21s766ms 4s353ms 20 6 25s426ms 4s237ms 21 3 16s279ms 5s426ms 22 7 23s596ms 3s370ms 23 21 1m8s 3s283ms Jan 15 00 6 33s707ms 5s617ms 05 1 5s133ms 5s133ms 07 2 6s97ms 3s48ms 09 2 11s243ms 5s621ms 10 3 15s614ms 5s204ms 12 3 15s427ms 5s142ms 13 3 16s48ms 5s349ms 14 1 1s1ms 1s1ms 15 4 16s987ms 4s246ms 16 2 6s234ms 3s117ms 17 3 15s449ms 5s149ms 18 1 5s416ms 5s416ms 19 4 18s419ms 4s604ms 20 3 11s614ms 3s871ms 21 3 8s160ms 2s720ms 22 7 32s522ms 4s646ms 23 3 15s255ms 5s85ms Jan 16 00 4 17s82ms 4s270ms 01 3 11s404ms 3s801ms 02 7 24s127ms 3s446ms 03 1 5s467ms 5s467ms 04 6 31s133ms 5s188ms 05 1 5s222ms 5s222ms 06 3 15s329ms 5s109ms 08 1 5s351ms 5s351ms 09 1 1s21ms 1s21ms 12 5 21s484ms 4s296ms 17 1 5s119ms 5s119ms 20 1 1s1ms 1s1ms 21 3 15s304ms 5s101ms Jan 17 01 2 6s254ms 3s127ms 02 1 5s153ms 5s153ms 03 2 6s205ms 3s102ms 04 3 15s601ms 5s200ms 06 4 16s424ms 4s106ms 07 1 4s989ms 4s989ms 09 8 40s481ms 5s60ms 12 4 21s139ms 5s284ms 13 1 5s110ms 5s110ms 16 2 9s855ms 4s927ms 17 4 21s351ms 5s337ms 19 4 12s295ms 3s73ms 20 2 10s666ms 5s333ms 21 1 5s494ms 5s494ms 22 2 10s95ms 5s47ms Jan 18 03 1 5s32ms 5s32ms 06 2 6s121ms 3s60ms 07 1 5s106ms 5s106ms 09 1 5s199ms 5s199ms 10 1 5s201ms 5s201ms 11 1 5s81ms 5s81ms 12 5 25s68ms 5s13ms 14 1 5s227ms 5s227ms 18 2 10s626ms 5s313ms 20 2 6s750ms 3s375ms 21 2 10s450ms 5s225ms [ User: pubeu - Total duration: 6m53s - Times executed: 92 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1406030' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-17 09:09:38 Duration: 7s249ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1288504' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-15 19:56:20 Duration: 6s886ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1370847' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-14 20:10:37 Duration: 6s833ms Bind query: yes
12 24m8s 1 24m8s 24m8s 24m8s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jan 18 19 1 24m8s 24m8s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-01-18 19:44:46 Duration: 24m8s
13 23m58s 1 23m58s 23m58s 23m58s 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 #13
Day Hour Count Duration Avg duration Jan 18 19 1 23m58s 23m58s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-01-18 19:01:00 Duration: 23m58s
14 20m19s 307 3s711ms 5s441ms 3s972ms 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 #14
Day Hour Count Duration Avg duration Jan 12 02 8 31s594ms 3s949ms 03 1 4s191ms 4s191ms 04 1 4s6ms 4s6ms 06 2 8s93ms 4s46ms 07 6 23s498ms 3s916ms 08 7 27s777ms 3s968ms 09 6 23s404ms 3s900ms 10 12 46s180ms 3s848ms 12 5 19s328ms 3s865ms 14 2 7s777ms 3s888ms 16 1 3s852ms 3s852ms 17 2 7s605ms 3s802ms 20 1 3s844ms 3s844ms 23 2 8s35ms 4s17ms Jan 13 00 1 3s951ms 3s951ms 01 1 3s751ms 3s751ms 02 2 9s165ms 4s582ms 03 3 12s27ms 4s9ms 04 1 3s909ms 3s909ms 05 1 3s924ms 3s924ms 06 3 11s832ms 3s944ms 07 1 3s982ms 3s982ms 09 3 11s780ms 3s926ms 10 1 4s213ms 4s213ms 11 1 3s940ms 3s940ms 13 1 4s15ms 4s15ms 14 1 3s765ms 3s765ms 15 1 4s4ms 4s4ms 16 2 7s750ms 3s875ms 17 2 7s622ms 3s811ms 18 2 7s971ms 3s985ms 20 1 3s798ms 3s798ms Jan 14 05 1 4s75ms 4s75ms 06 1 3s787ms 3s787ms 07 2 9s396ms 4s698ms 11 1 4s44ms 4s44ms 12 2 7s706ms 3s853ms 13 1 3s979ms 3s979ms 14 4 15s485ms 3s871ms 15 2 7s736ms 3s868ms 16 3 11s571ms 3s857ms 17 2 7s972ms 3s986ms 18 1 4s25ms 4s25ms 20 1 3s764ms 3s764ms 21 2 7s609ms 3s804ms 23 1 3s866ms 3s866ms Jan 15 07 1 4s28ms 4s28ms 09 3 12s147ms 4s49ms 10 1 4s148ms 4s148ms 11 1 3s819ms 3s819ms 12 2 7s947ms 3s973ms 13 2 7s855ms 3s927ms 14 1 4s195ms 4s195ms 15 5 20s174ms 4s34ms 16 1 4s454ms 4s454ms 17 3 11s568ms 3s856ms 19 8 31s66ms 3s883ms 20 30 2m1s 4s60ms 21 2 8s119ms 4s59ms 22 2 8s294ms 4s147ms 23 3 11s428ms 3s809ms Jan 16 00 2 8s24ms 4s12ms 01 3 11s979ms 3s993ms 03 1 4s38ms 4s38ms 04 6 23s779ms 3s963ms 05 1 3s754ms 3s754ms 06 3 12s106ms 4s35ms 08 1 3s808ms 3s808ms 09 12 47s61ms 3s921ms 10 10 39s994ms 3s999ms 11 6 23s479ms 3s913ms 12 7 28s96ms 4s13ms 13 6 23s967ms 3s994ms 14 2 7s826ms 3s913ms 15 1 4s47ms 4s47ms 16 2 7s866ms 3s933ms 17 7 27s229ms 3s889ms 18 1 4s24ms 4s24ms 19 3 11s792ms 3s930ms 20 2 9s231ms 4s615ms 22 1 3s883ms 3s883ms 23 1 3s909ms 3s909ms Jan 17 00 1 3s843ms 3s843ms 01 2 7s615ms 3s807ms 02 3 11s972ms 3s990ms 03 4 16s103ms 4s25ms 05 5 19s821ms 3s964ms 06 2 7s827ms 3s913ms 07 1 3s925ms 3s925ms 08 1 4s49ms 4s49ms 12 5 19s859ms 3s971ms 13 4 16s445ms 4s111ms 14 1 3s978ms 3s978ms 15 2 7s942ms 3s971ms 16 2 8s17ms 4s8ms 17 1 3s794ms 3s794ms 19 1 3s952ms 3s952ms 20 1 3s942ms 3s942ms Jan 18 00 1 3s888ms 3s888ms 01 3 11s862ms 3s954ms 02 2 7s820ms 3s910ms 03 1 3s992ms 3s992ms 05 2 8s213ms 4s106ms 06 1 4s615ms 4s615ms 09 3 11s665ms 3s888ms 12 1 3s827ms 3s827ms 14 1 3s943ms 3s943ms 17 1 3s771ms 3s771ms 18 1 4s264ms 4s264ms 20 1 4s97ms 4s97ms 21 2 7s862ms 3s931ms [ User: pubeu - Total duration: 6m33s - Times executed: 99 ]
-
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 = '1344282') 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 = '1344282') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-01-14 07:01:17 Duration: 5s441ms 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 = '1344282') 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 = '1344282') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-01-16 20:31:49 Duration: 5s303ms 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 = '1267714') 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 = '1267714') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-01-13 02:09:44 Duration: 4s698ms Database: ctdprd51 User: pubeu Bind query: yes
15 18m59s 25 45s110ms 46s978ms 45s563ms 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 #15
Day Hour Count Duration Avg duration Jan 12 06 1 45s833ms 45s833ms 10 1 45s203ms 45s203ms 14 1 45s177ms 45s177ms 18 1 45s152ms 45s152ms Jan 13 06 1 45s947ms 45s947ms 10 1 45s162ms 45s162ms 14 1 45s593ms 45s593ms 18 1 45s110ms 45s110ms Jan 14 06 1 45s179ms 45s179ms 10 1 45s545ms 45s545ms 14 1 45s346ms 45s346ms 18 1 45s289ms 45s289ms Jan 15 06 1 45s398ms 45s398ms 10 1 45s924ms 45s924ms 14 1 45s375ms 45s375ms 18 1 45s829ms 45s829ms Jan 16 06 1 46s978ms 46s978ms 10 1 45s586ms 45s586ms 14 1 45s620ms 45s620ms 18 1 45s268ms 45s268ms Jan 17 06 1 45s599ms 45s599ms 10 1 45s577ms 45s577ms 14 1 45s667ms 45s667ms 18 1 46s92ms 46s92ms Jan 18 19 1 45s618ms 45s618ms [ User: postgres - Total duration: 18m13s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 18m13s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-01-16 06:05:48 Duration: 46s978ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-01-17 18:05:48 Duration: 46s92ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-01-13 06:05:48 Duration: 45s947ms Database: ctdprd51 User: postgres Application: pg_dump
16 14m16s 689 1s107ms 2s366ms 1s242ms 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 #16
Day Hour Count Duration Avg duration Jan 12 00 4 5s291ms 1s322ms 01 9 11s226ms 1s247ms 02 4 4s971ms 1s242ms 03 9 11s331ms 1s259ms 04 6 7s602ms 1s267ms 05 11 13s896ms 1s263ms 06 3 3s740ms 1s246ms 07 6 7s398ms 1s233ms 08 4 4s987ms 1s246ms 09 3 3s779ms 1s259ms 10 5 6s243ms 1s248ms 11 2 2s499ms 1s249ms 12 7 8s678ms 1s239ms 13 5 5s992ms 1s198ms 14 5 6s121ms 1s224ms 15 3 3s651ms 1s217ms 16 4 4s852ms 1s213ms 17 6 7s225ms 1s204ms 18 4 4s872ms 1s218ms 19 4 4s779ms 1s194ms 20 5 6s162ms 1s232ms 21 3 3s737ms 1s245ms 22 9 11s678ms 1s297ms 23 6 7s523ms 1s253ms Jan 13 00 4 5s264ms 1s316ms 01 5 6s641ms 1s328ms 02 3 3s821ms 1s273ms 03 4 4s927ms 1s231ms 04 1 1s233ms 1s233ms 05 4 5s164ms 1s291ms 06 7 8s795ms 1s256ms 07 5 6s224ms 1s244ms 08 9 10s898ms 1s210ms 09 1 1s316ms 1s316ms 10 11 13s479ms 1s225ms 11 5 6s247ms 1s249ms 12 1 1s265ms 1s265ms 13 7 8s664ms 1s237ms 14 3 3s679ms 1s226ms 15 6 7s64ms 1s177ms 16 2 2s485ms 1s242ms 17 6 7s352ms 1s225ms 18 4 4s945ms 1s236ms 19 4 4s815ms 1s203ms 20 1 1s148ms 1s148ms 22 1 2s297ms 2s297ms Jan 14 05 5 6s299ms 1s259ms 06 7 8s692ms 1s241ms 07 3 3s662ms 1s220ms 08 6 7s530ms 1s255ms 09 5 6s13ms 1s202ms 10 5 6s118ms 1s223ms 11 5 5s988ms 1s197ms 12 1 1s250ms 1s250ms 13 4 4s980ms 1s245ms 14 7 8s432ms 1s204ms 15 8 9s743ms 1s217ms 16 3 3s779ms 1s259ms 17 2 2s557ms 1s278ms 19 7 8s452ms 1s207ms 20 4 5s47ms 1s261ms 21 8 11s838ms 1s479ms 22 5 6s213ms 1s242ms 23 4 5s28ms 1s257ms Jan 15 05 4 5s134ms 1s283ms 06 5 6s202ms 1s240ms 07 13 15s932ms 1s225ms 08 4 8s31ms 2s7ms 09 3 3s865ms 1s288ms 10 2 2s528ms 1s264ms 11 3 3s657ms 1s219ms 15 5 6s210ms 1s242ms 16 3 3s638ms 1s212ms 17 1 1s129ms 1s129ms 18 12 14s636ms 1s219ms 19 2 2s439ms 1s219ms 20 7 8s534ms 1s219ms 21 4 4s716ms 1s179ms 22 7 9s597ms 1s371ms 23 6 7s596ms 1s266ms Jan 16 00 3 4s45ms 1s348ms 01 2 2s607ms 1s303ms 02 2 2s596ms 1s298ms 03 4 5s23ms 1s255ms 04 3 3s778ms 1s259ms 05 4 5s181ms 1s295ms 06 2 2s494ms 1s247ms 07 7 8s592ms 1s227ms 08 3 3s567ms 1s189ms 10 3 3s689ms 1s229ms 12 4 4s957ms 1s239ms 13 2 2s429ms 1s214ms 14 1 1s213ms 1s213ms 16 4 4s873ms 1s218ms 17 3 4s510ms 1s503ms 18 5 6s158ms 1s231ms 19 2 2s414ms 1s207ms 20 8 9s688ms 1s211ms 21 2 2s445ms 1s222ms 22 3 3s772ms 1s257ms 23 8 9s856ms 1s232ms Jan 17 00 4 5s14ms 1s253ms 01 6 7s485ms 1s247ms 02 8 10s8ms 1s251ms 03 1 1s265ms 1s265ms 04 5 6s182ms 1s236ms 05 4 4s985ms 1s246ms 06 10 12s31ms 1s203ms 07 6 7s198ms 1s199ms 08 1 1s169ms 1s169ms 09 8 9s787ms 1s223ms 10 6 7s322ms 1s220ms 11 4 4s710ms 1s177ms 13 3 3s550ms 1s183ms 14 5 5s990ms 1s198ms 15 8 9s558ms 1s194ms 16 5 6s88ms 1s217ms 17 4 4s689ms 1s172ms 18 7 8s527ms 1s218ms 19 11 12s759ms 1s159ms 20 5 5s962ms 1s192ms 21 3 3s634ms 1s211ms 22 2 2s417ms 1s208ms 23 7 8s606ms 1s229ms Jan 18 00 3 3s687ms 1s229ms 01 3 3s586ms 1s195ms 02 2 2s325ms 1s162ms 03 2 2s416ms 1s208ms 04 5 6s106ms 1s221ms 05 6 7s449ms 1s241ms 06 4 4s903ms 1s225ms 07 2 2s296ms 1s148ms 08 9 10s747ms 1s194ms 09 1 1s235ms 1s235ms 10 2 2s407ms 1s203ms 11 2 2s427ms 1s213ms 12 5 6s258ms 1s251ms 13 6 7s303ms 1s217ms 14 2 2s399ms 1s199ms 15 12 14s834ms 1s236ms 16 4 4s998ms 1s249ms 17 1 1s241ms 1s241ms 18 1 1s244ms 1s244ms 19 3 3s664ms 1s221ms 20 6 7s199ms 1s199ms 21 3 3s556ms 1s185ms 22 7 8s561ms 1s223ms 23 9 11s74ms 1s230ms [ User: pubeu - Total duration: 4m30s - Times executed: 219 ]
-
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 = '1246252') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1246252') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-15 08:01:10 Duration: 2s366ms 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 = '1256136') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1256136') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-15 08:05:14 Duration: 2s337ms 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 = '1222381') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1222381') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-13 22:37:50 Duration: 2s297ms Bind query: yes
17 14m10s 582 1s408ms 2s580ms 1s461ms 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 #17
Day Hour Count Duration Avg duration Jan 12 01 1 1s435ms 1s435ms 05 2 2s909ms 1s454ms 06 1 1s452ms 1s452ms 21 1 1s442ms 1s442ms Jan 13 01 1 1s453ms 1s453ms 05 2 2s892ms 1s446ms 09 2 2s984ms 1s492ms 13 1 1s493ms 1s493ms 20 1 1s454ms 1s454ms 22 6 8s799ms 1s466ms 23 2 3s292ms 1s646ms Jan 14 05 2 2s913ms 1s456ms 06 3 4s447ms 1s482ms 07 2 2s863ms 1s431ms 08 3 4s436ms 1s478ms 09 7 10s142ms 1s448ms 10 1 1s435ms 1s435ms 11 1 1s451ms 1s451ms 13 8 11s465ms 1s433ms 14 16 23s181ms 1s448ms 15 17 24s543ms 1s443ms 16 16 23s364ms 1s460ms 17 20 28s670ms 1s433ms 18 19 27s376ms 1s440ms 19 6 8s723ms 1s453ms 20 3 4s377ms 1s459ms 21 1 1s430ms 1s430ms 22 1 1s449ms 1s449ms 23 4 5s823ms 1s455ms Jan 15 00 1 1s452ms 1s452ms 05 8 11s598ms 1s449ms 06 13 18s739ms 1s441ms 07 13 18s854ms 1s450ms 08 12 17s390ms 1s449ms 09 9 13s156ms 1s461ms 10 9 12s992ms 1s443ms 11 13 18s803ms 1s446ms 12 11 16s84ms 1s462ms 13 9 13s343ms 1s482ms 14 11 16s 1s454ms 15 9 13s136ms 1s459ms 16 8 11s775ms 1s471ms 17 9 12s982ms 1s442ms 18 9 13s230ms 1s470ms 19 12 17s547ms 1s462ms 20 21 30s809ms 1s467ms 21 20 29s7ms 1s450ms 22 22 31s761ms 1s443ms 23 21 31s257ms 1s488ms Jan 16 00 23 33s423ms 1s453ms 01 22 31s864ms 1s448ms 02 21 30s332ms 1s444ms 03 7 14s936ms 2s133ms 04 16 23s368ms 1s460ms 05 20 28s932ms 1s446ms 06 13 18s642ms 1s434ms 07 15 21s584ms 1s438ms 08 17 24s664ms 1s450ms 09 8 11s632ms 1s454ms 10 9 12s943ms 1s438ms 11 1 1s448ms 1s448ms 12 1 1s555ms 1s555ms Jan 17 01 3 4s405ms 1s468ms 04 1 1s436ms 1s436ms 05 2 2s859ms 1s429ms 06 1 1s469ms 1s469ms 09 1 1s452ms 1s452ms Jan 18 00 3 4s313ms 1s437ms 05 3 4s334ms 1s444ms 11 3 4s331ms 1s443ms 20 1 1s513ms 1s513ms 21 1 1s442ms 1s442ms [ User: pubeu - Total duration: 3m30s - Times executed: 142 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-01-16 03:37:20 Duration: 2s580ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-01-16 03:37:21 Duration: 2s395ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-01-16 03:37:20 Duration: 2s386ms Database: ctdprd51 User: pubeu Bind query: yes
18 13m38s 124 1s5ms 17s933ms 6s598ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 13 05 1 1s62ms 1s62ms 13 1 1s291ms 1s291ms 17 1 1s6ms 1s6ms Jan 14 06 3 23s300ms 7s766ms 07 3 4s246ms 1s415ms 08 1 2s296ms 2s296ms 09 5 40s626ms 8s125ms 11 5 54s749ms 10s949ms 12 1 3s473ms 3s473ms 13 1 1s31ms 1s31ms 14 8 38s219ms 4s777ms 15 2 21s521ms 10s760ms 17 1 1s26ms 1s26ms 18 1 1s96ms 1s96ms 19 2 16s695ms 8s347ms 20 3 17s735ms 5s911ms 21 2 7s416ms 3s708ms 22 3 21s788ms 7s262ms 23 2 8s926ms 4s463ms Jan 15 05 4 31s142ms 7s785ms 06 1 15s667ms 15s667ms 07 1 1s148ms 1s148ms 11 6 26s607ms 4s434ms 13 4 38s191ms 9s547ms 14 1 2s390ms 2s390ms 15 1 1s974ms 1s974ms 16 3 28s536ms 9s512ms 17 2 7s186ms 3s593ms 18 4 9s381ms 2s345ms 19 4 31s907ms 7s976ms 20 3 19s247ms 6s415ms 21 4 29s433ms 7s358ms 22 2 22s19ms 11s9ms 23 3 36s487ms 12s162ms Jan 16 00 3 11s519ms 3s839ms 01 2 5s870ms 2s935ms 02 1 2s471ms 2s471ms 04 2 2s349ms 1s174ms 05 1 1s609ms 1s609ms 06 2 19s938ms 9s969ms 07 3 20s327ms 6s775ms 10 1 1s67ms 1s67ms 13 1 1s105ms 1s105ms 20 1 5s315ms 5s315ms Jan 17 05 1 1s111ms 1s111ms 06 1 2s454ms 2s454ms 16 1 1s58ms 1s58ms 18 1 1s119ms 1s119ms Jan 18 04 3 49s631ms 16s543ms 07 3 52s480ms 17s493ms 10 1 1s42ms 1s42ms 13 3 51s950ms 17s316ms 19 1 3s664ms 3s664ms 21 3 13s307ms 4s435ms [ User: pubeu - Total duration: 4m36s - Times executed: 37 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222378'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-18 13:31:55 Duration: 17s933ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222378'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-18 07:44:00 Duration: 17s773ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222378'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-18 07:44:00 Duration: 17s501ms Database: ctdprd51 User: pubeu Bind query: yes
19 11m39s 545 1s136ms 2s763ms 1s284ms 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 #19
Day Hour Count Duration Avg duration Jan 12 00 5 6s434ms 1s286ms 01 4 5s141ms 1s285ms 02 3 3s807ms 1s269ms 03 3 3s737ms 1s245ms 04 2 2s570ms 1s285ms 05 6 7s778ms 1s296ms 06 3 3s762ms 1s254ms 07 6 7s396ms 1s232ms 08 6 7s748ms 1s291ms 09 5 6s503ms 1s300ms 10 1 1s235ms 1s235ms 11 5 6s261ms 1s252ms 12 8 10s88ms 1s261ms 13 5 6s236ms 1s247ms 14 7 8s534ms 1s219ms 15 3 4s52ms 1s350ms 16 3 3s722ms 1s240ms 17 2 2s467ms 1s233ms 18 1 1s286ms 1s286ms 19 1 1s157ms 1s157ms 20 1 1s219ms 1s219ms 21 5 6s31ms 1s206ms 22 6 7s584ms 1s264ms 23 3 4s170ms 1s390ms Jan 13 00 4 5s217ms 1s304ms 01 1 1s279ms 1s279ms 02 7 9s446ms 1s349ms 03 9 11s733ms 1s303ms 04 8 10s442ms 1s305ms 05 11 14s925ms 1s356ms 06 5 6s244ms 1s248ms 07 4 5s88ms 1s272ms 08 8 10s127ms 1s265ms 09 2 2s587ms 1s293ms 10 10 12s748ms 1s274ms 11 2 2s661ms 1s330ms 12 7 8s700ms 1s242ms 13 4 5s69ms 1s267ms 14 4 5s51ms 1s262ms 15 5 6s220ms 1s244ms 16 6 7s337ms 1s222ms 17 4 5s487ms 1s371ms 18 8 9s932ms 1s241ms 19 6 7s391ms 1s231ms 20 9 11s697ms 1s299ms 22 2 4s118ms 2s59ms Jan 14 05 2 2s850ms 1s425ms 06 1 1s269ms 1s269ms 07 3 3s798ms 1s266ms 08 2 2s761ms 1s380ms 09 5 6s233ms 1s246ms 10 3 3s818ms 1s272ms 11 2 2s318ms 1s159ms 12 4 4s829ms 1s207ms 13 6 7s613ms 1s268ms 14 8 9s852ms 1s231ms 15 7 8s954ms 1s279ms 16 3 3s936ms 1s312ms 17 4 5s83ms 1s270ms 18 4 5s33ms 1s258ms 19 18 21s904ms 1s216ms 20 22 28s3ms 1s272ms 21 22 31s694ms 1s440ms 22 35 44s785ms 1s279ms 23 7 9s131ms 1s304ms Jan 15 05 5 6s426ms 1s285ms 06 2 2s588ms 1s294ms 07 2 2s407ms 1s203ms 08 3 3s724ms 1s241ms 09 2 2s706ms 1s353ms 10 1 1s153ms 1s153ms 11 1 1s168ms 1s168ms 13 2 2s523ms 1s261ms 14 1 1s255ms 1s255ms 16 1 1s237ms 1s237ms 17 1 1s265ms 1s265ms 18 2 2s745ms 1s372ms 19 5 6s129ms 1s225ms 20 4 4s963ms 1s240ms 21 1 1s343ms 1s343ms 22 3 4s25ms 1s341ms 23 2 2s601ms 1s300ms Jan 16 00 4 5s607ms 1s401ms 01 1 1s257ms 1s257ms 02 2 2s586ms 1s293ms 04 2 2s617ms 1s308ms 05 4 5s296ms 1s324ms 06 7 9s622ms 1s374ms 07 2 2s515ms 1s257ms 08 3 3s749ms 1s249ms 10 4 4s858ms 1s214ms 12 1 1s270ms 1s270ms 13 4 4s936ms 1s234ms 14 1 1s312ms 1s312ms 15 2 2s462ms 1s231ms 16 2 2s509ms 1s254ms 17 1 1s225ms 1s225ms 18 1 1s280ms 1s280ms 19 2 2s567ms 1s283ms 20 3 3s849ms 1s283ms 23 3 3s737ms 1s245ms Jan 17 01 1 1s273ms 1s273ms 02 2 2s467ms 1s233ms 03 2 3s995ms 1s997ms 05 6 8s168ms 1s361ms 06 3 3s614ms 1s204ms 07 3 3s593ms 1s197ms 08 3 3s649ms 1s216ms 09 2 2s609ms 1s304ms 10 4 4s784ms 1s196ms 12 1 1s282ms 1s282ms 13 1 1s263ms 1s263ms 14 2 2s477ms 1s238ms 15 2 2s542ms 1s271ms 16 3 4s613ms 1s537ms 17 2 2s477ms 1s238ms 18 3 3s593ms 1s197ms 19 2 2s425ms 1s212ms 20 3 3s586ms 1s195ms 21 2 2s326ms 1s163ms 23 1 1s192ms 1s192ms Jan 18 00 3 3s710ms 1s236ms 02 4 4s944ms 1s236ms 05 4 5s303ms 1s325ms 06 1 1s189ms 1s189ms 07 1 1s205ms 1s205ms 08 1 1s145ms 1s145ms 09 2 2s435ms 1s217ms 10 1 1s255ms 1s255ms 11 2 2s475ms 1s237ms 13 1 1s245ms 1s245ms 14 1 1s177ms 1s177ms 15 2 2s487ms 1s243ms 16 2 2s485ms 1s242ms 17 2 2s687ms 1s343ms 18 2 2s538ms 1s269ms 19 1 1s274ms 1s274ms 22 2 2s555ms 1s277ms [ User: pubeu - Total duration: 3m9s - Times executed: 148 ]
[ User: qaeu - Total duration: 7s58ms - Times executed: 5 ]
-
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 = '2090292') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2090292') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-17 03:44:20 Duration: 2s763ms 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 = '2081614') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2081614') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-13 22:37:55 Duration: 2s517ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2088169') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2088169') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-14 21:28:38 Duration: 2s374ms Bind query: yes
20 11m23s 1 11m23s 11m23s 11m23s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in (( select gcri.gene_id from dag_path pi inner join gene_chem_reference gcri on pi.descendant_object_id = gcri.chem_id inner join term ti on ti.id = pi.ancestor_object_id where upper(ti.nm) like ? and ti.object_type_id = ?) intersect ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ? union select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_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 = ?) intersect ( 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 gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jan 15 21 1 11m23s 11m23s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* GAIQH.getChemWhereEquals.Name */ gcri.gene_id FROM dag_path pi INNER JOIN gene_chem_reference gcri ON pi.descendant_object_id = gcri.chem_id INNER JOIN term ti ON ti.id = pi.ancestor_object_id WHERE UPPER(ti.nm) LIKE 'LYCORINE' AND ti.object_type_id = 2) INTERSECT ( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7) 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-264642' AND tp.pathway_acc_db_cd = 'REACT') INTERSECT ( SELECT /* GAIQH.getGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'ACHE') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'ALZHEIMER DISEASE' AND t.object_type_id = 3)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-15 21:06:55 Duration: 11m23s Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,824 35m6s 1s32ms 2s526ms 1s155ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 12 00 15 17s613ms 1s174ms 01 9 10s676ms 1s186ms 02 16 18s542ms 1s158ms 03 17 19s851ms 1s167ms 04 12 14s32ms 1s169ms 05 13 15s500ms 1s192ms 06 14 15s907ms 1s136ms 07 14 16s 1s142ms 08 1 1s177ms 1s177ms 09 11 12s639ms 1s149ms 10 7 7s881ms 1s125ms 11 7 8s55ms 1s150ms 12 15 17s201ms 1s146ms 13 19 21s417ms 1s127ms 14 8 8s904ms 1s113ms 15 6 6s832ms 1s138ms 16 4 4s547ms 1s136ms 17 21 23s989ms 1s142ms 18 11 12s381ms 1s125ms 19 17 19s128ms 1s125ms 20 14 15s581ms 1s112ms 21 7 8s15ms 1s145ms 22 13 16s210ms 1s246ms 23 11 12s926ms 1s175ms Jan 13 00 11 13s147ms 1s195ms 01 1 1s193ms 1s193ms 02 6 7s123ms 1s187ms 03 4 4s552ms 1s138ms 04 6 6s949ms 1s158ms 05 17 20s293ms 1s193ms 06 8 9s149ms 1s143ms 07 13 14s931ms 1s148ms 08 7 8s138ms 1s162ms 09 6 6s927ms 1s154ms 10 8 9s237ms 1s154ms 11 10 11s361ms 1s136ms 12 4 4s456ms 1s114ms 13 7 8s1ms 1s143ms 14 13 14s736ms 1s133ms 15 12 13s223ms 1s101ms 16 4 4s517ms 1s129ms 17 6 6s618ms 1s103ms 18 8 9s113ms 1s139ms 19 18 20s465ms 1s136ms 20 6 6s855ms 1s142ms 21 4 4s582ms 1s145ms 22 1 2s169ms 2s169ms Jan 14 05 10 11s481ms 1s148ms 06 18 20s224ms 1s123ms 07 24 27s634ms 1s151ms 08 16 18s218ms 1s138ms 09 22 24s907ms 1s132ms 10 24 27s388ms 1s141ms 11 27 30s711ms 1s137ms 12 12 14s724ms 1s227ms 13 26 30s9ms 1s154ms 14 38 43s42ms 1s132ms 15 42 47s419ms 1s129ms 16 25 29s850ms 1s194ms 17 33 38s307ms 1s160ms 18 40 44s658ms 1s116ms 19 20 22s736ms 1s136ms 20 20 22s757ms 1s137ms 21 23 29s154ms 1s267ms 22 22 25s631ms 1s165ms 23 26 30s313ms 1s165ms Jan 15 00 4 4s617ms 1s154ms 05 9 10s757ms 1s195ms 06 12 13s564ms 1s130ms 07 17 19s454ms 1s144ms 08 5 7s645ms 1s529ms 09 7 8s401ms 1s200ms 10 9 10s96ms 1s121ms 11 21 23s865ms 1s136ms 12 19 21s576ms 1s135ms 13 15 17s315ms 1s154ms 14 15 17s43ms 1s136ms 15 10 11s416ms 1s141ms 16 15 17s440ms 1s162ms 17 22 24s622ms 1s119ms 18 19 21s358ms 1s124ms 19 18 20s437ms 1s135ms 20 27 30s618ms 1s134ms 21 14 15s778ms 1s127ms 22 19 22s257ms 1s171ms 23 29 34s358ms 1s184ms Jan 16 00 12 14s612ms 1s217ms 01 18 21s88ms 1s171ms 02 17 20s145ms 1s185ms 03 17 20s925ms 1s230ms 04 17 20s5ms 1s176ms 05 17 20s455ms 1s203ms 06 12 13s967ms 1s163ms 07 9 10s279ms 1s142ms 08 11 12s546ms 1s140ms 09 5 5s706ms 1s141ms 10 8 9s40ms 1s130ms 12 10 11s440ms 1s144ms 13 4 4s584ms 1s146ms 14 5 5s607ms 1s121ms 15 3 3s338ms 1s112ms 16 3 3s399ms 1s133ms 17 1 1s102ms 1s102ms 18 2 2s282ms 1s141ms 19 2 2s241ms 1s120ms 20 6 6s738ms 1s123ms 21 6 6s756ms 1s126ms 22 6 6s799ms 1s133ms 23 12 13s767ms 1s147ms Jan 17 00 7 8s151ms 1s164ms 01 7 8s45ms 1s149ms 02 9 10s345ms 1s149ms 03 6 6s849ms 1s141ms 04 6 6s861ms 1s143ms 05 7 8s41ms 1s148ms 06 9 10s108ms 1s123ms 07 16 18s81ms 1s130ms 08 11 12s296ms 1s117ms 09 10 11s454ms 1s145ms 10 10 11s157ms 1s115ms 11 1 1s65ms 1s65ms 12 6 6s726ms 1s121ms 13 13 14s622ms 1s124ms 14 5 5s498ms 1s99ms 15 7 7s851ms 1s121ms 16 9 13s79ms 1s453ms 17 7 7s815ms 1s116ms 18 6 6s610ms 1s101ms 19 5 5s532ms 1s106ms 20 18 20s671ms 1s148ms 21 9 10s94ms 1s121ms 22 4 4s488ms 1s122ms 23 7 8s171ms 1s167ms Jan 18 00 8 9s153ms 1s144ms 01 9 10s260ms 1s140ms 02 13 14s730ms 1s133ms 03 17 19s366ms 1s139ms 04 6 7s790ms 1s298ms 05 15 17s563ms 1s170ms 06 5 7s342ms 1s468ms 07 7 7s900ms 1s128ms 08 5 5s551ms 1s110ms 09 8 8s879ms 1s109ms 10 4 4s514ms 1s128ms 11 5 5s815ms 1s163ms 12 9 10s407ms 1s156ms 13 14 19s308ms 1s379ms 14 5 5s780ms 1s156ms 15 6 6s732ms 1s122ms 16 7 7s963ms 1s137ms 17 3 3s420ms 1s140ms 18 2 2s244ms 1s122ms 19 9 9s844ms 1s93ms 20 12 13s422ms 1s118ms 21 9 10s8ms 1s112ms 22 6 6s892ms 1s148ms 23 6 6s808ms 1s134ms [ User: pubeu - Total duration: 9m43s - Times executed: 505 ]
[ User: qaeu - Total duration: 2s604ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2059108' or receptorTerm.id = '2059108' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-18 13:34:00 Duration: 2s526ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2034363' or receptorTerm.id = '2034363' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-14 12:47:15 Duration: 2s221ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1660468' or receptorTerm.id = '1660468' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-15 08:01:13 Duration: 2s192ms Bind query: yes
2 1,391 1h9m58s 1s1ms 6s857ms 3s18ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 12 00 5 13s416ms 2s683ms 01 10 27s625ms 2s762ms 02 10 27s414ms 2s741ms 03 11 36s411ms 3s310ms 04 4 15s920ms 3s980ms 05 12 29s842ms 2s486ms 06 6 13s379ms 2s229ms 07 9 24s301ms 2s700ms 08 9 25s105ms 2s789ms 09 16 40s274ms 2s517ms 10 9 29s482ms 3s275ms 11 5 12s638ms 2s527ms 12 4 11s339ms 2s834ms 13 6 16s377ms 2s729ms 14 3 10s928ms 3s642ms 15 6 19s96ms 3s182ms 16 10 32s823ms 3s282ms 17 5 15s301ms 3s60ms 18 6 13s893ms 2s315ms 19 6 12s660ms 2s110ms 20 7 16s887ms 2s412ms 21 4 12s157ms 3s39ms 22 9 26s262ms 2s918ms 23 13 35s695ms 2s745ms Jan 13 00 4 7s505ms 1s876ms 01 4 12s916ms 3s229ms 02 11 33s302ms 3s27ms 03 10 25s325ms 2s532ms 04 9 19s900ms 2s211ms 05 9 31s833ms 3s537ms 06 6 25s38ms 4s173ms 07 3 5s138ms 1s712ms 08 17 1m2s 3s665ms 09 14 34s731ms 2s480ms 10 13 38s818ms 2s986ms 11 13 40s488ms 3s114ms 12 10 23s828ms 2s382ms 13 10 29s526ms 2s952ms 14 7 14s34ms 2s4ms 15 12 34s901ms 2s908ms 16 9 35s 3s888ms 17 6 23s87ms 3s847ms 18 13 42s539ms 3s272ms 19 13 31s639ms 2s433ms 20 8 23s706ms 2s963ms 21 2 5s144ms 2s572ms 22 6 16s87ms 2s681ms Jan 14 05 4 14s218ms 3s554ms 06 20 1m3s 3s190ms 07 20 1m4s 3s210ms 08 17 1m2s 3s694ms 09 17 37s987ms 2s234ms 10 31 1m24s 2s716ms 11 13 37s888ms 2s914ms 12 2 9s489ms 4s744ms 13 15 53s621ms 3s574ms 14 24 1m15s 3s156ms 15 25 1m17s 3s113ms 16 21 1m31s 4s355ms 17 33 1m55s 3s510ms 18 29 1m19s 2s739ms 19 24 1m9s 2s897ms 20 16 49s206ms 3s75ms 21 23 1m1s 2s688ms 22 19 53s901ms 2s836ms 23 78 3m47s 2s914ms Jan 15 00 6 15s828ms 2s638ms 05 6 13s561ms 2s260ms 06 13 43s523ms 3s347ms 07 14 39s787ms 2s841ms 08 5 15s729ms 3s145ms 09 2 8s517ms 4s258ms 10 23 1m7s 2s913ms 11 32 1m29s 2s796ms 12 21 1m7s 3s195ms 13 20 59s665ms 2s983ms 14 20 50s661ms 2s533ms 15 28 1m39s 3s564ms 16 20 1m3s 3s187ms 17 26 1m11s 2s760ms 18 14 36s847ms 2s631ms 19 19 1m7s 3s576ms 20 22 1m12s 3s299ms 21 29 1m25s 2s965ms 22 16 49s850ms 3s115ms 23 17 48s684ms 2s863ms Jan 16 00 16 58s801ms 3s675ms 01 27 1m15s 2s792ms 02 15 41s407ms 2s760ms 03 6 18s778ms 3s129ms 04 26 1m9s 2s672ms 05 19 1m1s 3s249ms 06 8 28s503ms 3s562ms 07 12 31s866ms 2s655ms 08 9 25s344ms 2s816ms 09 6 18s388ms 3s64ms 10 6 16s392ms 2s732ms 11 6 14s627ms 2s437ms 12 9 24s331ms 2s703ms 13 6 26s494ms 4s415ms 14 1 6s68ms 6s68ms 15 2 4s320ms 2s160ms 17 1 3s909ms 3s909ms Jan 17 04 1 2s871ms 2s871ms 07 1 6s204ms 6s204ms 09 6 16s260ms 2s710ms 17 3 6s494ms 2s164ms 19 3 18s364ms 6s121ms Jan 18 02 3 18s919ms 6s306ms 03 2 6s470ms 3s235ms 04 2 2s904ms 1s452ms 05 1 6s213ms 6s213ms 06 3 14s931ms 4s977ms 08 2 2s333ms 1s166ms 10 1 2s31ms 2s31ms 12 6 15s921ms 2s653ms 13 2 12s274ms 6s137ms 14 1 2s929ms 2s929ms 16 1 3s378ms 3s378ms [ User: pubeu - Total duration: 18m55s - Times executed: 381 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399640'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-14 08:38:03 Duration: 6s857ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399640'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-14 07:07:45 Duration: 6s833ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399640'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-12 04:32:02 Duration: 6s773ms Bind query: yes
3 1,137 51m21s 1s 6s924ms 2s710ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 12 00 4 13s674ms 3s418ms 01 1 3s273ms 3s273ms 02 9 29s95ms 3s232ms 03 4 9s459ms 2s364ms 04 10 32s544ms 3s254ms 05 6 14s219ms 2s369ms 06 6 19s844ms 3s307ms 07 2 5s885ms 2s942ms 08 5 15s469ms 3s93ms 09 4 8s620ms 2s155ms 10 7 22s364ms 3s194ms 11 8 25s825ms 3s228ms 12 2 3s47ms 1s523ms 13 9 24s614ms 2s734ms 14 5 15s799ms 3s159ms 15 6 13s310ms 2s218ms 17 7 21s69ms 3s9ms 18 3 10s154ms 3s384ms 19 8 14s920ms 1s865ms 20 6 18s421ms 3s70ms 21 4 11s806ms 2s951ms 22 3 11s795ms 3s931ms 23 8 19s218ms 2s402ms Jan 13 00 4 12s917ms 3s229ms 01 6 18s718ms 3s119ms 02 8 25s269ms 3s158ms 03 9 22s890ms 2s543ms 04 2 8s998ms 4s499ms 05 4 15s232ms 3s808ms 06 7 23s283ms 3s326ms 07 11 32s482ms 2s952ms 08 15 48s400ms 3s226ms 09 11 37s321ms 3s392ms 10 5 13s977ms 2s795ms 11 9 23s86ms 2s565ms 12 3 8s157ms 2s719ms 13 6 15s390ms 2s565ms 14 9 27s732ms 3s81ms 15 10 30s361ms 3s36ms 16 5 10s140ms 2s28ms 17 4 11s396ms 2s849ms 18 6 15s861ms 2s643ms 19 8 21s845ms 2s730ms 20 13 38s819ms 2s986ms 21 1 4s443ms 4s443ms 22 3 6s870ms 2s290ms Jan 14 05 3 7s553ms 2s517ms 06 15 46s30ms 3s68ms 07 14 34s232ms 2s445ms 08 7 20s49ms 2s864ms 09 20 49s46ms 2s452ms 10 21 1m4s 3s77ms 11 18 50s599ms 2s811ms 12 6 16s789ms 2s798ms 13 10 35s58ms 3s505ms 14 16 42s688ms 2s668ms 15 24 1m 2s528ms 16 21 47s867ms 2s279ms 17 36 1m26s 2s409ms 18 26 1m 2s308ms 19 23 1m7s 2s920ms 20 24 55s924ms 2s330ms 21 21 1m2s 2s959ms 22 27 1m5s 2s433ms 23 74 3m16s 2s648ms Jan 15 00 8 15s251ms 1s906ms 05 6 17s631ms 2s938ms 06 9 16s857ms 1s873ms 07 10 25s143ms 2s514ms 08 2 2s288ms 1s144ms 09 2 4s807ms 2s403ms 10 11 30s285ms 2s753ms 11 15 34s245ms 2s283ms 12 20 47s217ms 2s360ms 13 11 22s583ms 2s53ms 14 11 24s886ms 2s262ms 15 15 46s910ms 3s127ms 16 7 17s327ms 2s475ms 17 25 1m1s 2s478ms 18 25 1m9s 2s795ms 19 16 43s330ms 2s708ms 20 17 46s211ms 2s718ms 21 22 1m 2s771ms 22 24 1m5s 2s714ms 23 19 54s441ms 2s865ms Jan 16 00 21 57s316ms 2s729ms 01 13 29s467ms 2s266ms 02 15 46s271ms 3s84ms 03 8 18s384ms 2s298ms 04 21 1m3s 3s14ms 05 13 30s455ms 2s342ms 06 6 20s600ms 3s433ms 07 10 28s171ms 2s817ms 08 4 11s478ms 2s869ms 09 2 7s435ms 3s717ms 10 7 21s95ms 3s13ms 11 1 2s590ms 2s590ms 12 4 8s248ms 2s62ms 13 3 6s556ms 2s185ms 14 1 3s181ms 3s181ms 17 2 4s639ms 2s319ms Jan 17 06 1 3s274ms 3s274ms 09 10 23s953ms 2s395ms 11 2 5s106ms 2s553ms 15 3 10s279ms 3s426ms 16 3 13s646ms 4s548ms 17 1 1s76ms 1s76ms 20 1 3s61ms 3s61ms Jan 18 01 1 1s450ms 1s450ms 09 1 1s131ms 1s131ms 10 1 4s673ms 4s673ms 12 10 23s669ms 2s366ms 13 2 10s740ms 5s370ms 19 1 1s19ms 1s19ms 21 2 5s309ms 2s654ms [ User: pubeu - Total duration: 13m55s - Times executed: 306 ]
-
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 = '1399640') 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 = '1399640') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-01-14 21:31:34 Duration: 6s924ms 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 = '1399640') 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 = '1399640') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-01-18 13:31:46 Duration: 5s782ms 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 = '1399640') 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 = '1399640') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-01-15 21:03:17 Duration: 5s276ms Bind query: yes
4 839 54m52s 1s2ms 18s520ms 3s924ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 12 00 6 17s871ms 2s978ms 01 3 12s935ms 4s311ms 02 8 15s22ms 1s877ms 03 5 25s847ms 5s169ms 04 2 7s730ms 3s865ms 05 1 3s713ms 3s713ms 06 5 21s417ms 4s283ms 07 4 12s641ms 3s160ms 08 4 26s376ms 6s594ms 09 8 35s183ms 4s397ms 10 3 20s789ms 6s929ms 11 3 18s535ms 6s178ms 12 2 7s150ms 3s575ms 13 2 7s464ms 3s732ms 14 7 26s722ms 3s817ms 15 2 6s351ms 3s175ms 16 4 19s716ms 4s929ms 17 4 21s622ms 5s405ms 18 3 16s867ms 5s622ms 19 5 9s189ms 1s837ms 20 1 2s676ms 2s676ms 21 4 14s222ms 3s555ms 22 4 14s416ms 3s604ms 23 5 8s242ms 1s648ms Jan 13 00 1 5s255ms 5s255ms 01 3 14s504ms 4s834ms 02 4 14s717ms 3s679ms 03 7 31s766ms 4s538ms 04 5 16s23ms 3s204ms 05 3 10s342ms 3s447ms 06 5 13s567ms 2s713ms 07 8 17s222ms 2s152ms 08 5 14s444ms 2s888ms 09 2 9s367ms 4s683ms 10 6 34s780ms 5s796ms 11 10 32s789ms 3s278ms 12 2 10s151ms 5s75ms 13 5 21s74ms 4s214ms 14 4 19s259ms 4s814ms 15 4 21s519ms 5s379ms 16 7 31s817ms 4s545ms 17 8 31s903ms 3s987ms 18 7 20s463ms 2s923ms 19 3 23s933ms 7s977ms 20 10 28s383ms 2s838ms 21 1 10s384ms 10s384ms 22 2 11s369ms 5s684ms Jan 14 05 1 2s795ms 2s795ms 06 3 6s788ms 2s262ms 07 1 2s534ms 2s534ms 08 8 26s969ms 3s371ms 09 5 20s244ms 4s48ms 10 5 25s293ms 5s58ms 11 4 24s844ms 6s211ms 12 6 38s525ms 6s420ms 13 5 23s128ms 4s625ms 14 4 8s829ms 2s207ms 15 7 27s791ms 3s970ms 16 9 1m4s 7s137ms 17 5 12s789ms 2s557ms 18 3 4s391ms 1s463ms 19 57 3m7s 3s283ms 20 72 3m49s 3s191ms 21 97 6m15s 3s868ms 22 85 5m44s 4s54ms 23 2 9s98ms 4s549ms Jan 15 00 2 4s418ms 2s209ms 06 13 1m7s 5s207ms 07 8 23s684ms 2s960ms 08 1 2s162ms 2s162ms 09 5 16s411ms 3s282ms 10 1 1s310ms 1s310ms 11 1 5s495ms 5s495ms 12 5 30s874ms 6s174ms 13 5 16s143ms 3s228ms 14 7 16s79ms 2s297ms 15 5 21s333ms 4s266ms 16 2 5s83ms 2s541ms 17 2 7s414ms 3s707ms 18 2 9s117ms 4s558ms 19 6 20s251ms 3s375ms 20 4 13s821ms 3s455ms 21 3 15s368ms 5s122ms 22 6 18s409ms 3s68ms 23 2 2s431ms 1s215ms Jan 16 00 4 11s456ms 2s864ms 01 4 16s211ms 4s52ms 02 4 19s20ms 4s755ms 03 1 2s907ms 2s907ms 04 3 18s45ms 6s15ms 05 5 17s115ms 3s423ms 06 4 16s753ms 4s188ms 07 10 1m26s 8s676ms 08 1 1s2ms 1s2ms 09 1 4s688ms 4s688ms 10 1 5s305ms 5s305ms 11 3 16s78ms 5s359ms 12 4 9s415ms 2s353ms 13 1 1s323ms 1s323ms 14 4 36s131ms 9s32ms 15 3 21s823ms 7s274ms 17 5 20s61ms 4s12ms 18 2 9s156ms 4s578ms 19 1 1s28ms 1s28ms 20 1 10s62ms 10s62ms 22 8 26s299ms 3s287ms 23 2 4s302ms 2s151ms Jan 17 00 3 12s868ms 4s289ms 02 5 16s379ms 3s275ms 04 2 2s607ms 1s303ms 05 4 17s569ms 4s392ms 06 3 9s369ms 3s123ms 07 3 6s437ms 2s145ms 08 13 45s685ms 3s514ms 09 3 6s514ms 2s171ms 10 1 5s391ms 5s391ms 11 2 6s621ms 3s310ms 12 1 1s235ms 1s235ms 13 3 14s240ms 4s746ms 14 6 19s631ms 3s271ms 15 1 1s132ms 1s132ms 17 3 23s786ms 7s928ms 18 2 6s390ms 3s195ms 19 4 14s727ms 3s681ms 20 3 19s970ms 6s656ms 21 4 10s598ms 2s649ms Jan 18 02 1 2s774ms 2s774ms 05 3 20s124ms 6s708ms 06 9 41s986ms 4s665ms 08 6 25s550ms 4s258ms 09 1 1s812ms 1s812ms 11 1 2s771ms 2s771ms 12 4 15s649ms 3s912ms 14 3 3s745ms 1s248ms 15 1 1s129ms 1s129ms 16 2 11s713ms 5s856ms 17 1 2s785ms 2s785ms 18 1 5s124ms 5s124ms 20 1 10s82ms 10s82ms 23 1 1s53ms 1s53ms [ User: pubeu - Total duration: 13m14s - Times executed: 200 ]
-
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 = '2079972') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-01-14 12:48:56 Duration: 18s520ms 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 = '2090292') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-01-14 21:12:21 Duration: 12s874ms 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 = '2090292') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-01-14 16:01:22 Duration: 12s705ms Bind query: yes
5 689 14m16s 1s107ms 2s366ms 1s242ms 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 #5
Day Hour Count Duration Avg duration Jan 12 00 4 5s291ms 1s322ms 01 9 11s226ms 1s247ms 02 4 4s971ms 1s242ms 03 9 11s331ms 1s259ms 04 6 7s602ms 1s267ms 05 11 13s896ms 1s263ms 06 3 3s740ms 1s246ms 07 6 7s398ms 1s233ms 08 4 4s987ms 1s246ms 09 3 3s779ms 1s259ms 10 5 6s243ms 1s248ms 11 2 2s499ms 1s249ms 12 7 8s678ms 1s239ms 13 5 5s992ms 1s198ms 14 5 6s121ms 1s224ms 15 3 3s651ms 1s217ms 16 4 4s852ms 1s213ms 17 6 7s225ms 1s204ms 18 4 4s872ms 1s218ms 19 4 4s779ms 1s194ms 20 5 6s162ms 1s232ms 21 3 3s737ms 1s245ms 22 9 11s678ms 1s297ms 23 6 7s523ms 1s253ms Jan 13 00 4 5s264ms 1s316ms 01 5 6s641ms 1s328ms 02 3 3s821ms 1s273ms 03 4 4s927ms 1s231ms 04 1 1s233ms 1s233ms 05 4 5s164ms 1s291ms 06 7 8s795ms 1s256ms 07 5 6s224ms 1s244ms 08 9 10s898ms 1s210ms 09 1 1s316ms 1s316ms 10 11 13s479ms 1s225ms 11 5 6s247ms 1s249ms 12 1 1s265ms 1s265ms 13 7 8s664ms 1s237ms 14 3 3s679ms 1s226ms 15 6 7s64ms 1s177ms 16 2 2s485ms 1s242ms 17 6 7s352ms 1s225ms 18 4 4s945ms 1s236ms 19 4 4s815ms 1s203ms 20 1 1s148ms 1s148ms 22 1 2s297ms 2s297ms Jan 14 05 5 6s299ms 1s259ms 06 7 8s692ms 1s241ms 07 3 3s662ms 1s220ms 08 6 7s530ms 1s255ms 09 5 6s13ms 1s202ms 10 5 6s118ms 1s223ms 11 5 5s988ms 1s197ms 12 1 1s250ms 1s250ms 13 4 4s980ms 1s245ms 14 7 8s432ms 1s204ms 15 8 9s743ms 1s217ms 16 3 3s779ms 1s259ms 17 2 2s557ms 1s278ms 19 7 8s452ms 1s207ms 20 4 5s47ms 1s261ms 21 8 11s838ms 1s479ms 22 5 6s213ms 1s242ms 23 4 5s28ms 1s257ms Jan 15 05 4 5s134ms 1s283ms 06 5 6s202ms 1s240ms 07 13 15s932ms 1s225ms 08 4 8s31ms 2s7ms 09 3 3s865ms 1s288ms 10 2 2s528ms 1s264ms 11 3 3s657ms 1s219ms 15 5 6s210ms 1s242ms 16 3 3s638ms 1s212ms 17 1 1s129ms 1s129ms 18 12 14s636ms 1s219ms 19 2 2s439ms 1s219ms 20 7 8s534ms 1s219ms 21 4 4s716ms 1s179ms 22 7 9s597ms 1s371ms 23 6 7s596ms 1s266ms Jan 16 00 3 4s45ms 1s348ms 01 2 2s607ms 1s303ms 02 2 2s596ms 1s298ms 03 4 5s23ms 1s255ms 04 3 3s778ms 1s259ms 05 4 5s181ms 1s295ms 06 2 2s494ms 1s247ms 07 7 8s592ms 1s227ms 08 3 3s567ms 1s189ms 10 3 3s689ms 1s229ms 12 4 4s957ms 1s239ms 13 2 2s429ms 1s214ms 14 1 1s213ms 1s213ms 16 4 4s873ms 1s218ms 17 3 4s510ms 1s503ms 18 5 6s158ms 1s231ms 19 2 2s414ms 1s207ms 20 8 9s688ms 1s211ms 21 2 2s445ms 1s222ms 22 3 3s772ms 1s257ms 23 8 9s856ms 1s232ms Jan 17 00 4 5s14ms 1s253ms 01 6 7s485ms 1s247ms 02 8 10s8ms 1s251ms 03 1 1s265ms 1s265ms 04 5 6s182ms 1s236ms 05 4 4s985ms 1s246ms 06 10 12s31ms 1s203ms 07 6 7s198ms 1s199ms 08 1 1s169ms 1s169ms 09 8 9s787ms 1s223ms 10 6 7s322ms 1s220ms 11 4 4s710ms 1s177ms 13 3 3s550ms 1s183ms 14 5 5s990ms 1s198ms 15 8 9s558ms 1s194ms 16 5 6s88ms 1s217ms 17 4 4s689ms 1s172ms 18 7 8s527ms 1s218ms 19 11 12s759ms 1s159ms 20 5 5s962ms 1s192ms 21 3 3s634ms 1s211ms 22 2 2s417ms 1s208ms 23 7 8s606ms 1s229ms Jan 18 00 3 3s687ms 1s229ms 01 3 3s586ms 1s195ms 02 2 2s325ms 1s162ms 03 2 2s416ms 1s208ms 04 5 6s106ms 1s221ms 05 6 7s449ms 1s241ms 06 4 4s903ms 1s225ms 07 2 2s296ms 1s148ms 08 9 10s747ms 1s194ms 09 1 1s235ms 1s235ms 10 2 2s407ms 1s203ms 11 2 2s427ms 1s213ms 12 5 6s258ms 1s251ms 13 6 7s303ms 1s217ms 14 2 2s399ms 1s199ms 15 12 14s834ms 1s236ms 16 4 4s998ms 1s249ms 17 1 1s241ms 1s241ms 18 1 1s244ms 1s244ms 19 3 3s664ms 1s221ms 20 6 7s199ms 1s199ms 21 3 3s556ms 1s185ms 22 7 8s561ms 1s223ms 23 9 11s74ms 1s230ms [ User: pubeu - Total duration: 4m30s - Times executed: 219 ]
-
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 = '1246252') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1246252') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-15 08:01:10 Duration: 2s366ms 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 = '1256136') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1256136') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-15 08:05:14 Duration: 2s337ms 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 = '1222381') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1222381') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-13 22:37:50 Duration: 2s297ms Bind query: yes
6 582 14m10s 1s408ms 2s580ms 1s461ms 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 #6
Day Hour Count Duration Avg duration Jan 12 01 1 1s435ms 1s435ms 05 2 2s909ms 1s454ms 06 1 1s452ms 1s452ms 21 1 1s442ms 1s442ms Jan 13 01 1 1s453ms 1s453ms 05 2 2s892ms 1s446ms 09 2 2s984ms 1s492ms 13 1 1s493ms 1s493ms 20 1 1s454ms 1s454ms 22 6 8s799ms 1s466ms 23 2 3s292ms 1s646ms Jan 14 05 2 2s913ms 1s456ms 06 3 4s447ms 1s482ms 07 2 2s863ms 1s431ms 08 3 4s436ms 1s478ms 09 7 10s142ms 1s448ms 10 1 1s435ms 1s435ms 11 1 1s451ms 1s451ms 13 8 11s465ms 1s433ms 14 16 23s181ms 1s448ms 15 17 24s543ms 1s443ms 16 16 23s364ms 1s460ms 17 20 28s670ms 1s433ms 18 19 27s376ms 1s440ms 19 6 8s723ms 1s453ms 20 3 4s377ms 1s459ms 21 1 1s430ms 1s430ms 22 1 1s449ms 1s449ms 23 4 5s823ms 1s455ms Jan 15 00 1 1s452ms 1s452ms 05 8 11s598ms 1s449ms 06 13 18s739ms 1s441ms 07 13 18s854ms 1s450ms 08 12 17s390ms 1s449ms 09 9 13s156ms 1s461ms 10 9 12s992ms 1s443ms 11 13 18s803ms 1s446ms 12 11 16s84ms 1s462ms 13 9 13s343ms 1s482ms 14 11 16s 1s454ms 15 9 13s136ms 1s459ms 16 8 11s775ms 1s471ms 17 9 12s982ms 1s442ms 18 9 13s230ms 1s470ms 19 12 17s547ms 1s462ms 20 21 30s809ms 1s467ms 21 20 29s7ms 1s450ms 22 22 31s761ms 1s443ms 23 21 31s257ms 1s488ms Jan 16 00 23 33s423ms 1s453ms 01 22 31s864ms 1s448ms 02 21 30s332ms 1s444ms 03 7 14s936ms 2s133ms 04 16 23s368ms 1s460ms 05 20 28s932ms 1s446ms 06 13 18s642ms 1s434ms 07 15 21s584ms 1s438ms 08 17 24s664ms 1s450ms 09 8 11s632ms 1s454ms 10 9 12s943ms 1s438ms 11 1 1s448ms 1s448ms 12 1 1s555ms 1s555ms Jan 17 01 3 4s405ms 1s468ms 04 1 1s436ms 1s436ms 05 2 2s859ms 1s429ms 06 1 1s469ms 1s469ms 09 1 1s452ms 1s452ms Jan 18 00 3 4s313ms 1s437ms 05 3 4s334ms 1s444ms 11 3 4s331ms 1s443ms 20 1 1s513ms 1s513ms 21 1 1s442ms 1s442ms [ User: pubeu - Total duration: 3m30s - Times executed: 142 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-01-16 03:37:20 Duration: 2s580ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-01-16 03:37:21 Duration: 2s395ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-01-16 03:37:20 Duration: 2s386ms Database: ctdprd51 User: pubeu Bind query: yes
7 545 11m39s 1s136ms 2s763ms 1s284ms 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 #7
Day Hour Count Duration Avg duration Jan 12 00 5 6s434ms 1s286ms 01 4 5s141ms 1s285ms 02 3 3s807ms 1s269ms 03 3 3s737ms 1s245ms 04 2 2s570ms 1s285ms 05 6 7s778ms 1s296ms 06 3 3s762ms 1s254ms 07 6 7s396ms 1s232ms 08 6 7s748ms 1s291ms 09 5 6s503ms 1s300ms 10 1 1s235ms 1s235ms 11 5 6s261ms 1s252ms 12 8 10s88ms 1s261ms 13 5 6s236ms 1s247ms 14 7 8s534ms 1s219ms 15 3 4s52ms 1s350ms 16 3 3s722ms 1s240ms 17 2 2s467ms 1s233ms 18 1 1s286ms 1s286ms 19 1 1s157ms 1s157ms 20 1 1s219ms 1s219ms 21 5 6s31ms 1s206ms 22 6 7s584ms 1s264ms 23 3 4s170ms 1s390ms Jan 13 00 4 5s217ms 1s304ms 01 1 1s279ms 1s279ms 02 7 9s446ms 1s349ms 03 9 11s733ms 1s303ms 04 8 10s442ms 1s305ms 05 11 14s925ms 1s356ms 06 5 6s244ms 1s248ms 07 4 5s88ms 1s272ms 08 8 10s127ms 1s265ms 09 2 2s587ms 1s293ms 10 10 12s748ms 1s274ms 11 2 2s661ms 1s330ms 12 7 8s700ms 1s242ms 13 4 5s69ms 1s267ms 14 4 5s51ms 1s262ms 15 5 6s220ms 1s244ms 16 6 7s337ms 1s222ms 17 4 5s487ms 1s371ms 18 8 9s932ms 1s241ms 19 6 7s391ms 1s231ms 20 9 11s697ms 1s299ms 22 2 4s118ms 2s59ms Jan 14 05 2 2s850ms 1s425ms 06 1 1s269ms 1s269ms 07 3 3s798ms 1s266ms 08 2 2s761ms 1s380ms 09 5 6s233ms 1s246ms 10 3 3s818ms 1s272ms 11 2 2s318ms 1s159ms 12 4 4s829ms 1s207ms 13 6 7s613ms 1s268ms 14 8 9s852ms 1s231ms 15 7 8s954ms 1s279ms 16 3 3s936ms 1s312ms 17 4 5s83ms 1s270ms 18 4 5s33ms 1s258ms 19 18 21s904ms 1s216ms 20 22 28s3ms 1s272ms 21 22 31s694ms 1s440ms 22 35 44s785ms 1s279ms 23 7 9s131ms 1s304ms Jan 15 05 5 6s426ms 1s285ms 06 2 2s588ms 1s294ms 07 2 2s407ms 1s203ms 08 3 3s724ms 1s241ms 09 2 2s706ms 1s353ms 10 1 1s153ms 1s153ms 11 1 1s168ms 1s168ms 13 2 2s523ms 1s261ms 14 1 1s255ms 1s255ms 16 1 1s237ms 1s237ms 17 1 1s265ms 1s265ms 18 2 2s745ms 1s372ms 19 5 6s129ms 1s225ms 20 4 4s963ms 1s240ms 21 1 1s343ms 1s343ms 22 3 4s25ms 1s341ms 23 2 2s601ms 1s300ms Jan 16 00 4 5s607ms 1s401ms 01 1 1s257ms 1s257ms 02 2 2s586ms 1s293ms 04 2 2s617ms 1s308ms 05 4 5s296ms 1s324ms 06 7 9s622ms 1s374ms 07 2 2s515ms 1s257ms 08 3 3s749ms 1s249ms 10 4 4s858ms 1s214ms 12 1 1s270ms 1s270ms 13 4 4s936ms 1s234ms 14 1 1s312ms 1s312ms 15 2 2s462ms 1s231ms 16 2 2s509ms 1s254ms 17 1 1s225ms 1s225ms 18 1 1s280ms 1s280ms 19 2 2s567ms 1s283ms 20 3 3s849ms 1s283ms 23 3 3s737ms 1s245ms Jan 17 01 1 1s273ms 1s273ms 02 2 2s467ms 1s233ms 03 2 3s995ms 1s997ms 05 6 8s168ms 1s361ms 06 3 3s614ms 1s204ms 07 3 3s593ms 1s197ms 08 3 3s649ms 1s216ms 09 2 2s609ms 1s304ms 10 4 4s784ms 1s196ms 12 1 1s282ms 1s282ms 13 1 1s263ms 1s263ms 14 2 2s477ms 1s238ms 15 2 2s542ms 1s271ms 16 3 4s613ms 1s537ms 17 2 2s477ms 1s238ms 18 3 3s593ms 1s197ms 19 2 2s425ms 1s212ms 20 3 3s586ms 1s195ms 21 2 2s326ms 1s163ms 23 1 1s192ms 1s192ms Jan 18 00 3 3s710ms 1s236ms 02 4 4s944ms 1s236ms 05 4 5s303ms 1s325ms 06 1 1s189ms 1s189ms 07 1 1s205ms 1s205ms 08 1 1s145ms 1s145ms 09 2 2s435ms 1s217ms 10 1 1s255ms 1s255ms 11 2 2s475ms 1s237ms 13 1 1s245ms 1s245ms 14 1 1s177ms 1s177ms 15 2 2s487ms 1s243ms 16 2 2s485ms 1s242ms 17 2 2s687ms 1s343ms 18 2 2s538ms 1s269ms 19 1 1s274ms 1s274ms 22 2 2s555ms 1s277ms [ User: pubeu - Total duration: 3m9s - Times executed: 148 ]
[ User: qaeu - Total duration: 7s58ms - Times executed: 5 ]
-
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 = '2090292') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2090292') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-17 03:44:20 Duration: 2s763ms 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 = '2081614') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2081614') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-13 22:37:55 Duration: 2s517ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2088169') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2088169') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-01-14 21:28:38 Duration: 2s374ms Bind query: yes
8 414 11m16s 1s60ms 2s191ms 1s632ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jan 12 00 1 1s868ms 1s868ms 01 2 2s553ms 1s276ms 02 3 4s383ms 1s461ms 03 2 3s60ms 1s530ms 04 1 1s839ms 1s839ms 05 2 3s81ms 1s540ms 06 1 1s826ms 1s826ms 07 1 1s898ms 1s898ms 08 5 8s160ms 1s632ms 09 6 9s980ms 1s663ms 10 2 2s576ms 1s288ms 11 3 4s397ms 1s465ms 12 2 3s657ms 1s828ms 13 3 5s485ms 1s828ms 15 2 3s74ms 1s537ms 16 1 1s857ms 1s857ms 18 2 3s698ms 1s849ms 19 3 4s937ms 1s645ms 20 2 3s99ms 1s549ms 21 2 3s136ms 1s568ms 22 2 3s679ms 1s839ms 23 2 3s668ms 1s834ms Jan 13 02 2 2s513ms 1s256ms 03 3 5s548ms 1s849ms 04 5 7s472ms 1s494ms 05 1 1s270ms 1s270ms 06 3 4s938ms 1s646ms 07 3 5s523ms 1s841ms 08 4 6s258ms 1s564ms 09 1 1s852ms 1s852ms 10 5 8s631ms 1s726ms 11 1 1s247ms 1s247ms 12 5 8s97ms 1s619ms 13 2 3s757ms 1s878ms 14 5 8s14ms 1s602ms 15 3 4s979ms 1s659ms 16 2 3s148ms 1s574ms 17 3 4s876ms 1s625ms 18 3 5s595ms 1s865ms 19 3 4s331ms 1s443ms 20 4 6s201ms 1s550ms 21 1 1s284ms 1s284ms 22 1 1s295ms 1s295ms Jan 14 05 2 3s669ms 1s834ms 06 6 9s920ms 1s653ms 07 9 15s551ms 1s727ms 08 1 1s259ms 1s259ms 09 6 8s717ms 1s452ms 10 9 15s448ms 1s716ms 11 8 13s740ms 1s717ms 12 2 3s97ms 1s548ms 13 3 5s507ms 1s835ms 14 7 12s211ms 1s744ms 15 15 24s101ms 1s606ms 16 5 8s33ms 1s606ms 17 7 10s677ms 1s525ms 18 5 9s247ms 1s849ms 19 6 10s529ms 1s754ms 20 10 16s789ms 1s678ms 21 10 15s768ms 1s576ms 22 10 15s815ms 1s581ms 23 19 29s720ms 1s564ms Jan 15 06 3 5s34ms 1s678ms 07 4 6s792ms 1s698ms 09 1 1s269ms 1s269ms 10 4 6s245ms 1s561ms 11 8 13s506ms 1s688ms 12 10 17s907ms 1s790ms 13 3 5s46ms 1s682ms 14 5 7s101ms 1s420ms 15 5 7s889ms 1s577ms 16 9 14s397ms 1s599ms 17 9 14s40ms 1s560ms 18 13 23s696ms 1s822ms 19 5 7s619ms 1s523ms 20 7 11s48ms 1s578ms 21 8 11s448ms 1s431ms 22 5 9s291ms 1s858ms 23 10 16s734ms 1s673ms Jan 16 00 4 5s723ms 1s430ms 01 6 8s827ms 1s471ms 02 6 9s464ms 1s577ms 03 3 5s109ms 1s703ms 04 3 5s685ms 1s895ms 05 3 5s126ms 1s708ms 06 3 3s819ms 1s273ms 07 3 5s511ms 1s837ms 08 2 3s623ms 1s811ms 09 5 7s440ms 1s488ms 10 2 3s224ms 1s612ms 11 1 1s817ms 1s817ms 13 1 1s855ms 1s855ms 15 1 1s822ms 1s822ms Jan 17 06 1 1s861ms 1s861ms 07 2 3s104ms 1s552ms 09 1 1s852ms 1s852ms 10 1 1s917ms 1s917ms 11 1 1s279ms 1s279ms 13 1 1s275ms 1s275ms 14 1 1s823ms 1s823ms 21 1 1s277ms 1s277ms Jan 18 03 1 1s272ms 1s272ms 08 1 1s817ms 1s817ms 12 1 1s854ms 1s854ms [ User: pubeu - Total duration: 3m5s - Times executed: 114 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399640') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-01-15 15:00:37 Duration: 2s191ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399640') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-01-14 23:06:25 Duration: 2s60ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399640') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-01-15 14:14:03 Duration: 2s5ms Bind query: yes
9 393 8m54s 1s216ms 1s762ms 1s358ms 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 #9
Day Hour Count Duration Avg duration Jan 12 01 1 1s307ms 1s307ms 02 1 1s218ms 1s218ms 05 3 4s67ms 1s355ms 06 1 1s372ms 1s372ms 09 1 1s333ms 1s333ms 10 1 1s292ms 1s292ms 13 2 2s578ms 1s289ms 15 1 1s283ms 1s283ms 16 3 4s106ms 1s368ms 17 1 1s304ms 1s304ms 19 1 1s269ms 1s269ms Jan 13 02 2 2s686ms 1s343ms 05 5 6s879ms 1s375ms 06 1 1s281ms 1s281ms 07 1 1s312ms 1s312ms 09 1 1s368ms 1s368ms 10 3 4s147ms 1s382ms 12 1 1s433ms 1s433ms 13 3 4s220ms 1s406ms 14 2 2s828ms 1s414ms 16 1 1s400ms 1s400ms 18 4 5s330ms 1s332ms 19 1 1s367ms 1s367ms 22 2 2s657ms 1s328ms 23 3 4s843ms 1s614ms Jan 14 05 2 2s763ms 1s381ms 07 1 1s594ms 1s594ms 08 3 3s868ms 1s289ms 09 1 1s545ms 1s545ms 11 2 2s749ms 1s374ms 13 1 1s296ms 1s296ms 16 2 2s655ms 1s327ms 17 4 5s84ms 1s271ms 18 1 1s244ms 1s244ms 19 4 5s317ms 1s329ms 20 2 2s575ms 1s287ms 21 3 4s485ms 1s495ms 22 3 4s157ms 1s385ms 23 9 12s398ms 1s377ms Jan 15 05 9 11s690ms 1s298ms 06 3 4s392ms 1s464ms 07 8 10s359ms 1s294ms 08 5 6s417ms 1s283ms 09 4 5s623ms 1s405ms 10 8 10s640ms 1s330ms 11 10 13s538ms 1s353ms 12 6 8s186ms 1s364ms 13 7 9s152ms 1s307ms 14 8 10s752ms 1s344ms 15 9 12s614ms 1s401ms 16 9 12s711ms 1s412ms 17 8 10s795ms 1s349ms 18 9 12s195ms 1s355ms 19 9 12s628ms 1s403ms 20 8 10s115ms 1s264ms 21 9 12s412ms 1s379ms 22 8 11s42ms 1s380ms 23 8 10s984ms 1s373ms Jan 16 00 6 8s211ms 1s368ms 01 8 10s891ms 1s361ms 02 8 10s896ms 1s362ms 03 1 1s363ms 1s363ms 04 8 10s751ms 1s343ms 05 10 13s798ms 1s379ms 06 5 6s777ms 1s355ms 07 8 10s850ms 1s356ms 08 8 10s767ms 1s345ms 09 5 6s814ms 1s362ms 10 5 6s754ms 1s350ms 11 7 9s440ms 1s348ms 13 2 2s675ms 1s337ms 14 1 1s366ms 1s366ms 18 2 2s704ms 1s352ms 21 2 2s701ms 1s350ms Jan 17 02 1 1s332ms 1s332ms 03 6 8s121ms 1s353ms 04 4 5s501ms 1s375ms 05 2 2s684ms 1s342ms 07 6 8s104ms 1s350ms 09 4 5s481ms 1s370ms 12 2 2s840ms 1s420ms 14 1 1s348ms 1s348ms 15 1 1s340ms 1s340ms 18 1 1s316ms 1s316ms 19 2 2s757ms 1s378ms 20 4 5s452ms 1s363ms 21 4 5s406ms 1s351ms 22 3 4s53ms 1s351ms 23 1 1s378ms 1s378ms Jan 18 00 1 1s335ms 1s335ms 01 2 2s778ms 1s389ms 02 1 1s457ms 1s457ms 03 1 1s347ms 1s347ms 04 3 4s100ms 1s366ms 05 4 5s524ms 1s381ms 06 2 2s651ms 1s325ms 07 1 1s333ms 1s333ms 09 5 6s883ms 1s376ms 10 1 1s309ms 1s309ms 11 2 2s676ms 1s338ms 13 1 1s418ms 1s418ms 15 2 2s684ms 1s342ms 16 1 1s374ms 1s374ms 18 1 1s369ms 1s369ms 19 2 2s685ms 1s342ms 20 2 2s814ms 1s407ms 21 2 2s803ms 1s401ms 22 1 1s343ms 1s343ms 23 1 1s344ms 1s344ms [ User: pubeu - Total duration: 2m47s - Times executed: 122 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-01-13 23:31:56 Duration: 1s762ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-01-15 15:30:13 Duration: 1s744ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-01-13 23:31:56 Duration: 1s624ms Database: ctdprd51 User: pubeu Bind query: yes
10 328 24m34s 1s 7s249ms 4s495ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 12 02 1 1s 1s 03 4 19s524ms 4s881ms 04 3 14s287ms 4s762ms 05 1 5s117ms 5s117ms 06 1 5s369ms 5s369ms 08 1 5s460ms 5s460ms 09 13 1m10s 5s458ms 10 1 5s211ms 5s211ms 12 3 14s116ms 4s705ms 13 4 20s485ms 5s121ms 15 1 4s805ms 4s805ms 16 1 4s813ms 4s813ms 18 1 1s16ms 1s16ms 20 2 10s138ms 5s69ms 22 1 5s747ms 5s747ms 23 3 11s249ms 3s749ms Jan 13 00 2 10s318ms 5s159ms 01 1 5s808ms 5s808ms 02 3 16s802ms 5s600ms 03 7 31s535ms 4s505ms 06 1 5s323ms 5s323ms 07 2 10s661ms 5s330ms 08 3 11s521ms 3s840ms 09 3 11s527ms 3s842ms 10 2 10s552ms 5s276ms 12 1 5s225ms 5s225ms 13 1 1s13ms 1s13ms 15 3 15s142ms 5s47ms 17 5 25s971ms 5s194ms 18 2 6s230ms 3s115ms 19 1 1s2ms 1s2ms 20 5 26s20ms 5s204ms 21 1 4s948ms 4s948ms Jan 14 05 1 1s12ms 1s12ms 06 5 13s396ms 2s679ms 07 2 6s216ms 3s108ms 08 3 15s764ms 5s254ms 09 2 10s359ms 5s179ms 10 2 6s135ms 3s67ms 11 8 37s771ms 4s721ms 12 1 5s128ms 5s128ms 13 1 5s88ms 5s88ms 14 6 26s870ms 4s478ms 15 6 32s331ms 5s388ms 16 5 26s720ms 5s344ms 17 10 48s144ms 4s814ms 18 2 10s252ms 5s126ms 19 5 21s766ms 4s353ms 20 6 25s426ms 4s237ms 21 3 16s279ms 5s426ms 22 7 23s596ms 3s370ms 23 21 1m8s 3s283ms Jan 15 00 6 33s707ms 5s617ms 05 1 5s133ms 5s133ms 07 2 6s97ms 3s48ms 09 2 11s243ms 5s621ms 10 3 15s614ms 5s204ms 12 3 15s427ms 5s142ms 13 3 16s48ms 5s349ms 14 1 1s1ms 1s1ms 15 4 16s987ms 4s246ms 16 2 6s234ms 3s117ms 17 3 15s449ms 5s149ms 18 1 5s416ms 5s416ms 19 4 18s419ms 4s604ms 20 3 11s614ms 3s871ms 21 3 8s160ms 2s720ms 22 7 32s522ms 4s646ms 23 3 15s255ms 5s85ms Jan 16 00 4 17s82ms 4s270ms 01 3 11s404ms 3s801ms 02 7 24s127ms 3s446ms 03 1 5s467ms 5s467ms 04 6 31s133ms 5s188ms 05 1 5s222ms 5s222ms 06 3 15s329ms 5s109ms 08 1 5s351ms 5s351ms 09 1 1s21ms 1s21ms 12 5 21s484ms 4s296ms 17 1 5s119ms 5s119ms 20 1 1s1ms 1s1ms 21 3 15s304ms 5s101ms Jan 17 01 2 6s254ms 3s127ms 02 1 5s153ms 5s153ms 03 2 6s205ms 3s102ms 04 3 15s601ms 5s200ms 06 4 16s424ms 4s106ms 07 1 4s989ms 4s989ms 09 8 40s481ms 5s60ms 12 4 21s139ms 5s284ms 13 1 5s110ms 5s110ms 16 2 9s855ms 4s927ms 17 4 21s351ms 5s337ms 19 4 12s295ms 3s73ms 20 2 10s666ms 5s333ms 21 1 5s494ms 5s494ms 22 2 10s95ms 5s47ms Jan 18 03 1 5s32ms 5s32ms 06 2 6s121ms 3s60ms 07 1 5s106ms 5s106ms 09 1 5s199ms 5s199ms 10 1 5s201ms 5s201ms 11 1 5s81ms 5s81ms 12 5 25s68ms 5s13ms 14 1 5s227ms 5s227ms 18 2 10s626ms 5s313ms 20 2 6s750ms 3s375ms 21 2 10s450ms 5s225ms [ User: pubeu - Total duration: 6m53s - Times executed: 92 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1406030' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-17 09:09:38 Duration: 7s249ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1288504' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-15 19:56:20 Duration: 6s886ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1370847' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-14 20:10:37 Duration: 6s833ms Bind query: yes
11 307 20m19s 3s711ms 5s441ms 3s972ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 12 02 8 31s594ms 3s949ms 03 1 4s191ms 4s191ms 04 1 4s6ms 4s6ms 06 2 8s93ms 4s46ms 07 6 23s498ms 3s916ms 08 7 27s777ms 3s968ms 09 6 23s404ms 3s900ms 10 12 46s180ms 3s848ms 12 5 19s328ms 3s865ms 14 2 7s777ms 3s888ms 16 1 3s852ms 3s852ms 17 2 7s605ms 3s802ms 20 1 3s844ms 3s844ms 23 2 8s35ms 4s17ms Jan 13 00 1 3s951ms 3s951ms 01 1 3s751ms 3s751ms 02 2 9s165ms 4s582ms 03 3 12s27ms 4s9ms 04 1 3s909ms 3s909ms 05 1 3s924ms 3s924ms 06 3 11s832ms 3s944ms 07 1 3s982ms 3s982ms 09 3 11s780ms 3s926ms 10 1 4s213ms 4s213ms 11 1 3s940ms 3s940ms 13 1 4s15ms 4s15ms 14 1 3s765ms 3s765ms 15 1 4s4ms 4s4ms 16 2 7s750ms 3s875ms 17 2 7s622ms 3s811ms 18 2 7s971ms 3s985ms 20 1 3s798ms 3s798ms Jan 14 05 1 4s75ms 4s75ms 06 1 3s787ms 3s787ms 07 2 9s396ms 4s698ms 11 1 4s44ms 4s44ms 12 2 7s706ms 3s853ms 13 1 3s979ms 3s979ms 14 4 15s485ms 3s871ms 15 2 7s736ms 3s868ms 16 3 11s571ms 3s857ms 17 2 7s972ms 3s986ms 18 1 4s25ms 4s25ms 20 1 3s764ms 3s764ms 21 2 7s609ms 3s804ms 23 1 3s866ms 3s866ms Jan 15 07 1 4s28ms 4s28ms 09 3 12s147ms 4s49ms 10 1 4s148ms 4s148ms 11 1 3s819ms 3s819ms 12 2 7s947ms 3s973ms 13 2 7s855ms 3s927ms 14 1 4s195ms 4s195ms 15 5 20s174ms 4s34ms 16 1 4s454ms 4s454ms 17 3 11s568ms 3s856ms 19 8 31s66ms 3s883ms 20 30 2m1s 4s60ms 21 2 8s119ms 4s59ms 22 2 8s294ms 4s147ms 23 3 11s428ms 3s809ms Jan 16 00 2 8s24ms 4s12ms 01 3 11s979ms 3s993ms 03 1 4s38ms 4s38ms 04 6 23s779ms 3s963ms 05 1 3s754ms 3s754ms 06 3 12s106ms 4s35ms 08 1 3s808ms 3s808ms 09 12 47s61ms 3s921ms 10 10 39s994ms 3s999ms 11 6 23s479ms 3s913ms 12 7 28s96ms 4s13ms 13 6 23s967ms 3s994ms 14 2 7s826ms 3s913ms 15 1 4s47ms 4s47ms 16 2 7s866ms 3s933ms 17 7 27s229ms 3s889ms 18 1 4s24ms 4s24ms 19 3 11s792ms 3s930ms 20 2 9s231ms 4s615ms 22 1 3s883ms 3s883ms 23 1 3s909ms 3s909ms Jan 17 00 1 3s843ms 3s843ms 01 2 7s615ms 3s807ms 02 3 11s972ms 3s990ms 03 4 16s103ms 4s25ms 05 5 19s821ms 3s964ms 06 2 7s827ms 3s913ms 07 1 3s925ms 3s925ms 08 1 4s49ms 4s49ms 12 5 19s859ms 3s971ms 13 4 16s445ms 4s111ms 14 1 3s978ms 3s978ms 15 2 7s942ms 3s971ms 16 2 8s17ms 4s8ms 17 1 3s794ms 3s794ms 19 1 3s952ms 3s952ms 20 1 3s942ms 3s942ms Jan 18 00 1 3s888ms 3s888ms 01 3 11s862ms 3s954ms 02 2 7s820ms 3s910ms 03 1 3s992ms 3s992ms 05 2 8s213ms 4s106ms 06 1 4s615ms 4s615ms 09 3 11s665ms 3s888ms 12 1 3s827ms 3s827ms 14 1 3s943ms 3s943ms 17 1 3s771ms 3s771ms 18 1 4s264ms 4s264ms 20 1 4s97ms 4s97ms 21 2 7s862ms 3s931ms [ User: pubeu - Total duration: 6m33s - Times executed: 99 ]
-
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 = '1344282') 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 = '1344282') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-01-14 07:01:17 Duration: 5s441ms 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 = '1344282') 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 = '1344282') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-01-16 20:31:49 Duration: 5s303ms 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 = '1267714') 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 = '1267714') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-01-13 02:09:44 Duration: 4s698ms Database: ctdprd51 User: pubeu Bind query: yes
12 229 35m20s 1s16ms 24s422ms 9s260ms 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 Jan 12 06 1 1s138ms 1s138ms 08 1 3s865ms 3s865ms Jan 13 07 1 1s95ms 1s95ms 09 1 6s540ms 6s540ms 11 3 21s757ms 7s252ms 15 3 1m7s 22s648ms Jan 14 06 2 2s700ms 1s350ms 07 1 3s988ms 3s988ms 09 3 6s236ms 2s78ms 10 2 42s98ms 21s49ms 11 12 3m21s 16s767ms 12 1 1s266ms 1s266ms 13 2 20s970ms 10s485ms 14 4 30s711ms 7s677ms 15 3 16s161ms 5s387ms 16 2 14s70ms 7s35ms 17 3 24s870ms 8s290ms 18 4 31s487ms 7s871ms 19 8 34s724ms 4s340ms 20 7 23s145ms 3s306ms 21 4 15s186ms 3s796ms 22 1 21s847ms 21s847ms 23 3 26s917ms 8s972ms Jan 15 05 2 25s19ms 12s509ms 06 3 24s562ms 8s187ms 07 2 11s882ms 5s941ms 09 1 3s316ms 3s316ms 10 2 4s710ms 2s355ms 11 2 5s294ms 2s647ms 12 6 1m23s 13s941ms 13 1 17s980ms 17s980ms 14 4 1m6s 16s557ms 15 4 30s523ms 7s630ms 16 5 1m51s 22s393ms 17 3 9s629ms 3s209ms 18 5 1m1s 12s395ms 19 1 21s318ms 21s318ms 20 5 1m2s 12s563ms 22 2 11s982ms 5s991ms 23 2 2s955ms 1s477ms Jan 16 00 4 29s53ms 7s263ms 01 2 5s817ms 2s908ms 02 3 10s941ms 3s647ms 03 1 1s778ms 1s778ms 04 1 7s266ms 7s266ms 05 2 10s230ms 5s115ms 12 6 36s812ms 6s135ms 15 3 3s218ms 1s72ms 17 4 1m8s 17s240ms 20 2 7s735ms 3s867ms Jan 17 03 1 2s205ms 2s205ms 04 2 11s631ms 5s815ms 05 2 4s47ms 2s23ms 06 1 3s45ms 3s45ms 08 3 31s474ms 10s491ms 11 2 42s809ms 21s404ms 12 4 50s241ms 12s560ms 16 2 2s640ms 1s320ms 18 1 3s80ms 3s80ms 20 6 53s794ms 8s965ms 21 1 20s746ms 20s746ms Jan 18 01 1 1s71ms 1s71ms 04 3 1m9s 23s245ms 05 3 1m7s 22s370ms 08 6 37s620ms 6s270ms 12 3 22s706ms 7s568ms 13 6 1m6s 11s105ms 14 9 1m17s 8s622ms 15 5 25s961ms 5s192ms 16 6 1m8s 11s452ms 18 1 1s894ms 1s894ms 19 3 48s621ms 16s207ms 20 3 23s522ms 7s840ms 21 5 26s138ms 5s227ms [ User: pubeu - Total duration: 11m57s - Times executed: 68 ]
-
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 = '1222378') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-01-15 16:53:28 Duration: 24s422ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1246190') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-01-18 13:31:58 Duration: 24s421ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222378') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-01-18 04:19:27 Duration: 24s51ms Database: ctdprd51 User: pubeu Bind query: yes
13 221 10m30s 1s18ms 6s496ms 2s852ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jan 12 02 2 7s768ms 3s884ms 03 3 6s121ms 2s40ms 05 1 1s453ms 1s453ms 07 3 8s783ms 2s927ms 08 3 5s344ms 1s781ms 09 3 9s809ms 3s269ms 10 3 7s440ms 2s480ms 11 1 3s687ms 3s687ms 12 2 6s523ms 3s261ms 13 1 2s209ms 2s209ms 14 1 5s755ms 5s755ms 16 2 4s240ms 2s120ms 18 3 17s43ms 5s681ms 20 1 3s743ms 3s743ms 22 1 2s770ms 2s770ms 23 1 2s88ms 2s88ms Jan 13 02 1 2s209ms 2s209ms 04 1 2s354ms 2s354ms 05 1 2s130ms 2s130ms 06 2 6s895ms 3s447ms 07 2 3s361ms 1s680ms 08 1 2s731ms 2s731ms 09 1 1s264ms 1s264ms 11 2 6s88ms 3s44ms 12 1 2s686ms 2s686ms 13 2 5s437ms 2s718ms 14 2 3s643ms 1s821ms 15 1 5s725ms 5s725ms 16 1 1s292ms 1s292ms 17 1 2s36ms 2s36ms 18 2 4s733ms 2s366ms 20 2 3s962ms 1s981ms 21 1 3s459ms 3s459ms 22 2 5s228ms 2s614ms Jan 14 08 2 7s715ms 3s857ms 09 1 2s50ms 2s50ms 10 5 14s961ms 2s992ms 11 5 11s806ms 2s361ms 13 1 2s683ms 2s683ms 14 1 2s187ms 2s187ms 15 8 14s732ms 1s841ms 16 2 4s324ms 2s162ms 17 4 19s442ms 4s860ms 18 6 17s658ms 2s943ms 19 3 9s373ms 3s124ms 20 5 21s246ms 4s249ms 21 6 15s123ms 2s520ms 22 5 13s960ms 2s792ms 23 3 13s561ms 4s520ms Jan 15 06 4 6s670ms 1s667ms 08 2 4s585ms 2s292ms 10 2 3s806ms 1s903ms 11 2 2s689ms 1s344ms 12 5 8s12ms 1s602ms 15 3 10s476ms 3s492ms 16 1 1s565ms 1s565ms 17 2 4s271ms 2s135ms 18 2 7s794ms 3s897ms 19 1 2s248ms 2s248ms 20 2 7s670ms 3s835ms 21 3 8s113ms 2s704ms 22 19 1m 3s197ms 23 2 3s432ms 1s716ms Jan 16 00 1 2s333ms 2s333ms 01 2 8s56ms 4s28ms 05 2 3s727ms 1s863ms 07 1 2s169ms 2s169ms 08 1 2s104ms 2s104ms 09 2 4s277ms 2s138ms 12 2 3s706ms 1s853ms 13 5 16s421ms 3s284ms 14 1 5s695ms 5s695ms 17 2 3s181ms 1s590ms Jan 17 03 6 23s744ms 3s957ms 04 1 2s91ms 2s91ms 05 2 3s131ms 1s565ms 07 2 4s327ms 2s163ms 08 5 19s879ms 3s975ms 11 1 1s636ms 1s636ms 12 2 3s325ms 1s662ms Jan 18 04 3 6s652ms 2s217ms 06 1 2s718ms 2s718ms 08 1 2s96ms 2s96ms 12 3 18s846ms 6s282ms 14 4 14s817ms 3s704ms 15 1 1s263ms 1s263ms 21 4 7s198ms 1s799ms 22 1 2s331ms 2s331ms 23 1 1s639ms 1s639ms [ User: pubeu - Total duration: 2m49s - Times executed: 62 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '655388' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '655388') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-01-18 12:02:53 Duration: 6s496ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '655388' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '655388') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-01-14 23:04:42 Duration: 6s352ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '655388' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '655388') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-01-18 12:02:47 Duration: 6s273ms Bind query: yes
14 204 2h1m4s 1s3ms 38m47s 35s608ms 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 #14
Day Hour Count Duration Avg duration Jan 12 02 1 7s575ms 7s575ms 04 2 34s225ms 17s112ms 07 1 4s252ms 4s252ms 08 1 3s23ms 3s23ms 09 2 38s880ms 19s440ms 10 1 1s609ms 1s609ms 17 1 12s46ms 12s46ms 18 2 55s456ms 27s728ms 19 1 1s860ms 1s860ms 20 1 1s856ms 1s856ms 21 1 11s966ms 11s966ms 22 4 16s104ms 4s26ms 23 1 7s593ms 7s593ms Jan 13 00 1 7s676ms 7s676ms 01 1 3s348ms 3s348ms 02 4 44s854ms 11s213ms 06 1 10s939ms 10s939ms 07 3 15s99ms 5s33ms 08 1 1s456ms 1s456ms 09 11 3m2s 16s576ms 12 1 1s121ms 1s121ms 13 2 2s596ms 1s298ms 14 1 1s698ms 1s698ms 16 1 1s888ms 1s888ms 18 2 26s471ms 13s235ms 21 6 1m8s 11s466ms 22 4 4m1s 1m Jan 14 05 1 5s672ms 5s672ms 06 4 4s514ms 1s128ms 07 10 1m59s 11s977ms 08 3 31s550ms 10s516ms 09 2 38s145ms 19s72ms 15 1 1s974ms 1s974ms 16 5 3m57s 47s439ms 17 1 43s999ms 43s999ms 19 2 3s483ms 1s741ms 20 4 39s762ms 9s940ms 23 1 14s589ms 14s589ms Jan 15 00 5 1h19m37s 15m55s 06 4 33s906ms 8s476ms 07 5 2m10s 26s135ms 08 5 3m2s 36s578ms 09 35 5m28s 9s381ms 13 1 7s888ms 7s888ms 17 1 2s309ms 2s309ms 18 1 7s411ms 7s411ms 21 5 22s473ms 4s494ms 23 1 9s722ms 9s722ms Jan 16 00 2 16s106ms 8s53ms 01 2 31s360ms 15s680ms 02 6 2m25s 24s309ms 04 1 1s600ms 1s600ms 05 2 10s471ms 5s235ms 06 2 10s818ms 5s409ms 10 1 1s590ms 1s590ms 23 1 7s204ms 7s204ms Jan 17 03 2 3s158ms 1s579ms 04 1 1s522ms 1s522ms 08 14 1m59s 8s530ms 09 7 45s163ms 6s451ms 16 1 2s238ms 2s238ms 20 1 3s232ms 3s232ms 21 1 1s72ms 1s72ms 23 1 7s340ms 7s340ms Jan 18 05 2 3s73ms 1s536ms 20 1 1s828ms 1s828ms 22 1 1s156ms 1s156ms [ User: pubeu - Total duration: 22m16s - Times executed: 90 ]
-
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 = '2084747') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-15 00:47:08 Duration: 38m47s 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 = '2084747') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-15 00:47:13 Duration: 38m26s 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 = '2092048') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-13 22:53:13 Duration: 2m19s Database: ctdprd51 User: pubeu Bind query: yes
15 165 10h18m34s 1s515ms 18m48s 3m44s 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 #15
Day Hour Count Duration Avg duration Jan 12 04 1 1s727ms 1s727ms Jan 13 14 1 1s515ms 1s515ms 17 1 5m10s 5m10s 19 1 1s693ms 1s693ms 22 3 26m18s 8m46s Jan 14 06 3 5s618ms 1s872ms 07 1 3s314ms 3s314ms 08 1 3m46s 3m46s 09 7 8m23s 1m11s 10 7 5m 42s864ms 11 2 5s799ms 2s899ms 12 4 17m42s 4m25s 13 2 1m22s 41s446ms 14 3 1m26s 28s677ms 15 3 17m48s 5m56s 16 1 1s590ms 1s590ms 17 1 2s35ms 2s35ms 18 1 3s270ms 3s270ms 19 4 7s433ms 1s858ms 20 3 6m43s 2m14s 21 6 55m18s 9m13s 22 4 17m56s 4m29s 23 3 5m41s 1m53s Jan 15 05 1 3m12s 3m12s 07 1 1s818ms 1s818ms 08 3 54m8s 18m2s 11 4 5m39s 1m24s 12 3 6s944ms 2s314ms 13 1 5m32s 5m32s 14 3 5s855ms 1s951ms 15 5 24m13s 4m50s 17 1 41s939ms 41s939ms 19 4 14m34s 3m38s 21 2 4s243ms 2s121ms 23 3 7s228ms 2s409ms Jan 16 00 3 7s500ms 2s500ms 01 3 26m30s 8m50s 02 6 8m20s 1m23s 04 3 5m4s 1m41s 05 3 10m2s 3m20s 06 2 4s210ms 2s105ms 07 1 3s301ms 3s301ms 10 2 3s135ms 1s567ms 12 2 3s408ms 1s704ms 13 1 3s165ms 3s165ms 15 3 8m13s 2m44s 18 3 53m18s 17m46s 20 1 2s128ms 2s128ms Jan 17 03 3 26m15s 8m45s 08 2 6s558ms 3s279ms 13 2 5s605ms 2s802ms 16 3 26m18s 8m46s 17 1 1s733ms 1s733ms 23 3 5s83ms 1s694ms Jan 18 04 3 26m34s 8m51s 06 3 55m14s 18m24s 10 1 17m51s 17m51s 12 2 35m25s 17m42s 13 4 4m54s 1m13s 15 1 2s130ms 2s130ms 16 1 3s234ms 3s234ms 17 4 26m22s 6m35s 19 4 3m23s 50s988ms 21 1 2m7s 2m7s [ User: pubeu - Total duration: 2h54m19s - Times executed: 52 ]
-
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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-18 06:50:05 Duration: 18m48s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-18 06:50:06 Duration: 18m45s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-14 21:41:22 Duration: 18m43s Bind query: yes
16 150 4m 1s14ms 2s722ms 1s603ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jan 12 00 2 2s207ms 1s103ms 01 1 1s26ms 1s26ms 02 4 6s71ms 1s517ms 04 4 5s637ms 1s409ms 06 2 2s224ms 1s112ms 08 1 2s381ms 2s381ms 09 1 2s338ms 2s338ms 10 2 3s885ms 1s942ms 11 1 2s337ms 2s337ms 15 2 3s845ms 1s922ms 17 1 1s103ms 1s103ms 18 2 2s877ms 1s438ms 20 2 3s895ms 1s947ms Jan 13 01 1 1s74ms 1s74ms 04 1 2s479ms 2s479ms 05 2 3s697ms 1s848ms 06 1 2s339ms 2s339ms 07 1 2s233ms 2s233ms 13 1 1s806ms 1s806ms 14 1 2s286ms 2s286ms 15 1 2s227ms 2s227ms 16 1 1s156ms 1s156ms 17 1 1s115ms 1s115ms 18 1 1s568ms 1s568ms 21 1 2s643ms 2s643ms 22 1 1s139ms 1s139ms Jan 14 05 1 1s185ms 1s185ms 08 1 2s467ms 2s467ms 09 2 2s786ms 1s393ms 10 2 2s135ms 1s67ms 15 1 1s65ms 1s65ms 16 1 2s407ms 2s407ms 17 1 1s49ms 1s49ms 19 13 21s962ms 1s689ms 20 30 48s359ms 1s611ms 21 6 8s574ms 1s429ms 22 29 47s728ms 1s645ms 23 1 2s196ms 2s196ms Jan 15 05 1 1s352ms 1s352ms 12 1 2s395ms 2s395ms 13 1 1s479ms 1s479ms 15 1 1s163ms 1s163ms 18 1 1s360ms 1s360ms 19 1 1s59ms 1s59ms 20 1 1s91ms 1s91ms 23 1 2s297ms 2s297ms Jan 16 01 1 1s81ms 1s81ms 04 1 1s142ms 1s142ms 06 2 2s641ms 1s320ms 12 2 2s554ms 1s277ms 22 1 1s547ms 1s547ms Jan 17 03 2 2s899ms 1s449ms 16 3 3s247ms 1s82ms 19 1 1s564ms 1s564ms Jan 18 04 1 2s671ms 2s671ms 05 1 1s392ms 1s392ms [ User: pubeu - Total duration: 58s26ms - Times executed: 36 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2079972') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-14 19:18:07 Duration: 2s722ms Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2079972') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-18 04:13:49 Duration: 2s671ms Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2079972') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-13 21:08:23 Duration: 2s643ms Database: ctdprd51 User: pubeu Bind query: yes
17 124 13m38s 1s5ms 17s933ms 6s598ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 13 05 1 1s62ms 1s62ms 13 1 1s291ms 1s291ms 17 1 1s6ms 1s6ms Jan 14 06 3 23s300ms 7s766ms 07 3 4s246ms 1s415ms 08 1 2s296ms 2s296ms 09 5 40s626ms 8s125ms 11 5 54s749ms 10s949ms 12 1 3s473ms 3s473ms 13 1 1s31ms 1s31ms 14 8 38s219ms 4s777ms 15 2 21s521ms 10s760ms 17 1 1s26ms 1s26ms 18 1 1s96ms 1s96ms 19 2 16s695ms 8s347ms 20 3 17s735ms 5s911ms 21 2 7s416ms 3s708ms 22 3 21s788ms 7s262ms 23 2 8s926ms 4s463ms Jan 15 05 4 31s142ms 7s785ms 06 1 15s667ms 15s667ms 07 1 1s148ms 1s148ms 11 6 26s607ms 4s434ms 13 4 38s191ms 9s547ms 14 1 2s390ms 2s390ms 15 1 1s974ms 1s974ms 16 3 28s536ms 9s512ms 17 2 7s186ms 3s593ms 18 4 9s381ms 2s345ms 19 4 31s907ms 7s976ms 20 3 19s247ms 6s415ms 21 4 29s433ms 7s358ms 22 2 22s19ms 11s9ms 23 3 36s487ms 12s162ms Jan 16 00 3 11s519ms 3s839ms 01 2 5s870ms 2s935ms 02 1 2s471ms 2s471ms 04 2 2s349ms 1s174ms 05 1 1s609ms 1s609ms 06 2 19s938ms 9s969ms 07 3 20s327ms 6s775ms 10 1 1s67ms 1s67ms 13 1 1s105ms 1s105ms 20 1 5s315ms 5s315ms Jan 17 05 1 1s111ms 1s111ms 06 1 2s454ms 2s454ms 16 1 1s58ms 1s58ms 18 1 1s119ms 1s119ms Jan 18 04 3 49s631ms 16s543ms 07 3 52s480ms 17s493ms 10 1 1s42ms 1s42ms 13 3 51s950ms 17s316ms 19 1 3s664ms 3s664ms 21 3 13s307ms 4s435ms [ User: pubeu - Total duration: 4m36s - Times executed: 37 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222378'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-18 13:31:55 Duration: 17s933ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222378'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-18 07:44:00 Duration: 17s773ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222378'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-18 07:44:00 Duration: 17s501ms Database: ctdprd51 User: pubeu Bind query: yes
18 120 4m11s 1s22ms 3s226ms 2s99ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 13 22 9 18s948ms 2s105ms Jan 14 09 3 6s114ms 2s38ms 12 6 14s524ms 2s420ms 16 1 1s234ms 1s234ms 21 64 2m10s 2s34ms Jan 15 06 1 2s495ms 2s495ms 08 8 17s711ms 2s213ms Jan 16 03 1 3s226ms 3s226ms 17 5 10s409ms 2s81ms 18 2 4s69ms 2s34ms Jan 17 03 7 14s762ms 2s108ms Jan 18 04 2 4s101ms 2s50ms 06 11 24s163ms 2s196ms [ User: pubeu - Total duration: 48s453ms - Times executed: 23 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2085941');
Date: 2025-01-16 03:37:22 Duration: 3s226ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2079972');
Date: 2025-01-14 12:48:59 Duration: 3s45ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2079875');
Date: 2025-01-14 21:27:30 Duration: 2s609ms Bind query: yes
19 96 6m20s 1s 26s951ms 3s963ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jan 12 00 1 2s24ms 2s24ms 03 4 32s74ms 8s18ms 05 2 4s147ms 2s73ms 11 1 4s127ms 4s127ms 12 1 4s157ms 4s157ms 13 1 1s360ms 1s360ms 15 2 25s119ms 12s559ms 18 1 1s328ms 1s328ms 19 2 6s999ms 3s499ms 22 1 2s794ms 2s794ms 23 1 1s633ms 1s633ms Jan 13 00 2 13s369ms 6s684ms 03 4 11s593ms 2s898ms 04 1 3s975ms 3s975ms 05 1 1s491ms 1s491ms 06 2 6s730ms 3s365ms 07 1 1s852ms 1s852ms 08 3 6s952ms 2s317ms 09 1 4s935ms 4s935ms 10 5 32s853ms 6s570ms 13 2 5s365ms 2s682ms 14 3 7s115ms 2s371ms 15 2 5s742ms 2s871ms 18 1 1s758ms 1s758ms 19 1 1s802ms 1s802ms 20 2 4s302ms 2s151ms Jan 14 05 1 1s6ms 1s6ms 08 2 10s859ms 5s429ms 12 1 2s335ms 2s335ms 13 3 3s226ms 1s75ms 14 1 1s935ms 1s935ms 15 1 1s916ms 1s916ms 16 1 2s96ms 2s96ms 20 1 1s 1s 21 1 2s704ms 2s704ms 22 1 2s421ms 2s421ms Jan 15 05 1 1s570ms 1s570ms 09 6 37s651ms 6s275ms 11 2 4s789ms 2s394ms 20 1 2s724ms 2s724ms 21 2 5s955ms 2s977ms Jan 16 03 1 1s344ms 1s344ms 07 1 4s774ms 4s774ms 11 1 5s645ms 5s645ms Jan 17 00 8 44s399ms 5s549ms 01 2 3s658ms 1s829ms 08 2 5s702ms 2s851ms 19 2 2s163ms 1s81ms 21 2 9s68ms 4s534ms Jan 18 00 1 1s304ms 1s304ms 11 1 14s783ms 14s783ms 17 1 4s916ms 4s916ms 18 1 4s979ms 4s979ms [ User: pubeu - Total duration: 3m21s - Times executed: 37 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2085222') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4367750;
Date: 2025-01-12 03:25:17 Duration: 26s951ms 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 = '2081635') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3766150;
Date: 2025-01-12 15:29:32 Duration: 22s326ms 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 = '2081635') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3766150;
Date: 2025-01-13 10:54:27 Duration: 22s299ms Database: ctdprd51 User: pubeu Bind query: yes
20 89 3m47s 1s2ms 3s564ms 2s556ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jan 12 00 1 3s460ms 3s460ms 02 1 1s903ms 1s903ms 05 3 7s777ms 2s592ms 14 1 1s816ms 1s816ms 17 1 2s449ms 2s449ms 18 1 2s420ms 2s420ms Jan 13 02 2 5s392ms 2s696ms 05 3 7s784ms 2s594ms 08 2 4s988ms 2s494ms 09 2 4s601ms 2s300ms 11 3 6s899ms 2s299ms 12 1 1s975ms 1s975ms 14 4 10s487ms 2s621ms 15 1 2s474ms 2s474ms 18 2 5s106ms 2s553ms 20 1 2s513ms 2s513ms 22 2 4s559ms 2s279ms Jan 14 05 4 8s776ms 2s194ms 07 2 4s489ms 2s244ms 09 1 3s193ms 3s193ms 11 4 7s702ms 1s925ms 13 1 2s99ms 2s99ms 15 1 3s371ms 3s371ms 16 4 9s71ms 2s267ms 18 1 3s362ms 3s362ms 19 1 3s226ms 3s226ms 20 1 3s457ms 3s457ms 23 2 6s539ms 3s269ms Jan 15 05 3 7s604ms 2s534ms 09 4 8s806ms 2s201ms 11 1 2s410ms 2s410ms 15 1 3s210ms 3s210ms 16 1 3s236ms 3s236ms 20 1 3s505ms 3s505ms Jan 16 00 1 1s775ms 1s775ms 05 4 9s9ms 2s252ms 12 1 2s890ms 2s890ms 17 1 3s246ms 3s246ms Jan 17 05 4 8s572ms 2s143ms 08 1 3s417ms 3s417ms 09 3 7s755ms 2s585ms 10 1 3s242ms 3s242ms 12 1 2s840ms 2s840ms 13 1 3s305ms 3s305ms Jan 18 04 1 3s327ms 3s327ms 05 3 7s705ms 2s568ms 09 1 3s233ms 3s233ms 14 1 3s209ms 3s209ms 23 1 3s329ms 3s329ms [ User: pubeu - Total duration: 1m36s - Times executed: 32 ]
[ User: qaeu - Total duration: 23s407ms - 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 = '594729' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-01-14 16:30:14 Duration: 3s564ms 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 = '594729' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-01-16 05:35:12 Duration: 3s521ms 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 = '594729' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-01-13 22:35:25 Duration: 3s520ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 4d16h19s 4d16h19s 4d16h19s 1 4d16h19s select count(*) from ( with initialtetramerset as ( select viachemptr.via_term_id as chem_id, viageneptr.via_term_id as gene_id, viachemptr.phenotype_id as phenotype_id, viachemptr.term_id as disease_id from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr where viachemptr.term_id = viageneptr.term_id and viachemptr.term_object_type_id = ? and viachemptr.phenotype_id = viageneptr.phenotype_id and viachemptr.via_term_object_type_id = ? and viageneptr.via_term_object_type_id = ? ) select distinct chemterm.nm, geneterm.nm, phenotypeterm.nm, diseaseterm.nm from initialtetramerset, term chemterm, term geneterm, term phenotypeterm, term diseaseterm where chemterm.id = initialtetramerset.chem_id and geneterm.id = initialtetramerset.gene_id and phenotypeterm.id = initialtetramerset.phenotype_id and diseaseterm.id = initialtetramerset.disease_id and exists ( select ? from gene_chem_reference gcr where initialtetramerset.gene_id = gcr.gene_id and initialtetramerset.chem_id = gcr.chem_id) and exists ( select ? from phenotype_term_reference ptr where initialtetramerset.chem_id = ptr.term_id and initialtetramerset.phenotype_id = ptr.phenotype_id and ptr.source_cd in (...)) and exists ( select ? from gene_go_annot gga where initialtetramerset.gene_id = gga.gene_id and initialtetramerset.phenotype_id = gga.go_term_id and gga.is_not is false)) as tetramercount;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 12 02 1 4d16h19s 4d16h19s -
---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;
Date: 2025-01-12 02:15:02 Duration: 4d16h19s
-
---------------------------------------- -- This Works: ---------------------------------------- SELECT count(*) FROM ( WITH initialTetramerSet AS ( SELECT viaChemPTR.via_term_id AS chem_id, -- chem viaGenePTR.via_term_id AS gene_id, -- gene viaChemPTR.phenotype_id AS phenotype_id, viaChemPTR.term_id AS disease_id -- disease FROM phenotype_term_reference viaChemPTR, phenotype_term_reference viaGenePTR WHERE viaChemPTR.term_id = viaGenePTR.term_id AND viaChemPTR.term_object_type_id = 3 -- disease AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id AND viaChemPTR.via_term_object_type_id = 2 -- chem AND viaGenePTR.via_term_object_type_id = 4 -- gene ) SELECT DISTINCT chemTerm.nm, geneTerm.nm, phenotypeTerm.nm, diseaseTerm.nm FROM initialTetramerSet, term chemTerm, term geneTerm, term phenotypeTerm, term diseaseTerm WHERE chemTerm.id = initialTetramerSet.chem_id AND geneTerm.id = initialTetramerSet.gene_id AND phenotypeTerm.id = initialTetramerSet.phenotype_id AND diseaseTerm.id = initialTetramerSet.disease_id AND EXISTS -- G-C ( select 1 from gene_chem_reference gcr where initialTetramerSet.gene_id = gcr.gene_id and initialTetramerSet.chem_id = gcr.chem_id) AND EXISTS -- C-P ( select 1 from phenotype_term_reference ptr WHERE initialTetramerSet.chem_id = ptr.term_id and initialTetramerSet.phenotype_id = ptr.phenotype_id AND ptr.source_cd IN ('C')) AND EXISTS -- G-P ( select 1 from gene_go_annot gga WHERE initialTetramerSet.gene_id = gga.gene_id and initialTetramerSet.phenotype_id = gga.go_term_id AND gga.is_not IS FALSE) -- ------------------------------------------------- -- this takes 3 seconds: -- AND chemTerm.nm = 'Zinc' -- AND chemTerm.object_type_id = 2 -- chemical -- ------------------------------------------------- -- this takes 30 seconds: -- ------------------------------------------------- -- AND phenotypeTerm.nm_fts @@ to_tsquery('common.english_nostops','NEURON') -- AND phenotypeTerm.object_type_id = 5 ) AS tetramerCount;
Date: 2025-01-12 02:15:02 Duration: 0ms
2 24m8s 24m8s 24m8s 1 24m8s 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 Jan 18 19 1 24m8s 24m8s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-01-18 19:44:46 Duration: 24m8s
3 23m58s 23m58s 23m58s 1 23m58s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 18 19 1 23m58s 23m58s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-01-18 19:01:00 Duration: 23m58s
4 22m19s 23m12s 22m39s 7 2h38m37s select maint_query_logs_archive ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 12 00 1 22m19s 22m19s Jan 13 00 1 22m23s 22m23s Jan 14 00 1 22m37s 22m37s Jan 15 00 1 22m29s 22m29s Jan 16 00 1 22m45s 22m45s Jan 17 00 1 22m49s 22m49s Jan 18 00 1 23m12s 23m12s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-01-18 00:23:14 Duration: 23m12s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-01-17 00:22:51 Duration: 22m49s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-01-16 00:22:47 Duration: 22m45s
5 11m23s 11m23s 11m23s 1 11m23s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in (( select gcri.gene_id from dag_path pi inner join gene_chem_reference gcri on pi.descendant_object_id = gcri.chem_id inner join term ti on ti.id = pi.ancestor_object_id where upper(ti.nm) like ? and ti.object_type_id = ?) intersect ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ? union select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_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 = ?) intersect ( 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 gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jan 15 21 1 11m23s 11m23s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* GAIQH.getChemWhereEquals.Name */ gcri.gene_id FROM dag_path pi INNER JOIN gene_chem_reference gcri ON pi.descendant_object_id = gcri.chem_id INNER JOIN term ti ON ti.id = pi.ancestor_object_id WHERE UPPER(ti.nm) LIKE 'LYCORINE' AND ti.object_type_id = 2) INTERSECT ( SELECT /* GAIQH.getTaxonWhereEquals.Acc */ gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7) 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-264642' AND tp.pathway_acc_db_cd = 'REACT') INTERSECT ( SELECT /* GAIQH.getGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'ACHE') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'ALZHEIMER DISEASE' AND t.object_type_id = 3)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-15 21:06:55 Duration: 11m23s Bind query: yes
6 1s515ms 18m48s 3m44s 165 10h18m34s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 12 04 1 1s727ms 1s727ms Jan 13 14 1 1s515ms 1s515ms 17 1 5m10s 5m10s 19 1 1s693ms 1s693ms 22 3 26m18s 8m46s Jan 14 06 3 5s618ms 1s872ms 07 1 3s314ms 3s314ms 08 1 3m46s 3m46s 09 7 8m23s 1m11s 10 7 5m 42s864ms 11 2 5s799ms 2s899ms 12 4 17m42s 4m25s 13 2 1m22s 41s446ms 14 3 1m26s 28s677ms 15 3 17m48s 5m56s 16 1 1s590ms 1s590ms 17 1 2s35ms 2s35ms 18 1 3s270ms 3s270ms 19 4 7s433ms 1s858ms 20 3 6m43s 2m14s 21 6 55m18s 9m13s 22 4 17m56s 4m29s 23 3 5m41s 1m53s Jan 15 05 1 3m12s 3m12s 07 1 1s818ms 1s818ms 08 3 54m8s 18m2s 11 4 5m39s 1m24s 12 3 6s944ms 2s314ms 13 1 5m32s 5m32s 14 3 5s855ms 1s951ms 15 5 24m13s 4m50s 17 1 41s939ms 41s939ms 19 4 14m34s 3m38s 21 2 4s243ms 2s121ms 23 3 7s228ms 2s409ms Jan 16 00 3 7s500ms 2s500ms 01 3 26m30s 8m50s 02 6 8m20s 1m23s 04 3 5m4s 1m41s 05 3 10m2s 3m20s 06 2 4s210ms 2s105ms 07 1 3s301ms 3s301ms 10 2 3s135ms 1s567ms 12 2 3s408ms 1s704ms 13 1 3s165ms 3s165ms 15 3 8m13s 2m44s 18 3 53m18s 17m46s 20 1 2s128ms 2s128ms Jan 17 03 3 26m15s 8m45s 08 2 6s558ms 3s279ms 13 2 5s605ms 2s802ms 16 3 26m18s 8m46s 17 1 1s733ms 1s733ms 23 3 5s83ms 1s694ms Jan 18 04 3 26m34s 8m51s 06 3 55m14s 18m24s 10 1 17m51s 17m51s 12 2 35m25s 17m42s 13 4 4m54s 1m13s 15 1 2s130ms 2s130ms 16 1 3s234ms 3s234ms 17 4 26m22s 6m35s 19 4 3m23s 50s988ms 21 1 2m7s 2m7s [ User: pubeu - Total duration: 2h54m19s - Times executed: 52 ]
-
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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-18 06:50:05 Duration: 18m48s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-18 06:50:06 Duration: 18m45s 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 = '1246190') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-14 21:41:22 Duration: 18m43s Bind query: yes
7 1s889ms 7m48s 54s515ms 36 32m42s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 12 07 1 19s300ms 19s300ms 08 1 48s868ms 48s868ms 10 1 52s191ms 52s191ms 17 1 48s331ms 48s331ms 21 1 47s105ms 47s105ms Jan 13 06 1 48s803ms 48s803ms 10 1 52s820ms 52s820ms 18 1 51s226ms 51s226ms 20 1 53s467ms 53s467ms Jan 14 10 1 54s7ms 54s7ms 12 1 2s109ms 2s109ms 14 1 1m14s 1m14s 18 2 1m40s 50s80ms 19 1 1s889ms 1s889ms 21 1 39s175ms 39s175ms 22 1 52s487ms 52s487ms Jan 15 10 1 40s332ms 40s332ms 12 1 43s660ms 43s660ms 13 1 28s622ms 28s622ms 15 1 54s253ms 54s253ms 22 1 53s625ms 53s625ms Jan 16 01 1 53s173ms 53s173ms 05 1 1m24s 1m24s 13 2 55s580ms 27s790ms 23 1 2s685ms 2s685ms Jan 17 12 2 35s753ms 17s876ms 15 1 2s559ms 2s559ms Jan 18 10 3 11m4s 3m41s 13 2 1m34s 47s166ms 23 1 2s545ms 2s545ms [ User: pubeu - Total duration: 14m39s - Times executed: 12 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1277024')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-01-18 10:53:20 Duration: 7m48s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1277024')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-01-18 10:47:03 Duration: 1m39s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1277024')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-01-18 10:47:02 Duration: 1m36s Bind query: yes
8 45s110ms 46s978ms 45s563ms 25 18m59s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jan 12 06 1 45s833ms 45s833ms 10 1 45s203ms 45s203ms 14 1 45s177ms 45s177ms 18 1 45s152ms 45s152ms Jan 13 06 1 45s947ms 45s947ms 10 1 45s162ms 45s162ms 14 1 45s593ms 45s593ms 18 1 45s110ms 45s110ms Jan 14 06 1 45s179ms 45s179ms 10 1 45s545ms 45s545ms 14 1 45s346ms 45s346ms 18 1 45s289ms 45s289ms Jan 15 06 1 45s398ms 45s398ms 10 1 45s924ms 45s924ms 14 1 45s375ms 45s375ms 18 1 45s829ms 45s829ms Jan 16 06 1 46s978ms 46s978ms 10 1 45s586ms 45s586ms 14 1 45s620ms 45s620ms 18 1 45s268ms 45s268ms Jan 17 06 1 45s599ms 45s599ms 10 1 45s577ms 45s577ms 14 1 45s667ms 45s667ms 18 1 46s92ms 46s92ms Jan 18 19 1 45s618ms 45s618ms [ User: postgres - Total duration: 18m13s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 18m13s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-01-16 06:05:48 Duration: 46s978ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-01-17 18:05:48 Duration: 46s92ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-01-13 06:05:48 Duration: 45s947ms Database: ctdprd51 User: postgres Application: pg_dump
9 1s3ms 38m47s 35s608ms 204 2h1m4s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jan 12 02 1 7s575ms 7s575ms 04 2 34s225ms 17s112ms 07 1 4s252ms 4s252ms 08 1 3s23ms 3s23ms 09 2 38s880ms 19s440ms 10 1 1s609ms 1s609ms 17 1 12s46ms 12s46ms 18 2 55s456ms 27s728ms 19 1 1s860ms 1s860ms 20 1 1s856ms 1s856ms 21 1 11s966ms 11s966ms 22 4 16s104ms 4s26ms 23 1 7s593ms 7s593ms Jan 13 00 1 7s676ms 7s676ms 01 1 3s348ms 3s348ms 02 4 44s854ms 11s213ms 06 1 10s939ms 10s939ms 07 3 15s99ms 5s33ms 08 1 1s456ms 1s456ms 09 11 3m2s 16s576ms 12 1 1s121ms 1s121ms 13 2 2s596ms 1s298ms 14 1 1s698ms 1s698ms 16 1 1s888ms 1s888ms 18 2 26s471ms 13s235ms 21 6 1m8s 11s466ms 22 4 4m1s 1m Jan 14 05 1 5s672ms 5s672ms 06 4 4s514ms 1s128ms 07 10 1m59s 11s977ms 08 3 31s550ms 10s516ms 09 2 38s145ms 19s72ms 15 1 1s974ms 1s974ms 16 5 3m57s 47s439ms 17 1 43s999ms 43s999ms 19 2 3s483ms 1s741ms 20 4 39s762ms 9s940ms 23 1 14s589ms 14s589ms Jan 15 00 5 1h19m37s 15m55s 06 4 33s906ms 8s476ms 07 5 2m10s 26s135ms 08 5 3m2s 36s578ms 09 35 5m28s 9s381ms 13 1 7s888ms 7s888ms 17 1 2s309ms 2s309ms 18 1 7s411ms 7s411ms 21 5 22s473ms 4s494ms 23 1 9s722ms 9s722ms Jan 16 00 2 16s106ms 8s53ms 01 2 31s360ms 15s680ms 02 6 2m25s 24s309ms 04 1 1s600ms 1s600ms 05 2 10s471ms 5s235ms 06 2 10s818ms 5s409ms 10 1 1s590ms 1s590ms 23 1 7s204ms 7s204ms Jan 17 03 2 3s158ms 1s579ms 04 1 1s522ms 1s522ms 08 14 1m59s 8s530ms 09 7 45s163ms 6s451ms 16 1 2s238ms 2s238ms 20 1 3s232ms 3s232ms 21 1 1s72ms 1s72ms 23 1 7s340ms 7s340ms Jan 18 05 2 3s73ms 1s536ms 20 1 1s828ms 1s828ms 22 1 1s156ms 1s156ms [ User: pubeu - Total duration: 22m16s - Times executed: 90 ]
-
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 = '2084747') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-15 00:47:08 Duration: 38m47s 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 = '2084747') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-15 00:47:13 Duration: 38m26s 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 = '2092048') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-13 22:53:13 Duration: 2m19s Database: ctdprd51 User: pubeu Bind query: yes
10 1s16ms 24s422ms 9s260ms 229 35m20s 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 #10
Day Hour Count Duration Avg duration Jan 12 06 1 1s138ms 1s138ms 08 1 3s865ms 3s865ms Jan 13 07 1 1s95ms 1s95ms 09 1 6s540ms 6s540ms 11 3 21s757ms 7s252ms 15 3 1m7s 22s648ms Jan 14 06 2 2s700ms 1s350ms 07 1 3s988ms 3s988ms 09 3 6s236ms 2s78ms 10 2 42s98ms 21s49ms 11 12 3m21s 16s767ms 12 1 1s266ms 1s266ms 13 2 20s970ms 10s485ms 14 4 30s711ms 7s677ms 15 3 16s161ms 5s387ms 16 2 14s70ms 7s35ms 17 3 24s870ms 8s290ms 18 4 31s487ms 7s871ms 19 8 34s724ms 4s340ms 20 7 23s145ms 3s306ms 21 4 15s186ms 3s796ms 22 1 21s847ms 21s847ms 23 3 26s917ms 8s972ms Jan 15 05 2 25s19ms 12s509ms 06 3 24s562ms 8s187ms 07 2 11s882ms 5s941ms 09 1 3s316ms 3s316ms 10 2 4s710ms 2s355ms 11 2 5s294ms 2s647ms 12 6 1m23s 13s941ms 13 1 17s980ms 17s980ms 14 4 1m6s 16s557ms 15 4 30s523ms 7s630ms 16 5 1m51s 22s393ms 17 3 9s629ms 3s209ms 18 5 1m1s 12s395ms 19 1 21s318ms 21s318ms 20 5 1m2s 12s563ms 22 2 11s982ms 5s991ms 23 2 2s955ms 1s477ms Jan 16 00 4 29s53ms 7s263ms 01 2 5s817ms 2s908ms 02 3 10s941ms 3s647ms 03 1 1s778ms 1s778ms 04 1 7s266ms 7s266ms 05 2 10s230ms 5s115ms 12 6 36s812ms 6s135ms 15 3 3s218ms 1s72ms 17 4 1m8s 17s240ms 20 2 7s735ms 3s867ms Jan 17 03 1 2s205ms 2s205ms 04 2 11s631ms 5s815ms 05 2 4s47ms 2s23ms 06 1 3s45ms 3s45ms 08 3 31s474ms 10s491ms 11 2 42s809ms 21s404ms 12 4 50s241ms 12s560ms 16 2 2s640ms 1s320ms 18 1 3s80ms 3s80ms 20 6 53s794ms 8s965ms 21 1 20s746ms 20s746ms Jan 18 01 1 1s71ms 1s71ms 04 3 1m9s 23s245ms 05 3 1m7s 22s370ms 08 6 37s620ms 6s270ms 12 3 22s706ms 7s568ms 13 6 1m6s 11s105ms 14 9 1m17s 8s622ms 15 5 25s961ms 5s192ms 16 6 1m8s 11s452ms 18 1 1s894ms 1s894ms 19 3 48s621ms 16s207ms 20 3 23s522ms 7s840ms 21 5 26s138ms 5s227ms [ User: pubeu - Total duration: 11m57s - Times executed: 68 ]
-
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 = '1222378') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-01-15 16:53:28 Duration: 24s422ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1246190') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-01-18 13:31:58 Duration: 24s421ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222378') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-01-18 04:19:27 Duration: 24s51ms Database: ctdprd51 User: pubeu Bind query: yes
11 1s5ms 17s933ms 6s598ms 124 13m38s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 13 05 1 1s62ms 1s62ms 13 1 1s291ms 1s291ms 17 1 1s6ms 1s6ms Jan 14 06 3 23s300ms 7s766ms 07 3 4s246ms 1s415ms 08 1 2s296ms 2s296ms 09 5 40s626ms 8s125ms 11 5 54s749ms 10s949ms 12 1 3s473ms 3s473ms 13 1 1s31ms 1s31ms 14 8 38s219ms 4s777ms 15 2 21s521ms 10s760ms 17 1 1s26ms 1s26ms 18 1 1s96ms 1s96ms 19 2 16s695ms 8s347ms 20 3 17s735ms 5s911ms 21 2 7s416ms 3s708ms 22 3 21s788ms 7s262ms 23 2 8s926ms 4s463ms Jan 15 05 4 31s142ms 7s785ms 06 1 15s667ms 15s667ms 07 1 1s148ms 1s148ms 11 6 26s607ms 4s434ms 13 4 38s191ms 9s547ms 14 1 2s390ms 2s390ms 15 1 1s974ms 1s974ms 16 3 28s536ms 9s512ms 17 2 7s186ms 3s593ms 18 4 9s381ms 2s345ms 19 4 31s907ms 7s976ms 20 3 19s247ms 6s415ms 21 4 29s433ms 7s358ms 22 2 22s19ms 11s9ms 23 3 36s487ms 12s162ms Jan 16 00 3 11s519ms 3s839ms 01 2 5s870ms 2s935ms 02 1 2s471ms 2s471ms 04 2 2s349ms 1s174ms 05 1 1s609ms 1s609ms 06 2 19s938ms 9s969ms 07 3 20s327ms 6s775ms 10 1 1s67ms 1s67ms 13 1 1s105ms 1s105ms 20 1 5s315ms 5s315ms Jan 17 05 1 1s111ms 1s111ms 06 1 2s454ms 2s454ms 16 1 1s58ms 1s58ms 18 1 1s119ms 1s119ms Jan 18 04 3 49s631ms 16s543ms 07 3 52s480ms 17s493ms 10 1 1s42ms 1s42ms 13 3 51s950ms 17s316ms 19 1 3s664ms 3s664ms 21 3 13s307ms 4s435ms [ User: pubeu - Total duration: 4m36s - Times executed: 37 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222378'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-18 13:31:55 Duration: 17s933ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222378'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-18 07:44:00 Duration: 17s773ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222378'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-18 07:44:00 Duration: 17s501ms Database: ctdprd51 User: pubeu Bind query: yes
12 1s 7s249ms 4s495ms 328 24m34s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jan 12 02 1 1s 1s 03 4 19s524ms 4s881ms 04 3 14s287ms 4s762ms 05 1 5s117ms 5s117ms 06 1 5s369ms 5s369ms 08 1 5s460ms 5s460ms 09 13 1m10s 5s458ms 10 1 5s211ms 5s211ms 12 3 14s116ms 4s705ms 13 4 20s485ms 5s121ms 15 1 4s805ms 4s805ms 16 1 4s813ms 4s813ms 18 1 1s16ms 1s16ms 20 2 10s138ms 5s69ms 22 1 5s747ms 5s747ms 23 3 11s249ms 3s749ms Jan 13 00 2 10s318ms 5s159ms 01 1 5s808ms 5s808ms 02 3 16s802ms 5s600ms 03 7 31s535ms 4s505ms 06 1 5s323ms 5s323ms 07 2 10s661ms 5s330ms 08 3 11s521ms 3s840ms 09 3 11s527ms 3s842ms 10 2 10s552ms 5s276ms 12 1 5s225ms 5s225ms 13 1 1s13ms 1s13ms 15 3 15s142ms 5s47ms 17 5 25s971ms 5s194ms 18 2 6s230ms 3s115ms 19 1 1s2ms 1s2ms 20 5 26s20ms 5s204ms 21 1 4s948ms 4s948ms Jan 14 05 1 1s12ms 1s12ms 06 5 13s396ms 2s679ms 07 2 6s216ms 3s108ms 08 3 15s764ms 5s254ms 09 2 10s359ms 5s179ms 10 2 6s135ms 3s67ms 11 8 37s771ms 4s721ms 12 1 5s128ms 5s128ms 13 1 5s88ms 5s88ms 14 6 26s870ms 4s478ms 15 6 32s331ms 5s388ms 16 5 26s720ms 5s344ms 17 10 48s144ms 4s814ms 18 2 10s252ms 5s126ms 19 5 21s766ms 4s353ms 20 6 25s426ms 4s237ms 21 3 16s279ms 5s426ms 22 7 23s596ms 3s370ms 23 21 1m8s 3s283ms Jan 15 00 6 33s707ms 5s617ms 05 1 5s133ms 5s133ms 07 2 6s97ms 3s48ms 09 2 11s243ms 5s621ms 10 3 15s614ms 5s204ms 12 3 15s427ms 5s142ms 13 3 16s48ms 5s349ms 14 1 1s1ms 1s1ms 15 4 16s987ms 4s246ms 16 2 6s234ms 3s117ms 17 3 15s449ms 5s149ms 18 1 5s416ms 5s416ms 19 4 18s419ms 4s604ms 20 3 11s614ms 3s871ms 21 3 8s160ms 2s720ms 22 7 32s522ms 4s646ms 23 3 15s255ms 5s85ms Jan 16 00 4 17s82ms 4s270ms 01 3 11s404ms 3s801ms 02 7 24s127ms 3s446ms 03 1 5s467ms 5s467ms 04 6 31s133ms 5s188ms 05 1 5s222ms 5s222ms 06 3 15s329ms 5s109ms 08 1 5s351ms 5s351ms 09 1 1s21ms 1s21ms 12 5 21s484ms 4s296ms 17 1 5s119ms 5s119ms 20 1 1s1ms 1s1ms 21 3 15s304ms 5s101ms Jan 17 01 2 6s254ms 3s127ms 02 1 5s153ms 5s153ms 03 2 6s205ms 3s102ms 04 3 15s601ms 5s200ms 06 4 16s424ms 4s106ms 07 1 4s989ms 4s989ms 09 8 40s481ms 5s60ms 12 4 21s139ms 5s284ms 13 1 5s110ms 5s110ms 16 2 9s855ms 4s927ms 17 4 21s351ms 5s337ms 19 4 12s295ms 3s73ms 20 2 10s666ms 5s333ms 21 1 5s494ms 5s494ms 22 2 10s95ms 5s47ms Jan 18 03 1 5s32ms 5s32ms 06 2 6s121ms 3s60ms 07 1 5s106ms 5s106ms 09 1 5s199ms 5s199ms 10 1 5s201ms 5s201ms 11 1 5s81ms 5s81ms 12 5 25s68ms 5s13ms 14 1 5s227ms 5s227ms 18 2 10s626ms 5s313ms 20 2 6s750ms 3s375ms 21 2 10s450ms 5s225ms [ User: pubeu - Total duration: 6m53s - Times executed: 92 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1406030' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-17 09:09:38 Duration: 7s249ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1288504' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-15 19:56:20 Duration: 6s886ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1370847' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-14 20:10:37 Duration: 6s833ms Bind query: yes
13 3s711ms 5s441ms 3s972ms 307 20m19s select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jan 12 02 8 31s594ms 3s949ms 03 1 4s191ms 4s191ms 04 1 4s6ms 4s6ms 06 2 8s93ms 4s46ms 07 6 23s498ms 3s916ms 08 7 27s777ms 3s968ms 09 6 23s404ms 3s900ms 10 12 46s180ms 3s848ms 12 5 19s328ms 3s865ms 14 2 7s777ms 3s888ms 16 1 3s852ms 3s852ms 17 2 7s605ms 3s802ms 20 1 3s844ms 3s844ms 23 2 8s35ms 4s17ms Jan 13 00 1 3s951ms 3s951ms 01 1 3s751ms 3s751ms 02 2 9s165ms 4s582ms 03 3 12s27ms 4s9ms 04 1 3s909ms 3s909ms 05 1 3s924ms 3s924ms 06 3 11s832ms 3s944ms 07 1 3s982ms 3s982ms 09 3 11s780ms 3s926ms 10 1 4s213ms 4s213ms 11 1 3s940ms 3s940ms 13 1 4s15ms 4s15ms 14 1 3s765ms 3s765ms 15 1 4s4ms 4s4ms 16 2 7s750ms 3s875ms 17 2 7s622ms 3s811ms 18 2 7s971ms 3s985ms 20 1 3s798ms 3s798ms Jan 14 05 1 4s75ms 4s75ms 06 1 3s787ms 3s787ms 07 2 9s396ms 4s698ms 11 1 4s44ms 4s44ms 12 2 7s706ms 3s853ms 13 1 3s979ms 3s979ms 14 4 15s485ms 3s871ms 15 2 7s736ms 3s868ms 16 3 11s571ms 3s857ms 17 2 7s972ms 3s986ms 18 1 4s25ms 4s25ms 20 1 3s764ms 3s764ms 21 2 7s609ms 3s804ms 23 1 3s866ms 3s866ms Jan 15 07 1 4s28ms 4s28ms 09 3 12s147ms 4s49ms 10 1 4s148ms 4s148ms 11 1 3s819ms 3s819ms 12 2 7s947ms 3s973ms 13 2 7s855ms 3s927ms 14 1 4s195ms 4s195ms 15 5 20s174ms 4s34ms 16 1 4s454ms 4s454ms 17 3 11s568ms 3s856ms 19 8 31s66ms 3s883ms 20 30 2m1s 4s60ms 21 2 8s119ms 4s59ms 22 2 8s294ms 4s147ms 23 3 11s428ms 3s809ms Jan 16 00 2 8s24ms 4s12ms 01 3 11s979ms 3s993ms 03 1 4s38ms 4s38ms 04 6 23s779ms 3s963ms 05 1 3s754ms 3s754ms 06 3 12s106ms 4s35ms 08 1 3s808ms 3s808ms 09 12 47s61ms 3s921ms 10 10 39s994ms 3s999ms 11 6 23s479ms 3s913ms 12 7 28s96ms 4s13ms 13 6 23s967ms 3s994ms 14 2 7s826ms 3s913ms 15 1 4s47ms 4s47ms 16 2 7s866ms 3s933ms 17 7 27s229ms 3s889ms 18 1 4s24ms 4s24ms 19 3 11s792ms 3s930ms 20 2 9s231ms 4s615ms 22 1 3s883ms 3s883ms 23 1 3s909ms 3s909ms Jan 17 00 1 3s843ms 3s843ms 01 2 7s615ms 3s807ms 02 3 11s972ms 3s990ms 03 4 16s103ms 4s25ms 05 5 19s821ms 3s964ms 06 2 7s827ms 3s913ms 07 1 3s925ms 3s925ms 08 1 4s49ms 4s49ms 12 5 19s859ms 3s971ms 13 4 16s445ms 4s111ms 14 1 3s978ms 3s978ms 15 2 7s942ms 3s971ms 16 2 8s17ms 4s8ms 17 1 3s794ms 3s794ms 19 1 3s952ms 3s952ms 20 1 3s942ms 3s942ms Jan 18 00 1 3s888ms 3s888ms 01 3 11s862ms 3s954ms 02 2 7s820ms 3s910ms 03 1 3s992ms 3s992ms 05 2 8s213ms 4s106ms 06 1 4s615ms 4s615ms 09 3 11s665ms 3s888ms 12 1 3s827ms 3s827ms 14 1 3s943ms 3s943ms 17 1 3s771ms 3s771ms 18 1 4s264ms 4s264ms 20 1 4s97ms 4s97ms 21 2 7s862ms 3s931ms [ User: pubeu - Total duration: 6m33s - Times executed: 99 ]
-
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 = '1344282') 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 = '1344282') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-01-14 07:01:17 Duration: 5s441ms 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 = '1344282') 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 = '1344282') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-01-16 20:31:49 Duration: 5s303ms 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 = '1267714') 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 = '1267714') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-01-13 02:09:44 Duration: 4s698ms Database: ctdprd51 User: pubeu Bind query: yes
14 1s 26s951ms 3s963ms 96 6m20s 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 #14
Day Hour Count Duration Avg duration Jan 12 00 1 2s24ms 2s24ms 03 4 32s74ms 8s18ms 05 2 4s147ms 2s73ms 11 1 4s127ms 4s127ms 12 1 4s157ms 4s157ms 13 1 1s360ms 1s360ms 15 2 25s119ms 12s559ms 18 1 1s328ms 1s328ms 19 2 6s999ms 3s499ms 22 1 2s794ms 2s794ms 23 1 1s633ms 1s633ms Jan 13 00 2 13s369ms 6s684ms 03 4 11s593ms 2s898ms 04 1 3s975ms 3s975ms 05 1 1s491ms 1s491ms 06 2 6s730ms 3s365ms 07 1 1s852ms 1s852ms 08 3 6s952ms 2s317ms 09 1 4s935ms 4s935ms 10 5 32s853ms 6s570ms 13 2 5s365ms 2s682ms 14 3 7s115ms 2s371ms 15 2 5s742ms 2s871ms 18 1 1s758ms 1s758ms 19 1 1s802ms 1s802ms 20 2 4s302ms 2s151ms Jan 14 05 1 1s6ms 1s6ms 08 2 10s859ms 5s429ms 12 1 2s335ms 2s335ms 13 3 3s226ms 1s75ms 14 1 1s935ms 1s935ms 15 1 1s916ms 1s916ms 16 1 2s96ms 2s96ms 20 1 1s 1s 21 1 2s704ms 2s704ms 22 1 2s421ms 2s421ms Jan 15 05 1 1s570ms 1s570ms 09 6 37s651ms 6s275ms 11 2 4s789ms 2s394ms 20 1 2s724ms 2s724ms 21 2 5s955ms 2s977ms Jan 16 03 1 1s344ms 1s344ms 07 1 4s774ms 4s774ms 11 1 5s645ms 5s645ms Jan 17 00 8 44s399ms 5s549ms 01 2 3s658ms 1s829ms 08 2 5s702ms 2s851ms 19 2 2s163ms 1s81ms 21 2 9s68ms 4s534ms Jan 18 00 1 1s304ms 1s304ms 11 1 14s783ms 14s783ms 17 1 4s916ms 4s916ms 18 1 4s979ms 4s979ms [ User: pubeu - Total duration: 3m21s - Times executed: 37 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2085222') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4367750;
Date: 2025-01-12 03:25:17 Duration: 26s951ms 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 = '2081635') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3766150;
Date: 2025-01-12 15:29:32 Duration: 22s326ms 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 = '2081635') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3766150;
Date: 2025-01-13 10:54:27 Duration: 22s299ms Database: ctdprd51 User: pubeu Bind query: yes
15 1s2ms 18s520ms 3s924ms 839 54m52s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jan 12 00 6 17s871ms 2s978ms 01 3 12s935ms 4s311ms 02 8 15s22ms 1s877ms 03 5 25s847ms 5s169ms 04 2 7s730ms 3s865ms 05 1 3s713ms 3s713ms 06 5 21s417ms 4s283ms 07 4 12s641ms 3s160ms 08 4 26s376ms 6s594ms 09 8 35s183ms 4s397ms 10 3 20s789ms 6s929ms 11 3 18s535ms 6s178ms 12 2 7s150ms 3s575ms 13 2 7s464ms 3s732ms 14 7 26s722ms 3s817ms 15 2 6s351ms 3s175ms 16 4 19s716ms 4s929ms 17 4 21s622ms 5s405ms 18 3 16s867ms 5s622ms 19 5 9s189ms 1s837ms 20 1 2s676ms 2s676ms 21 4 14s222ms 3s555ms 22 4 14s416ms 3s604ms 23 5 8s242ms 1s648ms Jan 13 00 1 5s255ms 5s255ms 01 3 14s504ms 4s834ms 02 4 14s717ms 3s679ms 03 7 31s766ms 4s538ms 04 5 16s23ms 3s204ms 05 3 10s342ms 3s447ms 06 5 13s567ms 2s713ms 07 8 17s222ms 2s152ms 08 5 14s444ms 2s888ms 09 2 9s367ms 4s683ms 10 6 34s780ms 5s796ms 11 10 32s789ms 3s278ms 12 2 10s151ms 5s75ms 13 5 21s74ms 4s214ms 14 4 19s259ms 4s814ms 15 4 21s519ms 5s379ms 16 7 31s817ms 4s545ms 17 8 31s903ms 3s987ms 18 7 20s463ms 2s923ms 19 3 23s933ms 7s977ms 20 10 28s383ms 2s838ms 21 1 10s384ms 10s384ms 22 2 11s369ms 5s684ms Jan 14 05 1 2s795ms 2s795ms 06 3 6s788ms 2s262ms 07 1 2s534ms 2s534ms 08 8 26s969ms 3s371ms 09 5 20s244ms 4s48ms 10 5 25s293ms 5s58ms 11 4 24s844ms 6s211ms 12 6 38s525ms 6s420ms 13 5 23s128ms 4s625ms 14 4 8s829ms 2s207ms 15 7 27s791ms 3s970ms 16 9 1m4s 7s137ms 17 5 12s789ms 2s557ms 18 3 4s391ms 1s463ms 19 57 3m7s 3s283ms 20 72 3m49s 3s191ms 21 97 6m15s 3s868ms 22 85 5m44s 4s54ms 23 2 9s98ms 4s549ms Jan 15 00 2 4s418ms 2s209ms 06 13 1m7s 5s207ms 07 8 23s684ms 2s960ms 08 1 2s162ms 2s162ms 09 5 16s411ms 3s282ms 10 1 1s310ms 1s310ms 11 1 5s495ms 5s495ms 12 5 30s874ms 6s174ms 13 5 16s143ms 3s228ms 14 7 16s79ms 2s297ms 15 5 21s333ms 4s266ms 16 2 5s83ms 2s541ms 17 2 7s414ms 3s707ms 18 2 9s117ms 4s558ms 19 6 20s251ms 3s375ms 20 4 13s821ms 3s455ms 21 3 15s368ms 5s122ms 22 6 18s409ms 3s68ms 23 2 2s431ms 1s215ms Jan 16 00 4 11s456ms 2s864ms 01 4 16s211ms 4s52ms 02 4 19s20ms 4s755ms 03 1 2s907ms 2s907ms 04 3 18s45ms 6s15ms 05 5 17s115ms 3s423ms 06 4 16s753ms 4s188ms 07 10 1m26s 8s676ms 08 1 1s2ms 1s2ms 09 1 4s688ms 4s688ms 10 1 5s305ms 5s305ms 11 3 16s78ms 5s359ms 12 4 9s415ms 2s353ms 13 1 1s323ms 1s323ms 14 4 36s131ms 9s32ms 15 3 21s823ms 7s274ms 17 5 20s61ms 4s12ms 18 2 9s156ms 4s578ms 19 1 1s28ms 1s28ms 20 1 10s62ms 10s62ms 22 8 26s299ms 3s287ms 23 2 4s302ms 2s151ms Jan 17 00 3 12s868ms 4s289ms 02 5 16s379ms 3s275ms 04 2 2s607ms 1s303ms 05 4 17s569ms 4s392ms 06 3 9s369ms 3s123ms 07 3 6s437ms 2s145ms 08 13 45s685ms 3s514ms 09 3 6s514ms 2s171ms 10 1 5s391ms 5s391ms 11 2 6s621ms 3s310ms 12 1 1s235ms 1s235ms 13 3 14s240ms 4s746ms 14 6 19s631ms 3s271ms 15 1 1s132ms 1s132ms 17 3 23s786ms 7s928ms 18 2 6s390ms 3s195ms 19 4 14s727ms 3s681ms 20 3 19s970ms 6s656ms 21 4 10s598ms 2s649ms Jan 18 02 1 2s774ms 2s774ms 05 3 20s124ms 6s708ms 06 9 41s986ms 4s665ms 08 6 25s550ms 4s258ms 09 1 1s812ms 1s812ms 11 1 2s771ms 2s771ms 12 4 15s649ms 3s912ms 14 3 3s745ms 1s248ms 15 1 1s129ms 1s129ms 16 2 11s713ms 5s856ms 17 1 2s785ms 2s785ms 18 1 5s124ms 5s124ms 20 1 10s82ms 10s82ms 23 1 1s53ms 1s53ms [ User: pubeu - Total duration: 13m14s - Times executed: 200 ]
-
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 = '2079972') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-01-14 12:48:56 Duration: 18s520ms 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 = '2090292') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-01-14 21:12:21 Duration: 12s874ms 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 = '2090292') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-01-14 16:01:22 Duration: 12s705ms Bind query: yes
16 1s1ms 6s857ms 3s18ms 1,391 1h9m58s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jan 12 00 5 13s416ms 2s683ms 01 10 27s625ms 2s762ms 02 10 27s414ms 2s741ms 03 11 36s411ms 3s310ms 04 4 15s920ms 3s980ms 05 12 29s842ms 2s486ms 06 6 13s379ms 2s229ms 07 9 24s301ms 2s700ms 08 9 25s105ms 2s789ms 09 16 40s274ms 2s517ms 10 9 29s482ms 3s275ms 11 5 12s638ms 2s527ms 12 4 11s339ms 2s834ms 13 6 16s377ms 2s729ms 14 3 10s928ms 3s642ms 15 6 19s96ms 3s182ms 16 10 32s823ms 3s282ms 17 5 15s301ms 3s60ms 18 6 13s893ms 2s315ms 19 6 12s660ms 2s110ms 20 7 16s887ms 2s412ms 21 4 12s157ms 3s39ms 22 9 26s262ms 2s918ms 23 13 35s695ms 2s745ms Jan 13 00 4 7s505ms 1s876ms 01 4 12s916ms 3s229ms 02 11 33s302ms 3s27ms 03 10 25s325ms 2s532ms 04 9 19s900ms 2s211ms 05 9 31s833ms 3s537ms 06 6 25s38ms 4s173ms 07 3 5s138ms 1s712ms 08 17 1m2s 3s665ms 09 14 34s731ms 2s480ms 10 13 38s818ms 2s986ms 11 13 40s488ms 3s114ms 12 10 23s828ms 2s382ms 13 10 29s526ms 2s952ms 14 7 14s34ms 2s4ms 15 12 34s901ms 2s908ms 16 9 35s 3s888ms 17 6 23s87ms 3s847ms 18 13 42s539ms 3s272ms 19 13 31s639ms 2s433ms 20 8 23s706ms 2s963ms 21 2 5s144ms 2s572ms 22 6 16s87ms 2s681ms Jan 14 05 4 14s218ms 3s554ms 06 20 1m3s 3s190ms 07 20 1m4s 3s210ms 08 17 1m2s 3s694ms 09 17 37s987ms 2s234ms 10 31 1m24s 2s716ms 11 13 37s888ms 2s914ms 12 2 9s489ms 4s744ms 13 15 53s621ms 3s574ms 14 24 1m15s 3s156ms 15 25 1m17s 3s113ms 16 21 1m31s 4s355ms 17 33 1m55s 3s510ms 18 29 1m19s 2s739ms 19 24 1m9s 2s897ms 20 16 49s206ms 3s75ms 21 23 1m1s 2s688ms 22 19 53s901ms 2s836ms 23 78 3m47s 2s914ms Jan 15 00 6 15s828ms 2s638ms 05 6 13s561ms 2s260ms 06 13 43s523ms 3s347ms 07 14 39s787ms 2s841ms 08 5 15s729ms 3s145ms 09 2 8s517ms 4s258ms 10 23 1m7s 2s913ms 11 32 1m29s 2s796ms 12 21 1m7s 3s195ms 13 20 59s665ms 2s983ms 14 20 50s661ms 2s533ms 15 28 1m39s 3s564ms 16 20 1m3s 3s187ms 17 26 1m11s 2s760ms 18 14 36s847ms 2s631ms 19 19 1m7s 3s576ms 20 22 1m12s 3s299ms 21 29 1m25s 2s965ms 22 16 49s850ms 3s115ms 23 17 48s684ms 2s863ms Jan 16 00 16 58s801ms 3s675ms 01 27 1m15s 2s792ms 02 15 41s407ms 2s760ms 03 6 18s778ms 3s129ms 04 26 1m9s 2s672ms 05 19 1m1s 3s249ms 06 8 28s503ms 3s562ms 07 12 31s866ms 2s655ms 08 9 25s344ms 2s816ms 09 6 18s388ms 3s64ms 10 6 16s392ms 2s732ms 11 6 14s627ms 2s437ms 12 9 24s331ms 2s703ms 13 6 26s494ms 4s415ms 14 1 6s68ms 6s68ms 15 2 4s320ms 2s160ms 17 1 3s909ms 3s909ms Jan 17 04 1 2s871ms 2s871ms 07 1 6s204ms 6s204ms 09 6 16s260ms 2s710ms 17 3 6s494ms 2s164ms 19 3 18s364ms 6s121ms Jan 18 02 3 18s919ms 6s306ms 03 2 6s470ms 3s235ms 04 2 2s904ms 1s452ms 05 1 6s213ms 6s213ms 06 3 14s931ms 4s977ms 08 2 2s333ms 1s166ms 10 1 2s31ms 2s31ms 12 6 15s921ms 2s653ms 13 2 12s274ms 6s137ms 14 1 2s929ms 2s929ms 16 1 3s378ms 3s378ms [ User: pubeu - Total duration: 18m55s - Times executed: 381 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399640'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-14 08:38:03 Duration: 6s857ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399640'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-14 07:07:45 Duration: 6s833ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399640'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-01-12 04:32:02 Duration: 6s773ms Bind query: yes
17 1s18ms 6s496ms 2s852ms 221 10m30s select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 12 02 2 7s768ms 3s884ms 03 3 6s121ms 2s40ms 05 1 1s453ms 1s453ms 07 3 8s783ms 2s927ms 08 3 5s344ms 1s781ms 09 3 9s809ms 3s269ms 10 3 7s440ms 2s480ms 11 1 3s687ms 3s687ms 12 2 6s523ms 3s261ms 13 1 2s209ms 2s209ms 14 1 5s755ms 5s755ms 16 2 4s240ms 2s120ms 18 3 17s43ms 5s681ms 20 1 3s743ms 3s743ms 22 1 2s770ms 2s770ms 23 1 2s88ms 2s88ms Jan 13 02 1 2s209ms 2s209ms 04 1 2s354ms 2s354ms 05 1 2s130ms 2s130ms 06 2 6s895ms 3s447ms 07 2 3s361ms 1s680ms 08 1 2s731ms 2s731ms 09 1 1s264ms 1s264ms 11 2 6s88ms 3s44ms 12 1 2s686ms 2s686ms 13 2 5s437ms 2s718ms 14 2 3s643ms 1s821ms 15 1 5s725ms 5s725ms 16 1 1s292ms 1s292ms 17 1 2s36ms 2s36ms 18 2 4s733ms 2s366ms 20 2 3s962ms 1s981ms 21 1 3s459ms 3s459ms 22 2 5s228ms 2s614ms Jan 14 08 2 7s715ms 3s857ms 09 1 2s50ms 2s50ms 10 5 14s961ms 2s992ms 11 5 11s806ms 2s361ms 13 1 2s683ms 2s683ms 14 1 2s187ms 2s187ms 15 8 14s732ms 1s841ms 16 2 4s324ms 2s162ms 17 4 19s442ms 4s860ms 18 6 17s658ms 2s943ms 19 3 9s373ms 3s124ms 20 5 21s246ms 4s249ms 21 6 15s123ms 2s520ms 22 5 13s960ms 2s792ms 23 3 13s561ms 4s520ms Jan 15 06 4 6s670ms 1s667ms 08 2 4s585ms 2s292ms 10 2 3s806ms 1s903ms 11 2 2s689ms 1s344ms 12 5 8s12ms 1s602ms 15 3 10s476ms 3s492ms 16 1 1s565ms 1s565ms 17 2 4s271ms 2s135ms 18 2 7s794ms 3s897ms 19 1 2s248ms 2s248ms 20 2 7s670ms 3s835ms 21 3 8s113ms 2s704ms 22 19 1m 3s197ms 23 2 3s432ms 1s716ms Jan 16 00 1 2s333ms 2s333ms 01 2 8s56ms 4s28ms 05 2 3s727ms 1s863ms 07 1 2s169ms 2s169ms 08 1 2s104ms 2s104ms 09 2 4s277ms 2s138ms 12 2 3s706ms 1s853ms 13 5 16s421ms 3s284ms 14 1 5s695ms 5s695ms 17 2 3s181ms 1s590ms Jan 17 03 6 23s744ms 3s957ms 04 1 2s91ms 2s91ms 05 2 3s131ms 1s565ms 07 2 4s327ms 2s163ms 08 5 19s879ms 3s975ms 11 1 1s636ms 1s636ms 12 2 3s325ms 1s662ms Jan 18 04 3 6s652ms 2s217ms 06 1 2s718ms 2s718ms 08 1 2s96ms 2s96ms 12 3 18s846ms 6s282ms 14 4 14s817ms 3s704ms 15 1 1s263ms 1s263ms 21 4 7s198ms 1s799ms 22 1 2s331ms 2s331ms 23 1 1s639ms 1s639ms [ User: pubeu - Total duration: 2m49s - Times executed: 62 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '655388' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '655388') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-01-18 12:02:53 Duration: 6s496ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '655388' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '655388') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-01-14 23:04:42 Duration: 6s352ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '655388' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '655388') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-01-18 12:02:47 Duration: 6s273ms Bind query: yes
18 1s 6s924ms 2s710ms 1,137 51m21s select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 12 00 4 13s674ms 3s418ms 01 1 3s273ms 3s273ms 02 9 29s95ms 3s232ms 03 4 9s459ms 2s364ms 04 10 32s544ms 3s254ms 05 6 14s219ms 2s369ms 06 6 19s844ms 3s307ms 07 2 5s885ms 2s942ms 08 5 15s469ms 3s93ms 09 4 8s620ms 2s155ms 10 7 22s364ms 3s194ms 11 8 25s825ms 3s228ms 12 2 3s47ms 1s523ms 13 9 24s614ms 2s734ms 14 5 15s799ms 3s159ms 15 6 13s310ms 2s218ms 17 7 21s69ms 3s9ms 18 3 10s154ms 3s384ms 19 8 14s920ms 1s865ms 20 6 18s421ms 3s70ms 21 4 11s806ms 2s951ms 22 3 11s795ms 3s931ms 23 8 19s218ms 2s402ms Jan 13 00 4 12s917ms 3s229ms 01 6 18s718ms 3s119ms 02 8 25s269ms 3s158ms 03 9 22s890ms 2s543ms 04 2 8s998ms 4s499ms 05 4 15s232ms 3s808ms 06 7 23s283ms 3s326ms 07 11 32s482ms 2s952ms 08 15 48s400ms 3s226ms 09 11 37s321ms 3s392ms 10 5 13s977ms 2s795ms 11 9 23s86ms 2s565ms 12 3 8s157ms 2s719ms 13 6 15s390ms 2s565ms 14 9 27s732ms 3s81ms 15 10 30s361ms 3s36ms 16 5 10s140ms 2s28ms 17 4 11s396ms 2s849ms 18 6 15s861ms 2s643ms 19 8 21s845ms 2s730ms 20 13 38s819ms 2s986ms 21 1 4s443ms 4s443ms 22 3 6s870ms 2s290ms Jan 14 05 3 7s553ms 2s517ms 06 15 46s30ms 3s68ms 07 14 34s232ms 2s445ms 08 7 20s49ms 2s864ms 09 20 49s46ms 2s452ms 10 21 1m4s 3s77ms 11 18 50s599ms 2s811ms 12 6 16s789ms 2s798ms 13 10 35s58ms 3s505ms 14 16 42s688ms 2s668ms 15 24 1m 2s528ms 16 21 47s867ms 2s279ms 17 36 1m26s 2s409ms 18 26 1m 2s308ms 19 23 1m7s 2s920ms 20 24 55s924ms 2s330ms 21 21 1m2s 2s959ms 22 27 1m5s 2s433ms 23 74 3m16s 2s648ms Jan 15 00 8 15s251ms 1s906ms 05 6 17s631ms 2s938ms 06 9 16s857ms 1s873ms 07 10 25s143ms 2s514ms 08 2 2s288ms 1s144ms 09 2 4s807ms 2s403ms 10 11 30s285ms 2s753ms 11 15 34s245ms 2s283ms 12 20 47s217ms 2s360ms 13 11 22s583ms 2s53ms 14 11 24s886ms 2s262ms 15 15 46s910ms 3s127ms 16 7 17s327ms 2s475ms 17 25 1m1s 2s478ms 18 25 1m9s 2s795ms 19 16 43s330ms 2s708ms 20 17 46s211ms 2s718ms 21 22 1m 2s771ms 22 24 1m5s 2s714ms 23 19 54s441ms 2s865ms Jan 16 00 21 57s316ms 2s729ms 01 13 29s467ms 2s266ms 02 15 46s271ms 3s84ms 03 8 18s384ms 2s298ms 04 21 1m3s 3s14ms 05 13 30s455ms 2s342ms 06 6 20s600ms 3s433ms 07 10 28s171ms 2s817ms 08 4 11s478ms 2s869ms 09 2 7s435ms 3s717ms 10 7 21s95ms 3s13ms 11 1 2s590ms 2s590ms 12 4 8s248ms 2s62ms 13 3 6s556ms 2s185ms 14 1 3s181ms 3s181ms 17 2 4s639ms 2s319ms Jan 17 06 1 3s274ms 3s274ms 09 10 23s953ms 2s395ms 11 2 5s106ms 2s553ms 15 3 10s279ms 3s426ms 16 3 13s646ms 4s548ms 17 1 1s76ms 1s76ms 20 1 3s61ms 3s61ms Jan 18 01 1 1s450ms 1s450ms 09 1 1s131ms 1s131ms 10 1 4s673ms 4s673ms 12 10 23s669ms 2s366ms 13 2 10s740ms 5s370ms 19 1 1s19ms 1s19ms 21 2 5s309ms 2s654ms [ User: pubeu - Total duration: 13m55s - Times executed: 306 ]
-
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 = '1399640') 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 = '1399640') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-01-14 21:31:34 Duration: 6s924ms 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 = '1399640') 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 = '1399640') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-01-18 13:31:46 Duration: 5s782ms 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 = '1399640') 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 = '1399640') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-01-15 21:03:17 Duration: 5s276ms Bind query: yes
19 1s2ms 3s564ms 2s556ms 89 3m47s with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jan 12 00 1 3s460ms 3s460ms 02 1 1s903ms 1s903ms 05 3 7s777ms 2s592ms 14 1 1s816ms 1s816ms 17 1 2s449ms 2s449ms 18 1 2s420ms 2s420ms Jan 13 02 2 5s392ms 2s696ms 05 3 7s784ms 2s594ms 08 2 4s988ms 2s494ms 09 2 4s601ms 2s300ms 11 3 6s899ms 2s299ms 12 1 1s975ms 1s975ms 14 4 10s487ms 2s621ms 15 1 2s474ms 2s474ms 18 2 5s106ms 2s553ms 20 1 2s513ms 2s513ms 22 2 4s559ms 2s279ms Jan 14 05 4 8s776ms 2s194ms 07 2 4s489ms 2s244ms 09 1 3s193ms 3s193ms 11 4 7s702ms 1s925ms 13 1 2s99ms 2s99ms 15 1 3s371ms 3s371ms 16 4 9s71ms 2s267ms 18 1 3s362ms 3s362ms 19 1 3s226ms 3s226ms 20 1 3s457ms 3s457ms 23 2 6s539ms 3s269ms Jan 15 05 3 7s604ms 2s534ms 09 4 8s806ms 2s201ms 11 1 2s410ms 2s410ms 15 1 3s210ms 3s210ms 16 1 3s236ms 3s236ms 20 1 3s505ms 3s505ms Jan 16 00 1 1s775ms 1s775ms 05 4 9s9ms 2s252ms 12 1 2s890ms 2s890ms 17 1 3s246ms 3s246ms Jan 17 05 4 8s572ms 2s143ms 08 1 3s417ms 3s417ms 09 3 7s755ms 2s585ms 10 1 3s242ms 3s242ms 12 1 2s840ms 2s840ms 13 1 3s305ms 3s305ms Jan 18 04 1 3s327ms 3s327ms 05 3 7s705ms 2s568ms 09 1 3s233ms 3s233ms 14 1 3s209ms 3s209ms 23 1 3s329ms 3s329ms [ User: pubeu - Total duration: 1m36s - Times executed: 32 ]
[ User: qaeu - Total duration: 23s407ms - 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 = '594729' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-01-14 16:30:14 Duration: 3s564ms 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 = '594729' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-01-16 05:35:12 Duration: 3s521ms 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 = '594729' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-01-13 22:35:25 Duration: 3s520ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s22ms 3s226ms 2s99ms 120 4m11s select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jan 13 22 9 18s948ms 2s105ms Jan 14 09 3 6s114ms 2s38ms 12 6 14s524ms 2s420ms 16 1 1s234ms 1s234ms 21 64 2m10s 2s34ms Jan 15 06 1 2s495ms 2s495ms 08 8 17s711ms 2s213ms Jan 16 03 1 3s226ms 3s226ms 17 5 10s409ms 2s81ms 18 2 4s69ms 2s34ms Jan 17 03 7 14s762ms 2s108ms Jan 18 04 2 4s101ms 2s50ms 06 11 24s163ms 2s196ms [ User: pubeu - Total duration: 48s453ms - Times executed: 23 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2085941');
Date: 2025-01-16 03:37:22 Duration: 3s226ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2079972');
Date: 2025-01-14 12:48:59 Duration: 3s45ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2079875');
Date: 2025-01-14 21:27:30 Duration: 2s609ms 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 568 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Jan 11 14 1 0ms 0ms Jan 12 06 2 0ms 0ms 07 14 0ms 0ms 08 22 0ms 0ms 09 2 0ms 0ms 12 8 0ms 0ms Jan 13 07 10 0ms 0ms 09 8 0ms 0ms 10 8 0ms 0ms 11 20 0ms 0ms 12 10 0ms 0ms 13 10 0ms 0ms 16 24 0ms 0ms 17 18 0ms 0ms Jan 14 05 18 0ms 0ms 06 28 0ms 0ms 08 22 0ms 0ms 10 10 0ms 0ms 11 2 0ms 0ms 12 24 0ms 0ms 13 16 0ms 0ms 14 2 0ms 0ms 15 20 0ms 0ms 16 16 0ms 0ms Jan 15 06 12 0ms 0ms 09 16 0ms 0ms 11 6 0ms 0ms 12 16 0ms 0ms 13 24 0ms 0ms 15 18 0ms 0ms 16 36 0ms 0ms Jan 16 00 2 0ms 0ms 06 20 0ms 0ms 07 8 0ms 0ms 09 12 0ms 0ms 10 10 0ms 0ms 11 2 0ms 0ms 14 6 0ms 0ms 15 4 0ms 0ms 16 2 0ms 0ms 17 6 0ms 0ms Jan 17 10 9 0ms 0ms 11 6 0ms 0ms 12 9 0ms 0ms 13 15 0ms 0ms 14 6 0ms 0ms 15 6 0ms 0ms Jan 18 00 2 0ms 0ms [ User: pubeu - Total duration: 8m59s - Times executed: 230 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = 'SVW.CSVW.COM/SELFSERVICEJCT/SAP/BC/WEBDYNPRO/SAP/ZAPP_MAIN & (SAP-CLIENT=280 | SAPCLIENT=280)', $2 = 'SVW.CSVW.COM/SELFSERVICEJCT/SAP/BC/WEBDYNPRO/SAP/ZAPP_MAIN & (SAP-CLIENT=280 | SAPCLIENT=280)', $3 = 'SVW.CSVW.COM/SELFSERVICEJCT/SAP/BC/WEBDYNPRO/SAP/ZAPP_MAIN', $4 = '(SAP-CLIENT=280', $5 = 'SAPCLIENT=280)', $6 = 'SVW.CSVW.COM/SELFSERVICEJCT/SAP/BC/WEBDYNPRO/SAP/ZAPP_MAIN', $7 = 'SAP-CLIENT=280'
-
Events
Log levels
Key values
- 113,619 Log entries
Events distribution
Key values
- 0 PANIC entries
- 52 FATAL entries
- 125 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 78 Max number of times the same event was reported
- 177 Total events found
Rank Times reported Error 1 78 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Jan 12 01 1 02 3 04 1 05 1 08 2 19 1 21 3 22 1 23 2 Jan 13 00 4 01 1 02 1 04 1 05 1 18 1 19 1 20 1 Jan 14 10 1 12 1 14 1 15 1 20 2 21 1 Jan 15 00 2 07 1 09 1 10 1 12 2 20 2 21 1 22 2 Jan 16 01 1 02 1 03 1 05 2 10 1 14 1 Jan 17 00 2 01 2 02 1 03 1 04 1 06 1 07 1 08 1 09 2 20 1 Jan 18 01 1 02 1 05 1 10 1 11 1 16 2 19 1 20 1 22 2 23 2 - ERROR: syntax error in ts"908765454=/*+987 & 5 & FG & T & R & H & YU & J‘P】、451 & / & = & (|/*+-:* | |/*+:*)"
- ERROR: syntax error in ts"能登 ひらみゆき農園 ブルーベリー"
- ERROR: syntax error in ts"AIRDOG & X3D 価格比較"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 OR upper( l.acc_txt ) = $12 OR upper( l.acc_txt ) = $13 OR upper( l.acc_txt ) = $14 OR upper( l.acc_txt ) = $15 OR upper( l.acc_txt ) = $16 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-01-12 04:48:54 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-01-12 05:54:40
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-01-12 21:02:45 Database: ctdprd51 Application: User: pubeu Remote:
2 24 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #2
Day Hour Count Jan 12 02 1 Jan 13 23 2 Jan 14 07 1 15 1 21 3 22 1 Jan 15 08 3 15 1 Jan 16 01 1 18 3 Jan 18 06 3 10 2 12 2 - FATAL: connection to client lost
- FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-01-13 23:31:55
Statement: 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 */ 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
Date: 2025-01-14 07:39:40
3 23 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #3
Day Hour Count Jan 13 09 3 22 4 Jan 14 07 4 16 4 Jan 15 08 1 09 3 Jan 16 03 1 Jan 17 08 3 4 22 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count Jan 13 23 2 Jan 14 15 1 21 3 22 1 Jan 15 08 3 15 1 Jan 16 01 1 18 3 Jan 18 06 3 10 2 12 2 - ERROR: could not send data to client: Broken pipe
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-01-13 23:31:55 Database: ctdprd51 Application: User: pubeu Remote:
5 10 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #5
Day Hour Count Jan 14 18 3 19 2 Jan 15 22 1 Jan 16 17 1 18 2 Jan 17 11 1 6 7 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count Jan 13 09 2 Jan 14 16 2 Jan 15 09 2 Jan 17 09 1 7 4 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #7
Day Hour Count Jan 13 09 2 Jan 14 07 1 16 1 - ERROR: could not send data to client: Connection reset by peer
- ERROR: could not send data to client: Connection reset by peer
- ERROR: could not send data to client: Connection reset by peer
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a
Date: 2025-01-13 09:24:00 Database: ctdprd51 Application: User: pubeu Remote:
Statement: 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 */ 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
Date: 2025-01-14 07:39:40 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd
Date: 2025-01-14 16:12:47
8 2 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #8
Day Hour Count Jan 15 11 2 - FATAL: password authentication failed for user "pub2"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2025-01-15 11:15:17
9 1 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #9
Day Hour Count Jan 18 10 1 - ERROR: canceling statement due to user request
Statement: SELECT row_to_json(T) FROM ( SELECT CASE WHEN pg_is_in_recovery() THEN 0 ELSE pg_wal_lsn_diff(pg_current_wal_lsn(),'0/00000000') END AS WRITE, CASE WHEN NOT pg_is_in_recovery() THEN 0 ELSE pg_wal_lsn_diff(pg_last_wal_receive_lsn(),'0/00000000') END AS RECEIVE, count(*) FROM pg_ls_waldir() AS COUNT ) T;
Date: 2025-01-18 10:46:11
10 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Jan 17 10 1 - ERROR: duplicate key value violates unique constraint "term_label_ak1"
Detail: Key (acc_txt, synonym, term_label_type_id)=(C075750, 8-isoPGF2alpha, 34) already exists.
Statement: insert into edit.TERM_LABEL ( acc_txt ,nm ,acc_db_id ,synonym ,object_type_id ,term_label_type_id ,reference_acc_txt ,reference_acc_db_id ,notes ,create_by ,mod_by ) values ( 'C075750' ,'8-epi-prostaglandin F2alpha' ,21 ,'8-isoPGF2alpha' ,2 ,34 ,'34619205' ,16 ,'' ,'apdavis' ,'apdavis' )Date: 2025-01-17 10:37:44 Database: ctdprd51 Application: User: editeu Remote:
11 1 FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #11
Day Hour Count Jan 14 16 1 - FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2025-01-14 16:12:47
12 1 LOG: could not send data to client: Connection timed out
Times Reported Most Frequent Error / Event #12
Day Hour Count Jan 12 02 1 13 1 FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id
Times Reported Most Frequent Error / Event #13
Day Hour Count Jan 13 09 1 - FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2025-01-13 09:24:00
14 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #14
Day Hour Count Jan 16 11 1 - ERROR: relation "pub2term" does not exist at character 372
Statement: -- This provides discrepancies introduced this month - it is NOT aggregate select nm as Underlying_Term_Name ,acc_txt as Underlying_Term_Accession ,synonym ,reference_acc_txt ,notes ,create_by ,create_tm from edit.term_label where ( acc_txt, object_type_id ) not in ( -- Current Month's PUB select acc_txt, object_type_id from pub2term ) order by acc_txt select nm as Underlying_Term_Name ,acc_txt as Underlying_Term_Accession ,synonym ,reference_acc_txt ,notes ,create_by ,create_tm from edit.term_label where ( acc_txt, object_type_id ) not in ( -- Current Month's PUB select acc_txt, object_type_id from pub2.term ) order by acc_txt
Date: 2025-01-16 11:09:50
15 1 FATAL: ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort 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
Times Reported Most Frequent Error / Event #15
Day Hour Count Jan 13 09 1 - FATAL: ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort 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
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2025-01-13 09:24:00