-
Global information
- Generated on Sun Jan 12 04:15:18 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250111
- Parsed 378,998 log entries in 16s
- Log start from 2025-01-01 00:00:01 to 2025-01-07 23:59:04
-
Overview
Global Stats
- 664 Number of unique normalized queries
- 9,165 Number of queries
- 3d9h51m6s Total query duration
- 2025-01-01 00:02:23 First query
- 2025-01-07 22:33:03 Last query
- 24 queries/s at 2025-01-06 16:38:10 Query peak
- 3d9h51m6s Total query duration
- 4h34m29s Prepare/parse total duration
- 11m16s Bind total duration
- 3d5h5m21s Execute total duration
- 4,719 Number of events
- 27 Number of unique normalized events
- 1,339 Max number of times the same event was reported
- 0 Number of cancellation
- 762 Total number of automatic vacuums
- 302 Total number of automatic analyzes
- 3,803 Number temporary file
- 152.04 GiB Max size of temporary file
- 381.34 MiB Average size of temporary file
- 19,119 Total number of sessions
- 826 sessions at 2025-01-07 03:28:09 Session peak
- 470d12h24m37s Total duration of sessions
- 35m26s Average duration of sessions
- 0 Average queries per session
- 15s412ms Average queries duration per session
- 35m10s Average idle time per session
- 19,240 Total number of connections
- 80 connections/s at 2025-01-07 01:16:33 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 24 queries/s Query Peak
- 2025-01-06 16:38:10 Date
SELECT Traffic
Key values
- 24 queries/s Query Peak
- 2025-01-06 16:38:10 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-01-05 23:53:22 Date
Queries duration
Key values
- 3d9h51m6s 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 01 00 23 0ms 22m20s 59s959ms 3s550ms 3s907ms 22m26s 01 23 0ms 12s933ms 1s886ms 2s558ms 3s950ms 12s933ms 02 21 0ms 11s188ms 1s977ms 1s436ms 4s664ms 11s188ms 03 47 0ms 27s120ms 3s279ms 14s781ms 20s112ms 28s270ms 04 22 0ms 19s277ms 2s576ms 2s978ms 3s942ms 23s118ms 05 98 0ms 2h14m32s 1m47s 48s28ms 1m9s 2h14m32s 06 38 0ms 44s703ms 4s345ms 4s567ms 14s138ms 55s46ms 07 16 0ms 13s124ms 2s382ms 1s824ms 3s766ms 14s361ms 08 17 0ms 3s958ms 1s548ms 1s303ms 2s100ms 4s881ms 09 17 0ms 7s754ms 2s938ms 4s57ms 6s435ms 9s905ms 10 23 0ms 44s718ms 5s426ms 2s344ms 9s773ms 54s165ms 11 24 0ms 5s916ms 2s233ms 3s985ms 5s916ms 6s984ms 12 18 0ms 4s614ms 2s104ms 4s38ms 4s549ms 5s778ms 13 15 0ms 4s104ms 1s728ms 2s796ms 3s911ms 4s104ms 14 25 0ms 4m51s 17s565ms 11s178ms 56s560ms 4m51s 15 21 0ms 11s233ms 2s976ms 3s775ms 11s106ms 13s513ms 16 29 0ms 11s282ms 4s451ms 11s215ms 13s275ms 22s404ms 17 14 0ms 19s587ms 2s689ms 2s109ms 3s302ms 20s766ms 18 23 0ms 44s646ms 5s821ms 2s686ms 41s127ms 54s100ms 19 19 0ms 4s524ms 1s293ms 1s189ms 2s54ms 4s524ms 20 53 0ms 30s2ms 3s286ms 11s304ms 18s341ms 30s2ms 21 57 0ms 30s179ms 8s277ms 32s729ms 39s782ms 1m11s 22 23 0ms 5s260ms 2s385ms 2s174ms 3s733ms 35s348ms 23 42 0ms 14s170ms 6s362ms 22s336ms 24s856ms 40s242ms Jan 02 00 26 0ms 22m7s 53s269ms 2s363ms 5s843ms 22m13s 01 50 0ms 5s81ms 3s117ms 7s743ms 8s926ms 16s326ms 02 37 0ms 4s556ms 2s373ms 4s975ms 5s222ms 7s648ms 03 48 0ms 4s918ms 2s140ms 6s49ms 7s294ms 8s664ms 04 44 0ms 5s590ms 3s143ms 5s58ms 7s675ms 9s474ms 05 72 0ms 6s863ms 2s285ms 14s919ms 16s428ms 35s310ms 06 140 0ms 44s502ms 4s301ms 46s167ms 49s417ms 56s208ms 07 13 0ms 5s108ms 2s10ms 1s208ms 5s696ms 6s301ms 08 25 0ms 3s884ms 1s719ms 2s394ms 4s917ms 5s987ms 09 26 0ms 7s925ms 2s 3s501ms 6s89ms 7s925ms 10 32 0ms 44s554ms 4s440ms 4s57ms 11s85ms 54s47ms 11 16 0ms 10s60ms 2s500ms 4s488ms 4s687ms 11s218ms 12 44 0ms 31s161ms 7s611ms 22s445ms 38s820ms 39s731ms 13 43 0ms 4m4s 19s48ms 1m10s 1m29s 4m4s 14 63 0ms 1m52s 11s926ms 1m15s 1m26s 2m20s 15 31 0ms 1m36s 5s771ms 3s750ms 6s258ms 1m37s 16 21 0ms 4s509ms 1s518ms 2s211ms 3s293ms 5s45ms 17 41 0ms 6s65ms 2s321ms 4s927ms 16s99ms 24s430ms 18 30 0ms 44s737ms 4s873ms 3s587ms 9s723ms 55s439ms 19 31 0ms 5s1ms 1s686ms 3s918ms 5s37ms 6s236ms 20 44 0ms 19s449ms 2s954ms 4s900ms 8s819ms 20s572ms 21 78 0ms 13s595ms 2s928ms 7s594ms 11s178ms 17s416ms 22 23 0ms 4s564ms 1s637ms 2s501ms 4s459ms 4s936ms 23 18 0ms 2s429ms 1s386ms 2s239ms 2s387ms 3s396ms Jan 03 00 40 0ms 22m10s 34s697ms 3s484ms 4s404ms 22m19s 01 30 0ms 4s508ms 2s138ms 4s479ms 5s170ms 7s707ms 02 22 0ms 4s141ms 1s751ms 3s219ms 3s814ms 4s141ms 03 17 0ms 2s454ms 1s275ms 1s335ms 2s380ms 3s602ms 04 28 0ms 4s934ms 1s728ms 3s814ms 3s855ms 5s998ms 05 80 0ms 6s831ms 2s236ms 9s392ms 17s555ms 30s948ms 06 52 0ms 44s628ms 3s648ms 5s505ms 9s753ms 55s207ms 07 39 0ms 7s120ms 1s758ms 3s87ms 4s925ms 10s91ms 08 39 0ms 6s432ms 1s730ms 3s482ms 7s84ms 8s267ms 09 47 0ms 7s728ms 2s162ms 3s204ms 6s170ms 31s761ms 10 36 0ms 44s778ms 4s664ms 5s188ms 9s758ms 55s115ms 11 36 0ms 3s372ms 1s952ms 4s273ms 7s582ms 17s350ms 12 43 0ms 8s541ms 3s41ms 7s880ms 12s210ms 14s869ms 13 38 0ms 5s104ms 1s607ms 2s897ms 5s104ms 8s139ms 14 61 0ms 44s661ms 4s68ms 15s761ms 26s263ms 55s298ms 15 20 0ms 14s461ms 3s210ms 4s639ms 6s256ms 16s453ms 16 19 0ms 4s662ms 1s959ms 3s797ms 4s537ms 4s662ms 17 18 0ms 3s228ms 1s611ms 2s377ms 2s911ms 3s228ms 18 40 0ms 44s694ms 4s478ms 6s200ms 9s700ms 55s541ms 19 28 0ms 4s672ms 1s414ms 2s357ms 2s365ms 5s874ms 20 27 0ms 3s315ms 1s466ms 2s802ms 3s242ms 3s579ms 21 31 0ms 5s954ms 1s832ms 3s932ms 5s895ms 6s346ms 22 27 0ms 6s217ms 2s20ms 3s297ms 4s795ms 8s57ms 23 37 0ms 20s241ms 2s38ms 3s758ms 4s696ms 20s241ms Jan 04 00 27 0ms 22m20s 1m31s 3s851ms 5s569ms 22m51s 01 27 0ms 5s985ms 2s27ms 3s541ms 4s346ms 7s263ms 02 23 0ms 21s310ms 2s868ms 2s523ms 4s683ms 25s287ms 03 33 0ms 4s658ms 1s685ms 3s29ms 4s618ms 10s309ms 04 47 0ms 10s59ms 2s481ms 8s146ms 10s59ms 14s729ms 05 83 0ms 42s491ms 2s837ms 15s45ms 30s878ms 44s722ms 06 19 0ms 19s120ms 2s836ms 3s212ms 3s979ms 22s903ms 07 35 0ms 5s941ms 2s4ms 4s423ms 4s907ms 7s969ms 08 38 0ms 5s838ms 1s522ms 2s500ms 4s628ms 9s635ms 09 20 0ms 4s947ms 1s901ms 2s254ms 4s405ms 8s81ms 10 33 0ms 6s184ms 1s932ms 4s816ms 6s174ms 6s314ms 11 30 0ms 43s73ms 3s583ms 3s950ms 7s939ms 44s253ms 12 21 0ms 33m43s 1m43s 6s335ms 13s799ms 33m43s 13 42 0ms 6s331ms 2s417ms 5s441ms 18s104ms 26s958ms 14 42 0ms 3h3m 4m22s 4s675ms 5s487ms 3h3m 15 14 0ms 1s401ms 1s202ms 1s255ms 2s353ms 2s599ms 16 13 0ms 6s943ms 2s578ms 2s677ms 5s56ms 13s666ms 17 7 0ms 7s76ms 2s373ms 1s260ms 1s372ms 7s76ms 18 32 0ms 1m11s 12s790ms 54s880ms 1m2s 1m11s 19 48 0ms 23m55s 50s226ms 1m22s 2m34s 23m57s 20 9 0ms 5s72ms 1s744ms 1s315ms 1s398ms 5s72ms 21 27 0ms 2s298ms 1s149ms 2s173ms 2s298ms 4s526ms 22 11 0ms 8s641ms 2s409ms 1s495ms 2s590ms 8s641ms 23 24 0ms 4s132ms 1s403ms 2s700ms 3s413ms 5s252ms Jan 05 00 24 0ms 22m13s 56s913ms 2s384ms 2s435ms 22m19s 01 14 0ms 5s346ms 1s773ms 2s503ms 4s445ms 6s588ms 02 14 0ms 3s785ms 1s411ms 1s267ms 2s377ms 3s785ms 03 36 0ms 20s46ms 2s549ms 3s565ms 5s954ms 20s46ms 04 47 0ms 11s918ms 1s779ms 3s501ms 4s31ms 11s918ms 05 76 0ms 25s841ms 2s458ms 6s828ms 27s956ms 31s975ms 06 49 0ms 45s19ms 4s493ms 12s125ms 23s859ms 54s649ms 07 28 0ms 11s853ms 2s132ms 4s77ms 4s400ms 11s853ms 08 35 0ms 13s277ms 2s578ms 4s630ms 6s834ms 15s438ms 09 38 0ms 13s148ms 2s773ms 4s451ms 6s94ms 14s311ms 10 43 0ms 44s696ms 4s227ms 8s669ms 11s940ms 58s632ms 11 44 0ms 6s524ms 2s285ms 4s792ms 6s185ms 7s699ms 12 44 0ms 35s832ms 5s383ms 10s543ms 26s520ms 37s193ms 13 53 0ms 34m6s 1m19s 12s227ms 17s394ms 34m7s 14 47 0ms 44s624ms 3s832ms 7s84ms 9s752ms 56s455ms 15 30 0ms 17m37s 37s274ms 3s519ms 8s61ms 17m37s 16 44 0ms 1m31s 3s655ms 5s317ms 6s234ms 1m34s 17 69 0ms 12m15s 17s21ms 11s283ms 1m55s 12m15s 18 60 0ms 32m3s 1m8s 54s322ms 4m6s 32m3s 19 46 0ms 9m18s 25s806ms 40s553ms 1m29s 9m18s 20 31 0ms 39m3s 1m18s 3s660ms 7s514ms 39m15s 21 98 0ms 42m52s 47s641ms 1m52s 4m4s 42m54s 22 55 0ms 5m4s 10s604ms 9s586ms 39s524ms 5m4s 23 53 0ms 3m 10s327ms 39s379ms 54s14ms 3m8s Jan 06 00 81 0ms 24m12s 57s689ms 2m16s 13m10s 24m16s 01 48 0ms 1m6s 6s61ms 8s300ms 38s425ms 1m40s 02 37 0ms 1h43m39s 2m54s 4s964ms 8s34ms 1h43m42s 03 41 0ms 1h9s 1m37s 7s365ms 1m33s 1h19s 04 54 0ms 45m37s 53s284ms 6s432ms 14s292ms 45m59s 05 70 0ms 1m6s 5s94ms 26s513ms 38s397ms 1m6s 06 58 0ms 2h3m4s 2m21s 47s838ms 55s526ms 2h3m18s 07 24 0ms 33m23s 1m25s 3s818ms 7s838ms 33m24s 08 46 0ms 7s484ms 1s970ms 5s361ms 9s639ms 24s34ms 09 26 0ms 11s225ms 3s103ms 9s96ms 11s179ms 12s219ms 10 42 0ms 45s137ms 5s173ms 9s659ms 51s153ms 56s505ms 11 68 0ms 1m14s 5s803ms 40s950ms 42s749ms 1m19s 12 156 0ms 34m44s 19s116ms 33s783ms 1m26s 34m57s 13 148 0ms 2m21s 6s138ms 29s683ms 34s764ms 2m32s 14 26 0ms 45s738ms 7s258ms 5s630ms 35s829ms 55s441ms 15 69 0ms 39s115ms 2s190ms 5s94ms 29s903ms 39s115ms 16 408 0ms 56m58s 2m21s 40s178ms 45s158ms 15h52m45s 17 22 0ms 6s290ms 2s801ms 4s779ms 6s100ms 6s290ms 18 36 0ms 4m19s 11s871ms 6s206ms 54s391ms 4m20s 19 12 0ms 3s669ms 1s890ms 2s539ms 3s277ms 3s669ms 20 28 0ms 4s688ms 1s774ms 3s501ms 3s885ms 5s641ms 21 12 0ms 7s765ms 2s351ms 2s493ms 4s546ms 7s765ms 22 162 0ms 19s456ms 3s95ms 32s21ms 35s995ms 56s908ms 23 95 0ms 1m6s 6s989ms 45s502ms 1m5s 1m50s Jan 07 00 89 0ms 37m21s 32s976ms 32s41ms 1m1s 38m3s 01 166 0ms 13m54s 9s703ms 36s143ms 1m12s 14m49s 02 237 0ms 38s77ms 2s947ms 30s253ms 40s958ms 53s138ms 03 130 0ms 21s296ms 3s641ms 22s187ms 30s957ms 34s89ms 04 134 0ms 14s928ms 3s322ms 20s363ms 23s972ms 32s681ms 05 260 0ms 1m9s 3s589ms 55s922ms 1m11s 1m34s 06 106 0ms 1m 3s726ms 12s489ms 41s279ms 1m18s 07 115 0ms 17s62ms 3s523ms 21s949ms 27s497ms 37s272ms 08 63 0ms 9h32m11s 27m28s 1m3s 9h24m38s 9h32m12s 09 139 0ms 40s815ms 4s137ms 46s685ms 1m7s 1m52s 10 69 0ms 45s51ms 3s251ms 26s99ms 31s982ms 45s51ms 11 678 0ms 22s641ms 3s460ms 10s727ms 20s480ms 37m6s 12 70 0ms 4s295ms 1s695ms 7s280ms 14s952ms 37s695ms 13 398 0ms 25s911ms 3s166ms 5s638ms 17s754ms 12m32s 14 137 0ms 45s165ms 2s998ms 10s785ms 58s674ms 3m58s 15 63 0ms 15s678ms 2s273ms 15s678ms 19s788ms 24s194ms 16 34 0ms 14s439ms 2s179ms 4s570ms 6s573ms 14s439ms 17 22 0ms 22s881ms 5s561ms 5s439ms 5s746ms 59s226ms 18 31 0ms 50s420ms 6s18ms 4s994ms 45s73ms 50s420ms 19 28 0ms 34s356ms 3s676ms 4s501ms 9s376ms 34s356ms 20 22 0ms 11s735ms 2s317ms 3s516ms 4s693ms 11s735ms 21 35 0ms 34s527ms 3s248ms 5s619ms 6s914ms 35s764ms 22 28 0ms 38s110ms 6s524ms 7s76ms 36s521ms 57s652ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 01 00 22 0 1m2s 1s206ms 3s550ms 22m20s 01 23 0 1s886ms 1s361ms 2s558ms 12s933ms 02 21 0 1s977ms 1s170ms 1s436ms 11s188ms 03 46 0 3s278ms 3s982ms 14s781ms 28s270ms 04 22 0 2s576ms 1s316ms 2s978ms 23s118ms 05 89 0 1m57s 17s790ms 33s875ms 2h14m32s 06 28 10 4s345ms 2s653ms 4s567ms 55s46ms 07 16 0 2s382ms 1s126ms 1s824ms 14s361ms 08 17 0 1s548ms 1s102ms 1s303ms 4s881ms 09 16 0 2s917ms 1s186ms 4s57ms 9s905ms 10 15 8 5s426ms 1s308ms 3s867ms 54s165ms 11 24 0 2s233ms 1s115ms 3s985ms 6s984ms 12 18 0 2s104ms 1s142ms 4s38ms 5s778ms 13 15 0 1s728ms 1s185ms 2s796ms 4s104ms 14 15 10 17s565ms 1s358ms 11s178ms 4m51s 15 20 0 2s957ms 1s119ms 3s775ms 13s513ms 16 29 0 4s451ms 3s921ms 11s215ms 22s404ms 17 13 0 2s642ms 1s102ms 1s189ms 20s766ms 18 13 10 5s821ms 1s104ms 2s686ms 54s100ms 19 19 0 1s293ms 1s156ms 1s189ms 4s524ms 20 53 0 3s286ms 2s821ms 11s304ms 27s833ms 21 55 0 8s456ms 18s878ms 32s729ms 1m11s 22 23 0 2s385ms 1s200ms 2s174ms 35s348ms 23 42 0 6s362ms 12s259ms 22s336ms 40s242ms Jan 02 00 25 0 55s162ms 1s210ms 2s363ms 22m7s 01 50 0 3s117ms 3s964ms 7s743ms 16s326ms 02 37 0 2s373ms 3s804ms 4s975ms 7s648ms 03 48 0 2s140ms 4s926ms 6s49ms 8s664ms 04 44 0 3s143ms 4s806ms 5s58ms 9s474ms 05 69 0 2s272ms 2s459ms 14s919ms 35s310ms 06 130 10 4s301ms 32s488ms 46s167ms 53s967ms 07 13 0 2s10ms 1s15ms 1s208ms 6s301ms 08 25 0 1s719ms 1s161ms 2s394ms 4s993ms 09 26 0 2s 1s216ms 3s501ms 7s136ms 10 21 8 4s658ms 1s317ms 4s57ms 41s405ms 11 15 0 1s996ms 1s137ms 2s637ms 6s436ms 12 44 0 7s611ms 11s252ms 22s445ms 38s954ms 13 43 0 19s48ms 13s167ms 1m10s 1m33s 14 52 10 12s64ms 8s248ms 1m15s 1m26s 15 27 0 1s567ms 1s255ms 2s466ms 6s258ms 16 21 0 1s518ms 1s255ms 2s211ms 5s45ms 17 41 0 2s321ms 1s839ms 4s927ms 24s430ms 18 20 10 4s873ms 1s243ms 3s587ms 55s41ms 19 31 0 1s686ms 1s303ms 3s918ms 6s236ms 20 44 0 2s954ms 3s839ms 4s900ms 12s619ms 21 78 0 2s928ms 6s245ms 7s594ms 11s482ms 22 23 0 1s637ms 1s361ms 2s501ms 4s936ms 23 18 0 1s386ms 1s244ms 2s239ms 3s396ms Jan 03 00 39 0 35s438ms 2s199ms 3s484ms 22m14s 01 30 0 2s138ms 2s722ms 4s479ms 7s707ms 02 22 0 1s751ms 1s240ms 3s219ms 4s141ms 03 17 0 1s275ms 1s137ms 1s335ms 3s602ms 04 28 0 1s728ms 2s328ms 3s814ms 5s998ms 05 75 0 2s215ms 4s513ms 9s392ms 30s948ms 06 42 10 3s648ms 3s147ms 5s505ms 54s269ms 07 38 0 1s749ms 2s157ms 3s87ms 7s120ms 08 38 0 1s690ms 2s239ms 3s482ms 8s267ms 09 45 0 2s141ms 2s475ms 3s204ms 11s964ms 10 24 10 4s777ms 2s598ms 5s188ms 55s115ms 11 35 0 1s954ms 2s309ms 4s273ms 17s350ms 12 42 0 3s35ms 3s543ms 7s880ms 14s17ms 13 38 0 1s607ms 2s240ms 2s897ms 6s96ms 14 51 10 4s68ms 4s744ms 15s761ms 55s298ms 15 20 0 3s210ms 1s825ms 4s639ms 16s453ms 16 19 0 1s959ms 1s930ms 3s797ms 4s662ms 17 17 0 1s588ms 1s226ms 2s377ms 3s228ms 18 30 10 4s478ms 2s793ms 6s200ms 55s45ms 19 28 0 1s414ms 1s345ms 2s357ms 5s874ms 20 26 0 1s395ms 1s919ms 2s585ms 3s579ms 21 29 0 1s787ms 2s231ms 3s278ms 5s954ms 22 27 0 2s20ms 2s278ms 3s297ms 8s57ms 23 37 0 2s38ms 3s464ms 3s758ms 20s241ms Jan 04 00 26 0 1m34s 2s1ms 3s851ms 22m45s 01 26 0 1s996ms 2s185ms 3s541ms 7s210ms 02 22 0 2s883ms 1s250ms 2s516ms 25s287ms 03 33 0 1s685ms 1s847ms 3s29ms 10s309ms 04 47 0 2s481ms 4s623ms 8s146ms 14s729ms 05 79 0 2s870ms 5s55ms 15s45ms 44s722ms 06 19 0 2s836ms 1s282ms 3s212ms 22s903ms 07 35 0 2s4ms 2s796ms 4s423ms 5s897ms 08 38 0 1s522ms 1s843ms 2s500ms 9s635ms 09 20 0 1s901ms 1s539ms 2s254ms 8s81ms 10 32 0 1s932ms 2s374ms 4s816ms 6s314ms 11 30 0 3s583ms 3s102ms 3s950ms 44s253ms 12 20 0 1m48s 2s892ms 6s335ms 33m43s 13 42 0 2s417ms 1s651ms 5s441ms 26s958ms 14 42 0 4m22s 2s452ms 4s675ms 3h3m 15 14 0 1s202ms 1s125ms 1s255ms 2s599ms 16 13 0 2s578ms 1s175ms 2s677ms 13s666ms 17 7 0 2s373ms 0ms 1s260ms 7s76ms 18 6 26 12s790ms 1s299ms 54s880ms 1m11s 19 28 20 50s226ms 25s377ms 1m20s 23m57s 20 9 0 1s744ms 1s74ms 1s315ms 5s72ms 21 27 0 1s149ms 1s175ms 2s173ms 4s526ms 22 11 0 2s409ms 1s227ms 1s495ms 8s641ms 23 24 0 1s403ms 1s399ms 2s700ms 5s252ms Jan 05 00 23 0 59s128ms 1s208ms 2s384ms 22m13s 01 14 0 1s773ms 1s244ms 2s503ms 6s588ms 02 14 0 1s411ms 1s243ms 1s267ms 3s785ms 03 36 0 2s549ms 2s272ms 3s565ms 19s546ms 04 47 0 1s779ms 2s472ms 3s501ms 6s82ms 05 72 0 2s462ms 2s504ms 6s828ms 30s969ms 06 38 10 4s519ms 3s52ms 12s125ms 41s339ms 07 28 0 2s132ms 2s261ms 4s77ms 11s853ms 08 34 0 2s587ms 2s805ms 4s630ms 6s927ms 09 38 0 2s773ms 3s740ms 4s451ms 14s260ms 10 32 10 4s267ms 2s772ms 7s221ms 55s150ms 11 44 0 2s285ms 3s896ms 4s792ms 6s351ms 12 43 0 5s463ms 5s111ms 10s543ms 28s896ms 13 52 0 1m21s 6s108ms 12s227ms 33m48s 14 37 10 3s832ms 3s490ms 7s84ms 55s291ms 15 30 0 37s274ms 1s919ms 3s519ms 17m37s 16 44 0 3s655ms 2s951ms 5s317ms 1m34s 17 65 0 1s940ms 2s543ms 6s36ms 15s625ms 18 42 10 42s129ms 4s661ms 23s875ms 54s322ms 19 46 0 25s806ms 7s271ms 40s553ms 4m50s 20 30 0 1m20s 2s230ms 3s660ms 39m15s 21 65 0 53s662ms 7s38ms 43s912ms 6m54s 22 55 0 10s604ms 6s24ms 9s586ms 5m4s 23 47 0 11s316ms 9s381ms 39s379ms 3m8s Jan 06 00 47 0 33s109ms 4s828ms 14s141ms 41s502ms 01 41 0 3s80ms 3s45ms 4s931ms 10s22ms 02 35 0 2m59s 2s360ms 4s695ms 1h43m42s 03 31 0 2m3s 2s338ms 5s143ms 1h9s 04 48 0 2s404ms 2s750ms 6s22ms 14s292ms 05 65 0 5s318ms 3s875ms 26s513ms 1m6s 06 47 10 2m23s 5s979ms 47s838ms 2h3m18s 07 23 0 1m29s 2s291ms 3s818ms 33m24s 08 46 0 1s970ms 2s553ms 5s361ms 24s34ms 09 26 0 3s103ms 1s273ms 9s96ms 12s219ms 10 32 10 5s173ms 3s300ms 9s659ms 55s424ms 11 66 0 5s903ms 8s60ms 40s950ms 1m19s 12 156 0 19s116ms 27s930ms 33s783ms 2m44s 13 148 0 6s138ms 27s147ms 29s683ms 2m32s 14 14 10 7s639ms 1s195ms 5s630ms 55s441ms 15 68 0 2s167ms 1s950ms 5s94ms 33s57ms 16 407 0 2m21s 17s884ms 40s178ms 51s527ms 17 22 0 2s801ms 3s708ms 4s779ms 6s290ms 18 26 10 11s871ms 3s92ms 6s206ms 4m20s 19 11 0 1s764ms 1s175ms 1s454ms 3s669ms 20 27 0 1s719ms 2s285ms 3s501ms 5s641ms 21 11 0 2s338ms 1s188ms 2s418ms 7s765ms 22 162 0 3s95ms 21s399ms 32s21ms 56s908ms 23 94 0 7s18ms 14s571ms 45s502ms 1m6s Jan 07 00 87 0 33s520ms 11s460ms 32s41ms 5m14s 01 166 0 9s703ms 18s536ms 36s143ms 3m2s 02 237 0 2s947ms 19s450ms 30s253ms 41s957ms 03 128 0 3s654ms 12s602ms 22s187ms 31s623ms 04 132 0 3s280ms 15s30ms 18s793ms 28s976ms 05 254 0 3s605ms 23s21ms 55s922ms 1m12s 06 93 10 3s788ms 8s801ms 15s76ms 46s740ms 07 113 0 3s395ms 10s996ms 21s709ms 27s846ms 08 61 0 28m22s 16s445ms 1m3s 9h32m12s 09 135 0 4s189ms 11s14ms 46s685ms 1m16s 10 58 9 3s278ms 3s733ms 21s360ms 45s51ms 11 677 0 3s460ms 4s79ms 10s727ms 37m6s 12 68 0 1s674ms 1s739ms 7s280ms 37s695ms 13 398 0 3s166ms 1s449ms 5s638ms 12m32s 14 126 10 3s3ms 5s238ms 9s717ms 3m58s 15 61 0 2s269ms 3s270ms 15s678ms 21s836ms 16 32 0 2s144ms 2s229ms 4s14ms 14s439ms 17 22 0 5s561ms 4s10ms 5s439ms 59s226ms 18 23 8 6s18ms 2s236ms 4s994ms 50s420ms 19 28 0 3s676ms 2s818ms 4s501ms 34s356ms 20 21 0 2s260ms 1s477ms 3s230ms 11s735ms 21 35 0 3s248ms 2s649ms 5s619ms 12s580ms 22 28 0 6s524ms 2s528ms 7s76ms 57s652ms 23 0 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jan 01 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 02 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 1 0 0 0 10s60ms 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 03 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 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 04 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jan 05 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 4 0 0 0 4m22s 0ms 0ms 1m54s 18 8 0 0 0 4m 0ms 0ms 1m49s 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 06 00 12 7 0 0 1m43s 0ms 0ms 2m16s 01 4 2 0 0 26s860ms 0ms 0ms 0ms 02 1 0 0 0 2m39s 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 07 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 2 0 0 0 2s773ms 0ms 0ms 0ms 04 1 0 0 0 7s706ms 0ms 0ms 0ms 05 1 0 0 0 1s833ms 0ms 0ms 0ms 06 3 0 0 0 1s596ms 0ms 0ms 0ms 07 1 0 0 0 16s979ms 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 01 00 0 21 21.00 0.00% 01 0 23 23.00 0.00% 02 0 21 21.00 0.00% 03 0 47 47.00 0.00% 04 0 22 22.00 0.00% 05 0 86 86.00 0.00% 06 0 28 28.00 0.00% 07 0 16 16.00 0.00% 08 0 18 18.00 0.00% 09 0 22 22.00 0.00% 10 0 16 16.00 0.00% 11 0 24 24.00 0.00% 12 0 18 18.00 0.00% 13 0 15 15.00 0.00% 14 0 15 15.00 0.00% 15 0 21 21.00 0.00% 16 0 29 29.00 0.00% 17 0 14 14.00 0.00% 18 0 13 13.00 0.00% 19 0 19 19.00 0.00% 20 0 53 53.00 0.00% 21 0 57 57.00 0.00% 22 0 23 23.00 0.00% 23 0 42 42.00 0.00% Jan 02 00 0 24 24.00 0.00% 01 0 50 50.00 0.00% 02 0 37 37.00 0.00% 03 0 48 48.00 0.00% 04 0 44 44.00 0.00% 05 0 72 72.00 0.00% 06 0 131 131.00 0.00% 07 0 21 21.00 0.00% 08 0 28 28.00 0.00% 09 0 28 28.00 0.00% 10 0 21 21.00 0.00% 11 0 20 20.00 0.00% 12 0 47 47.00 0.00% 13 0 40 40.00 0.00% 14 0 54 54.00 0.00% 15 0 26 26.00 0.00% 16 0 21 21.00 0.00% 17 0 41 41.00 0.00% 18 0 20 20.00 0.00% 19 0 31 31.00 0.00% 20 0 44 44.00 0.00% 21 0 78 78.00 0.00% 22 0 23 23.00 0.00% 23 0 18 18.00 0.00% Jan 03 00 0 38 38.00 0.00% 01 0 30 30.00 0.00% 02 0 22 22.00 0.00% 03 0 17 17.00 0.00% 04 0 28 28.00 0.00% 05 0 80 80.00 0.00% 06 0 42 42.00 0.00% 07 0 46 46.00 0.00% 08 0 41 41.00 0.00% 09 0 47 47.00 0.00% 10 0 28 28.00 0.00% 11 0 36 36.00 0.00% 12 0 47 47.00 0.00% 13 0 38 38.00 0.00% 14 0 51 51.00 0.00% 15 0 20 20.00 0.00% 16 0 19 19.00 0.00% 17 0 18 18.00 0.00% 18 0 30 30.00 0.00% 19 0 28 28.00 0.00% 20 0 27 27.00 0.00% 21 0 31 31.00 0.00% 22 0 27 27.00 0.00% 23 0 37 37.00 0.00% Jan 04 00 0 25 25.00 0.00% 01 0 27 27.00 0.00% 02 0 23 23.00 0.00% 03 0 33 33.00 0.00% 04 0 47 47.00 0.00% 05 0 83 83.00 0.00% 06 0 19 19.00 0.00% 07 0 35 35.00 0.00% 08 0 38 38.00 0.00% 09 0 20 20.00 0.00% 10 0 33 33.00 0.00% 11 0 30 30.00 0.00% 12 0 21 21.00 0.00% 13 0 42 42.00 0.00% 14 0 42 42.00 0.00% 15 0 14 14.00 0.00% 16 0 13 13.00 0.00% 17 0 7 7.00 0.00% 18 0 6 6.00 0.00% 19 0 28 28.00 0.00% 20 0 9 9.00 0.00% 21 0 27 27.00 0.00% 22 0 11 11.00 0.00% 23 0 24 24.00 0.00% Jan 05 00 0 22 22.00 0.00% 01 0 14 14.00 0.00% 02 0 14 14.00 0.00% 03 0 36 36.00 0.00% 04 0 47 47.00 0.00% 05 0 76 76.00 0.00% 06 0 39 39.00 0.00% 07 0 28 28.00 0.00% 08 0 42 42.00 0.00% 09 0 38 38.00 0.00% 10 0 33 33.00 0.00% 11 0 45 45.00 0.00% 12 0 44 44.00 0.00% 13 0 53 53.00 0.00% 14 0 37 37.00 0.00% 15 0 30 30.00 0.00% 16 0 44 44.00 0.00% 17 0 68 68.00 0.00% 18 0 50 50.00 0.00% 19 0 46 46.00 0.00% 20 0 31 31.00 0.00% 21 0 98 98.00 0.00% 22 0 55 55.00 0.00% 23 0 53 53.00 0.00% Jan 06 00 0 79 79.00 0.00% 01 0 48 48.00 0.00% 02 0 37 37.00 0.00% 03 0 41 41.00 0.00% 04 0 54 54.00 0.00% 05 0 70 70.00 0.00% 06 0 49 49.00 0.00% 07 0 24 24.00 0.00% 08 0 46 46.00 0.00% 09 0 26 26.00 0.00% 10 0 17 17.00 0.00% 11 0 54 54.00 0.00% 12 0 158 158.00 0.00% 13 0 148 148.00 0.00% 14 0 15 15.00 0.00% 15 0 70 70.00 0.00% 16 10 408 40.80 2.45% 17 0 22 22.00 0.00% 18 0 26 26.00 0.00% 19 0 12 12.00 0.00% 20 0 28 28.00 0.00% 21 0 12 12.00 0.00% 22 0 162 162.00 0.00% 23 1 95 95.00 1.05% Jan 07 00 1 86 86.00 1.15% 01 1 166 166.00 0.60% 02 0 238 238.00 0.00% 03 1 130 130.00 0.77% 04 1 134 134.00 0.75% 05 4 260 65.00 1.54% 06 1 102 102.00 0.94% 07 2 117 58.50 1.74% 08 0 66 66.00 0.00% 09 0 140 140.00 0.00% 10 0 63 63.00 0.00% 11 0 683 683.00 0.00% 12 0 73 73.00 0.00% 13 1 399 399.00 0.25% 14 0 129 129.00 0.00% 15 0 63 63.00 0.00% 16 0 35 35.00 0.00% 17 0 23 23.00 0.00% 18 0 24 24.00 0.00% 19 0 28 28.00 0.00% 20 0 22 22.00 0.00% 21 0 35 35.00 0.00% 22 0 28 28.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Jan 01 00 86 0.02/s 01 79 0.02/s 02 80 0.02/s 03 81 0.02/s 04 94 0.03/s 05 105 0.03/s 06 86 0.02/s 07 82 0.02/s 08 78 0.02/s 09 85 0.02/s 10 84 0.02/s 11 84 0.02/s 12 85 0.02/s 13 78 0.02/s 14 84 0.02/s 15 77 0.02/s 16 77 0.02/s 17 73 0.02/s 18 74 0.02/s 19 79 0.02/s 20 141 0.04/s 21 144 0.04/s 22 84 0.02/s 23 87 0.02/s Jan 02 00 82 0.02/s 01 94 0.03/s 02 78 0.02/s 03 84 0.02/s 04 96 0.03/s 05 94 0.03/s 06 96 0.03/s 07 78 0.02/s 08 88 0.02/s 09 99 0.03/s 10 99 0.03/s 11 80 0.02/s 12 138 0.04/s 13 105 0.03/s 14 104 0.03/s 15 77 0.02/s 16 77 0.02/s 17 88 0.02/s 18 85 0.02/s 19 75 0.02/s 20 79 0.02/s 21 91 0.03/s 22 81 0.02/s 23 82 0.02/s Jan 03 00 81 0.02/s 01 86 0.02/s 02 81 0.02/s 03 90 0.03/s 04 82 0.02/s 05 95 0.03/s 06 99 0.03/s 07 89 0.02/s 08 86 0.02/s 09 82 0.02/s 10 102 0.03/s 11 155 0.04/s 12 89 0.02/s 13 86 0.02/s 14 84 0.02/s 15 86 0.02/s 16 83 0.02/s 17 76 0.02/s 18 81 0.02/s 19 75 0.02/s 20 78 0.02/s 21 73 0.02/s 22 78 0.02/s 23 76 0.02/s Jan 04 00 83 0.02/s 01 85 0.02/s 02 81 0.02/s 03 86 0.02/s 04 81 0.02/s 05 102 0.03/s 06 80 0.02/s 07 91 0.03/s 08 83 0.02/s 09 79 0.02/s 10 83 0.02/s 11 80 0.02/s 12 79 0.02/s 13 86 0.02/s 14 79 0.02/s 15 78 0.02/s 16 75 0.02/s 17 74 0.02/s 18 80 0.02/s 19 77 0.02/s 20 77 0.02/s 21 78 0.02/s 22 81 0.02/s 23 75 0.02/s Jan 05 00 80 0.02/s 01 81 0.02/s 02 79 0.02/s 03 112 0.03/s 04 81 0.02/s 05 131 0.04/s 06 99 0.03/s 07 81 0.02/s 08 116 0.03/s 09 110 0.03/s 10 85 0.02/s 11 87 0.02/s 12 148 0.04/s 13 100 0.03/s 14 86 0.02/s 15 82 0.02/s 16 84 0.02/s 17 89 0.02/s 18 100 0.03/s 19 82 0.02/s 20 80 0.02/s 21 93 0.03/s 22 90 0.03/s 23 119 0.03/s Jan 06 00 150 0.04/s 01 116 0.03/s 02 81 0.02/s 03 79 0.02/s 04 92 0.03/s 05 97 0.03/s 06 85 0.02/s 07 82 0.02/s 08 92 0.03/s 09 86 0.02/s 10 86 0.02/s 11 106 0.03/s 12 90 0.03/s 13 87 0.02/s 14 89 0.02/s 15 176 0.05/s 16 444 0.12/s 17 79 0.02/s 18 84 0.02/s 19 80 0.02/s 20 87 0.02/s 21 79 0.02/s 22 170 0.05/s 23 562 0.16/s Jan 07 00 340 0.09/s 01 610 0.17/s 02 445 0.12/s 03 431 0.12/s 04 372 0.10/s 05 390 0.11/s 06 263 0.07/s 07 333 0.09/s 08 182 0.05/s 09 173 0.05/s 10 234 0.07/s 11 161 0.04/s 12 182 0.05/s 13 222 0.06/s 14 237 0.07/s 15 107 0.03/s 16 82 0.02/s 17 108 0.03/s 18 82 0.02/s 19 98 0.03/s 20 82 0.02/s 21 101 0.03/s 22 84 0.02/s 23 144 0.04/s Day Hour Count Average Duration Average idle time Jan 01 00 86 29m17s 29m1s 01 79 30m25s 30m25s 02 79 30m57s 30m56s 03 81 29m9s 29m7s 04 94 27m10s 27m9s 05 106 23m48s 22m9s 06 86 28m38s 28m36s 07 82 29m48s 29m48s 08 78 29m57s 29m57s 09 85 28m10s 28m10s 10 84 28m49s 28m47s 11 84 29m47s 29m47s 12 85 29m2s 29m2s 13 78 31m29s 31m28s 14 84 28m43s 28m37s 15 77 31m10s 31m9s 16 77 29m56s 29m54s 17 73 31m43s 31m42s 18 74 30m29s 30m27s 19 79 30m43s 30m43s 20 141 17m11s 17m10s 21 144 15m3s 15m 22 84 28m22s 28m22s 23 87 28m10s 28m7s Jan 02 00 82 30m6s 29m49s 01 94 26m29s 26m27s 02 78 30m10s 30m9s 03 84 29m13s 29m12s 04 96 26m1s 26m 05 94 24m56s 24m54s 06 96 25m13s 25m7s 07 78 30m38s 30m38s 08 82 29m31s 29m31s 09 99 25m2s 25m2s 10 99 24m16s 24m14s 11 80 30m7s 30m7s 12 137 17m35s 17m32s 13 104 23m22s 23m14s 14 104 23m25s 23m18s 15 77 29m55s 29m52s 16 77 30m46s 30m45s 17 88 27m38s 27m37s 18 87 37m25s 37m24s 19 81 1h11m40s 1h11m39s 20 79 30m5s 30m3s 21 91 24m56s 24m53s 22 81 29m55s 29m54s 23 82 29m5s 29m4s Jan 03 00 81 29m36s 29m19s 01 86 28m32s 28m31s 02 81 30m42s 30m41s 03 90 26m34s 26m33s 04 82 29m1s 29m1s 05 95 25m39s 25m37s 06 99 24m44s 24m42s 07 89 26m32s 26m31s 08 86 28m47s 28m46s 09 82 29m6s 29m5s 10 95 26m4s 26m2s 11 154 15m52s 15m52s 12 89 27m17s 27m16s 13 86 27m37s 27m37s 14 84 27m34s 27m31s 15 86 27m22s 27m21s 16 82 29m4s 29m3s 17 78 39m58s 39m58s 18 86 51m46s 51m44s 19 76 37m24s 37m24s 20 78 30m24s 30m24s 21 73 31m17s 31m16s 22 78 31m6s 31m6s 23 76 31m52s 31m51s Jan 04 00 83 29m29s 28m59s 01 85 29m18s 29m17s 02 81 30m5s 30m4s 03 86 28m12s 28m11s 04 81 29m9s 29m7s 05 102 23m41s 23m39s 06 80 29m50s 29m49s 07 91 27m44s 27m44s 08 83 27m25s 27m24s 09 79 31m22s 31m22s 10 83 30m4s 30m3s 11 78 30m29s 30m27s 12 80 30m55s 30m27s 13 86 27m13s 27m12s 14 80 32m11s 29m53s 15 78 30m55s 30m55s 16 75 31m3s 31m2s 17 74 31m30s 31m30s 18 79 30m41s 30m36s 19 78 31m29s 30m58s 20 77 30m56s 30m56s 21 79 54m22s 54m21s 22 81 30m16s 30m16s 23 75 31m31s 31m31s Jan 05 00 80 30m22s 30m5s 01 81 29m56s 29m56s 02 79 30m51s 30m51s 03 112 21m42s 21m41s 04 81 30m2s 30m1s 05 131 18m16s 18m15s 06 99 24m35s 24m33s 07 81 29m48s 29m48s 08 116 21m6s 21m5s 09 110 22m39s 22m38s 10 85 28m 27m58s 11 87 28m5s 28m4s 12 146 16m2s 16m1s 13 102 23m14s 22m32s 14 86 28m11s 28m8s 15 82 30m 29m47s 16 84 28m40s 28m38s 17 85 26m45s 26m31s 18 100 25m8s 24m27s 19 82 29m6s 28m52s 20 80 30m7s 29m36s 21 93 2h6m 2h5m10s 22 90 24m55s 24m49s 23 119 22m9s 22m4s Jan 06 00 150 3h1m26s 3h55s 01 116 21m31s 21m29s 02 81 28m55s 27m35s 03 79 29m31s 28m40s 04 92 28m46s 28m15s 05 97 24m56s 24m52s 06 85 28m22s 26m46s 07 83 34m31s 34m6s 08 92 26m12s 26m11s 09 86 28m47s 28m47s 10 83 29m9s 29m6s 11 105 21m1s 20m58s 12 90 27m28s 26m55s 13 87 28m51s 28m40s 14 88 28m11s 28m9s 15 162 25m48s 25m47s 16 339 11m54s 9m4s 17 79 29m22s 29m21s 18 88 57m36s 57m31s 19 83 1h13m23s 1h13m23s 20 87 28m20s 28m20s 21 79 29m46s 29m45s 22 166 19m21s 19m18s 23 562 4m42s 4m40s Jan 07 00 339 9m 8m51s 01 612 4m31s 4m28s 02 444 5m40s 5m38s 03 432 5m27s 5m26s 04 373 5m40s 5m39s 05 389 6m45s 6m43s 06 263 9m14s 9m12s 07 330 8m1s 8m 08 188 22m6s 12m53s 09 173 20h48m19s 20h48m16s 10 231 9m26s 9m25s 11 161 15m29s 15m15s 12 182 13m26s 13m25s 13 222 12m16s 12m11s 14 237 9m40s 9m38s 15 107 23m50s 23m49s 16 82 28m29s 28m28s 17 108 22m48s 22m47s 18 84 40m25s 40m23s 19 98 23m57s 23m56s 20 82 28m6s 28m5s 21 101 23m51s 23m49s 22 82 24m49s 24m46s 23 146 18m34s 18m34s -
Connections
Established Connections
Key values
- 80 connections Connection Peak
- 2025-01-07 01:16:33 Date
Connections per database
Key values
- ctdprd51 Main Database
- 19,240 connections Total
Connections per user
Key values
- pubeu Main User
- 19,240 connections Total
Connections per host
Key values
- 10.12.5.37 Main host with 6808 connections
- 19,240 Total connections
-
Sessions
Simultaneous sessions
Key values
- 826 sessions Session Peak
- 2025-01-07 03:28:09 Date
Histogram of session times
Key values
- 12,081 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 19,119 sessions Total
Sessions per user
Key values
- pubeu Main User
- 19,119 sessions Total
User Count Total Duration Average Duration edit 16 7d1h32m55s 10h35m48s editeu 2,654 204d7h41m11s 1h50m51s load 166 1d11h18m44s 12m45s postgres 51 1h40m5s 1m57s pub1 9 18h42m27s 2h4m43s pub2 36 3d5h20m47s 2h8m54s pubc 11 2h53m48s 15m48s pubeu 9,441 114d21h32m18s 17m31s qaeu 5,385 112d3h35m18s 29m59s zbx_monitor 1,350 26d10h7m 28m10s Sessions per host
Key values
- 10.12.5.37 Main Host
- 19,119 sessions Total
Host Count Total Duration Average Duration 10.12.5.122 12 148d1h10m8s 12d8h5m50s 10.12.5.36 39 2h5m2s 3m12s 10.12.5.37 6,802 59d1h14m50s 12m30s 10.12.5.38 2,650 55d23h10m30s 30m24s 10.12.5.39 2,641 56d6h31m3s 30m40s 10.12.5.40 168 14h40m55s 5m14s 10.12.5.45 2,717 56d36m8s 29m41s 10.12.5.46 2,651 56d58m8s 30m26s 192.168.201.10 9 4d13h29m52s 12h9m59s 192.168.201.14 3 2d2h38m52s 16h52m57s 192.168.201.18 26 5d6h1m59s 4h50m50s ::1 1,401 26d11h47m5s 27m13s Sessions per application
Key values
- unknown Main Application
- 19,119 sessions Total
Application Count Total Duration Average Duration pgAdmin 4 - CONN:2580687 3 58s343ms 19s447ms pgAdmin 4 - CONN:3686940 2 3m7s 1m33s pgAdmin 4 - CONN:6428771 1 4m52s 4m52s pgAdmin 4 - CONN:8073342 1 372ms 372ms pgAdmin 4 - DB:ctdprd51 2 1s399ms 699ms pg_bulkload 13 6s6ms 462ms pg_dump 1 95ms 95ms pg_dumpall 1 17ms 17ms psql 23 14s370ms 624ms unknown 19,072 470d12h15m16s 35m31s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 5,077,630 buffers Checkpoint Peak
- 2025-01-06 00:31:59 Date
- 1619.977 seconds Highest write time
- 1.063 seconds Sync time
Checkpoints Wal files
Key values
- 584 files Wal files usage Peak
- 2025-01-06 04:03:18 Date
Checkpoints distance
Key values
- 18,719.98 Mo Distance Peak
- 2025-01-06 04:03:18 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jan 01 00 2,996 300.051s 0.004s 300.17s 01 191 19.312s 0.002s 19.341s 02 194 19.621s 0.002s 19.651s 03 5,709 572.029s 0.004s 572.134s 04 298 29.947s 0.002s 29.977s 05 308 31.026s 0.002s 31.057s 06 558 56.1s 0.003s 56.133s 07 418 42.056s 0.002s 42.133s 08 186 18.623s 0.002s 18.653s 09 402 40.46s 0.002s 40.49s 10 323 32.537s 0.002s 32.567s 11 116 11.796s 0.002s 11.825s 12 201 20.332s 0.002s 20.362s 13 2,125 212.825s 0.002s 212.913s 14 385 38.738s 0.003s 38.769s 15 274 27.533s 0.002s 27.562s 16 259 26.108s 0.002s 26.138s 17 161 16.302s 0.002s 16.333s 18 148 14.999s 0.002s 15.028s 19 217 21.902s 0.002s 21.932s 20 158 16.015s 0.002s 16.045s 21 193 19.506s 0.002s 19.537s 22 312 31.322s 0.002s 31.352s 23 38,430 1,633.575s 0.003s 1,633.914s Jan 02 00 1,272 127.597s 0.004s 127.714s 01 148 14.999s 0.002s 15.03s 02 696 69.795s 0.003s 69.825s 03 134,461 1,628.815s 0.003s 1,629.743s 04 122 12.3s 0.001s 12.314s 05 25,825 1,752.645s 0.003s 1,752.884s 06 554 55.683s 0.002s 55.714s 07 504 50.655s 0.002s 50.685s 08 510 51.171s 0.002s 51.203s 09 519 52.168s 0.003s 52.245s 10 2,609 261.291s 0.127s 261.577s 11 670 67.244s 0.018s 67.301s 12 20,439 1,619.364s 0.008s 1,619.605s 13 261,529 1,952.564s 0.376s 1,971.18s 14 2,748 267.44s 0.26s 274.631s 15 57,576 2,012.023s 0.01s 2,017.927s 16 893 89.601s 0.003s 94.98s 17 238 24.01s 0.002s 24.041s 18 450 45.263s 0.002s 45.295s 19 186 18.69s 0.003s 18.721s 20 350 35.216s 0.002s 35.307s 21 89 8.997s 0.001s 9.012s 22 57,872 2,270.226s 0.003s 2,270.43s 23 270 27.23s 0.002s 27.26s Jan 03 00 1,525 152.9s 0.004s 152.937s 01 216 21.74s 0.002s 21.77s 02 195 19.711s 0.002s 19.741s 03 289 29.129s 0.002s 29.161s 04 7,960 797.137s 0.003s 797.218s 05 337 33.84s 0.002s 33.87s 06 626 62.86s 0.004s 62.891s 07 843 84.607s 0.004s 84.679s 08 836 83.793s 0.004s 83.823s 09 242 24.426s 0.002s 24.457s 10 379 38.135s 0.002s 38.166s 11 15,787 1,509.275s 0.001s 1,509.433s 12 44,374 1,725.638s 0.006s 1,725.686s 13 1,342 134.398s 0.003s 134.432s 14 996 99.722s 0.002s 99.753s 15 978 98.051s 0.004s 98.127s 16 2,118 212.217s 0.003s 212.289s 17 548 55.053s 0.003s 55.083s 18 685 68.583s 0.003s 68.613s 19 601 60.385s 0.003s 60.416s 20 294 29.613s 0.003s 29.643s 21 218 22.02s 0.002s 22.05s 22 227 22.907s 0.002s 22.937s 23 3,899 390.471s 0.003s 390.508s Jan 04 00 3,667 416.981s 0.003s 417.056s 01 4,776 478.191s 0.003s 478.271s 02 1,823 182.748s 0.003s 182.778s 03 291 29.324s 0.002s 29.356s 04 6,645 665.679s 0.003s 665.802s 05 1,402 140.591s 0.003s 140.623s 06 224 22.525s 0.002s 22.557s 07 250 25.213s 0.002s 25.244s 08 268 27.009s 0.002s 27.04s 09 140 14.195s 0.002s 14.226s 10 481 48.353s 0.003s 48.426s 11 699 70.072s 0.004s 70.104s 12 6,227 623.923s 0.004s 624.004s 13 1,718 172.115s 0.002s 172.19s 14 527 52.961s 0.003s 52.99s 15 219 22.15s 0.002s 22.179s 16 352 35.351s 0.002s 35.382s 17 166 16.806s 0.002s 16.837s 18 394 39.552s 0.001s 39.568s 19 603,896 3,245.205s 0.005s 3,245.26s 20 163 16.506s 0.002s 16.535s 21 212 21.42s 0.003s 21.451s 22 199 20.112s 0.002s 20.143s 23 1,063 106.56s 0.001s 106.579s Jan 05 00 8,843 885.907s 0.006s 885.959s 01 250 25.14s 0.002s 25.211s 02 359 36.142s 0.003s 36.173s 03 14,426 1,444.537s 0.003s 1,444.638s 04 397 39.847s 0.002s 39.923s 05 595 59.698s 0.002s 59.729s 06 747 74.903s 0.004s 74.935s 07 500 50.265s 0.002s 50.295s 08 1,959 196.139s 0.003s 196.217s 09 425 42.567s 0.001s 42.582s 10 57,248 1,678.892s 0.004s 1,679.092s 11 7,470 747.975s 0.003s 748.1s 12 585 58.692s 0.003s 58.726s 13 638 64.095s 0.003s 64.126s 14 720 72.227s 0.003s 72.258s 15 858 86.033s 0.004s 86.066s 16 749 75.225s 0.004s 75.302s 17 1,748,486 816.345s 0.702s 837.993s 18 1,180,216 3,059.088s 0.241s 3,072.597s 19 244,801 3,281.152s 0.018s 3,282.944s 20 1,045 104.853s 0.004s 104.885s 21 458,671 257.204s 0.778s 294.864s 22 709,412 2,296.076s 0.02s 2,303.234s 23 324,690 1,654.678s 0.009s 1,661.606s Jan 06 00 9,956,853 2,699.032s 0.108s 2,737.77s 01 1,924,834 3,493.989s 1.069s 3,511.053s 02 7,106 711.627s 0.003s 711.802s 03 868,829 3,185.246s 0.587s 3,204.451s 04 273,304 823.562s 4.182s 971.736s 05 583,283 4,669.17s 0.094s 4,685.235s 06 108,418 2,364.136s 0.104s 2,364.852s 07 1,096,952 3,592.302s 0.005s 3,602.949s 08 770 77.199s 0.003s 77.235s 09 1,148 115.064s 0.003s 115.095s 10 549 55.073s 0.001s 55.087s 11 27,358 1,679.355s 0.003s 1,679.496s 12 22,437 1,805.509s 0.005s 1,805.646s 13 957 96.688s 0.006s 96.97s 14 2,822 282.804s 0.002s 282.892s 15 403 40.373s 0.002s 40.389s 16 555 0.274s 0.002s 3,131.983s 17 6,496 650.406s 0.003s 650.56s 18 54,780 1,637.451s 0.002s 1,637.501s 19 900 90.113s 0.003s 90.143s 20 2,084 208.796s 0.002s 208.829s 21 225 22.72s 0.002s 22.751s 22 281 28.233s 0.002s 28.248s 23 53,239 1,644.038s 0.092s 1,649.378s Jan 07 00 5,405 559.568s 0.15s 566.839s 01 337 36.367s 0.039s 36.925s 02 59,614 1,639.822s 0.074s 1,644.571s 03 296 31.464s 0.026s 32.204s 04 1,664 173.007s 0.044s 176.231s 05 105,011 1,812.557s 0.193s 1,823.468s 06 5,114 530.476s 0.055s 536.671s 07 449 47.746s 0.07s 48.388s 08 8,310 832.57s 0.003s 832.655s 09 5,451 59.253s 0.005s 59.312s 10 1,539 154.398s 0.003s 154.43s 11 1,225 125.177s 0.073s 125.37s 12 3,588 359.506s 0.004s 359.587s 13 53,215 1,653.731s 0.004s 1,653.866s 14 2,287 229.319s 0.004s 229.378s 15 198 20.044s 0.002s 20.077s 16 1,625 162.916s 0.004s 162.99s 17 1,486 149.076s 0.004s 149.108s 18 1,016 101.954s 0.003s 101.984s 19 1,013 101.695s 0.004s 101.728s 20 701 70.408s 0.004s 70.441s 21 908 91.158s 0.002s 91.188s 22 668 67.021s 0.003s 67.051s 23 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jan 01 00 0 0 1 60 0.001s 0.002s 01 0 0 0 29 0.001s 0.002s 02 0 0 0 27 0.001s 0.002s 03 0 0 3 42 0.001s 0.002s 04 0 0 0 32 0.001s 0.002s 05 0 0 0 28 0.001s 0.002s 06 0 0 0 30 0.001s 0.002s 07 0 0 1 36 0.001s 0.002s 08 0 0 0 58 0.001s 0.002s 09 0 0 0 123 0.001s 0.002s 10 0 0 0 110 0.001s 0.002s 11 0 0 0 17 0.001s 0.002s 12 0 0 0 25 0.001s 0.002s 13 0 0 2 65 0.001s 0.002s 14 0 0 0 31 0.001s 0.002s 15 0 0 0 21 0.001s 0.002s 16 0 0 0 29 0.001s 0.002s 17 0 0 0 18 0.001s 0.002s 18 0 0 0 15 0.001s 0.002s 19 0 0 0 23 0.001s 0.002s 20 0 0 0 16 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 0 0 27 0.001s 0.002s 23 0 0 25 39 0.001s 0.002s Jan 02 00 0 0 1 69 0.001s 0.002s 01 0 0 0 30 0.001s 0.002s 02 0 0 0 51 0.001s 0.002s 03 0 0 74 48 0.001s 0.002s 04 0 0 0 16 0.001s 0.001s 05 0 0 16 60 0.001s 0.003s 06 0 0 0 35 0.001s 0.002s 07 0 0 0 123 0.001s 0.002s 08 0 0 0 120 0.001s 0.002s 09 0 0 1 120 0.001s 0.002s 10 0 0 1 690 0.001s 0.002s 11 0 0 0 236 0.001s 0.002s 12 0 0 18 118 0.001s 0.001s 13 0 156 1,387 404 0.212s 0.008s 14 0 33 538 206 0.253s 0.005s 15 0 0 481 106 0.001s 0.002s 16 0 0 419 101 0.001s 0.002s 17 0 0 0 59 0.001s 0.002s 18 0 0 0 36 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 1 0 31 0.001s 0.002s 21 0 0 0 7 0.001s 0.001s 22 0 37 0 50 0.001s 0.003s 23 0 0 0 28 0.001s 0.002s Jan 03 00 0 1 0 77 0.001s 0.002s 01 0 0 0 35 0.001s 0.002s 02 0 0 0 31 0.001s 0.002s 03 0 0 0 36 0.001s 0.002s 04 0 4 0 48 0.001s 0.002s 05 0 0 0 34 0.001s 0.002s 06 0 0 0 72 0.001s 0.002s 07 0 1 0 145 0.001s 0.002s 08 0 0 0 112 0.001s 0.002s 09 0 0 0 32 0.001s 0.002s 10 0 0 0 125 0.001s 0.002s 11 0 39 0 33 0.001s 0.001s 12 0 0 0 167 0.001s 0.003s 13 0 1 0 130 0.001s 0.002s 14 0 0 0 48 0.001s 0.002s 15 0 1 0 25 0.001s 0.002s 16 0 1 0 36 0.001s 0.002s 17 0 0 0 24 0.001s 0.002s 18 0 0 0 28 0.001s 0.002s 19 0 0 0 17 0.001s 0.002s 20 0 0 0 16 0.001s 0.002s 21 0 0 0 17 0.001s 0.002s 22 0 0 0 18 0.001s 0.002s 23 0 2 0 28 0.001s 0.002s Jan 04 00 0 2 0 86 0.001s 0.002s 01 0 3 0 48 0.001s 0.002s 02 0 0 0 49 0.001s 0.002s 03 0 0 0 41 0.001s 0.002s 04 0 4 0 63 0.001s 0.002s 05 0 0 0 48 0.001s 0.002s 06 0 0 0 26 0.001s 0.002s 07 0 0 0 30 0.001s 0.002s 08 0 0 0 29 0.001s 0.002s 09 0 0 0 20 0.001s 0.002s 10 0 1 0 27 0.001s 0.002s 11 0 0 0 44 0.001s 0.002s 12 0 3 0 47 0.001s 0.002s 13 0 1 0 45 0.001s 0.002s 14 0 0 0 34 0.001s 0.002s 15 0 0 0 19 0.001s 0.002s 16 0 0 0 31 0.001s 0.002s 17 0 0 0 18 0.001s 0.002s 18 0 0 0 12 0.001s 0.001s 19 0 0 0 48 0.001s 0.003s 20 0 0 0 21 0.001s 0.002s 21 0 0 0 24 0.002s 0.002s 22 0 0 0 23 0.001s 0.002s 23 0 1 0 20 0.001s 0.001s Jan 05 00 0 0 0 105 0.001s 0.003s 01 0 1 0 30 0.001s 0.002s 02 0 0 0 35 0.001s 0.002s 03 0 8 0 76 0.001s 0.002s 04 0 1 0 33 0.001s 0.002s 05 0 0 0 30 0.001s 0.002s 06 0 0 0 38 0.001s 0.002s 07 0 0 0 34 0.001s 0.002s 08 0 2 0 73 0.001s 0.002s 09 0 0 0 18 0.001s 0.001s 10 0 38 0 57 0.001s 0.003s 11 0 5 0 98 0.002s 0.002s 12 0 0 0 26 0.001s 0.002s 13 0 0 0 28 0.001s 0.002s 14 0 0 0 31 0.001s 0.002s 15 0 0 0 22 0.001s 0.002s 16 0 1 0 26 0.001s 0.002s 17 0 31 1,615 244 0.131s 0.012s 18 0 0 1,076 180 0.063s 0.006s 19 0 1 119 257 0.001s 0.003s 20 0 0 0 37 0.001s 0.002s 21 0 32 2,709 153 0.767s 0.039s 22 0 0 572 145 0.001s 0.003s 23 0 0 570 48 0.001s 0.002s Jan 06 00 0 277 2,762 615 0.027s 0.006s 01 0 4 1,195 228 0.728s 0.016s 02 0 1 0 70 0.001s 0.002s 03 0 225 1,311 303 0.410s 0.012s 04 0 427 9,738 779 0.684s 0.16s 05 0 18 1,278 290 0.029s 0.003s 06 0 59 16 122 0.064s 0.003s 07 0 0 874 268 0.001s 0.003s 08 0 1 0 39 0.001s 0.002s 09 0 0 0 73 0.001s 0.002s 10 0 0 0 64 0.001s 0.001s 11 0 10 0 98 0.001s 0.002s 12 0 10 0 224 0.001s 0.003s 13 0 0 0 75 0.004s 0.002s 14 0 1 0 56 0.001s 0.002s 15 0 0 0 48 0.001s 0.001s 16 0 1 0 58 0.002s 0.001s 17 0 36 0 42 0.001s 0.002s 18 0 4 0 42 0.001s 0.002s 19 0 0 0 28 0.001s 0.002s 20 0 1 0 42 0.001s 0.002s 21 0 0 0 16 0.001s 0.002s 22 0 0 0 19 0.001s 0.001s 23 0 35 0 50 0.038s 0.008s Jan 07 00 0 3 0 66 0.052s 0.006s 01 0 0 0 31 0.012s 0.004s 02 0 34 0 61 0.055s 0.003s 03 0 0 0 30 0.013s 0.003s 04 0 1 0 35 0.033s 0.002s 05 0 70 0 81 0.067s 0.009s 06 0 2 0 150 0.032s 0.002s 07 0 0 0 117 0.036s 0.002s 08 0 3 0 71 0.001s 0.002s 09 0 3 0 163 0.001s 0.003s 10 0 0 0 140 0.001s 0.002s 11 0 0 0 122 0.050s 0.003s 12 0 2 0 141 0.001s 0.002s 13 0 35 0 143 0.001s 0.002s 14 0 0 0 45 0.001s 0.002s 15 0 0 0 18 0.001s 0.002s 16 0 1 0 91 0.001s 0.002s 17 0 0 0 41 0.001s 0.002s 18 0 0 0 71 0.001s 0.002s 19 0 0 0 23 0.001s 0.002s 20 0 0 0 23 0.001s 0.002s 21 0 0 0 32 0.001s 0.002s 22 0 0 0 27 0.001s 0.002s 23 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jan 01 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 02 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jan 03 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jan 04 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jan 05 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jan 06 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jan 07 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Jan 01 00 10,985.00 kB 34,583.00 kB 01 574.00 kB 28,202.00 kB 02 595.00 kB 22,956.50 kB 03 23,912.00 kB 33,200.50 kB 04 807.50 kB 40,033.00 kB 05 801.00 kB 32,600.00 kB 06 911.00 kB 26,575.00 kB 07 1,033.50 kB 21,699.00 kB 08 534.50 kB 17,686.00 kB 09 1,219.00 kB 14,526.50 kB 10 1,057.50 kB 12,000.50 kB 11 306.00 kB 9,795.00 kB 12 549.00 kB 8,036.00 kB 13 13,967.50 kB 26,165.00 kB 14 636.00 kB 21,316.00 kB 15 562.00 kB 17,373.00 kB 16 653.50 kB 14,172.00 kB 17 470.00 kB 11,593.00 kB 18 349.00 kB 9,458.50 kB 19 623.50 kB 7,757.00 kB 20 453.50 kB 6,388.00 kB 21 568.00 kB 5,277.50 kB 22 830.50 kB 4,433.00 kB 23 204,700.50 kB 387,947.50 kB Jan 02 00 4,341.50 kB 315,027.50 kB 01 453.50 kB 255,317.50 kB 02 2,018.50 kB 207,180.50 kB 03 605,670.50 kB 1,150,431.00 kB 04 767.00 kB 980,989.00 kB 05 85,670.67 kB 820,505.33 kB 06 927.00 kB 629,465.50 kB 07 1,769.50 kB 510,153.00 kB 08 1,727.00 kB 413,560.50 kB 09 1,743.50 kB 335,334.50 kB 10 7,906.00 kB 272,527.00 kB 11 2,020.00 kB 221,723.50 kB 12 292,573.00 kB 292,573.00 kB 13 6,322,313.50 kB 7,030,890.25 kB 14 2,943,490.33 kB 7,782,597.33 kB 15 3,936,417.50 kB 8,288,448.00 kB 16 3,698,866.00 kB 7,416,223.00 kB 17 716.50 kB 6,007,459.50 kB 18 864.00 kB 4,866,221.00 kB 19 516.00 kB 3,941,748.00 kB 20 963.00 kB 3,192,956.50 kB 21 539.00 kB 2,722,538.00 kB 22 204,583.33 kB 2,253,650.67 kB 23 702.00 kB 1,743,889.50 kB Jan 03 00 5,104.50 kB 1,413,441.50 kB 01 604.00 kB 1,145,078.50 kB 02 575.50 kB 927,627.00 kB 03 761.50 kB 751,507.50 kB 04 32,375.00 kB 614,882.00 kB 05 1,062.50 kB 498,232.50 kB 06 809.50 kB 403,722.50 kB 07 2,753.50 kB 327,466.00 kB 08 3,083.50 kB 265,910.50 kB 09 690.00 kB 215,530.50 kB 10 1,081.00 kB 174,769.00 kB 11 159,260.00 kB 164,999.00 kB 12 160,593.67 kB 428,913.33 kB 13 4,757.50 kB 329,815.50 kB 14 3,278.00 kB 267,907.00 kB 15 2,653.50 kB 217,541.00 kB 16 7,912.50 kB 177,216.00 kB 17 1,307.50 kB 144,356.50 kB 18 2,427.50 kB 117,234.50 kB 19 850.50 kB 95,276.00 kB 20 871.50 kB 77,338.50 kB 21 633.50 kB 62,767.00 kB 22 649.50 kB 50,971.00 kB 23 12,757.50 kB 42,615.50 kB Jan 04 00 15,350.50 kB 37,886.00 kB 01 23,407.50 kB 39,779.00 kB 02 5,162.00 kB 40,740.50 kB 03 477.50 kB 33,086.50 kB 04 28,895.50 kB 38,208.50 kB 05 3,478.00 kB 40,894.00 kB 06 426.00 kB 33,246.50 kB 07 445.50 kB 26,995.50 kB 08 492.50 kB 21,955.00 kB 09 223.00 kB 17,848.50 kB 10 1,024.50 kB 14,646.50 kB 11 1,708.00 kB 12,126.50 kB 12 29,154.00 kB 32,082.00 kB 13 2,178.00 kB 45,798.00 kB 14 1,470.00 kB 37,475.50 kB 15 537.50 kB 30,469.00 kB 16 767.00 kB 24,817.00 kB 17 409.50 kB 20,188.50 kB 18 662.00 kB 17,300.00 kB 19 496.33 kB 14,158.00 kB 20 412.00 kB 10,958.00 kB 21 525.00 kB 8,967.50 kB 22 487.50 kB 7,363.50 kB 23 6,192.00 kB 6,918.00 kB Jan 05 00 4,401.67 kB 7,845.67 kB 01 791.00 kB 7,102.50 kB 02 1,084.00 kB 5,954.50 kB 03 71,154.50 kB 92,241.00 kB 04 1,276.00 kB 77,042.50 kB 05 1,783.00 kB 62,710.50 kB 06 1,577.00 kB 51,114.00 kB 07 1,547.50 kB 41,704.50 kB 08 13,141.00 kB 35,218.50 kB 09 2,023.00 kB 31,418.00 kB 10 207,782.67 kB 560,110.00 kB 11 37,736.00 kB 434,035.50 kB 12 1,796.50 kB 354,536.00 kB 13 1,799.50 kB 287,489.00 kB 14 2,075.50 kB 233,252.00 kB 15 2,068.50 kB 189,349.00 kB 16 2,140.00 kB 153,756.50 kB 17 6,610,589.75 kB 6,643,312.50 kB 18 8,814,674.50 kB 8,816,214.00 kB 19 829,421.67 kB 7,391,673.33 kB 20 3,099.50 kB 5,667,899.50 kB 21 7,396,231.83 kB 8,316,090.83 kB 22 3,301,916.00 kB 8,200,656.00 kB 23 4,410,577.00 kB 7,734,928.00 kB Jan 06 00 8,296,016.17 kB 9,134,404.67 kB 01 6,715,766.00 kB 8,974,361.00 kB 02 23,937.50 kB 7,284,952.00 kB 03 6,157,507.25 kB 7,631,806.50 kB 04 8,780,956.89 kB 9,232,625.47 kB 05 6,984,933.67 kB 8,793,581.67 kB 06 607,914.50 kB 7,294,859.50 kB 07 4,951,485.67 kB 8,348,094.67 kB 08 1,616.50 kB 6,572,812.50 kB 09 2,378.00 kB 5,324,392.50 kB 10 2,100.00 kB 4,540,061.00 kB 11 78,664.50 kB 3,896,531.50 kB 12 57,006.33 kB 3,016,472.00 kB 13 2,600.50 kB 2,313,278.00 kB 14 8,237.00 kB 1,874,797.00 kB 15 2,561.00 kB 1,599,450.00 kB 16 2,445.00 kB 1,439,750.00 kB 17 32,197.00 kB 1,234,394.50 kB 18 296,723.00 kB 1,058,838.00 kB 19 2,685.50 kB 858,142.00 kB 20 6,687.00 kB 695,966.50 kB 21 736.00 kB 564,372.00 kB 22 1,675.00 kB 481,405.00 kB 23 191,453.33 kB 517,191.67 kB Jan 07 00 18,892.50 kB 399,445.50 kB 01 1,161.50 kB 324,454.50 kB 02 284,478.50 kB 538,903.50 kB 03 967.00 kB 436,744.00 kB 04 10,689.00 kB 373,484.00 kB 05 379,749.00 kB 1,018,508.67 kB 06 15,274.00 kB 783,065.50 kB 07 1,548.50 kB 635,662.00 kB 08 28,395.50 kB 518,239.50 kB 09 13,171.33 kB 282,969.00 kB 10 4,075.00 kB 6,910.00 kB 11 2,742.00 kB 5,952.50 kB 12 9,957.00 kB 12,090.00 kB 13 287,986.00 kB 546,366.00 kB 14 5,532.00 kB 443,170.50 kB 15 196.50 kB 359,475.50 kB 16 542.00 kB 291,273.50 kB 17 1,003.50 kB 236,124.00 kB 18 502.50 kB 191,357.00 kB 19 195.50 kB 155,036.50 kB 20 212.50 kB 125,617.50 kB 21 524.00 kB 101,846.50 kB 22 256.50 kB 82,547.50 kB 23 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 98.66 GiB Temp Files size Peak
- 2025-01-06 16:45:17 Date
Number of temporary files
Key values
- 99 per second Temp Files Peak
- 2025-01-06 16:45:17 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jan 01 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 02 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 325 5.10 GiB 16.07 MiB 13 481 21.40 GiB 45.57 MiB 14 202 19.26 GiB 97.64 MiB 15 115 5.47 GiB 48.68 MiB 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 03 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jan 04 00 6 3.09 MiB 526.67 KiB 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 05 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 26 25.65 GiB 1010.31 MiB 20 50 49.72 GiB 1018.35 MiB 21 329 176.87 GiB 550.50 MiB 22 10 7.90 GiB 809.38 MiB 23 210 17.52 GiB 85.42 MiB Jan 06 00 137 31.11 GiB 232.56 MiB 01 0 0 0 02 0 0 0 03 280 16.81 GiB 61.46 MiB 04 727 140.03 GiB 197.24 MiB 05 0 0 0 06 0 0 0 07 9 8.07 GiB 918.70 MiB 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 42 41.17 GiB 1003.71 MiB 14 0 0 0 15 0 0 0 16 854 850.13 GiB 1019.36 MiB 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 07 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 1,193 70.12 GiB 8.00 KiB 1.00 GiB 60.19 MiB select * from pgbulkload.pg_bulkload (?);-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2025-01-05 21:16:28 Duration: 6m41s Database: ctdprd51 User: load Application: pg_bulkload
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2025-01-05 22:00:43 Duration: 5m4s
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2025-01-02 13:00:52 Duration: 4m4s
2 925 154.14 GiB 120.00 KiB 1.00 GiB 170.64 MiB vacuum full analyze;-
VACUUM FULL ANALYZE;
Date: 2025-01-06 04:39:35 Duration: 45m37s
-
VACUUM FULL ANALYZE;
Date: 2025-01-06 03:54:29 Duration: 0ms
3 73 72.85 GiB 867.80 MiB 1.00 GiB 1021.86 MiB select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.gene_go_annot gga, pub2.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in;-
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in;
Date: 2025-01-05 21:05:04 Duration: 0ms
4 62 1.98 GiB 7.45 MiB 1.00 GiB 32.77 MiB cluster pub2.term;-
CLUSTER pub2.TERM;
Date: 2025-01-06 03:53:21 Duration: 58s326ms
-
CLUSTER pub2.TERM;
Date: 2025-01-06 03:52:31 Duration: 0ms
5 50 49.72 GiB 741.39 MiB 1.00 GiB 1018.35 MiB select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.object_type where cd = ?), ptr.term_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.phenotype_term_reference ptr, pub2.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in;-
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in;
Date: 2025-01-05 20:22:06 Duration: 0ms
6 42 41.17 GiB 171.96 MiB 1.00 GiB 1003.71 MiB select ;-
SELECT /* ChemDiseaseAssnsDAO */ ;
Date: 2025-01-07 14:10:17 Duration: 4s621ms Database: ctdprd51 User: pubeu
-
SELECT /* ChemGenesDAO */ ;
Date: 2025-01-07 11:48:32 Duration: 4s390ms
-
SELECT /* ChemDiseaseAssnsDAO */ ;
Date: 2025-01-07 14:10:14 Duration: 3s185ms Database: ctdprd51 User: pubeu
7 35 1.14 GiB 21.78 MiB 48.13 MiB 33.22 MiB vacuum full analyze ixn_actor;-
vacuum FULL analyze ixn_actor;
Date: 2025-01-02 15:50:26 Duration: 22s832ms
-
vacuum FULL analyze ixn_actor;
Date: 2025-01-02 15:50:09 Duration: 0ms
8 35 3.76 GiB 62.46 MiB 145.92 MiB 109.89 MiB vacuum full analyze db_link;-
vacuum FULL analyze db_link;
Date: 2025-01-02 15:52:48 Duration: 1m36s
-
vacuum FULL analyze db_link;
Date: 2025-01-02 15:51:29 Duration: 0ms
9 26 25.65 GiB 668.05 MiB 1.00 GiB 1010.31 MiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, to_char(cdr.mod_tm, ?) from pub2.gene_chem_reference gcr, pub2.chem_disease_reference cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = ? and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;-
select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;
Date: 2025-01-05 19:39:29 Duration: 0ms
10 25 16.43 GiB 8.00 KiB 1.00 GiB 672.77 MiB alter table pub2.term_enrichment_agent add constraint term_enrichment_agent_pk primary key (term_id, enriched_term_id, agent_term_id);-
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2025-01-06 00:09:42 Duration: 2m58s
-
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2025-01-06 00:09:41 Duration: 0ms
11 25 373.74 MiB 13.56 MiB 19.09 MiB 14.95 MiB vacuum full analyze ixn;-
vacuum FULL analyze ixn;
Date: 2025-01-02 15:50:46 Duration: 7s244ms
-
vacuum FULL analyze ixn;
Date: 2025-01-02 15:50:41 Duration: 0ms
12 20 12.64 GiB 8.00 KiB 1.00 GiB 647.18 MiB create unique index gene_disease_reference_ak1 on pub2.gene_disease_reference using btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);-
CREATE UNIQUE INDEX gene_disease_reference_ak1 ON pub2.gene_disease_reference USING btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);
Date: 2025-01-05 21:22:04 Duration: 3m7s
-
CREATE UNIQUE INDEX gene_disease_reference_ak1 ON pub2.gene_disease_reference USING btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);
Date: 2025-01-05 21:22:03 Duration: 0ms
13 20 215.98 MiB 6.88 MiB 15.36 MiB 10.80 MiB vacuum full analyze term;-
vacuum FULL analyze TERM;
Date: 2025-01-02 15:50:24 Duration: 9s946ms
-
vacuum FULL analyze TERM;
Date: 2025-01-02 15:50:16 Duration: 0ms
14 20 727.08 MiB 21.78 MiB 62.73 MiB 36.35 MiB cluster pub2.term_label;-
CLUSTER pub2.TERM_LABEL;
Date: 2025-01-06 03:53:56 Duration: 35s31ms
-
CLUSTER pub2.TERM_LABEL;
Date: 2025-01-06 03:53:27 Duration: 0ms
15 15 11.73 GiB 261.86 MiB 1.00 GiB 800.90 MiB create index ix_term_enrich_agent_enr_term on pub2.term_enrichment_agent using btree (enriched_term_id);-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);
Date: 2025-01-06 00:11:28 Duration: 1m45s
-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);
Date: 2025-01-06 00:11:27 Duration: 0ms
16 15 7.02 GiB 8.00 KiB 1.00 GiB 479.39 MiB alter table pub2.gene_disease_reference add constraint gene_disease_reference_pk primary key (id);-
ALTER TABLE pub2.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2025-01-05 21:18:56 Duration: 1m12s
-
ALTER TABLE pub2.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2025-01-05 21:18:55 Duration: 0ms Database: ctdprd51 User: pub2
17 12 6.95 MiB 40.00 KiB 1.26 MiB 593.33 KiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2025-01-07 00:37:26 Duration: 3s532ms
-
VACUUM FULL ANALYZE log_query;
Date: 2025-01-06 00:22:47 Duration: 0ms
18 10 7.02 GiB 383.45 MiB 1.00 GiB 719.08 MiB create index ix_gene_disease_reference_ixn on pub2.gene_disease_reference using btree (ixn_id);-
CREATE INDEX ix_gene_disease_reference_ixn ON pub2.gene_disease_reference USING btree (ixn_id);
Date: 2025-01-05 21:31:01 Duration: 1m20s
-
CREATE INDEX ix_gene_disease_reference_ixn ON pub2.gene_disease_reference USING btree (ixn_id);
Date: 2025-01-05 21:31:01 Duration: 0ms
19 10 7.02 GiB 382.56 MiB 1.00 GiB 719.09 MiB create index ix_gene_disease_ref_disease on pub2.gene_disease_reference using btree (disease_id);-
CREATE INDEX ix_gene_disease_ref_disease ON pub2.gene_disease_reference USING btree (disease_id);
Date: 2025-01-05 21:26:34 Duration: 1m22s
-
CREATE INDEX ix_gene_disease_ref_disease ON pub2.gene_disease_reference USING btree (disease_id);
Date: 2025-01-05 21:26:34 Duration: 0ms
20 10 449.48 MiB 8.00 KiB 94.08 MiB 44.95 MiB create unique index chem_disease_reference_ak1 on pub2.chem_disease_reference using btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);-
CREATE UNIQUE INDEX chem_disease_reference_ak1 ON pub2.chem_disease_reference USING btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);
Date: 2025-01-05 21:37:01 Duration: 7s171ms
-
CREATE UNIQUE INDEX chem_disease_reference_ak1 ON pub2.chem_disease_reference USING btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);
Date: 2025-01-05 21:37:01 Duration: 0ms
21 10 7.02 GiB 385.88 MiB 1.00 GiB 719.08 MiB create index ix_gene_disease_ref_mod_tm on pub2.gene_disease_reference using btree (mod_tm);-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub2.gene_disease_reference USING btree (mod_tm);
Date: 2025-01-05 21:32:24 Duration: 1m23s
-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub2.gene_disease_reference USING btree (mod_tm);
Date: 2025-01-05 21:32:24 Duration: 0ms
22 10 160.98 MiB 8.00 KiB 33.73 MiB 16.10 MiB alter table pub2.term_enrichment add constraint term_enrichment_pk primary key (term_id, enriched_term_id);-
ALTER TABLE pub2.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2025-01-05 23:53:21 Duration: 2s303ms
-
ALTER TABLE pub2.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2025-01-05 23:53:21 Duration: 0ms Database: ctdprd51 User: pub2
23 10 7.02 GiB 384.45 MiB 1.00 GiB 719.08 MiB create index ix_gene_disease_ref_net_sc on pub2.gene_disease_reference using btree (network_score);-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub2.gene_disease_reference USING btree (network_score);
Date: 2025-01-05 21:34:46 Duration: 2m22s
-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub2.gene_disease_reference USING btree (network_score);
Date: 2025-01-05 21:34:46 Duration: 0ms
24 10 7.02 GiB 405.56 MiB 1.00 GiB 719.08 MiB create index ix_gene_disease_ref_src_db on pub2.gene_disease_reference using btree (source_acc_db_id);-
CREATE INDEX ix_gene_disease_ref_src_db ON pub2.gene_disease_reference USING btree (source_acc_db_id);
Date: 2025-01-05 21:22:50 Duration: 46s642ms
-
CREATE INDEX ix_gene_disease_ref_src_db ON pub2.gene_disease_reference USING btree (source_acc_db_id);
Date: 2025-01-05 21:22:50 Duration: 0ms
25 10 246.73 MiB 8.00 KiB 50.05 MiB 24.67 MiB alter table pub2.chem_disease_reference add constraint chem_disease_reference_pk primary key (id);-
ALTER TABLE pub2.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2025-01-05 21:36:54 Duration: 2s314ms
-
ALTER TABLE pub2.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2025-01-05 21:36:54 Duration: 0ms
26 10 7.02 GiB 383.51 MiB 1.00 GiB 719.08 MiB create index ix_gene_disease_ref_dis_gene on pub2.gene_disease_reference using btree (disease_id, gene_id);-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub2.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2025-01-05 21:29:41 Duration: 1m49s
-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub2.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2025-01-05 21:29:41 Duration: 0ms
27 10 7.02 GiB 221.69 MiB 1.00 GiB 719.08 MiB create index ix_gene_disease_ref_source_cd on pub2.gene_disease_reference using btree (source_cd);-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub2.gene_disease_reference USING btree (source_cd);
Date: 2025-01-05 21:23:46 Duration: 55s838ms
-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub2.gene_disease_reference USING btree (source_cd);
Date: 2025-01-05 21:23:46 Duration: 0ms
28 10 64.35 MiB 8.00 KiB 13.84 MiB 6.44 MiB alter table pub2.phenotype_term add constraint phenotype_term_pk primary key (phenotype_id, term_id);-
ALTER TABLE pub2.phenotype_term ADD CONSTRAINT phenotype_term_pk PRIMARY KEY (phenotype_id, term_id);
Date: 2025-01-06 00:26:03 Duration: 0ms
29 10 636.21 MiB 8.00 KiB 128.55 MiB 63.62 MiB alter table pub2.gene_disease add constraint gene_disease_pk primary key (gene_id, disease_id);-
ALTER TABLE pub2.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2025-01-06 00:25:34 Duration: 6s699ms
-
ALTER TABLE pub2.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2025-01-06 00:25:33 Duration: 0ms Database: ctdprd51 User: pub2
30 10 7.02 GiB 384.45 MiB 1.00 GiB 719.08 MiB create index ix_gene_disease_ref_reference on pub2.gene_disease_reference using btree (reference_id);-
CREATE INDEX ix_gene_disease_ref_reference ON pub2.gene_disease_reference USING btree (reference_id);
Date: 2025-01-05 21:27:51 Duration: 1m17s
-
CREATE INDEX ix_gene_disease_ref_reference ON pub2.gene_disease_reference USING btree (reference_id);
Date: 2025-01-05 21:27:51 Duration: 0ms
31 10 1.05 GiB 8.00 KiB 218.74 MiB 107.36 MiB alter table pub2.phenotype_term_reference add constraint phenotype_term_reference_pk primary key (id);-
ALTER TABLE pub2.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2025-01-05 21:34:59 Duration: 12s593ms
-
ALTER TABLE pub2.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2025-01-05 21:34:58 Duration: 0ms
32 10 7.02 GiB 384.45 MiB 1.00 GiB 719.08 MiB create index ix_gene_disease_ref_chem on pub2.gene_disease_reference using btree (via_chem_id);-
CREATE INDEX ix_gene_disease_ref_chem ON pub2.gene_disease_reference USING btree (via_chem_id);
Date: 2025-01-05 21:25:11 Duration: 1m25s
-
CREATE INDEX ix_gene_disease_ref_chem ON pub2.gene_disease_reference USING btree (via_chem_id);
Date: 2025-01-05 21:25:11 Duration: 0ms
33 9 8.07 GiB 76.27 MiB 1.00 GiB 918.70 MiB select pub2.maint_cached_value_refresh_data_metrics ();-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2025-01-06 07:26:04 Duration: 33m23s
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2025-01-06 07:21:49 Duration: 0ms
34 8 64.82 MiB 8.00 KiB 16.47 MiB 8.10 MiB alter table pub2.chem_disease add constraint chem_disease_pk primary key (chem_id, disease_id);-
ALTER TABLE pub2.chem_disease ADD CONSTRAINT chem_disease_pk PRIMARY KEY (chem_id, disease_id);
Date: 2025-01-06 00:26:06 Duration: 0ms
35 6 5.55 GiB 560.87 MiB 1.00 GiB 946.81 MiB select distinct ptr.phenotype_id, cdr.disease_id, ( select id from pub2.object_type where cd = ?), cdr.reference_id, ptr.reference_id, cdr.ixn_id, cdr.chem_id, ( select id from pub2.object_type where cd = ?), cdr.mod_tm from pub2.chem_disease_reference cdr, pub2.phenotype_term_reference ptr where cdr.chem_id = ptr.term_id;-
SELECT DISTINCT ptr.phenotype_id, cdr.disease_id, ( select id from pub2.OBJECT_TYPE where cd = 'disease'), cdr.reference_id, ptr.reference_id, cdr.ixn_id, cdr.chem_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), cdr.mod_tm FROM pub2.CHEM_DISEASE_REFERENCE cdr, pub2.PHENOTYPE_TERM_REFERENCE ptr WHERE cdr.chem_id = ptr.term_id;
Date: 2025-01-05 21:08:58 Duration: 0ms
36 5 680.00 KiB 104.00 KiB 160.00 KiB 136.00 KiB create index ix_gene_disease_cur_ref_qty on pub2.gene_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_gene_disease_cur_ref_qty ON pub2.gene_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2025-01-06 00:25:55 Duration: 0ms
37 5 1.05 GiB 206.35 MiB 222.32 MiB 214.71 MiB create index ix_phenotype_term_reference_ixn_id on pub2.phenotype_term_reference using btree (ixn_id);-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub2.phenotype_term_reference USING btree (ixn_id);
Date: 2025-01-05 21:36:25 Duration: 10s463ms
-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub2.phenotype_term_reference USING btree (ixn_id);
Date: 2025-01-05 21:36:25 Duration: 0ms
38 5 246.70 MiB 47.80 MiB 50.78 MiB 49.34 MiB create index ix_chem_disease_ref_mod_tm on pub2.chem_disease_reference using btree (mod_tm);-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub2.chem_disease_reference USING btree (mod_tm);
Date: 2025-01-05 21:37:19 Duration: 2s722ms
-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub2.chem_disease_reference USING btree (mod_tm);
Date: 2025-01-05 21:37:19 Duration: 0ms
39 5 160.95 MiB 30.52 MiB 33.35 MiB 32.19 MiB create index ix_term_enrich_enr_obj_type on pub2.term_enrichment using btree (enriched_object_type_id);-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub2.term_enrichment USING btree (enriched_object_type_id);
Date: 2025-01-05 23:53:25 Duration: 1s58ms
-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub2.term_enrichment USING btree (enriched_object_type_id);
Date: 2025-01-05 23:53:25 Duration: 0ms
40 5 64.31 MiB 11.48 MiB 13.58 MiB 12.86 MiB create index ix_phenotype_term_phenotype_id on pub2.phenotype_term using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_phenotype_id ON pub2.phenotype_term USING btree (phenotype_id);
Date: 2025-01-06 00:26:04 Duration: 0ms
41 5 1.05 GiB 206.38 MiB 217.79 MiB 214.71 MiB create index ix_phenotype_term_ref_phenotype_id on pub2.phenotype_term_reference using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_ref_phenotype_id ON pub2.phenotype_term_reference USING btree (phenotype_id);
Date: 2025-01-05 21:35:08 Duration: 9s361ms
-
CREATE INDEX ix_phenotype_term_ref_phenotype_id ON pub2.phenotype_term_reference USING btree (phenotype_id);
Date: 2025-01-05 21:35:08 Duration: 0ms
42 5 1.05 GiB 197.82 MiB 228.53 MiB 214.71 MiB create index ix_phenotype_term_reference_term_reference_id on pub2.phenotype_term_reference using btree (term_reference_id);-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub2.phenotype_term_reference USING btree (term_reference_id);
Date: 2025-01-05 21:36:15 Duration: 12s472ms
-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub2.phenotype_term_reference USING btree (term_reference_id);
Date: 2025-01-05 21:36:15 Duration: 0ms
43 5 224.71 MiB 42.55 MiB 47.42 MiB 44.94 MiB create index ix_term_enrich_raw_p_val on pub2.term_enrichment using btree (raw_p_val);-
CREATE INDEX ix_term_enrich_raw_p_val ON pub2.term_enrichment USING btree (raw_p_val);
Date: 2025-01-05 23:53:35 Duration: 4s722ms
-
CREATE INDEX ix_term_enrich_raw_p_val ON pub2.term_enrichment USING btree (raw_p_val);
Date: 2025-01-05 23:53:35 Duration: 0ms
44 5 160.95 MiB 30.08 MiB 33.99 MiB 32.19 MiB create index ix_term_enrich_obj_type on pub2.term_enrichment using btree (object_type_id);-
CREATE INDEX ix_term_enrich_obj_type ON pub2.term_enrichment USING btree (object_type_id);
Date: 2025-01-05 23:53:22 Duration: 1s74ms
-
CREATE INDEX ix_term_enrich_obj_type ON pub2.term_enrichment USING btree (object_type_id);
Date: 2025-01-05 23:53:22 Duration: 0ms
45 5 246.70 MiB 48.14 MiB 50.34 MiB 49.34 MiB create index ix_chem_disease_reference_dis on pub2.chem_disease_reference using btree (disease_id);-
CREATE INDEX ix_chem_disease_reference_dis ON pub2.chem_disease_reference USING btree (disease_id);
Date: 2025-01-05 21:37:04 Duration: 2s722ms
-
CREATE INDEX ix_chem_disease_reference_dis ON pub2.chem_disease_reference USING btree (disease_id);
Date: 2025-01-05 21:37:04 Duration: 0ms
46 5 246.70 MiB 48.77 MiB 49.74 MiB 49.34 MiB create index ix_chem_disease_ref_src_db on pub2.chem_disease_reference using btree (source_acc_db_id);-
CREATE INDEX ix_chem_disease_ref_src_db ON pub2.chem_disease_reference USING btree (source_acc_db_id);
Date: 2025-01-05 21:37:11 Duration: 1s893ms
-
CREATE INDEX ix_chem_disease_ref_src_db ON pub2.chem_disease_reference USING btree (source_acc_db_id);
Date: 2025-01-05 21:37:11 Duration: 0ms
47 5 1.05 GiB 207.49 MiB 222.94 MiB 214.71 MiB create index ix_phenotype_term_ref_term_id on pub2.phenotype_term_reference using btree (term_id);-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub2.phenotype_term_reference USING btree (term_id);
Date: 2025-01-05 21:35:18 Duration: 10s28ms
-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub2.phenotype_term_reference USING btree (term_id);
Date: 2025-01-05 21:35:18 Duration: 0ms
48 5 246.70 MiB 47.90 MiB 51.16 MiB 49.34 MiB create index ix_chem_disease_reference_ixn on pub2.chem_disease_reference using btree (ixn_id);-
CREATE INDEX ix_chem_disease_reference_ixn ON pub2.chem_disease_reference USING btree (ixn_id);
Date: 2025-01-05 21:37:16 Duration: 2s820ms
-
CREATE INDEX ix_chem_disease_reference_ixn ON pub2.chem_disease_reference USING btree (ixn_id);
Date: 2025-01-05 21:37:16 Duration: 0ms
49 5 64.30 MiB 12.03 MiB 13.33 MiB 12.86 MiB create index ix_phenotype_term_term_id on pub2.phenotype_term using btree (term_id);-
CREATE INDEX ix_phenotype_term_term_id ON pub2.phenotype_term USING btree (term_id);
Date: 2025-01-06 00:26:04 Duration: 0ms
50 5 40.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_gene_disease_exp_ref_qty on pub2.gene_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_gene_disease_exp_ref_qty ON pub2.gene_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2025-01-06 00:26:02 Duration: 0ms
51 5 1.47 GiB 292.03 MiB 310.87 MiB 301.30 MiB create index ix_phenotype_term_ref_ids on pub2.phenotype_term_reference using btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);-
CREATE INDEX ix_phenotype_term_ref_ids ON pub2.phenotype_term_reference USING btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);
Date: 2025-01-05 21:36:52 Duration: 15s741ms
-
CREATE INDEX ix_phenotype_term_ref_ids ON pub2.phenotype_term_reference USING btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);
Date: 2025-01-05 21:36:52 Duration: 0ms
52 5 246.70 MiB 45.31 MiB 51.59 MiB 49.34 MiB create index ix_chem_disease_ref_source_cd on pub2.chem_disease_reference using btree (source_cd);-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub2.chem_disease_reference USING btree (source_cd);
Date: 2025-01-05 21:37:09 Duration: 1s939ms
-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub2.chem_disease_reference USING btree (source_cd);
Date: 2025-01-05 21:37:09 Duration: 0ms
53 5 636.03 MiB 111.63 MiB 131.45 MiB 127.21 MiB create index ix_gene_disease_ind_chem_qty on pub2.gene_disease using btree (indirect_chem_qty) where (indirect_chem_qty > ?);-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub2.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2025-01-06 00:26:02 Duration: 6s596ms
-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub2.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2025-01-06 00:26:02 Duration: 0ms
54 5 636.18 MiB 119.09 MiB 132.44 MiB 127.24 MiB create index ix_gene_disease_network_score on pub2.gene_disease using btree (network_score);-
CREATE INDEX ix_gene_disease_network_score ON pub2.gene_disease USING btree (network_score);
Date: 2025-01-06 00:25:54 Duration: 14s426ms
-
CREATE INDEX ix_gene_disease_network_score ON pub2.gene_disease USING btree (network_score);
Date: 2025-01-06 00:25:54 Duration: 0ms
55 5 246.71 MiB 47.39 MiB 50.62 MiB 49.34 MiB create index ix_chem_disease_reference_ref on pub2.chem_disease_reference using btree (reference_id);-
CREATE INDEX ix_chem_disease_reference_ref ON pub2.chem_disease_reference USING btree (reference_id);
Date: 2025-01-05 21:37:07 Duration: 2s800ms
-
CREATE INDEX ix_chem_disease_reference_ref ON pub2.chem_disease_reference USING btree (reference_id);
Date: 2025-01-05 21:37:07 Duration: 0ms
56 5 1.05 GiB 207.48 MiB 218.32 MiB 214.71 MiB create index ix_phenotype_term_ref_evidence_cd on pub2.phenotype_term_reference using btree (evidence_cd);-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub2.phenotype_term_reference USING btree (evidence_cd);
Date: 2025-01-05 21:35:54 Duration: 7s211ms
-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub2.phenotype_term_reference USING btree (evidence_cd);
Date: 2025-01-05 21:35:53 Duration: 0ms
57 5 246.70 MiB 48.90 MiB 49.87 MiB 49.34 MiB create index ix_chem_disease_reference_gene on pub2.chem_disease_reference using btree (via_gene_id);-
CREATE INDEX ix_chem_disease_reference_gene ON pub2.chem_disease_reference USING btree (via_gene_id);
Date: 2025-01-05 21:37:13 Duration: 2s725ms
-
CREATE INDEX ix_chem_disease_reference_gene ON pub2.chem_disease_reference USING btree (via_gene_id);
Date: 2025-01-05 21:37:13 Duration: 0ms
58 5 636.18 MiB 119.71 MiB 132.74 MiB 127.24 MiB create index ix_gene_disease_disease on pub2.gene_disease using btree (disease_id);-
CREATE INDEX ix_gene_disease_disease ON pub2.gene_disease USING btree (disease_id);
Date: 2025-01-06 00:25:40 Duration: 6s406ms
-
CREATE INDEX ix_gene_disease_disease ON pub2.gene_disease USING btree (disease_id);
Date: 2025-01-06 00:25:40 Duration: 0ms
59 5 1.05 GiB 212.50 MiB 217.94 MiB 214.71 MiB create index ix_phenotype_term_reference_source_acc_db_id on pub2.phenotype_term_reference using btree (source_acc_db_id);-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub2.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2025-01-05 21:36:02 Duration: 8s627ms
-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub2.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2025-01-05 21:36:02 Duration: 0ms
60 5 1.05 GiB 193.80 MiB 227.45 MiB 214.71 MiB create index ix_phenotype_term_ref_via_term_id on pub2.phenotype_term_reference using btree (via_term_id);-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub2.phenotype_term_reference USING btree (via_term_id);
Date: 2025-01-05 21:36:36 Duration: 10s818ms
-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub2.phenotype_term_reference USING btree (via_term_id);
Date: 2025-01-05 21:36:36 Duration: 0ms
61 5 224.71 MiB 44.45 MiB 46.26 MiB 44.94 MiB create index ix_term_enrich_corr_p_val on pub2.term_enrichment using btree (corrected_p_val);-
CREATE INDEX ix_term_enrich_corr_p_val ON pub2.term_enrichment USING btree (corrected_p_val);
Date: 2025-01-05 23:53:30 Duration: 4s537ms
-
CREATE INDEX ix_term_enrich_corr_p_val ON pub2.term_enrichment USING btree (corrected_p_val);
Date: 2025-01-05 23:53:30 Duration: 0ms
62 5 1.05 GiB 202.72 MiB 221.89 MiB 214.71 MiB create index ix_phenotype_term_ref_taxon_id on pub2.phenotype_term_reference using btree (taxon_id);-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub2.phenotype_term_reference USING btree (taxon_id);
Date: 2025-01-05 21:35:46 Duration: 7s143ms
-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub2.phenotype_term_reference USING btree (taxon_id);
Date: 2025-01-05 21:35:46 Duration: 0ms
63 5 1.05 GiB 203.49 MiB 222.15 MiB 214.71 MiB create index ix_phenotype_term_ref_reference_id on pub2.phenotype_term_reference using btree (reference_id);-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub2.phenotype_term_reference USING btree (reference_id);
Date: 2025-01-05 21:35:39 Duration: 10s814ms
-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub2.phenotype_term_reference USING btree (reference_id);
Date: 2025-01-05 21:35:39 Duration: 0ms
64 5 160.95 MiB 29.47 MiB 34.04 MiB 32.19 MiB create index ix_term_enrich_tgt_match on pub2.term_enrichment using btree (target_match_qty);-
CREATE INDEX ix_term_enrich_tgt_match ON pub2.term_enrichment USING btree (target_match_qty);
Date: 2025-01-05 23:53:24 Duration: 1s817ms
-
CREATE INDEX ix_term_enrich_tgt_match ON pub2.term_enrichment USING btree (target_match_qty);
Date: 2025-01-05 23:53:24 Duration: 0ms
65 5 246.70 MiB 47.57 MiB 50.59 MiB 49.34 MiB create index ix_chem_disease_ref_net_sc on pub2.chem_disease_reference using btree (network_score);-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub2.chem_disease_reference USING btree (network_score);
Date: 2025-01-05 21:37:24 Duration: 5s61ms
-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub2.chem_disease_reference USING btree (network_score);
Date: 2025-01-05 21:37:24 Duration: 0ms
66 5 1.05 GiB 195.72 MiB 225.13 MiB 214.71 MiB create index ix_phenotype_term_ref_object_type_id on pub2.phenotype_term_reference using btree (term_object_type_id);-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub2.phenotype_term_reference USING btree (term_object_type_id);
Date: 2025-01-05 21:35:28 Duration: 10s28ms
-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub2.phenotype_term_reference USING btree (term_object_type_id);
Date: 2025-01-05 21:35:28 Duration: 0ms
67 4 64.79 MiB 15.87 MiB 16.68 MiB 16.20 MiB create index ix_chem_disease_disease on pub2.chem_disease using btree (disease_id);-
CREATE INDEX ix_chem_disease_disease ON pub2.chem_disease USING btree (disease_id);
Date: 2025-01-06 00:26:08 Duration: 0ms
68 4 1.99 MiB 416.00 KiB 616.00 KiB 510.00 KiB create index ix_chem_disease_cur_ref_qty on pub2.chem_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_chem_disease_cur_ref_qty ON pub2.chem_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2025-01-06 00:26:08 Duration: 0ms
69 4 32.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_chem_disease_exp_ref_qty on pub2.chem_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_chem_disease_exp_ref_qty ON pub2.chem_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2025-01-06 00:26:09 Duration: 0ms
70 4 64.80 MiB 13.96 MiB 17.03 MiB 16.20 MiB create index ix_chem_disease_network_score on pub2.chem_disease using btree (network_score);-
CREATE INDEX ix_chem_disease_network_score ON pub2.chem_disease USING btree (network_score);
Date: 2025-01-06 00:26:08 Duration: 1s415ms
-
CREATE INDEX ix_chem_disease_network_score ON pub2.chem_disease USING btree (network_score);
Date: 2025-01-06 00:26:08 Duration: 0ms
71 4 13.70 MiB 8.00 KiB 6.98 MiB 3.43 MiB alter table pub2.phenotype_term_axn add constraint phenotype_term_axn_pk primary key (phenotype_id, term_id, action_type_nm, action_degree_type_nm);-
ALTER TABLE pub2.phenotype_term_axn ADD CONSTRAINT phenotype_term_axn_pk PRIMARY KEY (phenotype_id, term_id, action_type_nm, action_degree_type_nm);
Date: 2025-01-06 00:26:05 Duration: 0ms
72 4 63.91 MiB 15.44 MiB 16.38 MiB 15.98 MiB create index ix_chem_disease_ind_gene_qty on pub2.chem_disease using btree (indirect_gene_qty) where (indirect_gene_qty > ?);-
CREATE INDEX ix_chem_disease_ind_gene_qty ON pub2.chem_disease USING btree (indirect_gene_qty) WHERE (indirect_gene_qty > 0);
Date: 2025-01-06 00:26:09 Duration: 0ms
73 2 6.21 MiB 2.73 MiB 3.48 MiB 3.11 MiB create index ix_phenotype_term_axn_term_id on pub2.phenotype_term_axn using btree (term_id);-
CREATE INDEX ix_phenotype_term_axn_term_id ON pub2.phenotype_term_axn USING btree (term_id);
Date: 2025-01-06 00:26:05 Duration: 0ms
74 2 6.20 MiB 2.81 MiB 3.39 MiB 3.10 MiB create index ix_phenotype_term_axn_phenotype_id on pub2.phenotype_term_axn using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_axn_phenotype_id ON pub2.phenotype_term_axn USING btree (phenotype_id);
Date: 2025-01-06 00:26:05 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-01-02 14:36:57 - Database: ctdprd51 - User: load - Application: pg_bulkload ]
2 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
3 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
4 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
5 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
6 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
7 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
8 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
9 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
10 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
11 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
12 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
13 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
14 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
15 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
16 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
17 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
18 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
19 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
20 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2025-01-05 19:39:29 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 232.79 sec Highest CPU-cost vacuum
Table pub2.gene_disease
Database ctdprd51 - 2025-01-06 01:00:23 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 232.79 sec Highest CPU-cost vacuum
Table pub2.gene_disease
Database ctdprd51 - 2025-01-06 01:00:23 Date
Analyzes per table
Key values
- pubc.log_query (196) Main table analyzed (database ctdprd51)
- 302 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 196 ctdprd51.pg_catalog.pg_class 5 ctdprd51.pub2.term_set_enrichment_agent 4 ctdprd51.pub2.term 4 ctdprd51.pub2.term_set_enrichment 3 ctdprd51.pub2.reference 3 ctdprd51.pg_catalog.pg_attribute 3 ctdprd51.pub2.db 2 ctdprd51.pg_catalog.pg_shdepend 2 ctdprd51.pg_catalog.pg_depend 2 ctdprd51.pub2.phenotype_term 2 ctdprd51.pg_catalog.pg_index 2 ctdprd51.edit.db_link 2 ctdprd51.pub2.term_comp_agent 2 ctdprd51.pub2.dag_node 2 ctdprd51.pub1.term_set_enrichment 2 ctdprd51.pub1.term_set_enrichment_agent 2 ctdprd51.pg_catalog.pg_type 2 ctdprd51.pub2.gene_gene_reference 1 ctdprd51.pub2.db_report_site 1 ctdprd51.pub2.exp_stressor_stressor_src 1 ctdprd51.pub1.term_comp 1 ctdprd51.load.data_load 1 ctdprd51.edit.object_note 1 ctdprd51.pg_catalog.pg_attrdef 1 ctdprd51.edit.reference_db_link 1 ctdprd51.pub2.gene_gene 1 ctdprd51.pub2.exp_event_project 1 ctdprd51.pub2.exp_event 1 ctdprd51.edit.action_degree 1 ctdprd51.pub2.action_type 1 ctdprd51.pub2.term_comp 1 ctdprd51.edit.race 1 ctdprd51.pub2.exp_event_assay_method 1 ctdprd51.pub2.reference_party 1 ctdprd51.edit.actor_form_type 1 ctdprd51.pub2.gene_chem_ref_gene_form 1 ctdprd51.pub2.exp_receptor_tobacco_use 1 ctdprd51.pub2.db_report 1 ctdprd51.pub2.chem_disease 1 ctdprd51.pub1.term_comp_agent 1 ctdprd51.edit.country 1 ctdprd51.pub2.gene_taxon 1 ctdprd51.pub2.reference_party_role 1 ctdprd51.pub2.list_db_report 1 ctdprd51.pub2.exp_receptor_race 1 ctdprd51.pub2.dag_edge 1 ctdprd51.pg_catalog.pg_description 1 ctdprd51.edit.db_report_site 1 ctdprd51.pub2.exposure 1 ctdprd51.pub2.reference_exp 1 ctdprd51.pub2.exp_study_factor 1 ctdprd51.pub2.img 1 ctdprd51.pub2.term_reference 1 ctdprd51.pub2.gene_go_annot 1 ctdprd51.edit.study_factor 1 ctdprd51.pub2.gene_gene_ref_throughput 1 ctdprd51.pub2.geographic_region 1 ctdprd51.pub2.exp_outcome 1 ctdprd51.pub2.country 1 ctdprd51.pub2.exp_stressor 1 ctdprd51.edit.list_db_report 1 ctdprd51.pub2.db_link 1 ctdprd51.edit.db_report 1 ctdprd51.pub2.term_label 1 ctdprd51.edit.action_type 1 ctdprd51.pub2.exp_event_location 1 ctdprd51.pub2.exp_receptor 1 ctdprd51.pub2.term_pathway 1 ctdprd51.pub2.slim_term_mapping 1 ctdprd51.pub2.gene_disease 1 ctdprd51.edit.db 1 ctdprd51.pub2.exp_anatomy 1 ctdprd51.pg_catalog.pg_constraint 1 ctdprd51.edit.action_type_path 1 ctdprd51.pg_catalog.pg_trigger 1 ctdprd51.pub2.medium 1 ctdprd51.pub2.exp_receptor_gender 1 ctdprd51.edit.evidence 1 ctdprd51.pub2.ixn 1 Total 302 Vacuums per table
Key values
- pubc.log_query (498) Main table vacuumed on database ctdprd51
- 762 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 498 27 1,366,359 0 11,666 0 11,235 21,351 2,860 10,862,281 ctdprd51.pg_catalog.pg_statistic 178 12 79,629 0 972 0 6,486 3,062 770 3,554,387 ctdprd51.pg_toast.pg_toast_2619 5 5 19,880 0 6,592 0 51,373 15,693 4,297 2,556,039 ctdprd51.pub2.term 4 2 1,533,567 0 126,590 0 128 873,619 307,766 1,417,811,386 ctdprd51.pg_catalog.pg_class 3 3 890 0 118 0 0 492 109 547,027 ctdprd51.pub2.reference 3 2 676,902 0 50,035 0 0 410,759 52,241 235,680,601 ctdprd51.pub2.term_set_enrichment_agent 3 0 79,963 0 3 0 0 5,638 1 341,505 ctdprd51.pub2.dag_node 2 1 402,967 0 8,253 0 0 315,342 602 94,964,036 ctdprd51.pub2.term_set_enrichment 2 0 1,266 0 4 0 0 248 2 24,761 ctdprd51.pg_catalog.pg_attribute 2 2 1,110 0 153 0 80 584 128 635,349 ctdprd51.pub2.phenotype_term 2 2 963,545 0 144,666 0 0 772,961 81,499 240,993,181 ctdprd51.pg_toast.pg_toast_486223 2 0 62 0 4 0 0 6 1 8,809 ctdprd51.pub2.reference_exp 1 0 328 0 3 0 0 127 1 15,912 ctdprd51.edit.db_link 1 0 7,521 0 3 0 0 3,631 1 222,624 ctdprd51.pub2.img 1 0 1,108 0 5 0 0 524 2 42,275 ctdprd51.pub2.exp_study_factor 1 0 113 0 15 0 0 11 2 13,880 ctdprd51.pub2.gene_go_annot 1 0 565,577 0 239,861 0 0 282,676 10 16,754,819 ctdprd51.pub2.term_comp_agent 1 0 161 0 4 0 0 37 2 12,090 ctdprd51.pub2.term_reference 1 0 37,473 0 4 0 0 18,682 1 1,110,657 ctdprd51.pub2.gene_gene_ref_throughput 1 0 14,679 0 3 0 0 7,317 1 440,122 ctdprd51.pub2.exp_outcome 1 0 672 0 3 0 0 279 1 24,880 ctdprd51.edit.list_db_report 1 1 69 0 5 0 0 12 2 16,737 ctdprd51.pub2.db_link 1 0 249,374 0 124,574 0 0 124,567 5 7,386,195 ctdprd51.edit.db_report 1 1 120 0 2 0 0 16 1 10,263 ctdprd51.pub2.term_label 1 0 184,485 0 5 0 0 92,192 3 5,464,141 ctdprd51.pub1.term_set_enrichment 1 0 12,716 0 6,305 0 0 6,304 3 394,176 ctdprd51.pub2.exp_stressor 1 0 6,118 0 3 0 0 3,029 1 187,130 ctdprd51.pub2.exp_event_location 1 0 3,434 0 3 0 0 1,666 1 106,713 ctdprd51.pub2.exp_receptor 1 0 7,324 0 3 0 0 3,632 1 222,707 ctdprd51.pub2.term_pathway 1 0 3,337 0 3 0 0 1,614 1 103,645 ctdprd51.pub1.term_set_enrichment_agent 1 0 356,527 0 332,180 0 0 310,477 12 18,416,729 ctdprd51.edit.action_type 1 1 195 0 5 0 0 12 2 15,769 ctdprd51.pub2.gene_disease 1 1 2,887,224 0 714,226 0 0 1,608,786 694,808 2,113,144,623 ctdprd51.edit.db 1 1 117 0 2 0 0 22 2 16,688 ctdprd51.pub2.exp_anatomy 1 0 125 0 3 0 0 34 1 10,425 ctdprd51.pg_catalog.pg_constraint 1 1 286 0 22 0 0 126 21 87,131 ctdprd51.pub2.slim_term_mapping 1 0 635 0 4 0 0 262 2 26,981 ctdprd51.pg_toast.pg_toast_7007922 1 1 90 0 3 0 0 48 3 11,568 ctdprd51.pub2.ixn 1 1 1,487,651 0 89 0 0 989,216 56 68,132,604 ctdprd51.pg_catalog.pg_type 1 1 159 0 27 0 0 77 25 115,565 ctdprd51.pg_catalog.pg_trigger 1 1 361 0 36 0 0 160 39 195,401 ctdprd51.pub2.exp_receptor_gender 1 0 2,702 0 3 0 0 1,335 1 87,184 ctdprd51.pub2.gene_gene_reference 1 0 30,657 0 3 0 0 15,252 1 908,287 ctdprd51.pub2.exp_stressor_stressor_src 1 0 2,611 0 4 0 0 1,277 1 83,762 ctdprd51.pg_catalog.pg_attrdef 1 1 94 0 5 0 0 29 4 26,830 ctdprd51.edit.reference_db_link 1 0 7,289 0 4 0 0 3,631 1 222,555 ctdprd51.pub2.gene_gene 1 0 12,146 0 5 0 0 6,021 2 366,598 ctdprd51.pub2.exp_event_project 1 0 2,038 0 3 0 0 997 1 67,242 ctdprd51.pub2.db 1 1 148 0 3 0 0 17 1 11,342 ctdprd51.pg_toast.pg_toast_7007991 1 0 87,927 0 4 0 0 43,956 2 2,609,927 ctdprd51.pub2.exp_event 1 0 12,448 0 4 0 0 6,146 2 375,829 ctdprd51.pub2.exp_event_assay_method 1 0 4,835 0 4 0 0 2,372 2 152,099 ctdprd51.pub2.reference_party 1 0 5,095 0 4 0 0 2,514 2 159,849 ctdprd51.edit.race 1 0 56 0 2 0 0 3 2 16,733 ctdprd51.pub2.chem_disease 1 1 267,974 0 13,852 0 0 163,789 34,888 113,820,429 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 32,873 0 5 0 0 16,386 2 979,973 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 1,196 0 3 0 0 563 1 41,636 ctdprd51.pub2.reference_party_role 1 0 13,475 0 4 0 0 6,684 1 402,775 ctdprd51.edit.exp_stressor_src_type 1 0 56 0 5 0 0 3 2 13,507 ctdprd51.pub2.gene_taxon 1 0 149,055 0 5 0 0 74,469 3 4,418,484 ctdprd51.pg_catalog.pg_index 1 1 191 0 19 0 0 92 17 82,853 ctdprd51.edit.geographic_region 1 0 64 0 2 0 0 3 2 16,809 ctdprd51.pub2.dag_edge 1 0 1,024 0 5 0 0 482 2 41,217 ctdprd51.pg_catalog.pg_description 1 1 230 0 34 0 42 123 28 132,415 ctdprd51.pg_catalog.pg_shdepend 1 1 198 0 14 0 0 97 14 50,779 ctdprd51.pub2.exp_receptor_race 1 0 1,324 0 4 0 0 627 2 50,224 ctdprd51.pg_catalog.pg_depend 1 1 646 0 78 0 65 292 83 341,141 ctdprd51.edit.db_report_site 1 1 77 0 4 0 0 17 2 14,147 ctdprd51.pub2.exposure 1 0 3,681 0 3 0 0 1,787 1 113,852 ctdprd51.edit.action_degree_type 1 0 82 0 2 0 0 3 2 11,713 Total 762 74 11,594,311 489,952 1,780,544 0 69,409 6,224,258 1,180,358 4,366,302,003 Tuples removed per table
Key values
- pub2.gene_disease (33287676) Main table with removed tuples on database ctdprd51
- 60930555 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pub2.gene_disease 1 1 33,287,676 33,287,676 0 0 489,525 ctdprd51.pub2.phenotype_term 2 2 20,206,876 6,728,246 0 0 251,731 ctdprd51.pub2.chem_disease 1 1 3,389,395 3,389,395 0 0 49,795 ctdprd51.pub2.term 4 2 2,103,278 6,332,935 0 0 405,986 ctdprd51.pub2.dag_node 2 1 1,722,445 3,430,208 0 0 123,944 ctdprd51.pubc.log_query 498 27 89,843 16,426,878 15,361,641 0 660,151 ctdprd51.pub2.ixn 1 1 52,603 2,305,518 0 0 545,382 ctdprd51.pub2.reference 3 2 46,597 595,719 0 0 202,343 ctdprd51.pg_toast.pg_toast_2619 5 5 18,568 95,984 456 0 62,960 ctdprd51.pg_catalog.pg_statistic 178 12 4,622 594,285 118,715 0 51,620 ctdprd51.pg_catalog.pg_depend 1 1 2,116 13,798 0 0 145 ctdprd51.pg_catalog.pg_attribute 2 2 1,844 17,776 0 0 428 ctdprd51.pg_catalog.pg_description 1 1 1,143 5,281 0 0 89 ctdprd51.pg_catalog.pg_shdepend 1 1 808 2,077 0 0 22 ctdprd51.pg_catalog.pg_trigger 1 1 573 1,813 0 0 53 ctdprd51.pg_catalog.pg_class 3 3 385 5,364 0 0 183 ctdprd51.pg_catalog.pg_type 1 1 248 1,157 0 0 35 ctdprd51.edit.list_db_report 1 1 195 183 0 0 3 ctdprd51.pg_catalog.pg_constraint 1 1 163 884 0 0 38 ctdprd51.edit.db_report_site 1 1 160 160 0 0 5 ctdprd51.edit.db_report 1 1 158 158 0 0 4 ctdprd51.pg_catalog.pg_index 1 1 146 1,168 0 3 36 ctdprd51.pub2.db 1 1 130 130 0 0 6 ctdprd51.edit.db 1 1 111 130 0 0 8 ctdprd51.edit.action_type 1 1 90 60 0 0 3 ctdprd51.edit.race 1 0 81 27 0 0 1 ctdprd51.edit.geographic_region 1 0 67 51 0 0 1 ctdprd51.edit.action_degree_type 1 0 65 13 0 0 1 ctdprd51.pg_toast.pg_toast_7007922 1 1 59 70 0 0 21 ctdprd51.pg_catalog.pg_attrdef 1 1 56 232 0 1 10 ctdprd51.edit.exp_stressor_src_type 1 0 54 6 0 0 1 ctdprd51.pub2.reference_exp 1 0 0 3,491 0 0 126 ctdprd51.edit.db_link 1 0 0 325,873 0 0 3,630 ctdprd51.pub2.img 1 0 0 50,690 0 0 523 ctdprd51.pub2.exp_study_factor 1 0 0 1,639 0 0 10 ctdprd51.pub2.gene_go_annot 1 0 0 44,381,886 0 0 282,675 ctdprd51.pub2.term_comp_agent 1 0 0 3,705 0 0 36 ctdprd51.pub2.term_reference 1 0 0 3,455,878 0 0 18,681 ctdprd51.pub2.gene_gene_ref_throughput 1 0 0 1,407,311 0 0 7,316 ctdprd51.pub2.exp_outcome 1 0 0 21,981 0 0 278 ctdprd51.pub2.db_link 1 0 0 17,246,365 0 0 124,566 ctdprd51.pub2.term_label 1 0 0 6,274,438 0 0 92,191 ctdprd51.pub1.term_set_enrichment 1 0 0 2,003,766 0 0 33,157 ctdprd51.pub2.exp_stressor 1 0 0 210,189 0 0 3,028 ctdprd51.pub2.exp_event_location 1 0 0 251,023 0 0 1,665 ctdprd51.pub2.exp_receptor 1 0 0 192,607 0 0 3,631 ctdprd51.pub2.term_pathway 1 0 0 135,792 0 0 1,613 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 150,473,687 0 0 1,709,929 ctdprd51.pub2.exp_anatomy 1 0 0 3,849 0 0 33 ctdprd51.pub2.slim_term_mapping 1 0 0 32,824 0 0 261 ctdprd51.pub2.exp_receptor_gender 1 0 0 190,641 0 0 1,334 ctdprd51.pub2.gene_gene_reference 1 0 0 1,399,892 0 0 15,251 ctdprd51.pub2.exp_stressor_stressor_src 1 0 0 288,178 0 0 1,276 ctdprd51.pub2.term_set_enrichment 2 0 0 47,324 0 0 784 ctdprd51.edit.reference_db_link 1 0 0 325,873 0 0 3,630 ctdprd51.pub2.gene_gene 1 0 0 1,113,538 0 0 6,020 ctdprd51.pub2.exp_event_project 1 0 0 95,728 0 0 996 ctdprd51.pg_toast.pg_toast_7007991 1 0 0 237,683 0 0 43,955 ctdprd51.pub2.exp_event 1 0 0 209,336 0 0 6,145 ctdprd51.pub2.exp_event_assay_method 1 0 0 237,777 0 0 2,371 ctdprd51.pub2.reference_party 1 0 0 449,932 0 0 2,513 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 0 3,024,216 0 0 16,385 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 0 79,558 0 0 562 ctdprd51.pub2.reference_party_role 1 0 0 1,236,229 0 0 6,683 ctdprd51.pub2.gene_taxon 1 0 0 11,691,507 0 0 74,468 ctdprd51.pub2.term_set_enrichment_agent 3 0 0 4,503,222 0 0 51,175 ctdprd51.pub2.dag_edge 1 0 0 88,931 0 0 481 ctdprd51.pub2.exp_receptor_race 1 0 0 96,571 0 0 626 ctdprd51.pg_toast.pg_toast_486223 2 0 0 17 0 0 4 ctdprd51.pub2.exposure 1 0 0 216,839 0 0 1,786 Total 762 74 60,930,555 325,247,368 15,480,812 4 5,364,324 Pages removed per table
Key values
- pg_catalog.pg_index (3) Main table with removed pages on database ctdprd51
- 4 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_catalog.pg_index 1 1 146 3 ctdprd51.pg_catalog.pg_attrdef 1 1 56 1 ctdprd51.pub2.reference_exp 1 0 0 0 ctdprd51.edit.db_link 1 0 0 0 ctdprd51.pub2.img 1 0 0 0 ctdprd51.pub2.exp_study_factor 1 0 0 0 ctdprd51.pub2.gene_go_annot 1 0 0 0 ctdprd51.pub2.term_comp_agent 1 0 0 0 ctdprd51.pub2.dag_node 2 1 1722445 0 ctdprd51.pub2.term_reference 1 0 0 0 ctdprd51.pub2.gene_gene_ref_throughput 1 0 0 0 ctdprd51.pub2.exp_outcome 1 0 0 0 ctdprd51.edit.list_db_report 1 1 195 0 ctdprd51.pub2.db_link 1 0 0 0 ctdprd51.edit.db_report 1 1 158 0 ctdprd51.pub2.term_label 1 0 0 0 ctdprd51.pub1.term_set_enrichment 1 0 0 0 ctdprd51.pub2.exp_stressor 1 0 0 0 ctdprd51.pub2.exp_event_location 1 0 0 0 ctdprd51.pub2.exp_receptor 1 0 0 0 ctdprd51.pg_catalog.pg_class 3 3 385 0 ctdprd51.pub2.term_pathway 1 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 0 ctdprd51.edit.action_type 1 1 90 0 ctdprd51.pub2.gene_disease 1 1 33287676 0 ctdprd51.edit.db 1 1 111 0 ctdprd51.pub2.exp_anatomy 1 0 0 0 ctdprd51.pg_catalog.pg_constraint 1 1 163 0 ctdprd51.pub2.slim_term_mapping 1 0 0 0 ctdprd51.pub2.term 4 2 2103278 0 ctdprd51.pg_toast.pg_toast_7007922 1 1 59 0 ctdprd51.pub2.ixn 1 1 52603 0 ctdprd51.pg_catalog.pg_type 1 1 248 0 ctdprd51.pg_catalog.pg_trigger 1 1 573 0 ctdprd51.pub2.exp_receptor_gender 1 0 0 0 ctdprd51.pub2.reference 3 2 46597 0 ctdprd51.pub2.gene_gene_reference 1 0 0 0 ctdprd51.pub2.exp_stressor_stressor_src 1 0 0 0 ctdprd51.pub2.term_set_enrichment 2 0 0 0 ctdprd51.edit.reference_db_link 1 0 0 0 ctdprd51.pub2.gene_gene 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 178 12 4622 0 ctdprd51.pg_catalog.pg_attribute 2 2 1844 0 ctdprd51.pub2.exp_event_project 1 0 0 0 ctdprd51.pub2.db 1 1 130 0 ctdprd51.pg_toast.pg_toast_7007991 1 0 0 0 ctdprd51.pub2.exp_event 1 0 0 0 ctdprd51.pub2.exp_event_assay_method 1 0 0 0 ctdprd51.pub2.reference_party 1 0 0 0 ctdprd51.edit.race 1 0 81 0 ctdprd51.pub2.chem_disease 1 1 3389395 0 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 0 0 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 0 0 ctdprd51.pub2.reference_party_role 1 0 0 0 ctdprd51.pubc.log_query 498 27 89843 0 ctdprd51.pg_toast.pg_toast_2619 5 5 18568 0 ctdprd51.edit.exp_stressor_src_type 1 0 54 0 ctdprd51.pub2.gene_taxon 1 0 0 0 ctdprd51.edit.geographic_region 1 0 67 0 ctdprd51.pub2.term_set_enrichment_agent 3 0 0 0 ctdprd51.pub2.dag_edge 1 0 0 0 ctdprd51.pg_catalog.pg_description 1 1 1143 0 ctdprd51.pg_catalog.pg_shdepend 1 1 808 0 ctdprd51.pub2.exp_receptor_race 1 0 0 0 ctdprd51.pub2.phenotype_term 2 2 20206876 0 ctdprd51.pg_catalog.pg_depend 1 1 2116 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.edit.db_report_site 1 1 160 0 ctdprd51.pub2.exposure 1 0 0 0 ctdprd51.edit.action_degree_type 1 0 65 0 Total 762 74 60,930,555 4 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jan 01 00 0 2 01 0 3 02 0 2 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 0 09 0 1 10 0 0 11 0 1 12 0 0 13 0 1 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 Jan 02 00 0 1 01 0 4 02 0 4 03 0 3 04 0 3 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 10 11 0 4 12 0 14 13 0 0 14 0 1 15 0 2 16 0 0 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 1 Jan 03 00 0 3 01 0 4 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 1 11 0 5 12 0 3 13 0 2 14 0 2 15 0 1 16 0 1 17 0 1 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Jan 04 00 0 3 01 0 2 02 0 2 03 0 3 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 0 10 0 0 11 0 4 12 0 0 13 0 4 14 0 1 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 1 Jan 05 00 0 1 01 0 7 02 0 4 03 0 5 04 0 3 05 0 3 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 0 16 0 1 17 0 12 18 0 8 19 0 2 20 0 0 21 0 1 22 0 0 23 0 2 Jan 06 00 0 28 01 0 8 02 0 5 03 0 2 04 0 7 05 0 2 06 0 3 07 0 2 08 0 2 09 0 0 10 0 1 11 0 6 12 0 3 13 0 1 14 0 1 15 0 0 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 0 0 Jan 07 00 0 2 01 0 4 02 0 4 03 0 1 04 0 1 05 0 3 06 0 1 07 0 0 08 0 2 09 0 1 10 0 1 11 0 1 12 0 4 13 0 0 14 0 1 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 - 232.79 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 8,658 Total read queries
- 473 Total write queries
Queries by database
Key values
- unknown Main database
- 6,105 Requests
- 2d7h51m13s (unknown)
- Main time consuming database
Database Request type Count Duration ctdprd51 Total 3,015 21h12m26s copy to 49 24m29s cte 44 2m16s ddl 1 2s663ms insert 8 13m8s others 3 20s303ms select 2,909 20h32m6s tcl 1 1s663ms postgres Total 45 1m41s select 45 1m41s unknown Total 6,105 2d7h51m13s copy to 230 1h8m53s cte 49 1m54s ddl 52 39m28s insert 30 42m37s others 31 52m14s select 5,704 2d3h53m24s update 9 32m40s Queries by user
Key values
- unknown Main user
- 13,363 Requests
User Request type Count Duration edit Total 6 22s211ms select 6 22s211ms editeu Total 52 11h17m38s select 52 11h17m38s load Total 66 47m29s others 1 2s498ms select 65 47m26s postgres Total 108 53m6s copy to 108 53m6s pub1 Total 4 19s589ms select 4 19s589ms pub2 Total 21 25m34s ddl 2 5s326ms insert 3 24m49s select 14 35s998ms tcl 2 3s326ms pubc Total 4 35s609ms others 4 35s609ms pubeu Total 5,960 1d4h20m40s cte 83 4m3s insert 6 34s121ms select 5,871 1d4h16m2s qaeu Total 160 1h35m51s cte 21 1m14s select 139 1h34m37s unknown Total 13,363 8d4h35m29s copy to 639 5h18m39s cte 118 4m29s ddl 96 1h27s insert 42 1h20m5s others 50 1h43m6s select 12,409 7d18h36m1s update 9 32m40s zbx_monitor Total 88 3m13s select 88 3m13s Duration by user
Key values
- 8d4h35m29s (unknown) Main time consuming user
User Request type Count Duration edit Total 6 22s211ms select 6 22s211ms editeu Total 52 11h17m38s select 52 11h17m38s load Total 66 47m29s others 1 2s498ms select 65 47m26s postgres Total 108 53m6s copy to 108 53m6s pub1 Total 4 19s589ms select 4 19s589ms pub2 Total 21 25m34s ddl 2 5s326ms insert 3 24m49s select 14 35s998ms tcl 2 3s326ms pubc Total 4 35s609ms others 4 35s609ms pubeu Total 5,960 1d4h20m40s cte 83 4m3s insert 6 34s121ms select 5,871 1d4h16m2s qaeu Total 160 1h35m51s cte 21 1m14s select 139 1h34m37s unknown Total 13,363 8d4h35m29s copy to 639 5h18m39s cte 118 4m29s ddl 96 1h27s insert 42 1h20m5s others 50 1h43m6s select 12,409 7d18h36m1s update 9 32m40s zbx_monitor Total 88 3m13s select 88 3m13s Queries by host
Key values
- unknown Main host
- 19,832 Requests
- 10d19s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 9,078 Requests
- 3d4h25m51s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:1027049 Total 1 3s467ms select 1 3s467ms pgAdmin 4 - CONN:3723474 Total 1 1s379ms select 1 1s379ms pgAdmin 4 - CONN:8073342 Total 1 1s663ms tcl 1 1s663ms pgAdmin 4 - CONN:9768100 Total 1 6s258ms select 1 6s258ms pg_bulkload Total 25 14m9s select 25 14m9s pg_dump Total 49 24m29s copy to 49 24m29s psql Total 9 38s227ms ddl 1 2s663ms others 2 17s804ms select 6 17s759ms unknown Total 9,078 3d4h25m51s copy to 230 1h8m53s cte 93 4m11s ddl 52 39m28s insert 38 55m46s others 32 52m17s select 8,624 3d12m34s update 9 32m40s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-01-04 20:29:10 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 8,628 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 9h32m11s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'RENAL INSUFFICIENCY' AND l.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-01-07 08:10:17 - Bind query: yes ]
2 9h28m38s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'RENAL INSUFFICIENCY' AND l.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-01-07 08:05:39 - Bind query: yes ]
3 9h24m34s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'RENAL INSUFFICIENCY' AND l.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-01-07 08:01:41 - Bind query: yes ]
4 3h3m SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEUROTOXICITY SYNDROMES' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-01-04 14:27:17 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
5 2h14m32s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY ( SELECT /* IQH.getMasterDiseaseWhereContains.Gene */ gd.gene_id FROM term d INNER JOIN gene_disease gd ON d.id = gd.disease_id WHERE d.nm_fts @@ to_tsquery('common.english_nostops', 'COGNITIVE & IMPAIRMENT | ALZHEIMER & S & DISEASE')))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-01-01 05:07:09 - Bind query: yes ]
6 2h3m4s select pub2.maint_term_derive_data ();[ Date: 2025-01-06 06:43:02 - Bind query: yes ]
7 1h43m39s select pub2.maint_gene_chem_ref_gene_form_refresh ();[ Date: 2025-01-06 02:45:22 - Bind query: yes ]
8 1h9s SELECT maint_term_derive_nm_fts ();[ Date: 2025-01-06 03:48:19 - Bind query: yes ]
9 56m58s SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1429282') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1429282') 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-06 16:38:10 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
10 51m35s 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 = '2080740')) ORDER BY r.sort_txt LIMIT 50;[ Date: 2025-01-06 16:38:10 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
11 50m39s 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 = '1782679' or receptorTerm.id = '1782679' 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-06 16:38:10 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 50m31s SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1373064') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1373064') 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-06 16:38:10 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 47m21s SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1405945') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1405945') 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-06 16:38:10 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 45m37s VACUUM FULL ANALYZE;[ Date: 2025-01-06 04:39:35 - Bind query: yes ]
15 45m11s select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '31001353' order by root_id desc;[ Date: 2025-01-06 16:38:05 - Bind query: yes ]
16 44m40s select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '31001353' order by root_id desc;[ Date: 2025-01-06 16:38:05 - Database: ctdprd51 - User: editeu - Bind query: yes ]
17 44m10s select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '31001353' order by root_id desc;[ Date: 2025-01-06 16:38:05 - Database: ctdprd51 - User: editeu - Bind query: yes ]
18 42m52s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');[ Date: 2025-01-05 21:05:02 - Bind query: yes ]
19 42m26s select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '31001353' order by root_id desc;[ Date: 2025-01-06 16:38:05 - Database: ctdprd51 - User: editeu - Bind query: yes ]
20 41m18s 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 = '2078697') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2078697') 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-06 16:38:10 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1d4h25m24s 3 9h24m34s 9h32m11s 9h28m28s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(l.nm) like ? and l.object_type_id = ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 07 08 3 1d4h25m24s 9h28m28s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'RENAL INSUFFICIENCY' AND l.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-07 08:10:17 Duration: 9h32m11s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'RENAL INSUFFICIENCY' AND l.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-07 08:05:39 Duration: 9h28m38s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'RENAL INSUFFICIENCY' AND l.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-07 08:01:41 Duration: 9h24m34s Bind query: yes
2 7h1m42s 12 1s116ms 45m11s 35m8s select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = ? order by root_id desc;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 06 07 1 1s116ms 1s116ms 16 11 7h1m41s 38m20s [ User: editeu - Total duration: 5h37m29s - Times executed: 9 ]
-
select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '31001353' order by root_id desc;
Date: 2025-01-06 16:38:05 Duration: 45m11s Bind query: yes
-
select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '31001353' order by root_id desc;
Date: 2025-01-06 16:38:05 Duration: 44m40s Database: ctdprd51 User: editeu Bind query: yes
-
select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '31001353' order by root_id desc;
Date: 2025-01-06 16:38:05 Duration: 44m10s Database: ctdprd51 User: editeu Bind query: yes
3 3h49m53s 149 1s12ms 56m58s 1m32s select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 02 10 1 4s418ms 4s418ms Jan 03 07 1 6s708ms 6s708ms 20 1 1s247ms 1s247ms Jan 04 14 1 1s167ms 1s167ms Jan 05 07 1 1s861ms 1s861ms 18 1 2s469ms 2s469ms 21 2 3s765ms 1s882ms Jan 06 16 7 3h44m15s 32m2s 22 4 6s57ms 1s514ms 23 1 3s514ms 3s514ms Jan 07 00 2 3s20ms 1s510ms 01 4 7s198ms 1s799ms 02 1 1s487ms 1s487ms 03 2 3s524ms 1s762ms 04 5 7s610ms 1s522ms 05 8 11s810ms 1s476ms 06 8 12s788ms 1s598ms 07 4 6s592ms 1s648ms 10 8 10s91ms 1s261ms 11 38 2m17s 3s618ms 12 5 5s455ms 1s91ms 13 32 1m18s 2s465ms 14 12 21s391ms 1s782ms [ User: pubeu - Total duration: 3h10s - Times executed: 48 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1429282') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1429282') 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-06 16:38:10 Duration: 56m58s 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1373064') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1373064') 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-06 16:38:10 Duration: 50m31s 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1405945') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1405945') 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-06 16:38:10 Duration: 47m21s Database: ctdprd51 User: pubeu Bind query: yes
4 3h3m 1 3h3m 3h3m 3h3m select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 04 14 1 3h3m 3h3m [ User: pubeu - Total duration: 3h3m - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEUROTOXICITY SYNDROMES' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-04 14:27:17 Duration: 3h3m Database: ctdprd51 User: pubeu Bind query: yes
5 2h51m18s 7 22m7s 37m21s 24m28s select maint_query_logs_archive ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jan 01 00 1 22m20s 22m20s Jan 02 00 1 22m7s 22m7s Jan 03 00 1 22m10s 22m10s Jan 04 00 1 22m20s 22m20s Jan 05 00 1 22m13s 22m13s Jan 06 00 1 22m45s 22m45s Jan 07 00 1 37m21s 37m21s -
/* * 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-07 00:37:23 Duration: 37m21s
-
/* * 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-06 00:22:47 Duration: 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-04 00:22:22 Duration: 22m20s
6 2h14m32s 1 2h14m32s 2h14m32s 2h14m32s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array ( select gd.gene_id from term d inner join gene_disease gd on d.id = gd.disease_id where d.nm_fts @@ to_tsquery(?, ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 01 05 1 2h14m32s 2h14m32s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY ( SELECT /* IQH.getMasterDiseaseWhereContains.Gene */ gd.gene_id FROM term d INNER JOIN gene_disease gd ON d.id = gd.disease_id WHERE d.nm_fts @@ to_tsquery('common.english_nostops', 'COGNITIVE & IMPAIRMENT | ALZHEIMER & S & DISEASE')))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-01 05:07:09 Duration: 2h14m32s Bind query: yes
7 2h3m4s 1 2h3m4s 2h3m4s 2h3m4s select pub2.maint_term_derive_data ();Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 06 06 1 2h3m4s 2h3m4s -
select pub2.maint_term_derive_data ();
Date: 2025-01-06 06:43:02 Duration: 2h3m4s Bind query: yes
8 1h45m12s 1,239 1s12ms 50m39s 5s94ms 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 #8
Day Hour Count Duration Avg duration Jan 01 00 8 8s654ms 1s81ms 01 7 7s709ms 1s101ms 02 4 4s423ms 1s105ms 03 5 5s503ms 1s100ms 04 7 7s743ms 1s106ms 05 9 10s165ms 1s129ms 06 8 8s663ms 1s82ms 07 4 4s289ms 1s72ms 08 9 9s785ms 1s87ms 09 2 2s293ms 1s146ms 10 5 5s365ms 1s73ms 11 9 9s742ms 1s82ms 12 7 7s582ms 1s83ms 13 7 7s538ms 1s76ms 14 4 4s323ms 1s80ms 15 5 5s337ms 1s67ms 16 6 6s476ms 1s79ms 17 4 4s377ms 1s94ms 18 6 6s339ms 1s56ms 19 9 9s448ms 1s49ms 20 7 7s640ms 1s91ms 21 9 9s664ms 1s73ms 22 11 12s163ms 1s105ms 23 7 7s510ms 1s72ms Jan 02 00 7 7s621ms 1s88ms 01 7 7s562ms 1s80ms 02 5 5s428ms 1s85ms 03 14 15s144ms 1s81ms 04 4 4s359ms 1s89ms 05 13 14s303ms 1s100ms 06 4 4s348ms 1s87ms 07 3 3s102ms 1s34ms 08 10 10s843ms 1s84ms 09 8 8s454ms 1s56ms 10 6 6s643ms 1s107ms 11 3 3s428ms 1s142ms 12 1 1s135ms 1s135ms 13 7 7s965ms 1s137ms 14 7 7s783ms 1s111ms 15 13 14s634ms 1s125ms 16 8 8s920ms 1s115ms 17 6 6s833ms 1s138ms 18 10 11s328ms 1s132ms 19 8 8s919ms 1s114ms 20 11 12s246ms 1s113ms 21 15 16s894ms 1s126ms 22 6 6s598ms 1s99ms 23 7 7s924ms 1s132ms Jan 03 00 9 10s123ms 1s124ms 01 7 7s953ms 1s136ms 02 9 9s802ms 1s89ms 03 6 6s802ms 1s133ms 04 7 7s975ms 1s139ms 05 17 19s420ms 1s142ms 06 12 13s587ms 1s132ms 07 13 14s533ms 1s117ms 08 15 16s757ms 1s117ms 09 10 11s203ms 1s120ms 10 6 6s608ms 1s101ms 11 4 4s339ms 1s84ms 12 6 6s618ms 1s103ms 13 10 11s342ms 1s134ms 14 6 6s669ms 1s111ms 15 4 4s461ms 1s115ms 16 4 4s348ms 1s87ms 17 5 5s583ms 1s116ms 18 9 9s723ms 1s80ms 19 8 8s724ms 1s90ms 20 9 9s841ms 1s93ms 21 6 6s587ms 1s97ms 22 5 5s655ms 1s131ms 23 12 13s760ms 1s146ms Jan 04 00 2 2s310ms 1s155ms 01 5 5s700ms 1s140ms 02 7 7s957ms 1s136ms 03 10 11s109ms 1s110ms 04 11 12s522ms 1s138ms 05 10 11s413ms 1s141ms 06 1 1s154ms 1s154ms 07 7 8s112ms 1s158ms 08 16 18s157ms 1s134ms 09 2 2s261ms 1s130ms 10 10 11s318ms 1s131ms 11 7 8s64ms 1s152ms 12 5 6s81ms 1s216ms 13 2 2s411ms 1s205ms 14 17 19s26ms 1s119ms 15 8 9s242ms 1s155ms 16 4 4s602ms 1s150ms 17 2 2s267ms 1s133ms 18 2 2s309ms 1s154ms 19 8 8s603ms 1s75ms 20 2 2s158ms 1s79ms 21 11 11s792ms 1s72ms 22 2 2s353ms 1s176ms 23 8 9s94ms 1s136ms Jan 05 00 15 16s834ms 1s122ms 01 3 3s275ms 1s91ms 02 3 3s398ms 1s132ms 03 18 19s842ms 1s102ms 04 13 14s747ms 1s134ms 05 14 15s867ms 1s133ms 06 8 9s75ms 1s134ms 07 4 4s568ms 1s142ms 08 7 8s76ms 1s153ms 09 5 5s848ms 1s169ms 10 5 5s724ms 1s144ms 11 9 10s369ms 1s152ms 12 6 6s738ms 1s123ms 13 5 5s784ms 1s156ms 14 17 18s926ms 1s113ms 15 11 12s333ms 1s121ms 16 12 13s159ms 1s96ms 17 17 18s837ms 1s108ms 18 9 9s625ms 1s69ms 19 5 5s552ms 1s110ms 20 3 3s226ms 1s75ms 21 7 7s767ms 1s109ms 22 15 16s643ms 1s109ms 23 8 9s186ms 1s148ms Jan 06 00 10 12s348ms 1s234ms 01 9 9s813ms 1s90ms 02 14 14s916ms 1s65ms 03 8 8s928ms 1s116ms 04 10 12s201ms 1s220ms 05 7 8s678ms 1s239ms 06 13 14s920ms 1s147ms 07 9 9s889ms 1s98ms 08 11 12s446ms 1s131ms 09 8 8s891ms 1s111ms 10 4 4s354ms 1s88ms 11 7 7s885ms 1s126ms 12 4 4s526ms 1s131ms 13 3 3s577ms 1s192ms 14 3 3s355ms 1s118ms 15 5 5s705ms 1s141ms 16 7 1h19m54s 11m24s 17 3 3s439ms 1s146ms 18 5 5s784ms 1s156ms 19 1 1s138ms 1s138ms 20 10 11s195ms 1s119ms 21 3 3s432ms 1s144ms 22 8 13s206ms 1s650ms Jan 07 00 6 18s896ms 3s149ms 01 3 11s260ms 3s753ms 02 9 29s918ms 3s324ms 03 6 24s304ms 4s50ms 04 3 9s161ms 3s53ms 05 15 52s662ms 3s510ms 06 7 25s355ms 3s622ms 07 9 31s78ms 3s453ms 08 6 7s478ms 1s246ms 09 15 16s550ms 1s103ms 10 2 2s41ms 1s20ms 11 2 2s113ms 1s56ms 12 4 4s385ms 1s96ms 13 6 6s473ms 1s78ms 14 3 3s292ms 1s97ms 15 8 8s847ms 1s105ms 16 12 13s179ms 1s98ms 17 3 3s390ms 1s130ms 18 9 9s930ms 1s103ms 19 5 5s562ms 1s112ms 20 6 6s556ms 1s92ms 21 7 7s874ms 1s124ms 22 12 13s735ms 1s144ms [ User: pubeu - Total duration: 1h1m - Times executed: 469 ]
-
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 = '1782679' or receptorTerm.id = '1782679' 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-06 16:38:10 Duration: 50m39s 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 = '1778215' or receptorTerm.id = '1778215' 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-06 16:38:10 Duration: 28m1s 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 = '1522690' or receptorTerm.id = '1522690' 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-06 16:38:10 Duration: 1m8s Database: ctdprd51 User: pubeu Bind query: yes
9 1h43m39s 1 1h43m39s 1h43m39s 1h43m39s select pub2.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jan 06 02 1 1h43m39s 1h43m39s -
select pub2.maint_gene_chem_ref_gene_form_refresh ();
Date: 2025-01-06 02:45:22 Duration: 1h43m39s Bind query: yes
10 1h43m12s 27 1s305ms 20m47s 3m49s 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 #10
Day Hour Count Duration Avg duration Jan 01 01 1 1s434ms 1s434ms 05 2 35m14s 17m37s 14 1 4m51s 4m51s Jan 02 23 1 1s538ms 1s538ms Jan 03 02 1 3s219ms 3s219ms 17 1 1s471ms 1s471ms 19 1 1s908ms 1s908ms Jan 04 00 1 17m34s 17m34s 03 1 1s516ms 1s516ms Jan 05 04 1 1s522ms 1s522ms 06 1 1s985ms 1s985ms 07 1 1s613ms 1s613ms 10 1 1s547ms 1s547ms 12 1 1s667ms 1s667ms 13 2 4s399ms 2s199ms 15 1 17m37s 17m37s 16 1 1m31s 1m31s 19 1 4m50s 4m50s 22 1 1s598ms 1s598ms Jan 06 07 1 3s435ms 3s435ms 12 1 2s982ms 2s982ms 15 1 4s765ms 4s765ms Jan 07 05 1 1s305ms 1s305ms 07 1 6s921ms 6s921ms 08 1 20m47s 20m47s [ User: pubeu - Total duration: 1h2m55s - Times executed: 16 ]
-
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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-07 08:13:15 Duration: 20m47s 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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-05 15:41:54 Duration: 17m37s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-01 05:52:36 Duration: 17m37s Bind query: yes
11 1h41m49s 6 3s365ms 34m6s 16m58s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ?))) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 04 12 1 33m43s 33m43s Jan 05 13 5 1h8m5s 13m37s [ User: pubeu - Total duration: 3s993ms - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NERVOUS SYSTEM DISEASES' AND t.object_type_id = 3))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10116' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-05 13:22:33 Duration: 34m6s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEUROTOXICITY SYNDROMES' AND t.object_type_id = 3))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10116' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-05 13:18:55 Duration: 33m48s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEUROTOXICITY SYNDROMES' AND t.object_type_id = 3))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10116' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-04 12:00:16 Duration: 33m43s Bind query: yes
12 1h19m3s 324 1s87ms 41m18s 14s640ms 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 #12
Day Hour Count Duration Avg duration Jan 01 00 2 2s359ms 1s179ms 01 1 1s148ms 1s148ms 02 2 2s291ms 1s145ms 03 1 1s265ms 1s265ms 04 2 2s374ms 1s187ms 05 4 5s17ms 1s254ms 07 1 1s237ms 1s237ms 12 2 2s297ms 1s148ms 13 1 1s185ms 1s185ms 14 1 1s263ms 1s263ms 15 1 1s106ms 1s106ms 18 1 1s157ms 1s157ms 19 2 2s246ms 1s123ms 20 3 3s459ms 1s153ms 21 5 5s795ms 1s159ms Jan 02 00 1 1s161ms 1s161ms 01 1 1s168ms 1s168ms 02 6 7s129ms 1s188ms 03 2 2s350ms 1s175ms 04 2 2s384ms 1s192ms 05 3 3s755ms 1s251ms 06 2 2s248ms 1s124ms 07 1 1s193ms 1s193ms 08 2 2s313ms 1s156ms 09 5 5s759ms 1s151ms 10 2 2s431ms 1s215ms 11 4 4s884ms 1s221ms 13 1 1s222ms 1s222ms 14 3 3s691ms 1s230ms 15 2 2s536ms 1s268ms 16 3 3s804ms 1s268ms 17 2 2s393ms 1s196ms 18 4 4s925ms 1s231ms 19 1 1s242ms 1s242ms 20 1 1s269ms 1s269ms 21 2 2s370ms 1s185ms 22 1 1s465ms 1s465ms 23 1 1s245ms 1s245ms Jan 03 00 3 4s188ms 1s396ms 01 3 3s712ms 1s237ms 02 2 2s320ms 1s160ms 04 4 4s937ms 1s234ms 05 6 7s658ms 1s276ms 06 1 1s298ms 1s298ms 07 3 3s643ms 1s214ms 08 2 2s472ms 1s236ms 09 5 6s81ms 1s216ms 11 3 3s928ms 1s309ms 12 1 1s306ms 1s306ms 13 2 2s373ms 1s186ms 15 1 1s167ms 1s167ms 16 1 1s226ms 1s226ms 19 2 2s280ms 1s140ms 21 2 2s326ms 1s163ms 22 2 2s683ms 1s341ms 23 1 1s244ms 1s244ms Jan 04 02 1 1s250ms 1s250ms 03 3 3s699ms 1s233ms 04 2 2s582ms 1s291ms 05 3 3s999ms 1s333ms 06 1 1s282ms 1s282ms 08 2 2s516ms 1s258ms 09 1 1s290ms 1s290ms 11 1 1s180ms 1s180ms 12 1 1s262ms 1s262ms 13 1 1s259ms 1s259ms 14 4 5s696ms 1s424ms 15 3 3s708ms 1s236ms 19 4 4s853ms 1s213ms 21 1 1s157ms 1s157ms 22 2 2s815ms 1s407ms 23 2 2s763ms 1s381ms Jan 05 02 4 5s2ms 1s250ms 03 2 2s566ms 1s283ms 04 5 6s226ms 1s245ms 05 5 6s271ms 1s254ms 06 7 8s957ms 1s279ms 07 5 6s290ms 1s258ms 08 1 1s340ms 1s340ms 09 2 2s714ms 1s357ms 10 7 8s961ms 1s280ms 11 3 3s773ms 1s257ms 12 4 5s236ms 1s309ms 14 2 2s468ms 1s234ms 15 1 1s526ms 1s526ms 16 3 3s646ms 1s215ms 17 3 3s893ms 1s297ms 18 2 2s312ms 1s156ms 19 3 3s872ms 1s290ms 20 3 3s716ms 1s238ms 21 2 2s450ms 1s225ms 22 2 2s479ms 1s239ms 23 2 2s476ms 1s238ms Jan 06 00 2 2s518ms 1s259ms 01 1 1s142ms 1s142ms 02 3 3s993ms 1s331ms 03 4 4s786ms 1s196ms 04 2 2s593ms 1s296ms 05 7 8s988ms 1s284ms 06 3 3s623ms 1s207ms 08 1 1s183ms 1s183ms 10 2 2s394ms 1s197ms 11 3 4s542ms 1s514ms 12 3 3s751ms 1s250ms 15 1 1s482ms 1s482ms 16 4 1h11m24s 17m51s 17 1 1s248ms 1s248ms 18 3 3s706ms 1s235ms 20 2 2s656ms 1s328ms 21 1 1s374ms 1s374ms 22 6 13s564ms 2s260ms Jan 07 00 1 4s949ms 4s949ms 01 1 4s994ms 4s994ms 02 4 15s164ms 3s791ms 03 2 5s905ms 2s952ms 04 6 21s79ms 3s513ms 05 2 8s998ms 4s499ms 06 2 8s42ms 4s21ms 07 2 8s189ms 4s94ms 08 4 5s369ms 1s342ms 09 3 3s993ms 1s331ms 10 3 3s538ms 1s179ms 12 2 2s446ms 1s223ms 13 3 3s535ms 1s178ms 15 3 3s698ms 1s232ms 17 1 1s499ms 1s499ms 19 4 5s723ms 1s430ms 20 2 2s338ms 1s169ms 21 3 3s708ms 1s236ms 22 2 2s518ms 1s259ms [ User: pubeu - Total duration: 1h13m48s - Times executed: 115 ]
[ User: qaeu - Total duration: 6s611ms - 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 = '2078697') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2078697') 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-06 16:38:10 Duration: 41m18s 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 = '2087572') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2087572') 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-06 16:38:10 Duration: 26m20s 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 = '2090821') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2090821') 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-06 16:38:10 Duration: 3m44s Database: ctdprd51 User: pubeu Bind query: yes
13 1h7m5s 811 1s84ms 30m25s 4s963ms 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 #13
Day Hour Count Duration Avg duration Jan 01 00 4 4s733ms 1s183ms 01 3 3s527ms 1s175ms 02 6 7s54ms 1s175ms 03 1 1s204ms 1s204ms 04 3 3s741ms 1s247ms 05 6 7s592ms 1s265ms 06 6 7s51ms 1s175ms 07 3 3s551ms 1s183ms 08 1 1s144ms 1s144ms 09 2 2s295ms 1s147ms 10 5 5s889ms 1s177ms 11 4 4s614ms 1s153ms 12 1 1s142ms 1s142ms 14 3 3s605ms 1s201ms 15 6 6s850ms 1s141ms 16 10 11s611ms 1s161ms 17 5 5s918ms 1s183ms 18 3 3s401ms 1s133ms 19 5 5s889ms 1s177ms 20 4 4s609ms 1s152ms 21 6 7s15ms 1s169ms 22 3 3s641ms 1s213ms 23 3 3s561ms 1s187ms Jan 02 00 7 8s378ms 1s196ms 01 4 4s835ms 1s208ms 02 4 4s804ms 1s201ms 03 9 10s673ms 1s185ms 04 3 3s545ms 1s181ms 05 8 9s593ms 1s199ms 06 4 4s641ms 1s160ms 07 3 3s543ms 1s181ms 08 4 4s609ms 1s152ms 09 6 6s970ms 1s161ms 10 2 2s305ms 1s152ms 11 3 3s649ms 1s216ms 12 7 8s617ms 1s231ms 13 4 5s69ms 1s267ms 14 6 7s543ms 1s257ms 15 6 7s343ms 1s223ms 16 4 4s970ms 1s242ms 17 3 3s754ms 1s251ms 18 3 3s665ms 1s221ms 19 5 6s102ms 1s220ms 20 6 7s266ms 1s211ms 21 7 8s739ms 1s248ms 22 7 8s364ms 1s194ms 23 5 6s36ms 1s207ms Jan 03 00 15 18s344ms 1s222ms 01 3 3s645ms 1s215ms 02 3 3s730ms 1s243ms 03 6 7s403ms 1s233ms 04 5 6s 1s200ms 05 11 13s734ms 1s248ms 06 10 11s989ms 1s198ms 07 10 12s195ms 1s219ms 08 10 12s254ms 1s225ms 09 6 7s283ms 1s213ms 10 5 6s275ms 1s255ms 11 1 1s205ms 1s205ms 12 5 6s35ms 1s207ms 13 13 15s978ms 1s229ms 14 2 2s435ms 1s217ms 15 1 1s225ms 1s225ms 16 5 6s71ms 1s214ms 17 1 1s226ms 1s226ms 18 7 8s384ms 1s197ms 19 11 12s966ms 1s178ms 20 4 4s687ms 1s171ms 21 4 4s764ms 1s191ms 22 4 4s921ms 1s230ms 23 11 13s442ms 1s222ms Jan 04 00 4 4s859ms 1s214ms 01 1 1s224ms 1s224ms 02 4 4s818ms 1s204ms 03 10 11s936ms 1s193ms 04 7 8s502ms 1s214ms 05 8 9s933ms 1s241ms 06 5 6s301ms 1s260ms 07 5 6s268ms 1s253ms 08 9 11s135ms 1s237ms 10 10 12s318ms 1s231ms 11 1 1s243ms 1s243ms 12 2 2s430ms 1s215ms 13 2 2s984ms 1s492ms 14 15 18s222ms 1s214ms 16 2 2s413ms 1s206ms 17 2 2s536ms 1s268ms 19 14 16s421ms 1s172ms 20 2 2s324ms 1s162ms 21 8 9s271ms 1s158ms 22 1 1s227ms 1s227ms 23 4 4s935ms 1s233ms Jan 05 00 6 7s563ms 1s260ms 01 6 7s359ms 1s226ms 02 5 6s567ms 1s313ms 03 6 7s67ms 1s177ms 04 9 10s806ms 1s200ms 05 8 10s259ms 1s282ms 06 5 6s227ms 1s245ms 07 2 2s485ms 1s242ms 08 5 6s329ms 1s265ms 09 8 10s324ms 1s290ms 10 3 3s715ms 1s238ms 11 3 3s822ms 1s274ms 12 3 3s921ms 1s307ms 13 7 8s648ms 1s235ms 14 7 8s343ms 1s191ms 15 3 3s633ms 1s211ms 16 11 13s112ms 1s192ms 17 7 8s534ms 1s219ms 18 2 2s250ms 1s125ms 19 2 2s414ms 1s207ms 20 5 5s841ms 1s168ms 21 4 6s687ms 1s671ms 22 7 8s531ms 1s218ms 23 2 2s462ms 1s231ms Jan 06 00 4 4s821ms 1s205ms 01 5 5s935ms 1s187ms 02 6 7s240ms 1s206ms 03 1 1s201ms 1s201ms 04 7 8s666ms 1s238ms 05 5 6s386ms 1s277ms 06 7 8s695ms 1s242ms 07 2 2s486ms 1s243ms 08 10 12s339ms 1s233ms 09 1 1s145ms 1s145ms 10 2 2s431ms 1s215ms 11 4 4s977ms 1s244ms 13 4 4s981ms 1s245ms 14 2 2s549ms 1s274ms 15 2 2s636ms 1s318ms 16 3 48m45s 16m15s 17 2 2s488ms 1s244ms 18 7 8s492ms 1s213ms 19 2 2s436ms 1s218ms 20 5 6s199ms 1s239ms 21 3 3s716ms 1s238ms 22 13 25s414ms 1s954ms 23 2 8s799ms 4s399ms Jan 07 00 2 7s579ms 3s789ms 01 6 21s308ms 3s551ms 02 5 17s771ms 3s554ms 03 4 15s624ms 3s906ms 04 2 6s635ms 3s317ms 05 12 43s468ms 3s622ms 06 3 11s525ms 3s841ms 07 7 24s156ms 3s450ms 08 3 5s931ms 1s977ms 09 10 13s209ms 1s320ms 10 1 1s173ms 1s173ms 13 4 4s779ms 1s194ms 14 2 2s330ms 1s165ms 15 10 11s670ms 1s167ms 16 6 7s73ms 1s178ms 17 3 3s789ms 1s263ms 18 8 9s677ms 1s209ms 19 6 7s360ms 1s226ms 20 3 3s609ms 1s203ms 21 5 6s98ms 1s219ms 22 2 2s528ms 1s264ms [ User: pubeu - Total duration: 55m25s - Times executed: 303 ]
[ User: qaeu - Total duration: 1s297ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221269') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221269') 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-06 16:38:10 Duration: 30m25s 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.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1231955') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1231955') 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-06 16:38:10 Duration: 18m18s 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.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1225246') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1225246') 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-06 23:02:09 Duration: 5s322ms Bind query: yes
14 1h3m53s 35 1s 51m35s 1m49s 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 #14
Day Hour Count Duration Avg duration Jan 01 12 1 2s582ms 2s582ms Jan 02 23 1 2s158ms 2s158ms Jan 03 01 1 2s662ms 2s662ms Jan 04 05 1 42s491ms 42s491ms 12 2 1m40s 50s34ms Jan 05 12 1 35s832ms 35s832ms 19 1 47s165ms 47s165ms 23 1 34s22ms 34s22ms Jan 06 05 1 35s482ms 35s482ms 12 1 31s378ms 31s378ms 15 1 39s115ms 39s115ms 16 1 51m35s 51m35s Jan 07 00 1 4m53s 4m53s 05 1 1s153ms 1s153ms 11 15 16s249ms 1s83ms 13 4 4s193ms 1s48ms 18 1 50s420ms 50s420ms [ User: pubeu - Total duration: 52m48s - Times executed: 4 ]
-
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 = '2080740')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-01-06 16:38:10 Duration: 51m35s 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 = '1221429')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-01-07 00:42:30 Duration: 4m53s 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 = '1276072')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-01-04 12:40:38 Duration: 1m27s Bind query: yes
15 1h9s 1 1h9s 1h9s 1h9s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jan 06 03 1 1h9s 1h9s -
SELECT maint_term_derive_nm_fts ();
Date: 2025-01-06 03:48:19 Duration: 1h9s Bind query: yes
16 51m48s 223 1s696ms 34m44s 13s938ms select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jan 06 12 106 42m44s 24s194ms 13 117 9m3s 4s646ms [ User: qaeu - Total duration: 34m44s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-01-06 12:41:27 Duration: 34m44s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-01-06 13:01:34 Duration: 12s362ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-01-06 12:48:07 Duration: 11s812ms Bind query: yes
17 46m7s 74 1s3ms 6m41s 37s398ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 02 12 14 2m4s 8s890ms 13 17 11m57s 42s229ms 14 9 8m24s 56s36ms Jan 05 18 6 1m8s 11s385ms 21 4 8m2s 2m 22 3 6m45s 2m15s 23 18 7m21s 24s530ms Jan 06 00 3 23s461ms 7s820ms [ User: load - Total duration: 14m9s - Times executed: 25 ]
[ Application: pg_bulkload - Total duration: 14m9s - Times executed: 25 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2025-01-05 21:16:28 Duration: 6m41s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2025-01-05 22:00:43 Duration: 5m4s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2025-01-02 13:00:52 Duration: 4m4s Bind query: yes
18 45m37s 1 45m37s 45m37s 45m37s vacuum full analyze;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 06 04 1 45m37s 45m37s -
VACUUM FULL ANALYZE;
Date: 2025-01-06 04:39:35 Duration: 45m37s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2025-01-06 03:54:29 Duration: 0ms
19 42m52s 1 42m52s 42m52s 42m52s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.gene_go_annot gga, pub2.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jan 05 21 1 42m52s 42m52s -
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2025-01-05 21:05:02 Duration: 42m52s Bind query: yes
20 41m41s 110 1s8ms 13m54s 22s738ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jan 01 04 1 19s277ms 19s277ms 09 1 3s305ms 3s305ms 10 1 7s181ms 7s181ms 20 3 32s162ms 10s720ms 21 7 1m7s 9s623ms Jan 02 01 1 1s542ms 1s542ms 03 1 1s50ms 1s50ms 08 1 1s30ms 1s30ms 09 1 7s136ms 7s136ms 13 1 1s524ms 1s524ms Jan 03 01 1 1s49ms 1s49ms 06 6 17s281ms 2s880ms 10 1 1s382ms 1s382ms 11 16 36s144ms 2s259ms 14 1 1s559ms 1s559ms 15 1 14s461ms 14s461ms Jan 04 02 1 2s188ms 2s188ms 05 1 1s48ms 1s48ms 06 1 1s41ms 1s41ms 07 1 1s27ms 1s27ms 11 1 43s73ms 43s73ms 19 1 1s880ms 1s880ms 21 2 2s19ms 1s9ms Jan 05 05 1 25s841ms 25s841ms 06 1 13s403ms 13s403ms 08 1 13s277ms 13s277ms 09 3 27s432ms 9s144ms 11 2 3s130ms 1s565ms 12 6 1m29s 14s941ms 13 2 11s101ms 5s550ms Jan 06 00 5 48s263ms 9s652ms 01 4 33s850ms 8s462ms 03 1 1s281ms 1s281ms 04 1 1s29ms 1s29ms 05 2 2m12s 1m6s 16 1 3s624ms 3s624ms 22 2 3s861ms 1s930ms 23 7 5m58s 51s182ms Jan 07 00 2 1m30s 45s4ms 01 5 18m23s 3m40s 02 2 41s754ms 20s877ms 08 4 1m55s 28s986ms 14 1 1s592ms 1s592ms 17 1 9s119ms 9s119ms 19 1 34s356ms 34s356ms 20 1 3s516ms 3s516ms 21 1 34s527ms 34s527ms 22 1 35s299ms 35s299ms [ User: pubeu - Total duration: 26m48s - Times executed: 52 ]
-
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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-07 01:16:41 Duration: 13m54s 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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-07 01:17:56 Duration: 1m23s 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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-06 23:59:52 Duration: 1m6s Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,239 1h45m12s 1s12ms 50m39s 5s94ms 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 01 00 8 8s654ms 1s81ms 01 7 7s709ms 1s101ms 02 4 4s423ms 1s105ms 03 5 5s503ms 1s100ms 04 7 7s743ms 1s106ms 05 9 10s165ms 1s129ms 06 8 8s663ms 1s82ms 07 4 4s289ms 1s72ms 08 9 9s785ms 1s87ms 09 2 2s293ms 1s146ms 10 5 5s365ms 1s73ms 11 9 9s742ms 1s82ms 12 7 7s582ms 1s83ms 13 7 7s538ms 1s76ms 14 4 4s323ms 1s80ms 15 5 5s337ms 1s67ms 16 6 6s476ms 1s79ms 17 4 4s377ms 1s94ms 18 6 6s339ms 1s56ms 19 9 9s448ms 1s49ms 20 7 7s640ms 1s91ms 21 9 9s664ms 1s73ms 22 11 12s163ms 1s105ms 23 7 7s510ms 1s72ms Jan 02 00 7 7s621ms 1s88ms 01 7 7s562ms 1s80ms 02 5 5s428ms 1s85ms 03 14 15s144ms 1s81ms 04 4 4s359ms 1s89ms 05 13 14s303ms 1s100ms 06 4 4s348ms 1s87ms 07 3 3s102ms 1s34ms 08 10 10s843ms 1s84ms 09 8 8s454ms 1s56ms 10 6 6s643ms 1s107ms 11 3 3s428ms 1s142ms 12 1 1s135ms 1s135ms 13 7 7s965ms 1s137ms 14 7 7s783ms 1s111ms 15 13 14s634ms 1s125ms 16 8 8s920ms 1s115ms 17 6 6s833ms 1s138ms 18 10 11s328ms 1s132ms 19 8 8s919ms 1s114ms 20 11 12s246ms 1s113ms 21 15 16s894ms 1s126ms 22 6 6s598ms 1s99ms 23 7 7s924ms 1s132ms Jan 03 00 9 10s123ms 1s124ms 01 7 7s953ms 1s136ms 02 9 9s802ms 1s89ms 03 6 6s802ms 1s133ms 04 7 7s975ms 1s139ms 05 17 19s420ms 1s142ms 06 12 13s587ms 1s132ms 07 13 14s533ms 1s117ms 08 15 16s757ms 1s117ms 09 10 11s203ms 1s120ms 10 6 6s608ms 1s101ms 11 4 4s339ms 1s84ms 12 6 6s618ms 1s103ms 13 10 11s342ms 1s134ms 14 6 6s669ms 1s111ms 15 4 4s461ms 1s115ms 16 4 4s348ms 1s87ms 17 5 5s583ms 1s116ms 18 9 9s723ms 1s80ms 19 8 8s724ms 1s90ms 20 9 9s841ms 1s93ms 21 6 6s587ms 1s97ms 22 5 5s655ms 1s131ms 23 12 13s760ms 1s146ms Jan 04 00 2 2s310ms 1s155ms 01 5 5s700ms 1s140ms 02 7 7s957ms 1s136ms 03 10 11s109ms 1s110ms 04 11 12s522ms 1s138ms 05 10 11s413ms 1s141ms 06 1 1s154ms 1s154ms 07 7 8s112ms 1s158ms 08 16 18s157ms 1s134ms 09 2 2s261ms 1s130ms 10 10 11s318ms 1s131ms 11 7 8s64ms 1s152ms 12 5 6s81ms 1s216ms 13 2 2s411ms 1s205ms 14 17 19s26ms 1s119ms 15 8 9s242ms 1s155ms 16 4 4s602ms 1s150ms 17 2 2s267ms 1s133ms 18 2 2s309ms 1s154ms 19 8 8s603ms 1s75ms 20 2 2s158ms 1s79ms 21 11 11s792ms 1s72ms 22 2 2s353ms 1s176ms 23 8 9s94ms 1s136ms Jan 05 00 15 16s834ms 1s122ms 01 3 3s275ms 1s91ms 02 3 3s398ms 1s132ms 03 18 19s842ms 1s102ms 04 13 14s747ms 1s134ms 05 14 15s867ms 1s133ms 06 8 9s75ms 1s134ms 07 4 4s568ms 1s142ms 08 7 8s76ms 1s153ms 09 5 5s848ms 1s169ms 10 5 5s724ms 1s144ms 11 9 10s369ms 1s152ms 12 6 6s738ms 1s123ms 13 5 5s784ms 1s156ms 14 17 18s926ms 1s113ms 15 11 12s333ms 1s121ms 16 12 13s159ms 1s96ms 17 17 18s837ms 1s108ms 18 9 9s625ms 1s69ms 19 5 5s552ms 1s110ms 20 3 3s226ms 1s75ms 21 7 7s767ms 1s109ms 22 15 16s643ms 1s109ms 23 8 9s186ms 1s148ms Jan 06 00 10 12s348ms 1s234ms 01 9 9s813ms 1s90ms 02 14 14s916ms 1s65ms 03 8 8s928ms 1s116ms 04 10 12s201ms 1s220ms 05 7 8s678ms 1s239ms 06 13 14s920ms 1s147ms 07 9 9s889ms 1s98ms 08 11 12s446ms 1s131ms 09 8 8s891ms 1s111ms 10 4 4s354ms 1s88ms 11 7 7s885ms 1s126ms 12 4 4s526ms 1s131ms 13 3 3s577ms 1s192ms 14 3 3s355ms 1s118ms 15 5 5s705ms 1s141ms 16 7 1h19m54s 11m24s 17 3 3s439ms 1s146ms 18 5 5s784ms 1s156ms 19 1 1s138ms 1s138ms 20 10 11s195ms 1s119ms 21 3 3s432ms 1s144ms 22 8 13s206ms 1s650ms Jan 07 00 6 18s896ms 3s149ms 01 3 11s260ms 3s753ms 02 9 29s918ms 3s324ms 03 6 24s304ms 4s50ms 04 3 9s161ms 3s53ms 05 15 52s662ms 3s510ms 06 7 25s355ms 3s622ms 07 9 31s78ms 3s453ms 08 6 7s478ms 1s246ms 09 15 16s550ms 1s103ms 10 2 2s41ms 1s20ms 11 2 2s113ms 1s56ms 12 4 4s385ms 1s96ms 13 6 6s473ms 1s78ms 14 3 3s292ms 1s97ms 15 8 8s847ms 1s105ms 16 12 13s179ms 1s98ms 17 3 3s390ms 1s130ms 18 9 9s930ms 1s103ms 19 5 5s562ms 1s112ms 20 6 6s556ms 1s92ms 21 7 7s874ms 1s124ms 22 12 13s735ms 1s144ms [ User: pubeu - Total duration: 1h1m - Times executed: 469 ]
-
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 = '1782679' or receptorTerm.id = '1782679' 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-06 16:38:10 Duration: 50m39s 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 = '1778215' or receptorTerm.id = '1778215' 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-06 16:38:10 Duration: 28m1s 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 = '1522690' or receptorTerm.id = '1522690' 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-06 16:38:10 Duration: 1m8s Database: ctdprd51 User: pubeu Bind query: yes
2 811 1h7m5s 1s84ms 30m25s 4s963ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 01 00 4 4s733ms 1s183ms 01 3 3s527ms 1s175ms 02 6 7s54ms 1s175ms 03 1 1s204ms 1s204ms 04 3 3s741ms 1s247ms 05 6 7s592ms 1s265ms 06 6 7s51ms 1s175ms 07 3 3s551ms 1s183ms 08 1 1s144ms 1s144ms 09 2 2s295ms 1s147ms 10 5 5s889ms 1s177ms 11 4 4s614ms 1s153ms 12 1 1s142ms 1s142ms 14 3 3s605ms 1s201ms 15 6 6s850ms 1s141ms 16 10 11s611ms 1s161ms 17 5 5s918ms 1s183ms 18 3 3s401ms 1s133ms 19 5 5s889ms 1s177ms 20 4 4s609ms 1s152ms 21 6 7s15ms 1s169ms 22 3 3s641ms 1s213ms 23 3 3s561ms 1s187ms Jan 02 00 7 8s378ms 1s196ms 01 4 4s835ms 1s208ms 02 4 4s804ms 1s201ms 03 9 10s673ms 1s185ms 04 3 3s545ms 1s181ms 05 8 9s593ms 1s199ms 06 4 4s641ms 1s160ms 07 3 3s543ms 1s181ms 08 4 4s609ms 1s152ms 09 6 6s970ms 1s161ms 10 2 2s305ms 1s152ms 11 3 3s649ms 1s216ms 12 7 8s617ms 1s231ms 13 4 5s69ms 1s267ms 14 6 7s543ms 1s257ms 15 6 7s343ms 1s223ms 16 4 4s970ms 1s242ms 17 3 3s754ms 1s251ms 18 3 3s665ms 1s221ms 19 5 6s102ms 1s220ms 20 6 7s266ms 1s211ms 21 7 8s739ms 1s248ms 22 7 8s364ms 1s194ms 23 5 6s36ms 1s207ms Jan 03 00 15 18s344ms 1s222ms 01 3 3s645ms 1s215ms 02 3 3s730ms 1s243ms 03 6 7s403ms 1s233ms 04 5 6s 1s200ms 05 11 13s734ms 1s248ms 06 10 11s989ms 1s198ms 07 10 12s195ms 1s219ms 08 10 12s254ms 1s225ms 09 6 7s283ms 1s213ms 10 5 6s275ms 1s255ms 11 1 1s205ms 1s205ms 12 5 6s35ms 1s207ms 13 13 15s978ms 1s229ms 14 2 2s435ms 1s217ms 15 1 1s225ms 1s225ms 16 5 6s71ms 1s214ms 17 1 1s226ms 1s226ms 18 7 8s384ms 1s197ms 19 11 12s966ms 1s178ms 20 4 4s687ms 1s171ms 21 4 4s764ms 1s191ms 22 4 4s921ms 1s230ms 23 11 13s442ms 1s222ms Jan 04 00 4 4s859ms 1s214ms 01 1 1s224ms 1s224ms 02 4 4s818ms 1s204ms 03 10 11s936ms 1s193ms 04 7 8s502ms 1s214ms 05 8 9s933ms 1s241ms 06 5 6s301ms 1s260ms 07 5 6s268ms 1s253ms 08 9 11s135ms 1s237ms 10 10 12s318ms 1s231ms 11 1 1s243ms 1s243ms 12 2 2s430ms 1s215ms 13 2 2s984ms 1s492ms 14 15 18s222ms 1s214ms 16 2 2s413ms 1s206ms 17 2 2s536ms 1s268ms 19 14 16s421ms 1s172ms 20 2 2s324ms 1s162ms 21 8 9s271ms 1s158ms 22 1 1s227ms 1s227ms 23 4 4s935ms 1s233ms Jan 05 00 6 7s563ms 1s260ms 01 6 7s359ms 1s226ms 02 5 6s567ms 1s313ms 03 6 7s67ms 1s177ms 04 9 10s806ms 1s200ms 05 8 10s259ms 1s282ms 06 5 6s227ms 1s245ms 07 2 2s485ms 1s242ms 08 5 6s329ms 1s265ms 09 8 10s324ms 1s290ms 10 3 3s715ms 1s238ms 11 3 3s822ms 1s274ms 12 3 3s921ms 1s307ms 13 7 8s648ms 1s235ms 14 7 8s343ms 1s191ms 15 3 3s633ms 1s211ms 16 11 13s112ms 1s192ms 17 7 8s534ms 1s219ms 18 2 2s250ms 1s125ms 19 2 2s414ms 1s207ms 20 5 5s841ms 1s168ms 21 4 6s687ms 1s671ms 22 7 8s531ms 1s218ms 23 2 2s462ms 1s231ms Jan 06 00 4 4s821ms 1s205ms 01 5 5s935ms 1s187ms 02 6 7s240ms 1s206ms 03 1 1s201ms 1s201ms 04 7 8s666ms 1s238ms 05 5 6s386ms 1s277ms 06 7 8s695ms 1s242ms 07 2 2s486ms 1s243ms 08 10 12s339ms 1s233ms 09 1 1s145ms 1s145ms 10 2 2s431ms 1s215ms 11 4 4s977ms 1s244ms 13 4 4s981ms 1s245ms 14 2 2s549ms 1s274ms 15 2 2s636ms 1s318ms 16 3 48m45s 16m15s 17 2 2s488ms 1s244ms 18 7 8s492ms 1s213ms 19 2 2s436ms 1s218ms 20 5 6s199ms 1s239ms 21 3 3s716ms 1s238ms 22 13 25s414ms 1s954ms 23 2 8s799ms 4s399ms Jan 07 00 2 7s579ms 3s789ms 01 6 21s308ms 3s551ms 02 5 17s771ms 3s554ms 03 4 15s624ms 3s906ms 04 2 6s635ms 3s317ms 05 12 43s468ms 3s622ms 06 3 11s525ms 3s841ms 07 7 24s156ms 3s450ms 08 3 5s931ms 1s977ms 09 10 13s209ms 1s320ms 10 1 1s173ms 1s173ms 13 4 4s779ms 1s194ms 14 2 2s330ms 1s165ms 15 10 11s670ms 1s167ms 16 6 7s73ms 1s178ms 17 3 3s789ms 1s263ms 18 8 9s677ms 1s209ms 19 6 7s360ms 1s226ms 20 3 3s609ms 1s203ms 21 5 6s98ms 1s219ms 22 2 2s528ms 1s264ms [ User: pubeu - Total duration: 55m25s - Times executed: 303 ]
[ User: qaeu - Total duration: 1s297ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221269') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221269') 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-06 16:38:10 Duration: 30m25s 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.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1231955') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1231955') 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-06 16:38:10 Duration: 18m18s 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.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1225246') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1225246') 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-06 23:02:09 Duration: 5s322ms Bind query: yes
3 492 30m31s 1s 22s641ms 3s722ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, count(gcr.ixn_id) ixncount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join term g on gcr.gene_id = g.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort order by count(gcr.ixn_id) desc, g.nm_sort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 04 04 1 1s496ms 1s496ms 08 1 1s475ms 1s475ms 10 1 1s441ms 1s441ms Jan 06 22 6 12s96ms 2s16ms 23 1 1s323ms 1s323ms Jan 07 01 1 1s331ms 1s331ms 02 1 1s15ms 1s15ms 03 1 1s109ms 1s109ms 04 2 3s280ms 1s640ms 05 4 4s734ms 1s183ms 06 1 2s100ms 2s100ms 07 1 1s777ms 1s777ms 10 5 5s295ms 1s59ms 11 314 24m37s 4s705ms 12 32 50s36ms 1s563ms 13 103 4m 2s337ms 14 17 24s542ms 1s443ms [ User: pubeu - Total duration: 7m15s - Times executed: 127 ]
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-01-07 11:48:41 Duration: 22s641ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-01-07 11:48:56 Duration: 20s600ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-01-07 11:48:18 Duration: 19s961ms Bind query: yes
4 413 23m35s 1s13ms 10s95ms 3s426ms 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 #4
Day Hour Count Duration Avg duration Jan 01 03 2 3s115ms 1s557ms 05 1 1s368ms 1s368ms 20 2 3s198ms 1s599ms Jan 02 14 1 1s889ms 1s889ms 17 2 3s96ms 1s548ms Jan 03 09 3 4s952ms 1s650ms 11 1 1s854ms 1s854ms 12 1 1s827ms 1s827ms 13 1 1s835ms 1s835ms 14 2 3s93ms 1s546ms 15 1 1s873ms 1s873ms 17 1 1s272ms 1s272ms 18 2 3s88ms 1s544ms 19 1 1s261ms 1s261ms 22 1 1s840ms 1s840ms 23 2 2s508ms 1s254ms Jan 04 01 1 1s825ms 1s825ms 02 1 1s823ms 1s823ms 03 1 1s822ms 1s822ms 04 2 3s108ms 1s554ms 05 3 4s940ms 1s646ms 06 1 1s850ms 1s850ms 07 1 1s229ms 1s229ms 08 2 3s95ms 1s547ms 09 1 1s847ms 1s847ms 10 2 3s736ms 1s868ms 11 2 3s680ms 1s840ms 13 2 3s124ms 1s562ms Jan 05 04 1 1s878ms 1s878ms 06 2 3s728ms 1s864ms 08 1 1s250ms 1s250ms 10 1 1s265ms 1s265ms 12 1 1s306ms 1s306ms 15 1 1s245ms 1s245ms 17 2 3s87ms 1s543ms 23 1 1s852ms 1s852ms Jan 06 00 1 1s895ms 1s895ms 03 1 1s943ms 1s943ms 06 3 5s625ms 1s875ms 09 1 1s273ms 1s273ms 15 1 1s950ms 1s950ms 20 1 1s830ms 1s830ms 22 8 14s910ms 1s863ms Jan 07 00 1 1s655ms 1s655ms 01 2 5s98ms 2s549ms 03 1 1s591ms 1s591ms 05 1 1s628ms 1s628ms 07 2 2s350ms 1s175ms 10 13 18s699ms 1s438ms 11 138 6m58s 3s33ms 13 135 11m44s 5s216ms 14 47 2m18s 2s947ms 15 1 1s848ms 1s848ms 17 1 1s921ms 1s921ms 18 1 1s850ms 1s850ms 21 1 1s870ms 1s870ms [ User: pubeu - Total duration: 7m57s - Times executed: 131 ]
-
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 = '1398604') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-01-07 13:44:53 Duration: 10s95ms 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 = '1398604') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-01-07 13:44:44 Duration: 9s852ms 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 = '1398604') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-01-07 13:44:54 Duration: 9s823ms Bind query: yes
5 388 8m13s 1s 4s667ms 1s271ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid from term c where c.id in ( select gdr.via_chem_id from gene_disease_reference gdr where gdr.gene_id = ? and gdr.disease_id = ?) order by c.nm_sort;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jan 06 12 4 12s299ms 3s74ms 15 45 1m1s 1s364ms 16 339 6m59s 1s238ms [ User: pubeu - Total duration: 1m4s - Times executed: 55 ]
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '2066376' AND gdr.disease_id = '2080083') ORDER BY c.nm_sort;
Date: 2025-01-06 12:47:01 Duration: 4s667ms Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '2054409' AND gdr.disease_id = '2080083') ORDER BY c.nm_sort;
Date: 2025-01-06 12:46:56 Duration: 3s907ms Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '2037025' AND gdr.disease_id = '2080083') ORDER BY c.nm_sort;
Date: 2025-01-06 12:47:03 Duration: 2s490ms Bind query: yes
6 379 19m43s 1s107ms 5s659ms 3s122ms 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 #6
Day Hour Count Duration Avg duration Jan 01 05 2 3s183ms 1s591ms Jan 05 22 1 1s344ms 1s344ms Jan 06 22 23 1m15s 3s275ms 23 11 38s831ms 3s530ms Jan 07 00 30 1m36s 3s230ms 01 51 2m51s 3s359ms 02 95 4m49s 3s47ms 03 34 1m44s 3s84ms 04 37 1m58s 3s213ms 05 51 2m22s 2s797ms 06 11 38s514ms 3s501ms 07 28 1m29s 3s211ms 08 3 7s238ms 2s412ms 09 2 4s855ms 2s427ms [ User: pubeu - Total duration: 4m15s - Times executed: 82 ]
[ User: qaeu - Total duration: 10s326ms - Times executed: 4 ]
-
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 = '2085084');
Date: 2025-01-07 01:16:39 Duration: 5s659ms 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 = '2079075');
Date: 2025-01-06 23:40:57 Duration: 5s232ms 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 = '2091134');
Date: 2025-01-07 00:58:50 Duration: 5s93ms Bind query: yes
7 375 26m37s 3s614ms 21s296ms 4s260ms 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 #7
Day Hour Count Duration Avg duration Jan 01 00 1 3s907ms 3s907ms 01 1 3s950ms 3s950ms 03 3 11s752ms 3s917ms 04 3 11s685ms 3s895ms 05 3 13s266ms 4s422ms 07 2 7s497ms 3s748ms 08 2 7s696ms 3s848ms 10 1 3s867ms 3s867ms 11 5 19s115ms 3s823ms 12 2 7s946ms 3s973ms 13 2 7s716ms 3s858ms 15 1 3s775ms 3s775ms 16 2 7s779ms 3s889ms 20 1 3s781ms 3s781ms 22 1 3s733ms 3s733ms Jan 02 01 31 1m58s 3s819ms 02 9 34s681ms 3s853ms 03 15 57s660ms 3s844ms 04 27 1m43s 3s841ms 05 3 11s749ms 3s916ms 06 1 3s789ms 3s789ms 08 5 19s177ms 3s835ms 09 1 3s869ms 3s869ms 10 2 8s152ms 4s76ms 12 2 7s832ms 3s916ms 13 2 8s136ms 4s68ms 14 2 7s595ms 3s797ms 15 2 7s571ms 3s785ms 16 1 3s812ms 3s812ms 17 2 7s599ms 3s799ms 19 2 7s620ms 3s810ms 20 20 1m15s 3s789ms 21 47 2m59s 3s812ms Jan 03 01 7 26s887ms 3s841ms 02 3 11s523ms 3s841ms 04 4 15s259ms 3s814ms 05 3 11s708ms 3s902ms 06 2 7s554ms 3s777ms 09 4 15s778ms 3s944ms 10 2 7s586ms 3s793ms 12 2 9s291ms 4s645ms 13 2 7s636ms 3s818ms 14 2 7s617ms 3s808ms 16 1 3s797ms 3s797ms 18 3 11s508ms 3s836ms 23 2 7s505ms 3s752ms Jan 04 00 1 3s851ms 3s851ms 02 1 3s977ms 3s977ms 03 1 3s801ms 3s801ms 04 2 7s636ms 3s818ms 05 5 19s206ms 3s841ms 06 2 7s762ms 3s881ms 07 2 7s615ms 3s807ms 10 1 3s831ms 3s831ms 11 1 3s950ms 3s950ms 13 1 3s816ms 3s816ms 16 1 3s927ms 3s927ms 22 1 3s711ms 3s711ms Jan 05 01 1 3s768ms 3s768ms 02 1 3s785ms 3s785ms 03 2 7s593ms 3s796ms 04 1 3s764ms 3s764ms 05 1 3s704ms 3s704ms 08 1 3s751ms 3s751ms 09 1 3s916ms 3s916ms 11 1 3s828ms 3s828ms 13 2 9s451ms 4s725ms 17 1 3s665ms 3s665ms 18 1 3s879ms 3s879ms 19 1 4s112ms 4s112ms 20 5 19s119ms 3s823ms 21 19 1m15s 3s965ms 22 5 20s128ms 4s25ms 23 1 3s894ms 3s894ms Jan 06 00 3 12s250ms 4s83ms 01 2 7s778ms 3s889ms 02 1 3s860ms 3s860ms 03 2 8s388ms 4s194ms 04 1 4s281ms 4s281ms 05 1 4s53ms 4s53ms 06 2 21s828ms 10s914ms 07 1 3s818ms 3s818ms 10 3 11s430ms 3s810ms 11 1 3s864ms 3s864ms 13 2 8s177ms 4s88ms 14 2 8s485ms 4s242ms 16 4 15s326ms 3s831ms 17 3 11s264ms 3s754ms 19 1 3s669ms 3s669ms 20 2 7s726ms 3s863ms 21 1 3s810ms 3s810ms 22 2 7s678ms 3s839ms Jan 07 02 2 35s17ms 17s508ms 03 3 50s514ms 16s838ms 04 4 55s828ms 13s957ms 05 1 13s228ms 13s228ms 07 1 15s914ms 15s914ms 09 1 4s163ms 4s163ms 10 2 7s665ms 3s832ms 11 6 24s553ms 4s92ms 12 4 16s272ms 4s68ms 14 1 3s926ms 3s926ms 15 2 7s519ms 3s759ms 16 2 8s76ms 4s38ms 17 4 16s660ms 4s165ms 19 2 8s245ms 4s122ms 20 1 4s112ms 4s112ms 21 1 3s964ms 3s964ms [ User: pubeu - Total duration: 10m45s - Times executed: 151 ]
[ User: qaeu - Total duration: 8s543ms - Times executed: 2 ]
-
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 = '1339856') 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 = '1339856') 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-07 03:25:10 Duration: 21s296ms 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 = '1283282') 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 = '1283282') 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-07 02:22:03 Duration: 19s320ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604') 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 = '1398604') 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-06 06:01:26 Duration: 17s842ms Bind query: yes
8 324 1h19m3s 1s87ms 41m18s 14s640ms 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 #8
Day Hour Count Duration Avg duration Jan 01 00 2 2s359ms 1s179ms 01 1 1s148ms 1s148ms 02 2 2s291ms 1s145ms 03 1 1s265ms 1s265ms 04 2 2s374ms 1s187ms 05 4 5s17ms 1s254ms 07 1 1s237ms 1s237ms 12 2 2s297ms 1s148ms 13 1 1s185ms 1s185ms 14 1 1s263ms 1s263ms 15 1 1s106ms 1s106ms 18 1 1s157ms 1s157ms 19 2 2s246ms 1s123ms 20 3 3s459ms 1s153ms 21 5 5s795ms 1s159ms Jan 02 00 1 1s161ms 1s161ms 01 1 1s168ms 1s168ms 02 6 7s129ms 1s188ms 03 2 2s350ms 1s175ms 04 2 2s384ms 1s192ms 05 3 3s755ms 1s251ms 06 2 2s248ms 1s124ms 07 1 1s193ms 1s193ms 08 2 2s313ms 1s156ms 09 5 5s759ms 1s151ms 10 2 2s431ms 1s215ms 11 4 4s884ms 1s221ms 13 1 1s222ms 1s222ms 14 3 3s691ms 1s230ms 15 2 2s536ms 1s268ms 16 3 3s804ms 1s268ms 17 2 2s393ms 1s196ms 18 4 4s925ms 1s231ms 19 1 1s242ms 1s242ms 20 1 1s269ms 1s269ms 21 2 2s370ms 1s185ms 22 1 1s465ms 1s465ms 23 1 1s245ms 1s245ms Jan 03 00 3 4s188ms 1s396ms 01 3 3s712ms 1s237ms 02 2 2s320ms 1s160ms 04 4 4s937ms 1s234ms 05 6 7s658ms 1s276ms 06 1 1s298ms 1s298ms 07 3 3s643ms 1s214ms 08 2 2s472ms 1s236ms 09 5 6s81ms 1s216ms 11 3 3s928ms 1s309ms 12 1 1s306ms 1s306ms 13 2 2s373ms 1s186ms 15 1 1s167ms 1s167ms 16 1 1s226ms 1s226ms 19 2 2s280ms 1s140ms 21 2 2s326ms 1s163ms 22 2 2s683ms 1s341ms 23 1 1s244ms 1s244ms Jan 04 02 1 1s250ms 1s250ms 03 3 3s699ms 1s233ms 04 2 2s582ms 1s291ms 05 3 3s999ms 1s333ms 06 1 1s282ms 1s282ms 08 2 2s516ms 1s258ms 09 1 1s290ms 1s290ms 11 1 1s180ms 1s180ms 12 1 1s262ms 1s262ms 13 1 1s259ms 1s259ms 14 4 5s696ms 1s424ms 15 3 3s708ms 1s236ms 19 4 4s853ms 1s213ms 21 1 1s157ms 1s157ms 22 2 2s815ms 1s407ms 23 2 2s763ms 1s381ms Jan 05 02 4 5s2ms 1s250ms 03 2 2s566ms 1s283ms 04 5 6s226ms 1s245ms 05 5 6s271ms 1s254ms 06 7 8s957ms 1s279ms 07 5 6s290ms 1s258ms 08 1 1s340ms 1s340ms 09 2 2s714ms 1s357ms 10 7 8s961ms 1s280ms 11 3 3s773ms 1s257ms 12 4 5s236ms 1s309ms 14 2 2s468ms 1s234ms 15 1 1s526ms 1s526ms 16 3 3s646ms 1s215ms 17 3 3s893ms 1s297ms 18 2 2s312ms 1s156ms 19 3 3s872ms 1s290ms 20 3 3s716ms 1s238ms 21 2 2s450ms 1s225ms 22 2 2s479ms 1s239ms 23 2 2s476ms 1s238ms Jan 06 00 2 2s518ms 1s259ms 01 1 1s142ms 1s142ms 02 3 3s993ms 1s331ms 03 4 4s786ms 1s196ms 04 2 2s593ms 1s296ms 05 7 8s988ms 1s284ms 06 3 3s623ms 1s207ms 08 1 1s183ms 1s183ms 10 2 2s394ms 1s197ms 11 3 4s542ms 1s514ms 12 3 3s751ms 1s250ms 15 1 1s482ms 1s482ms 16 4 1h11m24s 17m51s 17 1 1s248ms 1s248ms 18 3 3s706ms 1s235ms 20 2 2s656ms 1s328ms 21 1 1s374ms 1s374ms 22 6 13s564ms 2s260ms Jan 07 00 1 4s949ms 4s949ms 01 1 4s994ms 4s994ms 02 4 15s164ms 3s791ms 03 2 5s905ms 2s952ms 04 6 21s79ms 3s513ms 05 2 8s998ms 4s499ms 06 2 8s42ms 4s21ms 07 2 8s189ms 4s94ms 08 4 5s369ms 1s342ms 09 3 3s993ms 1s331ms 10 3 3s538ms 1s179ms 12 2 2s446ms 1s223ms 13 3 3s535ms 1s178ms 15 3 3s698ms 1s232ms 17 1 1s499ms 1s499ms 19 4 5s723ms 1s430ms 20 2 2s338ms 1s169ms 21 3 3s708ms 1s236ms 22 2 2s518ms 1s259ms [ User: pubeu - Total duration: 1h13m48s - Times executed: 115 ]
[ User: qaeu - Total duration: 6s611ms - 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 = '2078697') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2078697') 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-06 16:38:10 Duration: 41m18s 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 = '2087572') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2087572') 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-06 16:38:10 Duration: 26m20s 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 = '2090821') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2090821') 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-06 16:38:10 Duration: 3m44s Database: ctdprd51 User: pubeu Bind query: yes
9 261 12m36s 1s14ms 8s867ms 2s898ms 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 #9
Day Hour Count Duration Avg duration Jan 01 03 10 24s917ms 2s491ms 05 1 1s52ms 1s52ms 20 10 25s121ms 2s512ms Jan 02 14 1 6s413ms 6s413ms 17 10 24s811ms 2s481ms Jan 03 06 1 1s839ms 1s839ms 07 2 3s760ms 1s880ms 08 3 9s702ms 3s234ms 09 2 3s599ms 1s799ms 10 1 1s750ms 1s750ms 11 3 7s551ms 2s517ms 12 7 29s949ms 4s278ms 13 1 1s734ms 1s734ms 14 18 48s573ms 2s698ms 15 4 15s993ms 3s998ms 16 1 1s930ms 1s930ms 17 1 1s794ms 1s794ms 18 2 8s994ms 4s497ms 19 2 4s88ms 2s44ms 20 3 5s500ms 1s833ms 21 2 8s761ms 4s380ms 22 5 14s639ms 2s927ms 23 3 8s314ms 2s771ms Jan 04 00 4 7s935ms 1s983ms 01 6 16s726ms 2s787ms 03 1 1s847ms 1s847ms 04 2 4s923ms 2s461ms 05 3 9s35ms 3s11ms 06 3 8s546ms 2s848ms 07 6 17s580ms 2s930ms 09 2 4s227ms 2s113ms 10 2 7s434ms 3s717ms 11 2 3s829ms 1s914ms 12 2 4s802ms 2s401ms 13 10 25s278ms 2s527ms 15 1 1s323ms 1s323ms 20 1 2s31ms 2s31ms Jan 05 04 3 8s670ms 2s890ms 05 2 4s171ms 2s85ms 06 1 1s784ms 1s784ms 07 2 5s750ms 2s875ms 08 3 9s891ms 3s297ms 09 2 3s591ms 1s795ms 10 3 15s512ms 5s170ms 11 6 18s827ms 3s137ms 12 2 5s316ms 2s658ms 13 4 17s774ms 4s443ms 14 3 10s238ms 3s412ms 15 2 3s831ms 1s915ms 16 2 8s115ms 4s57ms 17 12 30s89ms 2s507ms 18 1 6s97ms 6s97ms 19 1 1s901ms 1s901ms 20 5 12s491ms 2s498ms 21 3 7s104ms 2s368ms 22 2 4s593ms 2s296ms Jan 06 00 1 1s110ms 1s110ms 01 1 8s867ms 8s867ms 02 3 11s431ms 3s810ms 03 1 2s102ms 2s102ms 05 1 3s332ms 3s332ms 06 1 1s379ms 1s379ms 11 1 4s33ms 4s33ms 13 1 7s699ms 7s699ms 14 1 3s787ms 3s787ms 15 2 6s783ms 3s391ms 16 1 2s217ms 2s217ms 17 3 18s570ms 6s190ms 18 1 6s156ms 6s156ms 19 1 3s222ms 3s222ms 22 9 43s562ms 4s840ms Jan 07 01 1 5s285ms 5s285ms 02 1 2s17ms 2s17ms 04 2 5s297ms 2s648ms 05 1 3s596ms 3s596ms 06 1 1s72ms 1s72ms 08 1 2s267ms 2s267ms 09 3 10s636ms 3s545ms 10 6 10s536ms 1s756ms 11 4 8s305ms 2s76ms 12 1 1s204ms 1s204ms 13 2 5s638ms 2s819ms 14 5 8s292ms 1s658ms 15 2 3s300ms 1s650ms 16 1 3s257ms 3s257ms 17 1 1s14ms 1s14ms 18 1 2s132ms 2s132ms 20 2 5s173ms 2s586ms 22 1 1s37ms 1s37ms [ User: pubeu - Total duration: 5m22s - Times executed: 113 ]
-
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 = '1398604'))) 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-06 01:38:21 Duration: 8s867ms 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 = '1398604'))) 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-06 22:47:00 Duration: 8s230ms 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 = '1398604'))) 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-06 13:23:02 Duration: 7s699ms Database: ctdprd51 User: pubeu Bind query: yes
10 237 5m6s 1s 2s398ms 1s294ms select count(*) from chem_disease cd where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 07 00 1 1s30ms 1s30ms 01 1 1s568ms 1s568ms 11 132 2m34s 1s168ms 13 87 2m10s 1s502ms 14 16 19s398ms 1s212ms [ User: pubeu - Total duration: 13s853ms - Times executed: 11 ]
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604');
Date: 2025-01-07 13:44:46 Duration: 2s398ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604');
Date: 2025-01-07 13:44:47 Duration: 2s314ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604');
Date: 2025-01-07 13:45:01 Duration: 2s293ms Bind query: yes
11 227 10m27s 1s1ms 10s309ms 2s765ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 01 03 10 25s504ms 2s550ms 05 2 9s37ms 4s518ms 20 9 22s418ms 2s490ms Jan 02 14 3 7s948ms 2s649ms 17 9 21s876ms 2s430ms Jan 03 07 2 4s203ms 2s101ms 08 2 3s537ms 1s768ms 09 2 3s266ms 1s633ms 11 1 3s372ms 3s372ms 12 4 13s316ms 3s329ms 13 2 4s181ms 2s90ms 14 12 30s660ms 2s555ms 15 1 1s127ms 1s127ms 16 2 7s12ms 3s506ms 17 4 11s119ms 2s779ms 18 3 10s180ms 3s393ms 19 2 7s38ms 3s519ms 20 4 7s132ms 1s783ms 21 5 14s38ms 2s807ms 22 1 1s116ms 1s116ms 23 2 4s158ms 2s79ms Jan 04 00 2 5s492ms 2s746ms 01 3 9s170ms 3s56ms 03 3 13s651ms 4s550ms 04 3 12s273ms 4s91ms 05 5 9s280ms 1s856ms 06 1 2s213ms 2s213ms 07 3 5s543ms 1s847ms 08 1 1s183ms 1s183ms 09 2 6s190ms 3s95ms 10 3 11s280ms 3s760ms 11 1 2s447ms 2s447ms 13 10 25s514ms 2s551ms 14 1 4s339ms 4s339ms Jan 05 05 3 6s698ms 2s232ms 06 2 5s977ms 2s988ms 07 1 1s147ms 1s147ms 08 3 8s405ms 2s801ms 10 2 5s345ms 2s672ms 11 2 7s109ms 3s554ms 12 2 3s557ms 1s778ms 13 2 5s893ms 2s946ms 15 1 2s457ms 2s457ms 16 4 7s726ms 1s931ms 17 10 24s759ms 2s475ms 18 3 10s316ms 3s438ms 19 3 9s875ms 3s291ms 21 2 6s742ms 3s371ms 22 2 7s972ms 3s986ms Jan 06 01 3 10s986ms 3s662ms 04 1 1s126ms 1s126ms 06 1 4s738ms 4s738ms 07 1 1s862ms 1s862ms 15 3 10s144ms 3s381ms 17 1 1s240ms 1s240ms 18 2 4s300ms 2s150ms 19 2 2s530ms 1s265ms 21 1 4s546ms 4s546ms 22 8 39s794ms 4s974ms 23 1 10s137ms 10s137ms Jan 07 01 1 2s476ms 2s476ms 02 3 3s873ms 1s291ms 03 4 8s718ms 2s179ms 04 2 9s618ms 4s809ms 05 2 2s208ms 1s104ms 07 1 1s960ms 1s960ms 09 1 4s456ms 4s456ms 10 1 1s111ms 1s111ms 11 6 8s906ms 1s484ms 13 4 9s138ms 2s284ms 14 9 25s870ms 2s874ms 17 2 9s372ms 4s686ms 19 2 4s616ms 2s308ms 20 1 4s818ms 4s818ms 21 2 4s469ms 2s234ms [ User: pubeu - Total duration: 4m14s - Times executed: 92 ]
-
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 = '1398604') 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 = '1398604') 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-06 22:47:11 Duration: 10s309ms 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 = '1427841') 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 = '1427841') 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-06 23:39:31 Duration: 10s137ms 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 = '1436745') 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 = '1436745') 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-07 04:30:14 Duration: 8s616ms Bind query: yes
12 223 51m48s 1s696ms 34m44s 13s938ms select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jan 06 12 106 42m44s 24s194ms 13 117 9m3s 4s646ms [ User: qaeu - Total duration: 34m44s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-01-06 12:41:27 Duration: 34m44s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-01-06 13:01:34 Duration: 12s362ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-01-06 12:48:07 Duration: 11s812ms Bind query: yes
13 201 5m26s 1s246ms 37s334ms 1s622ms 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 #13
Day Hour Count Duration Avg duration Jan 01 00 2 2s739ms 1s369ms 01 3 4s131ms 1s377ms 02 1 1s332ms 1s332ms 05 4 5s808ms 1s452ms 06 3 4s55ms 1s351ms 08 1 1s303ms 1s303ms 12 1 1s286ms 1s286ms 13 3 4s185ms 1s395ms 14 1 1s304ms 1s304ms 18 1 1s294ms 1s294ms 19 1 1s360ms 1s360ms 20 2 2s764ms 1s382ms 21 2 2s796ms 1s398ms 23 3 4s21ms 1s340ms Jan 02 01 1 1s296ms 1s296ms 02 1 1s293ms 1s293ms 03 2 2s690ms 1s345ms 04 2 2s827ms 1s413ms 05 4 5s342ms 1s335ms 06 1 1s415ms 1s415ms 07 2 2s805ms 1s402ms 09 1 1s348ms 1s348ms 10 1 1s317ms 1s317ms 11 1 1s387ms 1s387ms 13 1 1s412ms 1s412ms 14 2 2s897ms 1s448ms 15 2 2s748ms 1s374ms 16 1 1s311ms 1s311ms 19 4 5s361ms 1s340ms 20 1 1s323ms 1s323ms 21 1 1s403ms 1s403ms 22 3 4s8ms 1s336ms 23 1 1s378ms 1s378ms Jan 03 00 2 2s805ms 1s402ms 02 2 2s682ms 1s341ms 03 1 1s335ms 1s335ms 04 3 3s958ms 1s319ms 05 4 5s313ms 1s328ms 06 5 6s766ms 1s353ms 07 2 2s626ms 1s313ms 08 1 1s303ms 1s303ms 09 3 4s88ms 1s362ms 10 1 1s433ms 1s433ms 11 1 1s400ms 1s400ms 12 1 1s394ms 1s394ms 17 1 1s289ms 1s289ms 18 2 2s754ms 1s377ms 19 1 1s345ms 1s345ms 20 2 2s726ms 1s363ms 23 1 1s367ms 1s367ms Jan 04 00 2 2s701ms 1s350ms 01 4 5s396ms 1s349ms 04 1 1s307ms 1s307ms 05 2 2s604ms 1s302ms 11 4 5s794ms 1s448ms 13 3 4s67ms 1s355ms 16 1 1s384ms 1s384ms 17 1 1s372ms 1s372ms 18 1 1s434ms 1s434ms 19 1 1s432ms 1s432ms 20 3 4s112ms 1s370ms 23 3 4s108ms 1s369ms Jan 05 01 1 1s290ms 1s290ms 04 2 2s752ms 1s376ms 05 3 4s134ms 1s378ms 06 1 1s416ms 1s416ms 07 1 1s402ms 1s402ms 08 1 1s275ms 1s275ms 09 1 1s274ms 1s274ms 10 3 4s19ms 1s339ms 11 1 1s448ms 1s448ms 12 2 2s747ms 1s373ms 13 1 1s310ms 1s310ms 14 1 1s288ms 1s288ms 16 1 1s480ms 1s480ms 17 2 2s674ms 1s337ms 22 3 4s401ms 1s467ms 23 2 2s828ms 1s414ms Jan 06 00 1 1s436ms 1s436ms 01 1 1s356ms 1s356ms 02 2 2s720ms 1s360ms 03 2 2s830ms 1s415ms 04 1 1s748ms 1s748ms 05 2 2s800ms 1s400ms 08 5 6s699ms 1s339ms 09 2 2s747ms 1s373ms 10 1 1s364ms 1s364ms 11 1 1s549ms 1s549ms 22 4 6s745ms 1s686ms 23 2 3s768ms 1s884ms Jan 07 01 2 6s343ms 3s171ms 02 4 8s210ms 2s52ms 03 1 2s119ms 2s119ms 04 1 2s13ms 2s13ms 05 2 3s842ms 1s921ms 06 1 1s696ms 1s696ms 07 2 4s271ms 2s135ms 08 2 2s766ms 1s383ms 09 4 42s149ms 10s537ms 10 1 1s404ms 1s404ms 11 1 1s694ms 1s694ms 13 4 5s754ms 1s438ms 14 1 1s424ms 1s424ms 15 3 4s484ms 1s494ms 16 1 1s387ms 1s387ms 21 1 1s418ms 1s418ms 22 1 1s440ms 1s440ms [ User: pubeu - Total duration: 2m9s - Times executed: 89 ]
[ User: qaeu - Total duration: 1s894ms - Times executed: 1 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-01-07 09:29:14 Duration: 37s334ms 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-07 01:16:37 Duration: 4s608ms 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-07 02:09:21 Duration: 2s810ms Bind query: yes
14 196 14m2s 1s14ms 20s856ms 4s296ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jan 01 00 1 2s466ms 2s466ms 03 1 2s834ms 2s834ms 04 2 4s886ms 2s443ms 05 1 2s720ms 2s720ms 07 1 1s454ms 1s454ms 09 1 2s512ms 2s512ms 10 1 1s308ms 1s308ms 13 1 4s104ms 4s104ms 14 1 2s490ms 2s490ms 20 2 13s31ms 6s515ms Jan 02 05 2 2s302ms 1s151ms 06 1 2s771ms 2s771ms 09 1 7s925ms 7s925ms 20 1 4s585ms 4s585ms 23 1 2s429ms 2s429ms Jan 03 01 1 1s290ms 1s290ms 04 2 2s326ms 1s163ms 05 2 3s961ms 1s980ms 06 3 3s826ms 1s275ms 08 1 6s432ms 6s432ms 09 2 4s910ms 2s455ms 10 3 9s952ms 3s317ms 11 1 1s14ms 1s14ms 12 3 11s185ms 3s728ms 20 1 1s530ms 1s530ms Jan 04 00 1 2s401ms 2s401ms 01 2 3s763ms 1s881ms 04 2 3s508ms 1s754ms 05 2 3s328ms 1s664ms 07 2 5s628ms 2s814ms 08 2 8s615ms 4s307ms 09 2 3s29ms 1s514ms 11 2 3s180ms 1s590ms 12 3 15s395ms 5s131ms 17 1 3s358ms 3s358ms Jan 05 01 1 2s503ms 2s503ms 03 1 2s512ms 2s512ms 04 2 2s572ms 1s286ms 05 2 6s496ms 3s248ms 06 2 6s783ms 3s391ms 08 4 10s473ms 2s618ms 09 4 10s707ms 2s676ms 11 5 23s243ms 4s648ms 12 5 19s762ms 3s952ms 13 4 21s391ms 5s347ms 14 2 4s597ms 2s298ms 15 3 4s899ms 1s633ms 16 2 5s376ms 2s688ms 18 2 8s596ms 4s298ms 19 3 16s205ms 5s401ms 20 2 2s779ms 1s389ms 21 1 1s345ms 1s345ms 22 2 6s519ms 3s259ms 23 1 2s384ms 2s384ms Jan 06 00 2 10s623ms 5s311ms 01 4 12s376ms 3s94ms 02 1 2s466ms 2s466ms 03 1 6s227ms 6s227ms 04 2 2s828ms 1s414ms 06 2 3s755ms 1s877ms 07 1 7s838ms 7s838ms 08 2 5s33ms 2s516ms 09 2 5s622ms 2s811ms 12 1 6s39ms 6s39ms 13 2 5s260ms 2s630ms 16 1 4s961ms 4s961ms 17 3 6s666ms 2s222ms 20 3 6s926ms 2s308ms 21 1 7s765ms 7s765ms 22 5 45s719ms 9s143ms 23 5 58s682ms 11s736ms Jan 07 00 8 1m26s 10s854ms 01 4 37s373ms 9s343ms 02 3 28s812ms 9s604ms 03 1 9s467ms 9s467ms 04 5 24s861ms 4s972ms 05 2 4s239ms 2s119ms 06 1 1s861ms 1s861ms 07 1 11s888ms 11s888ms 08 6 19s63ms 3s177ms 11 2 4s332ms 2s166ms 13 1 1s286ms 1s286ms 14 3 15s430ms 5s143ms 16 2 4s652ms 2s326ms 17 1 5s339ms 5s339ms 18 1 4s994ms 4s994ms 19 3 5s14ms 1s671ms 20 2 13s354ms 6s677ms 21 5 24s446ms 4s889ms 22 3 24s395ms 8s131ms [ User: pubeu - Total duration: 7m5s - 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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-01-07 01:16:53 Duration: 20s856ms 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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-01-07 02:01:02 Duration: 16s533ms 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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-01-07 00:48:41 Duration: 16s506ms Bind query: yes
15 186 15m35s 1s5ms 25s911ms 5s27ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jan 01 02 2 9s375ms 4s687ms 03 6 26s615ms 4s435ms 05 1 4s676ms 4s676ms 06 2 9s14ms 4s507ms 09 4 19s551ms 4s887ms 11 1 4s796ms 4s796ms 12 2 9s163ms 4s581ms 19 1 4s524ms 4s524ms 20 4 19s499ms 4s874ms 21 1 4s947ms 4s947ms 22 7 34s271ms 4s895ms 23 2 9s532ms 4s766ms Jan 02 00 6 29s492ms 4s915ms 01 3 14s239ms 4s746ms 02 1 4s556ms 4s556ms 04 2 10s570ms 5s285ms 05 4 19s771ms 4s942ms 07 3 14s418ms 4s806ms 11 2 9s76ms 4s538ms 12 1 5s65ms 5s65ms 14 1 4s656ms 4s656ms 16 1 4s509ms 4s509ms 17 4 18s821ms 4s705ms 18 1 4s855ms 4s855ms 19 2 9s517ms 4s758ms 20 1 4s469ms 4s469ms 22 3 13s480ms 4s493ms Jan 03 00 1 4s404ms 4s404ms 01 2 8s988ms 4s494ms 04 1 4s934ms 4s934ms 05 3 14s48ms 4s682ms 06 1 4s569ms 4s569ms 07 1 4s925ms 4s925ms 08 2 9s402ms 4s701ms 09 2 6s58ms 3s29ms 12 2 9s726ms 4s863ms 13 1 5s104ms 5s104ms 14 5 24s180ms 4s836ms 15 3 14s671ms 4s890ms 16 1 4s662ms 4s662ms 22 2 9s773ms 4s886ms Jan 04 02 3 14s203ms 4s734ms 04 7 34s131ms 4s875ms 05 2 9s407ms 4s703ms 07 1 4s650ms 4s650ms 08 1 4s628ms 4s628ms 09 1 4s947ms 4s947ms 10 1 4s912ms 4s912ms 11 1 5s492ms 5s492ms 13 5 20s502ms 4s100ms 14 3 13s676ms 4s558ms 16 1 5s56ms 5s56ms 20 1 5s72ms 5s72ms Jan 05 06 2 5s306ms 2s653ms 08 2 9s587ms 4s793ms 09 5 22s25ms 4s405ms 11 2 9s603ms 4s801ms 12 1 5s279ms 5s279ms 13 1 4s572ms 4s572ms 14 1 4s801ms 4s801ms 17 3 14s167ms 4s722ms 20 1 5s469ms 5s469ms 21 3 15s533ms 5s177ms 22 2 12s909ms 6s454ms Jan 06 00 1 4s828ms 4s828ms 01 1 5s383ms 5s383ms 03 1 5s72ms 5s72ms 04 1 5s873ms 5s873ms 05 2 6s376ms 3s188ms 06 4 20s59ms 5s14ms 08 1 4s919ms 4s919ms 11 2 9s664ms 4s832ms 13 2 6s895ms 3s447ms 17 1 4s806ms 4s806ms 20 1 4s688ms 4s688ms 22 1 7s934ms 7s934ms Jan 07 01 2 22s866ms 11s433ms 02 1 7s492ms 7s492ms 04 2 18s625ms 9s312ms 05 1 7s769ms 7s769ms 07 2 17s424ms 8s712ms 08 1 4s447ms 4s447ms 09 1 4s842ms 4s842ms 11 3 15s785ms 5s261ms 13 6 41s839ms 6s973ms 14 1 5s238ms 5s238ms 15 1 6s233ms 6s233ms 17 1 5s576ms 5s576ms 21 1 5s619ms 5s619ms [ User: pubeu - Total duration: 6m13s - Times executed: 74 ]
-
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 = '1417164' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-07 13:44:59 Duration: 25s911ms 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 = '1265875' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-07 01:58:23 Duration: 11s855ms 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 = '1265875' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-07 01:58:17 Duration: 11s10ms Bind query: yes
16 149 3h49m53s 1s12ms 56m58s 1m32s select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jan 02 10 1 4s418ms 4s418ms Jan 03 07 1 6s708ms 6s708ms 20 1 1s247ms 1s247ms Jan 04 14 1 1s167ms 1s167ms Jan 05 07 1 1s861ms 1s861ms 18 1 2s469ms 2s469ms 21 2 3s765ms 1s882ms Jan 06 16 7 3h44m15s 32m2s 22 4 6s57ms 1s514ms 23 1 3s514ms 3s514ms Jan 07 00 2 3s20ms 1s510ms 01 4 7s198ms 1s799ms 02 1 1s487ms 1s487ms 03 2 3s524ms 1s762ms 04 5 7s610ms 1s522ms 05 8 11s810ms 1s476ms 06 8 12s788ms 1s598ms 07 4 6s592ms 1s648ms 10 8 10s91ms 1s261ms 11 38 2m17s 3s618ms 12 5 5s455ms 1s91ms 13 32 1m18s 2s465ms 14 12 21s391ms 1s782ms [ User: pubeu - Total duration: 3h10s - Times executed: 48 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1429282') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1429282') 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-06 16:38:10 Duration: 56m58s 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1373064') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1373064') 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-06 16:38:10 Duration: 50m31s 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1405945') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1405945') 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-06 16:38:10 Duration: 47m21s Database: ctdprd51 User: pubeu Bind query: yes
17 142 5m1s 1s17ms 5s118ms 2s121ms select t.id, t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd from term t, ( select li.term_id from term_label li where upper(li.nm) like ? and li.object_type_id = ? union select l.object_id from db_link l where upper(l.acc_txt) = ? and l.object_type_id = ? and l.type_cd = ?) ids where t.id = ids.term_id order by case when upper(t.nm) = ? then ? else ? end, t.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jan 02 14 1 5s118ms 5s118ms Jan 06 22 10 21s805ms 2s180ms 23 21 43s611ms 2s76ms Jan 07 00 7 12s601ms 1s800ms 01 24 47s861ms 1s994ms 02 24 51s342ms 2s139ms 03 5 10s459ms 2s91ms 04 18 39s221ms 2s178ms 05 6 12s822ms 2s137ms 06 22 49s908ms 2s268ms 07 1 1s807ms 1s807ms 08 1 1s809ms 1s809ms 09 1 1s535ms 1s535ms 11 1 1s392ms 1s392ms [ User: pubeu - Total duration: 2m - Times executed: 56 ]
-
SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id, t.nm, t.nm_sort nmSort, t.acc_txt acc, t.acc_db_cd accDbCd FROM term t, ( SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) LIKE 'CTH%' AND li.object_type_id = 4 UNION SELECT l.object_id FROM db_link l WHERE upper(l.acc_txt) = 'CTH' AND l.object_type_id = 4 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = 'CTH' THEN 1 ELSE 2 END, t.nm_sort LIMIT 101;
Date: 2025-01-02 14:13:57 Duration: 5s118ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id, t.nm, t.nm_sort nmSort, t.acc_txt acc, t.acc_db_cd accDbCd FROM term t, ( SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) LIKE 'ETHYL FERULATE%' AND li.object_type_id = 4 UNION SELECT l.object_id FROM db_link l WHERE upper(l.acc_txt) = 'ETHYL FERULATE' AND l.object_type_id = 4 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = 'ETHYL FERULATE' THEN 1 ELSE 2 END, t.nm_sort LIMIT 101;
Date: 2025-01-07 01:23:18 Duration: 4s24ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id, t.nm, t.nm_sort nmSort, t.acc_txt acc, t.acc_db_cd accDbCd FROM term t, ( SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) LIKE '6-HYDROXY-2-METHYL-6-(4-METHYLPHENYL)HEPT-2-ENOIC ACID%' AND li.object_type_id = 4 UNION SELECT l.object_id FROM db_link l WHERE upper(l.acc_txt) = '6-HYDROXY-2-METHYL-6-(4-METHYLPHENYL)HEPT-2-ENOIC ACID' AND l.object_type_id = 4 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = '6-HYDROXY-2-METHYL-6-(4-METHYLPHENYL)HEPT-2-ENOIC ACID' THEN 1 ELSE 2 END, t.nm_sort LIMIT 101;
Date: 2025-01-07 01:24:00 Duration: 3s223ms Bind query: yes
18 137 7m23s 1s30ms 29s200ms 3s240ms 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 #18
Day Hour Count Duration Avg duration Jan 01 01 2 3s464ms 1s732ms 03 2 4s260ms 2s130ms 05 4 6s833ms 1s708ms Jan 02 14 8 20s914ms 2s614ms Jan 03 01 1 1s232ms 1s232ms 09 1 2s112ms 2s112ms 10 1 2s605ms 2s605ms 12 2 6s879ms 3s439ms 13 1 2s635ms 2s635ms 15 1 2s46ms 2s46ms Jan 04 02 1 2s516ms 2s516ms 09 1 1s635ms 1s635ms 18 1 2s220ms 2s220ms Jan 05 05 1 2s553ms 2s553ms 07 1 5s604ms 5s604ms 09 1 2s611ms 2s611ms 11 1 2s714ms 2s714ms 14 1 2s610ms 2s610ms 18 3 7s94ms 2s364ms 19 1 2s61ms 2s61ms 22 1 2s699ms 2s699ms 23 2 5s313ms 2s656ms Jan 06 00 2 4s37ms 2s18ms 02 1 2s692ms 2s692ms 05 1 1s598ms 1s598ms 07 1 1s30ms 1s30ms 10 1 4s755ms 4s755ms 11 2 2s582ms 1s291ms 13 1 1s43ms 1s43ms 14 1 5s630ms 5s630ms 17 1 2s316ms 2s316ms 18 1 1s269ms 1s269ms 19 1 1s266ms 1s266ms 22 6 16s90ms 2s681ms 23 5 22s982ms 4s596ms Jan 07 00 2 6s788ms 3s394ms 01 7 51s34ms 7s290ms 02 7 22s518ms 3s216ms 03 9 29s284ms 3s253ms 04 8 28s557ms 3s569ms 05 8 31s576ms 3s947ms 06 9 34s663ms 3s851ms 07 9 32s144ms 3s571ms 09 2 4s206ms 2s103ms 10 1 1s296ms 1s296ms 12 3 6s139ms 2s46ms 13 3 17s754ms 5s918ms 14 1 2s216ms 2s216ms 15 1 1s57ms 1s57ms 16 1 1s636ms 1s636ms 18 1 2s737ms 2s737ms 21 2 8s235ms 4s117ms 22 1 2s141ms 2s141ms [ User: pubeu - Total duration: 3m18s - Times executed: 56 ]
-
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 = '969983' 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 = '969983') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-01-07 01:17:03 Duration: 29s200ms 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 = '653903' 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 = '653903') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-01-07 05:01:51 Duration: 9s793ms 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 = '309204' 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 = '309204') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-01-06 23:28:26 Duration: 6s486ms Database: ctdprd51 User: pubeu Bind query: yes
19 127 3m40s 1s18ms 11s164ms 1s732ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jan 01 02 2 2s272ms 1s136ms Jan 02 11 1 5s271ms 5s271ms Jan 04 05 1 5s215ms 5s215ms Jan 06 04 2 11s21ms 5s510ms 22 11 14s957ms 1s359ms 23 8 11s957ms 1s494ms Jan 07 00 9 12s744ms 1s416ms 01 10 13s463ms 1s346ms 02 18 24s591ms 1s366ms 03 17 34s935ms 2s55ms 04 8 9s265ms 1s158ms 05 22 43s895ms 1s995ms 06 7 9s717ms 1s388ms 07 8 10s514ms 1s314ms 08 1 1s537ms 1s537ms 09 2 8s697ms 4s348ms [ User: pubeu - Total duration: 1m28s - Times executed: 51 ]
[ User: qaeu - Total duration: 4s477ms - Times executed: 1 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'DAUCOSTERIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'DAUCOSTERIN_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DAUCOSTERIN_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'DAUCOSTERIN_QT')) ii GROUP BY ii.cd;
Date: 2025-01-07 05:38:02 Duration: 11s164ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'DAUCOSTEROL_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'DAUCOSTEROL_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DAUCOSTEROL_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'DAUCOSTEROL_QT')) ii GROUP BY ii.cd;
Date: 2025-01-07 03:17:17 Duration: 8s509ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'DAUCOSTEROL_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'DAUCOSTEROL_QT') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DAUCOSTEROL_QT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'DAUCOSTEROL_QT')) ii GROUP BY ii.cd;
Date: 2025-01-07 05:39:22 Duration: 7s195ms Bind query: yes
20 116 7m46s 1s 27s42ms 4s20ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jan 02 06 112 7m34s 4s53ms Jan 07 05 2 3s558ms 1s779ms 09 2 8s781ms 4s390ms [ User: pubeu - Total duration: 1m28s - Times executed: 18 ]
[ User: qaeu - Total duration: 4s941ms - Times executed: 1 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d011297' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2086743) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-01-02 06:19:09 Duration: 27s42ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d015431' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2087991) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-01-02 06:15:35 Duration: 20s221ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'mesh:d009336' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2084416) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-01-02 06:12:51 Duration: 19s475ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 9h24m34s 9h32m11s 9h28m28s 3 1d4h25m24s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(l.nm) like ? and l.object_type_id = ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jan 07 08 3 1d4h25m24s 9h28m28s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'RENAL INSUFFICIENCY' AND l.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-07 08:10:17 Duration: 9h32m11s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'RENAL INSUFFICIENCY' AND l.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-07 08:05:39 Duration: 9h28m38s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'RENAL INSUFFICIENCY' AND l.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-07 08:01:41 Duration: 9h24m34s Bind query: yes
2 3h3m 3h3m 3h3m 1 3h3m select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jan 04 14 1 3h3m 3h3m [ User: pubeu - Total duration: 3h3m - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEUROTOXICITY SYNDROMES' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-04 14:27:17 Duration: 3h3m Database: ctdprd51 User: pubeu Bind query: yes
3 2h14m32s 2h14m32s 2h14m32s 1 2h14m32s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array ( select gd.gene_id from term d inner join gene_disease gd on d.id = gd.disease_id where d.nm_fts @@ to_tsquery(?, ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jan 01 05 1 2h14m32s 2h14m32s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY ( SELECT /* IQH.getMasterDiseaseWhereContains.Gene */ gd.gene_id FROM term d INNER JOIN gene_disease gd ON d.id = gd.disease_id WHERE d.nm_fts @@ to_tsquery('common.english_nostops', 'COGNITIVE & IMPAIRMENT | ALZHEIMER & S & DISEASE')))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-01 05:07:09 Duration: 2h14m32s Bind query: yes
4 2h3m4s 2h3m4s 2h3m4s 1 2h3m4s select pub2.maint_term_derive_data ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jan 06 06 1 2h3m4s 2h3m4s -
select pub2.maint_term_derive_data ();
Date: 2025-01-06 06:43:02 Duration: 2h3m4s Bind query: yes
5 1h43m39s 1h43m39s 1h43m39s 1 1h43m39s select pub2.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jan 06 02 1 1h43m39s 1h43m39s -
select pub2.maint_gene_chem_ref_gene_form_refresh ();
Date: 2025-01-06 02:45:22 Duration: 1h43m39s Bind query: yes
6 1h9s 1h9s 1h9s 1 1h9s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jan 06 03 1 1h9s 1h9s -
SELECT maint_term_derive_nm_fts ();
Date: 2025-01-06 03:48:19 Duration: 1h9s Bind query: yes
7 45m37s 45m37s 45m37s 1 45m37s vacuum full analyze;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jan 06 04 1 45m37s 45m37s -
VACUUM FULL ANALYZE;
Date: 2025-01-06 04:39:35 Duration: 45m37s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2025-01-06 03:54:29 Duration: 0ms
8 42m52s 42m52s 42m52s 1 42m52s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.gene_go_annot gga, pub2.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jan 05 21 1 42m52s 42m52s -
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2025-01-05 21:05:02 Duration: 42m52s Bind query: yes
9 1s116ms 45m11s 35m8s 12 7h1m42s select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = ? order by root_id desc;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jan 06 07 1 1s116ms 1s116ms 16 11 7h1m41s 38m20s [ User: editeu - Total duration: 5h37m29s - Times executed: 9 ]
-
select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '31001353' order by root_id desc;
Date: 2025-01-06 16:38:05 Duration: 45m11s Bind query: yes
-
select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '31001353' order by root_id desc;
Date: 2025-01-06 16:38:05 Duration: 44m40s Database: ctdprd51 User: editeu Bind query: yes
-
select root_id, edit.get_ixn_prose (i.id) from edit.ixn i, edit.reference_ixn ri where ri.ixn_id = i.id and ri.reference_acc_txt = '31001353' order by root_id desc;
Date: 2025-01-06 16:38:05 Duration: 44m10s Database: ctdprd51 User: editeu Bind query: yes
10 22m7s 37m21s 24m28s 7 2h51m18s select maint_query_logs_archive ();Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jan 01 00 1 22m20s 22m20s Jan 02 00 1 22m7s 22m7s Jan 03 00 1 22m10s 22m10s Jan 04 00 1 22m20s 22m20s Jan 05 00 1 22m13s 22m13s Jan 06 00 1 22m45s 22m45s Jan 07 00 1 37m21s 37m21s -
/* * 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-07 00:37:23 Duration: 37m21s
-
/* * 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-06 00:22:47 Duration: 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-04 00:22:22 Duration: 22m20s
11 3s365ms 34m6s 16m58s 6 1h41m49s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ?))) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jan 04 12 1 33m43s 33m43s Jan 05 13 5 1h8m5s 13m37s [ User: pubeu - Total duration: 3s993ms - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NERVOUS SYSTEM DISEASES' AND t.object_type_id = 3))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10116' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-05 13:22:33 Duration: 34m6s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEUROTOXICITY SYNDROMES' AND t.object_type_id = 3))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10116' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-05 13:18:55 Duration: 33m48s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEUROTOXICITY SYNDROMES' AND t.object_type_id = 3))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '10116' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-01-04 12:00:16 Duration: 33m43s Bind query: yes
12 1s305ms 20m47s 3m49s 27 1h43m12s 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 #12
Day Hour Count Duration Avg duration Jan 01 01 1 1s434ms 1s434ms 05 2 35m14s 17m37s 14 1 4m51s 4m51s Jan 02 23 1 1s538ms 1s538ms Jan 03 02 1 3s219ms 3s219ms 17 1 1s471ms 1s471ms 19 1 1s908ms 1s908ms Jan 04 00 1 17m34s 17m34s 03 1 1s516ms 1s516ms Jan 05 04 1 1s522ms 1s522ms 06 1 1s985ms 1s985ms 07 1 1s613ms 1s613ms 10 1 1s547ms 1s547ms 12 1 1s667ms 1s667ms 13 2 4s399ms 2s199ms 15 1 17m37s 17m37s 16 1 1m31s 1m31s 19 1 4m50s 4m50s 22 1 1s598ms 1s598ms Jan 06 07 1 3s435ms 3s435ms 12 1 2s982ms 2s982ms 15 1 4s765ms 4s765ms Jan 07 05 1 1s305ms 1s305ms 07 1 6s921ms 6s921ms 08 1 20m47s 20m47s [ User: pubeu - Total duration: 1h2m55s - Times executed: 16 ]
-
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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-07 08:13:15 Duration: 20m47s 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 = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-05 15:41:54 Duration: 17m37s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-01-01 05:52:36 Duration: 17m37s Bind query: yes
13 1s 51m35s 1m49s 35 1h3m53s 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 #13
Day Hour Count Duration Avg duration Jan 01 12 1 2s582ms 2s582ms Jan 02 23 1 2s158ms 2s158ms Jan 03 01 1 2s662ms 2s662ms Jan 04 05 1 42s491ms 42s491ms 12 2 1m40s 50s34ms Jan 05 12 1 35s832ms 35s832ms 19 1 47s165ms 47s165ms 23 1 34s22ms 34s22ms Jan 06 05 1 35s482ms 35s482ms 12 1 31s378ms 31s378ms 15 1 39s115ms 39s115ms 16 1 51m35s 51m35s Jan 07 00 1 4m53s 4m53s 05 1 1s153ms 1s153ms 11 15 16s249ms 1s83ms 13 4 4s193ms 1s48ms 18 1 50s420ms 50s420ms [ User: pubeu - Total duration: 52m48s - Times executed: 4 ]
-
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 = '2080740')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-01-06 16:38:10 Duration: 51m35s 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 = '1221429')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-01-07 00:42:30 Duration: 4m53s 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 = '1276072')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-01-04 12:40:38 Duration: 1m27s Bind query: yes
14 1s12ms 56m58s 1m32s 149 3h49m53s select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jan 02 10 1 4s418ms 4s418ms Jan 03 07 1 6s708ms 6s708ms 20 1 1s247ms 1s247ms Jan 04 14 1 1s167ms 1s167ms Jan 05 07 1 1s861ms 1s861ms 18 1 2s469ms 2s469ms 21 2 3s765ms 1s882ms Jan 06 16 7 3h44m15s 32m2s 22 4 6s57ms 1s514ms 23 1 3s514ms 3s514ms Jan 07 00 2 3s20ms 1s510ms 01 4 7s198ms 1s799ms 02 1 1s487ms 1s487ms 03 2 3s524ms 1s762ms 04 5 7s610ms 1s522ms 05 8 11s810ms 1s476ms 06 8 12s788ms 1s598ms 07 4 6s592ms 1s648ms 10 8 10s91ms 1s261ms 11 38 2m17s 3s618ms 12 5 5s455ms 1s91ms 13 32 1m18s 2s465ms 14 12 21s391ms 1s782ms [ User: pubeu - Total duration: 3h10s - Times executed: 48 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1429282') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1429282') 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-06 16:38:10 Duration: 56m58s 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1373064') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1373064') 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-06 16:38:10 Duration: 50m31s 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1405945') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1405945') 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-06 16:38:10 Duration: 47m21s Database: ctdprd51 User: pubeu Bind query: yes
15 1s3ms 6m41s 37s398ms 74 46m7s select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jan 02 12 14 2m4s 8s890ms 13 17 11m57s 42s229ms 14 9 8m24s 56s36ms Jan 05 18 6 1m8s 11s385ms 21 4 8m2s 2m 22 3 6m45s 2m15s 23 18 7m21s 24s530ms Jan 06 00 3 23s461ms 7s820ms [ User: load - Total duration: 14m9s - Times executed: 25 ]
[ Application: pg_bulkload - Total duration: 14m9s - Times executed: 25 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2025-01-05 21:16:28 Duration: 6m41s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2025-01-05 22:00:43 Duration: 5m4s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2025-01-02 13:00:52 Duration: 4m4s Bind query: yes
16 1s8ms 13m54s 22s738ms 110 41m41s 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 #16
Day Hour Count Duration Avg duration Jan 01 04 1 19s277ms 19s277ms 09 1 3s305ms 3s305ms 10 1 7s181ms 7s181ms 20 3 32s162ms 10s720ms 21 7 1m7s 9s623ms Jan 02 01 1 1s542ms 1s542ms 03 1 1s50ms 1s50ms 08 1 1s30ms 1s30ms 09 1 7s136ms 7s136ms 13 1 1s524ms 1s524ms Jan 03 01 1 1s49ms 1s49ms 06 6 17s281ms 2s880ms 10 1 1s382ms 1s382ms 11 16 36s144ms 2s259ms 14 1 1s559ms 1s559ms 15 1 14s461ms 14s461ms Jan 04 02 1 2s188ms 2s188ms 05 1 1s48ms 1s48ms 06 1 1s41ms 1s41ms 07 1 1s27ms 1s27ms 11 1 43s73ms 43s73ms 19 1 1s880ms 1s880ms 21 2 2s19ms 1s9ms Jan 05 05 1 25s841ms 25s841ms 06 1 13s403ms 13s403ms 08 1 13s277ms 13s277ms 09 3 27s432ms 9s144ms 11 2 3s130ms 1s565ms 12 6 1m29s 14s941ms 13 2 11s101ms 5s550ms Jan 06 00 5 48s263ms 9s652ms 01 4 33s850ms 8s462ms 03 1 1s281ms 1s281ms 04 1 1s29ms 1s29ms 05 2 2m12s 1m6s 16 1 3s624ms 3s624ms 22 2 3s861ms 1s930ms 23 7 5m58s 51s182ms Jan 07 00 2 1m30s 45s4ms 01 5 18m23s 3m40s 02 2 41s754ms 20s877ms 08 4 1m55s 28s986ms 14 1 1s592ms 1s592ms 17 1 9s119ms 9s119ms 19 1 34s356ms 34s356ms 20 1 3s516ms 3s516ms 21 1 34s527ms 34s527ms 22 1 35s299ms 35s299ms [ User: pubeu - Total duration: 26m48s - Times executed: 52 ]
-
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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-07 01:16:41 Duration: 13m54s 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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-07 01:17:56 Duration: 1m23s 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 = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-01-06 23:59:52 Duration: 1m6s Bind query: yes
17 1s87ms 41m18s 14s640ms 324 1h19m3s 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 #17
Day Hour Count Duration Avg duration Jan 01 00 2 2s359ms 1s179ms 01 1 1s148ms 1s148ms 02 2 2s291ms 1s145ms 03 1 1s265ms 1s265ms 04 2 2s374ms 1s187ms 05 4 5s17ms 1s254ms 07 1 1s237ms 1s237ms 12 2 2s297ms 1s148ms 13 1 1s185ms 1s185ms 14 1 1s263ms 1s263ms 15 1 1s106ms 1s106ms 18 1 1s157ms 1s157ms 19 2 2s246ms 1s123ms 20 3 3s459ms 1s153ms 21 5 5s795ms 1s159ms Jan 02 00 1 1s161ms 1s161ms 01 1 1s168ms 1s168ms 02 6 7s129ms 1s188ms 03 2 2s350ms 1s175ms 04 2 2s384ms 1s192ms 05 3 3s755ms 1s251ms 06 2 2s248ms 1s124ms 07 1 1s193ms 1s193ms 08 2 2s313ms 1s156ms 09 5 5s759ms 1s151ms 10 2 2s431ms 1s215ms 11 4 4s884ms 1s221ms 13 1 1s222ms 1s222ms 14 3 3s691ms 1s230ms 15 2 2s536ms 1s268ms 16 3 3s804ms 1s268ms 17 2 2s393ms 1s196ms 18 4 4s925ms 1s231ms 19 1 1s242ms 1s242ms 20 1 1s269ms 1s269ms 21 2 2s370ms 1s185ms 22 1 1s465ms 1s465ms 23 1 1s245ms 1s245ms Jan 03 00 3 4s188ms 1s396ms 01 3 3s712ms 1s237ms 02 2 2s320ms 1s160ms 04 4 4s937ms 1s234ms 05 6 7s658ms 1s276ms 06 1 1s298ms 1s298ms 07 3 3s643ms 1s214ms 08 2 2s472ms 1s236ms 09 5 6s81ms 1s216ms 11 3 3s928ms 1s309ms 12 1 1s306ms 1s306ms 13 2 2s373ms 1s186ms 15 1 1s167ms 1s167ms 16 1 1s226ms 1s226ms 19 2 2s280ms 1s140ms 21 2 2s326ms 1s163ms 22 2 2s683ms 1s341ms 23 1 1s244ms 1s244ms Jan 04 02 1 1s250ms 1s250ms 03 3 3s699ms 1s233ms 04 2 2s582ms 1s291ms 05 3 3s999ms 1s333ms 06 1 1s282ms 1s282ms 08 2 2s516ms 1s258ms 09 1 1s290ms 1s290ms 11 1 1s180ms 1s180ms 12 1 1s262ms 1s262ms 13 1 1s259ms 1s259ms 14 4 5s696ms 1s424ms 15 3 3s708ms 1s236ms 19 4 4s853ms 1s213ms 21 1 1s157ms 1s157ms 22 2 2s815ms 1s407ms 23 2 2s763ms 1s381ms Jan 05 02 4 5s2ms 1s250ms 03 2 2s566ms 1s283ms 04 5 6s226ms 1s245ms 05 5 6s271ms 1s254ms 06 7 8s957ms 1s279ms 07 5 6s290ms 1s258ms 08 1 1s340ms 1s340ms 09 2 2s714ms 1s357ms 10 7 8s961ms 1s280ms 11 3 3s773ms 1s257ms 12 4 5s236ms 1s309ms 14 2 2s468ms 1s234ms 15 1 1s526ms 1s526ms 16 3 3s646ms 1s215ms 17 3 3s893ms 1s297ms 18 2 2s312ms 1s156ms 19 3 3s872ms 1s290ms 20 3 3s716ms 1s238ms 21 2 2s450ms 1s225ms 22 2 2s479ms 1s239ms 23 2 2s476ms 1s238ms Jan 06 00 2 2s518ms 1s259ms 01 1 1s142ms 1s142ms 02 3 3s993ms 1s331ms 03 4 4s786ms 1s196ms 04 2 2s593ms 1s296ms 05 7 8s988ms 1s284ms 06 3 3s623ms 1s207ms 08 1 1s183ms 1s183ms 10 2 2s394ms 1s197ms 11 3 4s542ms 1s514ms 12 3 3s751ms 1s250ms 15 1 1s482ms 1s482ms 16 4 1h11m24s 17m51s 17 1 1s248ms 1s248ms 18 3 3s706ms 1s235ms 20 2 2s656ms 1s328ms 21 1 1s374ms 1s374ms 22 6 13s564ms 2s260ms Jan 07 00 1 4s949ms 4s949ms 01 1 4s994ms 4s994ms 02 4 15s164ms 3s791ms 03 2 5s905ms 2s952ms 04 6 21s79ms 3s513ms 05 2 8s998ms 4s499ms 06 2 8s42ms 4s21ms 07 2 8s189ms 4s94ms 08 4 5s369ms 1s342ms 09 3 3s993ms 1s331ms 10 3 3s538ms 1s179ms 12 2 2s446ms 1s223ms 13 3 3s535ms 1s178ms 15 3 3s698ms 1s232ms 17 1 1s499ms 1s499ms 19 4 5s723ms 1s430ms 20 2 2s338ms 1s169ms 21 3 3s708ms 1s236ms 22 2 2s518ms 1s259ms [ User: pubeu - Total duration: 1h13m48s - Times executed: 115 ]
[ User: qaeu - Total duration: 6s611ms - 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 = '2078697') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2078697') 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-06 16:38:10 Duration: 41m18s 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 = '2087572') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2087572') 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-06 16:38:10 Duration: 26m20s 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 = '2090821') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2090821') 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-06 16:38:10 Duration: 3m44s Database: ctdprd51 User: pubeu Bind query: yes
18 1s696ms 34m44s 13s938ms 223 51m48s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jan 06 12 106 42m44s 24s194ms 13 117 9m3s 4s646ms [ User: qaeu - Total duration: 34m44s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-01-06 12:41:27 Duration: 34m44s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-01-06 13:01:34 Duration: 12s362ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2025-01-06 12:48:07 Duration: 11s812ms Bind query: yes
19 1s12ms 50m39s 5s94ms 1,239 1h45m12s 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 #19
Day Hour Count Duration Avg duration Jan 01 00 8 8s654ms 1s81ms 01 7 7s709ms 1s101ms 02 4 4s423ms 1s105ms 03 5 5s503ms 1s100ms 04 7 7s743ms 1s106ms 05 9 10s165ms 1s129ms 06 8 8s663ms 1s82ms 07 4 4s289ms 1s72ms 08 9 9s785ms 1s87ms 09 2 2s293ms 1s146ms 10 5 5s365ms 1s73ms 11 9 9s742ms 1s82ms 12 7 7s582ms 1s83ms 13 7 7s538ms 1s76ms 14 4 4s323ms 1s80ms 15 5 5s337ms 1s67ms 16 6 6s476ms 1s79ms 17 4 4s377ms 1s94ms 18 6 6s339ms 1s56ms 19 9 9s448ms 1s49ms 20 7 7s640ms 1s91ms 21 9 9s664ms 1s73ms 22 11 12s163ms 1s105ms 23 7 7s510ms 1s72ms Jan 02 00 7 7s621ms 1s88ms 01 7 7s562ms 1s80ms 02 5 5s428ms 1s85ms 03 14 15s144ms 1s81ms 04 4 4s359ms 1s89ms 05 13 14s303ms 1s100ms 06 4 4s348ms 1s87ms 07 3 3s102ms 1s34ms 08 10 10s843ms 1s84ms 09 8 8s454ms 1s56ms 10 6 6s643ms 1s107ms 11 3 3s428ms 1s142ms 12 1 1s135ms 1s135ms 13 7 7s965ms 1s137ms 14 7 7s783ms 1s111ms 15 13 14s634ms 1s125ms 16 8 8s920ms 1s115ms 17 6 6s833ms 1s138ms 18 10 11s328ms 1s132ms 19 8 8s919ms 1s114ms 20 11 12s246ms 1s113ms 21 15 16s894ms 1s126ms 22 6 6s598ms 1s99ms 23 7 7s924ms 1s132ms Jan 03 00 9 10s123ms 1s124ms 01 7 7s953ms 1s136ms 02 9 9s802ms 1s89ms 03 6 6s802ms 1s133ms 04 7 7s975ms 1s139ms 05 17 19s420ms 1s142ms 06 12 13s587ms 1s132ms 07 13 14s533ms 1s117ms 08 15 16s757ms 1s117ms 09 10 11s203ms 1s120ms 10 6 6s608ms 1s101ms 11 4 4s339ms 1s84ms 12 6 6s618ms 1s103ms 13 10 11s342ms 1s134ms 14 6 6s669ms 1s111ms 15 4 4s461ms 1s115ms 16 4 4s348ms 1s87ms 17 5 5s583ms 1s116ms 18 9 9s723ms 1s80ms 19 8 8s724ms 1s90ms 20 9 9s841ms 1s93ms 21 6 6s587ms 1s97ms 22 5 5s655ms 1s131ms 23 12 13s760ms 1s146ms Jan 04 00 2 2s310ms 1s155ms 01 5 5s700ms 1s140ms 02 7 7s957ms 1s136ms 03 10 11s109ms 1s110ms 04 11 12s522ms 1s138ms 05 10 11s413ms 1s141ms 06 1 1s154ms 1s154ms 07 7 8s112ms 1s158ms 08 16 18s157ms 1s134ms 09 2 2s261ms 1s130ms 10 10 11s318ms 1s131ms 11 7 8s64ms 1s152ms 12 5 6s81ms 1s216ms 13 2 2s411ms 1s205ms 14 17 19s26ms 1s119ms 15 8 9s242ms 1s155ms 16 4 4s602ms 1s150ms 17 2 2s267ms 1s133ms 18 2 2s309ms 1s154ms 19 8 8s603ms 1s75ms 20 2 2s158ms 1s79ms 21 11 11s792ms 1s72ms 22 2 2s353ms 1s176ms 23 8 9s94ms 1s136ms Jan 05 00 15 16s834ms 1s122ms 01 3 3s275ms 1s91ms 02 3 3s398ms 1s132ms 03 18 19s842ms 1s102ms 04 13 14s747ms 1s134ms 05 14 15s867ms 1s133ms 06 8 9s75ms 1s134ms 07 4 4s568ms 1s142ms 08 7 8s76ms 1s153ms 09 5 5s848ms 1s169ms 10 5 5s724ms 1s144ms 11 9 10s369ms 1s152ms 12 6 6s738ms 1s123ms 13 5 5s784ms 1s156ms 14 17 18s926ms 1s113ms 15 11 12s333ms 1s121ms 16 12 13s159ms 1s96ms 17 17 18s837ms 1s108ms 18 9 9s625ms 1s69ms 19 5 5s552ms 1s110ms 20 3 3s226ms 1s75ms 21 7 7s767ms 1s109ms 22 15 16s643ms 1s109ms 23 8 9s186ms 1s148ms Jan 06 00 10 12s348ms 1s234ms 01 9 9s813ms 1s90ms 02 14 14s916ms 1s65ms 03 8 8s928ms 1s116ms 04 10 12s201ms 1s220ms 05 7 8s678ms 1s239ms 06 13 14s920ms 1s147ms 07 9 9s889ms 1s98ms 08 11 12s446ms 1s131ms 09 8 8s891ms 1s111ms 10 4 4s354ms 1s88ms 11 7 7s885ms 1s126ms 12 4 4s526ms 1s131ms 13 3 3s577ms 1s192ms 14 3 3s355ms 1s118ms 15 5 5s705ms 1s141ms 16 7 1h19m54s 11m24s 17 3 3s439ms 1s146ms 18 5 5s784ms 1s156ms 19 1 1s138ms 1s138ms 20 10 11s195ms 1s119ms 21 3 3s432ms 1s144ms 22 8 13s206ms 1s650ms Jan 07 00 6 18s896ms 3s149ms 01 3 11s260ms 3s753ms 02 9 29s918ms 3s324ms 03 6 24s304ms 4s50ms 04 3 9s161ms 3s53ms 05 15 52s662ms 3s510ms 06 7 25s355ms 3s622ms 07 9 31s78ms 3s453ms 08 6 7s478ms 1s246ms 09 15 16s550ms 1s103ms 10 2 2s41ms 1s20ms 11 2 2s113ms 1s56ms 12 4 4s385ms 1s96ms 13 6 6s473ms 1s78ms 14 3 3s292ms 1s97ms 15 8 8s847ms 1s105ms 16 12 13s179ms 1s98ms 17 3 3s390ms 1s130ms 18 9 9s930ms 1s103ms 19 5 5s562ms 1s112ms 20 6 6s556ms 1s92ms 21 7 7s874ms 1s124ms 22 12 13s735ms 1s144ms [ User: pubeu - Total duration: 1h1m - Times executed: 469 ]
-
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 = '1782679' or receptorTerm.id = '1782679' 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-06 16:38:10 Duration: 50m39s 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 = '1778215' or receptorTerm.id = '1778215' 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-06 16:38:10 Duration: 28m1s 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 = '1522690' or receptorTerm.id = '1522690' 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-06 16:38:10 Duration: 1m8s Database: ctdprd51 User: pubeu Bind query: yes
20 1s5ms 25s911ms 5s27ms 186 15m35s 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 #20
Day Hour Count Duration Avg duration Jan 01 02 2 9s375ms 4s687ms 03 6 26s615ms 4s435ms 05 1 4s676ms 4s676ms 06 2 9s14ms 4s507ms 09 4 19s551ms 4s887ms 11 1 4s796ms 4s796ms 12 2 9s163ms 4s581ms 19 1 4s524ms 4s524ms 20 4 19s499ms 4s874ms 21 1 4s947ms 4s947ms 22 7 34s271ms 4s895ms 23 2 9s532ms 4s766ms Jan 02 00 6 29s492ms 4s915ms 01 3 14s239ms 4s746ms 02 1 4s556ms 4s556ms 04 2 10s570ms 5s285ms 05 4 19s771ms 4s942ms 07 3 14s418ms 4s806ms 11 2 9s76ms 4s538ms 12 1 5s65ms 5s65ms 14 1 4s656ms 4s656ms 16 1 4s509ms 4s509ms 17 4 18s821ms 4s705ms 18 1 4s855ms 4s855ms 19 2 9s517ms 4s758ms 20 1 4s469ms 4s469ms 22 3 13s480ms 4s493ms Jan 03 00 1 4s404ms 4s404ms 01 2 8s988ms 4s494ms 04 1 4s934ms 4s934ms 05 3 14s48ms 4s682ms 06 1 4s569ms 4s569ms 07 1 4s925ms 4s925ms 08 2 9s402ms 4s701ms 09 2 6s58ms 3s29ms 12 2 9s726ms 4s863ms 13 1 5s104ms 5s104ms 14 5 24s180ms 4s836ms 15 3 14s671ms 4s890ms 16 1 4s662ms 4s662ms 22 2 9s773ms 4s886ms Jan 04 02 3 14s203ms 4s734ms 04 7 34s131ms 4s875ms 05 2 9s407ms 4s703ms 07 1 4s650ms 4s650ms 08 1 4s628ms 4s628ms 09 1 4s947ms 4s947ms 10 1 4s912ms 4s912ms 11 1 5s492ms 5s492ms 13 5 20s502ms 4s100ms 14 3 13s676ms 4s558ms 16 1 5s56ms 5s56ms 20 1 5s72ms 5s72ms Jan 05 06 2 5s306ms 2s653ms 08 2 9s587ms 4s793ms 09 5 22s25ms 4s405ms 11 2 9s603ms 4s801ms 12 1 5s279ms 5s279ms 13 1 4s572ms 4s572ms 14 1 4s801ms 4s801ms 17 3 14s167ms 4s722ms 20 1 5s469ms 5s469ms 21 3 15s533ms 5s177ms 22 2 12s909ms 6s454ms Jan 06 00 1 4s828ms 4s828ms 01 1 5s383ms 5s383ms 03 1 5s72ms 5s72ms 04 1 5s873ms 5s873ms 05 2 6s376ms 3s188ms 06 4 20s59ms 5s14ms 08 1 4s919ms 4s919ms 11 2 9s664ms 4s832ms 13 2 6s895ms 3s447ms 17 1 4s806ms 4s806ms 20 1 4s688ms 4s688ms 22 1 7s934ms 7s934ms Jan 07 01 2 22s866ms 11s433ms 02 1 7s492ms 7s492ms 04 2 18s625ms 9s312ms 05 1 7s769ms 7s769ms 07 2 17s424ms 8s712ms 08 1 4s447ms 4s447ms 09 1 4s842ms 4s842ms 11 3 15s785ms 5s261ms 13 6 41s839ms 6s973ms 14 1 5s238ms 5s238ms 15 1 6s233ms 6s233ms 17 1 5s576ms 5s576ms 21 1 5s619ms 5s619ms [ User: pubeu - Total duration: 6m13s - Times executed: 74 ]
-
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 = '1417164' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-07 13:44:59 Duration: 25s911ms 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 = '1265875' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-07 01:58:23 Duration: 11s855ms 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 = '1265875' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-01-07 01:58:17 Duration: 11s10ms Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 46m26s 6 1s160ms 15m5s 7m44s SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Jan 07 16 4 46m1s 11m30s Jan 07 04 1 1s160ms 1s160ms 05 1 23s626ms 23s626ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-01-06 16:38:05 Duration: 15m5s Database: postgres
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-01-06 16:38:05 Duration: 7m55s Database: postgres
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-01-07 05:48:33 Duration: 23s626ms Database: postgres
2 30m40s 4 23s762ms 14m56s 7m40s SELECT /* BasicCountsDAO gen */ ii.cd;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 16 2 29m52s 14m56s 23 2 47s524ms 23s762ms -
SELECT /* BasicCountsDAO gen */ ii.cd;
Date: 2025-01-06 16:38:05 Duration: 14m56s Database: postgres
-
SELECT /* BasicCountsDAO gen */ ii.cd;
Date: 2025-01-06 23:00:05 Duration: 23s762ms Database: postgres
3 6m3s 3 11s558ms 2m55s 2m1s select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' ||;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 16 2 5m51s 2m55s 06 1 11s558ms 11s558ms -
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' ||;
Date: 2025-01-06 16:38:05 Duration: 2m55s Database: postgres
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' ||;
Date: 2025-01-07 06:40:34 Duration: 11s558ms Database: postgres
4 19s997ms 1 19s997ms 19s997ms 19s997ms SELECT /* ReferenceGeneGeneIxnsDAO */ ;Times Reported Time consuming prepare #4
Day Hour Count Duration Avg duration 05 1 19s997ms 19s997ms -
SELECT /* ReferenceGeneGeneIxnsDAO */ ;
Date: 2025-01-07 05:46:31 Duration: 19s997ms Database: postgres
5 15s793ms 1 15s793ms 15s793ms 15s793ms SELECT /* ReferenceBasicQueryDAO */ i.title;Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 01 1 15s793ms 15s793ms -
SELECT /* ReferenceBasicQueryDAO */ i.title;
Date: 2025-01-07 01:36:02 Duration: 15s793ms Database: postgres
6 6s370ms 1 6s370ms 6s370ms 6s370ms SELECT /* AdvancedIxnQueryDAO.getData */ ;Times Reported Time consuming prepare #6
Day Hour Count Duration Avg duration 05 1 6s370ms 6s370ms -
SELECT /* AdvancedIxnQueryDAO.getData */ ;
Date: 2025-01-07 05:46:31 Duration: 6s370ms Database: postgres
7 6s149ms 1 6s149ms 6s149ms 6s149ms SELECT /* MeshBasicQueryDAO */ ;Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 03 1 6s149ms 6s149ms -
SELECT /* MeshBasicQueryDAO */ ;
Date: 2025-01-07 03:46:31 Duration: 6s149ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2m1s 110 1s8ms 1s215ms 1s106ms SELECT /* GeneDiseaseChemsDAO */ ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Jan 07 22 16 17s627ms 1s101ms 23 16 17s892ms 1s118ms Jan 07 00 1 1s34ms 1s34ms 01 13 14s464ms 1s112ms 02 17 18s871ms 1s110ms 03 19 20s947ms 1s102ms 04 15 16s770ms 1s118ms 05 6 6s460ms 1s76ms 06 4 4s390ms 1s97ms 07 2 2s203ms 1s101ms 08 1 1s35ms 1s35ms -
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-01-06 23:18:07 Duration: 1s215ms Database: postgres parameters: $1 = '2091134'
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-01-06 23:15:05 Duration: 1s193ms Database: postgres parameters: $1 = 'NICKEL & SULFATE', $2 = 'NICKEL & SULFATE', $3 = 'NICKEL', $4 = 'SULFATE', $5 = 'NICKEL', $6 = 'SULFATE'
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-01-07 02:41:40 Duration: 1s193ms Database: postgres parameters: $1 = 'SLC6A6%', $2 = 'SLC6A6', $3 = 'SLC6A6'
2 1m5s 58 1s 1s344ms 1s129ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 22 8 8s557ms 1s69ms 00 3 3s219ms 1s73ms 01 3 3s659ms 1s219ms 02 9 10s174ms 1s130ms 03 5 5s473ms 1s94ms 04 9 10s273ms 1s141ms 05 9 10s416ms 1s157ms 06 4 4s618ms 1s154ms 07 7 7s946ms 1s135ms 12 1 1s175ms 1s175ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-01-07 01:47:47 Duration: 1s344ms Database: postgres parameters: $1 = '1291666', $2 = '1291666'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-01-07 05:58:57 Duration: 1s288ms Database: postgres parameters: $1 = '1413202', $2 = '1413202'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-01-07 06:05:34 Duration: 1s252ms Database: postgres parameters: $1 = '2082546'
3 40s430ms 34 1s10ms 1s726ms 1s189ms SELECT /* ReferenceCitedGenesDAO */ ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 22 6 7s649ms 1s274ms 23 2 2s107ms 1s53ms 01 2 2s51ms 1s25ms 02 1 1s580ms 1s580ms 03 1 1s407ms 1s407ms 04 4 4s76ms 1s19ms 05 7 7s480ms 1s68ms 06 7 9s269ms 1s324ms 07 2 2s73ms 1s36ms 08 1 1s711ms 1s711ms 17 1 1s23ms 1s23ms -
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2025-01-07 06:51:10 Duration: 1s726ms Database: postgres parameters: $1 = '66845', $2 = '66845', $3 = '66845', $4 = '66845', $5 = '66845'
-
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2025-01-07 06:24:36 Duration: 1s723ms Database: postgres parameters: $1 = '1346308'
-
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2025-01-06 22:42:17 Duration: 1s714ms Database: postgres parameters: $1 = '179724', $2 = '179724', $3 = '179724', $4 = '179724', $5 = '179724'
4 12s391ms 12 1s2ms 1s82ms 1s32ms SELECT /* GeneDiseaseRefsDAO */ ;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 22 2 2s53ms 1s26ms 01 1 1s35ms 1s35ms 03 2 2s127ms 1s63ms 04 1 1s24ms 1s24ms 06 1 1s2ms 1s2ms 07 3 3s102ms 1s34ms 08 2 2s45ms 1s22ms -
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2025-01-07 03:19:11 Duration: 1s82ms Database: postgres parameters: $1 = '567822', $2 = '567822'
-
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2025-01-07 07:18:29 Duration: 1s62ms Database: postgres parameters: $1 = '1994381', $2 = '1994381'
-
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2025-01-07 03:09:22 Duration: 1s45ms Database: postgres parameters: $1 = '1436745'
5 7s798ms 7 1s26ms 1s477ms 1s114ms SELECT /* BatchDiseaseGeneAssnsDAO */ $1 "Input";Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 23 2 2s83ms 1s41ms 00 2 2s71ms 1s35ms 01 1 1s97ms 1s97ms 05 2 2s545ms 1s272ms -
SELECT /* BatchDiseaseGeneAssnsDAO */ $1 "Input";
Date: 2025-01-07 05:47:32 Duration: 1s477ms Database: postgres parameters: $1 = 'asthenia'
-
SELECT /* BatchDiseaseGeneAssnsDAO */ $1 "Input";
Date: 2025-01-07 01:17:32 Duration: 1s97ms Database: postgres parameters: $1 = 'CHEMOTHERAPY & INDUCE & PERIPHERAL & NEUROPATHY', $2 = 'CHEMOTHERAPY & INDUCE & PERIPHERAL & NEUROPATHY', $3 = 'CHEMOTHERAPY', $4 = 'INDUCE', $5 = 'PERIPHERAL', $6 = 'NEUROPATHY', $7 = 'CHEMOTHERAPY', $8 = 'INDUCE', $9 = 'PERIPHERAL', $10 = 'NEUROPATHY'
-
SELECT /* BatchDiseaseGeneAssnsDAO */ $1 "Input";
Date: 2025-01-07 05:45:52 Duration: 1s68ms Database: postgres parameters: $1 = 'asthenia'
6 6s297ms 5 1s79ms 1s437ms 1s259ms SELECT /* ReferenceCitedDiseasesDAO */ ;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 00 1 1s250ms 1s250ms 01 1 1s79ms 1s79ms 04 1 1s437ms 1s437ms 06 1 1s128ms 1s128ms 08 1 1s402ms 1s402ms -
SELECT /* ReferenceCitedDiseasesDAO */ ;
Date: 2025-01-07 04:24:47 Duration: 1s437ms Database: postgres parameters: $1 = '2080355'
-
SELECT /* ReferenceCitedDiseasesDAO */ ;
Date: 2025-01-07 08:02:25 Duration: 1s402ms Database: postgres parameters: $1 = '1253693', $2 = '1253693'
-
SELECT /* ReferenceCitedDiseasesDAO */ ;
Date: 2025-01-07 00:55:13 Duration: 1s250ms Database: postgres parameters: $1 = 'MELANOMA', $2 = 'MELANOMA', $3 = 'MELANOMA', $4 = 'MELANOMA'
7 5s422ms 5 1s1ms 1s138ms 1s84ms SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 23 2 2s207ms 1s103ms 02 1 1s1ms 1s1ms 04 1 1s75ms 1s75ms 07 1 1s138ms 1s138ms -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2025-01-07 07:48:23 Duration: 1s138ms Database: postgres
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2025-01-06 23:39:21 Duration: 1s103ms Database: postgres parameters: $1 = '1427841', $2 = '1427841', $3 = 'chem%'
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2025-01-07 04:32:21 Duration: 1s75ms Database: postgres parameters: $1 = '2089750'
8 3s511ms 3 1s107ms 1s210ms 1s170ms SELECT /* ReferenceDiseasesDAO */ ;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 01 1 1s107ms 1s107ms 05 2 2s404ms 1s202ms -
SELECT /* ReferenceDiseasesDAO */ ;
Date: 2025-01-07 05:46:40 Duration: 1s210ms Database: postgres parameters: $1 = '556625', $2 = '556625'
-
SELECT /* ReferenceDiseasesDAO */ ;
Date: 2025-01-07 05:52:45 Duration: 1s193ms Database: postgres parameters: $1 = 'COPD', $2 = 'COPD', $3 = 'COPD', $4 = 'COPD'
-
SELECT /* ReferenceDiseasesDAO */ ;
Date: 2025-01-07 01:45:40 Duration: 1s107ms Database: postgres parameters: $1 = '2082189'
9 1s213ms 1 1s213ms 1s213ms 1s213ms select geneTerm.nm || ' has a <span class=''action increase''>' || action_type_nm || '</span> relationship with ' || diseaseTerm.nm as interactionsHTML;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 07 1 1s213ms 1s213ms -
select geneTerm.nm || ' has a <span class=''action increase''>' || action_type_nm || '</span> relationship with ' || diseaseTerm.nm as interactionsHTML;
Date: 2025-01-07 07:20:47 Duration: 1s213ms Database: postgres parameters: $1 = '4363', $2 = '4', $3 = 'D006973', $4 = '3', $5 = '4363', $6 = '4', $7 = 'D006973', $8 = '3'
10 1s116ms 1 1s116ms 1s116ms 1s116ms SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 02 1 1s116ms 1s116ms -
SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT;
Date: 2025-01-07 02:22:29 Duration: 1s116ms Database: postgres parameters: $1 = '2086429'
11 1s112ms 1 1s112ms 1s112ms 1s112ms SELECT /* GeneDiseaseRefActionsDAO */ DISTINCT;Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 03 1 1s112ms 1s112ms -
SELECT /* GeneDiseaseRefActionsDAO */ DISTINCT;
Date: 2025-01-07 03:25:07 Duration: 1s112ms Database: postgres parameters: $1 = '1247118'
12 1s107ms 1 1s107ms 1s107ms 1s107ms SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 05 1 1s107ms 1s107ms -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2025-01-07 05:47:54 Duration: 1s107ms Database: postgres
13 1s22ms 1 1s22ms 1s22ms 1s22ms select distinct ptr.phenotype_id, ptr.term_id, i.action_type_nm, i.action_type_cd, i.action_degree_type_nm, i.action_degree_type_cd from pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.IXN_AXN i where ptr.ixn_id = i.ixn_id;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 00 1 1s22ms 1s22ms -
select distinct ptr.phenotype_id, ptr.term_id, i.action_type_nm, i.action_type_cd, i.action_degree_type_nm, i.action_degree_type_cd from pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.IXN_AXN i where ptr.ixn_id = i.ixn_id;
Date: 2025-01-06 00:24:55 Duration: 1s22ms Database: postgres
14 0ms 161 0ms 0ms 0ms ;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration Dec 31 07 2 0ms 0ms 16 1 0ms 0ms 17 3 0ms 0ms 19 1 0ms 0ms Jan 01 08 2 0ms 0ms 09 4 0ms 0ms Jan 02 06 4 0ms 0ms 07 8 0ms 0ms 08 6 0ms 0ms 09 2 0ms 0ms 10 6 0ms 0ms 11 4 0ms 0ms 12 4 0ms 0ms 14 2 0ms 0ms Jan 03 07 14 0ms 0ms 08 4 0ms 0ms 10 4 0ms 0ms 12 6 0ms 0ms Jan 05 08 8 0ms 0ms 11 2 0ms 0ms Jan 06 06 2 0ms 0ms 10 2 0ms 0ms 12 2 0ms 0ms 15 2 0ms 0ms 16 8 0ms 0ms 18 2 0ms 0ms Jan 07 02 1 0ms 0ms 03 3 0ms 0ms 04 2 0ms 0ms 05 5 0ms 0ms 06 7 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 1 0ms 0ms 10 3 0ms 0ms 11 8 0ms 0ms 12 2 0ms 0ms 13 1 0ms 0ms 14 3 0ms 0ms 17 1 0ms 0ms 18 1 0ms 0ms Jan 10 06 1 0ms 0ms 07 7 0ms 0ms 08 1 0ms 0ms 13 1 0ms 0ms 15 2 0ms 0ms Jan 11 14 2 0ms 0ms [ User: pubeu - Total duration: 2m47s - Times executed: 77 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '1262336', $2 = '1262336'
-
Events
Log levels
Key values
- 259,840 Log entries
Events distribution
Key values
- 0 PANIC entries
- 969 FATAL entries
- 2437 ERROR entries
- 1313 WARNING entries
Most Frequent Errors/Events
Key values
- 1,339 Max number of times the same event was reported
- 4,719 Total events found
Rank Times reported Error 1 1,339 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #1
Day Hour Count Jan 05 21 1 Jan 06 00 2 04 2 15 78 16 120 22 19 23 104 Jan 07 00 163 01 112 02 103 03 86 04 130 05 116 06 121 07 178 08 1 13 3 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT row_to_json(T) FROM ( WITH values AS ( SELECT 4096/(ceil(pg_settings.setting::numeric/1024/1024))::int AS segment_parts_count, setting::bigint AS segment_size, ('x' || substring(pg_stat_archiver.last_archived_wal from 9 for 8))::bit(32)::int AS last_wal_div, ('x' || substring(pg_stat_archiver.last_archived_wal from 17 for 8))::bit(32)::int AS last_wal_mod, CASE WHEN pg_is_in_recovery() THEN NULL ELSE ('x' || substring(pg_walfile_name(pg_current_wal_lsn()) from 9 for 8))::bit(32)::int END AS current_wal_div, CASE WHEN pg_is_in_recovery() THEN NULL ELSE ('x' || substring(pg_walfile_name(pg_current_wal_lsn()) from 17 for 8))::bit(32)::int END AS current_wal_mod FROM pg_settings, pg_stat_archiver WHERE pg_settings.name = 'wal_segment_size') SELECT greatest(coalesce((segment_parts_count - last_wal_mod) + ((current_wal_div - last_wal_div - 1) * segment_parts_count) + current_wal_mod - 1, 0), 0) AS count_files, greatest(coalesce(((segment_parts_count - last_wal_mod) + ((current_wal_div - last_wal_div - 1) * segment_parts_count) + current_wal_mod - 1) * segment_size, 0), 0) AS size_files FROM values ) T;
Date: 2025-01-05 21:18:11
Statement: SELECT pg_database_size(datname::text) FROM pg_catalog.pg_database WHERE datistemplate = false AND datname = $1;
Date: 2025-01-06 04:04:07
Statement: SELECT row_to_json (T) FROM ( SELECT checkpoints_timed , checkpoints_req , checkpoint_write_time , checkpoint_sync_time , buffers_checkpoint , buffers_clean , maxwritten_clean , buffers_backend , buffers_backend_fsync , buffers_alloc FROM pg_catalog.pg_stat_bgwriter ) T ;
Date: 2025-01-06 15:37:56
2 1,038 WARNING: skipping "..." --- only table or database owner can vacuum it
Times Reported Most Frequent Error / Event #2
Day Hour Count Jan 06 03 1,038 3 814 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #3
Day Hour Count Jan 01 05 5 Jan 04 00 1 14 1 Jan 05 15 1 21 1 Jan 06 00 2 04 2 15 4 16 11 22 16 23 80 Jan 07 00 106 01 75 02 78 03 60 04 88 05 74 06 86 07 114 08 6 13 3 - 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-07 08:30:06
4 806 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count Jan 01 05 5 Jan 04 00 1 14 1 Jan 05 15 1 21 1 Jan 06 00 2 04 2 15 4 16 9 22 16 23 81 Jan 07 00 105 01 75 02 77 03 59 04 86 05 73 06 86 07 113 08 6 13 3 - 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-07 08:30:06 Database: ctdprd51 Application: User: pubeu Remote:
5 238 LOG: using stale statistics instead of current ones because stats collector is not responding
Times Reported Most Frequent Error / Event #5
Day Hour Count Jan 06 15 85 16 153 6 224 WARNING: skipping "..." --- only superuser or database owner can vacuum it
Times Reported Most Frequent Error / Event #6
Day Hour Count Jan 06 03 224 7 120 FATAL: remaining connection slots are reserved for non-replication superuser connections
Times Reported Most Frequent Error / Event #7
Day Hour Count Jan 06 16 120 8 43 WARNING: skipping "..." --- only superuser can vacuum it
Times Reported Most Frequent Error / Event #8
Day Hour Count Jan 06 03 43 9 26 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #9
Day Hour Count Jan 02 18 2 19 6 Jan 03 17 2 18 5 19 1 Jan 04 21 1 Jan 06 18 4 19 3 Jan 07 18 2 10 20 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #10
Day Hour Count Jan 07 00 10 01 3 08 1 22 5 23 1 11 8 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Jan 05 17 4 Jan 07 10 4 - FATAL: password authentication failed for user "load"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2025-01-05 17:15:27
12 6 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #12
Day Hour Count Jan 01 14 1 15 1 Jan 02 00 1 08 1 Jan 06 03 1 13 1 - ERROR: syntax error in ts"SATELLITE & HEAD & K<T"
- ERROR: syntax error in ts"1 & SIMON, & DAN. & OPTIMAL & STATE & ESTIMATION & KALMAN, & H∞, & AND & NONLINEAR & APPROACHES & || & REFERENCES & J & . & 2006 & (501-520. | 501520.)"
- ERROR: syntax error in ts"下列物质能使干燥的蓝色石蕊试纸先变红后褪色的是 & ________。 & ①氯气 ②液氯 ③新制的氯水 ④氯气的酒精溶液 ⑤盐酸 ⑥盐酸酸化的漂白粉溶液"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-01-01 14:31:25 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $7 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $8 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $9 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $10 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $11 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $12 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $13 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $14 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $15 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $16 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $17 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $18 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $19 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $20 OR upper( l.acc_txt ) LIKE $21 OR upper( l.acc_txt ) LIKE $22 OR upper( l.acc_txt ) LIKE $23 OR upper( l.acc_txt ) LIKE $24 OR upper( l.acc_txt ) LIKE $25 OR upper( l.acc_txt ) LIKE $26 OR upper( l.acc_txt ) LIKE $27 OR upper( l.acc_txt ) LIKE $28 OR upper( l.acc_txt ) LIKE $29 OR upper( l.acc_txt ) LIKE $30 OR upper( l.acc_txt ) LIKE $31 OR upper( l.acc_txt ) LIKE $32 OR upper( l.acc_txt ) LIKE $33 OR upper( l.acc_txt ) LIKE $34 OR upper( l.acc_txt ) LIKE $35 ) ) ii GROUP BY ii.cd
Date: 2025-01-01 15:40:43
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $6 OR upper( l.acc_txt ) LIKE $7 OR upper( l.acc_txt ) LIKE $8 ) ) ii GROUP BY ii.cd
Date: 2025-01-02 00:03:56 Database: ctdprd51 Application: User: pubeu Remote:
13 6 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #13
Day Hour Count Jan 02 10 3 Jan 06 11 2 13 1 - ERROR: relation "tetramers" does not exist at character 22
- ERROR: relation "tetramer" does not exist at character 22
- ERROR: relation "pub1.tetramer" does not exist at character 22
Statement: select count(*) from tetramers
Date: 2025-01-02 10:12:22
Statement: select count(*) from tetramer
Date: 2025-01-02 10:12:27
Statement: select count(*) from pub1.tetramer
Date: 2025-01-02 10:13:01
14 6 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #14
Day Hour Count Jan 06 16 1 Jan 07 00 1 02 1 04 1 05 1 07 1 15 6 WARNING: there is no transaction in progress
Times Reported Most Frequent Error / Event #15
Day Hour Count Jan 06 03 2 06 4 16 5 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #16
Day Hour Count Jan 06 16 5 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: SELECT count(*) FROM ( select distinct phenotypeTerm.nm AS goNm ,phenotypeTerm.acc_txt AS goAcc ,diseaseTerm.nm AS diseaseNm ,diseaseTerm.acc_txt AS diseaseAcc ,diseaseTerm.acc_db_cd AS diseaseAccDbCd ,chemTerm.nm AS chemNm ,chemTerm.acc_txt AS chemAcc ,geneTerm.nm AS geneSymbol ,geneTerm.acc_txt AS geneAcc from PHENOTYPE_TERM_REFERENCE viaChemPTR ,PHENOTYPE_TERM_REFERENCE viaGenePTR ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm WHERE diseaseTerm.id in ( select descendant_object_id from pub1.DAG_PATH where ancestor_object_id = ( select id from pub1.TERM term where nm = 'Diseases' and object_type_id = ( select id from pub1.OBJECT_TYPE where cd = 'disease') ) ) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from GENE_CHEM_REFERENCE where gene_id = geneTerm.id and chem_id = chemTerm.id ) -- GROUP BY -- phenotypeTerm.nm -- ,phenotypeTerm.nm_html -- ,phenotypeTerm.acc_txt -- ,diseaseTerm.nm -- ,diseaseTerm.nm_html -- ,diseaseTerm.acc_txt -- ,diseaseTerm.acc_db_cd -- ,chemTerm.nm -- ,chemTerm.nm_html -- ,chemTerm.acc_txt -- ,geneTerm.nm -- ,geneTerm.nm_html -- ,geneTerm.acc_txt ) AS test
Date: 2025-01-06 16:45:16
Statement: SELECT count(*) FROM ( select distinct phenotypeTerm.nm AS goNm ,phenotypeTerm.acc_txt AS goAcc ,diseaseTerm.nm AS diseaseNm ,diseaseTerm.acc_txt AS diseaseAcc ,diseaseTerm.acc_db_cd AS diseaseAccDbCd ,chemTerm.nm AS chemNm ,chemTerm.acc_txt AS chemAcc ,geneTerm.nm AS geneSymbol ,geneTerm.acc_txt AS geneAcc from PHENOTYPE_TERM_REFERENCE viaChemPTR ,PHENOTYPE_TERM_REFERENCE viaGenePTR ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm WHERE diseaseTerm.id in ( select descendant_object_id from pub1.DAG_PATH where ancestor_object_id = ( select id from pub1.TERM term where nm = 'Diseases' and object_type_id = ( select id from pub1.OBJECT_TYPE where cd = 'disease') ) ) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from GENE_CHEM_REFERENCE where gene_id = geneTerm.id and chem_id = chemTerm.id ) -- GROUP BY -- phenotypeTerm.nm -- ,phenotypeTerm.nm_html -- ,phenotypeTerm.acc_txt -- ,diseaseTerm.nm -- ,diseaseTerm.nm_html -- ,diseaseTerm.acc_txt -- ,diseaseTerm.acc_db_cd
Date: 2025-01-06 16:45:16
17 2 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #17
Day Hour Count Jan 07 09 2 18 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #18
Day Hour Count Jan 02 10 1 13 1 - ERROR: syntax error at or near "select" at character 35
- ERROR: syntax error at or near "SELECT" at character 590
Statement: select count(*) from pub2.term select count(*) from tetramers
Date: 2025-01-02 10:12:17 Database: ctdprd51 Application: pgAdmin 4 - CONN:2248742 User: load Remote:
Statement: select reference_acc_txt ,taxon_acc_txt ,pubTerm.nm ,get_ixn_prose( ixn_id ) ,create_by ,create_tm ,ixn_id from edit.reference_ixn ri ,pub1.term pubTerm -- set to CURRENT PRODUCTION PUB!!!!! where taxon_acc_txt not in ( select acc_txt from load.term where object_type_id = ( select id from edit.object_type where cd = 'taxon' ) ) and pubTerm.acc_txt = ri.taxon_acc_txt and object_type_id = ( select id from edit.object_type where cd = 'taxon' ) and taxon_acc_txt is not null and taxon_acc_txt <> '' order by nm, reference_acc_txt ********************* SELECT referenceAccTxt AS PubMed ,objectType AS Type ,curatedAccTxt AS "Curated Accession" ,curatedTerm AS "Curated Term" ,termNm AS "Underlying Term" ,speciesNm AS Species ,seqID AS "Seq ID" ,curatorName AS Curator ,ixnProse AS Ixn FROM ( select distinct i.root_id ,edit.get_ixn_prose ( i.root_id ) as ixnProse ,o.cd AS objectType ,a.acc_txt as curatedAccTxt ,a.object_nm as curatedTerm ,a.seq_acc_txt AS seqID ,t.nm as termNm ,t.acc_txt as termAccTxt ,ri.reference_acc_txt as referenceAccTxt ,ri.create_by AS curatorName ,to_char ( ri.create_tm, 'mm-dd-yyyy' ) ,taxon.nm AS speciesNm from IXN_ACTOR a LEFT OUTER JOIN load.TERM t ON a.acc_txt = t.acc_txt AND a.object_type_id = t.object_type_id INNER JOIN OBJECT_TYPE o ON a.object_type_id = o.id INNER JOIN IXN i ON a.ixn_id = i.id INNER JOIN REFERENCE_IXN ri ON i.root_id = ri.ixn_id LEFT OUTER JOIN load.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper ( a.object_nm ) <> upper ( t.nm ) OR t.nm is null) UNION select distinct i.root_id ,edit.get_ixn_prose ( i.root_id ) as ixnProse ,'anatomy' AS objectType ,a.anatomy_acc_txt as curatedAccTxt ,a.anatomy_nm as curatedTerm ,'' AS seqID ,t.nm as termNm ,t.acc_txt as termAccTxt ,ri.reference_acc_txt as referenceAccTxt ,ri.create_by AS curatorName ,to_char ( ri.create_tm, 'mm-dd-yyyy' ) ,taxon.nm AS speciesNm from REFERENCE_IXN_ANATOMY a LEFT OUTER JOIN load.TERM t ON a.anatomy_acc_txt = t.acc_txt AND t.object_type_id = 10 INNER JOIN REFERENCE_IXN ri ON a.reference_ixn_id = ri.id INNER JOIN IXN i ON ri.ixn_id = i.id LEFT OUTER JOIN load.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = 1 WHERE (upper ( a.anatomy_nm ) <> upper ( t.nm ) OR t.nm is null) order by curatedTerm, curatedTerm ) as test
Date: 2025-01-02 13:22:20
19 2 WARNING: is not a PostgreSQL server process
Times Reported Most Frequent Error / Event #19
Day Hour Count Jan 06 10 2 20 1 ERROR: , sum(...) as tup_returned , sum(...) as tup_fetched , sum(...) as tup_inserted , sum(...) as tup_updated , sum(...) as tup_deleted , sum(...) as conflicts , sum(...) as temp_files , sum(...) as temp_bytes , sum(...) as deadlocks , sum(...)) as checksum_failures , sum(...) as blk_read_time , sum(...) as blk_write_time FROM pg_catalog.pg_stat_database ) T
Times Reported Most Frequent Error / Event #20
Day Hour Count Jan 07 04 1 21 1 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #21
Day Hour Count Jan 04 06 1 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 2 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 2 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2025-01-04 06:39:10 Database: ctdprd51 Application: User: pubeu Remote:
22 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #22
Day Hour Count Jan 07 09 1 23 1 ERROR: unterminated quoted identifier at or near ""..."
Times Reported Most Frequent Error / Event #23
Day Hour Count Jan 06 11 1 - ERROR: unterminated quoted identifier at or near "" " at character 200
Statement: -- Should return 0 rows select cd, t.nm, t.nm_sort from pub2.term t ,pub2.object_type ot where upper( nm ) <> nm_sort and t.object_type_id = ot.id and cd <> 'pathway' order by cd, nm"
Date: 2025-01-06 11:44:02 Database: ctdprd51 Application: pgAdmin 4 - CONN:397704 User: pub2 Remote:
24 1 ERROR: 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 (...) ) ) and associatedTerm.object_type_id = 2 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount order by refCount LIMIT 50 OFFSET 50
Times Reported Most Frequent Error / Event #24
Day Hour Count Jan 06 16 1 25 1 ERROR: WHERE (...)::float8) > 0.2 AND (...) > 50
Times Reported Most Frequent Error / Event #25
Day Hour Count Jan 07 03 1 26 1 ERROR: function get_ixn_prose(...) does not exist
Times Reported Most Frequent Error / Event #26
Day Hour Count Jan 02 13 1 - ERROR: function get_ixn_prose(integer) does not exist at character 66
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: select reference_acc_txt ,taxon_acc_txt ,pubTerm.nm ,get_ixn_prose( ixn_id ) ,create_by ,create_tm from edit.reference_ixn ri ,pub1.term pubTerm -- set to CURRENT PRODUCTION PUB!!!!! where taxon_acc_txt not in ( select acc_txt from load.term where object_type_id = ( select id from edit.object_type where cd = 'taxon' ) ) and pubTerm.acc_txt = ri.taxon_acc_txt and object_type_id = ( select id from edit.object_type where cd = 'taxon' ) and taxon_acc_txt is not null and taxon_acc_txt <> ''Date: 2025-01-02 13:11:11
27 1 ERROR: column reference "..." is ambiguous
Times Reported Most Frequent Error / Event #27
Day Hour Count Jan 05 17 1 - ERROR: column reference "create_tm" is ambiguous at character 108
Statement: select reference_acc_txt ,taxon_acc_txt ,pubTerm.nm ,get_ixn_prose( ixn_id ) ,create_by ,create_tm from edit.reference_ixn ri ,load.term pubTerm -- set to CURRENT PRODUCTION PUB!!!!! where taxon_acc_txt not in ( select acc_txt from load.term where object_type_id = ( select id from edit.object_type where cd = 'taxon' ) ) and pubTerm.acc_txt = ri.taxon_acc_txt and object_type_id = ( select id from edit.object_type where cd = 'taxon' ) and taxon_acc_txt is not null and taxon_acc_txt <> ''
Date: 2025-01-05 17:24:50 Database: ctdprd51 Application: pgAdmin 4 - CONN:5681269 User: edit Remote: