-
Global information
- Generated on Sun Feb 16 04:15:19 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250215
- Parsed 211,051 log entries in 17s
- Log start from 2025-02-09 00:00:02 to 2025-02-15 23:59:53
-
Overview
Global Stats
- 343 Number of unique normalized queries
- 12,555 Number of queries
- 1d1h6m35s Total query duration
- 2025-02-09 00:01:19 First query
- 2025-02-15 23:44:32 Last query
- 8 queries/s at 2025-02-11 08:26:33 Query peak
- 1d1h6m35s Total query duration
- 10s609ms Prepare/parse total duration
- 1m16s Bind total duration
- 1d1h5m8s Execute total duration
- 1,304 Number of events
- 12 Number of unique normalized events
- 602 Max number of times the same event was reported
- 0 Number of cancellation
- 78 Total number of automatic vacuums
- 211 Total number of automatic analyzes
- 6 Number temporary file
- 1.76 MiB Max size of temporary file
- 880.00 KiB Average size of temporary file
- 17,858 Total number of sessions
- 317 sessions at 2025-02-15 23:27:36 Session peak
- 320d1h55m32s Total duration of sessions
- 25m48s Average duration of sessions
- 0 Average queries per session
- 5s61ms Average queries duration per session
- 25m43s Average idle time per session
- 17,859 Total number of connections
- 84 connections/s at 2025-02-11 07:15:39 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 8 queries/s Query Peak
- 2025-02-11 08:26:33 Date
SELECT Traffic
Key values
- 8 queries/s Query Peak
- 2025-02-11 08:26:33 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-02-12 14:06:01 Date
Queries duration
Key values
- 1d1h6m35s 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) Feb 09 00 50 0ms 23m55s 30s211ms 3s809ms 6s551ms 23m57s 01 64 0ms 2m59s 4s705ms 6s606ms 8s669ms 3m1s 02 57 0ms 16s241ms 2s600ms 6s238ms 11s514ms 28s106ms 03 46 0ms 5s672ms 1s907ms 5s672ms 6s780ms 11s861ms 04 74 0ms 46s166ms 2s469ms 5s816ms 10s677ms 47s405ms 05 101 0ms 9s882ms 1s874ms 7s408ms 17s123ms 30s608ms 06 47 0ms 48s379ms 4s358ms 5s956ms 23s987ms 52s795ms 07 44 0ms 4s334ms 1s487ms 3s620ms 4s623ms 5s191ms 08 55 0ms 21s698ms 2s204ms 5s304ms 8s328ms 22s900ms 09 49 0ms 5s650ms 1s631ms 4s486ms 6s189ms 8s286ms 10 60 0ms 48s265ms 3s536ms 7s379ms 13s498ms 57s55ms 11 82 0ms 38s236ms 2s242ms 7s732ms 10s44ms 38s236ms 12 45 0ms 22s367ms 2s419ms 4s464ms 4s883ms 38s771ms 13 48 0ms 10s952ms 1s935ms 5s402ms 6s595ms 16s272ms 14 52 0ms 48s392ms 4s5ms 7s650ms 24s155ms 48s392ms 15 73 0ms 6s317ms 1s781ms 5s940ms 7s458ms 12s339ms 16 34 0ms 21s237ms 2s973ms 5s968ms 7s23ms 22s520ms 17 57 0ms 15s945ms 1s776ms 4s431ms 5s91ms 15s945ms 18 56 0ms 48s208ms 3s342ms 7s488ms 16s498ms 49s516ms 19 47 0ms 20s811ms 2s197ms 4s975ms 6s249ms 20s811ms 20 69 0ms 11m36s 11s592ms 4s904ms 7s555ms 11m39s 21 62 0ms 6s251ms 2s12ms 5s531ms 7s490ms 21s961ms 22 72 0ms 6s379ms 1s679ms 6s154ms 7s337ms 8s41ms 23 61 0ms 2m7s 4s145ms 5s701ms 12s387ms 2m9s Feb 10 00 110 0ms 24m15s 14s977ms 9s844ms 10s826ms 24m23s 01 192 0ms 10s116ms 1s427ms 8s628ms 10s423ms 25s791ms 02 155 1s12ms 11s982ms 1s418ms 7s376ms 10s205ms 14s196ms 03 157 1s1ms 19s360ms 1s436ms 7s562ms 9s206ms 22s695ms 04 148 1s17ms 2m49s 2s389ms 6s342ms 9s792ms 2m50s 05 133 0ms 11s131ms 1s792ms 7s298ms 17s18ms 29s601ms 06 53 0ms 48s333ms 4s201ms 6s714ms 24s267ms 48s333ms 07 56 0ms 7s205ms 1s859ms 5s520ms 8s401ms 13s89ms 08 52 0ms 6s263ms 1s667ms 4s560ms 6s251ms 6s412ms 09 59 0ms 5s19ms 1s849ms 5s19ms 8s41ms 10s756ms 10 62 0ms 48s648ms 3s740ms 8s568ms 25s208ms 51s48ms 11 80 0ms 33s408ms 3s792ms 18s159ms 34s614ms 36s750ms 12 49 0ms 6s172ms 2s63ms 5s209ms 8s550ms 14s88ms 13 60 0ms 6s155ms 1s583ms 4s429ms 6s88ms 15s13ms 14 49 0ms 48s626ms 3s778ms 6s219ms 26s399ms 48s626ms 15 36 0ms 6s247ms 1s965ms 4s463ms 5s748ms 6s247ms 16 70 0ms 6s209ms 1s799ms 4s584ms 16s828ms 23s773ms 17 55 0ms 4m57s 7s248ms 5s708ms 7s606ms 5m 18 48 0ms 48s405ms 4s106ms 6s179ms 12s479ms 55s600ms 19 71 0ms 17s942ms 1s938ms 6s335ms 9s143ms 22s49ms 20 73 0ms 48s255ms 3s727ms 8s131ms 8s928ms 2m22s 21 60 0ms 7s450ms 2s215ms 6s251ms 8s487ms 10s202ms 22 36 0ms 11s12ms 2s402ms 4s9ms 6s142ms 11s12ms 23 71 0ms 4m24s 5s813ms 5s894ms 7s322ms 4m34s Feb 11 00 36 0ms 24m46s 43s401ms 4s549ms 7s510ms 24m54s 01 86 0ms 28s957ms 2s76ms 7s439ms 10s261ms 30s96ms 02 74 0ms 15s368ms 1s971ms 6s555ms 9s349ms 16s745ms 03 54 0ms 6s627ms 1s830ms 5s309ms 5s886ms 6s660ms 04 85 0ms 6s227ms 1s880ms 6s227ms 8s187ms 21s763ms 05 101 0ms 22s787ms 2s107ms 8s621ms 22s787ms 28s374ms 06 123 0ms 4m21s 7s219ms 30s375ms 53s838ms 4m34s 07 121 0ms 21s710ms 2s656ms 13s615ms 16s98ms 28s304ms 08 132 0ms 3m16s 4s431ms 15s255ms 43s536ms 3m19s 09 87 0ms 4m6s 4s968ms 9s125ms 10s165ms 4m15s 10 203 0ms 49s53ms 2s197ms 14s709ms 31s933ms 49s53ms 11 149 0ms 6s471ms 1s632ms 8s706ms 10s990ms 15s531ms 12 85 0ms 4m22s 6s266ms 9s69ms 22s630ms 4m24s 13 128 0ms 53s767ms 3s454ms 20s940ms 53s709ms 1m2s 14 177 0ms 5m20s 5s850ms 29s936ms 1m32s 6m25s 15 134 0ms 2m53s 3s413ms 13s704ms 19s138ms 2m53s 16 123 0ms 11s937ms 2s76ms 8s202ms 13s216ms 36s69ms 17 115 0ms 4m37s 5s57ms 8s530ms 18s25ms 4m38s 18 105 0ms 49s165ms 3s108ms 12s991ms 24s42ms 51s706ms 19 150 1s5ms 21s746ms 2s752ms 16s25ms 24s232ms 28s238ms 20 172 0ms 22s397ms 2s886ms 15s24ms 29s900ms 1m35s 21 260 0ms 4m38s 4s297ms 23s912ms 59s397ms 5m4s 22 263 1s11ms 4m47s 3s65ms 17s579ms 22s84ms 4m55s 23 211 1s14ms 2m43s 3s402ms 15s25ms 1m14s 2m48s Feb 12 00 242 1s3ms 24m28s 9s827ms 33s704ms 1m15s 24m39s 01 245 1s3ms 4m8s 2s897ms 16s213ms 23s903ms 4m17s 02 195 0ms 3m29s 3s16ms 13s540ms 17s979ms 3m34s 03 147 0ms 5m19s 5s918ms 17s18ms 1m2s 5m21s 04 122 0ms 5m44s 7s876ms 11s780ms 25s27ms 5m48s 05 166 0ms 4m38s 4s85ms 19s196ms 26s916ms 4m38s 06 169 0ms 5m20s 5s501ms 26s729ms 1m1s 5m22s 07 109 0ms 14s936ms 2s396ms 8s981ms 11s162ms 19s520ms 08 134 0ms 3m30s 4s168ms 14s103ms 30s54ms 3m42s 09 196 0ms 10s947ms 2s479ms 16s407ms 23s732ms 43s28ms 10 153 0ms 49s31ms 3s53ms 19s389ms 25s789ms 59s278ms 11 91 0ms 16s489ms 2s665ms 11s115ms 12s642ms 17s764ms 12 107 0ms 6s453ms 1s941ms 7s588ms 9s113ms 17s588ms 13 68 0ms 2m30s 6s374ms 12s685ms 21s293ms 2m30s 14 37 0ms 49s96ms 6s183ms 20s199ms 24s80ms 53s133ms 15 13 0ms 4s70ms 2s215ms 1s837ms 3s556ms 8s99ms 16 23 0ms 6s79ms 1s540ms 2s537ms 5s127ms 8s509ms 17 31 0ms 8s509ms 1s911ms 3s561ms 6s148ms 13s841ms 18 50 0ms 48s845ms 4s723ms 12s761ms 43s172ms 51s490ms 19 22 0ms 4s74ms 1s518ms 2s522ms 4s74ms 6s317ms 20 25 0ms 5s235ms 2s66ms 4s10ms 4s627ms 7s779ms 21 41 0ms 5s895ms 1s668ms 3s778ms 6s369ms 6s836ms 22 56 0ms 3s193ms 1s305ms 3s683ms 4s598ms 6s289ms 23 42 0ms 5s39ms 1s331ms 5s65ms 5s387ms 10s347ms Feb 13 00 36 0ms 24m14s 41s972ms 3s707ms 3s965ms 24m20s 01 25 0ms 7s598ms 2s89ms 2s718ms 3s964ms 10s210ms 02 18 0ms 45s434ms 11s259ms 6s891ms 40s909ms 45s434ms 03 42 0ms 40s770ms 2s640ms 4s12ms 5s797ms 40s770ms 04 75 0ms 1s554ms 1s216ms 3s716ms 4s996ms 5s564ms 05 83 0ms 5s197ms 1s933ms 7s648ms 17s298ms 23s695ms 06 21 0ms 49s190ms 6s187ms 2s240ms 24s92ms 49s190ms 07 58 0ms 1m19s 2s719ms 4s804ms 5s257ms 1m20s 08 22 0ms 5s166ms 1s643ms 2s824ms 4s852ms 5s451ms 09 104 0ms 7s708ms 1s510ms 6s723ms 8s757ms 11s331ms 10 102 0ms 49s231ms 2s156ms 5s463ms 26s307ms 50s303ms 11 30 0ms 4s964ms 1s726ms 2s523ms 5s91ms 14s851ms 12 32 0ms 6s583ms 2s703ms 1s222ms 1s408ms 1m13s 13 23 0ms 21s302ms 2s731ms 4s633ms 6s37ms 21s302ms 14 41 0ms 48s988ms 4s428ms 6s308ms 37s366ms 48s988ms 15 16 0ms 5s396ms 1s507ms 1s291ms 2s148ms 6s529ms 16 34 0ms 7s659ms 1s901ms 4s113ms 5s76ms 7s659ms 17 23 0ms 5s402ms 1s784ms 3s425ms 3s877ms 5s402ms 18 40 0ms 48s868ms 4s216ms 4s119ms 27s206ms 48s868ms 19 48 0ms 18s244ms 4s536ms 17s388ms 19s526ms 50s13ms 20 23 0ms 4s553ms 1s715ms 3s636ms 4s67ms 5s666ms 21 33 0ms 6s407ms 2s521ms 3s927ms 4s569ms 26s341ms 22 36 0ms 6s259ms 1s411ms 3s214ms 4s701ms 7s489ms 23 30 0ms 5s783ms 1s500ms 2s724ms 3s656ms 6s865ms Feb 14 00 47 0ms 24m49s 33s327ms 3s760ms 7s172ms 25m2s 01 11 0ms 14m26s 1m30s 4s114ms 32s662ms 14m26s 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 55 0ms 4s827ms 2s93ms 15s299ms 23s998ms 24s210ms 06 47 0ms 49s200ms 3s811ms 3s754ms 25s401ms 49s200ms 07 70 0ms 32s44ms 4s425ms 23s75ms 31s873ms 1m23s 08 63 0ms 30s979ms 2s470ms 5s544ms 18s74ms 38s836ms 09 84 0ms 5s368ms 1s453ms 3s957ms 6s614ms 9s141ms 10 80 0ms 49s121ms 2s556ms 4s692ms 22s724ms 51s732ms 11 57 0ms 1s870ms 1s356ms 2s767ms 3s66ms 4s146ms 12 52 0ms 5s85ms 1s522ms 3s726ms 5s43ms 7s986ms 13 69 0ms 35s524ms 1s857ms 3s953ms 5s236ms 35s524ms 14 120 0ms 49s245ms 2s367ms 10s8ms 25s298ms 53s862ms 15 61 0ms 6s286ms 1s473ms 3s408ms 5s268ms 7s649ms 16 52 0ms 5s810ms 1s473ms 3s818ms 4s724ms 8s638ms 17 63 0ms 10s888ms 1s420ms 3s685ms 5s664ms 12s374ms 18 119 0ms 49s141ms 2s595ms 12s290ms 41s572ms 59s416ms 19 87 0ms 6s446ms 1s731ms 6s110ms 11s468ms 27s249ms 20 50 0ms 8s467ms 1s703ms 4s935ms 8s467ms 9s62ms 21 48 0ms 5s350ms 1s610ms 3s898ms 5s422ms 9s136ms 22 55 0ms 4m51s 6s843ms 4s936ms 5s583ms 4m53s 23 67 0ms 17s715ms 2s10ms 5s378ms 7s572ms 18s918ms Feb 15 00 98 0ms 24m26s 16s816ms 5s122ms 6s285ms 24m32s 01 39 0ms 5s538ms 1s604ms 3s889ms 6s411ms 7s993ms 02 47 0ms 4s595ms 1s448ms 2s800ms 3s804ms 5s408ms 03 51 0ms 19s381ms 1s731ms 3s770ms 4s47ms 20s889ms 04 108 0ms 42s918ms 6s728ms 13s814ms 1m29s 4m22s 05 86 0ms 6s508ms 1s932ms 8s507ms 15s541ms 25s306ms 06 34 0ms 4s697ms 1s642ms 2s625ms 5s243ms 8s743ms 07 58 0ms 4s765ms 1s445ms 4s481ms 6s48ms 7s682ms 08 51 0ms 8s48ms 1s674ms 4s101ms 5s298ms 8s48ms 09 51 0ms 3s971ms 1s377ms 3s620ms 3s971ms 5s998ms 10 36 0ms 5s342ms 1s422ms 2s460ms 2s621ms 5s342ms 11 77 0ms 40s639ms 2s708ms 5s455ms 26s100ms 41s748ms 12 42 0ms 5s737ms 1s578ms 4s632ms 4s963ms 13s891ms 13 21 0ms 4s608ms 1s532ms 2s687ms 4s45ms 4s608ms 14 23 0ms 4s655ms 1s601ms 3s365ms 4s655ms 4s721ms 15 30 0ms 4s987ms 2s344ms 4s987ms 6s290ms 8s149ms 16 28 0ms 5s369ms 1s662ms 3s340ms 4s35ms 6s500ms 17 11 0ms 1s383ms 1s214ms 1s302ms 2s369ms 3s609ms 18 27 0ms 1m11s 15s65ms 59s746ms 1m7s 1m11s 19 65 0ms 24m19s 1m15s 2m2s 7m29s 24m51s 20 118 0ms 22s403ms 3s134ms 19s523ms 29s109ms 34s535ms 21 82 0ms 42m40s 33s958ms 10s260ms 24s404ms 43m 22 13 0ms 1h52m22s 17m18s 1s400ms 3s686ms 3h44m35s 23 9 0ms 2h48m32s 37m27s 2s835ms 2h48m21s 2h48m32s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 09 00 49 0 30s703ms 2s969ms 3s805ms 6s551ms 01 64 0 4s705ms 4s530ms 6s606ms 9s211ms 02 56 0 2s601ms 4s46ms 6s238ms 16s241ms 03 46 0 1s907ms 2s750ms 5s672ms 11s861ms 04 74 0 2s469ms 4s747ms 5s816ms 17s578ms 05 97 0 1s860ms 3s142ms 6s160ms 23s987ms 06 37 10 4s358ms 3s723ms 5s956ms 41s627ms 07 44 0 1s487ms 2s498ms 3s620ms 4s930ms 08 54 0 2s209ms 3s414ms 5s304ms 11s375ms 09 49 0 1s631ms 2s420ms 4s486ms 7s469ms 10 50 10 3s536ms 3s651ms 7s379ms 48s265ms 11 82 0 2s242ms 5s152ms 7s732ms 10s88ms 12 45 0 2s419ms 3s216ms 4s464ms 38s771ms 13 48 0 1s935ms 3s243ms 5s402ms 16s272ms 14 42 10 4s5ms 3s235ms 7s650ms 41s533ms 15 73 0 1s781ms 4s230ms 5s940ms 8s701ms 16 33 0 3s6ms 3s80ms 5s968ms 22s520ms 17 57 0 1s776ms 2s503ms 4s431ms 5s720ms 18 48 8 3s342ms 2s480ms 7s488ms 34s795ms 19 47 0 2s197ms 2s920ms 4s975ms 7s279ms 20 69 0 11s592ms 3s591ms 4s904ms 9s319ms 21 62 0 2s12ms 2s424ms 5s531ms 21s545ms 22 72 0 1s679ms 4s107ms 6s154ms 7s609ms 23 61 0 4s145ms 4s248ms 5s701ms 15s990ms Feb 10 00 109 0 15s56ms 5s882ms 9s844ms 23s210ms 01 191 0 1s419ms 7s421ms 8s499ms 13s931ms 02 155 0 1s418ms 5s315ms 7s376ms 10s724ms 03 157 0 1s436ms 5s774ms 7s562ms 10s970ms 04 148 0 2s389ms 3s909ms 6s342ms 10s754ms 05 129 0 1s778ms 4s725ms 7s298ms 24s994ms 06 42 10 4s245ms 4s71ms 6s714ms 41s500ms 07 56 0 1s859ms 2s426ms 5s520ms 10s9ms 08 52 0 1s667ms 3s268ms 4s560ms 6s412ms 09 59 0 1s849ms 4s20ms 5s19ms 8s102ms 10 52 10 3s740ms 5s347ms 8s568ms 41s474ms 11 80 0 3s792ms 4s597ms 18s159ms 36s744ms 12 49 0 2s63ms 3s339ms 5s209ms 8s723ms 13 60 0 1s583ms 2s998ms 4s429ms 7s49ms 14 39 10 3s778ms 2s405ms 6s219ms 41s765ms 15 36 0 1s965ms 2s410ms 4s463ms 6s112ms 16 68 0 1s785ms 2s747ms 4s584ms 23s773ms 17 55 0 7s248ms 3s55ms 5s708ms 18s352ms 18 38 10 4s106ms 3s996ms 6s179ms 55s600ms 19 71 0 1s938ms 3s938ms 6s335ms 22s49ms 20 71 0 3s759ms 4s550ms 8s131ms 2m22s 21 59 0 2s221ms 5s214ms 6s251ms 10s202ms 22 35 0 2s375ms 3s636ms 4s9ms 11s12ms 23 71 0 5s813ms 4s486ms 5s894ms 28s346ms Feb 11 00 35 0 44s463ms 3s687ms 4s549ms 24m47s 01 85 0 2s78ms 4s795ms 7s439ms 12s933ms 02 74 0 1s971ms 4s601ms 6s555ms 16s561ms 03 54 0 1s830ms 4s67ms 5s309ms 6s660ms 04 85 0 1s880ms 5s66ms 6s227ms 8s631ms 05 97 0 2s101ms 4s47ms 8s621ms 25s176ms 06 113 10 7s219ms 10s722ms 25s974ms 3m17s 07 119 0 2s662ms 8s4ms 13s405ms 22s577ms 08 131 0 4s450ms 9s300ms 15s255ms 1m13s 09 83 0 5s44ms 5s986ms 7s374ms 9s490ms 10 191 10 2s197ms 8s363ms 14s709ms 41s542ms 11 149 0 1s632ms 7s143ms 8s706ms 13s185ms 12 85 0 6s266ms 6s58ms 9s69ms 1m28s 13 126 0 3s473ms 10s919ms 20s246ms 56s455ms 14 161 10 5s974ms 19s66ms 29s936ms 1m32s 15 134 0 3s413ms 7s331ms 13s704ms 23s954ms 16 122 0 2s77ms 6s857ms 8s202ms 13s216ms 17 114 0 5s84ms 6s582ms 8s530ms 1m18s 18 95 10 3s108ms 7s32ms 12s991ms 41s709ms 19 149 0 2s748ms 11s360ms 16s25ms 24s949ms 20 170 0 2s887ms 11s158ms 15s24ms 48s2ms 21 259 0 4s306ms 14s71ms 23s912ms 3m28s 22 262 0 3s68ms 13s814ms 17s579ms 27s675ms 23 211 0 3s402ms 10s510ms 15s25ms 1m23s Feb 12 00 239 0 9s897ms 12s389ms 33s704ms 5m37s 01 243 0 2s899ms 10s862ms 16s213ms 29s578ms 02 195 0 3s16ms 9s452ms 13s540ms 18s824ms 03 145 0 5s967ms 8s625ms 17s18ms 2m48s 04 121 0 7s924ms 9s284ms 11s780ms 5m30s 05 161 0 4s137ms 12s18ms 19s196ms 30s175ms 06 159 9 5s514ms 11s409ms 24s33ms 3m 07 109 0 2s396ms 6s910ms 8s981ms 13s82ms 08 134 0 4s168ms 7s646ms 14s103ms 34s56ms 09 193 0 2s485ms 12s63ms 16s407ms 31s754ms 10 142 10 3s51ms 11s201ms 18s89ms 49s31ms 11 91 0 2s665ms 7s903ms 11s115ms 16s489ms 12 106 0 1s941ms 5s962ms 7s588ms 13s648ms 13 66 0 6s485ms 3s942ms 12s685ms 2m4s 14 26 10 6s263ms 4s287ms 20s199ms 49s96ms 15 13 0 2s215ms 1s243ms 1s837ms 8s99ms 16 23 0 1s540ms 2s435ms 2s537ms 8s509ms 17 31 0 1s911ms 2s513ms 3s561ms 13s841ms 18 40 10 4s723ms 3s752ms 12s761ms 48s845ms 19 22 0 1s518ms 1s466ms 2s522ms 6s317ms 20 25 0 2s66ms 2s529ms 4s10ms 7s779ms 21 41 0 1s668ms 2s383ms 3s778ms 6s554ms 22 56 0 1s305ms 2s521ms 3s683ms 4s850ms 23 42 0 1s331ms 1s574ms 5s65ms 10s347ms Feb 13 00 35 0 42s991ms 1s366ms 3s707ms 5s311ms 01 25 0 2s89ms 2s462ms 2s718ms 10s210ms 02 18 0 11s259ms 4s21ms 6s891ms 45s434ms 03 42 0 2s640ms 2s509ms 4s12ms 40s770ms 04 75 0 1s216ms 2s481ms 3s716ms 5s106ms 05 79 0 1s919ms 3s649ms 7s648ms 23s638ms 06 12 9 6s187ms 1s226ms 2s479ms 49s190ms 07 58 0 2s719ms 2s537ms 4s804ms 6s745ms 08 21 0 1s629ms 1s242ms 2s824ms 5s451ms 09 104 0 1s510ms 4s894ms 6s723ms 9s456ms 10 93 8 2s158ms 3s355ms 5s463ms 34s793ms 11 30 0 1s726ms 1s277ms 2s523ms 14s851ms 12 31 0 2s667ms 1s198ms 1s222ms 1m9s 13 23 0 2s731ms 1s221ms 4s633ms 21s302ms 14 32 9 4s428ms 4s76ms 13s124ms 48s988ms 15 16 0 1s507ms 1s182ms 1s291ms 6s529ms 16 34 0 1s901ms 2s453ms 4s113ms 7s659ms 17 23 0 1s784ms 1s273ms 3s425ms 5s402ms 18 30 10 4s216ms 2s386ms 4s119ms 48s868ms 19 48 0 4s536ms 5s491ms 17s388ms 50s13ms 20 23 0 1s715ms 1s214ms 3s636ms 5s666ms 21 33 0 2s521ms 2s152ms 3s927ms 26s341ms 22 36 0 1s411ms 1s458ms 3s214ms 7s489ms 23 30 0 1s500ms 2s301ms 2s724ms 6s865ms Feb 14 00 46 0 33s912ms 2s228ms 3s760ms 7s213ms 01 11 0 1m30s 0ms 4s114ms 14m26s 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 51 0 2s80ms 2s933ms 15s299ms 24s210ms 06 37 10 3s811ms 1s514ms 3s754ms 41s363ms 07 68 0 4s488ms 2s933ms 21s324ms 33s401ms 08 61 0 2s477ms 2s961ms 5s544ms 34s90ms 09 84 0 1s453ms 2s919ms 3s957ms 8s 10 72 8 2s556ms 3s477ms 4s692ms 41s657ms 11 57 0 1s356ms 2s504ms 2s767ms 4s132ms 12 52 0 1s522ms 2s654ms 3s726ms 6s582ms 13 69 0 1s857ms 2s981ms 3s953ms 6s101ms 14 110 10 2s367ms 5s731ms 10s8ms 41s468ms 15 60 0 1s441ms 2s693ms 3s340ms 6s286ms 16 52 0 1s473ms 3s369ms 3s818ms 8s638ms 17 63 0 1s420ms 2s363ms 3s685ms 6s944ms 18 108 10 2s589ms 5s733ms 11s118ms 59s416ms 19 87 0 1s731ms 3s527ms 6s110ms 23s239ms 20 50 0 1s703ms 2s863ms 4s935ms 8s866ms 21 48 0 1s610ms 2s761ms 3s898ms 9s136ms 22 55 0 6s843ms 2s909ms 4s936ms 4m53s 23 67 0 2s10ms 3s605ms 5s378ms 12s398ms Feb 15 00 96 0 17s58ms 3s762ms 5s122ms 1m7s 01 39 0 1s604ms 1s501ms 3s889ms 7s993ms 02 47 0 1s448ms 2s365ms 2s800ms 4s595ms 03 51 0 1s731ms 2s734ms 3s770ms 20s889ms 04 108 0 6s728ms 5s247ms 13s814ms 2m57s 05 82 0 1s918ms 4s734ms 8s507ms 25s306ms 06 34 0 1s642ms 1s493ms 2s625ms 8s743ms 07 58 0 1s445ms 2s447ms 4s481ms 6s465ms 08 51 0 1s674ms 2s670ms 4s101ms 5s828ms 09 51 0 1s377ms 2s331ms 3s620ms 3s973ms 10 36 0 1s422ms 1s489ms 2s460ms 5s342ms 11 76 0 2s718ms 2s490ms 5s175ms 40s639ms 12 42 0 1s578ms 2s419ms 4s632ms 13s891ms 13 21 0 1s532ms 1s315ms 2s687ms 4s608ms 14 23 0 1s601ms 1s366ms 3s365ms 4s721ms 15 30 0 2s344ms 3s581ms 4s987ms 8s149ms 16 28 0 1s662ms 1s325ms 3s340ms 6s500ms 17 11 0 1s214ms 1s128ms 1s302ms 3s609ms 18 1 26 15s65ms 23s714ms 59s746ms 1m11s 19 15 50 1m15s 1m10s 2m2s 24m51s 20 118 0 3s134ms 9s184ms 19s523ms 34s250ms 21 82 0 33s958ms 6s263ms 10s260ms 25s301ms 22 13 0 17m18s 1s11ms 1s400ms 3h44m35s 23 9 0 37m27s 1s302ms 2s835ms 2h48m32s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 09 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Feb 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 Feb 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 Feb 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 Feb 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 Feb 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 Feb 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 Day Hour Prepare Bind Bind/Prepare Percentage of prepare Feb 09 00 0 48 48.00 0.00% 01 0 64 64.00 0.00% 02 0 57 57.00 0.00% 03 0 46 46.00 0.00% 04 0 74 74.00 0.00% 05 0 101 101.00 0.00% 06 0 46 46.00 0.00% 07 0 57 57.00 0.00% 08 0 66 66.00 0.00% 09 0 49 49.00 0.00% 10 0 50 50.00 0.00% 11 0 82 82.00 0.00% 12 0 45 45.00 0.00% 13 0 48 48.00 0.00% 14 0 42 42.00 0.00% 15 0 73 73.00 0.00% 16 0 34 34.00 0.00% 17 0 61 61.00 0.00% 18 0 60 60.00 0.00% 19 0 47 47.00 0.00% 20 0 69 69.00 0.00% 21 0 62 62.00 0.00% 22 0 72 72.00 0.00% 23 0 61 61.00 0.00% Feb 10 00 0 109 109.00 0.00% 01 0 192 192.00 0.00% 02 0 155 155.00 0.00% 03 0 157 157.00 0.00% 04 0 148 148.00 0.00% 05 0 132 132.00 0.00% 06 0 52 52.00 0.00% 07 0 76 76.00 0.00% 08 0 52 52.00 0.00% 09 0 59 59.00 0.00% 10 0 53 53.00 0.00% 11 0 86 86.00 0.00% 12 0 53 53.00 0.00% 13 0 64 64.00 0.00% 14 0 52 52.00 0.00% 15 0 39 39.00 0.00% 16 0 72 72.00 0.00% 17 0 55 55.00 0.00% 18 0 38 38.00 0.00% 19 0 71 71.00 0.00% 20 0 73 73.00 0.00% 21 0 60 60.00 0.00% 22 0 36 36.00 0.00% 23 0 71 71.00 0.00% Feb 11 00 0 35 35.00 0.00% 01 0 86 86.00 0.00% 02 0 74 74.00 0.00% 03 0 54 54.00 0.00% 04 0 85 85.00 0.00% 05 0 111 111.00 0.00% 06 0 125 125.00 0.00% 07 0 127 127.00 0.00% 08 0 149 149.00 0.00% 09 0 88 88.00 0.00% 10 0 193 193.00 0.00% 11 0 149 149.00 0.00% 12 0 85 85.00 0.00% 13 0 131 131.00 0.00% 14 0 168 168.00 0.00% 15 0 146 146.00 0.00% 16 0 136 136.00 0.00% 17 0 115 115.00 0.00% 18 0 95 95.00 0.00% 19 0 150 150.00 0.00% 20 0 177 177.00 0.00% 21 0 267 267.00 0.00% 22 0 263 263.00 0.00% 23 0 211 211.00 0.00% Feb 12 00 0 241 241.00 0.00% 01 0 245 245.00 0.00% 02 0 195 195.00 0.00% 03 0 147 147.00 0.00% 04 0 122 122.00 0.00% 05 0 172 172.00 0.00% 06 0 162 162.00 0.00% 07 0 129 129.00 0.00% 08 0 140 140.00 0.00% 09 0 196 196.00 0.00% 10 0 150 150.00 0.00% 11 0 99 99.00 0.00% 12 0 110 110.00 0.00% 13 0 69 69.00 0.00% 14 0 27 27.00 0.00% 15 0 13 13.00 0.00% 16 0 23 23.00 0.00% 17 0 31 31.00 0.00% 18 0 40 40.00 0.00% 19 0 22 22.00 0.00% 20 0 25 25.00 0.00% 21 0 41 41.00 0.00% 22 0 56 56.00 0.00% 23 0 42 42.00 0.00% Feb 13 00 0 34 34.00 0.00% 01 0 25 25.00 0.00% 02 0 18 18.00 0.00% 03 0 42 42.00 0.00% 04 0 75 75.00 0.00% 05 0 90 90.00 0.00% 06 0 14 14.00 0.00% 07 0 62 62.00 0.00% 08 0 22 22.00 0.00% 09 0 109 109.00 0.00% 10 0 106 106.00 0.00% 11 0 36 36.00 0.00% 12 0 33 33.00 0.00% 13 0 27 27.00 0.00% 14 0 32 32.00 0.00% 15 0 16 16.00 0.00% 16 0 34 34.00 0.00% 17 0 29 29.00 0.00% 18 0 34 34.00 0.00% 19 0 48 48.00 0.00% 20 0 23 23.00 0.00% 21 0 33 33.00 0.00% 22 0 36 36.00 0.00% 23 0 30 30.00 0.00% Feb 14 00 0 45 45.00 0.00% 01 0 11 11.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 55 55.00 0.00% 06 0 44 44.00 0.00% 07 0 87 87.00 0.00% 08 0 73 73.00 0.00% 09 0 85 85.00 0.00% 10 0 86 86.00 0.00% 11 0 58 58.00 0.00% 12 0 62 62.00 0.00% 13 0 71 71.00 0.00% 14 0 123 123.00 0.00% 15 0 71 71.00 0.00% 16 0 52 52.00 0.00% 17 0 63 63.00 0.00% 18 0 109 109.00 0.00% 19 0 87 87.00 0.00% 20 0 50 50.00 0.00% 21 0 48 48.00 0.00% 22 0 55 55.00 0.00% 23 0 67 67.00 0.00% Feb 15 00 0 98 98.00 0.00% 01 0 39 39.00 0.00% 02 0 47 47.00 0.00% 03 0 51 51.00 0.00% 04 0 108 108.00 0.00% 05 0 86 86.00 0.00% 06 0 34 34.00 0.00% 07 0 58 58.00 0.00% 08 0 51 51.00 0.00% 09 0 51 51.00 0.00% 10 0 36 36.00 0.00% 11 0 77 77.00 0.00% 12 0 42 42.00 0.00% 13 0 21 21.00 0.00% 14 0 23 23.00 0.00% 15 0 30 30.00 0.00% 16 0 28 28.00 0.00% 17 0 11 11.00 0.00% 18 0 1 1.00 0.00% 19 0 15 15.00 0.00% 20 2 118 59.00 1.69% 21 1 82 82.00 1.22% 22 0 13 13.00 0.00% 23 0 9 9.00 0.00% Day Hour Count Average / Second Feb 09 00 83 0.02/s 01 84 0.02/s 02 87 0.02/s 03 83 0.02/s 04 83 0.02/s 05 97 0.03/s 06 82 0.02/s 07 77 0.02/s 08 82 0.02/s 09 90 0.03/s 10 82 0.02/s 11 88 0.02/s 12 79 0.02/s 13 85 0.02/s 14 82 0.02/s 15 85 0.02/s 16 83 0.02/s 17 80 0.02/s 18 91 0.03/s 19 81 0.02/s 20 86 0.02/s 21 82 0.02/s 22 95 0.03/s 23 87 0.02/s Feb 10 00 164 0.05/s 01 291 0.08/s 02 178 0.05/s 03 172 0.05/s 04 182 0.05/s 05 147 0.04/s 06 87 0.02/s 07 85 0.02/s 08 87 0.02/s 09 91 0.03/s 10 87 0.02/s 11 84 0.02/s 12 85 0.02/s 13 82 0.02/s 14 80 0.02/s 15 77 0.02/s 16 96 0.03/s 17 90 0.03/s 18 83 0.02/s 19 88 0.02/s 20 88 0.02/s 21 82 0.02/s 22 91 0.03/s 23 85 0.02/s Feb 11 00 83 0.02/s 01 113 0.03/s 02 99 0.03/s 03 93 0.03/s 04 95 0.03/s 05 101 0.03/s 06 99 0.03/s 07 176 0.05/s 08 96 0.03/s 09 87 0.02/s 10 218 0.06/s 11 130 0.04/s 12 85 0.02/s 13 115 0.03/s 14 147 0.04/s 15 93 0.03/s 16 99 0.03/s 17 97 0.03/s 18 89 0.02/s 19 100 0.03/s 20 529 0.15/s 21 302 0.08/s 22 186 0.05/s 23 202 0.06/s Feb 12 00 432 0.12/s 01 228 0.06/s 02 185 0.05/s 03 111 0.03/s 04 101 0.03/s 05 115 0.03/s 06 178 0.05/s 07 94 0.03/s 08 94 0.03/s 09 90 0.03/s 10 96 0.03/s 11 90 0.03/s 12 94 0.03/s 13 92 0.03/s 14 83 0.02/s 15 80 0.02/s 16 78 0.02/s 17 84 0.02/s 18 85 0.02/s 19 75 0.02/s 20 75 0.02/s 21 92 0.03/s 22 84 0.02/s 23 84 0.02/s Feb 13 00 87 0.02/s 01 85 0.02/s 02 88 0.02/s 03 84 0.02/s 04 86 0.02/s 05 95 0.03/s 06 81 0.02/s 07 83 0.02/s 08 79 0.02/s 09 145 0.04/s 10 182 0.05/s 11 76 0.02/s 12 88 0.02/s 13 79 0.02/s 14 89 0.02/s 15 81 0.02/s 16 80 0.02/s 17 77 0.02/s 18 83 0.02/s 19 107 0.03/s 20 77 0.02/s 21 75 0.02/s 22 83 0.02/s 23 82 0.02/s Feb 14 00 85 0.02/s 01 198 0.06/s 02 75 0.02/s 03 79 0.02/s 04 75 0.02/s 05 109 0.03/s 06 75 0.02/s 07 165 0.05/s 08 165 0.05/s 09 80 0.02/s 10 82 0.02/s 11 80 0.02/s 12 78 0.02/s 13 83 0.02/s 14 87 0.02/s 15 78 0.02/s 16 85 0.02/s 17 79 0.02/s 18 92 0.03/s 19 74 0.02/s 20 80 0.02/s 21 74 0.02/s 22 82 0.02/s 23 87 0.02/s Feb 15 00 84 0.02/s 01 85 0.02/s 02 77 0.02/s 03 86 0.02/s 04 88 0.02/s 05 94 0.03/s 06 73 0.02/s 07 82 0.02/s 08 97 0.03/s 09 81 0.02/s 10 80 0.02/s 11 90 0.03/s 12 79 0.02/s 13 75 0.02/s 14 78 0.02/s 15 80 0.02/s 16 76 0.02/s 17 73 0.02/s 18 79 0.02/s 19 76 0.02/s 20 262 0.07/s 21 362 0.10/s 22 136 0.04/s 23 77 0.02/s Day Hour Count Average Duration Average idle time Feb 09 00 83 29m15s 28m57s 01 84 28m46s 28m42s 02 87 27m29s 27m27s 03 83 30m2s 30m1s 04 83 27m8s 27m6s 05 97 25m18s 25m17s 06 82 29m39s 29m36s 07 77 31m2s 31m2s 08 82 30m27s 30m25s 09 90 27m8s 27m7s 10 82 29m2s 28m59s 11 88 27m53s 27m51s 12 79 28m23s 28m21s 13 85 28m17s 28m16s 14 82 28m29s 28m26s 15 85 27m49s 27m48s 16 83 30m3s 30m2s 17 80 29m17s 29m16s 18 91 27m18s 27m16s 19 81 29m28s 29m27s 20 86 27m34s 27m24s 21 82 27m37s 27m35s 22 95 25m19s 25m18s 23 87 29m4s 29m1s Feb 10 00 164 15m26s 15m16s 01 291 8m17s 8m16s 02 178 13m39s 13m38s 03 172 13m50s 13m48s 04 182 13m30s 13m28s 05 147 15m9s 15m7s 06 87 28m23s 28m20s 07 85 28m14s 28m13s 08 87 28m18s 28m17s 09 91 26m51s 26m50s 10 87 28m 27m58s 11 84 27m1s 26m57s 12 85 27m29s 27m28s 13 82 29m31s 29m30s 14 80 28m53s 28m50s 15 77 31m12s 31m11s 16 96 24m49s 24m48s 17 90 26m31s 26m26s 18 83 29m40s 29m37s 19 88 27m30s 27m29s 20 88 27m1s 26m58s 21 82 28m17s 28m16s 22 91 26m17s 26m16s 23 85 29m13s 29m8s Feb 11 00 83 29m20s 29m1s 01 113 20m52s 20m51s 02 99 25m4s 25m2s 03 93 26m55s 26m54s 04 95 25m53s 25m51s 05 101 23m4s 23m2s 06 99 24m54s 24m45s 07 176 13m35s 13m33s 08 96 26m23s 26m17s 09 87 26m59s 26m54s 10 218 10m4s 10m2s 11 130 17m45s 17m43s 12 85 28m38s 28m32s 13 114 22m40s 22m36s 14 148 16m19s 16m12s 15 93 25m27s 25m22s 16 99 23m45s 23m43s 17 97 25m17s 25m11s 18 89 27m20s 27m16s 19 100 24m27s 24m22s 20 529 4m40s 4m39s 21 302 7m28s 7m24s 22 186 11m56s 11m52s 23 202 12m 11m56s Feb 12 00 432 5m41s 5m36s 01 228 10m46s 10m43s 02 185 13m5s 13m2s 03 111 21m44s 21m36s 04 101 24m40s 24m30s 05 115 20m36s 20m30s 06 178 13m40s 13m35s 07 94 25m17s 25m15s 08 94 26m22s 26m16s 09 90 24m44s 24m39s 10 96 24m46s 24m41s 11 90 26m57s 26m54s 12 94 25m39s 25m37s 13 92 26m51s 26m46s 14 83 29m14s 29m11s 15 80 29m58s 29m58s 16 78 31m14s 31m14s 17 84 28m51s 28m51s 18 85 29m19s 29m16s 19 75 30m49s 30m48s 20 75 31m58s 31m57s 21 92 24m9s 24m8s 22 84 28m52s 28m51s 23 84 28m29s 28m29s Feb 13 00 87 28m32s 28m15s 01 85 27m43s 27m42s 02 88 27m57s 27m55s 03 84 28m51s 28m50s 04 86 27m43s 27m42s 05 95 25m14s 25m13s 06 81 29m30s 29m29s 07 83 29m52s 29m50s 08 79 28m22s 28m22s 09 145 16m46s 16m45s 10 182 13m4s 13m3s 11 76 30m13s 30m12s 12 88 28m30s 28m29s 13 79 30m12s 30m11s 14 83 29m55s 29m53s 15 81 30m10s 30m9s 16 80 30m49s 30m48s 17 77 30m31s 30m31s 18 84 32m36s 32m34s 19 112 32m51s 32m49s 20 77 30m15s 30m15s 21 75 29m38s 29m37s 22 83 30m20s 30m19s 23 82 29m11s 29m10s Feb 14 00 85 29m25s 29m7s 01 198 12m57s 12m52s 02 75 30m39s 30m39s 03 79 30m41s 30m41s 04 75 30m39s 30m39s 05 109 22m21s 22m20s 06 75 30m 29m58s 07 165 16m56s 16m54s 08 165 13m48s 13m47s 09 80 30m3s 30m2s 10 82 29m14s 29m12s 11 80 30m36s 30m35s 12 78 31m40s 31m39s 13 83 29m32s 29m31s 14 87 28m8s 28m4s 15 78 30m58s 30m57s 16 85 28m37s 28m36s 17 79 29m3s 29m2s 18 92 26m17s 26m14s 19 74 30m54s 30m52s 20 80 30m20s 30m18s 21 74 30m35s 30m34s 22 82 30m13s 30m8s 23 87 27m42s 27m41s Feb 15 00 84 28m40s 28m21s 01 85 29m31s 29m30s 02 77 30m56s 30m55s 03 86 28m30s 28m29s 04 88 27m17s 27m9s 05 94 25m32s 25m30s 06 73 30m5s 30m5s 07 82 29m31s 29m30s 08 97 25m48s 25m47s 09 81 29m33s 29m32s 10 80 30m34s 30m33s 11 90 27m30s 27m27s 12 79 30m46s 30m45s 13 75 31m 30m59s 14 78 31m59s 31m58s 15 80 30m25s 30m25s 16 76 30m58s 30m57s 17 73 31m30s 31m30s 18 78 30m47s 30m42s 19 77 32m19s 31m15s 20 256 3h42m54s 3h42m52s 21 364 6m28s 6m20s 22 137 20m1s 18m22s 23 79 33m29s 29m13s -
Connections
Established Connections
Key values
- 84 connections Connection Peak
- 2025-02-11 07:15:39 Date
Connections per database
Key values
- ctdprd51 Main Database
- 17,859 connections Total
Connections per user
Key values
- pubeu Main User
- 17,859 connections Total
-
Sessions
Simultaneous sessions
Key values
- 317 sessions Session Peak
- 2025-02-15 23:27:36 Date
Histogram of session times
Key values
- 12,042 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 17,858 sessions Total
Sessions per user
Key values
- pubeu Main User
- 17,858 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 17,858 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 6,983 56d21h7m55s 11m43s 10.12.5.38 2,668 55d23h12m40s 30m12s 10.12.5.39 2,575 55d22h58m 31m17s 10.12.5.45 2,667 55d23h54m14s 30m14s 10.12.5.46 2,632 56d1h16m22s 30m40s 192.168.201.18 3 12h45m55s 4h15m18s 192.168.201.22 4 13h41m14s 3h25m18s 192.168.201.6 2 863ms 431ms ::1 324 38d2h59m7s 2h49m26s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 211,187 buffers Checkpoint Peak
- 2025-02-13 05:24:27 Date
- 1619.992 seconds Highest write time
- 0.058 seconds Sync time
Checkpoints Wal files
Key values
- 81 files Wal files usage Peak
- 2025-02-13 05:24:27 Date
Checkpoints distance
Key values
- 2,486.10 Mo Distance Peak
- 2025-02-13 05:24:27 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Feb 09 00 1,539 154.231s 0.003s 154.366s 01 474 47.569s 0.003s 47.599s 02 705 70.686s 0.003s 70.716s 03 1,998 200.266s 0.003s 200.347s 04 1,275 127.901s 0.003s 127.931s 05 752 75.428s 0.003s 75.46s 06 1,313 131.596s 0.004s 131.673s 07 1,017 101.948s 0.003s 101.979s 08 850 85.235s 0.004s 85.267s 09 691 69.306s 0.004s 69.382s 10 639 64.181s 0.003s 64.211s 11 1,212 121.293s 0.002s 121.323s 12 1,166 116.769s 0.004s 116.843s 13 908 91.016s 0.002s 91.046s 14 999 100.147s 0.003s 100.179s 15 1,117 111.962s 0.003s 112.04s 16 1,253 125.588s 0.004s 125.619s 17 1,440 144.209s 0.004s 144.288s 18 2,493 249.582s 0.003s 249.614s 19 1,802 180.466s 0.004s 180.546s 20 1,627 162.935s 0.003s 163.013s 21 2,087 208.921s 0.003s 208.952s 22 2,240 224.336s 0.003s 224.413s 23 1,696 169.756s 0.004s 169.833s Feb 10 00 55,841 1,652.271s 0.004s 1,652.782s 01 884 88.475s 0.003s 88.507s 02 1,012 101.368s 0.002s 101.444s 03 524 52.482s 0.001s 52.498s 04 4,513 451.858s 0.006s 451.998s 05 1,569 157.143s 0.002s 157.175s 06 1,808 181.073s 0.002s 181.149s 07 1,798 180.083s 0.003s 180.114s 08 1,483 148.52s 0.003s 148.598s 09 1,683 168.555s 0.004s 168.632s 10 1,716 171.875s 0.002s 171.905s 11 1,097 109.874s 0.002s 109.937s 12 5,770 577.728s 0.004s 577.87s 13 2,269 227.232s 0.003s 227.311s 14 1,191 119.285s 0.001s 119.3s 15 3,222 322.778s 0.005s 322.871s 16 1,050 105.269s 0.003s 105.346s 17 434 43.658s 0.002s 43.687s 18 525 52.777s 0.002s 52.808s 19 1,151 115.461s 0.002s 115.491s 20 449 45.158s 0.002s 45.188s 21 50,768 1,678.267s 0.002s 1,678.741s 22 436 43.764s 0.001s 43.779s 23 9,497 951.026s 0.004s 951.179s Feb 11 00 3,570 357.541s 0.003s 357.683s 01 4,652 465.819s 0.003s 465.919s 02 128 12.924s 0.001s 12.939s 03 6,339 635.374s 0.003s 635.488s 04 302 30.45s 0.002s 30.48s 05 1,068 106.982s 0.002s 107.045s 06 51,811 1,715.069s 0.005s 1,715.552s 07 75,313 1,642.908s 0.003s 1,643.349s 08 1,971 197.56s 0.004s 197.639s 09 983 98.583s 0.002s 98.658s 10 556 55.804s 0.002s 55.834s 11 275 27.744s 0.002s 27.774s 12 11,248 1,126.545s 0.003s 1,126.728s 13 4,822 483.213s 0.003s 483.314s 14 638 64.048s 0.002s 64.078s 15 526 52.909s 0.002s 52.94s 16 732 73.543s 0.002s 73.574s 17 1,638 164.176s 0.003s 164.206s 18 510 51.292s 0.002s 51.327s 19 513 51.495s 0.003s 51.572s 20 816 82.096s 0.004s 82.129s 21 874 87.806s 0.002s 87.838s 22 505 50.687s 0.004s 50.721s 23 847 85.047s 0.004s 85.079s Feb 12 00 1,379 138.385s 0.003s 138.506s 01 359 36.076s 0.002s 36.108s 02 479 48.158s 0.002s 48.235s 03 472 47.401s 0.002s 47.469s 04 419 42.149s 0.002s 42.18s 05 593 59.558s 0.002s 59.589s 06 926 93s 0.003s 93.031s 07 1,312 131.644s 0.002s 131.722s 08 444 44.573s 0.002s 44.603s 09 534 53.707s 0.002s 53.74s 10 985 98.789s 0.002s 98.82s 11 1,640 164.406s 0.002s 164.485s 12 839 84.148s 0.003s 84.178s 13 703 70.519s 0.002s 70.549s 14 826 82.918s 0.002s 82.994s 15 616 61.671s 0.002s 61.702s 16 649 65.094s 0.002s 65.124s 17 557 55.98s 0.003s 56.01s 18 1,013 101.536s 0.002s 101.566s 19 814 81.619s 0.002s 81.699s 20 350 35.142s 0.001s 35.157s 21 2,433 243.898s 0.003s 243.994s 22 1,164 116.686s 0.002s 116.717s 23 2,239 224.328s 0.003s 224.406s Feb 13 00 1,705 170.897s 0.003s 171.012s 01 499 50.151s 0.004s 50.183s 02 2,083 208.604s 0.002s 208.682s 03 285 28.557s 0.001s 28.573s 04 1,973 197.792s 0.002s 197.871s 05 216,388 2,140.376s 0.005s 2,141.416s 06 1,237 123.984s 0.003s 124.017s 07 686 68.821s 0.002s 68.899s 08 791 79.298s 0.002s 79.328s 09 1,201 120.418s 0.003s 120.449s 10 853 85.507s 0.003s 85.587s 11 1,651 165.48s 0.006s 165.515s 12 1,647 165.042s 0.002s 165.12s 13 834 83.517s 0.001s 83.532s 14 4,766 477.437s 0.004s 477.529s 15 985 98.751s 0.004s 98.787s 16 1,036 103.756s 0.003s 103.831s 17 1,424 142.715s 0.003s 142.745s 18 1,693 169.557s 0.002s 169.637s 19 1,117 111.949s 0.002s 111.978s 20 518 51.982s 0.001s 51.997s 21 67,305 1,809.755s 0.005s 1,810.258s 22 50,932 1,619.463s 0.001s 1,619.961s 23 6,921 693.12s 0.005s 693.213s Feb 14 00 55,294 1,648.842s 0.004s 1,649.388s 01 349 35.139s 0.002s 35.17s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 243 24.349s 0.001s 24.409s 06 1,986 198.92s 0.002s 198.935s 07 6,590 659.854s 0.006s 659.994s 08 788 79.12s 0.003s 79.151s 09 1,675 167.735s 0.003s 167.818s 10 1,209 121.183s 0.004s 121.214s 11 906 90.834s 0.002s 90.911s 12 1,215 121.789s 0.003s 121.82s 13 941 94.327s 0.004s 94.359s 14 1,087 108.847s 0.004s 108.93s 15 1,229 123.196s 0.003s 123.226s 16 775 77.713s 0.003s 77.795s 17 1,024 102.645s 0.003s 102.677s 18 1,370 137.303s 0.003s 137.335s 19 940 94.229s 0.004s 94.313s 20 1,061 106.344s 0.004s 106.376s 21 1,176 117.86s 0.004s 117.891s 22 488 48.961s 0.002s 49.024s 23 6,452 646.004s 0.005s 646.127s Feb 15 00 5,563 557.253s 0.004s 557.406s 01 1,054 105.658s 0.002s 105.689s 02 38,546 1,645.533s 0.003s 1,645.902s 03 528 52.891s 0.001s 52.906s 04 90,860 1,703.503s 0.003s 1,704.021s 05 1,121 112.384s 0.003s 112.415s 06 1,086 108.872s 0.003s 108.951s 07 1,220 122.27s 0.004s 122.301s 08 473 47.463s 0.002s 47.478s 09 39,135 1,714.594s 0.005s 1,714.973s 10 1,057 105.938s 0.003s 106.019s 11 1,089 109.066s 0.003s 109.097s 12 1,243 124.561s 0.003s 124.591s 13 996 99.849s 0.003s 99.927s 14 1,078 108.068s 0.004s 108.099s 15 840 84.211s 0.003s 84.241s 16 2,076 208.023s 0.003s 208.099s 17 1,199 120.276s 0.004s 120.308s 18 1,077 107.97s 0.003s 108s 19 81,100 1,640.688s 0.003s 1,640.766s 20 1,366 143.562s 0.064s 144.329s 21 1,337 137.372s 0.091s 140.887s 22 1,037 103.95s 0.004s 103.982s 23 1,617 162.249s 0.003s 162.283s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 09 00 0 0 2 78 0.001s 0.002s 01 0 0 0 35 0.001s 0.002s 02 0 0 0 40 0.001s 0.002s 03 0 0 1 47 0.001s 0.002s 04 0 0 0 41 0.001s 0.002s 05 0 0 0 39 0.001s 0.002s 06 0 0 1 125 0.001s 0.002s 07 0 0 0 136 0.001s 0.002s 08 0 0 0 87 0.001s 0.002s 09 0 0 1 29 0.001s 0.002s 10 0 0 0 23 0.001s 0.002s 11 0 0 0 40 0.001s 0.002s 12 0 0 1 31 0.001s 0.002s 13 0 0 0 31 0.001s 0.002s 14 0 0 0 31 0.001s 0.002s 15 0 0 1 31 0.001s 0.002s 16 0 0 0 39 0.001s 0.002s 17 0 0 1 90 0.001s 0.002s 18 0 0 0 88 0.001s 0.002s 19 0 0 1 31 0.001s 0.002s 20 0 0 1 31 0.001s 0.002s 21 0 0 0 41 0.001s 0.002s 22 0 0 1 39 0.001s 0.002s 23 0 0 1 23 0.001s 0.002s Feb 10 00 0 0 37 94 0.001s 0.002s 01 0 0 0 35 0.001s 0.002s 02 0 0 1 39 0.001s 0.002s 03 0 0 0 22 0.001s 0.001s 04 0 0 2 80 0.001s 0.003s 05 0 0 0 38 0.001s 0.002s 06 0 0 1 135 0.001s 0.002s 07 0 0 0 126 0.001s 0.002s 08 0 0 1 41 0.001s 0.002s 09 0 0 1 61 0.001s 0.002s 10 0 0 0 80 0.001s 0.002s 11 0 0 1 92 0.001s 0.001s 12 0 0 2 341 0.001s 0.003s 13 0 0 1 126 0.001s 0.002s 14 0 0 0 65 0.001s 0.001s 15 0 0 1 252 0.002s 0.003s 16 0 0 1 143 0.001s 0.002s 17 0 0 0 22 0.001s 0.002s 18 0 0 0 29 0.001s 0.002s 19 0 0 0 23 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 34 43 0.001s 0.002s 22 0 0 0 23 0.001s 0.001s 23 0 0 6 56 0.002s 0.003s Feb 11 00 0 0 3 74 0.001s 0.002s 01 0 0 3 50 0.001s 0.002s 02 0 0 0 23 0.001s 0.001s 03 0 0 3 72 0.001s 0.003s 04 0 0 0 39 0.001s 0.002s 05 0 0 1 29 0.001s 0.001s 06 0 0 34 241 0.001s 0.003s 07 0 0 31 135 0.001s 0.002s 08 0 0 1 95 0.001s 0.002s 09 0 0 1 164 0.001s 0.002s 10 0 0 0 48 0.001s 0.002s 11 0 0 0 21 0.001s 0.002s 12 0 0 7 105 0.001s 0.002s 13 0 0 3 82 0.001s 0.002s 14 0 0 0 107 0.001s 0.002s 15 0 0 0 101 0.001s 0.002s 16 0 0 0 121 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 0 0 33 0.001s 0.002s 19 0 0 1 28 0.001s 0.002s 20 0 0 0 115 0.001s 0.002s 21 0 0 0 125 0.001s 0.002s 22 0 0 0 62 0.001s 0.002s 23 0 0 0 39 0.001s 0.002s Feb 12 00 0 0 1 75 0.001s 0.002s 01 0 0 0 43 0.001s 0.002s 02 0 0 1 39 0.001s 0.002s 03 0 0 0 37 0.001s 0.002s 04 0 0 0 36 0.001s 0.002s 05 0 0 0 80 0.001s 0.002s 06 0 0 0 87 0.002s 0.002s 07 0 0 1 135 0.001s 0.002s 08 0 0 0 78 0.001s 0.002s 09 0 0 0 41 0.001s 0.002s 10 0 0 0 168 0.001s 0.002s 11 0 0 1 126 0.001s 0.002s 12 0 0 0 85 0.001s 0.002s 13 0 0 0 74 0.001s 0.002s 14 0 0 1 40 0.001s 0.002s 15 0 0 0 27 0.001s 0.002s 16 0 0 0 28 0.001s 0.002s 17 0 0 0 21 0.001s 0.002s 18 0 0 0 29 0.001s 0.002s 19 0 0 1 34 0.001s 0.002s 20 0 0 0 10 0.001s 0.001s 21 0 0 1 52 0.001s 0.003s 22 0 0 0 32 0.001s 0.002s 23 0 0 1 35 0.001s 0.002s Feb 13 00 0 0 1 76 0.001s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 0 1 52 0.001s 0.002s 03 0 0 0 19 0.001s 0.001s 04 0 0 1 48 0.001s 0.002s 05 0 0 81 128 0.001s 0.003s 06 0 0 0 127 0.001s 0.002s 07 0 0 1 69 0.001s 0.002s 08 0 0 0 37 0.001s 0.002s 09 0 0 0 103 0.002s 0.002s 10 0 0 1 109 0.001s 0.002s 11 0 0 0 186 0.004s 0.002s 12 0 0 1 77 0.001s 0.002s 13 0 0 0 59 0.001s 0.001s 14 0 0 1 154 0.001s 0.003s 15 0 0 0 30 0.002s 0.002s 16 0 0 1 24 0.001s 0.002s 17 0 0 0 125 0.001s 0.002s 18 0 0 1 73 0.001s 0.002s 19 0 0 0 29 0.001s 0.002s 20 0 0 0 11 0.001s 0.001s 21 0 0 35 78 0.001s 0.003s 22 0 0 38 23 0.001s 0.001s 23 0 0 1 50 0.001s 0.003s Feb 14 00 0 0 37 89 0.001s 0.002s 01 0 0 0 28 0.001s 0.002s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 1 17 0.001s 0.001s 06 0 0 0 43 0.001s 0.001s 07 0 0 4 212 0.001s 0.003s 08 0 0 0 127 0.001s 0.002s 09 0 0 1 80 0.001s 0.002s 10 0 0 0 194 0.001s 0.002s 11 0 0 1 93 0.001s 0.002s 12 0 0 0 139 0.001s 0.002s 13 0 0 0 116 0.001s 0.002s 14 0 0 1 140 0.001s 0.002s 15 0 0 0 86 0.001s 0.002s 16 0 0 1 21 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 0 0 34 0.001s 0.002s 19 0 0 1 22 0.001s 0.002s 20 0 0 0 26 0.001s 0.002s 21 0 0 0 27 0.001s 0.002s 22 0 0 1 10 0.001s 0.001s 23 0 0 3 52 0.001s 0.003s Feb 15 00 0 0 4 79 0.001s 0.002s 01 0 0 0 41 0.001s 0.002s 02 0 0 25 55 0.001s 0.002s 03 0 0 0 22 0.001s 0.001s 04 0 0 37 72 0.001s 0.003s 05 0 0 0 33 0.001s 0.002s 06 0 0 1 38 0.001s 0.002s 07 0 0 0 33 0.001s 0.002s 08 0 0 0 13 0.001s 0.001s 09 0 0 25 61 0.001s 0.003s 10 0 0 1 33 0.001s 0.002s 11 0 0 0 33 0.001s 0.002s 12 0 0 0 30 0.001s 0.002s 13 0 0 1 31 0.001s 0.002s 14 0 0 0 31 0.001s 0.002s 15 0 0 0 24 0.001s 0.002s 16 0 0 1 34 0.001s 0.002s 17 0 0 0 25 0.001s 0.002s 18 0 0 0 35 0.001s 0.002s 19 0 0 1 27 0.001s 0.002s 20 0 0 0 24 0.027s 0.006s 21 0 0 1 29 0.057s 0.007s 22 0 0 0 23 0.001s 0.002s 23 0 0 0 29 0.001s 0.002s Day Hour Count Avg time (sec) Feb 09 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Feb 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 Feb 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 Feb 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 Feb 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 Feb 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 Feb 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 Day Hour Mean distance Mean estimate Feb 09 00 13,650.50 kB 24,598.50 kB 01 1,436.50 kB 20,200.00 kB 02 1,747.50 kB 16,689.00 kB 03 6,199.00 kB 14,696.00 kB 04 3,785.00 kB 12,619.00 kB 05 2,246.50 kB 10,597.00 kB 06 2,317.50 kB 9,049.00 kB 07 3,118.00 kB 7,879.00 kB 08 2,341.50 kB 6,869.50 kB 09 2,002.50 kB 5,942.00 kB 10 1,786.00 kB 5,176.50 kB 11 3,243.50 kB 4,737.50 kB 12 3,273.50 kB 4,465.00 kB 13 2,841.00 kB 4,190.50 kB 14 2,827.00 kB 3,928.00 kB 15 3,051.50 kB 3,729.00 kB 16 3,023.50 kB 3,591.00 kB 17 4,413.50 kB 4,413.50 kB 18 5,382.00 kB 6,484.50 kB 19 4,616.50 kB 6,120.50 kB 20 4,902.50 kB 5,873.00 kB 21 5,536.00 kB 5,975.00 kB 22 6,770.00 kB 7,664.00 kB 23 5,530.50 kB 7,269.00 kB Feb 10 00 306,889.50 kB 580,720.00 kB 01 2,772.00 kB 470,899.00 kB 02 3,128.00 kB 382,003.50 kB 03 3,222.00 kB 326,187.00 kB 04 9,309.00 kB 267,064.00 kB 05 4,102.00 kB 206,007.00 kB 06 4,415.50 kB 167,703.50 kB 07 5,173.00 kB 136,822.50 kB 08 4,466.50 kB 111,672.50 kB 09 4,603.00 kB 91,313.00 kB 10 5,489.00 kB 74,963.00 kB 11 5,954.00 kB 64,791.00 kB 12 11,780.00 kB 55,278.33 kB 13 6,108.00 kB 43,859.00 kB 14 7,239.00 kB 38,436.00 kB 15 6,801.33 kB 32,810.33 kB 16 3,613.50 kB 26,044.50 kB 17 1,164.00 kB 21,374.50 kB 18 1,299.50 kB 17,532.50 kB 19 1,346.50 kB 14,460.00 kB 20 1,174.00 kB 11,945.00 kB 21 277,491.50 kB 523,992.00 kB 22 2,403.00 kB 447,183.00 kB 23 29,892.00 kB 370,769.33 kB Feb 11 00 28,364.50 kB 290,556.50 kB 01 23,207.50 kB 239,751.50 kB 02 647.00 kB 204,519.00 kB 03 17,674.00 kB 170,999.00 kB 04 713.50 kB 131,268.00 kB 05 6,335.00 kB 112,593.00 kB 06 187,337.67 kB 504,766.33 kB 07 257,516.50 kB 488,065.50 kB 08 5,708.50 kB 396,442.00 kB 09 3,242.50 kB 321,529.50 kB 10 1,232.00 kB 260,857.50 kB 11 640.50 kB 211,445.50 kB 12 56,146.00 kB 181,543.50 kB 13 23,802.00 kB 151,921.50 kB 14 1,457.50 kB 123,316.00 kB 15 1,329.50 kB 100,164.50 kB 16 1,767.00 kB 81,455.50 kB 17 1,277.50 kB 66,218.50 kB 18 1,201.00 kB 53,877.00 kB 19 1,104.00 kB 43,855.50 kB 20 1,587.50 kB 35,811.50 kB 21 1,812.50 kB 29,335.00 kB 22 1,186.50 kB 24,037.00 kB 23 2,130.00 kB 19,853.50 kB Feb 12 00 8,515.00 kB 17,730.00 kB 01 815.50 kB 14,511.00 kB 02 880.00 kB 11,921.00 kB 03 1,139.00 kB 9,853.00 kB 04 934.00 kB 8,176.00 kB 05 1,545.50 kB 6,860.00 kB 06 1,000.00 kB 5,799.50 kB 07 4,407.50 kB 6,728.00 kB 08 1,159.00 kB 5,671.50 kB 09 1,367.50 kB 4,901.00 kB 10 2,645.50 kB 4,315.00 kB 11 4,349.50 kB 6,599.00 kB 12 2,159.50 kB 5,773.00 kB 13 1,656.00 kB 4,998.50 kB 14 1,622.50 kB 4,351.00 kB 15 1,648.00 kB 3,838.50 kB 16 1,703.50 kB 3,406.50 kB 17 1,613.00 kB 3,082.50 kB 18 2,122.50 kB 2,882.50 kB 19 2,050.50 kB 2,709.50 kB 20 1,947.00 kB 2,616.00 kB 21 4,559.67 kB 8,569.33 kB 22 2,566.00 kB 7,118.50 kB 23 6,655.50 kB 10,759.00 kB Feb 13 00 12,949.50 kB 23,399.50 kB 01 1,431.00 kB 19,219.00 kB 02 6,343.00 kB 16,778.00 kB 03 1,678.00 kB 14,538.00 kB 04 6,122.50 kB 13,520.00 kB 05 441,721.33 kB 1,153,063.67 kB 06 2,903.50 kB 885,993.50 kB 07 2,250.00 kB 718,157.00 kB 08 1,965.00 kB 582,060.50 kB 09 3,420.50 kB 472,071.50 kB 10 2,674.00 kB 382,944.00 kB 11 4,603.50 kB 311,032.00 kB 12 3,301.50 kB 252,537.50 kB 13 3,840.00 kB 215,843.00 kB 14 6,995.67 kB 177,059.33 kB 15 2,911.50 kB 136,479.50 kB 16 3,215.50 kB 111,173.00 kB 17 3,949.00 kB 90,753.50 kB 18 3,711.50 kB 74,265.50 kB 19 3,286.50 kB 60,785.50 kB 20 2,993.00 kB 52,262.00 kB 21 190,760.67 kB 506,556.33 kB 22 557,960.00 kB 557,960.00 kB 23 22,809.67 kB 459,509.67 kB Feb 14 00 309,750.50 kB 586,634.00 kB 01 842.50 kB 475,417.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 1,395.00 kB 405,507.00 kB 06 9,705.00 kB 365,927.00 kB 07 21,879.00 kB 303,218.33 kB 08 2,293.50 kB 233,008.50 kB 09 5,105.00 kB 189,735.00 kB 10 3,486.50 kB 154,237.00 kB 11 2,328.50 kB 125,467.50 kB 12 3,272.00 kB 102,179.00 kB 13 2,763.00 kB 83,322.00 kB 14 3,276.50 kB 68,097.00 kB 15 3,399.00 kB 55,832.00 kB 16 2,402.00 kB 45,703.00 kB 17 2,779.50 kB 37,542.00 kB 18 2,932.50 kB 30,933.00 kB 19 2,770.50 kB 25,605.00 kB 20 2,970.00 kB 21,300.50 kB 21 3,088.00 kB 17,822.50 kB 22 2,986.00 kB 15,647.00 kB 23 18,674.67 kB 44,211.00 kB Feb 15 00 31,094.00 kB 57,636.50 kB 01 1,477.50 kB 46,977.00 kB 02 206,329.00 kB 390,509.50 kB 03 1,704.00 kB 333,211.00 kB 04 200,994.33 kB 541,157.67 kB 05 2,208.50 kB 415,405.50 kB 06 2,101.00 kB 336,862.50 kB 07 2,223.00 kB 273,272.00 kB 08 2,028.00 kB 233,315.00 kB 09 138,143.33 kB 370,039.00 kB 10 2,439.50 kB 284,292.50 kB 11 2,653.50 kB 230,771.50 kB 12 2,662.00 kB 187,407.50 kB 13 2,884.50 kB 152,373.00 kB 14 2,847.50 kB 123,956.00 kB 15 2,528.00 kB 100,888.00 kB 16 3,216.50 kB 82,320.50 kB 17 2,873.00 kB 67,213.50 kB 18 3,097.00 kB 55,013.50 kB 19 3,308.00 kB 45,208.00 kB 20 3,078.00 kB 37,195.50 kB 21 3,324.50 kB 30,762.50 kB 22 3,088.00 kB 25,509.50 kB 23 3,412.00 kB 21,280.00 kB -
Temporary Files
Size of temporary files
Key values
- 5.16 MiB Temp Files size Peak
- 2025-02-15 00:24:28 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2025-02-15 00:24:28 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Feb 09 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Feb 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 Feb 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 Feb 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 Feb 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 Feb 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 Feb 15 00 6 5.16 MiB 880.00 KiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 6 5.16 MiB 240.00 KiB 1.76 MiB 880.00 KiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2025-02-15 00:24:28 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.76 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-15 00:24:28 ]
2 1.13 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-15 00:24:28 ]
3 920.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-15 00:24:28 ]
4 632.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-15 00:24:28 ]
5 528.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-15 00:24:28 ]
6 240.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-15 00:24:28 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 22.92 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-02-13 04:38:00 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 22.92 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-02-13 04:38:00 Date
Analyzes per table
Key values
- pubc.log_query (200) Main table analyzed (database ctdprd51)
- 211 analyzes Total
Vacuums per table
Key values
- pubc.log_query (66) 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 66 34 80,210 0 15,048 0 10,865 22,888 1,388 11,812,441 ctdprd51.pg_toast.pg_toast_2619 4 4 14,470 0 4,210 0 40,134 11,626 3,797 1,969,437 ctdprd51.pg_toast.pg_toast_486223 3 0 78 0 0 0 0 3 0 564 ctdprd51.pub1.term_set_enrichment 2 0 10,463 0 4,549 0 0 4,839 4 313,979 ctdprd51.pg_catalog.pg_statistic 1 1 734 0 226 0 121 502 208 742,858 ctdprd51.edit.exp_outcome 1 1 567 0 119 0 0 174 94 612,154 ctdprd51.pub1.term_set_enrichment_agent 1 0 237,900 0 96,524 0 0 118,875 5 7,052,455 Total 78 40 344,422 3,057 120,676 0 51,120 158,907 5,496 22,503,888 Tuples removed per table
Key values
- pubc.log_query (41663) Main table with removed tuples on database ctdprd51
- 56949 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 66 34 41,663 1,217,487 55 0 56,554 ctdprd51.pg_toast.pg_toast_2619 4 4 14,533 71,544 131 0 50,368 ctdprd51.pg_catalog.pg_statistic 1 1 497 3,245 0 0 418 ctdprd51.edit.exp_outcome 1 1 256 23,827 0 0 283 ctdprd51.pub1.term_set_enrichment 2 0 0 1,502,919 0 0 24,890 ctdprd51.pg_toast.pg_toast_486223 3 0 0 0 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 54,485,712 0 0 619,156 Total 78 40 56,949 57,304,734 186 0 751,669 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.pg_catalog.pg_statistic 1 1 497 0 ctdprd51.pg_toast.pg_toast_2619 4 4 14533 0 ctdprd51.pubc.log_query 66 34 41663 0 ctdprd51.pub1.term_set_enrichment 2 0 0 0 ctdprd51.pg_toast.pg_toast_486223 3 0 0 0 ctdprd51.edit.exp_outcome 1 1 256 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 0 Total 78 40 56,949 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Feb 09 00 0 4 01 0 4 02 0 3 03 0 2 04 0 1 05 0 2 06 0 1 07 0 2 08 0 1 09 0 1 10 0 0 11 0 2 12 0 1 13 0 1 14 0 1 15 0 1 16 0 0 17 0 1 18 0 1 19 0 1 20 0 1 21 0 1 22 0 1 23 0 0 Feb 10 00 0 6 01 0 4 02 0 2 03 0 3 04 0 1 05 0 2 06 0 1 07 0 2 08 0 1 09 0 0 10 0 1 11 0 1 12 0 1 13 0 1 14 0 1 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Feb 11 00 0 3 01 0 4 02 0 2 03 0 2 04 0 2 05 0 2 06 0 2 07 0 3 08 0 2 09 0 2 10 0 1 11 0 0 12 0 1 13 0 1 14 0 1 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 Feb 12 00 0 3 01 0 3 02 0 2 03 0 3 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 2 12 0 1 13 0 1 14 0 1 15 0 1 16 0 1 17 0 0 18 0 1 19 0 1 20 0 0 21 0 1 22 0 1 23 0 0 Feb 13 00 0 3 01 0 3 02 0 2 03 0 2 04 0 3 05 0 3 06 0 2 07 0 1 08 0 1 09 0 1 10 0 0 11 0 1 12 0 1 13 0 1 14 0 1 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 2 21 0 1 22 0 0 23 0 0 Feb 14 00 0 5 01 0 1 02 0 0 03 0 0 04 0 0 05 0 1 06 0 3 07 0 2 08 0 1 09 0 1 10 0 1 11 0 2 12 0 1 13 0 1 14 0 1 15 0 1 16 0 0 17 0 1 18 0 1 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 Feb 15 00 0 4 01 0 3 02 0 3 03 0 3 04 0 2 05 0 2 06 0 1 07 0 1 08 0 2 09 0 0 10 0 1 11 0 1 12 0 1 13 0 0 14 0 1 15 0 0 16 0 1 17 0 0 18 0 1 19 0 0 20 0 0 21 0 1 22 0 0 23 0 1 - 22.92 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
- 12,149 Total read queries
- 399 Total write queries
Queries by database
Key values
- unknown Main database
- 8,976 Requests
- 13h29m40s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 19,373 Requests
User Request type Count Duration editeu Total 2 5s810ms select 2 5s810ms postgres Total 108 56m30s copy to 108 56m30s pubc Total 2 2s663ms select 2 2s663ms pubeu Total 7,212 1d7h46m22s cte 69 3m32s select 7,143 1d7h42m49s qaeu Total 85 3m24s cte 17 58s259ms select 68 2m26s unknown Total 19,373 1d6h31m24s copy to 695 6h43m5s cte 110 3m25s others 9 56s358ms select 18,559 23h43m57s zbx_monitor Total 45 1m47s select 45 1m47s Duration by user
Key values
- 1d7h46m22s (pubeu) Main time consuming user
User Request type Count Duration editeu Total 2 5s810ms select 2 5s810ms postgres Total 108 56m30s copy to 108 56m30s pubc Total 2 2s663ms select 2 2s663ms pubeu Total 7,212 1d7h46m22s cte 69 3m32s select 7,143 1d7h42m49s qaeu Total 85 3m24s cte 17 58s259ms select 68 2m26s unknown Total 19,373 1d6h31m24s copy to 695 6h43m5s cte 110 3m25s others 9 56s358ms select 18,559 23h43m57s zbx_monitor Total 45 1m47s select 45 1m47s Queries by host
Key values
- unknown Main host
- 26,827 Requests
- 2d15h19m37s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 12,505 Requests
- 1d39m15s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-02-14 10:01:32 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 12,573 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 2h48m32s 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 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-02-15 23:25:39 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
2 2h48m21s 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 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-02-15 23:29:53 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
3 1h52m22s 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 'COGNITION DISORDERS' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-02-15 22:13:56 - Bind query: yes ]
4 1h52m13s 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 'COGNITION DISORDERS' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-02-15 22:13:32 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
5 42m40s 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 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-02-15 21:04:33 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
6 24m49s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-02-14 00:24:50 ]
7 24m46s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-02-11 00:24:47 ]
8 24m28s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-02-12 00:24:29 ]
9 24m26s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-02-15 00:24:28 ]
10 24m19s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2025-02-15 19:01:23 ]
11 24m15s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-02-10 00:24:16 ]
12 24m14s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-02-13 00:24:15 ]
13 24m11s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2025-02-15 19:44:08 ]
14 23m55s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2025-02-09 00:23:57 ]
15 14m26s 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 = '2081916') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-02-14 01:28:13 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 11m36s 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 = '1244848') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-09 20:28:06 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 7m3s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-02-15 19:13:30 ]
18 7m2s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-02-15 19:56:14 ]
19 5m44s 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 = '1236028') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-12 04:26:25 - Bind query: yes ]
20 5m31s 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 = '1261072') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-12 00:23:24 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 10h4m10s 5 42m40s 2h48m32s 2h50s 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 = ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 15 21 1 42m40s 42m40s 22 2 3h44m35s 1h52m17s 23 2 5h36m53s 2h48m26s [ User: pubeu - Total duration: 8h11m47s - Times executed: 4 ]
-
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 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-15 23:25:39 Duration: 2h48m32s 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' 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 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-15 23:29:53 Duration: 2h48m21s 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' 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 'COGNITION DISORDERS' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-15 22:13:56 Duration: 1h52m22s Bind query: yes
2 2h50m55s 7 23m55s 24m49s 24m25s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 09 00 1 23m55s 23m55s Feb 10 00 1 24m15s 24m15s Feb 11 00 1 24m46s 24m46s Feb 12 00 1 24m28s 24m28s Feb 13 00 1 24m14s 24m14s Feb 14 00 1 24m49s 24m49s Feb 15 00 1 24m26s 24m26s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-02-14 00:24:50 Duration: 24m49s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-02-11 00:24:47 Duration: 24m46s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-02-12 00:24:29 Duration: 24m28s
3 2h16m42s 125 1s447ms 11m36s 1m5s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 09 01 1 2m59s 2m59s 04 1 2s423ms 2s423ms 05 2 3s661ms 1s830ms 08 1 1s552ms 1s552ms 12 1 3s261ms 3s261ms 13 1 1s477ms 1s477ms 14 1 3s235ms 3s235ms 17 1 3s243ms 3s243ms 18 1 3s264ms 3s264ms 20 2 11m38s 5m49s 21 1 1s818ms 1s818ms 23 1 2m7s 2m7s Feb 10 00 1 1s447ms 1s447ms 02 1 1s573ms 1s573ms 05 1 1s651ms 1s651ms 08 2 3s86ms 1s543ms 12 1 1s541ms 1s541ms 15 1 1s495ms 1s495ms 16 1 3s221ms 3s221ms 17 1 4m57s 4m57s 22 2 3s804ms 1s902ms 23 1 4m24s 4m24s Feb 11 02 2 3s563ms 1s781ms 03 1 1s670ms 1s670ms 05 2 3s166ms 1s583ms 06 2 7m39s 3m49s 07 1 1s951ms 1s951ms 08 2 3m18s 1m39s 09 3 4m11s 1m23s 10 1 1s618ms 1s618ms 11 3 7s920ms 2s640ms 12 2 4m26s 2m13s 13 2 4s710ms 2s355ms 14 4 5m26s 1m21s 15 4 3m1s 45s276ms 16 1 3s243ms 3s243ms 17 4 5m59s 1m29s 18 1 1s566ms 1s566ms 19 1 1s770ms 1s770ms 20 3 7s118ms 2s372ms 21 6 8m2s 1m20s 22 5 4m55s 59s181ms 23 3 3m57s 1m19s Feb 12 00 3 6m46s 2m15s 01 1 4m8s 4m8s 02 3 3m33s 1m11s 03 2 7m49s 3m54s 04 4 11m12s 2m48s 05 1 4m38s 4m38s 06 5 8m23s 1m40s 07 3 5s340ms 1s780ms 08 7 3m45s 32s158ms 09 1 1s921ms 1s921ms 10 3 4s852ms 1s617ms 11 2 5s108ms 2s554ms 13 1 2m30s 2m30s 14 1 1s980ms 1s980ms 21 1 3s257ms 3s257ms Feb 13 05 1 1s658ms 1s658ms Feb 14 08 1 1s617ms 1s617ms 22 1 4m51s 4m51s 23 1 3s278ms 3s278ms Feb 15 06 1 3s245ms 3s245ms 08 1 1s692ms 1s692ms 10 1 1s582ms 1s582ms 23 1 2s91ms 2s91ms [ User: pubeu - Total duration: 36m35s - Times executed: 31 ]
-
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 = '1244848') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-09 20:28:06 Duration: 11m36s 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 = '1236028') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-12 04:26:25 Duration: 5m44s 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 = '1261072') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-12 00:23:24 Duration: 5m31s Bind query: yes
4 1h15m25s 3,779 1s85ms 4s573ms 1s197ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 09 00 27 32s281ms 1s195ms 01 22 26s59ms 1s184ms 02 24 28s444ms 1s185ms 03 22 26s682ms 1s212ms 04 39 46s352ms 1s188ms 05 32 37s604ms 1s175ms 06 17 20s287ms 1s193ms 07 22 26s228ms 1s192ms 08 25 29s942ms 1s197ms 09 21 24s872ms 1s184ms 10 30 35s297ms 1s176ms 11 40 47s685ms 1s192ms 12 18 21s310ms 1s183ms 13 20 23s283ms 1s164ms 14 24 28s636ms 1s193ms 15 35 41s66ms 1s173ms 16 14 16s549ms 1s182ms 17 28 33s50ms 1s180ms 18 31 36s524ms 1s178ms 19 18 21s335ms 1s185ms 20 40 47s695ms 1s192ms 21 21 24s637ms 1s173ms 22 35 41s630ms 1s189ms 23 25 29s189ms 1s167ms Feb 10 00 53 1m3s 1s192ms 01 40 47s668ms 1s191ms 02 31 36s417ms 1s174ms 03 27 31s947ms 1s183ms 04 28 33s218ms 1s186ms 05 14 16s892ms 1s206ms 06 15 17s858ms 1s190ms 07 32 37s691ms 1s177ms 08 27 32s46ms 1s186ms 09 27 32s219ms 1s193ms 10 22 26s247ms 1s193ms 11 39 46s20ms 1s180ms 12 24 28s603ms 1s191ms 13 34 40s392ms 1s188ms 14 20 23s409ms 1s170ms 15 17 20s310ms 1s194ms 16 28 33s109ms 1s182ms 17 28 33s208ms 1s186ms 18 13 14s996ms 1s153ms 19 41 47s906ms 1s168ms 20 40 49s88ms 1s227ms 21 22 25s963ms 1s180ms 22 13 15s398ms 1s184ms 23 35 41s298ms 1s179ms Feb 11 00 14 16s647ms 1s189ms 01 28 33s251ms 1s187ms 02 35 41s513ms 1s186ms 03 20 24s59ms 1s202ms 04 40 47s550ms 1s188ms 05 26 30s954ms 1s190ms 06 22 26s498ms 1s204ms 07 21 24s900ms 1s185ms 08 15 18s544ms 1s236ms 09 19 23s161ms 1s219ms 10 27 32s764ms 1s213ms 11 31 37s254ms 1s201ms 12 20 24s63ms 1s203ms 13 31 37s427ms 1s207ms 14 30 35s956ms 1s198ms 15 53 1m4s 1s215ms 16 29 35s542ms 1s225ms 17 33 39s808ms 1s206ms 18 26 31s78ms 1s195ms 19 32 38s728ms 1s210ms 20 25 31s976ms 1s279ms 21 32 38s479ms 1s202ms 22 43 51s741ms 1s203ms 23 22 26s324ms 1s196ms Feb 12 00 14 16s609ms 1s186ms 01 37 44s677ms 1s207ms 02 21 25s195ms 1s199ms 03 21 25s386ms 1s208ms 04 27 32s268ms 1s195ms 05 39 47s661ms 1s222ms 06 20 24s237ms 1s211ms 07 18 22s118ms 1s228ms 08 29 34s342ms 1s184ms 09 51 1m 1s187ms 10 38 45s805ms 1s205ms 11 22 26s981ms 1s226ms 12 33 39s114ms 1s185ms 13 12 14s72ms 1s172ms 14 6 7s148ms 1s191ms 15 3 3s635ms 1s211ms 16 14 17s157ms 1s225ms 17 18 22s70ms 1s226ms 18 23 28s406ms 1s235ms 19 11 12s868ms 1s169ms 20 9 10s775ms 1s197ms 21 26 31s315ms 1s204ms 22 33 39s689ms 1s202ms 23 17 20s956ms 1s232ms Feb 13 00 19 23s189ms 1s220ms 01 7 8s470ms 1s210ms 02 4 4s906ms 1s226ms 03 12 14s231ms 1s185ms 04 49 58s473ms 1s193ms 05 25 29s902ms 1s196ms 06 9 11s118ms 1s235ms 07 39 47s238ms 1s211ms 08 16 19s927ms 1s245ms 09 32 38s247ms 1s195ms 10 4 4s758ms 1s189ms 11 17 20s363ms 1s197ms 12 7 8s411ms 1s201ms 13 15 17s963ms 1s197ms 14 15 17s638ms 1s175ms 15 9 10s451ms 1s161ms 16 20 23s177ms 1s158ms 17 12 13s969ms 1s164ms 18 18 20s544ms 1s141ms 19 22 25s662ms 1s166ms 20 14 16s280ms 1s162ms 21 3 3s458ms 1s152ms 22 21 25s51ms 1s192ms 23 19 22s602ms 1s189ms Feb 14 00 28 33s356ms 1s191ms 01 1 1s146ms 1s146ms 05 4 5s7ms 1s251ms 06 7 8s542ms 1s220ms 07 11 13s287ms 1s207ms 08 1 1s316ms 1s316ms 09 28 33s255ms 1s187ms 10 25 29s85ms 1s163ms 11 15 17s727ms 1s181ms 12 13 15s251ms 1s173ms 13 29 34s114ms 1s176ms 14 61 1m12s 1s182ms 15 13 15s464ms 1s189ms 16 21 24s626ms 1s172ms 17 36 41s426ms 1s150ms 18 43 50s708ms 1s179ms 19 39 44s522ms 1s141ms 20 21 24s9ms 1s143ms 21 19 21s989ms 1s157ms 22 28 34s236ms 1s222ms 23 28 33s395ms 1s192ms Feb 15 00 49 59s92ms 1s205ms 01 16 19s618ms 1s226ms 02 25 29s996ms 1s199ms 03 19 23s606ms 1s242ms 04 44 52s486ms 1s192ms 05 18 21s173ms 1s176ms 06 10 11s918ms 1s191ms 07 23 27s467ms 1s194ms 08 17 20s107ms 1s182ms 09 20 23s583ms 1s179ms 10 11 12s923ms 1s174ms 11 20 23s400ms 1s170ms 12 25 29s582ms 1s183ms 13 11 13s235ms 1s203ms 14 9 10s547ms 1s171ms 15 10 11s942ms 1s194ms 16 20 23s512ms 1s175ms 17 6 6s928ms 1s154ms 19 11 12s724ms 1s156ms 20 10 27s35ms 2s703ms 21 5 10s181ms 2s36ms 22 4 5s157ms 1s289ms 23 1 1s201ms 1s201ms [ User: pubeu - Total duration: 18m21s - Times executed: 917 ]
-
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 = '1566479' or receptorTerm.id = '1566479' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-15 20:37:43 Duration: 4s573ms 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 = '2066925' or receptorTerm.id = '2066925' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-15 20:38:27 Duration: 4s534ms 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 = '1784987' or receptorTerm.id = '1784987' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-15 20:47:00 Duration: 4s395ms Bind query: yes
5 55m59s 1,077 1s3ms 7s541ms 3s119ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 09 00 2 6s737ms 3s368ms 01 9 28s206ms 3s134ms 02 6 21s779ms 3s629ms 03 4 8s451ms 2s112ms 04 5 17s779ms 3s555ms 05 4 16s44ms 4s11ms 06 8 17s662ms 2s207ms 07 4 8s555ms 2s138ms 08 6 11s946ms 1s991ms 09 4 9s528ms 2s382ms 10 8 31s374ms 3s921ms 11 6 21s876ms 3s646ms 12 7 13s993ms 1s999ms 13 2 9s143ms 4s571ms 14 2 3s264ms 1s632ms 15 2 9s608ms 4s804ms 16 2 8s67ms 4s33ms 17 3 5s954ms 1s984ms 18 1 2s53ms 2s53ms 19 7 18s834ms 2s690ms 20 6 16s971ms 2s828ms 21 9 29s857ms 3s317ms 22 8 26s641ms 3s330ms 23 11 36s110ms 3s282ms Feb 10 00 3 11s73ms 3s691ms 01 8 28s204ms 3s525ms 02 2 8s206ms 4s103ms 03 1 1s262ms 1s262ms 04 7 18s127ms 2s589ms 05 7 23s54ms 3s293ms 06 2 5s49ms 2s524ms 07 1 3s342ms 3s342ms 08 4 17s157ms 4s289ms 09 4 9s744ms 2s436ms 10 7 23s440ms 3s348ms 11 5 11s323ms 2s264ms 12 5 21s148ms 4s229ms 13 4 12s557ms 3s139ms 14 4 12s329ms 3s82ms 15 6 24s460ms 4s76ms 16 3 5s656ms 1s885ms 17 4 11s894ms 2s973ms 18 7 17s960ms 2s565ms 19 7 19s507ms 2s786ms 20 2 5s495ms 2s747ms 21 9 36s264ms 4s29ms 22 4 16s441ms 4s110ms 23 7 27s674ms 3s953ms Feb 11 00 2 8s104ms 4s52ms 01 4 8s242ms 2s60ms 02 5 15s332ms 3s66ms 03 4 10s903ms 2s725ms 04 7 25s502ms 3s643ms 05 6 10s696ms 1s782ms 06 22 59s633ms 2s710ms 07 19 57s504ms 3s26ms 08 18 56s873ms 3s159ms 09 18 42s995ms 2s388ms 10 17 47s904ms 2s817ms 11 18 47s969ms 2s664ms 12 23 1m9s 3s3ms 13 14 43s123ms 3s80ms 14 21 58s767ms 2s798ms 15 19 55s640ms 2s928ms 16 27 1m13s 2s735ms 17 20 1m2s 3s137ms 18 20 1m4s 3s218ms 19 27 1m43s 3s840ms 20 30 1m47s 3s585ms 21 33 1m39s 3s24ms 22 37 1m47s 2s912ms 23 27 1m35s 3s534ms Feb 12 00 35 1m34s 2s702ms 01 31 1m35s 3s87ms 02 19 1m 3s185ms 03 34 2m2s 3s590ms 04 27 1m39s 3s696ms 05 28 1m23s 2s964ms 06 26 1m25s 3s304ms 07 21 1m2s 2s996ms 08 22 1m9s 3s164ms 09 27 1m39s 3s684ms 10 28 1m30s 3s233ms 11 22 1m6s 3s20ms 12 17 37s642ms 2s214ms 13 7 19s676ms 2s810ms 14 5 18s885ms 3s777ms 15 3 9s520ms 3s173ms 16 2 7s405ms 3s702ms 17 1 6s148ms 6s148ms 20 1 3s296ms 3s296ms 22 1 1s923ms 1s923ms Feb 13 08 1 2s126ms 2s126ms 09 3 10s77ms 3s359ms 10 1 2s155ms 2s155ms 17 1 3s1ms 3s1ms 19 2 12s422ms 6s211ms 21 5 14s569ms 2s913ms 22 1 1s896ms 1s896ms Feb 14 08 2 5s662ms 2s831ms 11 2 3s564ms 1s782ms 14 1 6s136ms 6s136ms 15 1 6s286ms 6s286ms 19 5 14s151ms 2s830ms 20 1 6s19ms 6s19ms 21 1 2s89ms 2s89ms Feb 15 03 1 2s14ms 2s14ms 08 1 1s983ms 1s983ms 11 7 17s575ms 2s510ms 13 1 1s332ms 1s332ms 14 1 1s990ms 1s990ms 17 1 1s383ms 1s383ms 20 1 6s847ms 6s847ms 21 2 12s751ms 6s375ms 23 1 2s835ms 2s835ms [ User: pubeu - Total duration: 14m54s - Times executed: 288 ]
-
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 = '1399342'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-15 21:22:17 Duration: 7s541ms 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 = '1399342'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-12 06:21:02 Duration: 7s174ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399342'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-11 20:53:28 Duration: 6s947ms Database: ctdprd51 User: pubeu Bind query: yes
6 50m24s 1,468 1s25ms 14m26s 2s60ms 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 #6
Day Hour Count Duration Avg duration Feb 09 00 1 1s747ms 1s747ms 01 1 1s572ms 1s572ms 11 1 3s267ms 3s267ms 14 1 1s806ms 1s806ms 15 1 1s607ms 1s607ms 18 1 15s296ms 15s296ms 21 1 1s87ms 1s87ms Feb 10 00 21 23s605ms 1s124ms 01 109 2m7s 1s166ms 02 99 1m47s 1s86ms 03 102 1m50s 1s84ms 04 99 1m47s 1s88ms 05 56 1m 1s85ms Feb 11 01 11 14s7ms 1s273ms 02 1 15s368ms 15s368ms 07 10 12s744ms 1s274ms 10 98 1m49s 1s112ms 11 44 48s430ms 1s100ms 14 1 1s71ms 1s71ms 20 31 1m54s 3s705ms 21 91 2m 1s329ms 22 99 1m48s 1s93ms 23 98 1m45s 1s77ms Feb 12 00 106 2m51s 1s622ms 01 93 1m42s 1s100ms 02 80 1m29s 1s123ms 03 4 6s262ms 1s565ms 04 4 4s382ms 1s95ms 06 44 48s751ms 1s107ms 07 1 1s116ms 1s116ms 10 1 1s111ms 1s111ms 12 1 1s283ms 1s283ms Feb 13 00 2 2s181ms 1s90ms 01 1 7s598ms 7s598ms 06 1 1s66ms 1s66ms 09 41 45s983ms 1s121ms 10 80 1m27s 1s87ms 15 1 1s70ms 1s70ms 19 1 11s825ms 11s825ms 22 1 1s239ms 1s239ms 23 1 5s783ms 5s783ms Feb 14 00 1 1s563ms 1s563ms 01 5 16m16s 3m15s 07 6 3m7s 31s206ms 08 2 32s595ms 16s297ms 23 1 5s582ms 5s582ms Feb 15 08 2 2s817ms 1s408ms 20 1 1s300ms 1s300ms 21 10 12s471ms 1s247ms [ User: pubeu - Total duration: 32m14s - Times executed: 685 ]
-
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 = '2081916') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-14 01:28:13 Duration: 14m26s 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 = '2086895') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-14 07:58:38 Duration: 32s44ms 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 = '2086895') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-14 07:36:23 Duration: 31s918ms Database: ctdprd51 User: pubeu Bind query: yes
7 38m35s 894 1s 5s337ms 2s589ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 09 01 5 10s251ms 2s50ms 02 6 13s510ms 2s251ms 03 6 18s917ms 3s152ms 04 4 10s668ms 2s667ms 05 3 5s684ms 1s894ms 06 3 11s318ms 3s772ms 07 1 4s334ms 4s334ms 08 4 8s314ms 2s78ms 09 3 7s767ms 2s589ms 10 3 8s8ms 2s669ms 11 4 10s260ms 2s565ms 12 2 5s741ms 2s870ms 13 4 10s414ms 2s603ms 14 3 8s879ms 2s959ms 15 5 19s170ms 3s834ms 16 5 8s391ms 1s678ms 17 4 8s838ms 2s209ms 18 1 4s434ms 4s434ms 19 5 13s36ms 2s607ms 21 11 23s842ms 2s167ms 22 2 3s597ms 1s798ms 23 1 1s182ms 1s182ms Feb 10 00 5 16s947ms 3s389ms 01 3 6s666ms 2s222ms 02 4 6s847ms 1s711ms 03 6 12s536ms 2s89ms 05 6 19s14ms 3s169ms 06 2 7s904ms 3s952ms 07 6 19s29ms 3s171ms 08 2 2s489ms 1s244ms 09 5 12s300ms 2s460ms 10 4 6s581ms 1s645ms 11 6 17s258ms 2s876ms 12 4 15s177ms 3s794ms 13 3 10s292ms 3s430ms 15 4 12s730ms 3s182ms 16 3 6s741ms 2s247ms 17 4 6s261ms 1s565ms 18 3 10s738ms 3s579ms 19 4 11s389ms 2s847ms 20 7 22s480ms 3s211ms 21 4 10s359ms 2s589ms 22 4 6s693ms 1s673ms 23 6 17s871ms 2s978ms Feb 11 00 5 14s589ms 2s917ms 01 7 12s284ms 1s754ms 02 3 5s750ms 1s916ms 03 2 4s70ms 2s35ms 04 9 15s931ms 1s770ms 05 6 12s615ms 2s102ms 06 11 33s217ms 3s19ms 07 15 41s145ms 2s743ms 08 23 56s108ms 2s439ms 09 11 41s127ms 3s738ms 10 15 32s678ms 2s178ms 11 14 31s414ms 2s243ms 12 11 27s478ms 2s498ms 13 12 30s118ms 2s509ms 14 17 44s803ms 2s635ms 15 19 48s515ms 2s553ms 16 16 39s892ms 2s493ms 17 22 56s432ms 2s565ms 18 14 38s606ms 2s757ms 19 31 1m14s 2s392ms 20 28 1m11s 2s556ms 21 31 1m20s 2s582ms 22 22 52s791ms 2s399ms 23 21 46s800ms 2s228ms Feb 12 00 28 1m17s 2s754ms 01 27 1m8s 2s526ms 02 29 1m32s 3s174ms 03 24 52s34ms 2s168ms 04 21 54s617ms 2s600ms 05 21 55s415ms 2s638ms 06 19 56s297ms 2s963ms 07 20 55s152ms 2s757ms 08 21 51s771ms 2s465ms 09 34 1m22s 2s420ms 10 25 1m11s 2s874ms 11 4 15s617ms 3s904ms 12 19 56s721ms 2s985ms 13 9 19s618ms 2s179ms 14 1 4s287ms 4s287ms 19 1 1s175ms 1s175ms 20 1 4s627ms 4s627ms 21 1 2s393ms 2s393ms 22 2 4s194ms 2s97ms Feb 13 03 2 3s671ms 1s835ms 10 1 1s87ms 1s87ms 11 3 13s653ms 4s551ms 13 1 4s633ms 4s633ms 15 1 2s148ms 2s148ms 21 8 18s534ms 2s316ms Feb 14 08 1 1s360ms 1s360ms 09 1 2s42ms 2s42ms 14 1 3s364ms 3s364ms 17 1 1s78ms 1s78ms 19 9 19s608ms 2s178ms 20 1 3s303ms 3s303ms 23 1 3s183ms 3s183ms Feb 15 05 1 1s247ms 1s247ms 11 8 18s745ms 2s343ms 16 1 3s340ms 3s340ms 20 1 1s672ms 1s672ms [ User: pubeu - Total duration: 10m47s - Times executed: 245 ]
-
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 = '1399342') 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 = '1399342') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-02-12 00:09:14 Duration: 5s337ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1399342') 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 = '1399342') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-02-11 21:02:29 Duration: 5s63ms 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 = '1399342') 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 = '1399342') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-02-11 21:07:28 Duration: 4s954ms Database: ctdprd51 User: pubeu Bind query: yes
8 24m19s 1 24m19s 24m19s 24m19s 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 #8
Day Hour Count Duration Avg duration Feb 15 19 1 24m19s 24m19s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-02-15 19:01:23 Duration: 24m19s
9 24m11s 1 24m11s 24m11s 24m11s 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 #9
Day Hour Count Duration Avg duration Feb 15 19 1 24m11s 24m11s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-02-15 19:44:08 Duration: 24m11s
10 20m22s 25 48s208ms 49s301ms 48s883ms 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 #10
Day Hour Count Duration Avg duration Feb 09 06 1 48s379ms 48s379ms 10 1 48s265ms 48s265ms 14 1 48s392ms 48s392ms 18 1 48s208ms 48s208ms Feb 10 06 1 48s333ms 48s333ms 10 1 48s648ms 48s648ms 14 1 48s626ms 48s626ms 18 1 48s405ms 48s405ms Feb 11 06 1 49s50ms 49s50ms 10 1 49s53ms 49s53ms 14 1 49s232ms 49s232ms 18 1 49s165ms 49s165ms Feb 12 06 1 49s301ms 49s301ms 10 1 49s31ms 49s31ms 14 1 49s96ms 49s96ms 18 1 48s845ms 48s845ms Feb 13 06 1 49s190ms 49s190ms 10 1 49s231ms 49s231ms 14 1 48s988ms 48s988ms 18 1 48s868ms 48s868ms Feb 14 06 1 49s200ms 49s200ms 10 1 49s121ms 49s121ms 14 1 49s245ms 49s245ms 18 1 49s141ms 49s141ms Feb 15 19 1 49s61ms 49s61ms [ User: postgres - Total duration: 19m33s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 19m33s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-02-12 06:05:51 Duration: 49s301ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-02-14 14:05:51 Duration: 49s245ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-02-11 14:05:51 Duration: 49s232ms Database: ctdprd51 User: postgres Application: pg_dump
11 19m18s 164 1s5ms 47s504ms 7s65ms 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 #11
Day Hour Count Duration Avg duration Feb 09 04 3 49s60ms 16s353ms 05 1 2s264ms 2s264ms 08 1 21s698ms 21s698ms 11 2 5s496ms 2s748ms 12 1 22s367ms 22s367ms 13 1 10s952ms 10s952ms 15 3 6s299ms 2s99ms 16 2 24s317ms 12s158ms 17 1 1s436ms 1s436ms 18 1 1s352ms 1s352ms 19 1 20s811ms 20s811ms 20 1 1s66ms 1s66ms 23 1 3s110ms 3s110ms Feb 10 00 1 3s271ms 3s271ms 01 3 12s277ms 4s92ms 03 1 19s360ms 19s360ms 06 1 21s491ms 21s491ms 09 1 1s750ms 1s750ms 10 1 5s272ms 5s272ms 11 1 18s159ms 18s159ms 15 1 1s949ms 1s949ms 17 4 10s199ms 2s549ms 18 1 1s110ms 1s110ms 19 2 19s967ms 9s983ms 21 1 7s450ms 7s450ms 22 1 3s728ms 3s728ms 23 4 29s68ms 7s267ms Feb 11 01 1 1s28ms 1s28ms 02 2 3s129ms 1s564ms 05 1 22s787ms 22s787ms 06 6 1m17s 12s899ms 07 3 44s966ms 14s988ms 08 2 12s175ms 6s87ms 09 3 6s887ms 2s295ms 10 3 22s369ms 7s456ms 11 1 1s34ms 1s34ms 12 3 24s987ms 8s329ms 13 6 27s230ms 4s538ms 14 1 1s93ms 1s93ms 15 3 25s158ms 8s386ms 16 1 3s859ms 3s859ms 17 3 7s566ms 2s522ms 18 2 5s102ms 2s551ms 19 9 1m12s 8s48ms 20 2 24s432ms 12s216ms 21 3 6s297ms 2s99ms 22 5 37s438ms 7s487ms 23 2 48s610ms 24s305ms Feb 12 00 4 11s311ms 2s827ms 01 7 37s605ms 5s372ms 02 2 4s759ms 2s379ms 03 7 33s702ms 4s814ms 04 4 28s491ms 7s122ms 05 1 11s180ms 11s180ms 07 5 16s481ms 3s296ms 08 5 47s698ms 9s539ms 09 3 12s435ms 4s145ms 10 3 21s522ms 7s174ms 11 1 7s714ms 7s714ms 12 3 7s416ms 2s472ms 13 2 12s318ms 6s159ms 14 1 21s16ms 21s16ms 18 2 48s71ms 24s35ms 22 1 1s785ms 1s785ms Feb 13 07 1 1s586ms 1s586ms 10 1 3s262ms 3s262ms 13 1 21s302ms 21s302ms 14 1 1s147ms 1s147ms 17 1 1s933ms 1s933ms 18 1 1s128ms 1s128ms Feb 14 16 1 1s133ms 1s133ms Feb 15 03 1 1s337ms 1s337ms 14 1 1s134ms 1s134ms [ User: pubeu - Total duration: 4m4s - Times executed: 40 ]
-
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 = '1232454') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-11 23:45:42 Duration: 47s504ms 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 = '1232454') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-12 18:30:19 Duration: 47s5ms 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 = '1232454') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-09 04:12:07 Duration: 46s166ms Bind query: yes
12 16m57s 244 3s859ms 10s260ms 4s168ms 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 #12
Day Hour Count Duration Avg duration Feb 09 01 2 9s840ms 4s920ms 02 1 4s46ms 4s46ms 08 3 11s996ms 3s998ms 11 2 7s945ms 3s972ms 13 2 8s156ms 4s78ms 14 2 7s942ms 3s971ms 15 3 11s918ms 3s972ms 19 2 7s940ms 3s970ms 20 3 12s270ms 4s90ms 21 1 4s66ms 4s66ms 22 1 4s92ms 4s92ms 23 1 4s255ms 4s255ms Feb 10 01 2 7s983ms 3s991ms 02 4 16s529ms 4s132ms 03 6 24s421ms 4s70ms 05 1 4s313ms 4s313ms 06 2 7s999ms 3s999ms 09 6 24s986ms 4s164ms 10 4 16s318ms 4s79ms 11 1 4s127ms 4s127ms 12 1 3s965ms 3s965ms 18 2 7s923ms 3s961ms 19 2 8s45ms 4s22ms 21 2 9s243ms 4s621ms 22 5 19s931ms 3s986ms Feb 11 00 3 11s897ms 3s965ms 01 4 16s211ms 4s52ms 02 6 23s996ms 3s999ms 03 4 16s257ms 4s64ms 04 3 12s376ms 4s125ms 05 5 19s938ms 3s987ms 06 10 41s624ms 4s162ms 07 4 16s558ms 4s139ms 08 5 22s37ms 4s407ms 09 1 4s155ms 4s155ms 10 2 8s34ms 4s17ms 11 2 8s456ms 4s228ms 13 1 3s929ms 3s929ms 14 1 4s107ms 4s107ms 15 1 3s922ms 3s922ms 18 1 4s49ms 4s49ms 19 2 8s175ms 4s87ms 22 3 16s341ms 5s447ms 23 1 4s24ms 4s24ms Feb 12 00 2 8s178ms 4s89ms 03 5 20s706ms 4s141ms 05 2 8s221ms 4s110ms 07 1 4s215ms 4s215ms 09 4 15s938ms 3s984ms 11 5 20s600ms 4s120ms 12 3 12s208ms 4s69ms 13 7 37s142ms 5s306ms 14 4 16s205ms 4s51ms 15 2 8s99ms 4s49ms 17 1 4s455ms 4s455ms 18 1 3s966ms 3s966ms 19 1 4s74ms 4s74ms 20 3 12s407ms 4s135ms 21 3 12s149ms 4s49ms Feb 13 00 3 12s123ms 4s41ms 01 3 11s904ms 3s968ms 02 3 12s1ms 4s 03 3 12s128ms 4s42ms 05 2 7s996ms 3s998ms 07 1 4s196ms 4s196ms 08 1 4s175ms 4s175ms 09 5 20s49ms 4s9ms 13 1 3s941ms 3s941ms 14 3 12s267ms 4s89ms 16 5 19s851ms 3s970ms 17 2 7s764ms 3s882ms 18 2 8s236ms 4s118ms 19 3 12s575ms 4s191ms 20 3 12s29ms 4s9ms 21 3 11s794ms 3s931ms Feb 14 00 1 4s201ms 4s201ms 01 1 4s114ms 4s114ms 06 1 3s963ms 3s963ms 09 2 7s805ms 3s902ms 10 1 3s921ms 3s921ms 12 2 8s44ms 4s22ms 13 1 3s953ms 3s953ms 14 1 4s265ms 4s265ms 19 2 8s488ms 4s244ms 20 1 5s758ms 5s758ms 21 1 4s36ms 4s36ms 23 1 3s976ms 3s976ms Feb 15 02 1 3s974ms 3s974ms 06 2 7s974ms 3s987ms 07 1 3s961ms 3s961ms 08 1 3s896ms 3s896ms 09 1 3s971ms 3s971ms 12 2 8s482ms 4s241ms 13 1 4s45ms 4s45ms 14 1 4s82ms 4s82ms 15 8 33s846ms 4s230ms 16 1 4s35ms 4s35ms 19 1 4s64ms 4s64ms 21 1 10s260ms 10s260ms 23 1 4s31ms 4s31ms [ User: pubeu - Total duration: 6m29s - Times executed: 95 ]
-
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 = '1344549') 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 = '1344549') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-02-15 21:17:18 Duration: 10s260ms 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 = '1327690') 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 = '1327690') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-02-12 13:41:40 Duration: 7s356ms 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 = '1267391') 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 = '1267391') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-02-11 22:53:37 Duration: 6s398ms Bind query: yes
13 15m53s 733 1s166ms 3s625ms 1s300ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 09 00 10 12s991ms 1s299ms 01 3 3s889ms 1s296ms 02 1 1s283ms 1s283ms 03 3 3s933ms 1s311ms 04 7 9s313ms 1s330ms 05 11 14s394ms 1s308ms 06 2 2s567ms 1s283ms 07 3 3s935ms 1s311ms 08 2 2s606ms 1s303ms 09 8 10s283ms 1s285ms 10 4 5s188ms 1s297ms 11 11 14s150ms 1s286ms 12 3 3s901ms 1s300ms 13 4 5s108ms 1s277ms 14 3 3s731ms 1s243ms 15 7 8s928ms 1s275ms 16 1 1s322ms 1s322ms 17 4 5s40ms 1s260ms 18 2 2s543ms 1s271ms 19 3 3s862ms 1s287ms 20 5 6s369ms 1s273ms 21 1 1s283ms 1s283ms 22 12 15s442ms 1s286ms 23 9 11s519ms 1s279ms Feb 10 00 10 12s838ms 1s283ms 01 10 12s662ms 1s266ms 02 2 2s451ms 1s225ms 03 3 3s647ms 1s215ms 04 5 6s535ms 1s307ms 05 3 4s32ms 1s344ms 06 7 9s180ms 1s311ms 07 1 1s226ms 1s226ms 08 3 3s874ms 1s291ms 09 5 6s351ms 1s270ms 10 4 5s85ms 1s271ms 11 7 9s40ms 1s291ms 12 4 5s314ms 1s328ms 13 2 2s540ms 1s270ms 14 3 3s851ms 1s283ms 16 7 9s90ms 1s298ms 17 3 3s822ms 1s274ms 18 2 2s492ms 1s246ms 19 5 6s243ms 1s248ms 20 6 7s409ms 1s234ms 21 9 11s354ms 1s261ms 22 2 2s541ms 1s270ms 23 3 3s804ms 1s268ms Feb 11 00 2 2s586ms 1s293ms 01 6 7s641ms 1s273ms 02 7 8s998ms 1s285ms 03 4 5s131ms 1s282ms 04 7 9s276ms 1s325ms 05 7 9s225ms 1s317ms 06 3 3s987ms 1s329ms 07 3 3s879ms 1s293ms 08 4 5s286ms 1s321ms 09 4 5s161ms 1s290ms 10 3 3s854ms 1s284ms 11 7 9s593ms 1s370ms 12 4 5s265ms 1s316ms 13 3 3s871ms 1s290ms 14 4 5s279ms 1s319ms 15 7 9s259ms 1s322ms 16 7 9s592ms 1s370ms 17 7 9s229ms 1s318ms 18 5 6s694ms 1s338ms 19 5 6s478ms 1s295ms 20 3 3s856ms 1s285ms 21 10 13s124ms 1s312ms 22 12 15s796ms 1s316ms 23 5 6s398ms 1s279ms Feb 12 00 6 7s836ms 1s306ms 01 2 2s715ms 1s357ms 02 5 6s425ms 1s285ms 03 2 2s623ms 1s311ms 04 2 2s620ms 1s310ms 05 9 12s157ms 1s350ms 06 5 6s599ms 1s319ms 07 2 2s814ms 1s407ms 08 12 15s460ms 1s288ms 09 7 8s975ms 1s282ms 10 6 7s717ms 1s286ms 11 5 6s334ms 1s266ms 12 5 6s421ms 1s284ms 13 3 4s402ms 1s467ms 16 4 5s26ms 1s256ms 17 3 4s74ms 1s358ms 18 6 7s757ms 1s292ms 19 2 2s704ms 1s352ms 20 4 5s15ms 1s253ms 21 4 5s117ms 1s279ms 22 9 11s804ms 1s311ms Feb 13 00 5 6s506ms 1s301ms 01 3 3s868ms 1s289ms 03 3 3s859ms 1s286ms 04 15 19s668ms 1s311ms 05 3 4s59ms 1s353ms 07 9 11s617ms 1s290ms 09 12 15s619ms 1s301ms 10 1 1s232ms 1s232ms 11 4 5s72ms 1s268ms 14 3 3s900ms 1s300ms 15 2 2s470ms 1s235ms 16 2 2s542ms 1s271ms 17 2 2s493ms 1s246ms 18 3 3s709ms 1s236ms 19 3 3s740ms 1s246ms 20 1 1s285ms 1s285ms 21 2 2s354ms 1s177ms 22 4 5s92ms 1s273ms 23 5 6s415ms 1s283ms Feb 14 00 4 5s306ms 1s326ms 01 1 1s354ms 1s354ms 05 3 4s264ms 1s421ms 06 3 3s965ms 1s321ms 07 3 4s13ms 1s337ms 08 2 2s687ms 1s343ms 09 6 7s839ms 1s306ms 10 9 11s40ms 1s226ms 11 1 1s271ms 1s271ms 12 2 2s497ms 1s248ms 13 3 3s884ms 1s294ms 14 11 14s899ms 1s354ms 15 8 10s147ms 1s268ms 16 1 1s272ms 1s272ms 17 6 7s372ms 1s228ms 18 11 13s740ms 1s249ms 19 7 8s765ms 1s252ms 20 3 3s770ms 1s256ms 21 2 2s505ms 1s252ms 22 2 2s511ms 1s255ms 23 8 10s566ms 1s320ms Feb 15 00 8 10s610ms 1s326ms 01 2 2s856ms 1s428ms 02 1 1s343ms 1s343ms 03 5 6s495ms 1s299ms 04 15 19s474ms 1s298ms 05 8 10s692ms 1s336ms 06 1 1s201ms 1s201ms 07 1 1s300ms 1s300ms 08 5 6s620ms 1s324ms 09 4 4s898ms 1s224ms 10 4 5s17ms 1s254ms 11 5 6s343ms 1s268ms 12 7 8s804ms 1s257ms 13 2 2s669ms 1s334ms 14 5 6s421ms 1s284ms 15 8 10s521ms 1s315ms 16 4 5s380ms 1s345ms 17 2 2s444ms 1s222ms 18 1 1s322ms 1s322ms 19 2 2s484ms 1s242ms 20 4 7s609ms 1s902ms 21 1 2s621ms 2s621ms 22 1 1s315ms 1s315ms 23 2 2s612ms 1s306ms [ User: pubeu - Total duration: 3m24s - Times executed: 157 ]
[ User: qaeu - Total duration: 10s49ms - Times executed: 7 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1247044') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1247044') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-15 20:44:11 Duration: 3s625ms 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 = '1225231') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1225231') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-15 21:20:04 Duration: 2s621ms 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 = '1237028') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1237028') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-11 11:11:32 Duration: 1s870ms Bind query: yes
14 14m12s 272 1s28ms 11s783ms 3s134ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 09 01 7 16s669ms 2s381ms 02 3 6s492ms 2s164ms 03 4 12s408ms 3s102ms 04 2 3s994ms 1s997ms 05 2 2s360ms 1s180ms 07 2 3s620ms 1s810ms 08 2 9s565ms 4s782ms 09 4 11s772ms 2s943ms 11 2 8s535ms 4s267ms 12 1 2s416ms 2s416ms 13 2 4s321ms 2s160ms 14 1 5s222ms 5s222ms 15 3 4s910ms 1s636ms 17 1 2s415ms 2s415ms 18 2 7s483ms 3s741ms 19 2 3s968ms 1s984ms 22 1 6s379ms 6s379ms Feb 10 00 1 1s107ms 1s107ms 01 3 6s370ms 2s123ms 02 2 7s680ms 3s840ms 03 1 2s405ms 2s405ms 05 3 4s662ms 1s554ms 06 1 2s392ms 2s392ms 07 4 14s851ms 3s712ms 08 1 2s739ms 2s739ms 09 1 2s437ms 2s437ms 10 2 2s361ms 1s180ms 11 3 14s662ms 4s887ms 12 1 5s105ms 5s105ms 16 1 2s424ms 2s424ms 17 2 5s462ms 2s731ms 19 1 2s909ms 2s909ms 20 3 7s408ms 2s469ms 21 2 10s707ms 5s353ms 23 2 7s684ms 3s842ms Feb 11 00 1 1s114ms 1s114ms 01 6 19s540ms 3s256ms 03 4 14s320ms 3s580ms 04 2 4s837ms 2s418ms 05 1 1s169ms 1s169ms 06 4 7s429ms 1s857ms 07 5 15s234ms 3s46ms 08 2 11s533ms 5s766ms 09 1 5s171ms 5s171ms 10 4 6s799ms 1s699ms 11 3 7s719ms 2s573ms 12 1 2s687ms 2s687ms 13 1 1s448ms 1s448ms 15 3 10s161ms 3s387ms 16 1 3s116ms 3s116ms 17 3 12s371ms 4s123ms 18 1 1s412ms 1s412ms 19 4 24s177ms 6s44ms 20 9 36s223ms 4s24ms 21 2 13s403ms 6s701ms 23 6 20s406ms 3s401ms Feb 12 00 4 16s828ms 4s207ms 01 10 26s989ms 2s698ms 02 6 21s971ms 3s661ms 03 6 12s754ms 2s125ms 04 4 15s33ms 3s758ms 05 3 19s770ms 6s590ms 06 4 7s69ms 1s767ms 08 5 23s41ms 4s608ms 09 5 17s35ms 3s407ms 10 2 3s736ms 1s868ms 11 2 9s392ms 4s696ms 12 2 4s92ms 2s46ms 13 1 2s382ms 2s382ms 16 1 2s750ms 2s750ms 19 2 5s158ms 2s579ms 20 2 4s795ms 2s397ms 23 1 1s325ms 1s325ms Feb 13 00 2 3s237ms 1s618ms 01 4 10s158ms 2s539ms 03 2 4s755ms 2s377ms 05 3 5s793ms 1s931ms 08 1 5s166ms 5s166ms 09 1 2s394ms 2s394ms 11 2 7s630ms 3s815ms 13 1 4s641ms 4s641ms 16 2 2s946ms 1s473ms 17 1 3s78ms 3s78ms 18 2 3s479ms 1s739ms 19 1 11s543ms 11s543ms 21 1 2s647ms 2s647ms 23 1 1s82ms 1s82ms Feb 14 00 2 5s908ms 2s954ms 01 3 9s842ms 3s280ms 05 2 5s898ms 2s949ms 07 2 5s761ms 2s880ms 08 7 18s655ms 2s665ms 09 1 1s174ms 1s174ms 17 3 15s491ms 5s163ms 18 1 2s154ms 2s154ms 22 3 5s380ms 1s793ms 23 3 11s878ms 3s959ms Feb 15 00 3 8s733ms 2s911ms 01 3 11s489ms 3s829ms 02 1 2s606ms 2s606ms 03 1 2s535ms 2s535ms 04 1 5s978ms 5s978ms 05 1 6s508ms 6s508ms 07 1 2s503ms 2s503ms 08 3 11s530ms 3s843ms 09 3 5s813ms 1s937ms 11 1 1s90ms 1s90ms 15 1 4s947ms 4s947ms 16 1 4s900ms 4s900ms 20 2 2s869ms 1s434ms [ User: pubeu - Total duration: 4m5s - Times executed: 76 ]
-
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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-11 21:58:03 Duration: 11s783ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-13 19:22:19 Duration: 11s543ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-11 19:24:08 Duration: 11s501ms Database: ctdprd51 User: pubeu Bind query: yes
15 14m5s 567 1s451ms 3s108ms 1s491ms 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 #15
Day Hour Count Duration Avg duration Feb 09 01 1 1s471ms 1s471ms 02 1 1s487ms 1s487ms 05 3 4s476ms 1s492ms 07 1 1s490ms 1s490ms 08 2 3s7ms 1s503ms 09 2 2s965ms 1s482ms 10 1 1s509ms 1s509ms 11 2 2s970ms 1s485ms 12 1 1s482ms 1s482ms 15 1 1s481ms 1s481ms 17 2 2s947ms 1s473ms 20 2 2s992ms 1s496ms 22 1 1s484ms 1s484ms 23 2 2s998ms 1s499ms Feb 10 01 1 1s470ms 1s470ms 03 2 3s73ms 1s536ms 04 2 3s 1s500ms 05 2 2s975ms 1s487ms 06 3 4s455ms 1s485ms 08 1 1s514ms 1s514ms 12 1 1s483ms 1s483ms 13 1 1s495ms 1s495ms 14 1 1s508ms 1s508ms 16 1 1s496ms 1s496ms 17 1 1s484ms 1s484ms 19 3 4s447ms 1s482ms 23 1 1s490ms 1s490ms Feb 11 01 2 3s11ms 1s505ms 03 2 2s974ms 1s487ms 04 1 1s515ms 1s515ms 05 5 7s441ms 1s488ms 06 7 10s349ms 1s478ms 07 3 4s447ms 1s482ms 08 3 4s818ms 1s606ms 09 6 9s61ms 1s510ms 10 1 1s465ms 1s465ms 11 4 6s144ms 1s536ms 12 4 5s880ms 1s470ms 13 8 11s953ms 1s494ms 14 7 10s468ms 1s495ms 15 4 6s62ms 1s515ms 16 5 7s438ms 1s487ms 17 3 4s490ms 1s496ms 18 6 8s941ms 1s490ms 19 7 10s419ms 1s488ms 20 6 8s956ms 1s492ms 21 5 7s826ms 1s565ms 22 8 11s953ms 1s494ms 23 2 2s947ms 1s473ms Feb 12 00 10 14s904ms 1s490ms 01 4 5s912ms 1s478ms 02 5 7s331ms 1s466ms 03 10 14s783ms 1s478ms 04 5 7s472ms 1s494ms 05 4 6s64ms 1s516ms 06 5 7s550ms 1s510ms 07 7 10s640ms 1s520ms 08 9 13s321ms 1s480ms 09 6 8s899ms 1s483ms 10 3 4s483ms 1s494ms 11 4 5s918ms 1s479ms 12 3 4s416ms 1s472ms 13 3 4s458ms 1s486ms 15 1 1s510ms 1s510ms 17 2 2s955ms 1s477ms 19 1 1s480ms 1s480ms Feb 13 01 2 2s982ms 1s491ms 05 2 2s953ms 1s476ms 19 1 1s461ms 1s461ms 22 1 1s458ms 1s458ms 23 1 1s498ms 1s498ms Feb 14 00 1 1s479ms 1s479ms 05 11 16s171ms 1s470ms 06 15 22s200ms 1s480ms 07 7 10s445ms 1s492ms 08 16 23s730ms 1s483ms 09 22 32s665ms 1s484ms 10 15 22s334ms 1s488ms 11 20 29s582ms 1s479ms 12 14 20s680ms 1s477ms 13 20 29s867ms 1s493ms 14 14 20s830ms 1s487ms 15 18 26s723ms 1s484ms 16 10 14s866ms 1s486ms 17 8 11s990ms 1s498ms 18 7 10s392ms 1s484ms 19 8 11s886ms 1s485ms 20 8 11s895ms 1s486ms 21 8 11s916ms 1s489ms 22 7 10s466ms 1s495ms 23 8 11s834ms 1s479ms Feb 15 00 8 11s921ms 1s490ms 01 8 11s899ms 1s487ms 02 7 10s399ms 1s485ms 03 8 11s886ms 1s485ms 04 7 10s462ms 1s494ms 05 10 14s808ms 1s480ms 06 8 11s885ms 1s485ms 07 7 10s327ms 1s475ms 08 8 11s781ms 1s472ms 09 9 13s439ms 1s493ms 10 7 10s395ms 1s485ms 11 8 11s887ms 1s485ms 12 2 2s969ms 1s484ms 20 2 4s576ms 2s288ms 22 1 1s487ms 1s487ms [ User: pubeu - Total duration: 3m48s - Times executed: 153 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-02-15 20:40:00 Duration: 3s108ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-02-11 21:01:52 Duration: 1s859ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-02-11 08:26:28 Duration: 1s794ms Database: ctdprd51 User: pubeu Bind query: yes
16 13m3s 101 1s39ms 22s145ms 7s760ms 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 #16
Day Hour Count Duration Avg duration Feb 09 02 3 31s582ms 10s527ms 03 1 1s281ms 1s281ms 04 2 18s898ms 9s449ms 06 1 16s165ms 16s165ms 08 1 2s928ms 2s928ms 11 1 3s943ms 3s943ms 12 1 16s404ms 16s404ms 14 1 16s79ms 16s79ms 17 1 15s945ms 15s945ms 19 1 1s152ms 1s152ms 20 1 1s70ms 1s70ms 23 1 15s990ms 15s990ms Feb 10 00 1 10s826ms 10s826ms 04 1 1s335ms 1s335ms 05 1 11s131ms 11s131ms 06 1 5s773ms 5s773ms 17 1 16s299ms 16s299ms 20 2 17s10ms 8s505ms 22 1 11s12ms 11s12ms Feb 11 01 1 4s8ms 4s8ms 02 2 4s603ms 2s301ms 07 3 22s295ms 7s431ms 08 3 13s100ms 4s366ms 10 2 12s284ms 6s142ms 13 4 36s248ms 9s62ms 14 3 33s923ms 11s307ms 15 2 16s921ms 8s460ms 19 2 15s171ms 7s585ms 20 2 13s253ms 6s626ms 21 2 17s487ms 8s743ms 22 4 33s603ms 8s400ms 23 1 5s702ms 5s702ms Feb 12 00 2 20s169ms 10s84ms 01 3 19s175ms 6s391ms 02 4 26s 6s500ms 03 2 3s585ms 1s792ms 05 5 29s691ms 5s938ms 06 3 23s139ms 7s713ms 07 4 15s502ms 3s875ms 08 2 8s630ms 4s315ms 09 2 12s427ms 6s213ms 10 5 36s92ms 7s218ms 11 2 27s645ms 13s822ms 12 1 1s70ms 1s70ms 13 2 17s396ms 8s698ms Feb 13 00 1 1s83ms 1s83ms 04 1 1s89ms 1s89ms 19 1 17s896ms 17s896ms Feb 14 21 1 4s431ms 4s431ms 23 3 31s132ms 10s377ms Feb 15 04 1 1s39ms 1s39ms 21 2 43s210ms 21s605ms [ User: pubeu - Total duration: 3m1s - Times executed: 24 ]
-
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 = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-15 21:56:02 Duration: 22s145ms 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 = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-15 21:57:32 Duration: 21s64ms 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 = '1232454'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-13 19:22:37 Duration: 17s896ms Bind query: yes
17 12m55s 180 1s 6s270ms 4s307ms 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 #17
Day Hour Count Duration Avg duration Feb 09 01 1 5s293ms 5s293ms 02 1 4s924ms 4s924ms 03 2 10s496ms 5s248ms 04 1 1s28ms 1s28ms 08 1 4s840ms 4s840ms 12 2 5s897ms 2s948ms 13 1 4s839ms 4s839ms 15 1 5s286ms 5s286ms 16 1 4s778ms 4s778ms 17 1 4s942ms 4s942ms 20 1 1s22ms 1s22ms 21 5 21s655ms 4s331ms 22 2 7s271ms 3s635ms 23 2 6s12ms 3s6ms Feb 10 00 1 5s812ms 5s812ms 01 1 5s526ms 5s526ms 03 1 1s33ms 1s33ms 04 2 10s265ms 5s132ms 05 1 1s126ms 1s126ms 07 1 5s314ms 5s314ms 08 1 5s210ms 5s210ms 09 1 5s19ms 5s19ms 10 1 4s824ms 4s824ms 11 2 6s171ms 3s85ms 12 2 6s192ms 3s96ms 17 1 4s819ms 4s819ms 19 1 5s134ms 5s134ms 21 2 6s76ms 3s38ms 23 1 4s727ms 4s727ms Feb 11 00 1 5s404ms 5s404ms 02 1 4s930ms 4s930ms 03 2 2s53ms 1s26ms 04 6 27s386ms 4s564ms 07 3 11s431ms 3s810ms 08 9 39s174ms 4s352ms 10 1 1s69ms 1s69ms 11 1 5s280ms 5s280ms 14 1 6s5ms 6s5ms 15 1 5s471ms 5s471ms 18 1 5s104ms 5s104ms 19 3 15s600ms 5s200ms 20 4 21s156ms 5s289ms 21 3 15s824ms 5s274ms 22 5 22s164ms 4s432ms 23 2 10s862ms 5s431ms Feb 12 00 2 7s298ms 3s649ms 01 2 5s826ms 2s913ms 03 3 15s470ms 5s156ms 04 2 6s604ms 3s302ms 05 2 10s37ms 5s18ms 06 4 15s911ms 3s977ms 07 2 6s390ms 3s195ms 08 3 15s188ms 5s62ms 10 4 11s880ms 2s970ms 11 3 15s643ms 5s214ms 12 1 5s140ms 5s140ms 18 3 14s683ms 4s894ms 20 1 5s235ms 5s235ms 23 2 6s49ms 3s24ms Feb 13 02 3 10s598ms 3s532ms 05 2 10s93ms 5s46ms 07 1 5s52ms 5s52ms 10 1 4s915ms 4s915ms 12 1 1s11ms 1s11ms 13 1 4s912ms 4s912ms 14 1 5s260ms 5s260ms 16 1 4s673ms 4s673ms 19 4 21s361ms 5s340ms 20 1 4s553ms 4s553ms 21 5 20s120ms 4s24ms Feb 14 00 1 4s686ms 4s686ms 07 1 4s618ms 4s618ms 10 1 1s35ms 1s35ms 12 1 5s85ms 5s85ms 14 2 9s350ms 4s675ms 16 1 4s724ms 4s724ms 17 1 1s 1s 18 3 15s848ms 5s282ms 19 5 20s971ms 4s194ms 20 1 4s597ms 4s597ms 21 1 5s350ms 5s350ms 22 2 10s203ms 5s101ms Feb 15 01 1 4s597ms 4s597ms 02 1 4s595ms 4s595ms 05 2 9s325ms 4s662ms 06 1 4s697ms 4s697ms 07 2 9s352ms 4s676ms 08 2 9s896ms 4s948ms 11 6 20s937ms 3s489ms 12 1 5s737ms 5s737ms 13 1 4s608ms 4s608ms 14 1 4s655ms 4s655ms 15 1 4s987ms 4s987ms 20 1 6s72ms 6s72ms [ User: pubeu - Total duration: 3m22s - Times executed: 47 ]
-
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 = '1300043' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-09 22:10:57 Duration: 6s270ms 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 = '1428598' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-12 00:16:55 Duration: 6s124ms 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 = '1418261' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-15 20:52:56 Duration: 6s72ms Bind query: yes
18 10m47s 14 2s415ms 1m23s 46s243ms 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 #18
Day Hour Count Duration Avg duration Feb 09 05 1 2s415ms 2s415ms 09 1 2s635ms 2s635ms Feb 10 11 1 25s911ms 25s911ms Feb 11 01 1 28s957ms 28s957ms 08 1 1m13s 1m13s 12 1 1m19s 1m19s 14 2 2m26s 1m13s 16 1 11s937ms 11s937ms 23 1 1m14s 1m14s Feb 12 03 1 46s403ms 46s403ms 13 2 1m59s 59s990ms Feb 14 13 1 35s524ms 35s524ms [ User: pubeu - Total duration: 2m36s - Times executed: 3 ]
-
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 = '1276726')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-02-11 14:59:19 Duration: 1m23s 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 = '1439018')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-02-11 12:46:43 Duration: 1m19s 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 = '1439018')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-02-11 23:22:51 Duration: 1m14s Database: ctdprd51 User: pubeu Bind query: yes
19 10m17s 386 1s228ms 2s99ms 1s598ms 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 #19
Day Hour Count Duration Avg duration Feb 09 00 1 1s876ms 1s876ms 02 1 1s283ms 1s283ms 03 3 4s460ms 1s486ms 04 2 3s721ms 1s860ms 05 3 4s951ms 1s650ms 06 1 1s275ms 1s275ms 07 2 3s751ms 1s875ms 09 1 1s839ms 1s839ms 10 3 5s33ms 1s677ms 11 1 1s263ms 1s263ms 12 3 5s550ms 1s850ms 13 4 5s676ms 1s419ms 14 1 1s280ms 1s280ms 15 3 4s982ms 1s660ms 16 2 3s715ms 1s857ms 17 1 1s857ms 1s857ms 18 2 3s203ms 1s601ms 19 3 5s7ms 1s669ms 20 4 6s874ms 1s718ms 21 4 6s204ms 1s551ms 23 2 3s731ms 1s865ms Feb 10 00 3 5s23ms 1s674ms 01 1 1s849ms 1s849ms 02 3 4s490ms 1s496ms 03 1 1s914ms 1s914ms 05 1 1s299ms 1s299ms 06 1 1s846ms 1s846ms 07 1 1s870ms 1s870ms 08 2 2s559ms 1s279ms 09 1 1s847ms 1s847ms 10 1 1s323ms 1s323ms 11 2 3s197ms 1s598ms 12 1 1s878ms 1s878ms 13 2 3s153ms 1s576ms 14 2 3s164ms 1s582ms 15 2 2s535ms 1s267ms 17 1 1s262ms 1s262ms 18 2 3s138ms 1s569ms 19 1 1s871ms 1s871ms 20 1 1s275ms 1s275ms 21 1 1s270ms 1s270ms 23 3 4s420ms 1s473ms Feb 11 00 3 4s462ms 1s487ms 01 2 3s174ms 1s587ms 02 2 3s149ms 1s574ms 03 4 5s688ms 1s422ms 04 4 6s332ms 1s583ms 05 3 4s994ms 1s664ms 06 6 9s399ms 1s566ms 07 10 15s898ms 1s589ms 08 5 7s68ms 1s413ms 09 3 4s974ms 1s658ms 10 6 8s979ms 1s496ms 11 12 19s486ms 1s623ms 12 6 8s250ms 1s375ms 13 11 17s18ms 1s547ms 14 4 6s854ms 1s713ms 15 4 6s915ms 1s728ms 16 9 15s156ms 1s684ms 17 11 16s383ms 1s489ms 18 7 10s777ms 1s539ms 19 7 10s745ms 1s535ms 20 9 14s539ms 1s615ms 21 10 15s451ms 1s545ms 22 7 11s490ms 1s641ms 23 14 22s134ms 1s581ms Feb 12 00 9 15s215ms 1s690ms 01 14 22s626ms 1s616ms 02 11 18s945ms 1s722ms 03 12 18s843ms 1s570ms 04 14 22s11ms 1s572ms 05 9 14s399ms 1s599ms 06 8 12s645ms 1s580ms 07 9 14s22ms 1s558ms 08 5 9s347ms 1s869ms 09 14 21s397ms 1s528ms 10 10 17s501ms 1s750ms 11 6 9s449ms 1s574ms 12 8 12s542ms 1s567ms 13 6 9s432ms 1s572ms 14 1 1s842ms 1s842ms 15 2 3s105ms 1s552ms 21 1 1s877ms 1s877ms 23 1 1s901ms 1s901ms Feb 13 09 1 1s917ms 1s917ms 15 2 2s578ms 1s289ms 21 1 1s861ms 1s861ms Feb 14 15 1 1s866ms 1s866ms 19 1 1s841ms 1s841ms Feb 15 11 1 1s847ms 1s847ms [ User: pubeu - Total duration: 2m40s - Times executed: 102 ]
-
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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-12 07:24:46 Duration: 2s99ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-11 07:07:35 Duration: 2s64ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-11 23:19:38 Duration: 1s961ms Bind query: yes
20 8m53s 194 1s17ms 6s583ms 2s750ms 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 #20
Day Hour Count Duration Avg duration Feb 09 00 1 1s43ms 1s43ms 01 2 3s119ms 1s559ms 06 1 5s956ms 5s956ms 07 1 2s757ms 2s757ms 08 2 3s 1s500ms 09 1 1s575ms 1s575ms 11 2 3s959ms 1s979ms 15 1 2s788ms 2s788ms 16 1 2s89ms 2s89ms 19 1 2s208ms 2s208ms 21 1 1s699ms 1s699ms 23 2 5s651ms 2s825ms Feb 10 02 2 8s350ms 4s175ms 03 1 1s582ms 1s582ms 05 1 2s760ms 2s760ms 08 1 2s96ms 2s96ms 10 1 5s791ms 5s791ms 11 1 3s375ms 3s375ms 16 1 2s747ms 2s747ms 17 1 1s45ms 1s45ms 19 1 5s832ms 5s832ms 21 2 4s903ms 2s451ms Feb 11 00 1 2s196ms 2s196ms 01 1 1s618ms 1s618ms 04 1 2s263ms 2s263ms 06 1 2s598ms 2s598ms 07 4 7s271ms 1s817ms 08 8 20s545ms 2s568ms 09 4 8s598ms 2s149ms 10 1 1s394ms 1s394ms 11 2 3s424ms 1s712ms 12 4 8s521ms 2s130ms 13 2 3s397ms 1s698ms 14 4 8s524ms 2s131ms 15 2 4s426ms 2s213ms 16 5 9s248ms 1s849ms 17 1 2s106ms 2s106ms 18 3 5s564ms 1s854ms 19 3 3s377ms 1s125ms 20 3 5s863ms 1s954ms 21 6 13s112ms 2s185ms 22 2 8s152ms 4s76ms 23 1 2s235ms 2s235ms Feb 12 00 3 7s648ms 2s549ms 01 7 16s524ms 2s360ms 02 2 7s379ms 3s689ms 03 1 1s661ms 1s661ms 04 2 5s448ms 2s724ms 05 3 9s922ms 3s307ms 06 5 8s947ms 1s789ms 07 2 4s317ms 2s158ms 08 4 10s231ms 2s557ms 09 19 1m7s 3s533ms 10 4 7s354ms 1s838ms 11 2 4s249ms 2s124ms 12 2 4s443ms 2s221ms 13 1 2s141ms 2s141ms 14 1 1s541ms 1s541ms 21 1 5s895ms 5s895ms Feb 13 12 18 1m6s 3s719ms 14 1 2s338ms 2s338ms Feb 14 16 1 5s810ms 5s810ms 18 5 14s964ms 2s992ms 23 2 3s281ms 1s640ms Feb 15 00 17 1m7s 3s942ms 20 1 3s313ms 3s313ms 21 3 6s208ms 2s69ms [ User: pubeu - Total duration: 2m38s - Times executed: 57 ]
-
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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-13 12:38:48 Duration: 6s583ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '156198' 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 = '156198') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-15 00:22:46 Duration: 6s560ms 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 = '654261' 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 = '654261') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-14 18:28:57 Duration: 6s455ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 3,779 1h15m25s 1s85ms 4s573ms 1s197ms 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 Feb 09 00 27 32s281ms 1s195ms 01 22 26s59ms 1s184ms 02 24 28s444ms 1s185ms 03 22 26s682ms 1s212ms 04 39 46s352ms 1s188ms 05 32 37s604ms 1s175ms 06 17 20s287ms 1s193ms 07 22 26s228ms 1s192ms 08 25 29s942ms 1s197ms 09 21 24s872ms 1s184ms 10 30 35s297ms 1s176ms 11 40 47s685ms 1s192ms 12 18 21s310ms 1s183ms 13 20 23s283ms 1s164ms 14 24 28s636ms 1s193ms 15 35 41s66ms 1s173ms 16 14 16s549ms 1s182ms 17 28 33s50ms 1s180ms 18 31 36s524ms 1s178ms 19 18 21s335ms 1s185ms 20 40 47s695ms 1s192ms 21 21 24s637ms 1s173ms 22 35 41s630ms 1s189ms 23 25 29s189ms 1s167ms Feb 10 00 53 1m3s 1s192ms 01 40 47s668ms 1s191ms 02 31 36s417ms 1s174ms 03 27 31s947ms 1s183ms 04 28 33s218ms 1s186ms 05 14 16s892ms 1s206ms 06 15 17s858ms 1s190ms 07 32 37s691ms 1s177ms 08 27 32s46ms 1s186ms 09 27 32s219ms 1s193ms 10 22 26s247ms 1s193ms 11 39 46s20ms 1s180ms 12 24 28s603ms 1s191ms 13 34 40s392ms 1s188ms 14 20 23s409ms 1s170ms 15 17 20s310ms 1s194ms 16 28 33s109ms 1s182ms 17 28 33s208ms 1s186ms 18 13 14s996ms 1s153ms 19 41 47s906ms 1s168ms 20 40 49s88ms 1s227ms 21 22 25s963ms 1s180ms 22 13 15s398ms 1s184ms 23 35 41s298ms 1s179ms Feb 11 00 14 16s647ms 1s189ms 01 28 33s251ms 1s187ms 02 35 41s513ms 1s186ms 03 20 24s59ms 1s202ms 04 40 47s550ms 1s188ms 05 26 30s954ms 1s190ms 06 22 26s498ms 1s204ms 07 21 24s900ms 1s185ms 08 15 18s544ms 1s236ms 09 19 23s161ms 1s219ms 10 27 32s764ms 1s213ms 11 31 37s254ms 1s201ms 12 20 24s63ms 1s203ms 13 31 37s427ms 1s207ms 14 30 35s956ms 1s198ms 15 53 1m4s 1s215ms 16 29 35s542ms 1s225ms 17 33 39s808ms 1s206ms 18 26 31s78ms 1s195ms 19 32 38s728ms 1s210ms 20 25 31s976ms 1s279ms 21 32 38s479ms 1s202ms 22 43 51s741ms 1s203ms 23 22 26s324ms 1s196ms Feb 12 00 14 16s609ms 1s186ms 01 37 44s677ms 1s207ms 02 21 25s195ms 1s199ms 03 21 25s386ms 1s208ms 04 27 32s268ms 1s195ms 05 39 47s661ms 1s222ms 06 20 24s237ms 1s211ms 07 18 22s118ms 1s228ms 08 29 34s342ms 1s184ms 09 51 1m 1s187ms 10 38 45s805ms 1s205ms 11 22 26s981ms 1s226ms 12 33 39s114ms 1s185ms 13 12 14s72ms 1s172ms 14 6 7s148ms 1s191ms 15 3 3s635ms 1s211ms 16 14 17s157ms 1s225ms 17 18 22s70ms 1s226ms 18 23 28s406ms 1s235ms 19 11 12s868ms 1s169ms 20 9 10s775ms 1s197ms 21 26 31s315ms 1s204ms 22 33 39s689ms 1s202ms 23 17 20s956ms 1s232ms Feb 13 00 19 23s189ms 1s220ms 01 7 8s470ms 1s210ms 02 4 4s906ms 1s226ms 03 12 14s231ms 1s185ms 04 49 58s473ms 1s193ms 05 25 29s902ms 1s196ms 06 9 11s118ms 1s235ms 07 39 47s238ms 1s211ms 08 16 19s927ms 1s245ms 09 32 38s247ms 1s195ms 10 4 4s758ms 1s189ms 11 17 20s363ms 1s197ms 12 7 8s411ms 1s201ms 13 15 17s963ms 1s197ms 14 15 17s638ms 1s175ms 15 9 10s451ms 1s161ms 16 20 23s177ms 1s158ms 17 12 13s969ms 1s164ms 18 18 20s544ms 1s141ms 19 22 25s662ms 1s166ms 20 14 16s280ms 1s162ms 21 3 3s458ms 1s152ms 22 21 25s51ms 1s192ms 23 19 22s602ms 1s189ms Feb 14 00 28 33s356ms 1s191ms 01 1 1s146ms 1s146ms 05 4 5s7ms 1s251ms 06 7 8s542ms 1s220ms 07 11 13s287ms 1s207ms 08 1 1s316ms 1s316ms 09 28 33s255ms 1s187ms 10 25 29s85ms 1s163ms 11 15 17s727ms 1s181ms 12 13 15s251ms 1s173ms 13 29 34s114ms 1s176ms 14 61 1m12s 1s182ms 15 13 15s464ms 1s189ms 16 21 24s626ms 1s172ms 17 36 41s426ms 1s150ms 18 43 50s708ms 1s179ms 19 39 44s522ms 1s141ms 20 21 24s9ms 1s143ms 21 19 21s989ms 1s157ms 22 28 34s236ms 1s222ms 23 28 33s395ms 1s192ms Feb 15 00 49 59s92ms 1s205ms 01 16 19s618ms 1s226ms 02 25 29s996ms 1s199ms 03 19 23s606ms 1s242ms 04 44 52s486ms 1s192ms 05 18 21s173ms 1s176ms 06 10 11s918ms 1s191ms 07 23 27s467ms 1s194ms 08 17 20s107ms 1s182ms 09 20 23s583ms 1s179ms 10 11 12s923ms 1s174ms 11 20 23s400ms 1s170ms 12 25 29s582ms 1s183ms 13 11 13s235ms 1s203ms 14 9 10s547ms 1s171ms 15 10 11s942ms 1s194ms 16 20 23s512ms 1s175ms 17 6 6s928ms 1s154ms 19 11 12s724ms 1s156ms 20 10 27s35ms 2s703ms 21 5 10s181ms 2s36ms 22 4 5s157ms 1s289ms 23 1 1s201ms 1s201ms [ User: pubeu - Total duration: 18m21s - Times executed: 917 ]
-
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 = '1566479' or receptorTerm.id = '1566479' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-15 20:37:43 Duration: 4s573ms 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 = '2066925' or receptorTerm.id = '2066925' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-15 20:38:27 Duration: 4s534ms 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 = '1784987' or receptorTerm.id = '1784987' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-15 20:47:00 Duration: 4s395ms Bind query: yes
2 1,468 50m24s 1s25ms 14m26s 2s60ms 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 #2
Day Hour Count Duration Avg duration Feb 09 00 1 1s747ms 1s747ms 01 1 1s572ms 1s572ms 11 1 3s267ms 3s267ms 14 1 1s806ms 1s806ms 15 1 1s607ms 1s607ms 18 1 15s296ms 15s296ms 21 1 1s87ms 1s87ms Feb 10 00 21 23s605ms 1s124ms 01 109 2m7s 1s166ms 02 99 1m47s 1s86ms 03 102 1m50s 1s84ms 04 99 1m47s 1s88ms 05 56 1m 1s85ms Feb 11 01 11 14s7ms 1s273ms 02 1 15s368ms 15s368ms 07 10 12s744ms 1s274ms 10 98 1m49s 1s112ms 11 44 48s430ms 1s100ms 14 1 1s71ms 1s71ms 20 31 1m54s 3s705ms 21 91 2m 1s329ms 22 99 1m48s 1s93ms 23 98 1m45s 1s77ms Feb 12 00 106 2m51s 1s622ms 01 93 1m42s 1s100ms 02 80 1m29s 1s123ms 03 4 6s262ms 1s565ms 04 4 4s382ms 1s95ms 06 44 48s751ms 1s107ms 07 1 1s116ms 1s116ms 10 1 1s111ms 1s111ms 12 1 1s283ms 1s283ms Feb 13 00 2 2s181ms 1s90ms 01 1 7s598ms 7s598ms 06 1 1s66ms 1s66ms 09 41 45s983ms 1s121ms 10 80 1m27s 1s87ms 15 1 1s70ms 1s70ms 19 1 11s825ms 11s825ms 22 1 1s239ms 1s239ms 23 1 5s783ms 5s783ms Feb 14 00 1 1s563ms 1s563ms 01 5 16m16s 3m15s 07 6 3m7s 31s206ms 08 2 32s595ms 16s297ms 23 1 5s582ms 5s582ms Feb 15 08 2 2s817ms 1s408ms 20 1 1s300ms 1s300ms 21 10 12s471ms 1s247ms [ User: pubeu - Total duration: 32m14s - Times executed: 685 ]
-
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 = '2081916') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-14 01:28:13 Duration: 14m26s 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 = '2086895') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-14 07:58:38 Duration: 32s44ms 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 = '2086895') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-14 07:36:23 Duration: 31s918ms Database: ctdprd51 User: pubeu Bind query: yes
3 1,077 55m59s 1s3ms 7s541ms 3s119ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 09 00 2 6s737ms 3s368ms 01 9 28s206ms 3s134ms 02 6 21s779ms 3s629ms 03 4 8s451ms 2s112ms 04 5 17s779ms 3s555ms 05 4 16s44ms 4s11ms 06 8 17s662ms 2s207ms 07 4 8s555ms 2s138ms 08 6 11s946ms 1s991ms 09 4 9s528ms 2s382ms 10 8 31s374ms 3s921ms 11 6 21s876ms 3s646ms 12 7 13s993ms 1s999ms 13 2 9s143ms 4s571ms 14 2 3s264ms 1s632ms 15 2 9s608ms 4s804ms 16 2 8s67ms 4s33ms 17 3 5s954ms 1s984ms 18 1 2s53ms 2s53ms 19 7 18s834ms 2s690ms 20 6 16s971ms 2s828ms 21 9 29s857ms 3s317ms 22 8 26s641ms 3s330ms 23 11 36s110ms 3s282ms Feb 10 00 3 11s73ms 3s691ms 01 8 28s204ms 3s525ms 02 2 8s206ms 4s103ms 03 1 1s262ms 1s262ms 04 7 18s127ms 2s589ms 05 7 23s54ms 3s293ms 06 2 5s49ms 2s524ms 07 1 3s342ms 3s342ms 08 4 17s157ms 4s289ms 09 4 9s744ms 2s436ms 10 7 23s440ms 3s348ms 11 5 11s323ms 2s264ms 12 5 21s148ms 4s229ms 13 4 12s557ms 3s139ms 14 4 12s329ms 3s82ms 15 6 24s460ms 4s76ms 16 3 5s656ms 1s885ms 17 4 11s894ms 2s973ms 18 7 17s960ms 2s565ms 19 7 19s507ms 2s786ms 20 2 5s495ms 2s747ms 21 9 36s264ms 4s29ms 22 4 16s441ms 4s110ms 23 7 27s674ms 3s953ms Feb 11 00 2 8s104ms 4s52ms 01 4 8s242ms 2s60ms 02 5 15s332ms 3s66ms 03 4 10s903ms 2s725ms 04 7 25s502ms 3s643ms 05 6 10s696ms 1s782ms 06 22 59s633ms 2s710ms 07 19 57s504ms 3s26ms 08 18 56s873ms 3s159ms 09 18 42s995ms 2s388ms 10 17 47s904ms 2s817ms 11 18 47s969ms 2s664ms 12 23 1m9s 3s3ms 13 14 43s123ms 3s80ms 14 21 58s767ms 2s798ms 15 19 55s640ms 2s928ms 16 27 1m13s 2s735ms 17 20 1m2s 3s137ms 18 20 1m4s 3s218ms 19 27 1m43s 3s840ms 20 30 1m47s 3s585ms 21 33 1m39s 3s24ms 22 37 1m47s 2s912ms 23 27 1m35s 3s534ms Feb 12 00 35 1m34s 2s702ms 01 31 1m35s 3s87ms 02 19 1m 3s185ms 03 34 2m2s 3s590ms 04 27 1m39s 3s696ms 05 28 1m23s 2s964ms 06 26 1m25s 3s304ms 07 21 1m2s 2s996ms 08 22 1m9s 3s164ms 09 27 1m39s 3s684ms 10 28 1m30s 3s233ms 11 22 1m6s 3s20ms 12 17 37s642ms 2s214ms 13 7 19s676ms 2s810ms 14 5 18s885ms 3s777ms 15 3 9s520ms 3s173ms 16 2 7s405ms 3s702ms 17 1 6s148ms 6s148ms 20 1 3s296ms 3s296ms 22 1 1s923ms 1s923ms Feb 13 08 1 2s126ms 2s126ms 09 3 10s77ms 3s359ms 10 1 2s155ms 2s155ms 17 1 3s1ms 3s1ms 19 2 12s422ms 6s211ms 21 5 14s569ms 2s913ms 22 1 1s896ms 1s896ms Feb 14 08 2 5s662ms 2s831ms 11 2 3s564ms 1s782ms 14 1 6s136ms 6s136ms 15 1 6s286ms 6s286ms 19 5 14s151ms 2s830ms 20 1 6s19ms 6s19ms 21 1 2s89ms 2s89ms Feb 15 03 1 2s14ms 2s14ms 08 1 1s983ms 1s983ms 11 7 17s575ms 2s510ms 13 1 1s332ms 1s332ms 14 1 1s990ms 1s990ms 17 1 1s383ms 1s383ms 20 1 6s847ms 6s847ms 21 2 12s751ms 6s375ms 23 1 2s835ms 2s835ms [ User: pubeu - Total duration: 14m54s - Times executed: 288 ]
-
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 = '1399342'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-15 21:22:17 Duration: 7s541ms 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 = '1399342'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-12 06:21:02 Duration: 7s174ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399342'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-11 20:53:28 Duration: 6s947ms Database: ctdprd51 User: pubeu Bind query: yes
4 894 38m35s 1s 5s337ms 2s589ms 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 #4
Day Hour Count Duration Avg duration Feb 09 01 5 10s251ms 2s50ms 02 6 13s510ms 2s251ms 03 6 18s917ms 3s152ms 04 4 10s668ms 2s667ms 05 3 5s684ms 1s894ms 06 3 11s318ms 3s772ms 07 1 4s334ms 4s334ms 08 4 8s314ms 2s78ms 09 3 7s767ms 2s589ms 10 3 8s8ms 2s669ms 11 4 10s260ms 2s565ms 12 2 5s741ms 2s870ms 13 4 10s414ms 2s603ms 14 3 8s879ms 2s959ms 15 5 19s170ms 3s834ms 16 5 8s391ms 1s678ms 17 4 8s838ms 2s209ms 18 1 4s434ms 4s434ms 19 5 13s36ms 2s607ms 21 11 23s842ms 2s167ms 22 2 3s597ms 1s798ms 23 1 1s182ms 1s182ms Feb 10 00 5 16s947ms 3s389ms 01 3 6s666ms 2s222ms 02 4 6s847ms 1s711ms 03 6 12s536ms 2s89ms 05 6 19s14ms 3s169ms 06 2 7s904ms 3s952ms 07 6 19s29ms 3s171ms 08 2 2s489ms 1s244ms 09 5 12s300ms 2s460ms 10 4 6s581ms 1s645ms 11 6 17s258ms 2s876ms 12 4 15s177ms 3s794ms 13 3 10s292ms 3s430ms 15 4 12s730ms 3s182ms 16 3 6s741ms 2s247ms 17 4 6s261ms 1s565ms 18 3 10s738ms 3s579ms 19 4 11s389ms 2s847ms 20 7 22s480ms 3s211ms 21 4 10s359ms 2s589ms 22 4 6s693ms 1s673ms 23 6 17s871ms 2s978ms Feb 11 00 5 14s589ms 2s917ms 01 7 12s284ms 1s754ms 02 3 5s750ms 1s916ms 03 2 4s70ms 2s35ms 04 9 15s931ms 1s770ms 05 6 12s615ms 2s102ms 06 11 33s217ms 3s19ms 07 15 41s145ms 2s743ms 08 23 56s108ms 2s439ms 09 11 41s127ms 3s738ms 10 15 32s678ms 2s178ms 11 14 31s414ms 2s243ms 12 11 27s478ms 2s498ms 13 12 30s118ms 2s509ms 14 17 44s803ms 2s635ms 15 19 48s515ms 2s553ms 16 16 39s892ms 2s493ms 17 22 56s432ms 2s565ms 18 14 38s606ms 2s757ms 19 31 1m14s 2s392ms 20 28 1m11s 2s556ms 21 31 1m20s 2s582ms 22 22 52s791ms 2s399ms 23 21 46s800ms 2s228ms Feb 12 00 28 1m17s 2s754ms 01 27 1m8s 2s526ms 02 29 1m32s 3s174ms 03 24 52s34ms 2s168ms 04 21 54s617ms 2s600ms 05 21 55s415ms 2s638ms 06 19 56s297ms 2s963ms 07 20 55s152ms 2s757ms 08 21 51s771ms 2s465ms 09 34 1m22s 2s420ms 10 25 1m11s 2s874ms 11 4 15s617ms 3s904ms 12 19 56s721ms 2s985ms 13 9 19s618ms 2s179ms 14 1 4s287ms 4s287ms 19 1 1s175ms 1s175ms 20 1 4s627ms 4s627ms 21 1 2s393ms 2s393ms 22 2 4s194ms 2s97ms Feb 13 03 2 3s671ms 1s835ms 10 1 1s87ms 1s87ms 11 3 13s653ms 4s551ms 13 1 4s633ms 4s633ms 15 1 2s148ms 2s148ms 21 8 18s534ms 2s316ms Feb 14 08 1 1s360ms 1s360ms 09 1 2s42ms 2s42ms 14 1 3s364ms 3s364ms 17 1 1s78ms 1s78ms 19 9 19s608ms 2s178ms 20 1 3s303ms 3s303ms 23 1 3s183ms 3s183ms Feb 15 05 1 1s247ms 1s247ms 11 8 18s745ms 2s343ms 16 1 3s340ms 3s340ms 20 1 1s672ms 1s672ms [ User: pubeu - Total duration: 10m47s - Times executed: 245 ]
-
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 = '1399342') 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 = '1399342') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-02-12 00:09:14 Duration: 5s337ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1399342') 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 = '1399342') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-02-11 21:02:29 Duration: 5s63ms 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 = '1399342') 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 = '1399342') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-02-11 21:07:28 Duration: 4s954ms Database: ctdprd51 User: pubeu Bind query: yes
5 733 15m53s 1s166ms 3s625ms 1s300ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 09 00 10 12s991ms 1s299ms 01 3 3s889ms 1s296ms 02 1 1s283ms 1s283ms 03 3 3s933ms 1s311ms 04 7 9s313ms 1s330ms 05 11 14s394ms 1s308ms 06 2 2s567ms 1s283ms 07 3 3s935ms 1s311ms 08 2 2s606ms 1s303ms 09 8 10s283ms 1s285ms 10 4 5s188ms 1s297ms 11 11 14s150ms 1s286ms 12 3 3s901ms 1s300ms 13 4 5s108ms 1s277ms 14 3 3s731ms 1s243ms 15 7 8s928ms 1s275ms 16 1 1s322ms 1s322ms 17 4 5s40ms 1s260ms 18 2 2s543ms 1s271ms 19 3 3s862ms 1s287ms 20 5 6s369ms 1s273ms 21 1 1s283ms 1s283ms 22 12 15s442ms 1s286ms 23 9 11s519ms 1s279ms Feb 10 00 10 12s838ms 1s283ms 01 10 12s662ms 1s266ms 02 2 2s451ms 1s225ms 03 3 3s647ms 1s215ms 04 5 6s535ms 1s307ms 05 3 4s32ms 1s344ms 06 7 9s180ms 1s311ms 07 1 1s226ms 1s226ms 08 3 3s874ms 1s291ms 09 5 6s351ms 1s270ms 10 4 5s85ms 1s271ms 11 7 9s40ms 1s291ms 12 4 5s314ms 1s328ms 13 2 2s540ms 1s270ms 14 3 3s851ms 1s283ms 16 7 9s90ms 1s298ms 17 3 3s822ms 1s274ms 18 2 2s492ms 1s246ms 19 5 6s243ms 1s248ms 20 6 7s409ms 1s234ms 21 9 11s354ms 1s261ms 22 2 2s541ms 1s270ms 23 3 3s804ms 1s268ms Feb 11 00 2 2s586ms 1s293ms 01 6 7s641ms 1s273ms 02 7 8s998ms 1s285ms 03 4 5s131ms 1s282ms 04 7 9s276ms 1s325ms 05 7 9s225ms 1s317ms 06 3 3s987ms 1s329ms 07 3 3s879ms 1s293ms 08 4 5s286ms 1s321ms 09 4 5s161ms 1s290ms 10 3 3s854ms 1s284ms 11 7 9s593ms 1s370ms 12 4 5s265ms 1s316ms 13 3 3s871ms 1s290ms 14 4 5s279ms 1s319ms 15 7 9s259ms 1s322ms 16 7 9s592ms 1s370ms 17 7 9s229ms 1s318ms 18 5 6s694ms 1s338ms 19 5 6s478ms 1s295ms 20 3 3s856ms 1s285ms 21 10 13s124ms 1s312ms 22 12 15s796ms 1s316ms 23 5 6s398ms 1s279ms Feb 12 00 6 7s836ms 1s306ms 01 2 2s715ms 1s357ms 02 5 6s425ms 1s285ms 03 2 2s623ms 1s311ms 04 2 2s620ms 1s310ms 05 9 12s157ms 1s350ms 06 5 6s599ms 1s319ms 07 2 2s814ms 1s407ms 08 12 15s460ms 1s288ms 09 7 8s975ms 1s282ms 10 6 7s717ms 1s286ms 11 5 6s334ms 1s266ms 12 5 6s421ms 1s284ms 13 3 4s402ms 1s467ms 16 4 5s26ms 1s256ms 17 3 4s74ms 1s358ms 18 6 7s757ms 1s292ms 19 2 2s704ms 1s352ms 20 4 5s15ms 1s253ms 21 4 5s117ms 1s279ms 22 9 11s804ms 1s311ms Feb 13 00 5 6s506ms 1s301ms 01 3 3s868ms 1s289ms 03 3 3s859ms 1s286ms 04 15 19s668ms 1s311ms 05 3 4s59ms 1s353ms 07 9 11s617ms 1s290ms 09 12 15s619ms 1s301ms 10 1 1s232ms 1s232ms 11 4 5s72ms 1s268ms 14 3 3s900ms 1s300ms 15 2 2s470ms 1s235ms 16 2 2s542ms 1s271ms 17 2 2s493ms 1s246ms 18 3 3s709ms 1s236ms 19 3 3s740ms 1s246ms 20 1 1s285ms 1s285ms 21 2 2s354ms 1s177ms 22 4 5s92ms 1s273ms 23 5 6s415ms 1s283ms Feb 14 00 4 5s306ms 1s326ms 01 1 1s354ms 1s354ms 05 3 4s264ms 1s421ms 06 3 3s965ms 1s321ms 07 3 4s13ms 1s337ms 08 2 2s687ms 1s343ms 09 6 7s839ms 1s306ms 10 9 11s40ms 1s226ms 11 1 1s271ms 1s271ms 12 2 2s497ms 1s248ms 13 3 3s884ms 1s294ms 14 11 14s899ms 1s354ms 15 8 10s147ms 1s268ms 16 1 1s272ms 1s272ms 17 6 7s372ms 1s228ms 18 11 13s740ms 1s249ms 19 7 8s765ms 1s252ms 20 3 3s770ms 1s256ms 21 2 2s505ms 1s252ms 22 2 2s511ms 1s255ms 23 8 10s566ms 1s320ms Feb 15 00 8 10s610ms 1s326ms 01 2 2s856ms 1s428ms 02 1 1s343ms 1s343ms 03 5 6s495ms 1s299ms 04 15 19s474ms 1s298ms 05 8 10s692ms 1s336ms 06 1 1s201ms 1s201ms 07 1 1s300ms 1s300ms 08 5 6s620ms 1s324ms 09 4 4s898ms 1s224ms 10 4 5s17ms 1s254ms 11 5 6s343ms 1s268ms 12 7 8s804ms 1s257ms 13 2 2s669ms 1s334ms 14 5 6s421ms 1s284ms 15 8 10s521ms 1s315ms 16 4 5s380ms 1s345ms 17 2 2s444ms 1s222ms 18 1 1s322ms 1s322ms 19 2 2s484ms 1s242ms 20 4 7s609ms 1s902ms 21 1 2s621ms 2s621ms 22 1 1s315ms 1s315ms 23 2 2s612ms 1s306ms [ User: pubeu - Total duration: 3m24s - Times executed: 157 ]
[ User: qaeu - Total duration: 10s49ms - Times executed: 7 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1247044') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1247044') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-15 20:44:11 Duration: 3s625ms 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 = '1225231') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1225231') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-15 21:20:04 Duration: 2s621ms 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 = '1237028') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1237028') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-11 11:11:32 Duration: 1s870ms Bind query: yes
6 567 14m5s 1s451ms 3s108ms 1s491ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Feb 09 01 1 1s471ms 1s471ms 02 1 1s487ms 1s487ms 05 3 4s476ms 1s492ms 07 1 1s490ms 1s490ms 08 2 3s7ms 1s503ms 09 2 2s965ms 1s482ms 10 1 1s509ms 1s509ms 11 2 2s970ms 1s485ms 12 1 1s482ms 1s482ms 15 1 1s481ms 1s481ms 17 2 2s947ms 1s473ms 20 2 2s992ms 1s496ms 22 1 1s484ms 1s484ms 23 2 2s998ms 1s499ms Feb 10 01 1 1s470ms 1s470ms 03 2 3s73ms 1s536ms 04 2 3s 1s500ms 05 2 2s975ms 1s487ms 06 3 4s455ms 1s485ms 08 1 1s514ms 1s514ms 12 1 1s483ms 1s483ms 13 1 1s495ms 1s495ms 14 1 1s508ms 1s508ms 16 1 1s496ms 1s496ms 17 1 1s484ms 1s484ms 19 3 4s447ms 1s482ms 23 1 1s490ms 1s490ms Feb 11 01 2 3s11ms 1s505ms 03 2 2s974ms 1s487ms 04 1 1s515ms 1s515ms 05 5 7s441ms 1s488ms 06 7 10s349ms 1s478ms 07 3 4s447ms 1s482ms 08 3 4s818ms 1s606ms 09 6 9s61ms 1s510ms 10 1 1s465ms 1s465ms 11 4 6s144ms 1s536ms 12 4 5s880ms 1s470ms 13 8 11s953ms 1s494ms 14 7 10s468ms 1s495ms 15 4 6s62ms 1s515ms 16 5 7s438ms 1s487ms 17 3 4s490ms 1s496ms 18 6 8s941ms 1s490ms 19 7 10s419ms 1s488ms 20 6 8s956ms 1s492ms 21 5 7s826ms 1s565ms 22 8 11s953ms 1s494ms 23 2 2s947ms 1s473ms Feb 12 00 10 14s904ms 1s490ms 01 4 5s912ms 1s478ms 02 5 7s331ms 1s466ms 03 10 14s783ms 1s478ms 04 5 7s472ms 1s494ms 05 4 6s64ms 1s516ms 06 5 7s550ms 1s510ms 07 7 10s640ms 1s520ms 08 9 13s321ms 1s480ms 09 6 8s899ms 1s483ms 10 3 4s483ms 1s494ms 11 4 5s918ms 1s479ms 12 3 4s416ms 1s472ms 13 3 4s458ms 1s486ms 15 1 1s510ms 1s510ms 17 2 2s955ms 1s477ms 19 1 1s480ms 1s480ms Feb 13 01 2 2s982ms 1s491ms 05 2 2s953ms 1s476ms 19 1 1s461ms 1s461ms 22 1 1s458ms 1s458ms 23 1 1s498ms 1s498ms Feb 14 00 1 1s479ms 1s479ms 05 11 16s171ms 1s470ms 06 15 22s200ms 1s480ms 07 7 10s445ms 1s492ms 08 16 23s730ms 1s483ms 09 22 32s665ms 1s484ms 10 15 22s334ms 1s488ms 11 20 29s582ms 1s479ms 12 14 20s680ms 1s477ms 13 20 29s867ms 1s493ms 14 14 20s830ms 1s487ms 15 18 26s723ms 1s484ms 16 10 14s866ms 1s486ms 17 8 11s990ms 1s498ms 18 7 10s392ms 1s484ms 19 8 11s886ms 1s485ms 20 8 11s895ms 1s486ms 21 8 11s916ms 1s489ms 22 7 10s466ms 1s495ms 23 8 11s834ms 1s479ms Feb 15 00 8 11s921ms 1s490ms 01 8 11s899ms 1s487ms 02 7 10s399ms 1s485ms 03 8 11s886ms 1s485ms 04 7 10s462ms 1s494ms 05 10 14s808ms 1s480ms 06 8 11s885ms 1s485ms 07 7 10s327ms 1s475ms 08 8 11s781ms 1s472ms 09 9 13s439ms 1s493ms 10 7 10s395ms 1s485ms 11 8 11s887ms 1s485ms 12 2 2s969ms 1s484ms 20 2 4s576ms 2s288ms 22 1 1s487ms 1s487ms [ User: pubeu - Total duration: 3m48s - Times executed: 153 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-02-15 20:40:00 Duration: 3s108ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-02-11 21:01:52 Duration: 1s859ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-02-11 08:26:28 Duration: 1s794ms Database: ctdprd51 User: pubeu Bind query: yes
7 386 10m17s 1s228ms 2s99ms 1s598ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 09 00 1 1s876ms 1s876ms 02 1 1s283ms 1s283ms 03 3 4s460ms 1s486ms 04 2 3s721ms 1s860ms 05 3 4s951ms 1s650ms 06 1 1s275ms 1s275ms 07 2 3s751ms 1s875ms 09 1 1s839ms 1s839ms 10 3 5s33ms 1s677ms 11 1 1s263ms 1s263ms 12 3 5s550ms 1s850ms 13 4 5s676ms 1s419ms 14 1 1s280ms 1s280ms 15 3 4s982ms 1s660ms 16 2 3s715ms 1s857ms 17 1 1s857ms 1s857ms 18 2 3s203ms 1s601ms 19 3 5s7ms 1s669ms 20 4 6s874ms 1s718ms 21 4 6s204ms 1s551ms 23 2 3s731ms 1s865ms Feb 10 00 3 5s23ms 1s674ms 01 1 1s849ms 1s849ms 02 3 4s490ms 1s496ms 03 1 1s914ms 1s914ms 05 1 1s299ms 1s299ms 06 1 1s846ms 1s846ms 07 1 1s870ms 1s870ms 08 2 2s559ms 1s279ms 09 1 1s847ms 1s847ms 10 1 1s323ms 1s323ms 11 2 3s197ms 1s598ms 12 1 1s878ms 1s878ms 13 2 3s153ms 1s576ms 14 2 3s164ms 1s582ms 15 2 2s535ms 1s267ms 17 1 1s262ms 1s262ms 18 2 3s138ms 1s569ms 19 1 1s871ms 1s871ms 20 1 1s275ms 1s275ms 21 1 1s270ms 1s270ms 23 3 4s420ms 1s473ms Feb 11 00 3 4s462ms 1s487ms 01 2 3s174ms 1s587ms 02 2 3s149ms 1s574ms 03 4 5s688ms 1s422ms 04 4 6s332ms 1s583ms 05 3 4s994ms 1s664ms 06 6 9s399ms 1s566ms 07 10 15s898ms 1s589ms 08 5 7s68ms 1s413ms 09 3 4s974ms 1s658ms 10 6 8s979ms 1s496ms 11 12 19s486ms 1s623ms 12 6 8s250ms 1s375ms 13 11 17s18ms 1s547ms 14 4 6s854ms 1s713ms 15 4 6s915ms 1s728ms 16 9 15s156ms 1s684ms 17 11 16s383ms 1s489ms 18 7 10s777ms 1s539ms 19 7 10s745ms 1s535ms 20 9 14s539ms 1s615ms 21 10 15s451ms 1s545ms 22 7 11s490ms 1s641ms 23 14 22s134ms 1s581ms Feb 12 00 9 15s215ms 1s690ms 01 14 22s626ms 1s616ms 02 11 18s945ms 1s722ms 03 12 18s843ms 1s570ms 04 14 22s11ms 1s572ms 05 9 14s399ms 1s599ms 06 8 12s645ms 1s580ms 07 9 14s22ms 1s558ms 08 5 9s347ms 1s869ms 09 14 21s397ms 1s528ms 10 10 17s501ms 1s750ms 11 6 9s449ms 1s574ms 12 8 12s542ms 1s567ms 13 6 9s432ms 1s572ms 14 1 1s842ms 1s842ms 15 2 3s105ms 1s552ms 21 1 1s877ms 1s877ms 23 1 1s901ms 1s901ms Feb 13 09 1 1s917ms 1s917ms 15 2 2s578ms 1s289ms 21 1 1s861ms 1s861ms Feb 14 15 1 1s866ms 1s866ms 19 1 1s841ms 1s841ms Feb 15 11 1 1s847ms 1s847ms [ User: pubeu - Total duration: 2m40s - Times executed: 102 ]
-
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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-12 07:24:46 Duration: 2s99ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-11 07:07:35 Duration: 2s64ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-11 23:19:38 Duration: 1s961ms Bind query: yes
8 368 8m30s 1s273ms 2s28ms 1s388ms select t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, t.acc_txt acc, ? || t.nm accquerystr, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term t where t.object_type_id = ? and regexp_replace(upper(substring(t.nm, ?, ?)), ?, ?) = ? order by t.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 09 01 1 1s402ms 1s402ms 05 2 2s825ms 1s412ms 07 1 1s377ms 1s377ms 09 1 1s392ms 1s392ms 23 1 1s371ms 1s371ms Feb 10 01 2 2s911ms 1s455ms 05 2 2s828ms 1s414ms 09 3 4s180ms 1s393ms 13 2 2s772ms 1s386ms 16 1 1s452ms 1s452ms 17 1 1s380ms 1s380ms 18 1 1s373ms 1s373ms Feb 11 04 1 1s409ms 1s409ms 05 2 2s768ms 1s384ms 06 1 1s389ms 1s389ms 08 18 26s702ms 1s483ms 11 1 1s422ms 1s422ms 12 1 1s389ms 1s389ms 13 1 1s425ms 1s425ms 14 2 2s929ms 1s464ms 19 1 1s459ms 1s459ms Feb 12 03 3 4s53ms 1s351ms 05 2 2s624ms 1s312ms 13 1 1s312ms 1s312ms 22 2 2s737ms 1s368ms Feb 13 03 6 8s235ms 1s372ms 05 2 2s915ms 1s457ms 08 2 2s824ms 1s412ms 11 2 2s717ms 1s358ms 13 2 2s552ms 1s276ms 14 1 1s294ms 1s294ms 20 2 2s918ms 1s459ms Feb 14 00 3 4s81ms 1s360ms 05 5 6s878ms 1s375ms 06 6 8s91ms 1s348ms 07 9 12s130ms 1s347ms 08 6 7s965ms 1s327ms 09 16 22s527ms 1s407ms 10 11 15s123ms 1s374ms 11 14 19s108ms 1s364ms 12 14 19s119ms 1s365ms 13 15 20s796ms 1s386ms 14 11 15s50ms 1s368ms 15 14 19s142ms 1s367ms 16 11 15s529ms 1s411ms 17 7 9s802ms 1s400ms 18 8 11s330ms 1s416ms 19 9 12s711ms 1s412ms 20 9 12s235ms 1s359ms 21 7 10s39ms 1s434ms 22 8 11s42ms 1s380ms 23 7 9s367ms 1s338ms Feb 15 00 8 11s193ms 1s399ms 01 7 9s587ms 1s369ms 02 9 12s503ms 1s389ms 03 9 12s421ms 1s380ms 04 11 15s446ms 1s404ms 05 10 13s723ms 1s372ms 06 7 9s489ms 1s355ms 07 8 11s139ms 1s392ms 08 8 11s99ms 1s387ms 09 8 11s48ms 1s381ms 10 8 11s16ms 1s377ms 11 11 15s28ms 1s366ms 12 2 2s647ms 1s323ms 21 1 2s28ms 2s28ms [ User: pubeu - Total duration: 2m22s - Times executed: 102 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-02-15 21:07:05 Duration: 2s28ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-02-11 08:26:28 Duration: 1s732ms 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]', '#') = 'S' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-02-11 08:26:32 Duration: 1s583ms Bind query: yes
9 280 6m13s 1s167ms 2s293ms 1s334ms 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 #9
Day Hour Count Duration Avg duration Feb 09 00 4 5s187ms 1s296ms 01 2 2s616ms 1s308ms 02 2 2s597ms 1s298ms 05 3 4s173ms 1s391ms 06 1 1s393ms 1s393ms 07 1 1s216ms 1s216ms 11 2 2s733ms 1s366ms 12 1 1s278ms 1s278ms 13 3 3s961ms 1s320ms 14 2 2s537ms 1s268ms 15 2 2s803ms 1s401ms 16 1 1s283ms 1s283ms 17 3 3s845ms 1s281ms 18 2 2s564ms 1s282ms 19 1 1s249ms 1s249ms 21 2 2s629ms 1s314ms 22 4 5s382ms 1s345ms 23 1 1s357ms 1s357ms Feb 10 00 4 5s282ms 1s320ms 01 6 8s16ms 1s336ms 03 1 1s348ms 1s348ms 05 3 4s59ms 1s353ms 06 1 1s272ms 1s272ms 08 1 1s254ms 1s254ms 09 2 2s656ms 1s328ms 11 2 2s651ms 1s325ms 12 2 2s656ms 1s328ms 13 2 2s683ms 1s341ms 14 2 2s492ms 1s246ms 15 1 1s394ms 1s394ms 16 2 2s710ms 1s355ms 17 1 1s308ms 1s308ms 18 4 5s96ms 1s274ms 19 2 2s556ms 1s278ms 20 2 2s604ms 1s302ms 21 3 3s776ms 1s258ms 23 3 3s962ms 1s320ms Feb 11 00 1 1s321ms 1s321ms 01 3 3s960ms 1s320ms 03 1 1s287ms 1s287ms 05 3 4s86ms 1s362ms 06 4 5s276ms 1s319ms 07 1 1s211ms 1s211ms 08 1 1s279ms 1s279ms 09 5 6s744ms 1s348ms 10 6 7s964ms 1s327ms 12 1 1s307ms 1s307ms 13 4 5s539ms 1s384ms 14 5 6s789ms 1s357ms 15 2 2s713ms 1s356ms 17 3 3s941ms 1s313ms 19 2 2s683ms 1s341ms 20 2 2s746ms 1s373ms 21 1 1s308ms 1s308ms 22 3 3s727ms 1s242ms 23 1 1s472ms 1s472ms Feb 12 00 3 4s60ms 1s353ms 02 3 4s214ms 1s404ms 03 3 4s613ms 1s537ms 05 4 5s616ms 1s404ms 06 2 2s749ms 1s374ms 07 1 1s466ms 1s466ms 08 3 4s13ms 1s337ms 09 2 2s659ms 1s329ms 10 4 5s450ms 1s362ms 11 2 2s865ms 1s432ms 15 1 1s427ms 1s427ms 16 1 1s508ms 1s508ms 17 1 1s306ms 1s306ms 18 1 1s348ms 1s348ms 19 1 1s275ms 1s275ms 20 1 1s256ms 1s256ms 21 2 2s728ms 1s364ms 22 4 5s353ms 1s338ms 23 3 4s31ms 1s343ms Feb 13 01 2 2s553ms 1s276ms 04 4 5s274ms 1s318ms 05 4 5s459ms 1s364ms 09 5 7s206ms 1s441ms 12 3 3s928ms 1s309ms 14 4 5s301ms 1s325ms 16 3 3s784ms 1s261ms 17 1 1s273ms 1s273ms 18 2 2s577ms 1s288ms 19 2 2s548ms 1s274ms 20 1 1s295ms 1s295ms 22 4 5s256ms 1s314ms Feb 14 00 3 4s93ms 1s364ms 05 2 2s831ms 1s415ms 07 1 1s548ms 1s548ms 08 1 1s479ms 1s479ms 09 2 2s632ms 1s316ms 10 5 6s339ms 1s267ms 11 2 2s565ms 1s282ms 14 2 2s470ms 1s235ms 15 1 1s262ms 1s262ms 16 4 5s69ms 1s267ms 17 1 1s302ms 1s302ms 18 1 1s167ms 1s167ms 21 3 3s771ms 1s257ms 22 3 4s76ms 1s358ms 23 1 1s419ms 1s419ms Feb 15 00 2 2s607ms 1s303ms 02 2 2s640ms 1s320ms 03 3 3s905ms 1s301ms 05 5 6s845ms 1s369ms 06 2 2s744ms 1s372ms 07 3 3s799ms 1s266ms 08 1 1s213ms 1s213ms 09 3 3s908ms 1s302ms 10 3 3s923ms 1s307ms 11 5 6s425ms 1s285ms 13 4 5s279ms 1s319ms 14 3 3s961ms 1s320ms 15 1 1s664ms 1s664ms 17 2 2s606ms 1s303ms 19 1 1s316ms 1s316ms 21 1 2s293ms 2s293ms [ User: pubeu - Total duration: 1m46s - Times executed: 80 ]
-
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 = '2093364') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2093364') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-15 21:20:53 Duration: 2s293ms 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 = '2084903') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084903') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-13 09:08:03 Duration: 1s972ms 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 = '2084903') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084903') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2025-02-12 03:42:29 Duration: 1s934ms Database: ctdprd51 User: pubeu Bind query: yes
10 272 14m12s 1s28ms 11s783ms 3s134ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 09 01 7 16s669ms 2s381ms 02 3 6s492ms 2s164ms 03 4 12s408ms 3s102ms 04 2 3s994ms 1s997ms 05 2 2s360ms 1s180ms 07 2 3s620ms 1s810ms 08 2 9s565ms 4s782ms 09 4 11s772ms 2s943ms 11 2 8s535ms 4s267ms 12 1 2s416ms 2s416ms 13 2 4s321ms 2s160ms 14 1 5s222ms 5s222ms 15 3 4s910ms 1s636ms 17 1 2s415ms 2s415ms 18 2 7s483ms 3s741ms 19 2 3s968ms 1s984ms 22 1 6s379ms 6s379ms Feb 10 00 1 1s107ms 1s107ms 01 3 6s370ms 2s123ms 02 2 7s680ms 3s840ms 03 1 2s405ms 2s405ms 05 3 4s662ms 1s554ms 06 1 2s392ms 2s392ms 07 4 14s851ms 3s712ms 08 1 2s739ms 2s739ms 09 1 2s437ms 2s437ms 10 2 2s361ms 1s180ms 11 3 14s662ms 4s887ms 12 1 5s105ms 5s105ms 16 1 2s424ms 2s424ms 17 2 5s462ms 2s731ms 19 1 2s909ms 2s909ms 20 3 7s408ms 2s469ms 21 2 10s707ms 5s353ms 23 2 7s684ms 3s842ms Feb 11 00 1 1s114ms 1s114ms 01 6 19s540ms 3s256ms 03 4 14s320ms 3s580ms 04 2 4s837ms 2s418ms 05 1 1s169ms 1s169ms 06 4 7s429ms 1s857ms 07 5 15s234ms 3s46ms 08 2 11s533ms 5s766ms 09 1 5s171ms 5s171ms 10 4 6s799ms 1s699ms 11 3 7s719ms 2s573ms 12 1 2s687ms 2s687ms 13 1 1s448ms 1s448ms 15 3 10s161ms 3s387ms 16 1 3s116ms 3s116ms 17 3 12s371ms 4s123ms 18 1 1s412ms 1s412ms 19 4 24s177ms 6s44ms 20 9 36s223ms 4s24ms 21 2 13s403ms 6s701ms 23 6 20s406ms 3s401ms Feb 12 00 4 16s828ms 4s207ms 01 10 26s989ms 2s698ms 02 6 21s971ms 3s661ms 03 6 12s754ms 2s125ms 04 4 15s33ms 3s758ms 05 3 19s770ms 6s590ms 06 4 7s69ms 1s767ms 08 5 23s41ms 4s608ms 09 5 17s35ms 3s407ms 10 2 3s736ms 1s868ms 11 2 9s392ms 4s696ms 12 2 4s92ms 2s46ms 13 1 2s382ms 2s382ms 16 1 2s750ms 2s750ms 19 2 5s158ms 2s579ms 20 2 4s795ms 2s397ms 23 1 1s325ms 1s325ms Feb 13 00 2 3s237ms 1s618ms 01 4 10s158ms 2s539ms 03 2 4s755ms 2s377ms 05 3 5s793ms 1s931ms 08 1 5s166ms 5s166ms 09 1 2s394ms 2s394ms 11 2 7s630ms 3s815ms 13 1 4s641ms 4s641ms 16 2 2s946ms 1s473ms 17 1 3s78ms 3s78ms 18 2 3s479ms 1s739ms 19 1 11s543ms 11s543ms 21 1 2s647ms 2s647ms 23 1 1s82ms 1s82ms Feb 14 00 2 5s908ms 2s954ms 01 3 9s842ms 3s280ms 05 2 5s898ms 2s949ms 07 2 5s761ms 2s880ms 08 7 18s655ms 2s665ms 09 1 1s174ms 1s174ms 17 3 15s491ms 5s163ms 18 1 2s154ms 2s154ms 22 3 5s380ms 1s793ms 23 3 11s878ms 3s959ms Feb 15 00 3 8s733ms 2s911ms 01 3 11s489ms 3s829ms 02 1 2s606ms 2s606ms 03 1 2s535ms 2s535ms 04 1 5s978ms 5s978ms 05 1 6s508ms 6s508ms 07 1 2s503ms 2s503ms 08 3 11s530ms 3s843ms 09 3 5s813ms 1s937ms 11 1 1s90ms 1s90ms 15 1 4s947ms 4s947ms 16 1 4s900ms 4s900ms 20 2 2s869ms 1s434ms [ User: pubeu - Total duration: 4m5s - Times executed: 76 ]
-
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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-11 21:58:03 Duration: 11s783ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-13 19:22:19 Duration: 11s543ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-11 19:24:08 Duration: 11s501ms Database: ctdprd51 User: pubeu Bind query: yes
11 244 16m57s 3s859ms 10s260ms 4s168ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 09 01 2 9s840ms 4s920ms 02 1 4s46ms 4s46ms 08 3 11s996ms 3s998ms 11 2 7s945ms 3s972ms 13 2 8s156ms 4s78ms 14 2 7s942ms 3s971ms 15 3 11s918ms 3s972ms 19 2 7s940ms 3s970ms 20 3 12s270ms 4s90ms 21 1 4s66ms 4s66ms 22 1 4s92ms 4s92ms 23 1 4s255ms 4s255ms Feb 10 01 2 7s983ms 3s991ms 02 4 16s529ms 4s132ms 03 6 24s421ms 4s70ms 05 1 4s313ms 4s313ms 06 2 7s999ms 3s999ms 09 6 24s986ms 4s164ms 10 4 16s318ms 4s79ms 11 1 4s127ms 4s127ms 12 1 3s965ms 3s965ms 18 2 7s923ms 3s961ms 19 2 8s45ms 4s22ms 21 2 9s243ms 4s621ms 22 5 19s931ms 3s986ms Feb 11 00 3 11s897ms 3s965ms 01 4 16s211ms 4s52ms 02 6 23s996ms 3s999ms 03 4 16s257ms 4s64ms 04 3 12s376ms 4s125ms 05 5 19s938ms 3s987ms 06 10 41s624ms 4s162ms 07 4 16s558ms 4s139ms 08 5 22s37ms 4s407ms 09 1 4s155ms 4s155ms 10 2 8s34ms 4s17ms 11 2 8s456ms 4s228ms 13 1 3s929ms 3s929ms 14 1 4s107ms 4s107ms 15 1 3s922ms 3s922ms 18 1 4s49ms 4s49ms 19 2 8s175ms 4s87ms 22 3 16s341ms 5s447ms 23 1 4s24ms 4s24ms Feb 12 00 2 8s178ms 4s89ms 03 5 20s706ms 4s141ms 05 2 8s221ms 4s110ms 07 1 4s215ms 4s215ms 09 4 15s938ms 3s984ms 11 5 20s600ms 4s120ms 12 3 12s208ms 4s69ms 13 7 37s142ms 5s306ms 14 4 16s205ms 4s51ms 15 2 8s99ms 4s49ms 17 1 4s455ms 4s455ms 18 1 3s966ms 3s966ms 19 1 4s74ms 4s74ms 20 3 12s407ms 4s135ms 21 3 12s149ms 4s49ms Feb 13 00 3 12s123ms 4s41ms 01 3 11s904ms 3s968ms 02 3 12s1ms 4s 03 3 12s128ms 4s42ms 05 2 7s996ms 3s998ms 07 1 4s196ms 4s196ms 08 1 4s175ms 4s175ms 09 5 20s49ms 4s9ms 13 1 3s941ms 3s941ms 14 3 12s267ms 4s89ms 16 5 19s851ms 3s970ms 17 2 7s764ms 3s882ms 18 2 8s236ms 4s118ms 19 3 12s575ms 4s191ms 20 3 12s29ms 4s9ms 21 3 11s794ms 3s931ms Feb 14 00 1 4s201ms 4s201ms 01 1 4s114ms 4s114ms 06 1 3s963ms 3s963ms 09 2 7s805ms 3s902ms 10 1 3s921ms 3s921ms 12 2 8s44ms 4s22ms 13 1 3s953ms 3s953ms 14 1 4s265ms 4s265ms 19 2 8s488ms 4s244ms 20 1 5s758ms 5s758ms 21 1 4s36ms 4s36ms 23 1 3s976ms 3s976ms Feb 15 02 1 3s974ms 3s974ms 06 2 7s974ms 3s987ms 07 1 3s961ms 3s961ms 08 1 3s896ms 3s896ms 09 1 3s971ms 3s971ms 12 2 8s482ms 4s241ms 13 1 4s45ms 4s45ms 14 1 4s82ms 4s82ms 15 8 33s846ms 4s230ms 16 1 4s35ms 4s35ms 19 1 4s64ms 4s64ms 21 1 10s260ms 10s260ms 23 1 4s31ms 4s31ms [ User: pubeu - Total duration: 6m29s - Times executed: 95 ]
-
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 = '1344549') 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 = '1344549') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-02-15 21:17:18 Duration: 10s260ms 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 = '1327690') 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 = '1327690') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-02-12 13:41:40 Duration: 7s356ms 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 = '1267391') 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 = '1267391') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-02-11 22:53:37 Duration: 6s398ms Bind query: yes
12 194 8m53s 1s17ms 6s583ms 2s750ms 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 #12
Day Hour Count Duration Avg duration Feb 09 00 1 1s43ms 1s43ms 01 2 3s119ms 1s559ms 06 1 5s956ms 5s956ms 07 1 2s757ms 2s757ms 08 2 3s 1s500ms 09 1 1s575ms 1s575ms 11 2 3s959ms 1s979ms 15 1 2s788ms 2s788ms 16 1 2s89ms 2s89ms 19 1 2s208ms 2s208ms 21 1 1s699ms 1s699ms 23 2 5s651ms 2s825ms Feb 10 02 2 8s350ms 4s175ms 03 1 1s582ms 1s582ms 05 1 2s760ms 2s760ms 08 1 2s96ms 2s96ms 10 1 5s791ms 5s791ms 11 1 3s375ms 3s375ms 16 1 2s747ms 2s747ms 17 1 1s45ms 1s45ms 19 1 5s832ms 5s832ms 21 2 4s903ms 2s451ms Feb 11 00 1 2s196ms 2s196ms 01 1 1s618ms 1s618ms 04 1 2s263ms 2s263ms 06 1 2s598ms 2s598ms 07 4 7s271ms 1s817ms 08 8 20s545ms 2s568ms 09 4 8s598ms 2s149ms 10 1 1s394ms 1s394ms 11 2 3s424ms 1s712ms 12 4 8s521ms 2s130ms 13 2 3s397ms 1s698ms 14 4 8s524ms 2s131ms 15 2 4s426ms 2s213ms 16 5 9s248ms 1s849ms 17 1 2s106ms 2s106ms 18 3 5s564ms 1s854ms 19 3 3s377ms 1s125ms 20 3 5s863ms 1s954ms 21 6 13s112ms 2s185ms 22 2 8s152ms 4s76ms 23 1 2s235ms 2s235ms Feb 12 00 3 7s648ms 2s549ms 01 7 16s524ms 2s360ms 02 2 7s379ms 3s689ms 03 1 1s661ms 1s661ms 04 2 5s448ms 2s724ms 05 3 9s922ms 3s307ms 06 5 8s947ms 1s789ms 07 2 4s317ms 2s158ms 08 4 10s231ms 2s557ms 09 19 1m7s 3s533ms 10 4 7s354ms 1s838ms 11 2 4s249ms 2s124ms 12 2 4s443ms 2s221ms 13 1 2s141ms 2s141ms 14 1 1s541ms 1s541ms 21 1 5s895ms 5s895ms Feb 13 12 18 1m6s 3s719ms 14 1 2s338ms 2s338ms Feb 14 16 1 5s810ms 5s810ms 18 5 14s964ms 2s992ms 23 2 3s281ms 1s640ms Feb 15 00 17 1m7s 3s942ms 20 1 3s313ms 3s313ms 21 3 6s208ms 2s69ms [ User: pubeu - Total duration: 2m38s - Times executed: 57 ]
-
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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-13 12:38:48 Duration: 6s583ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '156198' 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 = '156198') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-15 00:22:46 Duration: 6s560ms 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 = '654261' 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 = '654261') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-14 18:28:57 Duration: 6s455ms Bind query: yes
13 180 12m55s 1s 6s270ms 4s307ms 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 #13
Day Hour Count Duration Avg duration Feb 09 01 1 5s293ms 5s293ms 02 1 4s924ms 4s924ms 03 2 10s496ms 5s248ms 04 1 1s28ms 1s28ms 08 1 4s840ms 4s840ms 12 2 5s897ms 2s948ms 13 1 4s839ms 4s839ms 15 1 5s286ms 5s286ms 16 1 4s778ms 4s778ms 17 1 4s942ms 4s942ms 20 1 1s22ms 1s22ms 21 5 21s655ms 4s331ms 22 2 7s271ms 3s635ms 23 2 6s12ms 3s6ms Feb 10 00 1 5s812ms 5s812ms 01 1 5s526ms 5s526ms 03 1 1s33ms 1s33ms 04 2 10s265ms 5s132ms 05 1 1s126ms 1s126ms 07 1 5s314ms 5s314ms 08 1 5s210ms 5s210ms 09 1 5s19ms 5s19ms 10 1 4s824ms 4s824ms 11 2 6s171ms 3s85ms 12 2 6s192ms 3s96ms 17 1 4s819ms 4s819ms 19 1 5s134ms 5s134ms 21 2 6s76ms 3s38ms 23 1 4s727ms 4s727ms Feb 11 00 1 5s404ms 5s404ms 02 1 4s930ms 4s930ms 03 2 2s53ms 1s26ms 04 6 27s386ms 4s564ms 07 3 11s431ms 3s810ms 08 9 39s174ms 4s352ms 10 1 1s69ms 1s69ms 11 1 5s280ms 5s280ms 14 1 6s5ms 6s5ms 15 1 5s471ms 5s471ms 18 1 5s104ms 5s104ms 19 3 15s600ms 5s200ms 20 4 21s156ms 5s289ms 21 3 15s824ms 5s274ms 22 5 22s164ms 4s432ms 23 2 10s862ms 5s431ms Feb 12 00 2 7s298ms 3s649ms 01 2 5s826ms 2s913ms 03 3 15s470ms 5s156ms 04 2 6s604ms 3s302ms 05 2 10s37ms 5s18ms 06 4 15s911ms 3s977ms 07 2 6s390ms 3s195ms 08 3 15s188ms 5s62ms 10 4 11s880ms 2s970ms 11 3 15s643ms 5s214ms 12 1 5s140ms 5s140ms 18 3 14s683ms 4s894ms 20 1 5s235ms 5s235ms 23 2 6s49ms 3s24ms Feb 13 02 3 10s598ms 3s532ms 05 2 10s93ms 5s46ms 07 1 5s52ms 5s52ms 10 1 4s915ms 4s915ms 12 1 1s11ms 1s11ms 13 1 4s912ms 4s912ms 14 1 5s260ms 5s260ms 16 1 4s673ms 4s673ms 19 4 21s361ms 5s340ms 20 1 4s553ms 4s553ms 21 5 20s120ms 4s24ms Feb 14 00 1 4s686ms 4s686ms 07 1 4s618ms 4s618ms 10 1 1s35ms 1s35ms 12 1 5s85ms 5s85ms 14 2 9s350ms 4s675ms 16 1 4s724ms 4s724ms 17 1 1s 1s 18 3 15s848ms 5s282ms 19 5 20s971ms 4s194ms 20 1 4s597ms 4s597ms 21 1 5s350ms 5s350ms 22 2 10s203ms 5s101ms Feb 15 01 1 4s597ms 4s597ms 02 1 4s595ms 4s595ms 05 2 9s325ms 4s662ms 06 1 4s697ms 4s697ms 07 2 9s352ms 4s676ms 08 2 9s896ms 4s948ms 11 6 20s937ms 3s489ms 12 1 5s737ms 5s737ms 13 1 4s608ms 4s608ms 14 1 4s655ms 4s655ms 15 1 4s987ms 4s987ms 20 1 6s72ms 6s72ms [ User: pubeu - Total duration: 3m22s - Times executed: 47 ]
-
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 = '1300043' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-09 22:10:57 Duration: 6s270ms 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 = '1428598' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-12 00:16:55 Duration: 6s124ms 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 = '1418261' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-15 20:52:56 Duration: 6s72ms Bind query: yes
14 164 19m18s 1s5ms 47s504ms 7s65ms 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 #14
Day Hour Count Duration Avg duration Feb 09 04 3 49s60ms 16s353ms 05 1 2s264ms 2s264ms 08 1 21s698ms 21s698ms 11 2 5s496ms 2s748ms 12 1 22s367ms 22s367ms 13 1 10s952ms 10s952ms 15 3 6s299ms 2s99ms 16 2 24s317ms 12s158ms 17 1 1s436ms 1s436ms 18 1 1s352ms 1s352ms 19 1 20s811ms 20s811ms 20 1 1s66ms 1s66ms 23 1 3s110ms 3s110ms Feb 10 00 1 3s271ms 3s271ms 01 3 12s277ms 4s92ms 03 1 19s360ms 19s360ms 06 1 21s491ms 21s491ms 09 1 1s750ms 1s750ms 10 1 5s272ms 5s272ms 11 1 18s159ms 18s159ms 15 1 1s949ms 1s949ms 17 4 10s199ms 2s549ms 18 1 1s110ms 1s110ms 19 2 19s967ms 9s983ms 21 1 7s450ms 7s450ms 22 1 3s728ms 3s728ms 23 4 29s68ms 7s267ms Feb 11 01 1 1s28ms 1s28ms 02 2 3s129ms 1s564ms 05 1 22s787ms 22s787ms 06 6 1m17s 12s899ms 07 3 44s966ms 14s988ms 08 2 12s175ms 6s87ms 09 3 6s887ms 2s295ms 10 3 22s369ms 7s456ms 11 1 1s34ms 1s34ms 12 3 24s987ms 8s329ms 13 6 27s230ms 4s538ms 14 1 1s93ms 1s93ms 15 3 25s158ms 8s386ms 16 1 3s859ms 3s859ms 17 3 7s566ms 2s522ms 18 2 5s102ms 2s551ms 19 9 1m12s 8s48ms 20 2 24s432ms 12s216ms 21 3 6s297ms 2s99ms 22 5 37s438ms 7s487ms 23 2 48s610ms 24s305ms Feb 12 00 4 11s311ms 2s827ms 01 7 37s605ms 5s372ms 02 2 4s759ms 2s379ms 03 7 33s702ms 4s814ms 04 4 28s491ms 7s122ms 05 1 11s180ms 11s180ms 07 5 16s481ms 3s296ms 08 5 47s698ms 9s539ms 09 3 12s435ms 4s145ms 10 3 21s522ms 7s174ms 11 1 7s714ms 7s714ms 12 3 7s416ms 2s472ms 13 2 12s318ms 6s159ms 14 1 21s16ms 21s16ms 18 2 48s71ms 24s35ms 22 1 1s785ms 1s785ms Feb 13 07 1 1s586ms 1s586ms 10 1 3s262ms 3s262ms 13 1 21s302ms 21s302ms 14 1 1s147ms 1s147ms 17 1 1s933ms 1s933ms 18 1 1s128ms 1s128ms Feb 14 16 1 1s133ms 1s133ms Feb 15 03 1 1s337ms 1s337ms 14 1 1s134ms 1s134ms [ User: pubeu - Total duration: 4m4s - Times executed: 40 ]
-
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 = '1232454') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-11 23:45:42 Duration: 47s504ms 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 = '1232454') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-12 18:30:19 Duration: 47s5ms 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 = '1232454') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-09 04:12:07 Duration: 46s166ms Bind query: yes
15 125 2h16m42s 1s447ms 11m36s 1m5s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 09 01 1 2m59s 2m59s 04 1 2s423ms 2s423ms 05 2 3s661ms 1s830ms 08 1 1s552ms 1s552ms 12 1 3s261ms 3s261ms 13 1 1s477ms 1s477ms 14 1 3s235ms 3s235ms 17 1 3s243ms 3s243ms 18 1 3s264ms 3s264ms 20 2 11m38s 5m49s 21 1 1s818ms 1s818ms 23 1 2m7s 2m7s Feb 10 00 1 1s447ms 1s447ms 02 1 1s573ms 1s573ms 05 1 1s651ms 1s651ms 08 2 3s86ms 1s543ms 12 1 1s541ms 1s541ms 15 1 1s495ms 1s495ms 16 1 3s221ms 3s221ms 17 1 4m57s 4m57s 22 2 3s804ms 1s902ms 23 1 4m24s 4m24s Feb 11 02 2 3s563ms 1s781ms 03 1 1s670ms 1s670ms 05 2 3s166ms 1s583ms 06 2 7m39s 3m49s 07 1 1s951ms 1s951ms 08 2 3m18s 1m39s 09 3 4m11s 1m23s 10 1 1s618ms 1s618ms 11 3 7s920ms 2s640ms 12 2 4m26s 2m13s 13 2 4s710ms 2s355ms 14 4 5m26s 1m21s 15 4 3m1s 45s276ms 16 1 3s243ms 3s243ms 17 4 5m59s 1m29s 18 1 1s566ms 1s566ms 19 1 1s770ms 1s770ms 20 3 7s118ms 2s372ms 21 6 8m2s 1m20s 22 5 4m55s 59s181ms 23 3 3m57s 1m19s Feb 12 00 3 6m46s 2m15s 01 1 4m8s 4m8s 02 3 3m33s 1m11s 03 2 7m49s 3m54s 04 4 11m12s 2m48s 05 1 4m38s 4m38s 06 5 8m23s 1m40s 07 3 5s340ms 1s780ms 08 7 3m45s 32s158ms 09 1 1s921ms 1s921ms 10 3 4s852ms 1s617ms 11 2 5s108ms 2s554ms 13 1 2m30s 2m30s 14 1 1s980ms 1s980ms 21 1 3s257ms 3s257ms Feb 13 05 1 1s658ms 1s658ms Feb 14 08 1 1s617ms 1s617ms 22 1 4m51s 4m51s 23 1 3s278ms 3s278ms Feb 15 06 1 3s245ms 3s245ms 08 1 1s692ms 1s692ms 10 1 1s582ms 1s582ms 23 1 2s91ms 2s91ms [ User: pubeu - Total duration: 36m35s - Times executed: 31 ]
-
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 = '1244848') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-09 20:28:06 Duration: 11m36s 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 = '1236028') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-12 04:26:25 Duration: 5m44s 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 = '1261072') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-12 00:23:24 Duration: 5m31s Bind query: yes
16 101 13m3s 1s39ms 22s145ms 7s760ms 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 #16
Day Hour Count Duration Avg duration Feb 09 02 3 31s582ms 10s527ms 03 1 1s281ms 1s281ms 04 2 18s898ms 9s449ms 06 1 16s165ms 16s165ms 08 1 2s928ms 2s928ms 11 1 3s943ms 3s943ms 12 1 16s404ms 16s404ms 14 1 16s79ms 16s79ms 17 1 15s945ms 15s945ms 19 1 1s152ms 1s152ms 20 1 1s70ms 1s70ms 23 1 15s990ms 15s990ms Feb 10 00 1 10s826ms 10s826ms 04 1 1s335ms 1s335ms 05 1 11s131ms 11s131ms 06 1 5s773ms 5s773ms 17 1 16s299ms 16s299ms 20 2 17s10ms 8s505ms 22 1 11s12ms 11s12ms Feb 11 01 1 4s8ms 4s8ms 02 2 4s603ms 2s301ms 07 3 22s295ms 7s431ms 08 3 13s100ms 4s366ms 10 2 12s284ms 6s142ms 13 4 36s248ms 9s62ms 14 3 33s923ms 11s307ms 15 2 16s921ms 8s460ms 19 2 15s171ms 7s585ms 20 2 13s253ms 6s626ms 21 2 17s487ms 8s743ms 22 4 33s603ms 8s400ms 23 1 5s702ms 5s702ms Feb 12 00 2 20s169ms 10s84ms 01 3 19s175ms 6s391ms 02 4 26s 6s500ms 03 2 3s585ms 1s792ms 05 5 29s691ms 5s938ms 06 3 23s139ms 7s713ms 07 4 15s502ms 3s875ms 08 2 8s630ms 4s315ms 09 2 12s427ms 6s213ms 10 5 36s92ms 7s218ms 11 2 27s645ms 13s822ms 12 1 1s70ms 1s70ms 13 2 17s396ms 8s698ms Feb 13 00 1 1s83ms 1s83ms 04 1 1s89ms 1s89ms 19 1 17s896ms 17s896ms Feb 14 21 1 4s431ms 4s431ms 23 3 31s132ms 10s377ms Feb 15 04 1 1s39ms 1s39ms 21 2 43s210ms 21s605ms [ User: pubeu - Total duration: 3m1s - Times executed: 24 ]
-
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 = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-15 21:56:02 Duration: 22s145ms 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 = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-15 21:57:32 Duration: 21s64ms 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 = '1232454'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-13 19:22:37 Duration: 17s896ms Bind query: yes
17 92 3m45s 1s13ms 3s989ms 2s454ms 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 #17
Day Hour Count Duration Avg duration Feb 09 02 1 2s510ms 2s510ms 05 4 8s880ms 2s220ms 08 1 1s931ms 1s931ms 16 1 1s866ms 1s866ms Feb 10 01 1 2s943ms 2s943ms 05 4 8s921ms 2s230ms 06 1 1s919ms 1s919ms 16 2 4s561ms 2s280ms 20 2 5s193ms 2s596ms 21 1 1s863ms 1s863ms 22 1 3s344ms 3s344ms Feb 11 01 1 1s919ms 1s919ms 05 4 9s9ms 2s252ms 07 2 4s571ms 2s285ms 08 1 1s958ms 1s958ms 09 4 13s591ms 3s397ms 10 2 4s386ms 2s193ms 13 2 4s573ms 2s286ms 14 6 13s768ms 2s294ms 16 1 1s984ms 1s984ms 17 1 1s936ms 1s936ms 19 1 3s308ms 3s308ms 20 2 5s687ms 2s843ms 21 1 1s974ms 1s974ms 22 1 2s378ms 2s378ms Feb 12 00 2 6s581ms 3s290ms 01 2 5s490ms 2s745ms 03 2 4s722ms 2s361ms 04 1 2s72ms 2s72ms 05 5 12s169ms 2s433ms 06 1 3s267ms 3s267ms 09 3 6s315ms 2s105ms 10 1 3s222ms 3s222ms 12 1 2s17ms 2s17ms 13 2 5s372ms 2s686ms 14 1 3s296ms 3s296ms Feb 13 05 4 8s880ms 2s220ms 08 1 1s933ms 1s933ms 10 1 1s921ms 1s921ms 12 1 3s821ms 3s821ms Feb 14 05 4 9s35ms 2s258ms 07 2 4s582ms 2s291ms 08 2 4s532ms 2s266ms 15 1 3s408ms 3s408ms 18 1 3s321ms 3s321ms Feb 15 00 1 3s989ms 3s989ms 05 4 8s918ms 2s229ms 11 1 1s925ms 1s925ms [ User: pubeu - Total duration: 1m37s - Times executed: 32 ]
[ User: qaeu - Total duration: 23s959ms - 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 = '655185' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-02-15 00:22:48 Duration: 3s989ms 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 = '655185' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-02-13 12:38:46 Duration: 3s821ms 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 = '594557' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-02-11 14:47:48 Duration: 3s562ms Database: ctdprd51 User: pubeu Bind query: yes
18 64 3m9s 1s1ms 12s799ms 2s966ms 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 #18
Day Hour Count Duration Avg duration Feb 09 00 1 2s127ms 2s127ms 01 3 5s276ms 1s758ms 04 1 2s195ms 2s195ms 09 1 2s637ms 2s637ms 15 1 2s643ms 2s643ms 16 1 7s23ms 7s23ms 17 2 4s431ms 2s215ms 22 1 2s308ms 2s308ms Feb 10 00 1 2s199ms 2s199ms 08 1 1s993ms 1s993ms 10 1 2s211ms 2s211ms 17 1 1s381ms 1s381ms 18 1 5s115ms 5s115ms 21 1 2s195ms 2s195ms Feb 11 01 1 2s611ms 2s611ms 02 3 9s576ms 3s192ms 04 1 2s211ms 2s211ms 07 1 2s205ms 2s205ms 12 2 4s434ms 2s217ms 18 1 1s587ms 1s587ms 19 2 3s901ms 1s950ms 20 1 1s452ms 1s452ms Feb 12 02 1 1s1ms 1s1ms 04 1 3s160ms 3s160ms 05 1 2s230ms 2s230ms 07 1 1s458ms 1s458ms 09 1 1s400ms 1s400ms 18 2 3s987ms 1s993ms 19 1 2s161ms 2s161ms Feb 13 03 1 2s165ms 2s165ms 05 2 4s121ms 2s60ms 07 1 1s392ms 1s392ms 14 1 2s379ms 2s379ms 18 1 2s372ms 2s372ms 19 6 1m 10s76ms 22 1 2s204ms 2s204ms 23 1 1s801ms 1s801ms Feb 14 09 1 1s572ms 1s572ms 10 1 1s418ms 1s418ms 14 1 2s456ms 2s456ms 16 1 2s236ms 2s236ms 18 1 1s616ms 1s616ms Feb 15 01 1 1s286ms 1s286ms 04 2 4s390ms 2s195ms 08 1 1s387ms 1s387ms 12 1 1s383ms 1s383ms 14 2 4s39ms 2s19ms 21 1 4s41ms 4s41ms [ User: pubeu - Total duration: 1m22s - Times executed: 23 ]
-
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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2025-02-13 19:23:10 Duration: 12s799ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 100;
Date: 2025-02-13 19:23:04 Duration: 12s52ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2025-02-13 19:22:59 Duration: 11s758ms Bind query: yes
19 48 1m17s 1s2ms 2s558ms 1s607ms 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 #19
Day Hour Count Duration Avg duration Feb 09 01 1 1s95ms 1s95ms 06 1 1s18ms 1s18ms 15 1 1s512ms 1s512ms 19 1 1s406ms 1s406ms Feb 10 05 1 1s414ms 1s414ms 23 1 1s206ms 1s206ms Feb 11 01 1 1s592ms 1s592ms 14 2 4s757ms 2s378ms 15 4 7s721ms 1s930ms 16 2 3s560ms 1s780ms 17 1 1s14ms 1s14ms 18 1 1s156ms 1s156ms 19 1 2s449ms 2s449ms 21 2 2s40ms 1s20ms 22 1 1s80ms 1s80ms 23 1 1s240ms 1s240ms Feb 12 00 1 1s722ms 1s722ms 01 2 3s893ms 1s946ms 02 1 1s9ms 1s9ms 03 1 1s619ms 1s619ms 06 1 1s523ms 1s523ms 07 1 2s253ms 2s253ms 09 1 2s368ms 2s368ms 10 2 2s841ms 1s420ms 12 1 2s370ms 2s370ms 17 1 1s679ms 1s679ms 21 1 2s383ms 2s383ms Feb 13 02 1 1s471ms 1s471ms 05 1 1s619ms 1s619ms 07 1 2s353ms 2s353ms 17 1 1s114ms 1s114ms 18 1 1s618ms 1s618ms 21 1 1s55ms 1s55ms Feb 14 08 2 3s110ms 1s555ms 12 1 1s618ms 1s618ms 21 1 1s47ms 1s47ms Feb 15 03 1 1s592ms 1s592ms 06 1 1s473ms 1s473ms 11 1 1s141ms 1s141ms [ User: pubeu - Total duration: 29s40ms - Times executed: 18 ]
-
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 = '2081644') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-11 15:24:54 Duration: 2s558ms 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 = '2081644') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-11 14:36:48 Duration: 2s493ms 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 = '2081644') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-12 01:51:23 Duration: 2s476ms Bind query: yes
20 45 2m40s 1s51ms 4s665ms 3s574ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 15 20 38 2m16s 3s586ms 21 7 24s565ms 3s509ms [ User: pubeu - Total duration: 1m19s - Times executed: 20 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2090693');
Date: 2025-02-15 20:50:23 Duration: 4s665ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2090693');
Date: 2025-02-15 20:49:51 Duration: 4s560ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2090693');
Date: 2025-02-15 20:49:49 Duration: 4s464ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 42m40s 2h48m32s 2h50s 5 10h4m10s 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 = ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 15 21 1 42m40s 42m40s 22 2 3h44m35s 1h52m17s 23 2 5h36m53s 2h48m26s [ User: pubeu - Total duration: 8h11m47s - Times executed: 4 ]
-
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 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-15 23:25:39 Duration: 2h48m32s 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' 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 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-15 23:29:53 Duration: 2h48m21s 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' 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 'COGNITION DISORDERS' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-15 22:13:56 Duration: 1h52m22s Bind query: yes
2 23m55s 24m49s 24m25s 7 2h50m55s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 09 00 1 23m55s 23m55s Feb 10 00 1 24m15s 24m15s Feb 11 00 1 24m46s 24m46s Feb 12 00 1 24m28s 24m28s Feb 13 00 1 24m14s 24m14s Feb 14 00 1 24m49s 24m49s Feb 15 00 1 24m26s 24m26s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-02-14 00:24:50 Duration: 24m49s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-02-11 00:24:47 Duration: 24m46s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2025-02-12 00:24:29 Duration: 24m28s
3 24m19s 24m19s 24m19s 1 24m19s 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 Feb 15 19 1 24m19s 24m19s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-02-15 19:01:23 Duration: 24m19s
4 24m11s 24m11s 24m11s 1 24m11s 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 #4
Day Hour Count Duration Avg duration Feb 15 19 1 24m11s 24m11s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2025-02-15 19:44:08 Duration: 24m11s
5 1s447ms 11m36s 1m5s 125 2h16m42s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 09 01 1 2m59s 2m59s 04 1 2s423ms 2s423ms 05 2 3s661ms 1s830ms 08 1 1s552ms 1s552ms 12 1 3s261ms 3s261ms 13 1 1s477ms 1s477ms 14 1 3s235ms 3s235ms 17 1 3s243ms 3s243ms 18 1 3s264ms 3s264ms 20 2 11m38s 5m49s 21 1 1s818ms 1s818ms 23 1 2m7s 2m7s Feb 10 00 1 1s447ms 1s447ms 02 1 1s573ms 1s573ms 05 1 1s651ms 1s651ms 08 2 3s86ms 1s543ms 12 1 1s541ms 1s541ms 15 1 1s495ms 1s495ms 16 1 3s221ms 3s221ms 17 1 4m57s 4m57s 22 2 3s804ms 1s902ms 23 1 4m24s 4m24s Feb 11 02 2 3s563ms 1s781ms 03 1 1s670ms 1s670ms 05 2 3s166ms 1s583ms 06 2 7m39s 3m49s 07 1 1s951ms 1s951ms 08 2 3m18s 1m39s 09 3 4m11s 1m23s 10 1 1s618ms 1s618ms 11 3 7s920ms 2s640ms 12 2 4m26s 2m13s 13 2 4s710ms 2s355ms 14 4 5m26s 1m21s 15 4 3m1s 45s276ms 16 1 3s243ms 3s243ms 17 4 5m59s 1m29s 18 1 1s566ms 1s566ms 19 1 1s770ms 1s770ms 20 3 7s118ms 2s372ms 21 6 8m2s 1m20s 22 5 4m55s 59s181ms 23 3 3m57s 1m19s Feb 12 00 3 6m46s 2m15s 01 1 4m8s 4m8s 02 3 3m33s 1m11s 03 2 7m49s 3m54s 04 4 11m12s 2m48s 05 1 4m38s 4m38s 06 5 8m23s 1m40s 07 3 5s340ms 1s780ms 08 7 3m45s 32s158ms 09 1 1s921ms 1s921ms 10 3 4s852ms 1s617ms 11 2 5s108ms 2s554ms 13 1 2m30s 2m30s 14 1 1s980ms 1s980ms 21 1 3s257ms 3s257ms Feb 13 05 1 1s658ms 1s658ms Feb 14 08 1 1s617ms 1s617ms 22 1 4m51s 4m51s 23 1 3s278ms 3s278ms Feb 15 06 1 3s245ms 3s245ms 08 1 1s692ms 1s692ms 10 1 1s582ms 1s582ms 23 1 2s91ms 2s91ms [ User: pubeu - Total duration: 36m35s - Times executed: 31 ]
-
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 = '1244848') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-09 20:28:06 Duration: 11m36s 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 = '1236028') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-12 04:26:25 Duration: 5m44s 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 = '1261072') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-12 00:23:24 Duration: 5m31s Bind query: yes
6 48s208ms 49s301ms 48s883ms 25 20m22s 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 #6
Day Hour Count Duration Avg duration Feb 09 06 1 48s379ms 48s379ms 10 1 48s265ms 48s265ms 14 1 48s392ms 48s392ms 18 1 48s208ms 48s208ms Feb 10 06 1 48s333ms 48s333ms 10 1 48s648ms 48s648ms 14 1 48s626ms 48s626ms 18 1 48s405ms 48s405ms Feb 11 06 1 49s50ms 49s50ms 10 1 49s53ms 49s53ms 14 1 49s232ms 49s232ms 18 1 49s165ms 49s165ms Feb 12 06 1 49s301ms 49s301ms 10 1 49s31ms 49s31ms 14 1 49s96ms 49s96ms 18 1 48s845ms 48s845ms Feb 13 06 1 49s190ms 49s190ms 10 1 49s231ms 49s231ms 14 1 48s988ms 48s988ms 18 1 48s868ms 48s868ms Feb 14 06 1 49s200ms 49s200ms 10 1 49s121ms 49s121ms 14 1 49s245ms 49s245ms 18 1 49s141ms 49s141ms Feb 15 19 1 49s61ms 49s61ms [ User: postgres - Total duration: 19m33s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 19m33s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-02-12 06:05:51 Duration: 49s301ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-02-14 14:05:51 Duration: 49s245ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2025-02-11 14:05:51 Duration: 49s232ms Database: ctdprd51 User: postgres Application: pg_dump
7 2s415ms 1m23s 46s243ms 14 10m47s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 09 05 1 2s415ms 2s415ms 09 1 2s635ms 2s635ms Feb 10 11 1 25s911ms 25s911ms Feb 11 01 1 28s957ms 28s957ms 08 1 1m13s 1m13s 12 1 1m19s 1m19s 14 2 2m26s 1m13s 16 1 11s937ms 11s937ms 23 1 1m14s 1m14s Feb 12 03 1 46s403ms 46s403ms 13 2 1m59s 59s990ms Feb 14 13 1 35s524ms 35s524ms [ User: pubeu - Total duration: 2m36s - Times executed: 3 ]
-
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 = '1276726')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-02-11 14:59:19 Duration: 1m23s 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 = '1439018')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-02-11 12:46:43 Duration: 1m19s 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 = '1439018')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-02-11 23:22:51 Duration: 1m14s Database: ctdprd51 User: pubeu Bind query: yes
8 1s39ms 22s145ms 7s760ms 101 13m3s 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 #8
Day Hour Count Duration Avg duration Feb 09 02 3 31s582ms 10s527ms 03 1 1s281ms 1s281ms 04 2 18s898ms 9s449ms 06 1 16s165ms 16s165ms 08 1 2s928ms 2s928ms 11 1 3s943ms 3s943ms 12 1 16s404ms 16s404ms 14 1 16s79ms 16s79ms 17 1 15s945ms 15s945ms 19 1 1s152ms 1s152ms 20 1 1s70ms 1s70ms 23 1 15s990ms 15s990ms Feb 10 00 1 10s826ms 10s826ms 04 1 1s335ms 1s335ms 05 1 11s131ms 11s131ms 06 1 5s773ms 5s773ms 17 1 16s299ms 16s299ms 20 2 17s10ms 8s505ms 22 1 11s12ms 11s12ms Feb 11 01 1 4s8ms 4s8ms 02 2 4s603ms 2s301ms 07 3 22s295ms 7s431ms 08 3 13s100ms 4s366ms 10 2 12s284ms 6s142ms 13 4 36s248ms 9s62ms 14 3 33s923ms 11s307ms 15 2 16s921ms 8s460ms 19 2 15s171ms 7s585ms 20 2 13s253ms 6s626ms 21 2 17s487ms 8s743ms 22 4 33s603ms 8s400ms 23 1 5s702ms 5s702ms Feb 12 00 2 20s169ms 10s84ms 01 3 19s175ms 6s391ms 02 4 26s 6s500ms 03 2 3s585ms 1s792ms 05 5 29s691ms 5s938ms 06 3 23s139ms 7s713ms 07 4 15s502ms 3s875ms 08 2 8s630ms 4s315ms 09 2 12s427ms 6s213ms 10 5 36s92ms 7s218ms 11 2 27s645ms 13s822ms 12 1 1s70ms 1s70ms 13 2 17s396ms 8s698ms Feb 13 00 1 1s83ms 1s83ms 04 1 1s89ms 1s89ms 19 1 17s896ms 17s896ms Feb 14 21 1 4s431ms 4s431ms 23 3 31s132ms 10s377ms Feb 15 04 1 1s39ms 1s39ms 21 2 43s210ms 21s605ms [ User: pubeu - Total duration: 3m1s - Times executed: 24 ]
-
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 = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-15 21:56:02 Duration: 22s145ms 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 = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-15 21:57:32 Duration: 21s64ms 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 = '1232454'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-13 19:22:37 Duration: 17s896ms Bind query: yes
9 1s5ms 47s504ms 7s65ms 164 19m18s 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 #9
Day Hour Count Duration Avg duration Feb 09 04 3 49s60ms 16s353ms 05 1 2s264ms 2s264ms 08 1 21s698ms 21s698ms 11 2 5s496ms 2s748ms 12 1 22s367ms 22s367ms 13 1 10s952ms 10s952ms 15 3 6s299ms 2s99ms 16 2 24s317ms 12s158ms 17 1 1s436ms 1s436ms 18 1 1s352ms 1s352ms 19 1 20s811ms 20s811ms 20 1 1s66ms 1s66ms 23 1 3s110ms 3s110ms Feb 10 00 1 3s271ms 3s271ms 01 3 12s277ms 4s92ms 03 1 19s360ms 19s360ms 06 1 21s491ms 21s491ms 09 1 1s750ms 1s750ms 10 1 5s272ms 5s272ms 11 1 18s159ms 18s159ms 15 1 1s949ms 1s949ms 17 4 10s199ms 2s549ms 18 1 1s110ms 1s110ms 19 2 19s967ms 9s983ms 21 1 7s450ms 7s450ms 22 1 3s728ms 3s728ms 23 4 29s68ms 7s267ms Feb 11 01 1 1s28ms 1s28ms 02 2 3s129ms 1s564ms 05 1 22s787ms 22s787ms 06 6 1m17s 12s899ms 07 3 44s966ms 14s988ms 08 2 12s175ms 6s87ms 09 3 6s887ms 2s295ms 10 3 22s369ms 7s456ms 11 1 1s34ms 1s34ms 12 3 24s987ms 8s329ms 13 6 27s230ms 4s538ms 14 1 1s93ms 1s93ms 15 3 25s158ms 8s386ms 16 1 3s859ms 3s859ms 17 3 7s566ms 2s522ms 18 2 5s102ms 2s551ms 19 9 1m12s 8s48ms 20 2 24s432ms 12s216ms 21 3 6s297ms 2s99ms 22 5 37s438ms 7s487ms 23 2 48s610ms 24s305ms Feb 12 00 4 11s311ms 2s827ms 01 7 37s605ms 5s372ms 02 2 4s759ms 2s379ms 03 7 33s702ms 4s814ms 04 4 28s491ms 7s122ms 05 1 11s180ms 11s180ms 07 5 16s481ms 3s296ms 08 5 47s698ms 9s539ms 09 3 12s435ms 4s145ms 10 3 21s522ms 7s174ms 11 1 7s714ms 7s714ms 12 3 7s416ms 2s472ms 13 2 12s318ms 6s159ms 14 1 21s16ms 21s16ms 18 2 48s71ms 24s35ms 22 1 1s785ms 1s785ms Feb 13 07 1 1s586ms 1s586ms 10 1 3s262ms 3s262ms 13 1 21s302ms 21s302ms 14 1 1s147ms 1s147ms 17 1 1s933ms 1s933ms 18 1 1s128ms 1s128ms Feb 14 16 1 1s133ms 1s133ms Feb 15 03 1 1s337ms 1s337ms 14 1 1s134ms 1s134ms [ User: pubeu - Total duration: 4m4s - Times executed: 40 ]
-
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 = '1232454') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-11 23:45:42 Duration: 47s504ms 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 = '1232454') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-12 18:30:19 Duration: 47s5ms 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 = '1232454') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-09 04:12:07 Duration: 46s166ms Bind query: yes
10 1s 6s270ms 4s307ms 180 12m55s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 09 01 1 5s293ms 5s293ms 02 1 4s924ms 4s924ms 03 2 10s496ms 5s248ms 04 1 1s28ms 1s28ms 08 1 4s840ms 4s840ms 12 2 5s897ms 2s948ms 13 1 4s839ms 4s839ms 15 1 5s286ms 5s286ms 16 1 4s778ms 4s778ms 17 1 4s942ms 4s942ms 20 1 1s22ms 1s22ms 21 5 21s655ms 4s331ms 22 2 7s271ms 3s635ms 23 2 6s12ms 3s6ms Feb 10 00 1 5s812ms 5s812ms 01 1 5s526ms 5s526ms 03 1 1s33ms 1s33ms 04 2 10s265ms 5s132ms 05 1 1s126ms 1s126ms 07 1 5s314ms 5s314ms 08 1 5s210ms 5s210ms 09 1 5s19ms 5s19ms 10 1 4s824ms 4s824ms 11 2 6s171ms 3s85ms 12 2 6s192ms 3s96ms 17 1 4s819ms 4s819ms 19 1 5s134ms 5s134ms 21 2 6s76ms 3s38ms 23 1 4s727ms 4s727ms Feb 11 00 1 5s404ms 5s404ms 02 1 4s930ms 4s930ms 03 2 2s53ms 1s26ms 04 6 27s386ms 4s564ms 07 3 11s431ms 3s810ms 08 9 39s174ms 4s352ms 10 1 1s69ms 1s69ms 11 1 5s280ms 5s280ms 14 1 6s5ms 6s5ms 15 1 5s471ms 5s471ms 18 1 5s104ms 5s104ms 19 3 15s600ms 5s200ms 20 4 21s156ms 5s289ms 21 3 15s824ms 5s274ms 22 5 22s164ms 4s432ms 23 2 10s862ms 5s431ms Feb 12 00 2 7s298ms 3s649ms 01 2 5s826ms 2s913ms 03 3 15s470ms 5s156ms 04 2 6s604ms 3s302ms 05 2 10s37ms 5s18ms 06 4 15s911ms 3s977ms 07 2 6s390ms 3s195ms 08 3 15s188ms 5s62ms 10 4 11s880ms 2s970ms 11 3 15s643ms 5s214ms 12 1 5s140ms 5s140ms 18 3 14s683ms 4s894ms 20 1 5s235ms 5s235ms 23 2 6s49ms 3s24ms Feb 13 02 3 10s598ms 3s532ms 05 2 10s93ms 5s46ms 07 1 5s52ms 5s52ms 10 1 4s915ms 4s915ms 12 1 1s11ms 1s11ms 13 1 4s912ms 4s912ms 14 1 5s260ms 5s260ms 16 1 4s673ms 4s673ms 19 4 21s361ms 5s340ms 20 1 4s553ms 4s553ms 21 5 20s120ms 4s24ms Feb 14 00 1 4s686ms 4s686ms 07 1 4s618ms 4s618ms 10 1 1s35ms 1s35ms 12 1 5s85ms 5s85ms 14 2 9s350ms 4s675ms 16 1 4s724ms 4s724ms 17 1 1s 1s 18 3 15s848ms 5s282ms 19 5 20s971ms 4s194ms 20 1 4s597ms 4s597ms 21 1 5s350ms 5s350ms 22 2 10s203ms 5s101ms Feb 15 01 1 4s597ms 4s597ms 02 1 4s595ms 4s595ms 05 2 9s325ms 4s662ms 06 1 4s697ms 4s697ms 07 2 9s352ms 4s676ms 08 2 9s896ms 4s948ms 11 6 20s937ms 3s489ms 12 1 5s737ms 5s737ms 13 1 4s608ms 4s608ms 14 1 4s655ms 4s655ms 15 1 4s987ms 4s987ms 20 1 6s72ms 6s72ms [ User: pubeu - Total duration: 3m22s - Times executed: 47 ]
-
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 = '1300043' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-09 22:10:57 Duration: 6s270ms 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 = '1428598' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-12 00:16:55 Duration: 6s124ms 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 = '1418261' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-15 20:52:56 Duration: 6s72ms Bind query: yes
11 3s859ms 10s260ms 4s168ms 244 16m57s select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Feb 09 01 2 9s840ms 4s920ms 02 1 4s46ms 4s46ms 08 3 11s996ms 3s998ms 11 2 7s945ms 3s972ms 13 2 8s156ms 4s78ms 14 2 7s942ms 3s971ms 15 3 11s918ms 3s972ms 19 2 7s940ms 3s970ms 20 3 12s270ms 4s90ms 21 1 4s66ms 4s66ms 22 1 4s92ms 4s92ms 23 1 4s255ms 4s255ms Feb 10 01 2 7s983ms 3s991ms 02 4 16s529ms 4s132ms 03 6 24s421ms 4s70ms 05 1 4s313ms 4s313ms 06 2 7s999ms 3s999ms 09 6 24s986ms 4s164ms 10 4 16s318ms 4s79ms 11 1 4s127ms 4s127ms 12 1 3s965ms 3s965ms 18 2 7s923ms 3s961ms 19 2 8s45ms 4s22ms 21 2 9s243ms 4s621ms 22 5 19s931ms 3s986ms Feb 11 00 3 11s897ms 3s965ms 01 4 16s211ms 4s52ms 02 6 23s996ms 3s999ms 03 4 16s257ms 4s64ms 04 3 12s376ms 4s125ms 05 5 19s938ms 3s987ms 06 10 41s624ms 4s162ms 07 4 16s558ms 4s139ms 08 5 22s37ms 4s407ms 09 1 4s155ms 4s155ms 10 2 8s34ms 4s17ms 11 2 8s456ms 4s228ms 13 1 3s929ms 3s929ms 14 1 4s107ms 4s107ms 15 1 3s922ms 3s922ms 18 1 4s49ms 4s49ms 19 2 8s175ms 4s87ms 22 3 16s341ms 5s447ms 23 1 4s24ms 4s24ms Feb 12 00 2 8s178ms 4s89ms 03 5 20s706ms 4s141ms 05 2 8s221ms 4s110ms 07 1 4s215ms 4s215ms 09 4 15s938ms 3s984ms 11 5 20s600ms 4s120ms 12 3 12s208ms 4s69ms 13 7 37s142ms 5s306ms 14 4 16s205ms 4s51ms 15 2 8s99ms 4s49ms 17 1 4s455ms 4s455ms 18 1 3s966ms 3s966ms 19 1 4s74ms 4s74ms 20 3 12s407ms 4s135ms 21 3 12s149ms 4s49ms Feb 13 00 3 12s123ms 4s41ms 01 3 11s904ms 3s968ms 02 3 12s1ms 4s 03 3 12s128ms 4s42ms 05 2 7s996ms 3s998ms 07 1 4s196ms 4s196ms 08 1 4s175ms 4s175ms 09 5 20s49ms 4s9ms 13 1 3s941ms 3s941ms 14 3 12s267ms 4s89ms 16 5 19s851ms 3s970ms 17 2 7s764ms 3s882ms 18 2 8s236ms 4s118ms 19 3 12s575ms 4s191ms 20 3 12s29ms 4s9ms 21 3 11s794ms 3s931ms Feb 14 00 1 4s201ms 4s201ms 01 1 4s114ms 4s114ms 06 1 3s963ms 3s963ms 09 2 7s805ms 3s902ms 10 1 3s921ms 3s921ms 12 2 8s44ms 4s22ms 13 1 3s953ms 3s953ms 14 1 4s265ms 4s265ms 19 2 8s488ms 4s244ms 20 1 5s758ms 5s758ms 21 1 4s36ms 4s36ms 23 1 3s976ms 3s976ms Feb 15 02 1 3s974ms 3s974ms 06 2 7s974ms 3s987ms 07 1 3s961ms 3s961ms 08 1 3s896ms 3s896ms 09 1 3s971ms 3s971ms 12 2 8s482ms 4s241ms 13 1 4s45ms 4s45ms 14 1 4s82ms 4s82ms 15 8 33s846ms 4s230ms 16 1 4s35ms 4s35ms 19 1 4s64ms 4s64ms 21 1 10s260ms 10s260ms 23 1 4s31ms 4s31ms [ User: pubeu - Total duration: 6m29s - Times executed: 95 ]
-
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 = '1344549') 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 = '1344549') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-02-15 21:17:18 Duration: 10s260ms 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 = '1327690') 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 = '1327690') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-02-12 13:41:40 Duration: 7s356ms 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 = '1267391') 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 = '1267391') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-02-11 22:53:37 Duration: 6s398ms Bind query: yes
12 1s51ms 4s665ms 3s574ms 45 2m40s select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Feb 15 20 38 2m16s 3s586ms 21 7 24s565ms 3s509ms [ User: pubeu - Total duration: 1m19s - Times executed: 20 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2090693');
Date: 2025-02-15 20:50:23 Duration: 4s665ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2090693');
Date: 2025-02-15 20:49:51 Duration: 4s560ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2090693');
Date: 2025-02-15 20:49:49 Duration: 4s464ms Database: ctdprd51 User: pubeu Bind query: yes
13 1s28ms 11s783ms 3s134ms 272 14m12s 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 Feb 09 01 7 16s669ms 2s381ms 02 3 6s492ms 2s164ms 03 4 12s408ms 3s102ms 04 2 3s994ms 1s997ms 05 2 2s360ms 1s180ms 07 2 3s620ms 1s810ms 08 2 9s565ms 4s782ms 09 4 11s772ms 2s943ms 11 2 8s535ms 4s267ms 12 1 2s416ms 2s416ms 13 2 4s321ms 2s160ms 14 1 5s222ms 5s222ms 15 3 4s910ms 1s636ms 17 1 2s415ms 2s415ms 18 2 7s483ms 3s741ms 19 2 3s968ms 1s984ms 22 1 6s379ms 6s379ms Feb 10 00 1 1s107ms 1s107ms 01 3 6s370ms 2s123ms 02 2 7s680ms 3s840ms 03 1 2s405ms 2s405ms 05 3 4s662ms 1s554ms 06 1 2s392ms 2s392ms 07 4 14s851ms 3s712ms 08 1 2s739ms 2s739ms 09 1 2s437ms 2s437ms 10 2 2s361ms 1s180ms 11 3 14s662ms 4s887ms 12 1 5s105ms 5s105ms 16 1 2s424ms 2s424ms 17 2 5s462ms 2s731ms 19 1 2s909ms 2s909ms 20 3 7s408ms 2s469ms 21 2 10s707ms 5s353ms 23 2 7s684ms 3s842ms Feb 11 00 1 1s114ms 1s114ms 01 6 19s540ms 3s256ms 03 4 14s320ms 3s580ms 04 2 4s837ms 2s418ms 05 1 1s169ms 1s169ms 06 4 7s429ms 1s857ms 07 5 15s234ms 3s46ms 08 2 11s533ms 5s766ms 09 1 5s171ms 5s171ms 10 4 6s799ms 1s699ms 11 3 7s719ms 2s573ms 12 1 2s687ms 2s687ms 13 1 1s448ms 1s448ms 15 3 10s161ms 3s387ms 16 1 3s116ms 3s116ms 17 3 12s371ms 4s123ms 18 1 1s412ms 1s412ms 19 4 24s177ms 6s44ms 20 9 36s223ms 4s24ms 21 2 13s403ms 6s701ms 23 6 20s406ms 3s401ms Feb 12 00 4 16s828ms 4s207ms 01 10 26s989ms 2s698ms 02 6 21s971ms 3s661ms 03 6 12s754ms 2s125ms 04 4 15s33ms 3s758ms 05 3 19s770ms 6s590ms 06 4 7s69ms 1s767ms 08 5 23s41ms 4s608ms 09 5 17s35ms 3s407ms 10 2 3s736ms 1s868ms 11 2 9s392ms 4s696ms 12 2 4s92ms 2s46ms 13 1 2s382ms 2s382ms 16 1 2s750ms 2s750ms 19 2 5s158ms 2s579ms 20 2 4s795ms 2s397ms 23 1 1s325ms 1s325ms Feb 13 00 2 3s237ms 1s618ms 01 4 10s158ms 2s539ms 03 2 4s755ms 2s377ms 05 3 5s793ms 1s931ms 08 1 5s166ms 5s166ms 09 1 2s394ms 2s394ms 11 2 7s630ms 3s815ms 13 1 4s641ms 4s641ms 16 2 2s946ms 1s473ms 17 1 3s78ms 3s78ms 18 2 3s479ms 1s739ms 19 1 11s543ms 11s543ms 21 1 2s647ms 2s647ms 23 1 1s82ms 1s82ms Feb 14 00 2 5s908ms 2s954ms 01 3 9s842ms 3s280ms 05 2 5s898ms 2s949ms 07 2 5s761ms 2s880ms 08 7 18s655ms 2s665ms 09 1 1s174ms 1s174ms 17 3 15s491ms 5s163ms 18 1 2s154ms 2s154ms 22 3 5s380ms 1s793ms 23 3 11s878ms 3s959ms Feb 15 00 3 8s733ms 2s911ms 01 3 11s489ms 3s829ms 02 1 2s606ms 2s606ms 03 1 2s535ms 2s535ms 04 1 5s978ms 5s978ms 05 1 6s508ms 6s508ms 07 1 2s503ms 2s503ms 08 3 11s530ms 3s843ms 09 3 5s813ms 1s937ms 11 1 1s90ms 1s90ms 15 1 4s947ms 4s947ms 16 1 4s900ms 4s900ms 20 2 2s869ms 1s434ms [ User: pubeu - Total duration: 4m5s - Times executed: 76 ]
-
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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-11 21:58:03 Duration: 11s783ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-13 19:22:19 Duration: 11s543ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-11 19:24:08 Duration: 11s501ms Database: ctdprd51 User: pubeu Bind query: yes
14 1s3ms 7s541ms 3s119ms 1,077 55m59s 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 #14
Day Hour Count Duration Avg duration Feb 09 00 2 6s737ms 3s368ms 01 9 28s206ms 3s134ms 02 6 21s779ms 3s629ms 03 4 8s451ms 2s112ms 04 5 17s779ms 3s555ms 05 4 16s44ms 4s11ms 06 8 17s662ms 2s207ms 07 4 8s555ms 2s138ms 08 6 11s946ms 1s991ms 09 4 9s528ms 2s382ms 10 8 31s374ms 3s921ms 11 6 21s876ms 3s646ms 12 7 13s993ms 1s999ms 13 2 9s143ms 4s571ms 14 2 3s264ms 1s632ms 15 2 9s608ms 4s804ms 16 2 8s67ms 4s33ms 17 3 5s954ms 1s984ms 18 1 2s53ms 2s53ms 19 7 18s834ms 2s690ms 20 6 16s971ms 2s828ms 21 9 29s857ms 3s317ms 22 8 26s641ms 3s330ms 23 11 36s110ms 3s282ms Feb 10 00 3 11s73ms 3s691ms 01 8 28s204ms 3s525ms 02 2 8s206ms 4s103ms 03 1 1s262ms 1s262ms 04 7 18s127ms 2s589ms 05 7 23s54ms 3s293ms 06 2 5s49ms 2s524ms 07 1 3s342ms 3s342ms 08 4 17s157ms 4s289ms 09 4 9s744ms 2s436ms 10 7 23s440ms 3s348ms 11 5 11s323ms 2s264ms 12 5 21s148ms 4s229ms 13 4 12s557ms 3s139ms 14 4 12s329ms 3s82ms 15 6 24s460ms 4s76ms 16 3 5s656ms 1s885ms 17 4 11s894ms 2s973ms 18 7 17s960ms 2s565ms 19 7 19s507ms 2s786ms 20 2 5s495ms 2s747ms 21 9 36s264ms 4s29ms 22 4 16s441ms 4s110ms 23 7 27s674ms 3s953ms Feb 11 00 2 8s104ms 4s52ms 01 4 8s242ms 2s60ms 02 5 15s332ms 3s66ms 03 4 10s903ms 2s725ms 04 7 25s502ms 3s643ms 05 6 10s696ms 1s782ms 06 22 59s633ms 2s710ms 07 19 57s504ms 3s26ms 08 18 56s873ms 3s159ms 09 18 42s995ms 2s388ms 10 17 47s904ms 2s817ms 11 18 47s969ms 2s664ms 12 23 1m9s 3s3ms 13 14 43s123ms 3s80ms 14 21 58s767ms 2s798ms 15 19 55s640ms 2s928ms 16 27 1m13s 2s735ms 17 20 1m2s 3s137ms 18 20 1m4s 3s218ms 19 27 1m43s 3s840ms 20 30 1m47s 3s585ms 21 33 1m39s 3s24ms 22 37 1m47s 2s912ms 23 27 1m35s 3s534ms Feb 12 00 35 1m34s 2s702ms 01 31 1m35s 3s87ms 02 19 1m 3s185ms 03 34 2m2s 3s590ms 04 27 1m39s 3s696ms 05 28 1m23s 2s964ms 06 26 1m25s 3s304ms 07 21 1m2s 2s996ms 08 22 1m9s 3s164ms 09 27 1m39s 3s684ms 10 28 1m30s 3s233ms 11 22 1m6s 3s20ms 12 17 37s642ms 2s214ms 13 7 19s676ms 2s810ms 14 5 18s885ms 3s777ms 15 3 9s520ms 3s173ms 16 2 7s405ms 3s702ms 17 1 6s148ms 6s148ms 20 1 3s296ms 3s296ms 22 1 1s923ms 1s923ms Feb 13 08 1 2s126ms 2s126ms 09 3 10s77ms 3s359ms 10 1 2s155ms 2s155ms 17 1 3s1ms 3s1ms 19 2 12s422ms 6s211ms 21 5 14s569ms 2s913ms 22 1 1s896ms 1s896ms Feb 14 08 2 5s662ms 2s831ms 11 2 3s564ms 1s782ms 14 1 6s136ms 6s136ms 15 1 6s286ms 6s286ms 19 5 14s151ms 2s830ms 20 1 6s19ms 6s19ms 21 1 2s89ms 2s89ms Feb 15 03 1 2s14ms 2s14ms 08 1 1s983ms 1s983ms 11 7 17s575ms 2s510ms 13 1 1s332ms 1s332ms 14 1 1s990ms 1s990ms 17 1 1s383ms 1s383ms 20 1 6s847ms 6s847ms 21 2 12s751ms 6s375ms 23 1 2s835ms 2s835ms [ User: pubeu - Total duration: 14m54s - Times executed: 288 ]
-
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 = '1399342'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-15 21:22:17 Duration: 7s541ms 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 = '1399342'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-12 06:21:02 Duration: 7s174ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1399342'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-11 20:53:28 Duration: 6s947ms Database: ctdprd51 User: pubeu Bind query: yes
15 1s1ms 12s799ms 2s966ms 64 3m9s 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 #15
Day Hour Count Duration Avg duration Feb 09 00 1 2s127ms 2s127ms 01 3 5s276ms 1s758ms 04 1 2s195ms 2s195ms 09 1 2s637ms 2s637ms 15 1 2s643ms 2s643ms 16 1 7s23ms 7s23ms 17 2 4s431ms 2s215ms 22 1 2s308ms 2s308ms Feb 10 00 1 2s199ms 2s199ms 08 1 1s993ms 1s993ms 10 1 2s211ms 2s211ms 17 1 1s381ms 1s381ms 18 1 5s115ms 5s115ms 21 1 2s195ms 2s195ms Feb 11 01 1 2s611ms 2s611ms 02 3 9s576ms 3s192ms 04 1 2s211ms 2s211ms 07 1 2s205ms 2s205ms 12 2 4s434ms 2s217ms 18 1 1s587ms 1s587ms 19 2 3s901ms 1s950ms 20 1 1s452ms 1s452ms Feb 12 02 1 1s1ms 1s1ms 04 1 3s160ms 3s160ms 05 1 2s230ms 2s230ms 07 1 1s458ms 1s458ms 09 1 1s400ms 1s400ms 18 2 3s987ms 1s993ms 19 1 2s161ms 2s161ms Feb 13 03 1 2s165ms 2s165ms 05 2 4s121ms 2s60ms 07 1 1s392ms 1s392ms 14 1 2s379ms 2s379ms 18 1 2s372ms 2s372ms 19 6 1m 10s76ms 22 1 2s204ms 2s204ms 23 1 1s801ms 1s801ms Feb 14 09 1 1s572ms 1s572ms 10 1 1s418ms 1s418ms 14 1 2s456ms 2s456ms 16 1 2s236ms 2s236ms 18 1 1s616ms 1s616ms Feb 15 01 1 1s286ms 1s286ms 04 2 4s390ms 2s195ms 08 1 1s387ms 1s387ms 12 1 1s383ms 1s383ms 14 2 4s39ms 2s19ms 21 1 4s41ms 4s41ms [ User: pubeu - Total duration: 1m22s - Times executed: 23 ]
-
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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2025-02-13 19:23:10 Duration: 12s799ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 100;
Date: 2025-02-13 19:23:04 Duration: 12s52ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2025-02-13 19:22:59 Duration: 11s758ms Bind query: yes
16 1s17ms 6s583ms 2s750ms 194 8m53s 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 #16
Day Hour Count Duration Avg duration Feb 09 00 1 1s43ms 1s43ms 01 2 3s119ms 1s559ms 06 1 5s956ms 5s956ms 07 1 2s757ms 2s757ms 08 2 3s 1s500ms 09 1 1s575ms 1s575ms 11 2 3s959ms 1s979ms 15 1 2s788ms 2s788ms 16 1 2s89ms 2s89ms 19 1 2s208ms 2s208ms 21 1 1s699ms 1s699ms 23 2 5s651ms 2s825ms Feb 10 02 2 8s350ms 4s175ms 03 1 1s582ms 1s582ms 05 1 2s760ms 2s760ms 08 1 2s96ms 2s96ms 10 1 5s791ms 5s791ms 11 1 3s375ms 3s375ms 16 1 2s747ms 2s747ms 17 1 1s45ms 1s45ms 19 1 5s832ms 5s832ms 21 2 4s903ms 2s451ms Feb 11 00 1 2s196ms 2s196ms 01 1 1s618ms 1s618ms 04 1 2s263ms 2s263ms 06 1 2s598ms 2s598ms 07 4 7s271ms 1s817ms 08 8 20s545ms 2s568ms 09 4 8s598ms 2s149ms 10 1 1s394ms 1s394ms 11 2 3s424ms 1s712ms 12 4 8s521ms 2s130ms 13 2 3s397ms 1s698ms 14 4 8s524ms 2s131ms 15 2 4s426ms 2s213ms 16 5 9s248ms 1s849ms 17 1 2s106ms 2s106ms 18 3 5s564ms 1s854ms 19 3 3s377ms 1s125ms 20 3 5s863ms 1s954ms 21 6 13s112ms 2s185ms 22 2 8s152ms 4s76ms 23 1 2s235ms 2s235ms Feb 12 00 3 7s648ms 2s549ms 01 7 16s524ms 2s360ms 02 2 7s379ms 3s689ms 03 1 1s661ms 1s661ms 04 2 5s448ms 2s724ms 05 3 9s922ms 3s307ms 06 5 8s947ms 1s789ms 07 2 4s317ms 2s158ms 08 4 10s231ms 2s557ms 09 19 1m7s 3s533ms 10 4 7s354ms 1s838ms 11 2 4s249ms 2s124ms 12 2 4s443ms 2s221ms 13 1 2s141ms 2s141ms 14 1 1s541ms 1s541ms 21 1 5s895ms 5s895ms Feb 13 12 18 1m6s 3s719ms 14 1 2s338ms 2s338ms Feb 14 16 1 5s810ms 5s810ms 18 5 14s964ms 2s992ms 23 2 3s281ms 1s640ms Feb 15 00 17 1m7s 3s942ms 20 1 3s313ms 3s313ms 21 3 6s208ms 2s69ms [ User: pubeu - Total duration: 2m38s - Times executed: 57 ]
-
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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-13 12:38:48 Duration: 6s583ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '156198' 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 = '156198') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-15 00:22:46 Duration: 6s560ms 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 = '654261' 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 = '654261') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-14 18:28:57 Duration: 6s455ms Bind query: yes
17 1s 5s337ms 2s589ms 894 38m35s 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 #17
Day Hour Count Duration Avg duration Feb 09 01 5 10s251ms 2s50ms 02 6 13s510ms 2s251ms 03 6 18s917ms 3s152ms 04 4 10s668ms 2s667ms 05 3 5s684ms 1s894ms 06 3 11s318ms 3s772ms 07 1 4s334ms 4s334ms 08 4 8s314ms 2s78ms 09 3 7s767ms 2s589ms 10 3 8s8ms 2s669ms 11 4 10s260ms 2s565ms 12 2 5s741ms 2s870ms 13 4 10s414ms 2s603ms 14 3 8s879ms 2s959ms 15 5 19s170ms 3s834ms 16 5 8s391ms 1s678ms 17 4 8s838ms 2s209ms 18 1 4s434ms 4s434ms 19 5 13s36ms 2s607ms 21 11 23s842ms 2s167ms 22 2 3s597ms 1s798ms 23 1 1s182ms 1s182ms Feb 10 00 5 16s947ms 3s389ms 01 3 6s666ms 2s222ms 02 4 6s847ms 1s711ms 03 6 12s536ms 2s89ms 05 6 19s14ms 3s169ms 06 2 7s904ms 3s952ms 07 6 19s29ms 3s171ms 08 2 2s489ms 1s244ms 09 5 12s300ms 2s460ms 10 4 6s581ms 1s645ms 11 6 17s258ms 2s876ms 12 4 15s177ms 3s794ms 13 3 10s292ms 3s430ms 15 4 12s730ms 3s182ms 16 3 6s741ms 2s247ms 17 4 6s261ms 1s565ms 18 3 10s738ms 3s579ms 19 4 11s389ms 2s847ms 20 7 22s480ms 3s211ms 21 4 10s359ms 2s589ms 22 4 6s693ms 1s673ms 23 6 17s871ms 2s978ms Feb 11 00 5 14s589ms 2s917ms 01 7 12s284ms 1s754ms 02 3 5s750ms 1s916ms 03 2 4s70ms 2s35ms 04 9 15s931ms 1s770ms 05 6 12s615ms 2s102ms 06 11 33s217ms 3s19ms 07 15 41s145ms 2s743ms 08 23 56s108ms 2s439ms 09 11 41s127ms 3s738ms 10 15 32s678ms 2s178ms 11 14 31s414ms 2s243ms 12 11 27s478ms 2s498ms 13 12 30s118ms 2s509ms 14 17 44s803ms 2s635ms 15 19 48s515ms 2s553ms 16 16 39s892ms 2s493ms 17 22 56s432ms 2s565ms 18 14 38s606ms 2s757ms 19 31 1m14s 2s392ms 20 28 1m11s 2s556ms 21 31 1m20s 2s582ms 22 22 52s791ms 2s399ms 23 21 46s800ms 2s228ms Feb 12 00 28 1m17s 2s754ms 01 27 1m8s 2s526ms 02 29 1m32s 3s174ms 03 24 52s34ms 2s168ms 04 21 54s617ms 2s600ms 05 21 55s415ms 2s638ms 06 19 56s297ms 2s963ms 07 20 55s152ms 2s757ms 08 21 51s771ms 2s465ms 09 34 1m22s 2s420ms 10 25 1m11s 2s874ms 11 4 15s617ms 3s904ms 12 19 56s721ms 2s985ms 13 9 19s618ms 2s179ms 14 1 4s287ms 4s287ms 19 1 1s175ms 1s175ms 20 1 4s627ms 4s627ms 21 1 2s393ms 2s393ms 22 2 4s194ms 2s97ms Feb 13 03 2 3s671ms 1s835ms 10 1 1s87ms 1s87ms 11 3 13s653ms 4s551ms 13 1 4s633ms 4s633ms 15 1 2s148ms 2s148ms 21 8 18s534ms 2s316ms Feb 14 08 1 1s360ms 1s360ms 09 1 2s42ms 2s42ms 14 1 3s364ms 3s364ms 17 1 1s78ms 1s78ms 19 9 19s608ms 2s178ms 20 1 3s303ms 3s303ms 23 1 3s183ms 3s183ms Feb 15 05 1 1s247ms 1s247ms 11 8 18s745ms 2s343ms 16 1 3s340ms 3s340ms 20 1 1s672ms 1s672ms [ User: pubeu - Total duration: 10m47s - Times executed: 245 ]
-
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 = '1399342') 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 = '1399342') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-02-12 00:09:14 Duration: 5s337ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1399342') 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 = '1399342') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-02-11 21:02:29 Duration: 5s63ms 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 = '1399342') 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 = '1399342') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-02-11 21:07:28 Duration: 4s954ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s13ms 3s989ms 2s454ms 92 3m45s 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 #18
Day Hour Count Duration Avg duration Feb 09 02 1 2s510ms 2s510ms 05 4 8s880ms 2s220ms 08 1 1s931ms 1s931ms 16 1 1s866ms 1s866ms Feb 10 01 1 2s943ms 2s943ms 05 4 8s921ms 2s230ms 06 1 1s919ms 1s919ms 16 2 4s561ms 2s280ms 20 2 5s193ms 2s596ms 21 1 1s863ms 1s863ms 22 1 3s344ms 3s344ms Feb 11 01 1 1s919ms 1s919ms 05 4 9s9ms 2s252ms 07 2 4s571ms 2s285ms 08 1 1s958ms 1s958ms 09 4 13s591ms 3s397ms 10 2 4s386ms 2s193ms 13 2 4s573ms 2s286ms 14 6 13s768ms 2s294ms 16 1 1s984ms 1s984ms 17 1 1s936ms 1s936ms 19 1 3s308ms 3s308ms 20 2 5s687ms 2s843ms 21 1 1s974ms 1s974ms 22 1 2s378ms 2s378ms Feb 12 00 2 6s581ms 3s290ms 01 2 5s490ms 2s745ms 03 2 4s722ms 2s361ms 04 1 2s72ms 2s72ms 05 5 12s169ms 2s433ms 06 1 3s267ms 3s267ms 09 3 6s315ms 2s105ms 10 1 3s222ms 3s222ms 12 1 2s17ms 2s17ms 13 2 5s372ms 2s686ms 14 1 3s296ms 3s296ms Feb 13 05 4 8s880ms 2s220ms 08 1 1s933ms 1s933ms 10 1 1s921ms 1s921ms 12 1 3s821ms 3s821ms Feb 14 05 4 9s35ms 2s258ms 07 2 4s582ms 2s291ms 08 2 4s532ms 2s266ms 15 1 3s408ms 3s408ms 18 1 3s321ms 3s321ms Feb 15 00 1 3s989ms 3s989ms 05 4 8s918ms 2s229ms 11 1 1s925ms 1s925ms [ User: pubeu - Total duration: 1m37s - Times executed: 32 ]
[ User: qaeu - Total duration: 23s959ms - 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 = '655185' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-02-15 00:22:48 Duration: 3s989ms 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 = '655185' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-02-13 12:38:46 Duration: 3s821ms 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 = '594557' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-02-11 14:47:48 Duration: 3s562ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s25ms 14m26s 2s60ms 1,468 50m24s 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 #19
Day Hour Count Duration Avg duration Feb 09 00 1 1s747ms 1s747ms 01 1 1s572ms 1s572ms 11 1 3s267ms 3s267ms 14 1 1s806ms 1s806ms 15 1 1s607ms 1s607ms 18 1 15s296ms 15s296ms 21 1 1s87ms 1s87ms Feb 10 00 21 23s605ms 1s124ms 01 109 2m7s 1s166ms 02 99 1m47s 1s86ms 03 102 1m50s 1s84ms 04 99 1m47s 1s88ms 05 56 1m 1s85ms Feb 11 01 11 14s7ms 1s273ms 02 1 15s368ms 15s368ms 07 10 12s744ms 1s274ms 10 98 1m49s 1s112ms 11 44 48s430ms 1s100ms 14 1 1s71ms 1s71ms 20 31 1m54s 3s705ms 21 91 2m 1s329ms 22 99 1m48s 1s93ms 23 98 1m45s 1s77ms Feb 12 00 106 2m51s 1s622ms 01 93 1m42s 1s100ms 02 80 1m29s 1s123ms 03 4 6s262ms 1s565ms 04 4 4s382ms 1s95ms 06 44 48s751ms 1s107ms 07 1 1s116ms 1s116ms 10 1 1s111ms 1s111ms 12 1 1s283ms 1s283ms Feb 13 00 2 2s181ms 1s90ms 01 1 7s598ms 7s598ms 06 1 1s66ms 1s66ms 09 41 45s983ms 1s121ms 10 80 1m27s 1s87ms 15 1 1s70ms 1s70ms 19 1 11s825ms 11s825ms 22 1 1s239ms 1s239ms 23 1 5s783ms 5s783ms Feb 14 00 1 1s563ms 1s563ms 01 5 16m16s 3m15s 07 6 3m7s 31s206ms 08 2 32s595ms 16s297ms 23 1 5s582ms 5s582ms Feb 15 08 2 2s817ms 1s408ms 20 1 1s300ms 1s300ms 21 10 12s471ms 1s247ms [ User: pubeu - Total duration: 32m14s - Times executed: 685 ]
-
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 = '2081916') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-14 01:28:13 Duration: 14m26s 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 = '2086895') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-14 07:58:38 Duration: 32s44ms 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 = '2086895') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-14 07:36:23 Duration: 31s918ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s2ms 2s558ms 1s607ms 48 1m17s 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 #20
Day Hour Count Duration Avg duration Feb 09 01 1 1s95ms 1s95ms 06 1 1s18ms 1s18ms 15 1 1s512ms 1s512ms 19 1 1s406ms 1s406ms Feb 10 05 1 1s414ms 1s414ms 23 1 1s206ms 1s206ms Feb 11 01 1 1s592ms 1s592ms 14 2 4s757ms 2s378ms 15 4 7s721ms 1s930ms 16 2 3s560ms 1s780ms 17 1 1s14ms 1s14ms 18 1 1s156ms 1s156ms 19 1 2s449ms 2s449ms 21 2 2s40ms 1s20ms 22 1 1s80ms 1s80ms 23 1 1s240ms 1s240ms Feb 12 00 1 1s722ms 1s722ms 01 2 3s893ms 1s946ms 02 1 1s9ms 1s9ms 03 1 1s619ms 1s619ms 06 1 1s523ms 1s523ms 07 1 2s253ms 2s253ms 09 1 2s368ms 2s368ms 10 2 2s841ms 1s420ms 12 1 2s370ms 2s370ms 17 1 1s679ms 1s679ms 21 1 2s383ms 2s383ms Feb 13 02 1 1s471ms 1s471ms 05 1 1s619ms 1s619ms 07 1 2s353ms 2s353ms 17 1 1s114ms 1s114ms 18 1 1s618ms 1s618ms 21 1 1s55ms 1s55ms Feb 14 08 2 3s110ms 1s555ms 12 1 1s618ms 1s618ms 21 1 1s47ms 1s47ms Feb 15 03 1 1s592ms 1s592ms 06 1 1s473ms 1s473ms 11 1 1s141ms 1s141ms [ User: pubeu - Total duration: 29s40ms - Times executed: 18 ]
-
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 = '2081644') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-11 15:24:54 Duration: 2s558ms 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 = '2081644') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-11 14:36:48 Duration: 2s493ms 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 = '2081644') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-12 01:51:23 Duration: 2s476ms Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 21s333ms 3 7s111ms 7s111ms 7s111ms select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' ||;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Feb 15 21 3 21s333ms 7s111ms -
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' ||;
Date: 2025-02-15 21:44:11 Duration: 7s111ms Database: postgres
2 6s157ms 3 2s52ms 2s52ms 2s52ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 20 3 6s157ms 2s52ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-02-15 20:46:21 Duration: 2s52ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 45s492ms 42 1s8ms 1s137ms 1s83ms SELECT /* GeneDiseaseChemsDAO */ ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Feb 15 20 18 19s160ms 1s64ms 21 24 26s331ms 1s97ms -
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-02-15 21:12:51 Duration: 1s137ms Database: postgres parameters: $1 = 'OBS', $2 = 'OBS', $3 = 'OBS', $4 = 'OBS'
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-02-15 20:39:23 Duration: 1s120ms Database: postgres parameters: $1 = 'CD5%', $2 = 'CD5', $3 = 'CD5'
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-02-15 21:13:21 Duration: 1s111ms Database: postgres parameters: $1 = '2087567'
2 20s253ms 18 1s95ms 1s165ms 1s125ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 20 3 3s449ms 1s149ms 21 15 16s804ms 1s120ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-02-15 21:30:39 Duration: 1s165ms Database: postgres parameters: $1 = '1955756', $2 = '1955756'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-02-15 20:23:40 Duration: 1s149ms Database: postgres parameters: $1 = '1982317', $2 = '1982317'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-02-15 21:45:13 Duration: 1s135ms Database: postgres parameters: $1 = '568429', $2 = '568429'
3 9s257ms 9 1s9ms 1s51ms 1s28ms SELECT /* ReferenceCitedGenesDAO */ ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 20 6 6s228ms 1s38ms 21 3 3s29ms 1s9ms -
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2025-02-15 20:43:57 Duration: 1s51ms Database: postgres parameters: $1 = '1247044', $2 = '1247044'
-
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2025-02-15 20:51:09 Duration: 1s24ms Database: postgres parameters: $1 = '2087671'
-
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2025-02-15 21:18:53 Duration: 1s9ms Database: postgres parameters: $1 = 'MICROPLASTIC', $2 = 'MICROPLASTIC', $3 = 'MICROPLASTIC', $4 = 'MICROPLASTIC'
4 6s161ms 6 1s21ms 1s31ms 1s26ms SELECT /* GeneDiseaseRefsDAO */ ;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 20 6 6s161ms 1s26ms -
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2025-02-15 20:22:05 Duration: 1s31ms Database: postgres parameters: $1 = '2090693'
-
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2025-02-15 20:22:04 Duration: 1s21ms Database: postgres parameters: $1 = '552893', $2 = '552893'
5 3s385ms 3 1s128ms 1s128ms 1s128ms SELECT /* ReferenceDiseasesDAO */ ;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 21 3 3s385ms 1s128ms -
SELECT /* ReferenceDiseasesDAO */ ;
Date: 2025-02-15 21:20:55 Duration: 1s128ms Database: postgres parameters: $1 = '2091439'
6 3s365ms 3 1s121ms 1s121ms 1s121ms SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 20 3 3s365ms 1s121ms -
SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT;
Date: 2025-02-15 20:24:51 Duration: 1s121ms Database: postgres parameters: $1 = 'NDUFS2%', $2 = 'NDUFS2', $3 = 'NDUFS2'
7 3s85ms 3 1s28ms 1s28ms 1s28ms SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 20 3 3s85ms 1s28ms -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2025-02-15 20:23:50 Duration: 1s28ms Database: postgres parameters: $1 = '2017654', $2 = '2017654'
8 0ms 637 0ms 0ms 0ms ;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration Feb 08 15 1 0ms 0ms Feb 09 06 10 0ms 0ms 07 14 0ms 0ms 08 14 0ms 0ms 11 2 0ms 0ms 16 2 0ms 0ms 17 6 0ms 0ms 18 16 0ms 0ms Feb 10 00 1 0ms 0ms 06 16 0ms 0ms 07 26 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 10 0ms 0ms 12 10 0ms 0ms 13 6 0ms 0ms 14 20 0ms 0ms 15 6 0ms 0ms 16 2 0ms 0ms Feb 11 00 1 0ms 0ms 05 10 0ms 0ms 06 22 0ms 0ms 07 8 0ms 0ms 08 10 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 13 4 0ms 0ms 14 2 0ms 0ms 15 22 0ms 0ms 16 24 0ms 0ms 20 8 0ms 0ms 21 10 0ms 0ms 23 2 0ms 0ms Feb 12 00 1 0ms 0ms 05 10 0ms 0ms 06 2 0ms 0ms 07 28 0ms 0ms 08 8 0ms 0ms 10 10 0ms 0ms 11 12 0ms 0ms 12 6 0ms 0ms 13 2 0ms 0ms Feb 13 05 8 0ms 0ms 06 6 0ms 0ms 07 6 0ms 0ms 09 10 0ms 0ms 10 20 0ms 0ms 11 10 0ms 0ms 12 2 0ms 0ms 13 8 0ms 0ms 17 6 0ms 0ms 18 6 0ms 0ms Feb 14 00 1 0ms 0ms 06 3 0ms 0ms 07 27 0ms 0ms 08 15 0ms 0ms 10 30 0ms 0ms 11 3 0ms 0ms 12 12 0ms 0ms 13 6 0ms 0ms 14 30 0ms 0ms 15 12 0ms 0ms Feb 15 00 2 0ms 0ms 04 36 0ms 0ms 09 3 0ms 0ms 20 3 0ms 0ms [ User: pubeu - Total duration: 10m49s - Times executed: 205 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '1247044', $2 = '1247044'
-
Events
Log levels
Key values
- 123,906 Log entries
Events distribution
Key values
- 0 PANIC entries
- 210 FATAL entries
- 1092 ERROR entries
- 2 WARNING entries
Most Frequent Errors/Events
Key values
- 602 Max number of times the same event was reported
- 1,304 Total events found
Rank Times reported Error 1 602 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 09 00 7 01 4 02 9 03 5 04 7 05 9 06 5 07 4 08 2 09 4 11 4 12 1 13 3 14 2 15 1 16 1 17 3 18 7 19 7 20 10 21 8 22 10 23 17 Feb 10 00 14 01 9 02 9 03 9 04 8 05 7 06 3 07 2 08 4 09 3 10 2 11 2 13 2 17 4 18 1 19 3 Feb 11 01 1 02 2 04 1 05 2 06 1 07 2 08 2 10 1 15 2 18 3 19 13 20 6 21 12 22 6 23 9 Feb 12 00 8 01 7 02 1 03 6 04 5 05 3 06 5 07 2 08 7 09 2 10 3 11 3 12 2 17 1 19 8 20 8 21 7 22 6 23 11 Feb 13 00 12 01 8 02 4 03 3 04 2 05 3 06 5 07 8 08 6 09 5 10 2 11 1 12 3 14 2 16 3 17 4 18 3 19 8 20 5 21 1 22 3 Feb 14 00 11 01 1 05 1 06 1 07 5 09 3 10 2 11 1 12 2 13 4 14 2 15 2 16 2 17 2 18 1 19 6 20 4 21 6 22 5 23 5 Feb 15 00 7 01 2 02 8 03 5 04 10 05 3 06 5 07 5 08 4 09 5 10 2 11 1 12 1 16 1 19 4 20 2 21 2 22 1 23 7 - ERROR: syntax error in ts"単線線路 何と言う"
- ERROR: syntax error in ts"TIME & ALPE & D & HUEZ サイズ 身長"
- ERROR: syntax error in ts"腕時計 SANDA & 759"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-02-09 00:04:00 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 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-02-09 00:43:08
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-02-09 01:03:23
2 273 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 15 20 83 21 145 22 45 - 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 sum(numbackends) as numbackends , sum(xact_commit) as xact_commit , sum(xact_rollback) as xact_rollback , sum(blks_read) as blks_read , sum(blks_hit) as blks_hit , sum(tup_returned) as tup_returned , sum(tup_fetched) as tup_fetched , sum(tup_inserted) as tup_inserted , sum(tup_updated) as tup_updated , sum(tup_deleted) as tup_deleted , sum(conflicts) as conflicts , sum(temp_files) as temp_files , sum(temp_bytes) as temp_bytes , sum(deadlocks) as deadlocks , sum(COALESCE(checksum_failures, 0)) as checksum_failures , sum(blk_read_time) as blk_read_time , sum(blk_write_time) as blk_write_time FROM pg_catalog.pg_stat_database ) T ;
Date: 2025-02-15 20:23:22 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT json_object_agg(coalesce (datname,'null'), row_to_json(T)) FROM ( SELECT datname , numbackends as numbackends , xact_commit as xact_commit , xact_rollback as xact_rollback , blks_read as blks_read , blks_hit as blks_hit , tup_returned as tup_returned , tup_fetched as tup_fetched , tup_inserted as tup_inserted , tup_updated as tup_updated , tup_deleted as tup_deleted , conflicts as conflicts , temp_files as temp_files , temp_bytes as temp_bytes , deadlocks as deadlocks , COALESCE(checksum_failures, 0) as checksum_failures , blk_read_time as blk_read_time , blk_write_time as blk_write_time FROM pg_catalog.pg_stat_database ) T ;
Date: 2025-02-15 20:23:22 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT row_to_json (T) FROM ( SELECT checkpoints_timed , checkpoints_req , checkpoint_write_time , checkpoint_sync_time , buffers_checkpoint , buffers_clean , maxwritten_clean , buffers_backend , buffers_backend_fsync , buffers_alloc FROM pg_catalog.pg_stat_bgwriter ) T ;
Date: 2025-02-15 20:24:18 Database: postgres Application: User: zbx_monitor Remote:
3 205 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #3
Day Hour Count Feb 09 18 1 20 1 Feb 14 08 1 Feb 15 20 68 21 100 22 32 23 2 - FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-02-14 08:17:32
4 200 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count Feb 09 18 1 20 1 Feb 15 20 67 21 99 22 30 23 2 5 6 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #5
Day Hour Count Feb 13 18 1 19 5 6 6 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count Feb 14 07 1 08 1 Feb 15 20 1 21 1 22 2 - ERROR: could not send data to client: Connection reset by peer
- ERROR: could not send data to client: Connection reset by peer
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd
Date: 2025-02-14 07:56:28 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-02-14 08:17:32 Database: ctdprd51 Application: User: pubeu Remote:
7 4 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #7
Day Hour Count Feb 14 01 1 07 2 08 1 8 3 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #8
Day Hour Count Feb 12 13 3 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 2 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 2 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2025-02-12 13:30:04
9 2 WARNING: is not a PostgreSQL server process
Times Reported Most Frequent Error / Event #9
Day Hour Count Feb 11 17 2 10 1 FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #10
Day Hour Count Feb 14 07 1 - FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2025-02-14 07:56:28
11 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Feb 10 17 1 - ERROR: syntax error at or near ")" at character 4810
Statement: select distinct e.reference_acc_txt as "Reference", pref.abbr_authors_txt as "Author", referenceExp.author_summary as "AuthorSummary", (Select STRING_AGG( distinct eventproject.project_nm, '|')) as "AssociatedStudyTitles", eevent.collection_start_yr as "EnrollmentStartYear", eevent.collection_end_yr as "EnrollmentEndYear", (Select STRING_AGG( distinct studyFactor.nm, '|')) as "StudyFactors", (Select STRING_AGG(distinct stressorSrcType.nm, '|')) as "StressorSourceCategory", stressor.chem_term_nm as "ExposureStressorName", stressor.src_details as "StressorSourceDetails", stressor.sample_qty as "NumberOfStressorSamples", stressor.note as "StressorNotes", ereceptor.qty as "NumberOfReceptors", ereceptor.description as "Receptors", ereceptor.term_nm as "ReceptorDescription", ereceptor.term_acc_txt as "ReceptorID", ereceptor.note as "ReceptorNotes", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' || tobaccoUse.nm, COALESCE(COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' , tobaccoUse.nm)), '|')) as "SmokingStatus", ereceptor.age || ' ' || age_uom.nm as "Age", age_qualifier.nm as "AgeQualifier", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(pct as int),0)) || '% ' || gender.nm, COALESCE(COALESCE(NULLIF(CAST(pct as int),0)) || '% ' , gender.nm)), '|') from exp_receptor_gender expgender left outer join gender on expgender.gender_id=gender.id where exp_receptor_id = ereceptor.id ) as "Sex", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' || race.nm, COALESCE(COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' , race.nm)), '|')) as "Race", (Select STRING_AGG( distinct eventAssayMethod.nm, '|')) as "Methods" , eevent.detection_limit as "DetectionLimit", eevent.detection_limit_uom as "DetectionLimitUnitsOfMeasurement", eevent.detection_freq as "DetectionFrequency", emedium.nm as "Medium", eevent.exp_marker_term_nm as "ExposureMarker", eevent.exp_marker_lvl as "MarkerLevel", eevent.assay_uom as "MarkerUnitsOfMeasurement", eevent.assay_measurement_stat as "MarkerMeasurementStatistic", eevent.assay_note as "AssayNotes", (Select STRING_AGG( distinct country.nm, '|')) as "StudyCountries", (Select STRING_AGG( distinct eventLocation.geographic_region_nm, '|')) as "StateOrProvince", (Select STRING_AGG( distinct eventLocation.locality_txt, '|')) as "CityTownRegionOrArea", eevent.note as "ExposureEventNotes", eiot.description as "OutcomeRelationship", outcome.disease_term_nm as "DiseaseName", outcome.phenotype_action_degree_type_nm as "PhenotypeActionDegreeType", outcome.phenotype_term_nm as "PhenotypeName", (Select STRING_AGG( distinct expAnatomy.anatomy_term_nm, '|')) as "Anatomy", outcome.note as "ExposureOutcomeNotes" from exposure e left outer join reference pref on pref.acc_txt = e.reference_acc_txt left outer join reference_exp referenceExp on referenceExp.reference_acc_txt = e.reference_acc_txt left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id left outer join study_factor studyFactor on studyFactor.id = expStudyFactor.study_factor_id left outer join exp_event_project eventproject on eventproject.exp_event_id = e.exp_event_id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor ereceptor on e.exp_receptor_id = ereceptor.id left outer join age_uom age_uom on ereceptor.age_uom_id = age_uom.id left outer join age_qualifier age_qualifier on ereceptor.age_qualifier_id = age_qualifier.id left outer join exp_event eevent on e.exp_event_id = eevent.id left outer join medium emedium on eevent.medium_id = emedium.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 ereceptor.id = receptorTobaccoUse.exp_receptor_id left outer join tobacco_use tobaccoUse on receptorTobaccoUse.tobacco_use_id = tobaccoUse.id left outer join exp_receptor_race receptorRace on ereceptor.id = receptorRace.exp_receptor_id left outer join race race on receptorRace.race_id = race.id left outer join exp_event_location eventLocation on eevent.id = eventLocation.exp_event_id left outer join country on eventLocation.country_id = country.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 exp_anatomy expAnatomy on outcome.id = expAnatomy.exp_outcome_id left outer join exp_event_assay_method eventAssayMethod on eevent.id = eventAssayMethod.exp_event_id where ereceptor.term_acc_txt in (select acc_txt from term where id in )) or eevent.exp_marker_acc_txt in (select acc_txt from term where id in )) group by "Reference", "Author", "AuthorSummary", "EnrollmentStartYear", "EnrollmentEndYear", "ExposureStressorName", "StressorSourceDetails", "NumberOfStressorSamples", "StressorNotes", "NumberOfReceptors", "Receptors", "ReceptorDescription", "ReceptorID", "ReceptorNotes", "Age", "AgeQualifier", "DetectionLimit", "DetectionLimitUnitsOfMeasurement", "DetectionFrequency", "Medium", "ExposureMarker", "MarkerLevel", "MarkerUnitsOfMeasurement", "MarkerMeasurementStatistic", "AssayNotes", "ExposureEventNotes", "OutcomeRelationship", "DiseaseName", "PhenotypeActionDegreeType", "PhenotypeName", "ExposureOutcomeNotes", ereceptor.id, eventLocation.exp_event_id ;
Date: 2025-02-10 17:32:39
12 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #12
Day Hour Count Feb 09 17 1 - ERROR: duplicate key value violates unique constraint "ixn_action_pk"
Detail: Key (ixn_id, action_type_id, action_degree_type_id)=(8974135, 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 statement
Statement: select * from edit.ins_ixn_action($1, $2, $3, $4, $5, $6, $7, $8) as resultDate: 2025-02-09 17:53:24