-
Global information
- Generated on Sun Nov 17 04:15:18 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20241116
- Parsed 177,194 log entries in 17s
- Log start from 2024-11-10 00:00:02 to 2024-11-16 23:59:22
-
Overview
Global Stats
- 313 Number of unique normalized queries
- 6,372 Number of queries
- 19h22m48s Total query duration
- 2024-11-10 00:00:57 First query
- 2024-11-16 23:47:39 Last query
- 3 queries/s at 2024-11-13 05:41:07 Query peak
- 19h22m48s Total query duration
- 0ms Prepare/parse total duration
- 6s632ms Bind total duration
- 19h22m41s Execute total duration
- 95 Number of events
- 12 Number of unique normalized events
- 19 Max number of times the same event was reported
- 0 Number of cancellation
- 78 Total number of automatic vacuums
- 238 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 15,928 Total number of sessions
- 92 sessions at 2024-11-12 03:10:08 Session peak
- 303d31m39s Total duration of sessions
- 27m23s Average duration of sessions
- 0 Average queries per session
- 4s380ms Average queries duration per session
- 27m19s Average idle time per session
- 15,928 Total number of connections
- 37 connections/s at 2024-11-12 03:13:21 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 3 queries/s Query Peak
- 2024-11-13 05:41:07 Date
SELECT Traffic
Key values
- 3 queries/s Query Peak
- 2024-11-13 05:41:07 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-11-15 18:00:58 Date
Queries duration
Key values
- 19h22m48s 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) Nov 10 00 27 0ms 18m36s 43s661ms 4s758ms 5s181ms 18m41s 01 34 0ms 17m26s 34s348ms 7s700ms 9s697ms 17m30s 02 7 0ms 3s896ms 2s374ms 1s267ms 3s865ms 3s896ms 03 7 0ms 5s199ms 1s748ms 1s147ms 1s198ms 5s199ms 04 29 0ms 1s892ms 1s206ms 1s892ms 3s384ms 10s762ms 05 68 0ms 14s263ms 2s328ms 14s263ms 19s636ms 24s38ms 06 32 0ms 37s522ms 4s737ms 4s534ms 9s598ms 49s335ms 07 30 0ms 10s852ms 1s984ms 3s769ms 5s708ms 10s852ms 08 37 0ms 29s324ms 3s3ms 4s944ms 9s656ms 32s614ms 09 38 0ms 11s101ms 2s991ms 6s699ms 7s768ms 13s458ms 10 49 0ms 37s306ms 4s141ms 9s730ms 16s124ms 59s282ms 11 33 0ms 19s414ms 3s230ms 8s302ms 9s179ms 19s414ms 12 27 0ms 11s162ms 2s474ms 3s857ms 9s18ms 15s191ms 13 20 0ms 7s650ms 1s917ms 3s367ms 3s881ms 10s94ms 14 46 0ms 37s299ms 5s173ms 14s422ms 24s744ms 54s733ms 15 29 0ms 17m29s 1m13s 14s534ms 8m36s 17m29s 16 67 0ms 11s635ms 2s652ms 10s978ms 22s758ms 25s651ms 17 86 0ms 5m22s 14s588ms 36s143ms 3m40s 5m28s 18 49 0ms 37s311ms 3s969ms 6s105ms 9s639ms 1m 19 76 0ms 10s691ms 2s475ms 10s550ms 11s820ms 28s956ms 20 61 0ms 34s381ms 3s312ms 13s165ms 16s293ms 36s464ms 21 40 0ms 12s799ms 3s186ms 6s444ms 7s183ms 45s362ms 22 49 0ms 19s378ms 2s763ms 7s909ms 9s658ms 19s378ms 23 47 0ms 40s147ms 3s399ms 6s95ms 14s179ms 45s892ms Nov 11 00 28 0ms 18m49s 42s756ms 4s449ms 7s954ms 18m55s 01 25 0ms 6s150ms 2s245ms 4s320ms 5s82ms 6s150ms 02 26 0ms 5s979ms 2s718ms 4s769ms 6s751ms 7s813ms 03 33 0ms 1m4s 6s541ms 5s419ms 13s531ms 1m35s 04 18 0ms 41s287ms 6s287ms 2s565ms 4s260ms 1m23s 05 62 0ms 6s295ms 2s346ms 12s661ms 15s541ms 25s439ms 06 50 0ms 37s464ms 4s453ms 10s283ms 18s160ms 58s487ms 07 32 0ms 10m47s 44s757ms 9s735ms 1m8s 10m47s 08 22 0ms 28s637ms 5s133ms 9s662ms 19s319ms 28s637ms 09 32 0ms 5s447ms 2s77ms 3s957ms 4s867ms 10s753ms 10 57 0ms 37s458ms 3s911ms 17s666ms 26s637ms 46s332ms 11 11 0ms 19s426ms 3s497ms 3s277ms 3s948ms 19s426ms 12 29 0ms 20s728ms 3s122ms 6s744ms 13s139ms 27s657ms 13 38 0ms 6s293ms 1s574ms 4s793ms 7s430ms 8s469ms 14 30 0ms 37s378ms 5s177ms 3s937ms 9s726ms 54s693ms 15 20 0ms 5s186ms 1s935ms 3s690ms 5s156ms 6s269ms 16 58 0ms 4m38s 7s564ms 17s174ms 35s611ms 4m40s 17 54 0ms 5m20s 30s983ms 2m55s 4m38s 5m20s 18 30 0ms 37s225ms 5s365ms 10s541ms 12s394ms 54s648ms 19 7 0ms 4s452ms 2s38ms 1s150ms 1s348ms 4s452ms 20 27 0ms 9s855ms 3s321ms 7s554ms 13s561ms 23s323ms 21 29 0ms 7s329ms 1s394ms 2s170ms 2s485ms 15s289ms 22 31 0ms 1s356ms 1s139ms 3s241ms 3s410ms 5s531ms 23 4 0ms 3s770ms 1s800ms 1s66ms 1s183ms 3s770ms Nov 12 00 10 0ms 18m37s 1m54s 3s770ms 4s296ms 18m42s 01 21 0ms 7s346ms 2s292ms 2s341ms 7s172ms 14s193ms 02 23 0ms 17m34s 1m20s 10s83ms 1m5s 17m34s 03 13 0ms 3s708ms 1s538ms 2s237ms 3s430ms 3s708ms 04 41 0ms 6s52ms 2s665ms 11s604ms 18s405ms 20s597ms 05 68 0ms 37m4s 35s13ms 15s568ms 26s265ms 37m12s 06 24 0ms 37s395ms 5s298ms 2s262ms 9s736ms 54s638ms 07 24 0ms 1m1s 13s878ms 5s548ms 56s566ms 1m59s 08 26 0ms 39m45s 2m22s 30s637ms 6m17s 39m46s 09 14 0ms 3s876ms 2s118ms 2s570ms 3s797ms 3s876ms 10 17 0ms 37s428ms 6s85ms 2s452ms 9s727ms 40s667ms 11 11 0ms 8s396ms 2s792ms 3s933ms 4s838ms 8s396ms 12 26 0ms 3s931ms 1s685ms 4s47ms 5s316ms 10s994ms 13 24 0ms 4m22s 20s767ms 3s821ms 16s158ms 4m23s 14 28 0ms 37s455ms 5s531ms 5s997ms 11s426ms 54s589ms 15 112 0ms 4m49s 6s318ms 21s19ms 48s368ms 4m49s 16 13 0ms 9m20s 44s803ms 1s304ms 3s756ms 9m20s 17 22 0ms 20s265ms 3s613ms 3s862ms 6s409ms 40s872ms 18 23 0ms 37s412ms 5s751ms 3s772ms 9s633ms 54s521ms 19 12 0ms 6s380ms 1s850ms 2s178ms 3s327ms 6s380ms 20 17 0ms 4s817ms 2s464ms 3s817ms 3s994ms 7s709ms 21 47 0ms 6s77ms 1s413ms 4s422ms 4s724ms 6s85ms 22 18 0ms 6s105ms 1s803ms 2s288ms 3s819ms 6s105ms 23 16 0ms 1s902ms 1s445ms 2s183ms 2s594ms 5s584ms Nov 13 00 19 0ms 18m42s 1m1s 1s530ms 3s863ms 18m48s 01 62 0ms 34s402ms 3s107ms 8s643ms 11s428ms 34s402ms 02 71 0ms 6s111ms 3s404ms 7s750ms 8s916ms 9s899ms 03 38 0ms 3s998ms 3s43ms 5s197ms 7s708ms 9s988ms 04 65 0ms 6s86ms 3s54ms 9s884ms 20s497ms 25s490ms 05 93 0ms 11s427ms 2s896ms 15s193ms 23s289ms 33s379ms 06 22 0ms 1m19s 13s212ms 4s328ms 54s608ms 1m19s 07 15 0ms 4s872ms 3s123ms 3s758ms 4s857ms 11s418ms 08 11 0ms 25s796ms 6s500ms 1s252ms 9s768ms 25s796ms 09 21 0ms 3s990ms 1s909ms 3s689ms 3s937ms 4s851ms 10 43 0ms 37s435ms 3s860ms 5s929ms 12s887ms 55s985ms 11 33 0ms 17m41s 35s29ms 5s734ms 16s259ms 17m42s 12 11 0ms 4s706ms 1s750ms 1s185ms 3s823ms 4s706ms 13 8 0ms 3s886ms 1s782ms 1s132ms 2s209ms 3s886ms 14 26 0ms 8m35s 24s971ms 2s468ms 46s355ms 8m50s 15 9 0ms 3s922ms 1s756ms 1s517ms 2s304ms 3s922ms 16 26 0ms 13s523ms 2s724ms 5s665ms 9s417ms 13s523ms 17 11 0ms 3s705ms 1s955ms 1s360ms 3s705ms 8s136ms 18 44 0ms 37s482ms 3s921ms 5s741ms 26s917ms 57s260ms 19 9 0ms 6s976ms 3s561ms 3s689ms 4s805ms 13s951ms 20 26 0ms 4s38ms 3s152ms 4s38ms 5s854ms 7s293ms 21 46 0ms 4s891ms 2s981ms 4s948ms 7s715ms 10s993ms 22 37 0ms 24s604ms 6s405ms 6s97ms 7s706ms 2m40s 23 34 0ms 3m27s 12s641ms 22s529ms 42s971ms 3m27s Nov 14 00 56 0ms 18m42s 28s342ms 18s307ms 36s999ms 18m48s 01 61 0ms 6s156ms 3s58ms 9s790ms 21s733ms 29s312ms 02 70 0ms 4s133ms 2s527ms 7s825ms 20s431ms 24s254ms 03 42 0ms 5s578ms 3s129ms 6s863ms 7s458ms 7s860ms 04 37 0ms 4s85ms 3s422ms 4s823ms 5s364ms 7s517ms 05 65 0ms 8m36s 15s263ms 17s821ms 25s584ms 8m36s 06 17 0ms 37s448ms 7s537ms 4s186ms 9s759ms 54s867ms 07 15 0ms 4s776ms 1s798ms 2s150ms 3s691ms 4s776ms 08 10 0ms 1s329ms 1s151ms 1s95ms 2s359ms 2s461ms 09 22 0ms 4s697ms 1s767ms 2s799ms 4s9ms 8s153ms 10 43 0ms 37s809ms 4s260ms 9s672ms 14s55ms 54s810ms 11 14 0ms 14s436ms 2s689ms 2s201ms 3s622ms 14s436ms 12 9 0ms 4s141ms 2s109ms 1s169ms 3s942ms 4s141ms 13 25 0ms 9m23s 25s960ms 5s268ms 20s534ms 9m23s 14 24 0ms 37s531ms 5s198ms 3s758ms 9s755ms 49s280ms 15 7 0ms 5s595ms 1s792ms 1s101ms 1s235ms 5s595ms 16 12 0ms 7s911ms 1s957ms 2s166ms 3s679ms 7s911ms 17 27 0ms 4s54ms 2s773ms 3s939ms 4s744ms 5s782ms 18 31 0ms 37s474ms 4s849ms 7s862ms 11s913ms 54s534ms 19 9 0ms 1m5s 9s112ms 1s148ms 9s667ms 1m5s 20 67 0ms 6s991ms 2s573ms 7s235ms 7s718ms 12s97ms 21 37 0ms 3m15s 11s130ms 8s967ms 14s415ms 5m32s 22 65 0ms 4m46s 17s604ms 1m10s 2m54s 6m19s 23 74 0ms 8m36s 13s410ms 11s911ms 20s566ms 8m36s Nov 15 00 44 0ms 18m45s 1m6s 5s889ms 11m19s 18m50s 01 22 0ms 17m29s 49s96ms 2s359ms 4s659ms 17m30s 02 27 0ms 18m48s 1m8s 3s968ms 43s834ms 18m48s 03 71 0ms 10m58s 21s197ms 20s714ms 27s719ms 11m3s 04 27 0ms 2m33s 29s366ms 2m31s 2m32s 2m33s 05 144 0ms 4m34s 9s492ms 50s855ms 3m45s 4m34s 06 69 0ms 38s548ms 3s165ms 8s431ms 22s726ms 55s189ms 07 41 0ms 17s474ms 2s197ms 4s662ms 8s176ms 17s474ms 08 49 0ms 27s429ms 3s599ms 9s827ms 16s791ms 27s429ms 09 34 0ms 19s793ms 3s185ms 3s817ms 19s662ms 23s341ms 10 55 0ms 37s570ms 2s685ms 4s463ms 11s837ms 46s531ms 11 63 0ms 6s270ms 1s549ms 4s426ms 7s365ms 15s222ms 12 52 0ms 29s614ms 3s298ms 5s81ms 29s405ms 30s756ms 13 38 0ms 4m19s 8s687ms 3s267ms 6s934ms 4m19s 14 55 0ms 10m51s 26s720ms 8s926ms 54s661ms 10m51s 15 49 0ms 2s334ms 1s146ms 3s425ms 4s879ms 12s16ms 16 39 0ms 8s862ms 1s548ms 2s237ms 4s758ms 9s873ms 17 38 0ms 8s753ms 1s532ms 2s419ms 3s415ms 11s57ms 18 54 0ms 5m32s 10s453ms 20s301ms 47s138ms 5m34s 19 54 0ms 5s562ms 1s658ms 6s923ms 8s859ms 10s232ms 20 63 0ms 20s394ms 2s738ms 17s89ms 20s394ms 21s268ms 21 38 0ms 26s164ms 3s660ms 3s758ms 19s94ms 52s313ms 22 10 0ms 3s956ms 1s451ms 1s145ms 1s291ms 3s956ms 23 26 0ms 1s894ms 1s170ms 3s278ms 4s529ms 5s531ms Nov 16 00 39 0ms 18m58s 30s397ms 2s529ms 5s331ms 18m58s 01 40 0ms 2s675ms 1s312ms 3s238ms 4s785ms 6s625ms 02 48 0ms 5s311ms 1s450ms 4s997ms 6s61ms 9s947ms 03 35 0ms 2s636ms 1s260ms 2s563ms 4s399ms 5s11ms 04 51 0ms 3s811ms 1s454ms 5s329ms 6s171ms 8s996ms 05 68 0ms 10s906ms 2s532ms 14s184ms 17s885ms 30s789ms 06 26 0ms 10s558ms 1s783ms 2s457ms 3s799ms 10s558ms 07 48 0ms 7s228ms 1s799ms 5s767ms 9s177ms 10s135ms 08 54 0ms 1m13s 3s211ms 9s469ms 11s922ms 1m16s 09 45 0ms 4s563ms 1s879ms 6s261ms 6s825ms 8s2ms 10 58 0ms 10m41s 13s791ms 6s165ms 16s354ms 10m41s 11 27 0ms 3s836ms 1s540ms 3s375ms 3s836ms 6s28ms 12 47 0ms 1m6s 7s827ms 1m2s 1m4s 1m6s 13 88 0ms 17m31s 22s871ms 15s502ms 1m6s 17m34s 14 43 0ms 19s858ms 3s550ms 10s250ms 19s802ms 21s807ms 15 27 0ms 20s520ms 2s578ms 3s337ms 3s907ms 22s910ms 16 47 0ms 8m48s 12s436ms 3s247ms 3s787ms 8m50s 17 63 0ms 8m36s 34s432ms 10s247ms 8m36s 8m36s 18 80 0ms 1m11s 6s155ms 54s589ms 1m2s 1m11s 19 107 0ms 23m47s 46s478ms 2m37s 7m23s 23m51s 20 76 0ms 8s236ms 1s524ms 6s990ms 10s638ms 18s616ms 21 16 0ms 4s113ms 1s339ms 2s336ms 2s374ms 4s113ms 22 38 0ms 17m29s 48s341ms 19s491ms 22s378ms 17m29s 23 29 0ms 19s531ms 2s652ms 4s354ms 10s338ms 19s531ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 10 00 26 0 45s139ms 3s828ms 4s758ms 18m36s 01 34 0 34s348ms 3s908ms 7s700ms 17m30s 02 7 0 2s374ms 0ms 1s267ms 3s896ms 03 7 0 1s748ms 0ms 1s147ms 5s199ms 04 28 0 1s182ms 1s114ms 1s552ms 10s762ms 05 65 0 2s316ms 3s787ms 14s263ms 24s38ms 06 23 9 4s737ms 1s893ms 4s534ms 46s417ms 07 30 0 1s984ms 2s260ms 3s769ms 10s852ms 08 37 0 3s3ms 3s742ms 4s944ms 32s614ms 09 37 0 3s21ms 4s973ms 6s560ms 13s458ms 10 39 10 4s141ms 4s987ms 9s730ms 54s791ms 11 33 0 3s230ms 3s894ms 8s302ms 19s414ms 12 27 0 2s474ms 1s385ms 3s857ms 15s191ms 13 20 0 1s917ms 1s177ms 3s367ms 10s94ms 14 36 10 5s173ms 7s445ms 10s923ms 54s733ms 15 28 0 1m16s 1s317ms 11s903ms 17m29s 16 67 0 2s652ms 6s12ms 10s978ms 25s651ms 17 85 0 14s722ms 11s602ms 36s143ms 5m28s 18 39 10 3s969ms 5s55ms 6s105ms 54s991ms 19 76 0 2s475ms 6s460ms 10s550ms 28s956ms 20 60 0 3s312ms 6s47ms 10s525ms 36s464ms 21 40 0 3s186ms 3s754ms 6s444ms 45s362ms 22 49 0 2s763ms 5s590ms 7s909ms 19s378ms 23 47 0 3s399ms 4s24ms 6s95ms 45s892ms Nov 11 00 27 0 44s135ms 2s570ms 4s449ms 18m49s 01 25 0 2s245ms 3s161ms 4s320ms 6s150ms 02 26 0 2s718ms 3s818ms 4s769ms 7s813ms 03 33 0 6s541ms 3s710ms 5s419ms 1m35s 04 18 0 6s287ms 1s552ms 2s565ms 1m23s 05 59 0 2s334ms 4s209ms 12s661ms 25s439ms 06 40 10 4s453ms 4s40ms 10s283ms 46s343ms 07 31 0 46s163ms 3s807ms 9s735ms 10m47s 08 22 0 5s133ms 2s315ms 9s662ms 28s637ms 09 32 0 2s77ms 2s520ms 3s957ms 10s753ms 10 49 8 3s911ms 5s733ms 17s666ms 46s332ms 11 10 0 3s519ms 1s144ms 2s137ms 19s426ms 12 28 0 3s116ms 1s98ms 6s744ms 27s657ms 13 38 0 1s574ms 2s80ms 4s793ms 8s469ms 14 20 10 5s177ms 3s776ms 3s937ms 54s693ms 15 20 0 1s935ms 2s51ms 3s690ms 6s269ms 16 58 0 7s564ms 3s509ms 17s174ms 4m40s 17 54 0 30s983ms 5s637ms 2m55s 5m1s 18 20 10 5s365ms 2s90ms 9s632ms 54s648ms 19 7 0 2s38ms 0ms 1s150ms 4s452ms 20 27 0 3s321ms 1s356ms 7s554ms 23s323ms 21 29 0 1s394ms 1s90ms 2s170ms 15s289ms 22 31 0 1s139ms 1s330ms 3s241ms 5s531ms 23 4 0 1s800ms 0ms 1s66ms 3s770ms Nov 12 00 9 0 2m6s 1s98ms 3s770ms 18m37s 01 21 0 2s292ms 1s426ms 2s341ms 14s193ms 02 23 0 1m20s 2s995ms 10s83ms 11m20s 03 13 0 1s538ms 0ms 2s237ms 3s708ms 04 41 0 2s665ms 3s306ms 11s604ms 20s597ms 05 64 0 37s61ms 3s943ms 15s568ms 37m12s 06 15 9 5s298ms 1s201ms 2s262ms 46s296ms 07 24 0 13s878ms 3s806ms 5s548ms 1m59s 08 26 0 2m22s 3s556ms 30s637ms 39m46s 09 14 0 2s118ms 1s53ms 2s570ms 3s801ms 10 9 8 6s85ms 0ms 2s452ms 37s428ms 11 11 0 2s792ms 1s88ms 3s933ms 8s396ms 12 26 0 1s685ms 3s408ms 4s47ms 10s994ms 13 22 0 22s414ms 2s633ms 3s821ms 3m3s 14 18 10 5s531ms 1s146ms 5s997ms 46s368ms 15 112 0 6s318ms 10s971ms 21s19ms 2m5s 16 13 0 44s803ms 1s70ms 1s304ms 4s923ms 17 22 0 3s613ms 1s124ms 3s862ms 7s631ms 18 13 10 5s751ms 1s113ms 3s772ms 54s521ms 19 12 0 1s850ms 0ms 2s178ms 6s380ms 20 17 0 2s464ms 2s86ms 3s817ms 7s709ms 21 47 0 1s413ms 3s224ms 4s422ms 6s85ms 22 18 0 1s803ms 1s224ms 2s288ms 6s105ms 23 16 0 1s445ms 1s58ms 2s183ms 5s584ms Nov 13 00 12 0 1m35s 0ms 1s149ms 18m42s 01 61 0 3s105ms 5s595ms 8s443ms 18s929ms 02 71 0 3s404ms 7s542ms 7s750ms 9s898ms 03 38 0 3s43ms 3s857ms 5s197ms 7s813ms 04 65 0 3s54ms 5s856ms 9s884ms 24s288ms 05 91 0 2s887ms 7s489ms 15s193ms 25s423ms 06 12 10 13s212ms 1s190ms 4s328ms 1m19s 07 15 0 3s123ms 1s155ms 3s758ms 4s872ms 08 11 0 6s500ms 0ms 1s252ms 25s650ms 09 21 0 1s909ms 1s211ms 3s689ms 3s990ms 10 34 9 3s860ms 3s832ms 5s929ms 37s435ms 11 33 0 35s29ms 4s121ms 5s734ms 17m42s 12 11 0 1s750ms 0ms 1s185ms 4s706ms 13 8 0 1s782ms 0ms 1s132ms 3s886ms 14 16 10 24s971ms 0ms 2s468ms 8m50s 15 9 0 1s756ms 0ms 1s517ms 3s922ms 16 25 0 2s705ms 3s91ms 5s665ms 13s523ms 17 11 0 1s955ms 0ms 1s360ms 8s136ms 18 34 10 3s921ms 2s452ms 9s584ms 54s528ms 19 9 0 3s561ms 0ms 3s689ms 13s951ms 20 25 0 3s204ms 3s888ms 3s939ms 7s293ms 21 46 0 2s981ms 4s118ms 4s948ms 8s633ms 22 37 0 6s405ms 3s693ms 6s97ms 2m40s 23 34 0 12s641ms 5s266ms 22s529ms 3m27s Nov 14 00 55 0 28s762ms 3s981ms 18s307ms 4m6s 01 60 0 3s56ms 4s163ms 8s814ms 29s312ms 02 58 0 2s609ms 3s961ms 7s825ms 15s22ms 03 42 0 3s129ms 4s17ms 6s863ms 7s860ms 04 36 0 3s466ms 3s954ms 4s823ms 7s517ms 05 63 0 15s644ms 10s223ms 17s821ms 8m36s 06 7 10 7s537ms 0ms 4s186ms 54s867ms 07 15 0 1s798ms 1s97ms 2s150ms 4s776ms 08 10 0 1s151ms 0ms 1s95ms 2s461ms 09 22 0 1s767ms 1s332ms 2s799ms 8s153ms 10 33 10 4s260ms 3s541ms 9s672ms 54s810ms 11 14 0 2s689ms 1s145ms 2s201ms 14s436ms 12 9 0 2s109ms 0ms 1s169ms 3s942ms 13 25 0 25s960ms 1s93ms 5s268ms 9m23s 14 16 8 5s198ms 1s99ms 3s758ms 37s531ms 15 7 0 1s792ms 0ms 1s101ms 5s595ms 16 12 0 1s957ms 1s93ms 2s166ms 7s911ms 17 27 0 2s773ms 3s629ms 3s939ms 5s782ms 18 20 10 4s901ms 1s202ms 7s862ms 54s534ms 19 9 0 9s112ms 0ms 1s148ms 1m5s 20 67 0 2s573ms 5s934ms 7s235ms 12s97ms 21 37 0 11s130ms 1s340ms 8s967ms 5m32s 22 65 0 17s604ms 12s187ms 1m10s 6m19s 23 74 0 13s410ms 7s784ms 11s911ms 5m6s Nov 15 00 43 0 1m7s 3s811ms 5s889ms 18m45s 01 22 0 49s96ms 1s188ms 2s359ms 17m30s 02 27 0 1m8s 1s462ms 3s968ms 10m36s 03 70 0 21s473ms 5s948ms 20s714ms 10m54s 04 27 0 29s366ms 2s230ms 2m31s 2m33s 05 140 0 9s699ms 12s540ms 50s855ms 4m2s 06 59 10 3s165ms 3s20ms 8s431ms 47s877ms 07 41 0 2s197ms 2s466ms 4s662ms 8s556ms 08 49 0 3s599ms 4s651ms 9s827ms 26s993ms 09 34 0 3s185ms 2s341ms 3s817ms 22s862ms 10 46 9 2s685ms 2s237ms 4s463ms 46s531ms 11 62 0 1s521ms 3s562ms 4s426ms 7s763ms 12 52 0 3s298ms 2s404ms 5s81ms 29s481ms 13 38 0 8s687ms 2s142ms 3s267ms 28s820ms 14 46 9 26s720ms 2s481ms 8s926ms 10m49s 15 49 0 1s146ms 2s224ms 3s425ms 12s16ms 16 39 0 1s548ms 2s133ms 2s237ms 8s862ms 17 38 0 1s532ms 2s176ms 2s419ms 5s243ms 18 44 10 10s453ms 3s538ms 20s301ms 5m34s 19 53 0 1s627ms 3s593ms 6s499ms 10s232ms 20 63 0 2s738ms 4s647ms 17s89ms 21s268ms 21 38 0 3s660ms 2s337ms 3s758ms 52s313ms 22 10 0 1s451ms 0ms 1s145ms 3s956ms 23 26 0 1s170ms 1s62ms 3s278ms 5s531ms Nov 16 00 38 0 31s57ms 2s212ms 2s523ms 18m58s 01 40 0 1s312ms 2s235ms 3s238ms 6s625ms 02 48 0 1s450ms 3s401ms 4s997ms 9s947ms 03 35 0 1s260ms 2s240ms 2s563ms 5s11ms 04 51 0 1s454ms 2s453ms 5s329ms 8s996ms 05 66 0 2s509ms 3s848ms 10s906ms 30s789ms 06 26 0 1s783ms 2s226ms 2s457ms 10s558ms 07 48 0 1s799ms 2s548ms 5s767ms 10s135ms 08 52 0 3s206ms 2s477ms 9s469ms 1m16s 09 45 0 1s879ms 3s610ms 6s261ms 7s839ms 10 58 0 13s791ms 3s261ms 6s165ms 10m41s 11 27 0 1s540ms 2s249ms 3s375ms 6s28ms 12 47 0 7s827ms 3s611ms 1m2s 1m6s 13 75 0 26s452ms 9s78ms 11s868ms 17m34s 14 43 0 3s550ms 4s675ms 10s250ms 21s807ms 15 27 0 2s578ms 2s176ms 3s337ms 22s910ms 16 47 0 12s436ms 2s306ms 3s247ms 8m50s 17 63 0 34s432ms 4s857ms 10s247ms 8m36s 18 54 26 6s155ms 6s57ms 52s380ms 1m4s 19 59 48 46s478ms 1m10s 2m37s 23m49s 20 76 0 1s524ms 4s443ms 6s990ms 18s616ms 21 16 0 1s339ms 0ms 2s336ms 4s113ms 22 38 0 48s341ms 2s729ms 19s491ms 17m29s 23 29 0 2s652ms 2s169ms 4s354ms 19s531ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 10 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 11 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 12 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 13 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 14 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 15 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 16 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Nov 10 00 0 25 25.00 0.00% 01 0 34 34.00 0.00% 02 0 7 7.00 0.00% 03 0 7 7.00 0.00% 04 0 29 29.00 0.00% 05 0 72 72.00 0.00% 06 0 29 29.00 0.00% 07 0 34 34.00 0.00% 08 0 37 37.00 0.00% 09 0 38 38.00 0.00% 10 0 39 39.00 0.00% 11 0 33 33.00 0.00% 12 0 27 27.00 0.00% 13 0 20 20.00 0.00% 14 0 36 36.00 0.00% 15 0 29 29.00 0.00% 16 0 72 72.00 0.00% 17 0 86 86.00 0.00% 18 0 39 39.00 0.00% 19 0 76 76.00 0.00% 20 0 61 61.00 0.00% 21 0 40 40.00 0.00% 22 0 49 49.00 0.00% 23 0 47 47.00 0.00% Nov 11 00 0 27 27.00 0.00% 01 0 25 25.00 0.00% 02 0 26 26.00 0.00% 03 0 33 33.00 0.00% 04 0 18 18.00 0.00% 05 0 62 62.00 0.00% 06 0 41 41.00 0.00% 07 0 40 40.00 0.00% 08 0 22 22.00 0.00% 09 0 38 38.00 0.00% 10 0 53 53.00 0.00% 11 0 11 11.00 0.00% 12 0 29 29.00 0.00% 13 0 38 38.00 0.00% 14 0 20 20.00 0.00% 15 0 21 21.00 0.00% 16 0 59 59.00 0.00% 17 0 60 60.00 0.00% 18 0 20 20.00 0.00% 19 0 7 7.00 0.00% 20 0 27 27.00 0.00% 21 0 29 29.00 0.00% 22 0 31 31.00 0.00% 23 0 4 4.00 0.00% Nov 12 00 0 8 8.00 0.00% 01 0 21 21.00 0.00% 02 0 23 23.00 0.00% 03 0 13 13.00 0.00% 04 0 41 41.00 0.00% 05 0 68 68.00 0.00% 06 0 18 18.00 0.00% 07 0 24 24.00 0.00% 08 0 26 26.00 0.00% 09 0 16 16.00 0.00% 10 0 10 10.00 0.00% 11 0 12 12.00 0.00% 12 0 26 26.00 0.00% 13 0 29 29.00 0.00% 14 0 19 19.00 0.00% 15 0 116 116.00 0.00% 16 0 15 15.00 0.00% 17 0 28 28.00 0.00% 18 0 13 13.00 0.00% 19 0 12 12.00 0.00% 20 0 17 17.00 0.00% 21 0 47 47.00 0.00% 22 0 18 18.00 0.00% 23 0 16 16.00 0.00% Nov 13 00 0 17 17.00 0.00% 01 0 62 62.00 0.00% 02 0 71 71.00 0.00% 03 0 38 38.00 0.00% 04 0 65 65.00 0.00% 05 0 93 93.00 0.00% 06 0 16 16.00 0.00% 07 0 29 29.00 0.00% 08 0 12 12.00 0.00% 09 0 25 25.00 0.00% 10 0 37 37.00 0.00% 11 0 34 34.00 0.00% 12 0 11 11.00 0.00% 13 0 8 8.00 0.00% 14 0 16 16.00 0.00% 15 0 10 10.00 0.00% 16 0 27 27.00 0.00% 17 0 11 11.00 0.00% 18 0 34 34.00 0.00% 19 0 9 9.00 0.00% 20 0 26 26.00 0.00% 21 0 46 46.00 0.00% 22 0 37 37.00 0.00% 23 0 34 34.00 0.00% Nov 14 00 0 54 54.00 0.00% 01 0 61 61.00 0.00% 02 0 70 70.00 0.00% 03 0 42 42.00 0.00% 04 0 37 37.00 0.00% 05 0 65 65.00 0.00% 06 0 9 9.00 0.00% 07 0 16 16.00 0.00% 08 0 10 10.00 0.00% 09 0 22 22.00 0.00% 10 0 34 34.00 0.00% 11 0 14 14.00 0.00% 12 0 9 9.00 0.00% 13 0 25 25.00 0.00% 14 0 16 16.00 0.00% 15 0 7 7.00 0.00% 16 0 12 12.00 0.00% 17 0 27 27.00 0.00% 18 0 21 21.00 0.00% 19 0 9 9.00 0.00% 20 0 67 67.00 0.00% 21 0 37 37.00 0.00% 22 0 65 65.00 0.00% 23 0 74 74.00 0.00% Nov 15 00 0 42 42.00 0.00% 01 0 22 22.00 0.00% 02 0 27 27.00 0.00% 03 0 71 71.00 0.00% 04 0 27 27.00 0.00% 05 0 144 144.00 0.00% 06 0 60 60.00 0.00% 07 0 46 46.00 0.00% 08 0 50 50.00 0.00% 09 0 35 35.00 0.00% 10 0 49 49.00 0.00% 11 0 72 72.00 0.00% 12 0 53 53.00 0.00% 13 0 41 41.00 0.00% 14 0 50 50.00 0.00% 15 0 50 50.00 0.00% 16 0 47 47.00 0.00% 17 0 38 38.00 0.00% 18 0 44 44.00 0.00% 19 0 54 54.00 0.00% 20 0 63 63.00 0.00% 21 0 38 38.00 0.00% 22 0 10 10.00 0.00% 23 0 26 26.00 0.00% Nov 16 00 0 37 37.00 0.00% 01 0 40 40.00 0.00% 02 0 48 48.00 0.00% 03 0 35 35.00 0.00% 04 0 51 51.00 0.00% 05 0 68 68.00 0.00% 06 0 26 26.00 0.00% 07 0 48 48.00 0.00% 08 0 54 54.00 0.00% 09 0 45 45.00 0.00% 10 0 58 58.00 0.00% 11 0 27 27.00 0.00% 12 0 47 47.00 0.00% 13 0 88 88.00 0.00% 14 0 43 43.00 0.00% 15 0 27 27.00 0.00% 16 0 47 47.00 0.00% 17 0 63 63.00 0.00% 18 0 54 54.00 0.00% 19 0 59 59.00 0.00% 20 0 76 76.00 0.00% 21 0 16 16.00 0.00% 22 0 38 38.00 0.00% 23 0 29 29.00 0.00% Day Hour Count Average / Second Nov 10 00 80 0.02/s 01 84 0.02/s 02 75 0.02/s 03 81 0.02/s 04 77 0.02/s 05 103 0.03/s 06 88 0.02/s 07 82 0.02/s 08 111 0.03/s 09 90 0.03/s 10 79 0.02/s 11 84 0.02/s 12 82 0.02/s 13 78 0.02/s 14 91 0.03/s 15 77 0.02/s 16 90 0.03/s 17 98 0.03/s 18 90 0.03/s 19 87 0.02/s 20 85 0.02/s 21 85 0.02/s 22 79 0.02/s 23 85 0.02/s Nov 11 00 78 0.02/s 01 76 0.02/s 02 81 0.02/s 03 88 0.02/s 04 80 0.02/s 05 94 0.03/s 06 82 0.02/s 07 87 0.02/s 08 107 0.03/s 09 86 0.02/s 10 84 0.02/s 11 83 0.02/s 12 85 0.02/s 13 81 0.02/s 14 85 0.02/s 15 79 0.02/s 16 89 0.02/s 17 97 0.03/s 18 80 0.02/s 19 68 0.02/s 20 81 0.02/s 21 93 0.03/s 22 78 0.02/s 23 77 0.02/s Nov 12 00 78 0.02/s 01 165 0.05/s 02 161 0.04/s 03 370 0.10/s 04 79 0.02/s 05 96 0.03/s 06 77 0.02/s 07 104 0.03/s 08 110 0.03/s 09 84 0.02/s 10 78 0.02/s 11 82 0.02/s 12 79 0.02/s 13 79 0.02/s 14 79 0.02/s 15 96 0.03/s 16 80 0.02/s 17 84 0.02/s 18 71 0.02/s 19 78 0.02/s 20 82 0.02/s 21 72 0.02/s 22 75 0.02/s 23 81 0.02/s Nov 13 00 88 0.02/s 01 90 0.03/s 02 93 0.03/s 03 84 0.02/s 04 85 0.02/s 05 108 0.03/s 06 84 0.02/s 07 81 0.02/s 08 110 0.03/s 09 95 0.03/s 10 87 0.02/s 11 86 0.02/s 12 81 0.02/s 13 79 0.02/s 14 82 0.02/s 15 72 0.02/s 16 89 0.02/s 17 70 0.02/s 18 86 0.02/s 19 78 0.02/s 20 79 0.02/s 21 86 0.02/s 22 149 0.04/s 23 88 0.02/s Nov 14 00 96 0.03/s 01 91 0.03/s 02 97 0.03/s 03 85 0.02/s 04 92 0.03/s 05 104 0.03/s 06 88 0.02/s 07 77 0.02/s 08 82 0.02/s 09 93 0.03/s 10 85 0.02/s 11 102 0.03/s 12 86 0.02/s 13 98 0.03/s 14 94 0.03/s 15 85 0.02/s 16 79 0.02/s 17 91 0.03/s 18 93 0.03/s 19 86 0.02/s 20 91 0.03/s 21 81 0.02/s 22 109 0.03/s 23 141 0.04/s Nov 15 00 87 0.02/s 01 92 0.03/s 02 95 0.03/s 03 102 0.03/s 04 98 0.03/s 05 225 0.06/s 06 308 0.09/s 07 161 0.04/s 08 269 0.07/s 09 115 0.03/s 10 86 0.02/s 11 90 0.03/s 12 93 0.03/s 13 88 0.02/s 14 90 0.03/s 15 77 0.02/s 16 82 0.02/s 17 87 0.02/s 18 91 0.03/s 19 78 0.02/s 20 86 0.02/s 21 87 0.02/s 22 80 0.02/s 23 81 0.02/s Nov 16 00 83 0.02/s 01 87 0.02/s 02 87 0.02/s 03 98 0.03/s 04 86 0.02/s 05 111 0.03/s 06 87 0.02/s 07 99 0.03/s 08 96 0.03/s 09 101 0.03/s 10 132 0.04/s 11 85 0.02/s 12 87 0.02/s 13 111 0.03/s 14 117 0.03/s 15 94 0.03/s 16 96 0.03/s 17 101 0.03/s 18 91 0.03/s 19 90 0.03/s 20 82 0.02/s 21 85 0.02/s 22 118 0.03/s 23 80 0.02/s Day Hour Count Average Duration Average idle time Nov 10 00 80 31m20s 31m6s 01 84 28m55s 28m41s 02 75 31m29s 31m29s 03 81 30m41s 30m41s 04 77 30m49s 30m49s 05 103 23m24s 23m23s 06 88 27m11s 27m9s 07 82 30m33s 30m32s 08 111 22m24s 22m23s 09 90 26m42s 26m41s 10 79 30m18s 30m15s 11 84 28m58s 28m56s 12 82 29m25s 29m24s 13 78 30m21s 30m20s 14 89 28m14s 28m11s 15 79 30m58s 30m30s 16 90 27m55s 27m53s 17 98 24m21s 24m8s 18 90 27m3s 27m1s 19 87 27m3s 27m1s 20 85 25m5s 25m2s 21 85 26m21s 26m19s 22 79 30m50s 30m49s 23 85 28m6s 28m4s Nov 11 00 78 30m2s 29m47s 01 76 31m26s 31m25s 02 81 30m7s 30m6s 03 88 28m19s 28m17s 04 80 29m18s 29m16s 05 94 25m58s 25m57s 06 82 28m34s 28m32s 07 87 29m23s 29m7s 08 107 22m36s 22m35s 09 86 28m35s 28m34s 10 84 28m21s 28m19s 11 83 29m42s 29m41s 12 82 29m43s 29m42s 13 79 29m53s 29m52s 14 85 29m15s 29m14s 15 76 31m24s 31m23s 16 89 27m30s 27m26s 17 97 24m29s 24m12s 18 80 29m34s 29m32s 19 73 53m7s 53m7s 20 84 43m8s 43m7s 21 93 23m59s 23m59s 22 78 31m38s 31m38s 23 77 31m37s 31m36s Nov 12 00 78 30m56s 30m42s 01 165 15m32s 15m32s 02 156 16m24s 16m12s 03 375 7m31s 7m31s 04 79 30m10s 30m8s 05 96 25m10s 24m46s 06 77 30m40s 30m38s 07 98 4h48m2s 4h47m58s 08 112 21m58s 21m25s 09 84 30m3s 30m3s 10 78 30m5s 30m3s 11 82 30m34s 30m33s 12 81 36m10s 36m10s 13 80 33m18s 33m12s 14 80 34m35s 34m33s 15 95 25m57s 25m49s 16 81 29m11s 29m4s 17 84 27m56s 27m55s 18 71 31m5s 31m4s 19 78 30m40s 30m40s 20 82 29m48s 29m48s 21 72 31m12s 31m11s 22 75 32m4s 32m4s 23 81 30m5s 30m5s Nov 13 00 88 27m42s 27m29s 01 90 26m51s 26m49s 02 93 26m12s 26m10s 03 84 28m59s 28m58s 04 85 28m28s 28m26s 05 108 22m8s 22m6s 06 84 28m9s 28m5s 07 81 30m8s 30m7s 08 110 22m2s 22m2s 09 94 25m29s 25m29s 10 86 28m40s 28m38s 11 86 28m6s 27m52s 12 81 30m37s 30m36s 13 78 30m52s 30m51s 14 82 29m21s 29m13s 15 72 32m8s 32m8s 16 89 28m14s 28m13s 17 73 45m39s 45m39s 18 86 28m12s 28m10s 19 78 30m19s 30m19s 20 79 30m6s 30m5s 21 86 26m18s 26m17s 22 149 16m59s 16m58s 23 88 27m44s 27m39s Nov 14 00 96 25m35s 25m19s 01 91 26m39s 26m37s 02 97 24m59s 24m57s 03 85 27m46s 27m45s 04 92 26m52s 26m51s 05 104 22m25s 22m15s 06 88 27m35s 27m33s 07 77 31m37s 31m37s 08 82 29m3s 29m3s 09 93 27m16s 27m15s 10 85 27m58s 27m56s 11 102 23m39s 23m39s 12 86 28m23s 28m23s 13 97 25m25s 25m18s 14 94 25m29s 25m28s 15 85 28m5s 28m4s 16 79 28m19s 28m19s 17 91 26m4s 26m3s 18 93 26m21s 26m20s 19 86 27m44s 27m43s 20 91 26m14s 26m12s 21 82 33m33s 33m28s 22 109 21m27s 21m16s 23 139 17m55s 17m48s Nov 15 00 89 28m11s 27m38s 01 92 25m43s 25m31s 02 94 25m52s 25m32s 03 103 23m39s 23m24s 04 98 25m13s 25m5s 05 225 10m58s 10m51s 06 308 7m50s 7m50s 07 161 14m36s 14m35s 08 269 9m8s 9m7s 09 115 20m52s 20m51s 10 86 27m33s 27m31s 11 90 27m3s 27m2s 12 93 26m16s 26m14s 13 88 26m46s 26m42s 14 90 26m59s 26m43s 15 77 29m15s 29m14s 16 82 29m41s 29m40s 17 87 28m29s 28m28s 18 91 26m40s 26m34s 19 78 29m25s 29m23s 20 86 28m35s 28m33s 21 87 26m45s 26m43s 22 80 30m32s 30m32s 23 81 29m51s 29m51s Nov 16 00 83 30m19s 30m5s 01 87 27m12s 27m12s 02 87 27m48s 27m47s 03 98 25m5s 25m5s 04 86 27m53s 27m52s 05 111 21m45s 21m44s 06 87 27m21s 27m20s 07 99 23m11s 23m10s 08 96 25m48s 25m47s 09 100 23m49s 23m49s 10 133 18m 17m54s 11 85 28m24s 28m23s 12 87 27m48s 27m43s 13 111 23m5s 22m47s 14 117 18m1s 18m 15 94 25m14s 25m13s 16 96 26m11s 26m5s 17 101 24m2s 23m40s 18 90 27m 26m55s 19 91 26m57s 26m2s 20 82 29m5s 29m4s 21 85 26m41s 26m41s 22 118 20m52s 20m36s 23 80 30m9s 30m8s -
Connections
Established Connections
Key values
- 37 connections Connection Peak
- 2024-11-12 03:13:21 Date
Connections per database
Key values
- ctdprd51 Main Database
- 15,928 connections Total
Connections per user
Key values
- pubeu Main User
- 15,928 connections Total
-
Sessions
Simultaneous sessions
Key values
- 92 sessions Session Peak
- 2024-11-12 03:10:08 Date
Histogram of session times
Key values
- 12,119 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 15,928 sessions Total
Sessions per user
Key values
- pubeu Main User
- 15,928 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 15,928 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 5,365 56d23h41m41s 15m17s 10.12.5.38 2,621 56d1h42s 30m47s 10.12.5.39 2,570 56d25m45s 31m23s 10.12.5.40 1 2m28s 2m28s 10.12.5.45 2,665 55d23h53m46s 30m15s 10.12.5.46 2,632 56d1h15m54s 30m40s 192.168.201.14 3 19h52m21s 6h37m27s 192.168.201.18 1 8h12m48s 8h12m48s 192.168.201.22 9 1d23h52m18s 5h19m8s 192.168.201.6 4 19h18m11s 4h49m32s ::1 57 17d22h55m39s 7h33m36s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 143,523 buffers Checkpoint Peak
- 2024-11-15 22:48:49 Date
- 1619.978 seconds Highest write time
- 0.040 seconds Sync time
Checkpoints Wal files
Key values
- 74 files Wal files usage Peak
- 2024-11-13 19:18:43 Date
Checkpoints distance
Key values
- 2,344.69 Mo Distance Peak
- 2024-11-13 19:18:43 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Nov 10 00 2,001 200.297s 0.004s 200.428s 01 407 40.755s 0.001s 40.771s 02 8,733 874.243s 0.004s 874.424s 03 988 98.957s 0.004s 99.04s 04 1,107 110.841s 0.002s 110.871s 05 2,355 235.721s 0.005s 235.804s 06 1,996 199.885s 0.003s 199.97s 07 1,435 143.607s 0.003s 143.637s 08 6,406 641.468s 0.003s 641.574s 09 5,154 515.926s 0.003s 516.027s 10 3,044 304.815s 0.003s 304.896s 11 3,797 380.216s 0.003s 380.309s 12 709 71.099s 0.002s 71.129s 13 499 50.158s 0.002s 50.188s 14 681 68.383s 0.002s 68.413s 15 608 61.083s 0.002s 61.128s 16 568 56.976s 0.002s 57.007s 17 435 43.755s 0.002s 43.785s 18 607 60.967s 0.002s 60.998s 19 436 43.841s 0.002s 43.87s 20 2,870 287.522s 0.002s 287.581s 21 45,514 2,391.02s 0.004s 2,391.067s 22 3,693 369.979s 0.001s 370.092s 23 28,698 2,064.152s 0.004s 2,064.404s Nov 11 00 18,021 1,630.113s 0.003s 1,630.258s 01 34,843 1,821.199s 0.003s 1,821.542s 02 8,127 813.867s 0.003s 813.997s 03 200 20.125s 0.001s 20.14s 04 89,756 1,855.725s 0.003s 1,856.308s 05 4,573 457.945s 0.002s 458.048s 06 106 10.705s 0.001s 10.719s 07 51,925 1,680.43s 0.004s 1,680.925s 08 493 49.464s 0.003s 49.493s 09 2,896 290.117s 0.003s 290.197s 10 2,258 226.342s 0.002s 226.421s 11 2,295 229.799s 0.002s 229.878s 12 2,854 285.89s 0.002s 285.972s 13 889 89.219s 0.002s 89.249s 14 3,551 355.584s 0.005s 355.718s 15 407 40.95s 0.003s 40.981s 16 631 63.393s 0.002s 63.424s 17 823 82.525s 0.004s 82.557s 18 891 89.4s 0.002s 89.477s 19 456 45.731s 0.002s 45.761s 20 372 37.425s 0.003s 37.455s 21 1,952 195.67s 0.003s 195.753s 22 757 75.882s 0.002s 75.913s 23 1,462 146.597s 0.002s 146.627s Nov 12 00 4,016 402.113s 0.003s 402.258s 01 46,992 1,637.728s 0.003s 1,637.976s 02 3,368 337.537s 0.003s 337.629s 03 2,206 221.138s 0.003s 221.218s 04 6,933 694.2s 0.003s 694.316s 05 843 84.58s 0.003s 84.613s 06 56,175 1,619.429s 0.002s 1,619.899s 07 6,163 617.285s 0.005s 617.331s 08 300 29.994s 0.04s 30.085s 09 17,286 1,730.926s 0.004s 1,731.133s 10 935 93.823s 0.004s 93.855s 11 502 50.354s 0.002s 50.387s 12 2,435 244.044s 0.004s 244.127s 13 61,476 1,651.462s 0.004s 1,651.545s 14 1,080 108.251s 0.004s 108.282s 15 660 66.316s 0.004s 66.347s 16 692 69.481s 0.004s 69.565s 17 569 57.166s 0.004s 57.197s 18 540 54.167s 0.003s 54.198s 19 803 80.603s 0.002s 80.634s 20 695 69.798s 0.002s 69.829s 21 2,497 250.173s 0.003s 250.217s 22 2,785 279.097s 0.003s 279.228s 23 521 52.352s 0.002s 52.382s Nov 13 00 10,343 1,035.651s 0.003s 1,035.856s 01 135 13.605s 0.001s 13.62s 02 11,710 1,172.918s 0.002s 1,173.058s 03 69,717 2,565.657s 0.005s 2,566.025s 04 2,646 265.225s 0.002s 265.302s 05 2,678 268.191s 0.002s 268.267s 06 2,811 281.512s 0.002s 281.542s 07 15,435 1,545.697s 0.004s 1,545.944s 08 2,752 275.802s 0.002s 275.877s 09 50,785 1,649.253s 0.003s 1,649.72s 10 486 48.784s 0.001s 48.799s 11 54,421 1,933.78s 0.004s 1,934.101s 12 2,825 283.127s 0.002s 283.216s 13 665 66.767s 0.003s 66.798s 14 120,707 1,637s 0.002s 1,637.505s 15 614 61.682s 0.002s 61.711s 16 500 50.158s 0.002s 50.188s 17 268 27.004s 0.002s 27.034s 18 131 13.208s 0.001s 13.224s 19 108,631 1,647.165s 0.004s 1,648.129s 20 1,233 123.673s 0.003s 123.703s 21 493 49.473s 0.002s 49.505s 22 602 60.474s 0.002s 60.506s 23 227 22.915s 0.002s 22.959s Nov 14 00 1,284 128.807s 0.003s 128.879s 01 199 20.108s 0.002s 20.14s 02 57,374 1,619.22s 0.002s 1,619.722s 03 25,112 2,514.083s 0.006s 2,514.334s 04 753 75.624s 0.002s 75.655s 05 132,476 1,631.659s 0.002s 1,632.198s 06 923 92.629s 0.002s 92.659s 07 1,022 102.57s 0.002s 102.6s 08 327 32.936s 0.002s 32.977s 09 3,777 378.369s 0.002s 378.459s 10 3,160 316.507s 0.002s 316.549s 11 342 34.438s 0.002s 34.469s 12 825 82.715s 0.003s 82.745s 13 1,180 118.089s 0.004s 118.166s 14 761 76.422s 0.004s 76.453s 15 4,782 478.786s 0.002s 478.885s 16 407 40.942s 0.002s 40.972s 17 54,736 1,654.721s 0.002s 1,655.227s 18 385 38.63s 0.002s 38.66s 19 399 40.143s 0.003s 40.173s 20 505 50.764s 0.002s 50.793s 21 619 62.075s 0.003s 62.106s 22 985 98.644s 0.002s 98.72s 23 51,213 1,641.519s 0.002s 1,641.989s Nov 15 00 1,516 151.932s 0.003s 152.052s 01 10,841 1,085.442s 0.002s 1,085.638s 02 6,434 644.267s 0.005s 644.313s 03 703 70.584s 0.002s 70.666s 04 1,048 105.035s 0.002s 105.065s 05 1,207 120.94s 0.004s 120.973s 06 552 55.397s 0.001s 55.464s 07 33,770 1,973.6s 0.007s 1,973.807s 08 42,601 1,732.667s 0.003s 1,733.056s 09 963 96.632s 0.003s 96.71s 10 916 91.825s 0.003s 91.854s 11 2,466 246.992s 0.001s 247.054s 12 56,246 1,673.7s 0.004s 1,674.232s 13 1,721 172.287s 0.003s 172.318s 14 5,664 567.434s 0.003s 567.534s 15 1,072 107.469s 0.002s 107.499s 16 1,124 112.677s 0.003s 112.753s 17 1,322 132.606s 0.002s 132.635s 18 5,363 537.074s 0.003s 537.177s 19 637 63.985s 0.002s 64.016s 20 1,126 112.763s 0.004s 112.841s 21 3,619 362.6s 0.002s 362.644s 22 143,677 1,635.485s 0.003s 1,635.956s 23 545 54.757s 0.002s 54.788s Nov 16 00 1,541 154.461s 0.003s 154.592s 01 605 60.681s 0.002s 60.756s 02 3,146 315.231s 0.003s 315.311s 03 614 61.58s 0.002s 61.611s 04 686 68.684s 0.002s 68.715s 05 786 78.7s 0.002s 78.779s 06 981 98.244s 0.002s 98.275s 07 6,287 629.669s 0.002s 629.748s 08 707 70.889s 0.003s 70.919s 09 819 82.117s 0.003s 82.149s 10 2,283 228.776s 0.002s 228.854s 11 929 93.119s 0.003s 93.198s 12 711 71.432s 0.003s 71.463s 13 868 87.013s 0.002s 87.044s 14 592 59.366s 0.004s 59.398s 15 925 92.822s 0.002s 92.902s 16 860 86.209s 0.002s 86.238s 17 643 64.58s 0.002s 64.61s 18 885 88.739s 0.003s 88.776s 19 747 74.908s 0.003s 74.993s 20 3,291 329.685s 0.002s 329.715s 21 957 95.92s 0.002s 95.951s 22 1,613 161.62s 0.002s 161.695s 23 5,011 501.533s 0.002s 501.623s Day Hour Added Removed Recycled Synced files Longest sync Average sync Nov 10 00 0 0 2 79 0.001s 0.002s 01 0 0 0 21 0.001s 0.001s 02 0 0 5 73 0.001s 0.003s 03 0 0 1 36 0.002s 0.002s 04 0 0 0 36 0.001s 0.002s 05 0 0 1 88 0.004s 0.002s 06 0 0 1 139 0.001s 0.002s 07 0 0 0 120 0.001s 0.002s 08 0 0 3 57 0.001s 0.002s 09 0 0 3 41 0.001s 0.002s 10 0 0 1 44 0.001s 0.002s 11 0 0 2 33 0.002s 0.002s 12 0 0 0 40 0.001s 0.002s 13 0 0 0 24 0.001s 0.002s 14 0 0 0 20 0.001s 0.002s 15 0 0 1 111 0.001s 0.002s 16 0 0 0 76 0.001s 0.002s 17 0 0 0 21 0.001s 0.002s 18 0 0 0 26 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 3 3 21 0.002s 0.001s 21 0 0 0 61 0.001s 0.003s 22 0 0 5 27 0.001s 0.001s 23 0 0 14 71 0.001s 0.003s Nov 11 00 0 0 3 85 0.001s 0.002s 01 0 0 23 57 0.002s 0.002s 02 0 0 5 49 0.001s 0.002s 03 0 0 0 19 0.001s 0.001s 04 0 0 42 79 0.001s 0.003s 05 0 0 3 58 0.001s 0.002s 06 0 0 0 29 0.001s 0.001s 07 0 0 34 232 0.001s 0.003s 08 0 0 0 40 0.001s 0.002s 09 0 0 1 142 0.002s 0.002s 10 0 0 1 130 0.001s 0.002s 11 0 0 1 40 0.001s 0.002s 12 0 0 1 51 0.001s 0.002s 13 0 0 0 44 0.001s 0.002s 14 0 0 2 218 0.001s 0.002s 15 0 0 0 66 0.001s 0.002s 16 0 0 0 117 0.001s 0.002s 17 0 0 0 113 0.001s 0.002s 18 0 0 1 47 0.001s 0.002s 19 0 0 0 27 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 1 48 0.002s 0.002s 22 0 0 0 31 0.001s 0.002s 23 0 0 0 32 0.001s 0.002s Nov 12 00 0 0 3 88 0.001s 0.002s 01 0 0 15 56 0.001s 0.002s 02 0 0 2 35 0.001s 0.002s 03 0 0 1 47 0.001s 0.002s 04 0 0 4 49 0.001s 0.002s 05 0 0 0 55 0.001s 0.002s 06 0 0 35 85 0.001s 0.001s 07 0 0 0 193 0.001s 0.003s 08 0 0 3 74 0.019s 0.001s 09 0 0 7 404 0.001s 0.003s 10 0 0 0 136 0.001s 0.002s 11 0 0 0 69 0.001s 0.002s 12 0 0 1 117 0.001s 0.002s 13 0 0 1 127 0.001s 0.002s 14 0 0 0 126 0.001s 0.002s 15 0 0 0 116 0.001s 0.002s 16 0 0 1 131 0.001s 0.002s 17 0 0 0 109 0.001s 0.002s 18 0 0 0 43 0.001s 0.002s 19 0 0 0 72 0.001s 0.002s 20 0 0 0 40 0.001s 0.002s 21 0 0 1 34 0.001s 0.002s 22 0 0 2 45 0.001s 0.002s 23 0 0 0 28 0.001s 0.002s Nov 13 00 0 0 7 104 0.002s 0.002s 01 0 0 0 19 0.001s 0.001s 02 0 0 6 63 0.001s 0.002s 03 0 27 13 80 0.001s 0.003s 04 0 0 1 58 0.001s 0.002s 05 0 0 1 51 0.001s 0.002s 06 0 0 1 83 0.002s 0.001s 07 0 0 8 217 0.002s 0.003s 08 0 0 1 133 0.001s 0.002s 09 0 0 34 148 0.001s 0.002s 10 0 0 0 161 0.001s 0.001s 11 0 0 20 411 0.001s 0.003s 12 0 0 2 132 0.001s 0.002s 13 0 0 0 113 0.001s 0.002s 14 0 0 37 149 0.001s 0.002s 15 0 0 0 121 0.001s 0.002s 16 0 0 0 77 0.001s 0.002s 17 0 0 0 64 0.001s 0.002s 18 0 0 0 13 0.001s 0.001s 19 0 0 74 63 0.002s 0.003s 20 0 0 0 41 0.001s 0.002s 21 0 0 0 30 0.001s 0.002s 22 0 0 0 36 0.001s 0.002s 23 0 0 1 17 0.001s 0.002s Nov 14 00 0 0 0 82 0.002s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 0 38 36 0.001s 0.001s 03 0 0 14 92 0.002s 0.003s 04 0 0 0 50 0.001s 0.002s 05 0 0 40 48 0.001s 0.002s 06 0 0 0 105 0.001s 0.002s 07 0 0 0 143 0.001s 0.002s 08 0 0 1 79 0.001s 0.002s 09 0 0 2 149 0.001s 0.002s 10 0 0 1 134 0.001s 0.002s 11 0 0 0 78 0.001s 0.002s 12 0 0 0 129 0.001s 0.002s 13 0 0 1 221 0.001s 0.002s 14 0 0 0 179 0.001s 0.002s 15 0 0 3 114 0.001s 0.002s 16 0 0 0 69 0.001s 0.002s 17 0 0 37 107 0.001s 0.002s 18 0 0 0 28 0.001s 0.002s 19 0 0 0 28 0.001s 0.002s 20 0 0 0 30 0.001s 0.002s 21 0 0 0 24 0.001s 0.002s 22 0 0 1 37 0.001s 0.002s 23 0 0 34 40 0.001s 0.002s Nov 15 00 0 0 1 90 0.001s 0.002s 01 0 0 8 64 0.001s 0.002s 02 0 0 1 60 0.002s 0.002s 03 0 0 1 40 0.001s 0.002s 04 0 0 0 49 0.001s 0.002s 05 0 0 0 34 0.003s 0.002s 06 0 0 1 18 0.001s 0.001s 07 0 0 3 220 0.002s 0.003s 08 0 0 27 150 0.002s 0.002s 09 0 0 1 142 0.001s 0.002s 10 0 0 0 115 0.001s 0.002s 11 0 0 1 75 0.001s 0.001s 12 0 0 38 179 0.002s 0.003s 13 0 0 0 123 0.001s 0.002s 14 0 0 3 140 0.001s 0.002s 15 0 0 0 73 0.001s 0.002s 16 0 0 1 120 0.001s 0.002s 17 0 0 0 106 0.001s 0.002s 18 0 0 3 46 0.002s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 1 21 0.001s 0.002s 21 0 0 1 43 0.001s 0.002s 22 0 0 34 39 0.001s 0.002s 23 0 0 0 18 0.001s 0.002s Nov 16 00 0 0 2 79 0.001s 0.002s 01 0 0 1 48 0.001s 0.002s 02 0 0 1 56 0.001s 0.002s 03 0 0 0 39 0.001s 0.002s 04 0 0 0 38 0.001s 0.002s 05 0 0 1 31 0.001s 0.002s 06 0 0 0 35 0.001s 0.002s 07 0 0 4 48 0.001s 0.002s 08 0 0 0 27 0.001s 0.002s 09 0 0 0 42 0.001s 0.002s 10 0 0 1 40 0.001s 0.002s 11 0 0 1 29 0.001s 0.002s 12 0 0 0 20 0.002s 0.002s 13 0 0 0 31 0.001s 0.002s 14 0 0 0 18 0.001s 0.002s 15 0 0 1 22 0.001s 0.002s 16 0 0 0 28 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 33 0.001s 0.002s 19 0 0 1 23 0.001s 0.002s 20 0 0 0 23 0.001s 0.002s 21 0 0 0 26 0.001s 0.002s 22 0 0 1 32 0.001s 0.002s 23 0 0 2 36 0.001s 0.002s Day Hour Count Avg time (sec) Nov 10 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 11 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 12 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 13 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 14 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 15 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 16 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Nov 10 00 16,121.00 kB 28,317.00 kB 01 2,460.00 kB 24,512.00 kB 02 26,007.67 kB 58,963.00 kB 03 3,289.50 kB 46,148.50 kB 04 3,476.50 kB 38,042.50 kB 05 7,058.00 kB 32,047.00 kB 06 4,917.00 kB 26,934.50 kB 07 4,654.50 kB 22,712.00 kB 08 27,026.50 kB 42,060.50 kB 09 21,076.00 kB 38,318.00 kB 10 9,910.50 kB 32,915.00 kB 11 13,058.50 kB 28,408.00 kB 12 1,910.50 kB 24,284.00 kB 13 1,266.00 kB 19,890.00 kB 14 1,645.00 kB 16,412.00 kB 15 1,700.00 kB 13,631.50 kB 16 1,549.50 kB 11,343.00 kB 17 1,152.50 kB 9,422.00 kB 18 1,284.50 kB 7,852.50 kB 19 1,138.00 kB 6,599.00 kB 20 22,077.00 kB 22,077.00 kB 21 27,261.67 kB 66,758.67 kB 22 34,065.00 kB 57,575.00 kB 23 91,908.00 kB 219,311.00 kB Nov 11 00 22,184.00 kB 173,387.00 kB 01 188,192.00 kB 342,757.00 kB 02 43,606.50 kB 286,625.50 kB 03 1,158.00 kB 244,537.00 kB 04 229,277.67 kB 607,754.67 kB 05 17,300.50 kB 468,671.00 kB 06 483.00 kB 400,748.00 kB 07 185,450.67 kB 498,940.00 kB 08 1,337.50 kB 382,885.50 kB 09 8,974.00 kB 311,158.50 kB 10 7,520.00 kB 254,150.50 kB 11 7,740.50 kB 207,357.00 kB 12 9,850.50 kB 169,803.50 kB 13 3,111.00 kB 137,960.50 kB 14 12,804.00 kB 113,647.00 kB 15 1,217.50 kB 92,972.50 kB 16 1,712.00 kB 75,646.50 kB 17 1,709.50 kB 61,591.50 kB 18 1,819.50 kB 50,258.50 kB 19 1,225.00 kB 40,921.00 kB 20 1,128.00 kB 33,378.00 kB 21 5,600.00 kB 27,959.50 kB 22 1,687.00 kB 23,080.50 kB 23 4,605.50 kB 19,598.50 kB Nov 12 00 20,716.00 kB 38,584.50 kB 01 126,152.00 kB 238,700.00 kB 02 15,490.00 kB 196,335.50 kB 03 7,430.00 kB 159,823.00 kB 04 30,740.50 kB 135,861.50 kB 05 2,204.50 kB 110,385.50 kB 06 505,625.00 kB 505,625.00 kB 07 20,827.67 kB 416,585.67 kB 08 1,628.00 kB 336,498.00 kB 09 54,758.00 kB 286,204.67 kB 10 2,377.00 kB 222,126.50 kB 11 1,292.00 kB 180,181.50 kB 12 7,935.00 kB 146,851.00 kB 13 3,812.50 kB 120,237.00 kB 14 3,082.50 kB 97,876.00 kB 15 1,633.00 kB 79,707.50 kB 16 2,212.00 kB 64,950.00 kB 17 1,755.00 kB 52,997.00 kB 18 1,208.50 kB 43,173.50 kB 19 2,299.50 kB 35,302.00 kB 20 1,837.50 kB 28,969.00 kB 21 7,520.00 kB 24,385.00 kB 22 10,239.00 kB 22,166.00 kB 23 1,311.50 kB 18,303.00 kB Nov 13 00 55,570.00 kB 68,925.00 kB 01 861.00 kB 60,783.00 kB 02 55,593.00 kB 89,119.00 kB 03 215,535.33 kB 379,880.33 kB 04 10,206.50 kB 423,432.00 kB 05 8,740.50 kB 344,718.00 kB 06 17,668.00 kB 296,451.00 kB 07 43,855.33 kB 250,269.33 kB 08 8,706.00 kB 196,224.00 kB 09 277,072.00 kB 524,720.50 kB 10 2,761.00 kB 447,760.00 kB 11 109,016.33 kB 393,114.00 kB 12 9,520.00 kB 303,622.00 kB 13 1,189.50 kB 246,146.00 kB 14 304,503.50 kB 577,491.00 kB 15 1,369.50 kB 468,004.50 kB 16 1,335.50 kB 379,349.50 kB 17 776.50 kB 307,436.50 kB 18 580.00 kB 262,239.00 kB 19 400,859.67 kB 1,084,543.67 kB 20 3,665.00 kB 832,077.00 kB 21 1,064.00 kB 674,309.50 kB 22 1,702.50 kB 546,448.50 kB 23 627.50 kB 442,835.00 kB Nov 14 00 6,706.50 kB 359,826.50 kB 01 515.50 kB 291,708.00 kB 02 610,410.00 kB 610,410.00 kB 03 79,488.67 kB 513,994.33 kB 04 2,155.00 kB 398,313.50 kB 05 322,630.50 kB 611,864.00 kB 06 1,949.50 kB 495,908.00 kB 07 3,060.00 kB 402,311.00 kB 08 946.50 kB 326,068.50 kB 09 15,757.00 kB 265,789.50 kB 10 10,792.00 kB 217,806.00 kB 11 909.50 kB 177,473.00 kB 12 2,777.50 kB 144,208.00 kB 13 3,686.00 kB 117,548.00 kB 14 2,321.50 kB 95,650.00 kB 15 23,843.00 kB 82,036.50 kB 16 1,052.00 kB 66,643.00 kB 17 299,984.00 kB 567,818.00 kB 18 1,069.00 kB 460,197.50 kB 19 1,141.50 kB 372,979.50 kB 20 1,428.00 kB 302,349.50 kB 21 1,304.00 kB 245,163.00 kB 22 3,265.00 kB 199,089.50 kB 23 280,176.50 kB 530,334.00 kB Nov 15 00 10,593.00 kB 431,584.00 kB 01 49,709.50 kB 357,318.00 kB 02 25,556.00 kB 295,897.00 kB 03 2,256.50 kB 240,239.00 kB 04 2,982.00 kB 195,080.00 kB 05 3,359.00 kB 158,604.50 kB 06 2,308.00 kB 135,662.00 kB 07 19,547.67 kB 114,594.67 kB 08 222,370.00 kB 416,279.50 kB 09 2,965.00 kB 337,927.00 kB 10 2,622.50 kB 274,247.50 kB 11 16,771.00 kB 235,620.00 kB 12 205,985.33 kB 554,493.67 kB 13 5,105.50 kB 426,035.50 kB 14 20,508.00 kB 349,019.00 kB 15 2,729.00 kB 283,319.50 kB 16 3,493.00 kB 230,104.50 kB 17 2,754.50 kB 186,941.00 kB 18 25,328.00 kB 156,205.00 kB 19 1,811.50 kB 126,941.50 kB 20 3,648.00 kB 103,407.00 kB 21 11,262.50 kB 85,945.00 kB 22 279,564.50 kB 528,744.50 kB 23 1,685.50 kB 428,674.50 kB Nov 16 00 16,675.50 kB 350,401.00 kB 01 1,773.50 kB 284,157.00 kB 02 10,541.00 kB 231,785.50 kB 03 2,025.00 kB 188,454.00 kB 04 2,098.50 kB 153,042.00 kB 05 2,590.50 kB 124,392.50 kB 06 2,646.00 kB 101,297.50 kB 07 31,362.50 kB 88,022.50 kB 08 2,211.00 kB 71,727.00 kB 09 2,444.50 kB 58,577.50 kB 10 6,558.50 kB 48,658.50 kB 11 2,516.50 kB 39,914.50 kB 12 2,060.00 kB 32,746.50 kB 13 2,328.00 kB 26,982.50 kB 14 1,722.50 kB 22,182.50 kB 15 1,944.00 kB 18,321.00 kB 16 2,652.50 kB 15,353.50 kB 17 1,985.00 kB 12,811.50 kB 18 2,272.00 kB 10,780.50 kB 19 2,344.00 kB 9,182.00 kB 20 2,405.00 kB 7,893.50 kB 21 2,664.50 kB 6,909.50 kB 22 4,097.50 kB 6,261.00 kB 23 21,136.00 kB 22,459.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Nov 10 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 Nov 11 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 12 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 13 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 14 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 15 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 16 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 21.55 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-11-15 22:17:15 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 21.55 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-11-15 22:17:15 Date
Analyzes per table
Key values
- pubc.log_query (199) Main table analyzed (database ctdprd51)
- 238 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 199 ctdprd51.pub2.term_set_enrichment_agent 10 ctdprd51.pub2.term_set_enrichment 9 ctdprd51.edit.exp_outcome 4 ctdprd51.pub2.term_comp 2 ctdprd51.pub2.term_comp_agent 2 ctdprd51.edit.exp_receptor_gender 1 ctdprd51.edit.reference_ixn_anatomy 1 ctdprd51.edit.exp_event 1 ctdprd51.pg_catalog.pg_class 1 ctdprd51.edit.exp_stressor 1 ctdprd51.edit.exp_receptor 1 ctdprd51.edit.exp_receptor_race 1 ctdprd51.pg_catalog.pg_attribute 1 ctdprd51.edit.exp_stressor_stressor_src 1 ctdprd51.edit.exp_event_project 1 ctdprd51.edit.exp_event_assay_method 1 ctdprd51.edit.exposure 1 Total 238 Vacuums per table
Key values
- pubc.log_query (56) Main table vacuumed on database ctdprd51
- 78 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 56 39 49,283 0 8,345 0 2,354 12,094 1,364 10,397,672 ctdprd51.pub2.term_set_enrichment_agent 6 0 892,444 0 355,281 0 0 445,668 26 26,491,841 ctdprd51.pub2.term_set_enrichment 5 0 19,995 0 8,219 0 0 9,733 10 640,302 ctdprd51.pg_toast.pg_toast_486223 3 0 88 0 8 0 0 6 2 17,135 ctdprd51.pg_toast.pg_toast_2619 3 3 12,015 0 3,177 0 30,045 9,227 2,941 1,484,909 ctdprd51.pg_catalog.pg_statistic 2 2 1,387 0 269 0 34 847 251 1,125,529 ctdprd51.edit.exp_outcome 1 1 521 0 93 0 0 113 67 442,549 ctdprd51.pubc.log_query_bots 1 0 33,303 0 15,465 0 20,706 15,673 3 947,755 ctdprd51.pub2.term_comp_agent 1 0 155 0 37 0 0 33 2 15,158 Total 78 45 1,009,191 927 390,894 0 53,139 493,394 4,666 41,562,850 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (11376) Main table with removed tuples on database ctdprd51
- 12534 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 3 3 11,376 56,041 63 0 37,776 ctdprd51.pg_catalog.pg_statistic 2 2 768 4,812 0 0 580 ctdprd51.pubc.log_query 56 39 390 697,539 6 0 27,949 ctdprd51.pub2.term_set_enrichment_agent 6 0 0 202,298,832 0 0 2,298,859 ctdprd51.edit.exp_outcome 1 1 0 18,701 0 0 223 ctdprd51.pg_toast.pg_toast_486223 3 0 0 9 0 0 3 ctdprd51.pubc.log_query_bots 1 0 0 2,142,595 0 0 75,953 ctdprd51.pub2.term_set_enrichment 5 0 0 2,914,656 0 0 48,266 ctdprd51.pub2.term_comp_agent 1 0 0 12,791 0 0 113 Total 78 45 12,534 208,145,976 69 0 2,489,722 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pub2.term_set_enrichment_agent 6 0 0 0 ctdprd51.edit.exp_outcome 1 1 0 0 ctdprd51.pg_toast.pg_toast_486223 3 0 0 0 ctdprd51.pg_catalog.pg_statistic 2 2 768 0 ctdprd51.pubc.log_query_bots 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 3 3 11376 0 ctdprd51.pubc.log_query 56 39 390 0 ctdprd51.pub2.term_set_enrichment 5 0 0 0 ctdprd51.pub2.term_comp_agent 1 0 0 0 Total 78 45 12,534 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Nov 10 00 0 3 01 0 4 02 0 3 03 0 3 04 0 2 05 0 1 06 0 2 07 0 1 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 1 23 0 1 Nov 11 00 0 4 01 0 3 02 0 3 03 0 4 04 0 1 05 0 3 06 0 2 07 0 4 08 0 1 09 0 1 10 0 0 11 0 1 12 0 1 13 0 1 14 0 5 15 0 0 16 0 1 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 1 23 0 0 Nov 12 00 0 4 01 0 5 02 0 1 03 0 3 04 0 2 05 0 3 06 0 2 07 0 2 08 0 4 09 0 4 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 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 Nov 13 00 0 2 01 0 4 02 0 3 03 0 4 04 0 3 05 0 2 06 0 2 07 0 1 08 0 0 09 0 2 10 0 4 11 0 2 12 0 0 13 0 0 14 0 1 15 0 0 16 0 1 17 0 0 18 0 3 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 Nov 14 00 0 2 01 0 3 02 0 2 03 0 2 04 0 2 05 0 4 06 0 1 07 0 1 08 0 1 09 0 1 10 0 2 11 0 1 12 0 4 13 0 2 14 0 1 15 0 0 16 0 1 17 0 1 18 0 0 19 0 1 20 0 1 21 0 0 22 0 3 23 0 1 Nov 15 00 0 3 01 0 6 02 0 3 03 0 2 04 0 1 05 0 2 06 0 2 07 0 1 08 0 2 09 0 0 10 0 1 11 0 0 12 0 0 13 0 3 14 0 1 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 1 22 0 1 23 0 0 Nov 16 00 0 3 01 0 4 02 0 3 03 0 5 04 0 3 05 0 3 06 0 2 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 15 0 0 16 0 1 17 0 0 18 0 1 19 0 0 20 0 0 21 0 1 22 0 1 23 0 0 - 21.55 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
- 5,990 Total read queries
- 374 Total write queries
Queries by database
Key values
- unknown Main database
- 4,086 Requests
- 11h20m7s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 9,545 Requests
User Request type Count Duration load Total 2 26s937ms select 2 26s937ms postgres Total 108 46m21s copy to 108 46m21s pubeu Total 5,030 15h46m41s cte 38 1m51s others 2 2s325ms select 4,990 15h44m47s qaeu Total 78 3m51s cte 17 57s313ms select 61 2m54s unknown Total 9,545 1d1h58m8s copy to 683 6h35m53s cte 110 4m5s others 9 48s333ms select 8,743 19h17m22s zbx_monitor Total 2 2s243ms select 2 2s243ms Duration by user
Key values
- 1d1h58m8s (unknown) Main time consuming user
User Request type Count Duration load Total 2 26s937ms select 2 26s937ms postgres Total 108 46m21s copy to 108 46m21s pubeu Total 5,030 15h46m41s cte 38 1m51s others 2 2s325ms select 4,990 15h44m47s qaeu Total 78 3m51s cte 17 57s313ms select 61 2m54s unknown Total 9,545 1d1h58m8s copy to 683 6h35m53s cte 110 4m5s others 9 48s333ms select 8,743 19h17m22s zbx_monitor Total 2 2s243ms select 2 2s243ms Queries by host
Key values
- unknown Main host
- 14,765 Requests
- 1d18h35m33s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 6,323 Requests
- 19h1m31s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-11-14 00:07:12 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 6,134 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 39m45s 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 = '1394946')) ORDER BY r.sort_txt LIMIT 50;[ Date: 2024-11-12 08:34:51 - Bind query: yes ]
2 37m4s 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.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 'GALLSTONES' AND t.object_type_id = 3 AND gd.indirect_chem_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-11-12 05:47:59 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
3 23m47s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-11-16 19:43:46 ]
4 23m40s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-11-16 19:00:38 ]
5 18m58s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-11-16 00:18:59 ]
6 18m49s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-11-11 00:18:51 ]
7 18m48s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-15 02:52:27 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
8 18m45s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-11-15 00:18:47 ]
9 18m42s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-11-14 00:18:44 ]
10 18m42s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-11-13 00:18:44 ]
11 18m37s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-11-12 00:18:39 ]
12 18m36s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-11-10 00:18:38 ]
13 17m41s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-13 11:37:19 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 17m34s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-12 02:31:01 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 17m31s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-16 13:31:20 - Bind query: yes ]
16 17m29s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-10 15:17:27 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 17m29s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-15 01:26:39 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 17m29s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-16 22:20:01 - Bind query: yes ]
19 17m28s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-15 00:07:45 - Bind query: yes ]
20 17m26s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-10 01:38:31 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 7h28m25s 141 1s371ms 18m48s 3m10s 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 #1
Day Hour Count Duration Avg duration Nov 10 01 1 17m26s 17m26s 14 1 3s219ms 3s219ms 15 3 34m44s 11m34s 17 11 16m5s 1m27s Nov 11 12 2 4s901ms 2s450ms 16 6 4m50s 48s356ms 17 16 26m25s 1m39s Nov 12 02 2 28m54s 14m27s 13 2 7m24s 3m42s 15 14 7m18s 31s341ms 16 1 9m20s 9m20s 17 2 4s783ms 2s391ms Nov 13 01 1 1s637ms 1s637ms 06 2 2m39s 1m19s 11 1 17m41s 17m41s 14 1 8m35s 8m35s 22 1 3s258ms 3s258ms 23 1 3m27s 3m27s Nov 14 00 7 4m15s 36s489ms 05 2 13m39s 6m49s 13 5 9m31s 1m54s 20 1 1s587ms 1s587ms 21 6 5m37s 56s276ms 22 8 16m47s 2m5s 23 2 13m40s 6m50s Nov 15 00 4 28m52s 7m13s 01 1 17m29s 17m29s 02 1 18m48s 18m48s 04 5 12m42s 2m32s 05 11 15m59s 1m27s 06 4 5s859ms 1s464ms 11 2 3s141ms 1s570ms 13 1 4m19s 4m19s Nov 16 10 2 6s442ms 3s221ms 13 2 29m5s 14m32s 16 1 8m48s 8m48s 17 4 34m25s 8m36s 20 2 2s828ms 1s414ms 22 2 28m50s 14m25s [ User: pubeu - Total duration: 4h2m25s - Times executed: 61 ]
-
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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-15 02:52:27 Duration: 18m48s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-13 11:37:19 Duration: 17m41s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-12 02:31:01 Duration: 17m34s Database: ctdprd51 User: pubeu Bind query: yes
2 2h11m12s 7 18m36s 18m58s 18m44s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 10 00 1 18m36s 18m36s Nov 11 00 1 18m49s 18m49s Nov 12 00 1 18m37s 18m37s Nov 13 00 1 18m42s 18m42s Nov 14 00 1 18m42s 18m42s Nov 15 00 1 18m45s 18m45s Nov 16 00 1 18m58s 18m58s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-11-16 00:18:59 Duration: 18m58s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-11-11 00:18:51 Duration: 18m49s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-11-15 00:18:47 Duration: 18m45s
3 1h13m39s 37 1s782ms 39m45s 1m59s 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 #3
Day Hour Count Duration Avg duration Nov 10 05 1 14s263ms 14s263ms 20 1 34s381ms 34s381ms 23 1 40s147ms 40s147ms Nov 11 03 1 1m4s 1m4s 04 4 1m26s 21s566ms 10 1 2s597ms 2s597ms Nov 12 07 6 3m52s 38s690ms 08 8 1h35s 7m34s Nov 13 04 1 2s652ms 2s652ms Nov 14 19 1 1m5s 1m5s Nov 15 05 5 46s18ms 9s203ms 07 1 2s244ms 2s244ms 08 1 2s145ms 2s145ms 12 3 1m28s 29s500ms 13 1 28s820ms 28s820ms Nov 16 08 1 1m13s 1m13s [ User: pubeu - Total duration: 24m42s - Times executed: 21 ]
-
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 = '1394946')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-12 08:34:51 Duration: 39m45s 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 = '2087497')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-12 08:01:01 Duration: 4m34s 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 = '2087497')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-12 08:00:53 Duration: 4m26s Database: ctdprd51 User: pubeu Bind query: yes
4 45m3s 704 3s540ms 17s474ms 3s840ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 10 00 9 34s657ms 3s850ms 01 22 1m23s 3s813ms 02 3 11s631ms 3s877ms 05 5 19s166ms 3s833ms 07 3 11s453ms 3s817ms 08 2 7s672ms 3s836ms 09 4 15s444ms 3s861ms 10 1 3s751ms 3s751ms 11 1 3s894ms 3s894ms 12 2 7s670ms 3s835ms 13 1 3s881ms 3s881ms 15 1 3s887ms 3s887ms 18 1 3s706ms 3s706ms 19 1 3s715ms 3s715ms 20 3 12s81ms 4s27ms 22 1 3s767ms 3s767ms 23 1 3s900ms 3s900ms Nov 11 00 1 3s735ms 3s735ms 01 2 7s380ms 3s690ms 02 6 22s927ms 3s821ms 03 2 7s508ms 3s754ms 04 1 3s886ms 3s886ms 05 1 3s787ms 3s787ms 06 4 15s601ms 3s900ms 07 2 7s619ms 3s809ms 08 1 3s797ms 3s797ms 09 4 15s290ms 3s822ms 10 7 27s6ms 3s858ms 11 2 7s805ms 3s902ms 12 1 3s742ms 3s742ms 13 2 7s575ms 3s787ms 14 8 30s475ms 3s809ms 15 4 15s265ms 3s816ms 18 3 11s469ms 3s823ms 19 1 3s903ms 3s903ms 20 12 45s655ms 3s804ms 23 1 3s770ms 3s770ms Nov 12 00 2 7s654ms 3s827ms 01 1 3s990ms 3s990ms 03 1 3s708ms 3s708ms 04 7 27s160ms 3s880ms 05 3 11s681ms 3s893ms 07 5 20s753ms 4s150ms 08 3 12s658ms 4s219ms 09 3 11s391ms 3s797ms 10 2 7s532ms 3s766ms 11 4 15s611ms 3s902ms 12 4 15s343ms 3s835ms 13 6 22s946ms 3s824ms 14 2 7s791ms 3s895ms 16 1 3s756ms 3s756ms 17 3 11s494ms 3s831ms 18 1 3s772ms 3s772ms 19 1 3s787ms 3s787ms 20 7 26s981ms 3s854ms 21 2 7s617ms 3s808ms 22 2 7s710ms 3s855ms Nov 13 00 1 3s863ms 3s863ms 01 20 1m16s 3s818ms 02 58 3m40s 3s803ms 03 26 1m39s 3s815ms 04 22 1m24s 3s820ms 05 33 2m6s 3s836ms 06 3 12s172ms 4s57ms 07 7 26s506ms 3s786ms 09 5 19s121ms 3s824ms 10 6 22s769ms 3s794ms 11 3 11s641ms 3s880ms 12 1 3s823ms 3s823ms 13 2 7s585ms 3s792ms 15 1 3s922ms 3s922ms 16 2 7s783ms 3s891ms 17 1 3s705ms 3s705ms 19 2 7s345ms 3s672ms 20 19 1m12s 3s807ms 21 31 1m54s 3s708ms 22 12 45s868ms 3s822ms 23 14 52s577ms 3s755ms Nov 14 00 22 1m23s 3s792ms 01 21 1m19s 3s772ms 02 24 1m32s 3s838ms 03 27 1m43s 3s820ms 04 31 1m57s 3s785ms 05 2 7s345ms 3s672ms 06 1 4s186ms 4s186ms 07 2 7s465ms 3s732ms 09 2 7s745ms 3s872ms 10 2 7s614ms 3s807ms 11 1 3s622ms 3s622ms 12 3 12s26ms 4s8ms 13 1 3s677ms 3s677ms 14 1 3s758ms 3s758ms 15 1 5s595ms 5s595ms 16 1 3s679ms 3s679ms 17 16 58s838ms 3s677ms 20 29 1m49s 3s770ms 22 3 11s250ms 3s750ms 23 2 7s930ms 3s965ms Nov 15 00 1 3s811ms 3s811ms 01 1 3s976ms 3s976ms 02 5 18s848ms 3s769ms 03 1 3s927ms 3s927ms 04 2 7s730ms 3s865ms 05 1 3s939ms 3s939ms 07 3 25s317ms 8s439ms 08 4 16s748ms 4s187ms 09 3 11s686ms 3s895ms 11 2 7s680ms 3s840ms 12 1 3s921ms 3s921ms 14 4 15s439ms 3s859ms 20 2 7s867ms 3s933ms 21 3 11s270ms 3s756ms 22 1 3s956ms 3s956ms Nov 16 02 2 8s21ms 4s10ms 04 2 7s598ms 3s799ms 05 1 3s848ms 3s848ms 08 1 4s166ms 4s166ms 09 6 24s78ms 4s13ms 10 3 11s473ms 3s824ms 11 4 15s262ms 3s815ms 12 1 3s732ms 3s732ms 13 1 3s927ms 3s927ms 16 1 3s787ms 3s787ms 20 1 3s872ms 3s872ms [ User: pubeu - Total duration: 19m56s - Times executed: 309 ]
-
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 = '1394946') 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 = '1394946') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-11-15 07:03:12 Duration: 17s474ms 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 = '1424183') 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 = '1424183') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-11-14 15:40:15 Duration: 5s595ms 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 = '1424183') 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 = '1424183') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-11-12 07:54:20 Duration: 5s548ms Database: ctdprd51 User: pubeu Bind query: yes
5 37m4s 1 37m4s 37m4s 37m4s 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 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 gd.indirect_chem_qty > ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 12 05 1 37m4s 37m4s [ User: pubeu - Total duration: 37m4s - 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 = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) 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 'GALLSTONES' AND t.object_type_id = 3 AND gd.indirect_chem_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-12 05:47:59 Duration: 37m4s Database: ctdprd51 User: pubeu Bind query: yes
6 33m8s 4 42s616ms 10m58s 8m17s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 15 02 2 11m15s 5m37s 03 2 21m52s 10m56s [ User: pubeu - Total duration: 21m31s - Times executed: 2 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PINK1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-70326' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'DEOXYGLUCOSE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-11-15 03:00:18 Duration: 10m58s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PINK1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-70326' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'DEOXYGLUCOSE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-11-15 03:14:23 Duration: 10m54s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PINK1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-70326' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'DEOXYGLUCOSE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-11-15 02:54:48 Duration: 10m33s Database: ctdprd51 User: pubeu Bind query: yes
7 26m46s 1,461 1s 1s958ms 1s99ms 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 #7
Day Hour Count Duration Avg duration Nov 10 00 9 10s308ms 1s145ms 01 4 4s612ms 1s153ms 02 1 1s143ms 1s143ms 03 4 4s535ms 1s133ms 04 5 5s621ms 1s124ms 05 3 3s558ms 1s186ms 06 6 6s644ms 1s107ms 07 1 1s110ms 1s110ms 08 2 2s184ms 1s92ms 09 2 2s206ms 1s103ms 10 9 10s56ms 1s117ms 11 5 5s567ms 1s113ms 12 8 8s843ms 1s105ms 13 11 12s204ms 1s109ms 14 5 5s548ms 1s109ms 15 1 1s135ms 1s135ms 16 7 7s866ms 1s123ms 17 3 3s354ms 1s118ms 18 2 2s178ms 1s89ms 19 4 4s400ms 1s100ms 20 4 4s324ms 1s81ms 21 6 6s536ms 1s89ms 22 8 9s188ms 1s148ms 23 7 7s942ms 1s134ms Nov 11 00 5 5s685ms 1s137ms 01 6 6s754ms 1s125ms 02 4 4s437ms 1s109ms 03 7 7s986ms 1s140ms 04 7 7s807ms 1s115ms 05 8 9s61ms 1s132ms 06 5 5s449ms 1s89ms 07 4 4s346ms 1s86ms 08 3 3s518ms 1s172ms 09 10 11s69ms 1s106ms 10 5 5s548ms 1s109ms 11 3 3s248ms 1s82ms 12 4 4s290ms 1s72ms 13 14 15s93ms 1s78ms 14 6 6s555ms 1s92ms 15 8 8s733ms 1s91ms 16 4 4s356ms 1s89ms 17 3 3s255ms 1s85ms 18 7 7s521ms 1s74ms 19 2 2s147ms 1s73ms 20 2 2s214ms 1s107ms 21 6 6s480ms 1s80ms 22 5 5s543ms 1s108ms 23 1 1s66ms 1s66ms Nov 12 00 3 3s358ms 1s119ms 01 5 5s642ms 1s128ms 03 6 6s735ms 1s122ms 04 5 5s504ms 1s100ms 05 8 9s180ms 1s147ms 06 4 4s397ms 1s99ms 07 4 4s427ms 1s106ms 08 4 4s454ms 1s113ms 09 5 5s358ms 1s71ms 10 2 2s197ms 1s98ms 11 4 4s369ms 1s92ms 12 5 5s457ms 1s91ms 13 2 2s185ms 1s92ms 14 6 6s443ms 1s73ms 15 8 8s802ms 1s100ms 16 7 7s647ms 1s92ms 17 3 3s326ms 1s108ms 18 4 4s308ms 1s77ms 19 4 4s290ms 1s72ms 20 6 6s314ms 1s52ms 21 4 4s348ms 1s87ms 22 3 3s243ms 1s81ms 23 3 3s241ms 1s80ms Nov 13 00 2 2s212ms 1s106ms 01 9 10s23ms 1s113ms 02 4 4s304ms 1s76ms 03 3 3s406ms 1s135ms 04 2 2s123ms 1s61ms 05 7 7s978ms 1s139ms 06 3 3s299ms 1s99ms 07 2 2s110ms 1s55ms 08 5 5s348ms 1s69ms 09 5 5s358ms 1s71ms 10 4 4s283ms 1s70ms 11 7 7s696ms 1s99ms 12 7 7s616ms 1s88ms 13 4 4s385ms 1s96ms 14 3 3s263ms 1s87ms 15 1 1s105ms 1s105ms 16 4 4s414ms 1s103ms 17 3 3s141ms 1s47ms 18 1 1s83ms 1s83ms 19 2 2s146ms 1s73ms 20 3 3s277ms 1s92ms 21 3 3s240ms 1s80ms 23 4 4s542ms 1s135ms Nov 14 00 2 2s115ms 1s57ms 01 2 2s207ms 1s103ms 03 2 2s78ms 1s39ms 05 5 5s406ms 1s81ms 06 1 1s96ms 1s96ms 07 6 6s353ms 1s58ms 08 5 5s444ms 1s88ms 09 2 2s230ms 1s115ms 10 8 8s614ms 1s76ms 11 6 6s576ms 1s96ms 12 3 3s273ms 1s91ms 13 2 2s215ms 1s107ms 14 8 8s548ms 1s68ms 15 3 3s261ms 1s87ms 16 4 4s315ms 1s78ms 17 6 6s498ms 1s83ms 18 6 6s550ms 1s91ms 19 4 4s232ms 1s58ms 20 3 3s285ms 1s95ms 21 5 5s528ms 1s105ms 22 7 8s717ms 1s245ms 23 9 9s690ms 1s76ms Nov 15 00 23 25s240ms 1s97ms 01 8 8s616ms 1s77ms 02 5 5s615ms 1s123ms 03 26 28s654ms 1s102ms 04 17 18s658ms 1s97ms 05 28 31s715ms 1s132ms 06 19 21s612ms 1s137ms 07 11 12s237ms 1s112ms 08 11 12s529ms 1s139ms 09 14 15s373ms 1s98ms 10 36 39s109ms 1s86ms 11 23 25s211ms 1s96ms 12 27 29s133ms 1s79ms 13 21 22s845ms 1s87ms 14 27 29s508ms 1s92ms 15 18 19s718ms 1s95ms 16 21 22s733ms 1s82ms 17 17 18s590ms 1s93ms 18 23 24s935ms 1s84ms 19 23 25s93ms 1s91ms 20 19 20s450ms 1s76ms 21 16 17s682ms 1s105ms 22 3 3s369ms 1s123ms 23 2 2s234ms 1s117ms Nov 16 00 21 22s979ms 1s94ms 01 26 28s442ms 1s93ms 02 22 24s199ms 1s99ms 03 19 21s130ms 1s112ms 04 18 19s834ms 1s101ms 05 14 15s706ms 1s121ms 06 14 15s501ms 1s107ms 07 24 26s332ms 1s97ms 08 20 22s131ms 1s106ms 09 14 15s233ms 1s88ms 10 20 22s117ms 1s105ms 11 15 16s603ms 1s106ms 12 30 32s989ms 1s99ms 13 22 23s934ms 1s87ms 14 20 22s166ms 1s108ms 15 15 16s368ms 1s91ms 16 27 29s709ms 1s100ms 17 23 25s430ms 1s105ms 18 21 23s3ms 1s95ms 19 18 19s495ms 1s83ms 20 34 37s72ms 1s90ms 21 6 6s493ms 1s82ms 22 21 23s73ms 1s98ms 23 21 22s946ms 1s92ms [ User: pubeu - Total duration: 9m49s - Times executed: 535 ]
-
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 = '1604402' or receptorTerm.id = '1604402' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-11-14 22:29:56 Duration: 1s958ms 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 = '1439302' or receptorTerm.id = '1439302' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-11-15 05:43:49 Duration: 1s283ms 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 = '1439302' or receptorTerm.id = '1439302' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-11-15 05:38:50 Duration: 1s270ms Database: ctdprd51 User: pubeu Bind query: yes
8 23m47s 1 23m47s 23m47s 23m47s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 16 19 1 23m47s 23m47s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-11-16 19:43:46 Duration: 23m47s
9 23m40s 1 23m40s 23m40s 23m40s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 16 19 1 23m40s 23m40s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-11-16 19:00:38 Duration: 23m40s
10 21m39s 2 10m47s 10m51s 10m49s select gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_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 gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?));Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 11 07 1 10m47s 10m47s Nov 15 14 1 10m51s 10m51s [ User: pubeu - Total duration: 10m51s - Times executed: 1 ]
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_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'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-11-15 14:15:29 Duration: 10m51s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_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'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-11-11 07:39:21 Duration: 10m47s Bind query: yes
11 21m32s 2 10m43s 10m49s 10m46s 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 gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 11 07 1 10m43s 10m43s Nov 15 14 1 10m49s 10m49s [ User: pubeu - Total duration: 10m49s - 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 = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-15 14:25:43 Duration: 10m49s Database: ctdprd51 User: pubeu 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'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-11 07:49:23 Duration: 10m43s Bind query: yes
12 19m36s 198 1s31ms 24s878ms 5s942ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 10 01 3 24s754ms 8s251ms 06 1 1s71ms 1s71ms 08 1 1s459ms 1s459ms 13 1 1s177ms 1s177ms 14 4 37s13ms 9s253ms 15 1 9s832ms 9s832ms 16 1 1s94ms 1s94ms 17 14 1m31s 6s514ms 20 2 2s736ms 1s368ms 21 1 1s526ms 1s526ms Nov 11 00 1 1s703ms 1s703ms 01 1 1s738ms 1s738ms 06 1 1s80ms 1s80ms 07 3 1m8s 22s712ms 12 2 21s774ms 10s887ms 13 1 1s75ms 1s75ms 16 5 48s947ms 9s789ms 17 12 24s714ms 2s59ms 21 1 7s329ms 7s329ms Nov 12 02 4 15s443ms 3s860ms 03 1 1s438ms 1s438ms 09 1 1s498ms 1s498ms 13 2 4s160ms 2s80ms 15 11 1m6s 6s49ms 17 2 22s243ms 11s121ms Nov 13 11 2 16s259ms 8s129ms 15 1 1s550ms 1s550ms 22 8 2m27s 18s397ms 23 4 58s1ms 14s500ms Nov 14 00 6 1m 10s29ms 04 2 2s156ms 1s78ms 05 14 55s946ms 3s996ms 07 2 2s68ms 1s34ms 13 4 23s788ms 5s947ms 17 1 1s770ms 1s770ms 18 1 1s92ms 1s92ms 20 2 7s444ms 3s722ms 21 8 14s 1s750ms 22 7 15s589ms 2s227ms 23 9 43s82ms 4s786ms Nov 15 05 9 1m14s 8s294ms 08 1 1s146ms 1s146ms 11 5 7s144ms 1s428ms 22 1 1s49ms 1s49ms Nov 16 04 4 13s842ms 3s460ms 06 1 3s296ms 3s296ms 07 3 21s430ms 7s143ms 08 1 7s245ms 7s245ms 09 5 7s931ms 1s586ms 10 5 1m20s 16s 12 1 1s63ms 1s63ms 13 7 24s589ms 3s512ms 17 1 1s398ms 1s398ms 20 2 6s990ms 3s495ms 21 1 1s450ms 1s450ms 22 3 13s629ms 4s543ms [ User: pubeu - Total duration: 8m7s - Times executed: 76 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-15 05:42:33 Duration: 24s878ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-13 22:56:40 Duration: 24s604ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-13 22:56:43 Duration: 23s821ms Database: ctdprd51 User: pubeu Bind query: yes
13 17m47s 306 1s9ms 11s635ms 3s489ms 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 #13
Day Hour Count Duration Avg duration Nov 10 05 2 13s747ms 6s873ms 06 1 6s385ms 6s385ms 07 2 11s880ms 5s940ms 08 8 33s281ms 4s160ms 09 16 1m 3s794ms 10 8 37s908ms 4s738ms 11 8 45s34ms 5s629ms 12 7 27s179ms 3s882ms 13 4 13s508ms 3s377ms 14 8 28s273ms 3s534ms 15 2 3s812ms 1s906ms 16 14 57s949ms 4s139ms 17 15 57s357ms 3s823ms 18 3 7s646ms 2s548ms 19 7 36s588ms 5s226ms 20 12 49s593ms 4s132ms 21 6 26s507ms 4s417ms 22 3 11s450ms 3s816ms 23 14 1m5s 4s645ms Nov 11 00 4 13s558ms 3s389ms 02 2 3s561ms 1s780ms 04 2 3s690ms 1s845ms 05 1 5s355ms 5s355ms 06 7 32s731ms 4s675ms 07 7 28s898ms 4s128ms 08 3 12s20ms 4s6ms 09 6 16s590ms 2s765ms 11 1 1s144ms 1s144ms 13 2 7s348ms 3s674ms 14 1 1s303ms 1s303ms 15 1 2s51ms 2s51ms 16 1 1s323ms 1s323ms 18 1 2s555ms 2s555ms 21 1 1s118ms 1s118ms 23 1 1s183ms 1s183ms Nov 12 00 1 6s208ms 6s208ms 01 4 8s951ms 2s237ms 02 3 7s814ms 2s604ms 04 1 1s277ms 1s277ms 08 1 2s513ms 2s513ms 09 1 3s876ms 3s876ms 13 1 2s482ms 2s482ms 15 1 2s549ms 2s549ms 16 1 1s301ms 1s301ms 17 1 2s484ms 2s484ms 19 1 6s380ms 6s380ms 22 1 1s136ms 1s136ms 23 1 1s140ms 1s140ms Nov 13 02 1 6s111ms 6s111ms 03 1 1s996ms 1s996ms 04 1 1s306ms 1s306ms 05 2 3s894ms 1s947ms 07 1 4s857ms 4s857ms 08 1 2s484ms 2s484ms 10 2 2s603ms 1s301ms 11 5 27s762ms 5s552ms 15 1 1s324ms 1s324ms 16 1 4s356ms 4s356ms 19 2 3s802ms 1s901ms 21 1 1s192ms 1s192ms Nov 14 03 2 11s61ms 5s530ms 04 1 2s486ms 2s486ms 05 2 9s20ms 4s510ms 07 1 2s470ms 2s470ms 09 1 1s145ms 1s145ms 10 2 3s756ms 1s878ms 11 1 4s710ms 4s710ms 14 1 2s511ms 2s511ms 16 1 1s42ms 1s42ms 18 1 1s333ms 1s333ms 19 2 9s667ms 4s833ms 20 2 2s912ms 1s456ms 21 5 18s808ms 3s761ms 22 2 2s338ms 1s169ms 23 11 34s657ms 3s150ms Nov 15 02 1 1s264ms 1s264ms 03 1 2s444ms 2s444ms 05 8 18s451ms 2s306ms 06 2 2s696ms 1s348ms 07 5 7s226ms 1s445ms 08 1 2s420ms 2s420ms 09 1 1s281ms 1s281ms 11 2 7s290ms 3s645ms 13 2 2s72ms 1s36ms 14 2 2s279ms 1s139ms 17 2 2s346ms 1s173ms 18 2 3s492ms 1s746ms Nov 16 01 2 4s785ms 2s392ms 08 2 3s537ms 1s768ms 09 1 1s443ms 1s443ms 13 3 12s804ms 4s268ms 17 15 41s802ms 2s786ms 21 1 4s113ms 4s113ms [ User: pubeu - Total duration: 6m45s - Times executed: 127 ]
-
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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-10 16:49:33 Duration: 11s635ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-10 23:02:47 Duration: 11s468ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-10 23:09:09 Duration: 11s434ms Bind query: yes
14 15m38s 25 37s225ms 38s548ms 37s529ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 10 06 1 37s522ms 37s522ms 10 1 37s306ms 37s306ms 14 1 37s299ms 37s299ms 18 1 37s311ms 37s311ms Nov 11 06 1 37s464ms 37s464ms 10 1 37s458ms 37s458ms 14 1 37s378ms 37s378ms 18 1 37s225ms 37s225ms Nov 12 06 1 37s395ms 37s395ms 10 1 37s428ms 37s428ms 14 1 37s455ms 37s455ms 18 1 37s412ms 37s412ms Nov 13 06 1 37s531ms 37s531ms 10 1 37s435ms 37s435ms 14 1 37s458ms 37s458ms 18 1 37s482ms 37s482ms Nov 14 06 1 37s448ms 37s448ms 10 1 37s809ms 37s809ms 14 1 37s531ms 37s531ms 18 1 37s474ms 37s474ms Nov 15 06 1 38s548ms 38s548ms 10 1 37s570ms 37s570ms 14 1 37s643ms 37s643ms 18 1 38s114ms 38s114ms Nov 16 19 1 37s518ms 37s518ms [ User: postgres - Total duration: 15m - Times executed: 24 ]
[ Application: pg_dump - Total duration: 15m - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-11-15 06:05:40 Duration: 38s548ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-11-15 18:05:40 Duration: 38s114ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-11-14 10:05:39 Duration: 37s809ms Database: ctdprd51 User: postgres Application: pg_dump
15 15m9s 199 1s5ms 6s560ms 4s572ms 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 Nov 10 00 1 4s758ms 4s758ms 03 1 5s199ms 5s199ms 07 2 8s975ms 4s487ms 08 1 1s67ms 1s67ms 09 2 9s570ms 4s785ms 11 2 9s532ms 4s766ms 13 1 4s422ms 4s422ms 14 1 4s632ms 4s632ms 16 10 41s435ms 4s143ms 17 2 8s631ms 4s315ms 18 1 5s274ms 5s274ms 19 2 9s640ms 4s820ms 20 5 20s995ms 4s199ms 21 1 4s918ms 4s918ms 22 3 14s97ms 4s699ms 23 2 10s46ms 5s23ms Nov 11 01 2 9s660ms 4s830ms 02 2 8s716ms 4s358ms 03 1 5s132ms 5s132ms 04 2 8s792ms 4s396ms 05 1 4s209ms 4s209ms 06 6 31s33ms 5s172ms 09 1 5s447ms 5s447ms 10 7 32s971ms 4s710ms 13 1 5s265ms 5s265ms 16 1 5s227ms 5s227ms 17 1 5s144ms 5s144ms 18 2 10s541ms 5s270ms 19 1 4s452ms 4s452ms Nov 12 00 1 4s296ms 4s296ms 01 1 5s506ms 5s506ms 04 6 24s848ms 4s141ms 07 1 5s201ms 5s201ms 08 2 7s175ms 3s587ms 15 5 24s444ms 4s888ms 16 1 4s923ms 4s923ms 17 1 4s865ms 4s865ms 18 1 4s865ms 4s865ms 20 1 4s817ms 4s817ms 21 1 4s724ms 4s724ms Nov 13 04 8 39s641ms 4s955ms 05 4 21s475ms 5s368ms 07 2 9s665ms 4s832ms 10 2 9s476ms 4s738ms 11 3 14s472ms 4s824ms 12 1 4s706ms 4s706ms 18 2 5s746ms 2s873ms 19 1 4s805ms 4s805ms 21 1 4s891ms 4s891ms Nov 14 00 1 1s64ms 1s64ms 01 6 29s476ms 4s912ms 05 1 4s884ms 4s884ms 06 1 4s789ms 4s789ms 09 1 4s697ms 4s697ms 10 2 9s599ms 4s799ms 14 2 9s738ms 4s869ms 20 3 11s61ms 3s687ms 22 7 32s305ms 4s615ms 23 3 15s660ms 5s220ms Nov 15 00 2 10s449ms 5s224ms 01 1 4s659ms 4s659ms 02 4 15s541ms 3s885ms 05 4 19s227ms 4s806ms 07 3 8s387ms 2s795ms 08 5 28s85ms 5s617ms 09 1 1s115ms 1s115ms 14 2 6s63ms 3s31ms 17 1 5s243ms 5s243ms 18 2 10s148ms 5s74ms 20 2 9s502ms 4s751ms 21 1 1s14ms 1s14ms Nov 16 02 2 9s787ms 4s893ms 04 1 1s8ms 1s8ms 05 4 21s92ms 5s273ms 06 1 1s5ms 1s5ms 07 2 9s667ms 4s833ms 08 3 14s645ms 4s881ms 09 1 4s563ms 4s563ms 13 3 14s544ms 4s848ms 14 2 9s404ms 4s702ms 17 2 10s247ms 5s123ms 18 3 15s165ms 5s55ms 19 6 29s686ms 4s947ms 20 3 15s82ms 5s27ms 23 1 1s10ms 1s10ms [ User: pubeu - Total duration: 6m21s - Times executed: 85 ]
-
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 = '1433053' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-15 08:26:16 Duration: 6s560ms 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 = '1384823' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-15 08:40:20 Duration: 6s404ms 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 = '1423332' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-15 07:22:10 Duration: 6s273ms Database: ctdprd51 User: pubeu Bind query: yes
16 10m41s 1 10m41s 10m41s 10m41s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where upper(tp.pathway_nm) like ? and tp.object_type_id = ?))) and gcr.chem_id = any (array ( select c.id from term c where c.nm_fts @@ to_tsquery(?, ?) and c.object_type_id = ?)) and gcr.taxon_id = any (array ( select t.id from term t where t.nm_fts @@ to_tsquery(?, ?) and t.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 16 10 1 10m41s 10m41s [ User: pubeu - Total duration: 10m41s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'MARCH8') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Name */ tp.term_id FROM term_pathway tp WHERE UPPER(tp.pathway_nm) LIKE 'IFN' AND tp.object_type_id = 4))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereContains */ c.id FROM term c WHERE c.nm_fts @@ to_tsquery('common.english_nostops', 'DEHP') AND c.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereContains */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'HOMO & SAPIENS & HUMAN') AND t.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-11-16 10:06:10 Duration: 10m41s Database: ctdprd51 User: pubeu Bind query: yes
17 8m45s 30 2s137ms 26s164ms 17s511ms 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 g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 10 11 1 19s414ms 19s414ms 21 4 45s362ms 11s340ms 22 1 19s378ms 19s378ms Nov 11 11 1 19s426ms 19s426ms Nov 14 21 1 20s500ms 20s500ms Nov 15 08 1 16s791ms 16s791ms 09 3 57s661ms 19s220ms 18 3 1m 20s40ms 20 2 39s372ms 19s686ms 21 1 26s164ms 26s164ms Nov 16 01 2 4s467ms 2s233ms 14 4 1m18s 19s636ms 15 2 39s976ms 19s988ms 22 2 39s125ms 19s562ms 23 2 39s24ms 19s512ms [ User: pubeu - Total duration: 4m28s - Times executed: 15 ]
-
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 = '2084734') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-15 21:19:28 Duration: 26s164ms 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 = '2080872') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-16 15:15:07 Duration: 20s520ms 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 = '2080498') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-14 21:39:04 Duration: 20s500ms Bind query: yes
18 8m15s 128 1s21ms 27s429ms 3s874ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 10 05 1 1s127ms 1s127ms 20 1 3s683ms 3s683ms Nov 11 03 1 1s21ms 1s21ms 17 1 2s157ms 2s157ms 21 18 21s708ms 1s206ms Nov 12 01 2 9s441ms 4s720ms 02 13 1m43s 7s989ms Nov 13 05 1 11s427ms 11s427ms 08 2 51s447ms 25s723ms 11 1 2s301ms 2s301ms 12 1 1s920ms 1s920ms 16 1 13s523ms 13s523ms Nov 14 09 2 3s988ms 1s994ms 11 2 16s469ms 8s234ms 13 1 2s258ms 2s258ms 23 17 33s276ms 1s957ms Nov 15 03 3 5s841ms 1s947ms 05 2 16s147ms 8s73ms 06 18 41s512ms 2s306ms 08 5 1m5s 13s48ms 09 2 7s85ms 3s542ms 12 5 6s214ms 1s242ms 13 1 1s113ms 1s113ms 14 1 3s580ms 3s580ms 15 1 2s334ms 2s334ms 17 1 1s951ms 1s951ms Nov 16 07 6 8s526ms 1s421ms 10 10 15s819ms 1s581ms 13 3 15s356ms 5s118ms 14 5 25s612ms 5s122ms [ User: pubeu - Total duration: 4m15s - Times executed: 70 ]
-
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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-15 08:25:26 Duration: 27s429ms 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-15 08:20:46 Duration: 26s993ms 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-13 08:52:47 Duration: 25s796ms Database: ctdprd51 User: pubeu Bind query: yes
19 8m5s 166 1s194ms 6s467ms 2s924ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 10 06 5 13s44ms 2s608ms 08 4 10s836ms 2s709ms 09 3 6s25ms 2s8ms 10 2 7s273ms 3s636ms 11 1 3s268ms 3s268ms 12 2 12s179ms 6s89ms 13 1 1s859ms 1s859ms 14 1 6s318ms 6s318ms 16 8 21s250ms 2s656ms 17 8 29s61ms 3s632ms 18 6 15s208ms 2s534ms 19 12 32s373ms 2s697ms 20 5 12s823ms 2s564ms 21 1 1s834ms 1s834ms 22 8 27s96ms 3s387ms 23 1 1s340ms 1s340ms Nov 11 00 2 12s257ms 6s128ms 01 2 9s55ms 4s527ms 02 2 7s835ms 3s917ms 03 4 13s160ms 3s290ms 05 2 8s206ms 4s103ms 10 8 21s242ms 2s655ms Nov 12 04 9 23s15ms 2s557ms 15 4 13s423ms 3s355ms 17 2 5s318ms 2s659ms Nov 13 01 5 13s936ms 2s787ms 04 9 23s149ms 2s572ms 18 4 12s592ms 3s148ms Nov 14 01 8 21s294ms 2s661ms 20 1 1s305ms 1s305ms 22 8 21s479ms 2s684ms Nov 15 05 5 14s72ms 2s814ms 08 1 2s109ms 2s109ms 20 3 11s413ms 3s804ms Nov 16 09 5 11s277ms 2s255ms 18 6 16s259ms 2s709ms 19 8 21s341ms 2s667ms [ User: pubeu - Total duration: 2m23s - Times executed: 49 ]
-
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 = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-10 22:46:32 Duration: 6s467ms 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 = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-11 03:55:04 Duration: 6s416ms 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 = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-10 14:46:49 Duration: 6s318ms Bind query: yes
20 7m41s 184 1s 4s611ms 2s506ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 10 06 1 4s362ms 4s362ms 07 2 2s595ms 1s297ms 08 3 4s571ms 1s523ms 09 4 9s916ms 2s479ms 14 3 9s329ms 3s109ms 16 10 23s590ms 2s359ms 17 8 27s646ms 3s455ms 18 10 22s596ms 2s259ms 19 12 34s871ms 2s905ms 20 7 17s876ms 2s553ms 21 1 3s240ms 3s240ms 22 6 17s529ms 2s921ms 23 3 4s554ms 1s518ms Nov 11 00 5 13s365ms 2s673ms 01 3 9s491ms 3s163ms 02 3 8s658ms 2s886ms 03 2 5s806ms 2s903ms 05 5 13s45ms 2s609ms 10 8 20s1ms 2s500ms 20 1 4s322ms 4s322ms Nov 12 04 8 21s78ms 2s634ms 15 7 14s443ms 2s63ms 17 1 1s179ms 1s179ms Nov 13 01 4 12s363ms 3s90ms 04 9 22s263ms 2s473ms 05 1 1s28ms 1s28ms 10 2 2s468ms 1s234ms 18 4 12s175ms 3s43ms Nov 14 00 1 1s7ms 1s7ms 01 9 21s739ms 2s415ms 20 2 2s372ms 1s186ms 22 12 26s39ms 2s169ms Nov 15 02 1 1s147ms 1s147ms 03 2 6s478ms 3s239ms 05 6 16s368ms 2s728ms 11 1 1s2ms 1s2ms 20 3 7s307ms 2s435ms Nov 16 09 1 1s237ms 1s237ms 16 1 1s272ms 1s272ms 18 3 8s584ms 2s861ms 19 9 22s262ms 2s473ms [ User: pubeu - Total duration: 1m56s - Times executed: 47 ]
-
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 = '1394946') 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 = '1394946') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-11-10 17:09:02 Duration: 4s611ms 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 = '1394946') 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 = '1394946') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-11-10 14:46:49 Duration: 4s605ms 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 = '1394946') 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 = '1394946') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-11-14 22:36:48 Duration: 4s601ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,461 26m46s 1s 1s958ms 1s99ms 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 Nov 10 00 9 10s308ms 1s145ms 01 4 4s612ms 1s153ms 02 1 1s143ms 1s143ms 03 4 4s535ms 1s133ms 04 5 5s621ms 1s124ms 05 3 3s558ms 1s186ms 06 6 6s644ms 1s107ms 07 1 1s110ms 1s110ms 08 2 2s184ms 1s92ms 09 2 2s206ms 1s103ms 10 9 10s56ms 1s117ms 11 5 5s567ms 1s113ms 12 8 8s843ms 1s105ms 13 11 12s204ms 1s109ms 14 5 5s548ms 1s109ms 15 1 1s135ms 1s135ms 16 7 7s866ms 1s123ms 17 3 3s354ms 1s118ms 18 2 2s178ms 1s89ms 19 4 4s400ms 1s100ms 20 4 4s324ms 1s81ms 21 6 6s536ms 1s89ms 22 8 9s188ms 1s148ms 23 7 7s942ms 1s134ms Nov 11 00 5 5s685ms 1s137ms 01 6 6s754ms 1s125ms 02 4 4s437ms 1s109ms 03 7 7s986ms 1s140ms 04 7 7s807ms 1s115ms 05 8 9s61ms 1s132ms 06 5 5s449ms 1s89ms 07 4 4s346ms 1s86ms 08 3 3s518ms 1s172ms 09 10 11s69ms 1s106ms 10 5 5s548ms 1s109ms 11 3 3s248ms 1s82ms 12 4 4s290ms 1s72ms 13 14 15s93ms 1s78ms 14 6 6s555ms 1s92ms 15 8 8s733ms 1s91ms 16 4 4s356ms 1s89ms 17 3 3s255ms 1s85ms 18 7 7s521ms 1s74ms 19 2 2s147ms 1s73ms 20 2 2s214ms 1s107ms 21 6 6s480ms 1s80ms 22 5 5s543ms 1s108ms 23 1 1s66ms 1s66ms Nov 12 00 3 3s358ms 1s119ms 01 5 5s642ms 1s128ms 03 6 6s735ms 1s122ms 04 5 5s504ms 1s100ms 05 8 9s180ms 1s147ms 06 4 4s397ms 1s99ms 07 4 4s427ms 1s106ms 08 4 4s454ms 1s113ms 09 5 5s358ms 1s71ms 10 2 2s197ms 1s98ms 11 4 4s369ms 1s92ms 12 5 5s457ms 1s91ms 13 2 2s185ms 1s92ms 14 6 6s443ms 1s73ms 15 8 8s802ms 1s100ms 16 7 7s647ms 1s92ms 17 3 3s326ms 1s108ms 18 4 4s308ms 1s77ms 19 4 4s290ms 1s72ms 20 6 6s314ms 1s52ms 21 4 4s348ms 1s87ms 22 3 3s243ms 1s81ms 23 3 3s241ms 1s80ms Nov 13 00 2 2s212ms 1s106ms 01 9 10s23ms 1s113ms 02 4 4s304ms 1s76ms 03 3 3s406ms 1s135ms 04 2 2s123ms 1s61ms 05 7 7s978ms 1s139ms 06 3 3s299ms 1s99ms 07 2 2s110ms 1s55ms 08 5 5s348ms 1s69ms 09 5 5s358ms 1s71ms 10 4 4s283ms 1s70ms 11 7 7s696ms 1s99ms 12 7 7s616ms 1s88ms 13 4 4s385ms 1s96ms 14 3 3s263ms 1s87ms 15 1 1s105ms 1s105ms 16 4 4s414ms 1s103ms 17 3 3s141ms 1s47ms 18 1 1s83ms 1s83ms 19 2 2s146ms 1s73ms 20 3 3s277ms 1s92ms 21 3 3s240ms 1s80ms 23 4 4s542ms 1s135ms Nov 14 00 2 2s115ms 1s57ms 01 2 2s207ms 1s103ms 03 2 2s78ms 1s39ms 05 5 5s406ms 1s81ms 06 1 1s96ms 1s96ms 07 6 6s353ms 1s58ms 08 5 5s444ms 1s88ms 09 2 2s230ms 1s115ms 10 8 8s614ms 1s76ms 11 6 6s576ms 1s96ms 12 3 3s273ms 1s91ms 13 2 2s215ms 1s107ms 14 8 8s548ms 1s68ms 15 3 3s261ms 1s87ms 16 4 4s315ms 1s78ms 17 6 6s498ms 1s83ms 18 6 6s550ms 1s91ms 19 4 4s232ms 1s58ms 20 3 3s285ms 1s95ms 21 5 5s528ms 1s105ms 22 7 8s717ms 1s245ms 23 9 9s690ms 1s76ms Nov 15 00 23 25s240ms 1s97ms 01 8 8s616ms 1s77ms 02 5 5s615ms 1s123ms 03 26 28s654ms 1s102ms 04 17 18s658ms 1s97ms 05 28 31s715ms 1s132ms 06 19 21s612ms 1s137ms 07 11 12s237ms 1s112ms 08 11 12s529ms 1s139ms 09 14 15s373ms 1s98ms 10 36 39s109ms 1s86ms 11 23 25s211ms 1s96ms 12 27 29s133ms 1s79ms 13 21 22s845ms 1s87ms 14 27 29s508ms 1s92ms 15 18 19s718ms 1s95ms 16 21 22s733ms 1s82ms 17 17 18s590ms 1s93ms 18 23 24s935ms 1s84ms 19 23 25s93ms 1s91ms 20 19 20s450ms 1s76ms 21 16 17s682ms 1s105ms 22 3 3s369ms 1s123ms 23 2 2s234ms 1s117ms Nov 16 00 21 22s979ms 1s94ms 01 26 28s442ms 1s93ms 02 22 24s199ms 1s99ms 03 19 21s130ms 1s112ms 04 18 19s834ms 1s101ms 05 14 15s706ms 1s121ms 06 14 15s501ms 1s107ms 07 24 26s332ms 1s97ms 08 20 22s131ms 1s106ms 09 14 15s233ms 1s88ms 10 20 22s117ms 1s105ms 11 15 16s603ms 1s106ms 12 30 32s989ms 1s99ms 13 22 23s934ms 1s87ms 14 20 22s166ms 1s108ms 15 15 16s368ms 1s91ms 16 27 29s709ms 1s100ms 17 23 25s430ms 1s105ms 18 21 23s3ms 1s95ms 19 18 19s495ms 1s83ms 20 34 37s72ms 1s90ms 21 6 6s493ms 1s82ms 22 21 23s73ms 1s98ms 23 21 22s946ms 1s92ms [ User: pubeu - Total duration: 9m49s - Times executed: 535 ]
-
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 = '1604402' or receptorTerm.id = '1604402' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-11-14 22:29:56 Duration: 1s958ms 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 = '1439302' or receptorTerm.id = '1439302' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-11-15 05:43:49 Duration: 1s283ms 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 = '1439302' or receptorTerm.id = '1439302' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-11-15 05:38:50 Duration: 1s270ms Database: ctdprd51 User: pubeu Bind query: yes
2 704 45m3s 3s540ms 17s474ms 3s840ms 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 #2
Day Hour Count Duration Avg duration Nov 10 00 9 34s657ms 3s850ms 01 22 1m23s 3s813ms 02 3 11s631ms 3s877ms 05 5 19s166ms 3s833ms 07 3 11s453ms 3s817ms 08 2 7s672ms 3s836ms 09 4 15s444ms 3s861ms 10 1 3s751ms 3s751ms 11 1 3s894ms 3s894ms 12 2 7s670ms 3s835ms 13 1 3s881ms 3s881ms 15 1 3s887ms 3s887ms 18 1 3s706ms 3s706ms 19 1 3s715ms 3s715ms 20 3 12s81ms 4s27ms 22 1 3s767ms 3s767ms 23 1 3s900ms 3s900ms Nov 11 00 1 3s735ms 3s735ms 01 2 7s380ms 3s690ms 02 6 22s927ms 3s821ms 03 2 7s508ms 3s754ms 04 1 3s886ms 3s886ms 05 1 3s787ms 3s787ms 06 4 15s601ms 3s900ms 07 2 7s619ms 3s809ms 08 1 3s797ms 3s797ms 09 4 15s290ms 3s822ms 10 7 27s6ms 3s858ms 11 2 7s805ms 3s902ms 12 1 3s742ms 3s742ms 13 2 7s575ms 3s787ms 14 8 30s475ms 3s809ms 15 4 15s265ms 3s816ms 18 3 11s469ms 3s823ms 19 1 3s903ms 3s903ms 20 12 45s655ms 3s804ms 23 1 3s770ms 3s770ms Nov 12 00 2 7s654ms 3s827ms 01 1 3s990ms 3s990ms 03 1 3s708ms 3s708ms 04 7 27s160ms 3s880ms 05 3 11s681ms 3s893ms 07 5 20s753ms 4s150ms 08 3 12s658ms 4s219ms 09 3 11s391ms 3s797ms 10 2 7s532ms 3s766ms 11 4 15s611ms 3s902ms 12 4 15s343ms 3s835ms 13 6 22s946ms 3s824ms 14 2 7s791ms 3s895ms 16 1 3s756ms 3s756ms 17 3 11s494ms 3s831ms 18 1 3s772ms 3s772ms 19 1 3s787ms 3s787ms 20 7 26s981ms 3s854ms 21 2 7s617ms 3s808ms 22 2 7s710ms 3s855ms Nov 13 00 1 3s863ms 3s863ms 01 20 1m16s 3s818ms 02 58 3m40s 3s803ms 03 26 1m39s 3s815ms 04 22 1m24s 3s820ms 05 33 2m6s 3s836ms 06 3 12s172ms 4s57ms 07 7 26s506ms 3s786ms 09 5 19s121ms 3s824ms 10 6 22s769ms 3s794ms 11 3 11s641ms 3s880ms 12 1 3s823ms 3s823ms 13 2 7s585ms 3s792ms 15 1 3s922ms 3s922ms 16 2 7s783ms 3s891ms 17 1 3s705ms 3s705ms 19 2 7s345ms 3s672ms 20 19 1m12s 3s807ms 21 31 1m54s 3s708ms 22 12 45s868ms 3s822ms 23 14 52s577ms 3s755ms Nov 14 00 22 1m23s 3s792ms 01 21 1m19s 3s772ms 02 24 1m32s 3s838ms 03 27 1m43s 3s820ms 04 31 1m57s 3s785ms 05 2 7s345ms 3s672ms 06 1 4s186ms 4s186ms 07 2 7s465ms 3s732ms 09 2 7s745ms 3s872ms 10 2 7s614ms 3s807ms 11 1 3s622ms 3s622ms 12 3 12s26ms 4s8ms 13 1 3s677ms 3s677ms 14 1 3s758ms 3s758ms 15 1 5s595ms 5s595ms 16 1 3s679ms 3s679ms 17 16 58s838ms 3s677ms 20 29 1m49s 3s770ms 22 3 11s250ms 3s750ms 23 2 7s930ms 3s965ms Nov 15 00 1 3s811ms 3s811ms 01 1 3s976ms 3s976ms 02 5 18s848ms 3s769ms 03 1 3s927ms 3s927ms 04 2 7s730ms 3s865ms 05 1 3s939ms 3s939ms 07 3 25s317ms 8s439ms 08 4 16s748ms 4s187ms 09 3 11s686ms 3s895ms 11 2 7s680ms 3s840ms 12 1 3s921ms 3s921ms 14 4 15s439ms 3s859ms 20 2 7s867ms 3s933ms 21 3 11s270ms 3s756ms 22 1 3s956ms 3s956ms Nov 16 02 2 8s21ms 4s10ms 04 2 7s598ms 3s799ms 05 1 3s848ms 3s848ms 08 1 4s166ms 4s166ms 09 6 24s78ms 4s13ms 10 3 11s473ms 3s824ms 11 4 15s262ms 3s815ms 12 1 3s732ms 3s732ms 13 1 3s927ms 3s927ms 16 1 3s787ms 3s787ms 20 1 3s872ms 3s872ms [ User: pubeu - Total duration: 19m56s - Times executed: 309 ]
-
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 = '1394946') 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 = '1394946') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-11-15 07:03:12 Duration: 17s474ms 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 = '1424183') 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 = '1424183') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-11-14 15:40:15 Duration: 5s595ms 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 = '1424183') 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 = '1424183') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-11-12 07:54:20 Duration: 5s548ms Database: ctdprd51 User: pubeu Bind query: yes
3 340 6m51s 1s69ms 2s312ms 1s210ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 10 00 2 2s466ms 1s233ms 02 1 1s267ms 1s267ms 04 2 2s455ms 1s227ms 05 3 3s797ms 1s265ms 06 1 1s192ms 1s192ms 07 2 2s457ms 1s228ms 08 1 1s218ms 1s218ms 10 2 2s452ms 1s226ms 11 2 2s472ms 1s236ms 12 2 2s467ms 1s233ms 14 1 1s247ms 1s247ms 16 1 1s195ms 1s195ms 17 1 1s247ms 1s247ms 19 2 2s569ms 1s284ms 20 2 2s406ms 1s203ms 22 1 1s250ms 1s250ms 23 2 2s444ms 1s222ms Nov 11 05 2 2s633ms 1s316ms 06 3 3s825ms 1s275ms 08 1 1s221ms 1s221ms 10 1 1s182ms 1s182ms 11 2 2s369ms 1s184ms 12 1 1s159ms 1s159ms 13 2 2s436ms 1s218ms 15 4 5s79ms 1s269ms 16 3 3s555ms 1s185ms 17 8 9s835ms 1s229ms 18 1 1s117ms 1s117ms 19 1 1s150ms 1s150ms 20 2 2s377ms 1s188ms 21 1 1s209ms 1s209ms 22 3 3s631ms 1s210ms Nov 12 00 1 1s148ms 1s148ms 05 3 3s882ms 1s294ms 06 2 2s407ms 1s203ms 07 3 3s557ms 1s185ms 08 1 1s273ms 1s273ms 09 1 1s218ms 1s218ms 11 1 1s206ms 1s206ms 12 2 2s387ms 1s193ms 14 1 1s146ms 1s146ms 15 3 3s692ms 1s230ms 17 2 2s395ms 1s197ms 18 1 1s192ms 1s192ms 19 2 2s305ms 1s152ms 20 1 1s199ms 1s199ms 21 2 2s397ms 1s198ms 22 2 2s456ms 1s228ms Nov 13 03 1 1s149ms 1s149ms 04 1 1s197ms 1s197ms 05 2 2s580ms 1s290ms 07 1 1s155ms 1s155ms 09 2 2s386ms 1s193ms 11 2 2s294ms 1s147ms 13 1 1s132ms 1s132ms 14 2 2s441ms 1s220ms 15 1 1s191ms 1s191ms 18 2 2s361ms 1s180ms 20 1 1s163ms 1s163ms 21 2 2s348ms 1s174ms 22 1 1s138ms 1s138ms 23 1 1s144ms 1s144ms Nov 14 00 1 1s224ms 1s224ms 01 1 1s145ms 1s145ms 02 1 1s268ms 1s268ms 03 2 2s380ms 1s190ms 05 2 2s430ms 1s215ms 06 1 1s128ms 1s128ms 07 1 1s171ms 1s171ms 08 2 2s380ms 1s190ms 10 5 5s972ms 1s194ms 12 1 1s169ms 1s169ms 14 2 2s374ms 1s187ms 15 1 1s201ms 1s201ms 18 2 2s395ms 1s197ms 19 2 2s280ms 1s140ms 20 5 6s21ms 1s204ms 21 5 6s80ms 1s216ms 22 1 2s312ms 2s312ms Nov 15 00 2 2s419ms 1s209ms 01 1 1s105ms 1s105ms 02 2 2s531ms 1s265ms 03 6 7s287ms 1s214ms 05 4 5s336ms 1s334ms 06 5 6s931ms 1s386ms 07 7 8s434ms 1s204ms 08 6 7s150ms 1s191ms 09 7 8s551ms 1s221ms 10 4 4s753ms 1s188ms 11 2 2s343ms 1s171ms 12 10 11s882ms 1s188ms 13 5 6s63ms 1s212ms 14 2 2s412ms 1s206ms 15 4 4s643ms 1s160ms 16 5 5s830ms 1s166ms 17 4 4s809ms 1s202ms 18 5 6s116ms 1s223ms 19 3 3s571ms 1s190ms 20 11 13s135ms 1s194ms 21 7 8s469ms 1s209ms Nov 16 01 3 3s456ms 1s152ms 02 11 12s959ms 1s178ms 03 6 7s162ms 1s193ms 04 5 6s3ms 1s200ms 05 4 5s94ms 1s273ms 06 2 2s457ms 1s228ms 07 5 6s62ms 1s212ms 08 2 2s385ms 1s192ms 09 2 2s337ms 1s168ms 10 6 7s307ms 1s217ms 11 4 4s697ms 1s174ms 12 3 3s643ms 1s214ms 13 4 5s73ms 1s268ms 16 3 3s584ms 1s194ms 17 3 3s612ms 1s204ms 18 9 10s587ms 1s176ms 19 8 9s225ms 1s153ms 20 5 5s889ms 1s177ms 21 4 4s740ms 1s185ms 22 3 3s786ms 1s262ms [ User: pubeu - Total duration: 2m39s - Times executed: 132 ]
-
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 = '1221350') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221350') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-11-14 22:29:38 Duration: 2s312ms 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 = '1243859') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1243859') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-11-15 06:36:13 Duration: 1s688ms 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 = '1243859') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1243859') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-11-15 06:36:11 Duration: 1s538ms Bind query: yes
4 333 6m47s 1s112ms 1s466ms 1s223ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 10 00 4 5s61ms 1s265ms 02 1 1s255ms 1s255ms 05 4 5s212ms 1s303ms 07 5 6s291ms 1s258ms 08 2 2s405ms 1s202ms 09 1 1s226ms 1s226ms 10 5 6s301ms 1s260ms 11 6 7s378ms 1s229ms 12 1 1s263ms 1s263ms 13 1 1s296ms 1s296ms 14 2 2s394ms 1s197ms 16 7 8s777ms 1s253ms 17 6 7s523ms 1s253ms 19 3 3s690ms 1s230ms 20 5 6s112ms 1s222ms 21 6 7s481ms 1s246ms 22 4 5s308ms 1s327ms 23 5 6s344ms 1s268ms Nov 11 00 4 5s113ms 1s278ms 01 2 2s471ms 1s235ms 02 1 1s286ms 1s286ms 03 1 1s223ms 1s223ms 05 3 4s95ms 1s365ms 06 2 2s416ms 1s208ms 07 1 1s240ms 1s240ms 08 2 2s315ms 1s157ms 09 3 3s548ms 1s182ms 13 1 1s190ms 1s190ms 14 4 4s682ms 1s170ms 15 1 1s254ms 1s254ms 16 2 2s437ms 1s218ms 18 1 1s187ms 1s187ms 20 1 1s142ms 1s142ms 21 1 1s190ms 1s190ms 22 1 1s161ms 1s161ms 23 1 1s183ms 1s183ms Nov 12 01 3 3s633ms 1s211ms 03 1 1s159ms 1s159ms 04 2 2s325ms 1s162ms 05 3 4s1ms 1s333ms 06 3 3s513ms 1s171ms 07 2 2s366ms 1s183ms 08 1 1s234ms 1s234ms 10 3 3s589ms 1s196ms 11 1 1s131ms 1s131ms 14 1 1s173ms 1s173ms 15 1 1s129ms 1s129ms 18 2 2s245ms 1s122ms 19 3 4s74ms 1s358ms 20 1 1s202ms 1s202ms 22 3 3s512ms 1s170ms 23 2 2s556ms 1s278ms Nov 13 01 1 1s127ms 1s127ms 02 1 1s236ms 1s236ms 03 2 2s495ms 1s247ms 05 6 7s526ms 1s254ms 07 1 1s222ms 1s222ms 08 1 1s252ms 1s252ms 09 5 5s831ms 1s166ms 10 1 1s296ms 1s296ms 11 5 5s880ms 1s176ms 12 1 1s185ms 1s185ms 13 1 1s156ms 1s156ms 14 1 1s193ms 1s193ms 15 1 1s215ms 1s215ms 18 1 1s190ms 1s190ms 21 4 4s767ms 1s191ms 22 1 1s298ms 1s298ms Nov 14 03 3 3s609ms 1s203ms 05 3 3s712ms 1s237ms 06 1 1s294ms 1s294ms 08 2 2s359ms 1s179ms 09 4 4s989ms 1s247ms 10 3 3s397ms 1s132ms 11 2 2s338ms 1s169ms 13 1 1s280ms 1s280ms 14 2 2s328ms 1s164ms 15 2 2s486ms 1s243ms 16 1 1s189ms 1s189ms 17 1 1s190ms 1s190ms 20 1 1s191ms 1s191ms 21 1 1s248ms 1s248ms 22 2 2s700ms 1s350ms 23 6 7s136ms 1s189ms Nov 15 00 2 2s420ms 1s210ms 01 2 2s359ms 1s179ms 03 9 10s736ms 1s192ms 05 7 9s264ms 1s323ms 07 1 1s245ms 1s245ms 08 1 1s200ms 1s200ms 10 6 7s76ms 1s179ms 11 5 5s843ms 1s168ms 12 5 6s9ms 1s201ms 13 2 2s458ms 1s229ms 14 2 2s375ms 1s187ms 15 4 4s854ms 1s213ms 17 3 3s616ms 1s205ms 19 4 4s854ms 1s213ms 20 6 7s97ms 1s182ms 21 2 2s409ms 1s204ms 22 1 1s237ms 1s237ms 23 2 2s456ms 1s228ms Nov 16 00 4 4s905ms 1s226ms 01 4 4s754ms 1s188ms 02 4 4s771ms 1s192ms 03 2 2s425ms 1s212ms 04 3 3s681ms 1s227ms 05 4 4s921ms 1s230ms 06 2 2s448ms 1s224ms 07 1 1s219ms 1s219ms 09 1 1s172ms 1s172ms 10 4 5s237ms 1s309ms 11 3 3s701ms 1s233ms 12 4 4s838ms 1s209ms 14 2 2s422ms 1s211ms 15 4 4s685ms 1s171ms 16 7 8s679ms 1s239ms 17 2 2s544ms 1s272ms 18 5 5s897ms 1s179ms 19 2 2s387ms 1s193ms 20 4 4s684ms 1s171ms 21 4 4s633ms 1s158ms 22 3 4s112ms 1s370ms [ User: pubeu - Total duration: 2m38s - Times executed: 130 ]
[ User: qaeu - Total duration: 6s740ms - 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 = '2079170') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079170') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-11-16 22:27:46 Duration: 1s466ms 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 = '2081451') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2081451') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-11-12 19:48:53 Duration: 1s464ms 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 = '2080462') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080462') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-11-10 21:13:35 Duration: 1s451ms Bind query: yes
5 306 17m47s 1s9ms 11s635ms 3s489ms 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 #5
Day Hour Count Duration Avg duration Nov 10 05 2 13s747ms 6s873ms 06 1 6s385ms 6s385ms 07 2 11s880ms 5s940ms 08 8 33s281ms 4s160ms 09 16 1m 3s794ms 10 8 37s908ms 4s738ms 11 8 45s34ms 5s629ms 12 7 27s179ms 3s882ms 13 4 13s508ms 3s377ms 14 8 28s273ms 3s534ms 15 2 3s812ms 1s906ms 16 14 57s949ms 4s139ms 17 15 57s357ms 3s823ms 18 3 7s646ms 2s548ms 19 7 36s588ms 5s226ms 20 12 49s593ms 4s132ms 21 6 26s507ms 4s417ms 22 3 11s450ms 3s816ms 23 14 1m5s 4s645ms Nov 11 00 4 13s558ms 3s389ms 02 2 3s561ms 1s780ms 04 2 3s690ms 1s845ms 05 1 5s355ms 5s355ms 06 7 32s731ms 4s675ms 07 7 28s898ms 4s128ms 08 3 12s20ms 4s6ms 09 6 16s590ms 2s765ms 11 1 1s144ms 1s144ms 13 2 7s348ms 3s674ms 14 1 1s303ms 1s303ms 15 1 2s51ms 2s51ms 16 1 1s323ms 1s323ms 18 1 2s555ms 2s555ms 21 1 1s118ms 1s118ms 23 1 1s183ms 1s183ms Nov 12 00 1 6s208ms 6s208ms 01 4 8s951ms 2s237ms 02 3 7s814ms 2s604ms 04 1 1s277ms 1s277ms 08 1 2s513ms 2s513ms 09 1 3s876ms 3s876ms 13 1 2s482ms 2s482ms 15 1 2s549ms 2s549ms 16 1 1s301ms 1s301ms 17 1 2s484ms 2s484ms 19 1 6s380ms 6s380ms 22 1 1s136ms 1s136ms 23 1 1s140ms 1s140ms Nov 13 02 1 6s111ms 6s111ms 03 1 1s996ms 1s996ms 04 1 1s306ms 1s306ms 05 2 3s894ms 1s947ms 07 1 4s857ms 4s857ms 08 1 2s484ms 2s484ms 10 2 2s603ms 1s301ms 11 5 27s762ms 5s552ms 15 1 1s324ms 1s324ms 16 1 4s356ms 4s356ms 19 2 3s802ms 1s901ms 21 1 1s192ms 1s192ms Nov 14 03 2 11s61ms 5s530ms 04 1 2s486ms 2s486ms 05 2 9s20ms 4s510ms 07 1 2s470ms 2s470ms 09 1 1s145ms 1s145ms 10 2 3s756ms 1s878ms 11 1 4s710ms 4s710ms 14 1 2s511ms 2s511ms 16 1 1s42ms 1s42ms 18 1 1s333ms 1s333ms 19 2 9s667ms 4s833ms 20 2 2s912ms 1s456ms 21 5 18s808ms 3s761ms 22 2 2s338ms 1s169ms 23 11 34s657ms 3s150ms Nov 15 02 1 1s264ms 1s264ms 03 1 2s444ms 2s444ms 05 8 18s451ms 2s306ms 06 2 2s696ms 1s348ms 07 5 7s226ms 1s445ms 08 1 2s420ms 2s420ms 09 1 1s281ms 1s281ms 11 2 7s290ms 3s645ms 13 2 2s72ms 1s36ms 14 2 2s279ms 1s139ms 17 2 2s346ms 1s173ms 18 2 3s492ms 1s746ms Nov 16 01 2 4s785ms 2s392ms 08 2 3s537ms 1s768ms 09 1 1s443ms 1s443ms 13 3 12s804ms 4s268ms 17 15 41s802ms 2s786ms 21 1 4s113ms 4s113ms [ User: pubeu - Total duration: 6m45s - Times executed: 127 ]
-
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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-10 16:49:33 Duration: 11s635ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-10 23:02:47 Duration: 11s468ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-10 23:09:09 Duration: 11s434ms Bind query: yes
6 199 15m9s 1s5ms 6s560ms 4s572ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 10 00 1 4s758ms 4s758ms 03 1 5s199ms 5s199ms 07 2 8s975ms 4s487ms 08 1 1s67ms 1s67ms 09 2 9s570ms 4s785ms 11 2 9s532ms 4s766ms 13 1 4s422ms 4s422ms 14 1 4s632ms 4s632ms 16 10 41s435ms 4s143ms 17 2 8s631ms 4s315ms 18 1 5s274ms 5s274ms 19 2 9s640ms 4s820ms 20 5 20s995ms 4s199ms 21 1 4s918ms 4s918ms 22 3 14s97ms 4s699ms 23 2 10s46ms 5s23ms Nov 11 01 2 9s660ms 4s830ms 02 2 8s716ms 4s358ms 03 1 5s132ms 5s132ms 04 2 8s792ms 4s396ms 05 1 4s209ms 4s209ms 06 6 31s33ms 5s172ms 09 1 5s447ms 5s447ms 10 7 32s971ms 4s710ms 13 1 5s265ms 5s265ms 16 1 5s227ms 5s227ms 17 1 5s144ms 5s144ms 18 2 10s541ms 5s270ms 19 1 4s452ms 4s452ms Nov 12 00 1 4s296ms 4s296ms 01 1 5s506ms 5s506ms 04 6 24s848ms 4s141ms 07 1 5s201ms 5s201ms 08 2 7s175ms 3s587ms 15 5 24s444ms 4s888ms 16 1 4s923ms 4s923ms 17 1 4s865ms 4s865ms 18 1 4s865ms 4s865ms 20 1 4s817ms 4s817ms 21 1 4s724ms 4s724ms Nov 13 04 8 39s641ms 4s955ms 05 4 21s475ms 5s368ms 07 2 9s665ms 4s832ms 10 2 9s476ms 4s738ms 11 3 14s472ms 4s824ms 12 1 4s706ms 4s706ms 18 2 5s746ms 2s873ms 19 1 4s805ms 4s805ms 21 1 4s891ms 4s891ms Nov 14 00 1 1s64ms 1s64ms 01 6 29s476ms 4s912ms 05 1 4s884ms 4s884ms 06 1 4s789ms 4s789ms 09 1 4s697ms 4s697ms 10 2 9s599ms 4s799ms 14 2 9s738ms 4s869ms 20 3 11s61ms 3s687ms 22 7 32s305ms 4s615ms 23 3 15s660ms 5s220ms Nov 15 00 2 10s449ms 5s224ms 01 1 4s659ms 4s659ms 02 4 15s541ms 3s885ms 05 4 19s227ms 4s806ms 07 3 8s387ms 2s795ms 08 5 28s85ms 5s617ms 09 1 1s115ms 1s115ms 14 2 6s63ms 3s31ms 17 1 5s243ms 5s243ms 18 2 10s148ms 5s74ms 20 2 9s502ms 4s751ms 21 1 1s14ms 1s14ms Nov 16 02 2 9s787ms 4s893ms 04 1 1s8ms 1s8ms 05 4 21s92ms 5s273ms 06 1 1s5ms 1s5ms 07 2 9s667ms 4s833ms 08 3 14s645ms 4s881ms 09 1 4s563ms 4s563ms 13 3 14s544ms 4s848ms 14 2 9s404ms 4s702ms 17 2 10s247ms 5s123ms 18 3 15s165ms 5s55ms 19 6 29s686ms 4s947ms 20 3 15s82ms 5s27ms 23 1 1s10ms 1s10ms [ User: pubeu - Total duration: 6m21s - Times executed: 85 ]
-
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 = '1433053' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-15 08:26:16 Duration: 6s560ms 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 = '1384823' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-15 08:40:20 Duration: 6s404ms 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 = '1423332' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-15 07:22:10 Duration: 6s273ms Database: ctdprd51 User: pubeu Bind query: yes
7 198 19m36s 1s31ms 24s878ms 5s942ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 10 01 3 24s754ms 8s251ms 06 1 1s71ms 1s71ms 08 1 1s459ms 1s459ms 13 1 1s177ms 1s177ms 14 4 37s13ms 9s253ms 15 1 9s832ms 9s832ms 16 1 1s94ms 1s94ms 17 14 1m31s 6s514ms 20 2 2s736ms 1s368ms 21 1 1s526ms 1s526ms Nov 11 00 1 1s703ms 1s703ms 01 1 1s738ms 1s738ms 06 1 1s80ms 1s80ms 07 3 1m8s 22s712ms 12 2 21s774ms 10s887ms 13 1 1s75ms 1s75ms 16 5 48s947ms 9s789ms 17 12 24s714ms 2s59ms 21 1 7s329ms 7s329ms Nov 12 02 4 15s443ms 3s860ms 03 1 1s438ms 1s438ms 09 1 1s498ms 1s498ms 13 2 4s160ms 2s80ms 15 11 1m6s 6s49ms 17 2 22s243ms 11s121ms Nov 13 11 2 16s259ms 8s129ms 15 1 1s550ms 1s550ms 22 8 2m27s 18s397ms 23 4 58s1ms 14s500ms Nov 14 00 6 1m 10s29ms 04 2 2s156ms 1s78ms 05 14 55s946ms 3s996ms 07 2 2s68ms 1s34ms 13 4 23s788ms 5s947ms 17 1 1s770ms 1s770ms 18 1 1s92ms 1s92ms 20 2 7s444ms 3s722ms 21 8 14s 1s750ms 22 7 15s589ms 2s227ms 23 9 43s82ms 4s786ms Nov 15 05 9 1m14s 8s294ms 08 1 1s146ms 1s146ms 11 5 7s144ms 1s428ms 22 1 1s49ms 1s49ms Nov 16 04 4 13s842ms 3s460ms 06 1 3s296ms 3s296ms 07 3 21s430ms 7s143ms 08 1 7s245ms 7s245ms 09 5 7s931ms 1s586ms 10 5 1m20s 16s 12 1 1s63ms 1s63ms 13 7 24s589ms 3s512ms 17 1 1s398ms 1s398ms 20 2 6s990ms 3s495ms 21 1 1s450ms 1s450ms 22 3 13s629ms 4s543ms [ User: pubeu - Total duration: 8m7s - Times executed: 76 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-15 05:42:33 Duration: 24s878ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-13 22:56:40 Duration: 24s604ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-13 22:56:43 Duration: 23s821ms Database: ctdprd51 User: pubeu Bind query: yes
8 197 7m22s 1s3ms 5s869ms 2s247ms 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 #8
Day Hour Count Duration Avg duration Nov 10 01 1 1s52ms 1s52ms 15 18 35s988ms 1s999ms 18 1 5s656ms 5s656ms 20 8 20s145ms 2s518ms Nov 11 12 12 26s368ms 2s197ms Nov 12 08 1 2s309ms 2s309ms 13 3 8s133ms 2s711ms 15 16 26s200ms 1s637ms Nov 13 00 6 17s460ms 2s910ms 01 18 36s363ms 2s20ms 16 11 29s324ms 2s665ms Nov 14 01 8 20s136ms 2s517ms 02 12 33s158ms 2s763ms 11 1 2s688ms 2s688ms 12 1 1s213ms 1s213ms 18 8 22s767ms 2s845ms Nov 15 05 1 2s302ms 2s302ms 11 9 16s582ms 1s842ms 19 15 30s187ms 2s12ms 22 3 3s606ms 1s202ms Nov 16 01 2 5s338ms 2s669ms 08 20 37s82ms 1s854ms 09 1 1s999ms 1s999ms 13 21 56s716ms 2s700ms [ User: pubeu - Total duration: 1m47s - Times executed: 54 ]
-
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 = '653383' 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 = '653383') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-11-10 15:50:23 Duration: 5s869ms 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 = '653383' 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 = '653383') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-11-16 13:06:30 Duration: 5s781ms 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 = '653383' 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 = '653383') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-11-10 20:35:27 Duration: 5s712ms Bind query: yes
9 184 7m41s 1s 4s611ms 2s506ms 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 #9
Day Hour Count Duration Avg duration Nov 10 06 1 4s362ms 4s362ms 07 2 2s595ms 1s297ms 08 3 4s571ms 1s523ms 09 4 9s916ms 2s479ms 14 3 9s329ms 3s109ms 16 10 23s590ms 2s359ms 17 8 27s646ms 3s455ms 18 10 22s596ms 2s259ms 19 12 34s871ms 2s905ms 20 7 17s876ms 2s553ms 21 1 3s240ms 3s240ms 22 6 17s529ms 2s921ms 23 3 4s554ms 1s518ms Nov 11 00 5 13s365ms 2s673ms 01 3 9s491ms 3s163ms 02 3 8s658ms 2s886ms 03 2 5s806ms 2s903ms 05 5 13s45ms 2s609ms 10 8 20s1ms 2s500ms 20 1 4s322ms 4s322ms Nov 12 04 8 21s78ms 2s634ms 15 7 14s443ms 2s63ms 17 1 1s179ms 1s179ms Nov 13 01 4 12s363ms 3s90ms 04 9 22s263ms 2s473ms 05 1 1s28ms 1s28ms 10 2 2s468ms 1s234ms 18 4 12s175ms 3s43ms Nov 14 00 1 1s7ms 1s7ms 01 9 21s739ms 2s415ms 20 2 2s372ms 1s186ms 22 12 26s39ms 2s169ms Nov 15 02 1 1s147ms 1s147ms 03 2 6s478ms 3s239ms 05 6 16s368ms 2s728ms 11 1 1s2ms 1s2ms 20 3 7s307ms 2s435ms Nov 16 09 1 1s237ms 1s237ms 16 1 1s272ms 1s272ms 18 3 8s584ms 2s861ms 19 9 22s262ms 2s473ms [ User: pubeu - Total duration: 1m56s - Times executed: 47 ]
-
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 = '1394946') 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 = '1394946') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-11-10 17:09:02 Duration: 4s611ms 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 = '1394946') 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 = '1394946') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-11-10 14:46:49 Duration: 4s605ms 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 = '1394946') 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 = '1394946') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-11-14 22:36:48 Duration: 4s601ms Database: ctdprd51 User: pubeu Bind query: yes
10 166 8m5s 1s194ms 6s467ms 2s924ms 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 #10
Day Hour Count Duration Avg duration Nov 10 06 5 13s44ms 2s608ms 08 4 10s836ms 2s709ms 09 3 6s25ms 2s8ms 10 2 7s273ms 3s636ms 11 1 3s268ms 3s268ms 12 2 12s179ms 6s89ms 13 1 1s859ms 1s859ms 14 1 6s318ms 6s318ms 16 8 21s250ms 2s656ms 17 8 29s61ms 3s632ms 18 6 15s208ms 2s534ms 19 12 32s373ms 2s697ms 20 5 12s823ms 2s564ms 21 1 1s834ms 1s834ms 22 8 27s96ms 3s387ms 23 1 1s340ms 1s340ms Nov 11 00 2 12s257ms 6s128ms 01 2 9s55ms 4s527ms 02 2 7s835ms 3s917ms 03 4 13s160ms 3s290ms 05 2 8s206ms 4s103ms 10 8 21s242ms 2s655ms Nov 12 04 9 23s15ms 2s557ms 15 4 13s423ms 3s355ms 17 2 5s318ms 2s659ms Nov 13 01 5 13s936ms 2s787ms 04 9 23s149ms 2s572ms 18 4 12s592ms 3s148ms Nov 14 01 8 21s294ms 2s661ms 20 1 1s305ms 1s305ms 22 8 21s479ms 2s684ms Nov 15 05 5 14s72ms 2s814ms 08 1 2s109ms 2s109ms 20 3 11s413ms 3s804ms Nov 16 09 5 11s277ms 2s255ms 18 6 16s259ms 2s709ms 19 8 21s341ms 2s667ms [ User: pubeu - Total duration: 2m23s - Times executed: 49 ]
-
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 = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-10 22:46:32 Duration: 6s467ms 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 = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-11 03:55:04 Duration: 6s416ms 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 = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-10 14:46:49 Duration: 6s318ms Bind query: yes
11 142 3m14s 1s298ms 1s633ms 1s366ms 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 #11
Day Hour Count Duration Avg duration Nov 10 02 1 1s324ms 1s324ms 03 1 1s305ms 1s305ms 05 3 4s79ms 1s359ms 06 2 2s647ms 1s323ms 07 2 2s639ms 1s319ms 08 1 1s320ms 1s320ms 09 2 2s786ms 1s393ms 10 3 3s959ms 1s319ms 11 2 2s660ms 1s330ms 12 3 4s130ms 1s376ms 14 1 1s323ms 1s323ms 15 1 1s317ms 1s317ms 17 1 1s393ms 1s393ms 18 2 2s680ms 1s340ms 21 2 2s811ms 1s405ms 22 2 2s747ms 1s373ms 23 1 1s395ms 1s395ms Nov 11 01 3 4s94ms 1s364ms 05 3 4s212ms 1s404ms 06 2 2s801ms 1s400ms 09 2 2s665ms 1s332ms 18 1 1s382ms 1s382ms 19 1 1s348ms 1s348ms 20 2 2s611ms 1s305ms 21 1 1s408ms 1s408ms 22 2 2s686ms 1s343ms Nov 12 01 1 1s432ms 1s432ms 03 1 1s385ms 1s385ms 05 6 8s195ms 1s365ms 08 2 2s690ms 1s345ms 12 8 10s893ms 1s361ms 13 1 1s345ms 1s345ms 14 1 1s323ms 1s323ms 15 1 1s371ms 1s371ms 16 1 1s304ms 1s304ms 18 1 1s377ms 1s377ms 19 1 1s371ms 1s371ms 20 1 1s388ms 1s388ms 22 1 1s307ms 1s307ms 23 1 1s384ms 1s384ms Nov 13 01 1 1s401ms 1s401ms 02 5 6s808ms 1s361ms 03 1 1s326ms 1s326ms 04 1 1s329ms 1s329ms 05 3 4s75ms 1s358ms 09 1 1s342ms 1s342ms 11 1 1s341ms 1s341ms 16 2 2s771ms 1s385ms 17 1 1s360ms 1s360ms 23 1 1s330ms 1s330ms Nov 14 00 1 1s391ms 1s391ms 01 2 2s821ms 1s410ms 02 6 8s181ms 1s363ms 03 5 6s854ms 1s370ms 04 2 2s803ms 1s401ms 05 2 2s742ms 1s371ms 08 1 1s329ms 1s329ms 09 3 4s64ms 1s354ms 23 1 1s481ms 1s481ms Nov 15 01 1 1s348ms 1s348ms 02 3 4s111ms 1s370ms 03 4 5s501ms 1s375ms 04 2 2s776ms 1s388ms 05 2 3s107ms 1s553ms 06 1 1s462ms 1s462ms 11 3 4s86ms 1s362ms 16 2 2s795ms 1s397ms 20 1 1s332ms 1s332ms Nov 16 05 2 2s747ms 1s373ms 07 1 1s319ms 1s319ms 09 2 2s743ms 1s371ms 11 1 1s327ms 1s327ms 22 2 2s729ms 1s364ms 23 1 1s387ms 1s387ms [ User: pubeu - Total duration: 1m15s - Times executed: 55 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-11-15 05:42:09 Duration: 1s633ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-11-14 23:00:05 Duration: 1s481ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-11-15 05:37:18 Duration: 1s473ms Database: ctdprd51 User: pubeu Bind query: yes
12 141 7h28m25s 1s371ms 18m48s 3m10s 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 Nov 10 01 1 17m26s 17m26s 14 1 3s219ms 3s219ms 15 3 34m44s 11m34s 17 11 16m5s 1m27s Nov 11 12 2 4s901ms 2s450ms 16 6 4m50s 48s356ms 17 16 26m25s 1m39s Nov 12 02 2 28m54s 14m27s 13 2 7m24s 3m42s 15 14 7m18s 31s341ms 16 1 9m20s 9m20s 17 2 4s783ms 2s391ms Nov 13 01 1 1s637ms 1s637ms 06 2 2m39s 1m19s 11 1 17m41s 17m41s 14 1 8m35s 8m35s 22 1 3s258ms 3s258ms 23 1 3m27s 3m27s Nov 14 00 7 4m15s 36s489ms 05 2 13m39s 6m49s 13 5 9m31s 1m54s 20 1 1s587ms 1s587ms 21 6 5m37s 56s276ms 22 8 16m47s 2m5s 23 2 13m40s 6m50s Nov 15 00 4 28m52s 7m13s 01 1 17m29s 17m29s 02 1 18m48s 18m48s 04 5 12m42s 2m32s 05 11 15m59s 1m27s 06 4 5s859ms 1s464ms 11 2 3s141ms 1s570ms 13 1 4m19s 4m19s Nov 16 10 2 6s442ms 3s221ms 13 2 29m5s 14m32s 16 1 8m48s 8m48s 17 4 34m25s 8m36s 20 2 2s828ms 1s414ms 22 2 28m50s 14m25s [ User: pubeu - Total duration: 4h2m25s - Times executed: 61 ]
-
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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-15 02:52:27 Duration: 18m48s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-13 11:37:19 Duration: 17m41s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-12 02:31:01 Duration: 17m34s Database: ctdprd51 User: pubeu Bind query: yes
13 128 8m15s 1s21ms 27s429ms 3s874ms 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 #13
Day Hour Count Duration Avg duration Nov 10 05 1 1s127ms 1s127ms 20 1 3s683ms 3s683ms Nov 11 03 1 1s21ms 1s21ms 17 1 2s157ms 2s157ms 21 18 21s708ms 1s206ms Nov 12 01 2 9s441ms 4s720ms 02 13 1m43s 7s989ms Nov 13 05 1 11s427ms 11s427ms 08 2 51s447ms 25s723ms 11 1 2s301ms 2s301ms 12 1 1s920ms 1s920ms 16 1 13s523ms 13s523ms Nov 14 09 2 3s988ms 1s994ms 11 2 16s469ms 8s234ms 13 1 2s258ms 2s258ms 23 17 33s276ms 1s957ms Nov 15 03 3 5s841ms 1s947ms 05 2 16s147ms 8s73ms 06 18 41s512ms 2s306ms 08 5 1m5s 13s48ms 09 2 7s85ms 3s542ms 12 5 6s214ms 1s242ms 13 1 1s113ms 1s113ms 14 1 3s580ms 3s580ms 15 1 2s334ms 2s334ms 17 1 1s951ms 1s951ms Nov 16 07 6 8s526ms 1s421ms 10 10 15s819ms 1s581ms 13 3 15s356ms 5s118ms 14 5 25s612ms 5s122ms [ User: pubeu - Total duration: 4m15s - Times executed: 70 ]
-
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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-15 08:25:26 Duration: 27s429ms 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-15 08:20:46 Duration: 26s993ms 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-13 08:52:47 Duration: 25s796ms Database: ctdprd51 User: pubeu Bind query: yes
14 86 6m58s 1s4ms 17s571ms 4s864ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 10 14 2 16s854ms 8s427ms 17 8 45s519ms 5s689ms 23 1 1s114ms 1s114ms Nov 11 12 2 18s479ms 9s239ms 16 10 48s366ms 4s836ms 17 10 18s114ms 1s811ms Nov 12 02 1 1s77ms 1s77ms 13 1 1s87ms 1s87ms 15 12 58s129ms 4s844ms 17 2 17s187ms 8s593ms Nov 13 22 1 16s564ms 16s564ms Nov 14 00 8 46s141ms 5s767ms 13 4 21s403ms 5s350ms 20 1 1s405ms 1s405ms 21 4 5s590ms 1s397ms 22 3 4s871ms 1s623ms Nov 15 01 2 2s276ms 1s138ms 05 8 46s673ms 5s834ms Nov 16 05 3 32s137ms 10s712ms 06 1 10s558ms 10s558ms 17 2 4s809ms 2s404ms [ User: pubeu - Total duration: 2m31s - Times executed: 38 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1217771'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-15 05:42:17 Duration: 17s571ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1217771'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-13 22:56:39 Duration: 16s564ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1217771'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-10 17:53:18 Duration: 16s447ms Bind query: yes
15 71 2m58s 1s12ms 3s578ms 2s519ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 10 04 1 1s892ms 1s892ms 05 3 7s754ms 2s584ms 09 1 1s879ms 1s879ms 15 1 3s243ms 3s243ms 17 1 3s228ms 3s228ms 20 1 3s279ms 3s279ms Nov 11 05 3 7s733ms 2s577ms 11 1 3s277ms 3s277ms 12 1 3s272ms 3s272ms Nov 12 05 4 8s970ms 2s242ms 13 2 5s318ms 2s659ms Nov 13 00 6 14s279ms 2s379ms 01 1 3s240ms 3s240ms 05 2 6s543ms 3s271ms 16 1 3s195ms 3s195ms 20 1 1s871ms 1s871ms Nov 14 01 1 3s218ms 3s218ms 02 12 25s532ms 2s127ms 04 1 1s851ms 1s851ms 05 2 6s561ms 3s280ms 18 1 3s290ms 3s290ms Nov 15 03 1 1s854ms 1s854ms 05 4 9s57ms 2s264ms 11 1 3s241ms 3s241ms 19 1 3s296ms 3s296ms Nov 16 05 2 6s563ms 3s281ms 08 2 6s677ms 3s338ms 13 13 28s761ms 2s212ms [ User: pubeu - Total duration: 48s804ms - Times executed: 17 ]
[ User: qaeu - Total duration: 23s559ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '592983' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-11-15 05:40:12 Duration: 3s578ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '592983' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-11-12 05:35:13 Duration: 3s547ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '592983' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-11-12 05:40:12 Duration: 3s392ms Database: ctdprd51 User: qaeu Bind query: yes
16 60 1m25s 1s395ms 1s526ms 1s427ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 10 05 1 1s408ms 1s408ms 06 1 1s410ms 1s410ms 14 2 2s828ms 1s414ms 16 2 2s847ms 1s423ms 17 1 1s419ms 1s419ms 18 1 1s416ms 1s416ms 19 1 1s413ms 1s413ms 21 3 4s237ms 1s412ms 22 2 2s834ms 1s417ms 23 1 1s404ms 1s404ms Nov 11 00 2 2s830ms 1s415ms 01 1 1s423ms 1s423ms 02 2 2s852ms 1s426ms 03 2 2s824ms 1s412ms 05 4 5s720ms 1s430ms 06 2 2s847ms 1s423ms 08 2 2s892ms 1s446ms 10 3 4s243ms 1s414ms Nov 12 01 1 1s426ms 1s426ms 05 2 2s910ms 1s455ms 12 2 2s847ms 1s423ms 21 1 1s422ms 1s422ms Nov 13 03 1 1s433ms 1s433ms 04 1 1s428ms 1s428ms 05 2 2s858ms 1s429ms 06 1 1s408ms 1s408ms Nov 14 05 2 2s835ms 1s417ms 07 1 1s421ms 1s421ms 09 1 1s457ms 1s457ms 17 1 1s435ms 1s435ms Nov 15 02 2 2s803ms 1s401ms 05 3 4s360ms 1s453ms 07 1 1s411ms 1s411ms Nov 16 05 2 2s951ms 1s475ms 07 2 2s907ms 1s453ms 16 1 1s478ms 1s478ms [ User: pubeu - Total duration: 24s252ms - Times executed: 17 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-11-16 05:38:30 Duration: 1s526ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-11-12 05:38:32 Duration: 1s492ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-11-15 05:38:42 Duration: 1s483ms Bind query: yes
17 55 1m27s 1s4ms 2s842ms 1s582ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 10 04 1 1s552ms 1s552ms 06 1 2s658ms 2s658ms 07 2 2s195ms 1s97ms 08 4 6s659ms 1s664ms 09 2 2s373ms 1s186ms 10 3 4s951ms 1s650ms 11 3 5s135ms 1s711ms 12 1 1s390ms 1s390ms 16 3 5s370ms 1s790ms 18 2 2s650ms 1s325ms 19 2 3s289ms 1s644ms 20 2 3s265ms 1s632ms 21 1 1s98ms 1s98ms 22 1 2s763ms 2s763ms 23 5 7s45ms 1s409ms Nov 11 04 1 1s552ms 1s552ms 06 3 4s648ms 1s549ms 07 1 2s702ms 2s702ms 09 1 2s229ms 2s229ms Nov 12 04 1 1s4ms 1s4ms Nov 13 09 1 1s8ms 1s8ms 11 2 3s347ms 1s673ms 21 1 1s8ms 1s8ms 22 5 7s308ms 1s461ms Nov 14 23 3 5s4ms 1s668ms Nov 16 17 3 4s829ms 1s609ms [ User: pubeu - Total duration: 35s115ms - Times executed: 22 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2075438') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-10 11:02:02 Duration: 2s842ms Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2075438') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-10 22:57:27 Duration: 2s763ms Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2075438') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-11 07:33:44 Duration: 2s702ms Database: ctdprd51 User: pubeu Bind query: yes
18 49 1m20s 1s225ms 1s999ms 1s646ms 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 #18
Day Hour Count Duration Avg duration Nov 10 06 1 1s843ms 1s843ms 08 2 2s533ms 1s266ms 10 1 1s823ms 1s823ms 14 1 1s837ms 1s837ms 16 2 3s82ms 1s541ms 17 3 5s579ms 1s859ms 18 1 1s818ms 1s818ms 19 2 3s630ms 1s815ms 20 1 1s831ms 1s831ms 22 3 4s946ms 1s648ms Nov 11 00 2 3s665ms 1s832ms 01 1 1s850ms 1s850ms 02 1 1s833ms 1s833ms 03 2 3s92ms 1s546ms 05 1 1s819ms 1s819ms 10 2 3s96ms 1s548ms Nov 12 04 2 3s50ms 1s525ms 15 2 3s40ms 1s520ms 17 1 1s240ms 1s240ms Nov 13 01 1 1s824ms 1s824ms 04 2 3s255ms 1s627ms 18 1 1s784ms 1s784ms Nov 14 01 2 3s69ms 1s534ms 22 2 3s80ms 1s540ms Nov 15 05 1 1s843ms 1s843ms 07 1 1s871ms 1s871ms 20 2 3s86ms 1s543ms Nov 16 09 2 3s79ms 1s539ms 18 2 3s97ms 1s548ms 19 2 3s84ms 1s542ms [ User: pubeu - Total duration: 29s184ms - Times executed: 18 ]
-
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 = '1394946') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-11-13 04:31:14 Duration: 1s999ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1394946') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-11-10 17:51:48 Duration: 1s947ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1394946') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-11-15 07:02:53 Duration: 1s871ms Bind query: yes
19 41 1m35s 1s21ms 11s426ms 2s335ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 10 01 1 4s718ms 4s718ms 07 8 8s702ms 1s87ms 18 1 1s159ms 1s159ms Nov 11 02 1 4s679ms 4s679ms 03 1 2s487ms 2s487ms 09 1 4s867ms 4s867ms 13 1 4s793ms 4s793ms Nov 12 01 1 1s36ms 1s36ms 03 2 3s430ms 1s715ms 14 1 11s426ms 11s426ms 15 1 4s787ms 4s787ms 22 1 1s59ms 1s59ms Nov 13 10 1 2s14ms 2s14ms 15 1 1s678ms 1s678ms Nov 14 05 2 2s313ms 1s156ms 23 1 1s721ms 1s721ms Nov 15 06 1 7s218ms 7s218ms 11 2 5s454ms 2s727ms 13 1 2s454ms 2s454ms 18 4 6s990ms 1s747ms Nov 16 13 4 6s540ms 1s635ms 14 2 3s403ms 1s701ms 16 2 2s822ms 1s411ms [ User: pubeu - Total duration: 55s284ms - Times executed: 19 ]
-
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 = '2080694') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 450;
Date: 2024-11-12 14:42:58 Duration: 11s426ms 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 = '2085331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 984100;
Date: 2024-11-15 06:03:39 Duration: 7s218ms 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 = '2075710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 100;
Date: 2024-11-11 09:46:39 Duration: 4s867ms Database: ctdprd51 User: pubeu Bind query: yes
20 40 44s126ms 1s40ms 1s164ms 1s103ms 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;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 10 04 3 3s384ms 1s128ms 05 4 4s581ms 1s145ms Nov 11 16 3 3s273ms 1s91ms 22 4 4s481ms 1s120ms Nov 13 10 3 3s158ms 1s52ms Nov 14 02 1 1s131ms 1s131ms 23 1 1s124ms 1s124ms Nov 15 03 1 1s95ms 1s95ms 08 1 1s161ms 1s161ms 15 3 3s208ms 1s69ms 19 1 1s106ms 1s106ms 20 1 1s91ms 1s91ms 23 4 4s340ms 1s85ms Nov 16 04 3 3s321ms 1s107ms 08 1 1s108ms 1s108ms 14 1 1s152ms 1s152ms 16 1 1s49ms 1s49ms 17 1 1s114ms 1s114ms 20 3 3s241ms 1s80ms [ User: pubeu - Total duration: 15s425ms - Times executed: 14 ]
-
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 = '2074480' or receptorTerm.id = '2074480' 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;
Date: 2024-11-10 05:23:02 Duration: 1s164ms 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 = '2023993' or receptorTerm.id = '2023993' 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;
Date: 2024-11-15 08:28:58 Duration: 1s161ms 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 = '2074480' or receptorTerm.id = '2074480' 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;
Date: 2024-11-10 05:23:15 Duration: 1s157ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 37m4s 37m4s 37m4s 1 37m4s 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 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 gd.indirect_chem_qty > ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 12 05 1 37m4s 37m4s [ User: pubeu - Total duration: 37m4s - 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 = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) 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 'GALLSTONES' AND t.object_type_id = 3 AND gd.indirect_chem_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-12 05:47:59 Duration: 37m4s Database: ctdprd51 User: pubeu Bind query: yes
2 23m47s 23m47s 23m47s 1 23m47s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 16 19 1 23m47s 23m47s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-11-16 19:43:46 Duration: 23m47s
3 23m40s 23m40s 23m40s 1 23m40s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 16 19 1 23m40s 23m40s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-11-16 19:00:38 Duration: 23m40s
4 18m36s 18m58s 18m44s 7 2h11m12s select maint_query_logs_archive ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 10 00 1 18m36s 18m36s Nov 11 00 1 18m49s 18m49s Nov 12 00 1 18m37s 18m37s Nov 13 00 1 18m42s 18m42s Nov 14 00 1 18m42s 18m42s Nov 15 00 1 18m45s 18m45s Nov 16 00 1 18m58s 18m58s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-11-16 00:18:59 Duration: 18m58s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-11-11 00:18:51 Duration: 18m49s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-11-15 00:18:47 Duration: 18m45s
5 10m47s 10m51s 10m49s 2 21m39s select gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_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 gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?));Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 11 07 1 10m47s 10m47s Nov 15 14 1 10m51s 10m51s [ User: pubeu - Total duration: 10m51s - Times executed: 1 ]
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_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'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-11-15 14:15:29 Duration: 10m51s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_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'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-11-11 07:39:21 Duration: 10m47s Bind query: yes
6 10m43s 10m49s 10m46s 2 21m32s 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 gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 11 07 1 10m43s 10m43s Nov 15 14 1 10m49s 10m49s [ User: pubeu - Total duration: 10m49s - 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 = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-15 14:25:43 Duration: 10m49s Database: ctdprd51 User: pubeu 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'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-11 07:49:23 Duration: 10m43s Bind query: yes
7 10m41s 10m41s 10m41s 1 10m41s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where upper(tp.pathway_nm) like ? and tp.object_type_id = ?))) and gcr.chem_id = any (array ( select c.id from term c where c.nm_fts @@ to_tsquery(?, ?) and c.object_type_id = ?)) and gcr.taxon_id = any (array ( select t.id from term t where t.nm_fts @@ to_tsquery(?, ?) and t.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 16 10 1 10m41s 10m41s [ User: pubeu - Total duration: 10m41s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'MARCH8') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Name */ tp.term_id FROM term_pathway tp WHERE UPPER(tp.pathway_nm) LIKE 'IFN' AND tp.object_type_id = 4))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereContains */ c.id FROM term c WHERE c.nm_fts @@ to_tsquery('common.english_nostops', 'DEHP') AND c.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereContains */ t.id FROM term t WHERE t.nm_fts @@ to_tsquery('common.english_nostops', 'HOMO & SAPIENS & HUMAN') AND t.object_type_id = 1)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-11-16 10:06:10 Duration: 10m41s Database: ctdprd51 User: pubeu Bind query: yes
8 42s616ms 10m58s 8m17s 4 33m8s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 15 02 2 11m15s 5m37s 03 2 21m52s 10m56s [ User: pubeu - Total duration: 21m31s - Times executed: 2 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PINK1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-70326' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'DEOXYGLUCOSE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-11-15 03:00:18 Duration: 10m58s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PINK1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-70326' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'DEOXYGLUCOSE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-11-15 03:14:23 Duration: 10m54s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PINK1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-70326' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'DEOXYGLUCOSE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-11-15 02:54:48 Duration: 10m33s Database: ctdprd51 User: pubeu Bind query: yes
9 1s371ms 18m48s 3m10s 141 7h28m25s 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 #9
Day Hour Count Duration Avg duration Nov 10 01 1 17m26s 17m26s 14 1 3s219ms 3s219ms 15 3 34m44s 11m34s 17 11 16m5s 1m27s Nov 11 12 2 4s901ms 2s450ms 16 6 4m50s 48s356ms 17 16 26m25s 1m39s Nov 12 02 2 28m54s 14m27s 13 2 7m24s 3m42s 15 14 7m18s 31s341ms 16 1 9m20s 9m20s 17 2 4s783ms 2s391ms Nov 13 01 1 1s637ms 1s637ms 06 2 2m39s 1m19s 11 1 17m41s 17m41s 14 1 8m35s 8m35s 22 1 3s258ms 3s258ms 23 1 3m27s 3m27s Nov 14 00 7 4m15s 36s489ms 05 2 13m39s 6m49s 13 5 9m31s 1m54s 20 1 1s587ms 1s587ms 21 6 5m37s 56s276ms 22 8 16m47s 2m5s 23 2 13m40s 6m50s Nov 15 00 4 28m52s 7m13s 01 1 17m29s 17m29s 02 1 18m48s 18m48s 04 5 12m42s 2m32s 05 11 15m59s 1m27s 06 4 5s859ms 1s464ms 11 2 3s141ms 1s570ms 13 1 4m19s 4m19s Nov 16 10 2 6s442ms 3s221ms 13 2 29m5s 14m32s 16 1 8m48s 8m48s 17 4 34m25s 8m36s 20 2 2s828ms 1s414ms 22 2 28m50s 14m25s [ User: pubeu - Total duration: 4h2m25s - Times executed: 61 ]
-
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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-15 02:52:27 Duration: 18m48s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-13 11:37:19 Duration: 17m41s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-12 02:31:01 Duration: 17m34s Database: ctdprd51 User: pubeu Bind query: yes
10 1s782ms 39m45s 1m59s 37 1h13m39s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 10 05 1 14s263ms 14s263ms 20 1 34s381ms 34s381ms 23 1 40s147ms 40s147ms Nov 11 03 1 1m4s 1m4s 04 4 1m26s 21s566ms 10 1 2s597ms 2s597ms Nov 12 07 6 3m52s 38s690ms 08 8 1h35s 7m34s Nov 13 04 1 2s652ms 2s652ms Nov 14 19 1 1m5s 1m5s Nov 15 05 5 46s18ms 9s203ms 07 1 2s244ms 2s244ms 08 1 2s145ms 2s145ms 12 3 1m28s 29s500ms 13 1 28s820ms 28s820ms Nov 16 08 1 1m13s 1m13s [ User: pubeu - Total duration: 24m42s - Times executed: 21 ]
-
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 = '1394946')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-12 08:34:51 Duration: 39m45s 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 = '2087497')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-12 08:01:01 Duration: 4m34s 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 = '2087497')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-12 08:00:53 Duration: 4m26s Database: ctdprd51 User: pubeu Bind query: yes
11 37s225ms 38s548ms 37s529ms 25 15m38s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 10 06 1 37s522ms 37s522ms 10 1 37s306ms 37s306ms 14 1 37s299ms 37s299ms 18 1 37s311ms 37s311ms Nov 11 06 1 37s464ms 37s464ms 10 1 37s458ms 37s458ms 14 1 37s378ms 37s378ms 18 1 37s225ms 37s225ms Nov 12 06 1 37s395ms 37s395ms 10 1 37s428ms 37s428ms 14 1 37s455ms 37s455ms 18 1 37s412ms 37s412ms Nov 13 06 1 37s531ms 37s531ms 10 1 37s435ms 37s435ms 14 1 37s458ms 37s458ms 18 1 37s482ms 37s482ms Nov 14 06 1 37s448ms 37s448ms 10 1 37s809ms 37s809ms 14 1 37s531ms 37s531ms 18 1 37s474ms 37s474ms Nov 15 06 1 38s548ms 38s548ms 10 1 37s570ms 37s570ms 14 1 37s643ms 37s643ms 18 1 38s114ms 38s114ms Nov 16 19 1 37s518ms 37s518ms [ User: postgres - Total duration: 15m - Times executed: 24 ]
[ Application: pg_dump - Total duration: 15m - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-11-15 06:05:40 Duration: 38s548ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-11-15 18:05:40 Duration: 38s114ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-11-14 10:05:39 Duration: 37s809ms Database: ctdprd51 User: postgres Application: pg_dump
12 2s137ms 26s164ms 17s511ms 30 8m45s 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 g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 10 11 1 19s414ms 19s414ms 21 4 45s362ms 11s340ms 22 1 19s378ms 19s378ms Nov 11 11 1 19s426ms 19s426ms Nov 14 21 1 20s500ms 20s500ms Nov 15 08 1 16s791ms 16s791ms 09 3 57s661ms 19s220ms 18 3 1m 20s40ms 20 2 39s372ms 19s686ms 21 1 26s164ms 26s164ms Nov 16 01 2 4s467ms 2s233ms 14 4 1m18s 19s636ms 15 2 39s976ms 19s988ms 22 2 39s125ms 19s562ms 23 2 39s24ms 19s512ms [ User: pubeu - Total duration: 4m28s - Times executed: 15 ]
-
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 = '2084734') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-15 21:19:28 Duration: 26s164ms 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 = '2080872') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-16 15:15:07 Duration: 20s520ms 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 = '2080498') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-14 21:39:04 Duration: 20s500ms Bind query: yes
13 1s31ms 24s878ms 5s942ms 198 19m36s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 10 01 3 24s754ms 8s251ms 06 1 1s71ms 1s71ms 08 1 1s459ms 1s459ms 13 1 1s177ms 1s177ms 14 4 37s13ms 9s253ms 15 1 9s832ms 9s832ms 16 1 1s94ms 1s94ms 17 14 1m31s 6s514ms 20 2 2s736ms 1s368ms 21 1 1s526ms 1s526ms Nov 11 00 1 1s703ms 1s703ms 01 1 1s738ms 1s738ms 06 1 1s80ms 1s80ms 07 3 1m8s 22s712ms 12 2 21s774ms 10s887ms 13 1 1s75ms 1s75ms 16 5 48s947ms 9s789ms 17 12 24s714ms 2s59ms 21 1 7s329ms 7s329ms Nov 12 02 4 15s443ms 3s860ms 03 1 1s438ms 1s438ms 09 1 1s498ms 1s498ms 13 2 4s160ms 2s80ms 15 11 1m6s 6s49ms 17 2 22s243ms 11s121ms Nov 13 11 2 16s259ms 8s129ms 15 1 1s550ms 1s550ms 22 8 2m27s 18s397ms 23 4 58s1ms 14s500ms Nov 14 00 6 1m 10s29ms 04 2 2s156ms 1s78ms 05 14 55s946ms 3s996ms 07 2 2s68ms 1s34ms 13 4 23s788ms 5s947ms 17 1 1s770ms 1s770ms 18 1 1s92ms 1s92ms 20 2 7s444ms 3s722ms 21 8 14s 1s750ms 22 7 15s589ms 2s227ms 23 9 43s82ms 4s786ms Nov 15 05 9 1m14s 8s294ms 08 1 1s146ms 1s146ms 11 5 7s144ms 1s428ms 22 1 1s49ms 1s49ms Nov 16 04 4 13s842ms 3s460ms 06 1 3s296ms 3s296ms 07 3 21s430ms 7s143ms 08 1 7s245ms 7s245ms 09 5 7s931ms 1s586ms 10 5 1m20s 16s 12 1 1s63ms 1s63ms 13 7 24s589ms 3s512ms 17 1 1s398ms 1s398ms 20 2 6s990ms 3s495ms 21 1 1s450ms 1s450ms 22 3 13s629ms 4s543ms [ User: pubeu - Total duration: 8m7s - Times executed: 76 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-15 05:42:33 Duration: 24s878ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-13 22:56:40 Duration: 24s604ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-13 22:56:43 Duration: 23s821ms Database: ctdprd51 User: pubeu Bind query: yes
14 1s4ms 17s571ms 4s864ms 86 6m58s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 10 14 2 16s854ms 8s427ms 17 8 45s519ms 5s689ms 23 1 1s114ms 1s114ms Nov 11 12 2 18s479ms 9s239ms 16 10 48s366ms 4s836ms 17 10 18s114ms 1s811ms Nov 12 02 1 1s77ms 1s77ms 13 1 1s87ms 1s87ms 15 12 58s129ms 4s844ms 17 2 17s187ms 8s593ms Nov 13 22 1 16s564ms 16s564ms Nov 14 00 8 46s141ms 5s767ms 13 4 21s403ms 5s350ms 20 1 1s405ms 1s405ms 21 4 5s590ms 1s397ms 22 3 4s871ms 1s623ms Nov 15 01 2 2s276ms 1s138ms 05 8 46s673ms 5s834ms Nov 16 05 3 32s137ms 10s712ms 06 1 10s558ms 10s558ms 17 2 4s809ms 2s404ms [ User: pubeu - Total duration: 2m31s - Times executed: 38 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1217771'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-15 05:42:17 Duration: 17s571ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1217771'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-13 22:56:39 Duration: 16s564ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1217771'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-10 17:53:18 Duration: 16s447ms Bind query: yes
15 1s5ms 6s560ms 4s572ms 199 15m9s 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 Nov 10 00 1 4s758ms 4s758ms 03 1 5s199ms 5s199ms 07 2 8s975ms 4s487ms 08 1 1s67ms 1s67ms 09 2 9s570ms 4s785ms 11 2 9s532ms 4s766ms 13 1 4s422ms 4s422ms 14 1 4s632ms 4s632ms 16 10 41s435ms 4s143ms 17 2 8s631ms 4s315ms 18 1 5s274ms 5s274ms 19 2 9s640ms 4s820ms 20 5 20s995ms 4s199ms 21 1 4s918ms 4s918ms 22 3 14s97ms 4s699ms 23 2 10s46ms 5s23ms Nov 11 01 2 9s660ms 4s830ms 02 2 8s716ms 4s358ms 03 1 5s132ms 5s132ms 04 2 8s792ms 4s396ms 05 1 4s209ms 4s209ms 06 6 31s33ms 5s172ms 09 1 5s447ms 5s447ms 10 7 32s971ms 4s710ms 13 1 5s265ms 5s265ms 16 1 5s227ms 5s227ms 17 1 5s144ms 5s144ms 18 2 10s541ms 5s270ms 19 1 4s452ms 4s452ms Nov 12 00 1 4s296ms 4s296ms 01 1 5s506ms 5s506ms 04 6 24s848ms 4s141ms 07 1 5s201ms 5s201ms 08 2 7s175ms 3s587ms 15 5 24s444ms 4s888ms 16 1 4s923ms 4s923ms 17 1 4s865ms 4s865ms 18 1 4s865ms 4s865ms 20 1 4s817ms 4s817ms 21 1 4s724ms 4s724ms Nov 13 04 8 39s641ms 4s955ms 05 4 21s475ms 5s368ms 07 2 9s665ms 4s832ms 10 2 9s476ms 4s738ms 11 3 14s472ms 4s824ms 12 1 4s706ms 4s706ms 18 2 5s746ms 2s873ms 19 1 4s805ms 4s805ms 21 1 4s891ms 4s891ms Nov 14 00 1 1s64ms 1s64ms 01 6 29s476ms 4s912ms 05 1 4s884ms 4s884ms 06 1 4s789ms 4s789ms 09 1 4s697ms 4s697ms 10 2 9s599ms 4s799ms 14 2 9s738ms 4s869ms 20 3 11s61ms 3s687ms 22 7 32s305ms 4s615ms 23 3 15s660ms 5s220ms Nov 15 00 2 10s449ms 5s224ms 01 1 4s659ms 4s659ms 02 4 15s541ms 3s885ms 05 4 19s227ms 4s806ms 07 3 8s387ms 2s795ms 08 5 28s85ms 5s617ms 09 1 1s115ms 1s115ms 14 2 6s63ms 3s31ms 17 1 5s243ms 5s243ms 18 2 10s148ms 5s74ms 20 2 9s502ms 4s751ms 21 1 1s14ms 1s14ms Nov 16 02 2 9s787ms 4s893ms 04 1 1s8ms 1s8ms 05 4 21s92ms 5s273ms 06 1 1s5ms 1s5ms 07 2 9s667ms 4s833ms 08 3 14s645ms 4s881ms 09 1 4s563ms 4s563ms 13 3 14s544ms 4s848ms 14 2 9s404ms 4s702ms 17 2 10s247ms 5s123ms 18 3 15s165ms 5s55ms 19 6 29s686ms 4s947ms 20 3 15s82ms 5s27ms 23 1 1s10ms 1s10ms [ User: pubeu - Total duration: 6m21s - Times executed: 85 ]
-
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 = '1433053' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-15 08:26:16 Duration: 6s560ms 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 = '1384823' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-15 08:40:20 Duration: 6s404ms 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 = '1423332' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-15 07:22:10 Duration: 6s273ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s21ms 27s429ms 3s874ms 128 8m15s 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 Nov 10 05 1 1s127ms 1s127ms 20 1 3s683ms 3s683ms Nov 11 03 1 1s21ms 1s21ms 17 1 2s157ms 2s157ms 21 18 21s708ms 1s206ms Nov 12 01 2 9s441ms 4s720ms 02 13 1m43s 7s989ms Nov 13 05 1 11s427ms 11s427ms 08 2 51s447ms 25s723ms 11 1 2s301ms 2s301ms 12 1 1s920ms 1s920ms 16 1 13s523ms 13s523ms Nov 14 09 2 3s988ms 1s994ms 11 2 16s469ms 8s234ms 13 1 2s258ms 2s258ms 23 17 33s276ms 1s957ms Nov 15 03 3 5s841ms 1s947ms 05 2 16s147ms 8s73ms 06 18 41s512ms 2s306ms 08 5 1m5s 13s48ms 09 2 7s85ms 3s542ms 12 5 6s214ms 1s242ms 13 1 1s113ms 1s113ms 14 1 3s580ms 3s580ms 15 1 2s334ms 2s334ms 17 1 1s951ms 1s951ms Nov 16 07 6 8s526ms 1s421ms 10 10 15s819ms 1s581ms 13 3 15s356ms 5s118ms 14 5 25s612ms 5s122ms [ User: pubeu - Total duration: 4m15s - Times executed: 70 ]
-
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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-15 08:25:26 Duration: 27s429ms 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-15 08:20:46 Duration: 26s993ms 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-13 08:52:47 Duration: 25s796ms Database: ctdprd51 User: pubeu Bind query: yes
17 3s540ms 17s474ms 3s840ms 704 45m3s select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 10 00 9 34s657ms 3s850ms 01 22 1m23s 3s813ms 02 3 11s631ms 3s877ms 05 5 19s166ms 3s833ms 07 3 11s453ms 3s817ms 08 2 7s672ms 3s836ms 09 4 15s444ms 3s861ms 10 1 3s751ms 3s751ms 11 1 3s894ms 3s894ms 12 2 7s670ms 3s835ms 13 1 3s881ms 3s881ms 15 1 3s887ms 3s887ms 18 1 3s706ms 3s706ms 19 1 3s715ms 3s715ms 20 3 12s81ms 4s27ms 22 1 3s767ms 3s767ms 23 1 3s900ms 3s900ms Nov 11 00 1 3s735ms 3s735ms 01 2 7s380ms 3s690ms 02 6 22s927ms 3s821ms 03 2 7s508ms 3s754ms 04 1 3s886ms 3s886ms 05 1 3s787ms 3s787ms 06 4 15s601ms 3s900ms 07 2 7s619ms 3s809ms 08 1 3s797ms 3s797ms 09 4 15s290ms 3s822ms 10 7 27s6ms 3s858ms 11 2 7s805ms 3s902ms 12 1 3s742ms 3s742ms 13 2 7s575ms 3s787ms 14 8 30s475ms 3s809ms 15 4 15s265ms 3s816ms 18 3 11s469ms 3s823ms 19 1 3s903ms 3s903ms 20 12 45s655ms 3s804ms 23 1 3s770ms 3s770ms Nov 12 00 2 7s654ms 3s827ms 01 1 3s990ms 3s990ms 03 1 3s708ms 3s708ms 04 7 27s160ms 3s880ms 05 3 11s681ms 3s893ms 07 5 20s753ms 4s150ms 08 3 12s658ms 4s219ms 09 3 11s391ms 3s797ms 10 2 7s532ms 3s766ms 11 4 15s611ms 3s902ms 12 4 15s343ms 3s835ms 13 6 22s946ms 3s824ms 14 2 7s791ms 3s895ms 16 1 3s756ms 3s756ms 17 3 11s494ms 3s831ms 18 1 3s772ms 3s772ms 19 1 3s787ms 3s787ms 20 7 26s981ms 3s854ms 21 2 7s617ms 3s808ms 22 2 7s710ms 3s855ms Nov 13 00 1 3s863ms 3s863ms 01 20 1m16s 3s818ms 02 58 3m40s 3s803ms 03 26 1m39s 3s815ms 04 22 1m24s 3s820ms 05 33 2m6s 3s836ms 06 3 12s172ms 4s57ms 07 7 26s506ms 3s786ms 09 5 19s121ms 3s824ms 10 6 22s769ms 3s794ms 11 3 11s641ms 3s880ms 12 1 3s823ms 3s823ms 13 2 7s585ms 3s792ms 15 1 3s922ms 3s922ms 16 2 7s783ms 3s891ms 17 1 3s705ms 3s705ms 19 2 7s345ms 3s672ms 20 19 1m12s 3s807ms 21 31 1m54s 3s708ms 22 12 45s868ms 3s822ms 23 14 52s577ms 3s755ms Nov 14 00 22 1m23s 3s792ms 01 21 1m19s 3s772ms 02 24 1m32s 3s838ms 03 27 1m43s 3s820ms 04 31 1m57s 3s785ms 05 2 7s345ms 3s672ms 06 1 4s186ms 4s186ms 07 2 7s465ms 3s732ms 09 2 7s745ms 3s872ms 10 2 7s614ms 3s807ms 11 1 3s622ms 3s622ms 12 3 12s26ms 4s8ms 13 1 3s677ms 3s677ms 14 1 3s758ms 3s758ms 15 1 5s595ms 5s595ms 16 1 3s679ms 3s679ms 17 16 58s838ms 3s677ms 20 29 1m49s 3s770ms 22 3 11s250ms 3s750ms 23 2 7s930ms 3s965ms Nov 15 00 1 3s811ms 3s811ms 01 1 3s976ms 3s976ms 02 5 18s848ms 3s769ms 03 1 3s927ms 3s927ms 04 2 7s730ms 3s865ms 05 1 3s939ms 3s939ms 07 3 25s317ms 8s439ms 08 4 16s748ms 4s187ms 09 3 11s686ms 3s895ms 11 2 7s680ms 3s840ms 12 1 3s921ms 3s921ms 14 4 15s439ms 3s859ms 20 2 7s867ms 3s933ms 21 3 11s270ms 3s756ms 22 1 3s956ms 3s956ms Nov 16 02 2 8s21ms 4s10ms 04 2 7s598ms 3s799ms 05 1 3s848ms 3s848ms 08 1 4s166ms 4s166ms 09 6 24s78ms 4s13ms 10 3 11s473ms 3s824ms 11 4 15s262ms 3s815ms 12 1 3s732ms 3s732ms 13 1 3s927ms 3s927ms 16 1 3s787ms 3s787ms 20 1 3s872ms 3s872ms [ User: pubeu - Total duration: 19m56s - Times executed: 309 ]
-
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 = '1394946') 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 = '1394946') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-11-15 07:03:12 Duration: 17s474ms 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 = '1424183') 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 = '1424183') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-11-14 15:40:15 Duration: 5s595ms 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 = '1424183') 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 = '1424183') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-11-12 07:54:20 Duration: 5s548ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s9ms 11s635ms 3s489ms 306 17m47s 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 #18
Day Hour Count Duration Avg duration Nov 10 05 2 13s747ms 6s873ms 06 1 6s385ms 6s385ms 07 2 11s880ms 5s940ms 08 8 33s281ms 4s160ms 09 16 1m 3s794ms 10 8 37s908ms 4s738ms 11 8 45s34ms 5s629ms 12 7 27s179ms 3s882ms 13 4 13s508ms 3s377ms 14 8 28s273ms 3s534ms 15 2 3s812ms 1s906ms 16 14 57s949ms 4s139ms 17 15 57s357ms 3s823ms 18 3 7s646ms 2s548ms 19 7 36s588ms 5s226ms 20 12 49s593ms 4s132ms 21 6 26s507ms 4s417ms 22 3 11s450ms 3s816ms 23 14 1m5s 4s645ms Nov 11 00 4 13s558ms 3s389ms 02 2 3s561ms 1s780ms 04 2 3s690ms 1s845ms 05 1 5s355ms 5s355ms 06 7 32s731ms 4s675ms 07 7 28s898ms 4s128ms 08 3 12s20ms 4s6ms 09 6 16s590ms 2s765ms 11 1 1s144ms 1s144ms 13 2 7s348ms 3s674ms 14 1 1s303ms 1s303ms 15 1 2s51ms 2s51ms 16 1 1s323ms 1s323ms 18 1 2s555ms 2s555ms 21 1 1s118ms 1s118ms 23 1 1s183ms 1s183ms Nov 12 00 1 6s208ms 6s208ms 01 4 8s951ms 2s237ms 02 3 7s814ms 2s604ms 04 1 1s277ms 1s277ms 08 1 2s513ms 2s513ms 09 1 3s876ms 3s876ms 13 1 2s482ms 2s482ms 15 1 2s549ms 2s549ms 16 1 1s301ms 1s301ms 17 1 2s484ms 2s484ms 19 1 6s380ms 6s380ms 22 1 1s136ms 1s136ms 23 1 1s140ms 1s140ms Nov 13 02 1 6s111ms 6s111ms 03 1 1s996ms 1s996ms 04 1 1s306ms 1s306ms 05 2 3s894ms 1s947ms 07 1 4s857ms 4s857ms 08 1 2s484ms 2s484ms 10 2 2s603ms 1s301ms 11 5 27s762ms 5s552ms 15 1 1s324ms 1s324ms 16 1 4s356ms 4s356ms 19 2 3s802ms 1s901ms 21 1 1s192ms 1s192ms Nov 14 03 2 11s61ms 5s530ms 04 1 2s486ms 2s486ms 05 2 9s20ms 4s510ms 07 1 2s470ms 2s470ms 09 1 1s145ms 1s145ms 10 2 3s756ms 1s878ms 11 1 4s710ms 4s710ms 14 1 2s511ms 2s511ms 16 1 1s42ms 1s42ms 18 1 1s333ms 1s333ms 19 2 9s667ms 4s833ms 20 2 2s912ms 1s456ms 21 5 18s808ms 3s761ms 22 2 2s338ms 1s169ms 23 11 34s657ms 3s150ms Nov 15 02 1 1s264ms 1s264ms 03 1 2s444ms 2s444ms 05 8 18s451ms 2s306ms 06 2 2s696ms 1s348ms 07 5 7s226ms 1s445ms 08 1 2s420ms 2s420ms 09 1 1s281ms 1s281ms 11 2 7s290ms 3s645ms 13 2 2s72ms 1s36ms 14 2 2s279ms 1s139ms 17 2 2s346ms 1s173ms 18 2 3s492ms 1s746ms Nov 16 01 2 4s785ms 2s392ms 08 2 3s537ms 1s768ms 09 1 1s443ms 1s443ms 13 3 12s804ms 4s268ms 17 15 41s802ms 2s786ms 21 1 4s113ms 4s113ms [ User: pubeu - Total duration: 6m45s - Times executed: 127 ]
-
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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-10 16:49:33 Duration: 11s635ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-10 23:02:47 Duration: 11s468ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-10 23:09:09 Duration: 11s434ms Bind query: yes
19 1s194ms 6s467ms 2s924ms 166 8m5s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 10 06 5 13s44ms 2s608ms 08 4 10s836ms 2s709ms 09 3 6s25ms 2s8ms 10 2 7s273ms 3s636ms 11 1 3s268ms 3s268ms 12 2 12s179ms 6s89ms 13 1 1s859ms 1s859ms 14 1 6s318ms 6s318ms 16 8 21s250ms 2s656ms 17 8 29s61ms 3s632ms 18 6 15s208ms 2s534ms 19 12 32s373ms 2s697ms 20 5 12s823ms 2s564ms 21 1 1s834ms 1s834ms 22 8 27s96ms 3s387ms 23 1 1s340ms 1s340ms Nov 11 00 2 12s257ms 6s128ms 01 2 9s55ms 4s527ms 02 2 7s835ms 3s917ms 03 4 13s160ms 3s290ms 05 2 8s206ms 4s103ms 10 8 21s242ms 2s655ms Nov 12 04 9 23s15ms 2s557ms 15 4 13s423ms 3s355ms 17 2 5s318ms 2s659ms Nov 13 01 5 13s936ms 2s787ms 04 9 23s149ms 2s572ms 18 4 12s592ms 3s148ms Nov 14 01 8 21s294ms 2s661ms 20 1 1s305ms 1s305ms 22 8 21s479ms 2s684ms Nov 15 05 5 14s72ms 2s814ms 08 1 2s109ms 2s109ms 20 3 11s413ms 3s804ms Nov 16 09 5 11s277ms 2s255ms 18 6 16s259ms 2s709ms 19 8 21s341ms 2s667ms [ User: pubeu - Total duration: 2m23s - Times executed: 49 ]
-
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 = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-10 22:46:32 Duration: 6s467ms 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 = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-11 03:55:04 Duration: 6s416ms 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 = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-10 14:46:49 Duration: 6s318ms Bind query: yes
20 1s12ms 3s578ms 2s519ms 71 2m58s with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 10 04 1 1s892ms 1s892ms 05 3 7s754ms 2s584ms 09 1 1s879ms 1s879ms 15 1 3s243ms 3s243ms 17 1 3s228ms 3s228ms 20 1 3s279ms 3s279ms Nov 11 05 3 7s733ms 2s577ms 11 1 3s277ms 3s277ms 12 1 3s272ms 3s272ms Nov 12 05 4 8s970ms 2s242ms 13 2 5s318ms 2s659ms Nov 13 00 6 14s279ms 2s379ms 01 1 3s240ms 3s240ms 05 2 6s543ms 3s271ms 16 1 3s195ms 3s195ms 20 1 1s871ms 1s871ms Nov 14 01 1 3s218ms 3s218ms 02 12 25s532ms 2s127ms 04 1 1s851ms 1s851ms 05 2 6s561ms 3s280ms 18 1 3s290ms 3s290ms Nov 15 03 1 1s854ms 1s854ms 05 4 9s57ms 2s264ms 11 1 3s241ms 3s241ms 19 1 3s296ms 3s296ms Nov 16 05 2 6s563ms 3s281ms 08 2 6s677ms 3s338ms 13 13 28s761ms 2s212ms [ User: pubeu - Total duration: 48s804ms - Times executed: 17 ]
[ User: qaeu - Total duration: 23s559ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '592983' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-11-15 05:40:12 Duration: 3s578ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '592983' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-11-12 05:35:13 Duration: 3s547ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '592983' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-11-12 05:40:12 Duration: 3s392ms Database: ctdprd51 User: qaeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2s168ms 2 1s84ms 1s84ms 1s84ms SELECT /* ReferenceCitedDiseasesDAO */ ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Nov 16 08 2 2s168ms 1s84ms -
SELECT /* ReferenceCitedDiseasesDAO */ ;
Date: 2024-11-12 07:59:01 Duration: 1s84ms Database: postgres parameters: $1 = '2087497'
2 2s43ms 2 1s21ms 1s21ms 1s21ms SELECT /* ReferenceCitedGenesDAO */ ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 08 2 2s43ms 1s21ms -
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2024-11-12 07:59:14 Duration: 1s21ms Database: postgres parameters: $1 = '2080694'
3 0ms 267 0ms 0ms 0ms ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration Nov 10 05 6 0ms 0ms 06 8 0ms 0ms 07 8 0ms 0ms 15 2 0ms 0ms 16 6 0ms 0ms Nov 11 00 1 0ms 0ms 06 2 0ms 0ms 07 14 0ms 0ms 09 8 0ms 0ms 10 8 0ms 0ms 15 2 0ms 0ms 16 4 0ms 0ms 17 8 0ms 0ms Nov 12 05 2 0ms 0ms 06 4 0ms 0ms 07 2 0ms 0ms 09 4 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 13 6 0ms 0ms 14 2 0ms 0ms 15 10 0ms 0ms 17 12 0ms 0ms Nov 13 06 4 0ms 0ms 07 12 0ms 0ms 08 2 0ms 0ms 09 4 0ms 0ms 10 6 0ms 0ms 11 2 0ms 0ms 15 2 0ms 0ms Nov 14 06 4 0ms 0ms 07 2 0ms 0ms 10 2 0ms 0ms Nov 15 06 3 0ms 0ms 07 15 0ms 0ms 08 3 0ms 0ms 09 6 0ms 0ms 10 6 0ms 0ms 11 18 0ms 0ms 12 6 0ms 0ms 13 6 0ms 0ms 14 12 0ms 0ms 15 3 0ms 0ms 16 21 0ms 0ms 18 3 0ms 0ms [ User: pubeu - Total duration: 23m19s - Times executed: 114 ]
[ User: qaeu - Total duration: 2s783ms - Times executed: 2 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '1562914', $2 = '1562914'
-
Events
Log levels
Key values
- 105,025 Log entries
Events distribution
Key values
- 0 PANIC entries
- 36 FATAL entries
- 59 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 19 Max number of times the same event was reported
- 95 Total events found
Rank Times reported Error 1 19 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #1
Day Hour Count Nov 10 01 1 15 1 Nov 12 07 4 08 3 Nov 13 11 1 Nov 15 00 2 01 1 02 1 05 1 Nov 16 13 2 22 2 2 19 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #2
Day Hour Count Nov 10 01 1 15 1 Nov 12 07 4 08 3 Nov 13 11 1 Nov 15 00 2 01 1 02 1 05 1 Nov 16 13 2 22 2 3 17 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #3
Day Hour Count Nov 12 02 9 03 8 4 15 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #4
Day Hour Count Nov 11 19 5 20 3 Nov 12 12 2 13 1 14 1 Nov 13 17 2 Nov 14 21 1 5 7 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #5
Day Hour Count Nov 11 13 1 19 1 Nov 13 15 1 Nov 14 09 1 11 1 17 1 Nov 15 11 1 - ERROR: syntax error in ts"1,731,696 & 0 & 25,381,736 & 11307 & (-- | ) & 24 & 2024/10/01 & 2024/10/01 & 02 & 20 & 10 & 勞退提繳費"
- ERROR: syntax error in ts"(-½| | ½|) & GÖ~ & TU•§§X€"
- ERROR: syntax error in ts"«1 & 1 & ~ & ~ & FFI & J & (*--F | *F) & RP & (IT- | IT) & <11. & ~ & 1 & 1 & ~ & ~ & ±~ & ~ & ~ & LTI9 & ~ & I~JRO & JJ & U & I~IT & > & ERG & ~~LJ"
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 ) ) 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 $16 OR upper( l.acc_txt ) LIKE $17 OR upper( l.acc_txt ) LIKE $18 OR upper( l.acc_txt ) LIKE $19 OR 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 ) ) ii GROUP BY ii.cd
Date: 2024-11-11 13:56:43 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-11-11 19:16:18 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 OR upper( l.acc_txt ) = $12 OR upper( l.acc_txt ) = $13 OR upper( l.acc_txt ) = $14 OR upper( l.acc_txt ) = $15 OR upper( l.acc_txt ) = $16 OR upper( l.acc_txt ) = $17 OR upper( l.acc_txt ) = $18 OR upper( l.acc_txt ) = $19 OR upper( l.acc_txt ) = $20 OR upper( l.acc_txt ) = $21 OR upper( l.acc_txt ) = $22 OR upper( l.acc_txt ) = $23 OR upper( l.acc_txt ) = $24 OR upper( l.acc_txt ) = $25 OR upper( l.acc_txt ) = $26 OR upper( l.acc_txt ) = $27 OR upper( l.acc_txt ) = $28 OR upper( l.acc_txt ) = $29 OR upper( l.acc_txt ) = $30 OR upper( l.acc_txt ) = $31 OR upper( l.acc_txt ) = $32 AND l.db_id = (SELECT id FROM db WHERE cd = $33) ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-11-13 15:55:05
6 6 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #6
Day Hour Count Nov 12 07 4 08 2 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT row_to_json(T) FROM ( SELECT CASE WHEN pg_is_in_recovery() THEN 0 ELSE pg_wal_lsn_diff(pg_current_wal_lsn(),'0/00000000') END AS WRITE, CASE WHEN NOT pg_is_in_recovery() THEN 0 ELSE pg_wal_lsn_diff(pg_last_wal_receive_lsn(),'0/00000000') END AS RECEIVE, count(*) FROM pg_ls_waldir() AS COUNT ) T;
Date: 2024-11-12 07:56:10
Statement: SELECT row_to_json (T) FROM ( SELECT checkpoints_timed , checkpoints_req , checkpoint_write_time , checkpoint_sync_time , buffers_checkpoint , buffers_clean , maxwritten_clean , buffers_backend , buffers_backend_fsync , buffers_alloc FROM pg_catalog.pg_stat_bgwriter ) T ;
Date: 2024-11-12 07:57:08 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT pg_database_size(datname::text) FROM pg_catalog.pg_database WHERE datistemplate = false AND datname = $1;
Date: 2024-11-12 07:59:08
7 5 ERROR: column "..." must appear in the GROUP BY clause or be used in an aggregate function
Times Reported Most Frequent Error / Event #7
Day Hour Count Nov 11 13 3 Nov 13 10 1 13 1 - ERROR: column "exposure.reference_acc_txt" must appear in the GROUP BY clause or be used in an aggregate function at character 17
- ERROR: column "exposure.reference_acc_txt" must appear in the GROUP BY clause or be used in an aggregate function at character 17
- ERROR: column "exposure.create_by" must appear in the GROUP BY clause or be used in an aggregate function at character 36
Statement: select distinct reference_acc_txt, count(exp_event_id) from exposure where reference_acc_txt IN ('25151427' ,'21395215' ,'31869729' ,'14998749' ,'20129874' ,'21371937' ,'31376596' ,'18335095' ,'26575634' ,'21268450' ,'18197297' ,'29990952' )
Date: 2024-11-11 13:32:27 Database: ctdprd51 Application: pgAdmin 4 - CONN:2126072 User: edit Remote:
Statement: select distinct reference_acc_txt, create_by, mod_by, max(mod_tm) from exposure --select max(mod_tm) from exposure where reference_acc_txt IN ('25151427' ,'21395215' ,'31869729' ,'14998749' ,'20129874' ,'21371937' ,'31376596' ,'18335095' ,'26575634' ,'21268450' ,'18197297' ,'29990952' )
Date: 2024-11-11 13:36:02 Database: ctdprd51 Application: pgAdmin 4 - CONN:7000687 User: edit Remote:
Statement: select distinct reference_acc_txt, create_by, mod_by, max(mod_tm) from exposure --select max(mod_tm) from exposure where reference_acc_txt IN ('25151427' ,'21395215' ,'31869729' ,'14998749' ,'20129874' ,'21371937' ,'31376596' ,'18335095' ,'26575634' ,'21268450' ,'18197297' ,'29990952' ) group by reference_acc_txt
Date: 2024-11-11 13:36:20
8 2 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #8
Day Hour Count Nov 11 16 1 Nov 12 09 1 - ERROR: duplicate key value violates unique constraint "term_label_ak1"
- ERROR: duplicate key value violates unique constraint "ixn_action_pk"
Detail: Key (acc_txt, synonym, term_label_type_id)=(C517113, 843-55-0, 34) already exists.
Statement: insert into edit.TERM_LABEL ( acc_txt ,nm ,acc_db_id ,synonym ,object_type_id ,term_label_type_id ,reference_acc_txt ,reference_acc_db_id ,notes ,create_by ,mod_by ) values ( 'C517113' ,'1,1-bis(4-hydroxyphenyl)cyclohexane' ,21 ,'843-55-0' ,2 ,34 ,'39313105' ,16 ,'' ,'dsciaky' ,'dsciaky' )Date: 2024-11-11 16:34:39 Database: ctdprd51 Application: User: editeu Remote:
Detail: Key (ixn_id, action_type_id, action_degree_type_id)=(8858122, 1, 1) already exists.
Context: SQL statement "INSERT INTO edit.ixn_action (ixn_id ,action_type_id ,action_degree_type_id ,position_seq ,create_by ,mod_by ,create_tm ,mod_tm ) VALUES (p_ixn_id ,p_action_type_id ,p_action_degree_type_id ,p_position_seq ,p_create_by ,p_mod_by ,p_create_tm ,p_mod_tm )" PL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 9 at SQL statementPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function upd_ixn_root_id(integer,integer) line 14 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_reference_ixn(character varying,integer,integer,character varying,integer,character varying,character varying,character varying,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 42 at RAISE
Statement: select * from edit.ins_ixn_action($1, $2, $3, $4, $5, $6, $7, $8) as resultDate: 2024-11-12 09:34:17
9 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Nov 11 13 1 Nov 13 13 1 - ERROR: syntax error at or near "TRAN" at character 7
- ERROR: syntax error at or near "select" at character 254
Statement: BEGIN TRAN update exposure set create_by ='jwiegers', mod_by='jwiegers' where reference_acc_txt IN ('25151427' ,'21395215' ,'31869729' ,'14998749' ,'20129874' ,'21371937' ,'31376596' ,'18335095' ,'26575634' ,'21268450' ,'18197297' ,'29990952' )
Date: 2024-11-11 13:41:12 Database: ctdprd51 Application: pgAdmin 4 - CONN:9171069 User: edit Remote:
Statement: BEGIN TRANSACTION; update exposure set create_by ='jwiegers', mod_by='jwiegers' where reference_acc_txt IN ('11874814' ,'16330354' ,'16451855' ,'17033500' ,'18456330' ,'19055819' ,'19652462' ,'21075419' ,'21716162' ,'22004949' ,'22295072' ,'22879836' ) select distinct(reference_acc_txt) from exposure where create_by='jwiegers' and mod_by='jwiegers' COMMIT TRANSACTION; select distinct(reference_acc_txt) from exposure where mod_by='jwiegers' select * from actor_form_type
Date: 2024-11-13 13:26:36 Database: ctdprd51 Application: pgAdmin 4 - CONN:9171069 User: edit Remote:
10 1 ERROR: unterminated quoted string at or near "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Nov 12 08 1 - ERROR: unterminated quoted string at or near "'jwieger" at character 88
Statement: select distinct(reference_acc_txt) from exposure where create_by='jwiegers' and mod_by='jwieger
Date: 2024-11-12 08:37:42 Database: ctdprd51 Application: pgAdmin 4 - CONN:9171069 User: edit Remote:
11 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #11
Day Hour Count Nov 11 13 1 - ERROR: column "refernce_acc_txt" does not exist at character 252
Hint: Perhaps you meant to reference the column "exposure.reference_acc_txt".
Statement: select distinct reference_acc_txt, count(exp_event_id) from exposure where reference_acc_txt IN ('25151427' ,'21395215' ,'31869729' ,'14998749' ,'20129874' ,'21371937' ,'31376596' ,'18335095' ,'26575634' ,'21268450' ,'18197297' ,'29990952' ) group by refernce_acc_txtDate: 2024-11-11 13:32:50
12 1 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #12
Day Hour Count Nov 12 08 1 - ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: select distinct(reference_acc_txt) from exposure where create_by='jwiegers' and mod_by='jwiegers'
Date: 2024-11-12 08:37:56